/* Explain: Styles for site header, cards, forms, layout components, and interactive elements. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.86), rgba(250, 249, 246, 0.52));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 500px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.story-card {
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    max-width: 290px;
    border-radius: 2rem;
    padding: 1.5rem;
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.quiet-detail.step-tone-1 {
    border-color: rgba(88, 129, 87, 0.22);
    background: #F5F9EF;
}

.quiet-detail.step-tone-2 {
    border-color: rgba(88, 129, 87, 0.3);
    background: #E7F1DC;
}

.quiet-detail.step-tone-3 {
    border-color: rgba(88, 129, 87, 0.38);
    background: #CFE3BE;
}

.quiet-detail.step-tone-4 {
    border-color: rgba(88, 129, 87, 0.46);
    background: #A9C893;
}

.quiet-detail.praxis-card {
    position: relative;
    overflow: hidden;
    border-width: 1px;
    border-color: rgba(47, 107, 34, 0.09);
    border-radius: 1.9rem;
    background: rgba(250, 249, 246, 0.58);
    padding: clamp(1.75rem, 3.2vw, 2.4rem);
    box-shadow: 0 14px 40px rgba(31, 46, 35, 0.035);
}

.quiet-detail.praxis-card > * {
    position: relative;
    z-index: 1;
}

.quiet-detail.praxis-card h3 {
    position: relative;
    z-index: 1;
    display: inline-block;
    max-width: 100%;
    margin-left: -0.4rem;
    border-radius: 0.9rem;
    padding: 0.45rem 1.1rem;
    font-size: var(--fs-card-title);
    line-height: 1.35;
    background-image: none;
}

.quiet-detail.praxis-card h3::before {
    position: absolute;
    inset: -0.5rem -1.35rem;
    z-index: -1;
    border-radius: 999px;
    background-image: radial-gradient(closest-side, rgba(88, 129, 87, 0.26) 0%, rgba(169, 200, 147, 0.15) 58%, rgba(88, 129, 87, 0) 100%);
    content: "";
    filter: blur(7px);
    pointer-events: none;
}

.bio-panel {
    border: 1px solid rgba(47, 107, 34, 0.1);
    border-radius: 2.6rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(163, 177, 138, 0.22), transparent 22rem),
        linear-gradient(165deg, rgba(250, 249, 246, 0.96), rgba(241, 244, 235, 0.6));
    padding: clamp(1.8rem, 4vw, 3rem);
    box-shadow: 0 30px 80px rgba(31, 46, 35, 0.06);
}

.bio-flow p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.bio-flow p + p {
    margin-top: 1rem;
}

.bio-flow strong {
    color: var(--text-color);
    font-weight: 700;
}

.bio-flow em {
    font-style: italic;
}

.bio-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    color: var(--accent-color);
    opacity: 0.45;
}

.bio-divider::before,
.bio-divider::after {
    flex: 1;
    height: 1px;
    background: currentColor;
    content: "";
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.class-card {
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.class-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.amenity-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

.amenity-image-wrap {
    height: 660px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: var(--shadow-soft);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 2rem;
    padding: clamp(1.25rem, 3vw, 1.9rem);
}

.contact-tile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

a.contact-tile:hover {
    border-color: rgba(88, 129, 87, 0.55);
    box-shadow: 0 18px 50px rgba(31, 46, 35, 0.1);
    transform: translateY(-3px);
}

.contact-tile-icon {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    background: var(--sage-soft);
    color: var(--accent-color);
}

.contact-tile-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-tile-value {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

.contact-tile-arrow {
    margin-left: auto;
    color: var(--accent-color);
    opacity: 0.5;
    transition: transform 300ms ease, opacity 300ms ease;
}

a.contact-tile:hover .contact-tile-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.hours-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: #EAF2DF;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #2C4619;
}

.form-status.error {
    color: #9B4A3D;
}

.opening-note.is-hidden {
    display: none;
}

#openingHoursToggle[aria-expanded="true"] [data-opening-chevron] {
    transform: rotate(180deg);
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.86);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(31, 46, 35, 0.32);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.22);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium,
    .amenity-image-wrap {
        height: 510px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }

    .floating-note,
    .story-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
    }

    .amenity-image-wrap {
        border-radius: 999px 999px 2rem 2rem;
    }
}

/* Einheitliche Typografie-Staffel für alle Zwischentitel */
.card-title,
.class-card h3,
.amenity-row h3,
.quiet-detail h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-card-title);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--text-color);
}
