/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    background-color: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 400px;
    width: 90%;
    font-family: 'Inter', sans-serif;
}

.popup-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #15D1AA;
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-box h3 {
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.popup-box p {
    color: #a1a1aa;
    font-size: 15px;
    line-height: 1.6;
}

.popup-close {
    margin-top: 8px;
    padding: 12px 28px;
    background-color: #15D1AA;
    color: white;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.popup-close:hover {
    background-color: #0B5041;
}

/* ── Section Head ── */
.KontaktSectionHead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px 60px;
    background-color: #09090B;
    font-family: 'Inter', sans-serif;
    gap: 16px;
    color: white;
}

.headlineKontakt {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.kontaktText {
    color: #a1a1aa;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
}

/* ── Two-column grid ── */
main {
    padding: 0 40px 80px;
    font-family: 'Inter', sans-serif;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Form card ── */
.kontakt-form-card {
    background-color: rgb(24, 24, 26);
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 36px;
}

.form-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
    font-family: 'Inter', sans-serif;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    padding: 12px 16px;
    color: #f4f4f5;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #52525b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #15D1AA;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    color: #52525b;
}

.form-group select option {
    background-color: #18181b;
    color: #f4f4f5;
}

.form-group input[type="date"] {
    color: #52525b;
    cursor: pointer;
}

.form-group input[type="date"]:valid {
    color: #f4f4f5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #15D1AA;
    color: white;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 4px;
}

.form-submit:hover {
    background-color: #0B5041;
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(21, 209, 170, 0.5), 0 0 48px rgba(21, 209, 170, 0.25);
}

.form-note {
    text-align: center;
    color: #71717a;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

/* ── Right column ── */
.kontakt-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Contact info cards ── */
.info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background-color: rgb(24, 24, 26);
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 20px 24px;
}

.info-icon-img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: cover;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 13px;
    color: #71717a;
    font-family: 'Inter', sans-serif;
}

.info-value {
    font-size: 17px;
    font-weight: 500;
    color: #f4f4f5;
    font-family: 'Inter', sans-serif;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ── Verfügbarkeit card ── */
.cardVerfügbarkeit {
    background-color: rgb(24, 24, 26);
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 24px;
    font-family: 'Inter', sans-serif;
}

.verfug-title {
    display: block;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.verfug-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #27272a;
}

.verfug-row.last {
    border-bottom: none;
}

.verfug-day {
    color: #a1a1aa;
    font-size: 14px;
}

.verfug-time {
    color: #f4f4f5;
    font-size: 14px;
    font-weight: 500;
}

/* ── FAQ card ── */
.cardQuestions {
    background-color: rgba(21, 209, 170, 0.05);
    border: 1px solid rgba(21, 209, 170, 0.2);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.faq-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.faq-text {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.65;
}

.cardQuestions a {
    color: #15D1AA;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
    margin-top: 4px;
}

.cardQuestions a:hover {
    color: #0B5041;
    text-decoration: underline;
}

/* ── Active nav link ── */
.link.active {
    color: white;
}

.link.active::after {
    transform: scaleX(1);
}

/* ===================================================
   RESPONSIVE — 900px (Tablet)
   =================================================== */
@media (max-width: 900px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }
    .kontakt-form-card {
        padding: 28px;
    }
}

/* ===================================================
   RESPONSIVE — 768px
   =================================================== */
@media (max-width: 768px) {
    .KontaktSectionHead {
        padding: 60px 20px 40px;
    }
    .headlineKontakt {
        font-size: 32px;
    }
    .kontaktText {
        font-size: 15px;
    }
    main {
        padding: 0 20px 60px;
    }
    .kontakt-grid {
        grid-template-columns: 1fr;
    }
    .kontakt-form-card {
        padding: 24px;
    }
    .popup-box {
        padding: 36px 24px;
    }
}

/* ===================================================
   RESPONSIVE — 480px
   =================================================== */
@media (max-width: 480px) {
    .headlineKontakt {
        font-size: 26px;
    }
    .kontakt-form-card {
        padding: 20px 16px;
    }
}
