/* Kontakt-Sektion Styles */
:root {
    --primary-color: #00a2ff;
    --secondary-color: #0062ff;
    --accent-color: #00ffff;
    --dark-bg: #000814;
    --darker-bg: #000000;
    --light-text: #e0f2ff;
    --silver: #c0c0c0;
    --glow-effect: 0 0 10px rgba(0, 162, 255, 0.7), 0 0 20px rgba(0, 162, 255, 0.4);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: auto;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--light-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 162, 255, 0.5);
}

.section-content {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(90deg, transparent 0%, var(--darker-bg) 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
}

.contact-info {
    padding-right: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 8, 20, 0.5);
    border: 1px solid rgba(0, 162, 255, 0.1);
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
}

.contact-method:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-method.glow {
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.8), 0 0 40px rgba(0, 162, 255, 0.4);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 3px var(--primary-color));
}

.email-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

.phone-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 8, 20, 0.5);
    border: 1px solid rgba(0, 162, 255, 0.1);
    border-radius: 5px;
    color: var(--light-text);
    font-family: 'Roboto', sans-serif;
    transition: all var(--transition-speed) ease;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.3);
}

.contact-form button {
    align-self: flex-start;
    cursor: pointer;
    border: none;
}

.primary-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    box-shadow: var(--glow-effect);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 162, 255, 0.8), 0 0 30px rgba(0, 162, 255, 0.5);
}

.success {
    background: linear-gradient(90deg, #00a2ff, #00ff9d) !important;
}

/* Animation-Klassen */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .primary-button {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* iPhone-spezifische Optimierungen */
@supports (-webkit-touch-callout: none) {
    .section-content {
        -webkit-overflow-scrolling: touch;
    }
    
    input, textarea, button {
        -webkit-appearance: none;
        border-radius: 5px;
    }
}
