/* Kontakt Page */
.contact-page {
    background-color: #0a0f2c;
    min-height: 100vh;
    padding-top: 80px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}

/* Map Section */
.map-section {
    width: 100%;
    height: 550px;
    padding: 4.5rem 2rem 2rem 2rem;
}

.map-section iframe {
    width: 100%;
    height: 550px;
    border-radius: 8px;
}

/* Form Section */
.form-section {
    padding: 4rem;
    background-color: #0a0f2c;
    color: #fff;
}

.form-section h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #fff;
}

.form-section p {
    color: #8e94a7;
    margin-bottom: 2rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #fff;
    font-size: 0.9rem;
}

.required {
    color: #3366ff;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    padding: 0.5rem 0;
    color: #fff;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom: 1px solid #3366ff;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
    padding-right: 2rem;
}

.form-group select option {
    background-color: #0a0f2c;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    background-color: transparent;
}

button[type="submit"] {
    background-color: #3366ff;
    color: #fff;
    border: 1px solid #fff;
    padding: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

button[type="submit"]:hover {
    background-color: #fff;
    color: #3366ff;
    border: 1px solid #3366ff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .map-section {
        height: 550px;
    }

    .form-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-section h1 {
        font-size: 2rem;
    }
}

/* Footer Styles */
footer {
    background-color: #0a0f2c;
    padding: 1rem 0 0 0;
}

.footer-container {
    border-top: none;
    margin-top: 2rem;
    padding: 1.5rem 5% 1rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #3366ff;
    transform: translateY(-2px);
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #3366ff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

hr {
    border: none;
    height: 0;
    margin: 0;
    background: none;
} 

.footer-divider-hr {
    width: 100%;
    max-width: 1200px;
    margin: 5rem auto 2.5rem auto;
    border: none;
    border-top: 3px solid #fff;
    background: none;
    height: 0;
    opacity: 1;
}

/* --- HERO-BEREICH (ECITEX-STYLE) --- */
.kontakt-hero-ecitex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem 0 1.5rem 0;
    max-width: 1400px;
    margin: 0 auto 0.7rem auto;
    margin-bottom: -60px;
}
.kontakt-hero-left {
    flex: 1 1 60%;
    min-width: 320px;
    margin-left: 8vw;
    text-align: left;
    margin-bottom: 0;
}
.kontakt-hero-logo {
    height: 54px;
    margin-bottom: 1.5rem;
}
.kontakt-hero-ecitex h1 {
    background: linear-gradient(45deg, #fff, #a8a8a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 3.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
}
.kontakt-hero-sub {
    font-size: 1.45rem;
    color: #cfd8e3;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.kontakt-hero-right {
    flex: 0 1 340px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 220px;
    margin-right: 2vw;
}
.location-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 260px;
    position: relative;
    animation: pulse 3.5s infinite cubic-bezier(0.4,0.2,0.2,1);
}
@keyframes pulse {
    0% { filter: drop-shadow(0 0 0px #3366ff44); }
    50% { filter: drop-shadow(0 0 24px #3366ff88); }
    100% { filter: drop-shadow(0 0 0px #3366ff44); }
}

/* --- INFO-ROW --- */
.kontakt-info-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 0 auto 3.5rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    background: none;
    min-height: 340px;
}
.kontakt-info-box {
    flex: 1 1 0;
    background: none;
    border-radius: 0;
    padding: 2.7rem 2.5rem 2.2rem 2.5rem;
    box-shadow: none;
    text-align: center;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    position: relative;
    overflow: visible;
    justify-content: center;
}
.kontakt-info-box:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1.5px;
    height: 100%;
    background: linear-gradient(180deg, #3366ff 0%, #23306a 100%);
    opacity: 0.35;
    border-radius: 2px;
}
.kontakt-info-box h3 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.1rem;
    letter-spacing: 0.01em;
    text-shadow: none;
    text-align: center;
}
.kontakt-info-box p {
    color: #cfd8e3;
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
}
.kontakt-info-box .kontakt-social-icons {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
    margin-top: 0.5rem;
    align-items: center;
    width: 100%;
}
.kontakt-social-icons a {
    color: #3366ff;
    font-size: 3.1rem;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    transition: color 0.2s, filter 0.2s, transform 0.2s;
    display: inline-block;
}
.kontakt-social-icons a:hover {
    color: #4d79ff;
    filter: drop-shadow(0 0 8px #4d79ff88);
    transform: scale(1.13);
}
.kontakt-social-icons a:active {
    color: #23306a;
}
@media (max-width: 900px) {
    .kontakt-info-row {
        flex-direction: column;
        gap: 0;
        padding: 0 0.5rem;
        margin-bottom: 2.2rem;
        min-height: 0;
    }
    .kontakt-info-box {
        width: 100%;
        align-items: center;
        padding: 2rem 1.1rem 1.1rem 1.1rem;
        min-width: 0;
        border-bottom: 1.5px solid #23306a44;
        border-right: none !important;
    }
    .kontakt-info-box:not(:last-child)::after {
        display: none;
    }
    .kontakt-social-icons a {
        font-size: 2rem;
    }
}
@media (max-width: 600px) {
    .kontakt-info-row {
        gap: 0;
        margin-bottom: 1.2rem;
    }
    .kontakt-info-box {
        padding: 1.1rem 0.5rem 0.7rem 0.5rem;
    }
    .kontakt-info-box h3 {
        font-size: 1.5rem;
    }
    .kontakt-info-box p {
        font-size: 1rem;
    }
    .kontakt-social-icons a {
        font-size: 1.3rem;
    }
}

/* --- HERO-GRAPHIC (Kreise + Würfel wie auf index.html) --- */
.hero-graphic {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
}
.circles {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: 280px;
    transition: transform 0.5s cubic-bezier(0.4,0.2,0.2,1);
}
.circles::before,
.circles::after {
    content: '';
    position: absolute;
    border: 2px solid #1a2547;
    border-radius: 50%;
}
.circles::before {
    width: 280px;
    height: 280px;
}
.circles::after {
    width: 200px;
    height: 200px;
    top: 40px;
    left: 40px;
}
.circles:hover {
    transform: translateY(-50%) scale(1.15);
}
.circles:hover ~ .cube {
    animation: cube-orbit 5s cubic-bezier(0.4,0.2,0.2,1) forwards;
}
@keyframes cube-orbit {
    0% {
        transform: translateY(-50%) rotate(0deg) translateX(110px) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg) translateX(110px) rotate(-360deg);
    }
}
.cube {
    position: absolute;
    right: 45%;
    top: 50%;
    transform: translateY(-50%) translateX(110px);
    width: 38px;
    height: 38px;
    background-color: #3366ff;
    border-radius: 8px;
    transition: transform 0.5s cubic-bezier(0.4,0.2,0.2,1);
}
.hero-logo-deco {
    position: absolute;
    left: 48%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    max-width: 90%;
    height: auto;
    z-index: 20;
    pointer-events: none;
    background: transparent;
}
@media (max-width: 900px) {
    .hero-graphic {
        width: 160px;
        height: 160px;
        margin-top: 56px;
    }
    .circles {
        width: 160px;
        height: 160px;
    }
    .circles::before {
        width: 160px;
        height: 160px;
    }
    .circles::after {
        width: 100px;
        height: 100px;
        top: 30px;
        left: 30px;
    }
    .cube {
        width: 20px;
        height: 20px;
        transform: translateY(-50%) translateX(60px);
        right: 45%;
    }
    .hero-logo-deco {
        width: 60px !important;
    }
}
@media (max-width: 600px) {
    .hero-graphic {
        width: 90px;
        height: 90px;
        margin-top: 32px;
    }
    .circles {
        width: 90px;
        height: 90px;
    }
    .circles::before {
        width: 90px;
        height: 90px;
    }
    .circles::after {
        width: 54px;
        height: 54px;
        top: 18px;
        left: 18px;
    }
    .cube {
        width: 10px;
        height: 10px;
        transform: translateY(-50%) translateX(32px);
        right: 45%;
    }
    .hero-logo-deco {
        width: 32px !important;
    }
}

@media (max-width: 900px) {
    .kontakt-hero-left {
        margin-left: 4vw;
    }
}
@media (max-width: 600px) {
    .kontakt-hero-left {
        margin-left: 2vw;
    }
}

.kontakt-hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-size: 4rem !important;
    font-weight: 300 !important;
    color: #fff !important;
    line-height: 1.2 !important;
}
.kontakt-hero-sub {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-size: 1.2rem !important;
    color: #fff !important;
    font-weight: 300 !important;
    opacity: 0.9 !important;
}

.kontakt-lead {
    font-size: 1.8rem !important;
    color: #e0e3ea;
    margin-bottom: 2.5rem;
}

.kontakt-lead-gradient {
    background: linear-gradient(45deg, #fff, #a8a8a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 1.8rem;
    max-width: 800px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-align: inherit;
    margin-left: 0;
}

.form-group.full-width input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #3366ff;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.form-group.full-width label[for="privacy"] {
    display: inline;
    font-size: 0.98rem;
    color: #e0e3ea;
    font-weight: 400;
}

.recaptcha-hinweis {
    font-size: 0.85rem;
    color: #8e94a7;
    margin-top: 1.2rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.recaptcha-hinweis a {
    color: #3366ff;
    text-decoration: underline;
} 