/* =====================================================================
   Limanu — stylesheet
   Palette & type follow the supplied corporate identity.
   Signature devices, both lifted straight from the logo:
     1) .brush  — the golden brushstroke underline under a key word
     2) .eyebrow dots — the speech-bubble "..." used as a section marker,
        animated as a gentle typing indicator in the hero.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
    /* Brand colours (from CI) */
    --blau:      #382E5E;
    --goldbraun: #9B6516;
    --gelb:      #E5B000;
    --dunkel:    #21162D;
    --braun:     #784610;
    --hell:      #F2EBE2;

    /* Derived surfaces */
    --card:   #FBF7F1;   /* lighter cream for raised surfaces */
    --tint:   #EBE0D2;   /* deeper cream for alternating sections */
    --line:   rgba(56, 46, 94, 0.14);
    --ink:    var(--dunkel);
    --ink-soft: rgba(33, 22, 45, 0.74);
    --ink-mute: rgba(33, 22, 45, 0.56);

    /* Typography */
    --font-body: 'Mulish', system-ui, -apple-system, Segoe UI, sans-serif;
    --font-head: 'Nunito Sans', 'Mulish', sans-serif;
    --font-sub:  'Nunito', 'Nunito Sans', sans-serif;

    /* Radii */
    --r-lg: 26px;
    --r-md: 18px;
    --r-sm: 12px;
    --r-pill: 999px;

    /* Warm-tinted shadows (blue base rather than neutral grey) */
    --shadow-sm: 0 2px 8px rgba(56, 46, 94, 0.08);
    --shadow-md: 0 12px 30px -12px rgba(56, 46, 94, 0.22);
    --shadow-lg: 0 30px 60px -24px rgba(56, 46, 94, 0.30);

    --maxw: 1440px;
    --header-h: 76px;
}

/* ---------- Reset-ish base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
    line-height: 1.7;
    color: var(--ink);
    background: var(--hell);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.12;
    margin: 0 0 0.5em;
    color: var(--goldbraun);
    font-weight: 800;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--blau);
    color: var(--hell);
    padding: 10px 16px;
    border-radius: var(--r-sm);
    transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
    outline: 3px solid var(--gelb);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Layout utilities ---------- */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: clamp(1.4rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--blau); color: var(--hell); }
.section--dark h2 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.lead {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ---------- Signature: eyebrow with speech dots ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--braun);
    margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--gelb); }

.eyebrow .dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 9px 7px;
    background: rgba(155, 101, 22, 0.12);
    border-radius: 12px 12px 12px 3px;   /* little speech-bubble tail */
    line-height: 0;
}
.section--dark .eyebrow .dots { background: rgba(229, 176, 0, 0.16); }

.eyebrow .dots i {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--goldbraun);
    display: inline-block;
}
.section--dark .eyebrow .dots i { background: var(--gelb); }

/* Typing-indicator animation, only where we opt in (.eyebrow--live). */
.eyebrow--live .dots i { animation: blink 1.4s infinite ease-in-out both; }
.eyebrow--live .dots i:nth-child(2) { animation-delay: 0.2s; }
.eyebrow--live .dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}

/* ---------- Signature: golden brushstroke ---------- */
.brush {
    position: relative;
    display: inline;
    color: var(--goldbraun);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 28' preserveAspectRatio='none'%3E%3Cpath d='M6 21 C 96 7 300 6 394 15' fill='none' stroke='%23E5B000' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center bottom 0.02em;
    background-size: 100% 0.42em;
    padding-bottom: 0.12em;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    padding: 0.9em 1.6em;
    border-radius: var(--r-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blau); color: var(--hell); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--dunkel); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--blau); border-color: var(--blau); }
.btn-ghost:hover { background: var(--blau); color: var(--hell); }

.btn-light { background: var(--gelb); color: var(--dunkel); }
.btn-light:hover { background: #fff; }

.btn-lg { font-size: 1.06rem; padding: 1.02em 1.9em; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(242, 235, 226, 0.82);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(242, 235, 226, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { border-radius: 50%; }
.brand-word {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--blau);
    letter-spacing: 0.01em;
}

.site-nav .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1.6vw, 1.6rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    text-decoration: none;
    padding: 0.4rem 0.2rem;
    transition: color 0.18s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 3px;
    border-radius: 3px;
    background: var(--gelb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}
.nav-link:hover { color: var(--goldbraun); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--blau); }

.nav-cta { color: var(--hell); }
.nav-cta:hover { color: var(--hell); }

/* Hamburger */
.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: var(--font-sub);
    font-weight: 700;
    color: var(--blau);
    padding: 0.4rem;
}
.nav-toggle-box {
    position: relative;
    width: 24px; height: 16px;
    display: inline-block;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px; height: 2.5px;
    border-radius: 3px;
    background: var(--blau);
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle-bar { top: 7px; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-block: clamp(3rem, 7vw, 6rem);
    overflow: hidden;
}
.hero::before {
    /* soft indigo glow, top-left */
    content: "";
    position: absolute;
    width: 520px; height: 520px;
    left: -160px; top: -220px;
    background: radial-gradient(circle, rgba(56, 46, 94, 0.14), transparent 62%);
    z-index: 0;
}
.hero::after {
    /* warm gold glow, bottom-right */
    content: "";
    position: absolute;
    width: 560px; height: 560px;
    right: -200px; bottom: -260px;
    background: radial-gradient(circle, rgba(229, 176, 0, 0.16), transparent 62%);
    z-index: 0;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    #grid-template-columns: 1.15fr 0.85fr;
    grid-template-columns: 1fr 1fr;
    #gap: clamp(2rem, 5vw, 4rem);
	gap: clamp(1rem, 2.5vw, 2rem);
    align-items: center;
}
.hero h1 {
    color: var(--dunkel);
    font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem);
    letter-spacing: -0.015em;
    margin-bottom: 0.6em;
}
.hero .lead { max-width: 34rem; }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}
.hero-trust {
    margin-top: 1.6rem;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-mute);
}
.hero-trust strong { color: var(--braun); }

/* Hero visual: the round mark inside a ring, with floating dot accents */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
}
.hero-ring {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 40%, var(--card), var(--hell) 70%);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.hero-ring::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px dashed rgba(155, 101, 22, 0.35);
}
.hero-logo { position: relative; width: 66%; z-index: 1; }

.float-chip {
    position: absolute;
    z-index: 2;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-md);
    padding: 0.55rem 0.95rem;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blau);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); }
.float-chip--tl { top: 6%; left: -6%; }
.float-chip--br { bottom: 8%; right: -4%; }
@media (prefers-reduced-motion: no-preference) {
    .float-chip--tl { animation: floaty 5s ease-in-out infinite; }
    .float-chip--br { animation: floaty 6.5s ease-in-out infinite reverse; }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: clamp(1.4rem, 2.4vw, 2rem);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--blau); font-size: 1.22rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; }

.card-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: rgba(56, 46, 94, 0.08);
    color: var(--blau);
}
.card-icon svg { width: 26px; height: 26px; }

/* Accent variants for benefit cards */
.card--gold .card-icon  { background: rgba(229, 176, 0, 0.18); color: var(--braun); }
.card--brown .card-icon { background: rgba(120, 70, 16, 0.14); color: var(--braun); }
.card--blue .card-icon  { background: rgba(56, 46, 94, 0.10); color: var(--blau); }

/* Pain-point list variant — tighter, with a warning tick */
.pain .card-icon { background: rgba(120, 70, 16, 0.12); color: var(--braun); border-radius: 12px; }

/* ---------- Numbered process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4.2rem; }
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0; top: 0;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--hell);
    background: var(--blau);
    width: 3rem; height: 3rem;
    display: grid; place-items: center;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.step h3 { color: var(--goldbraun); margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Spec panel (workshop facts) ---------- */
.spec {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.spec-item { background: var(--card); padding: 1.5rem; }
.spec-item .k {
    font-family: var(--font-sub);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: var(--braun);
    margin-bottom: 0.35rem;
}
.spec-item .v {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--blau);
    line-height: 1.15;
}
.spec-item .v small { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink-mute); font-family: var(--font-body); margin-top: 0.2rem; }

/* ---------- Tag pills ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.tags li {
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--blau);
    background: var(--card);
    border: 1px solid var(--line);
    padding: 0.5rem 1rem;
    border-radius: var(--r-pill);
}
.section--dark .tags li { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.16); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.cta-band .lead { color: rgba(242, 235, 226, 0.85); margin-inline: auto; max-width: 40rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Split feature block ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.split-media {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(1.5rem, 4vw, 3rem);
    display: grid;
    place-items: center;
}
.split-media img { width: 100%; max-width: 340px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.page-hero h1 { color: var(--dunkel); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); }
.page-hero .lead { max-width: 42rem; }

/* ---------- Contact form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}
.form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field label {
    display: block;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dunkel);
    margin-bottom: 0.4rem;
}
.field .req { color: var(--braun); }
.field input,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--hell);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 0.8rem 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blau);
    box-shadow: 0 0 0 3px rgba(56, 46, 94, 0.14);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    border-radius: var(--r-md);
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
    font-family: var(--font-sub);
    font-weight: 600;
    border: 1px solid transparent;
}
.alert-success { background: rgba(56, 46, 94, 0.06); border-color: var(--blau); color: var(--blau); }
.alert-error { background: rgba(120, 70, 16, 0.08); border-color: var(--braun); color: var(--braun); }
.alert ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }

.contact-aside .info-block { margin-bottom: 1.6rem; }
.contact-aside h3 { color: var(--goldbraun); font-size: 1.1rem; margin-bottom: 0.4rem; }
.contact-aside a { font-weight: 700; }

/* ---------- Contact accordion (Termin buchen / Nachricht senden) ---------- */
.contact-options { display: flex; flex-direction: column; gap: 1rem; }

.acc {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.acc[open] { box-shadow: var(--shadow-md); }

/* Primary option gets a gold hairline to read as the recommended path. */
.acc--primary { border-color: rgba(229, 176, 0, 0.55); }
.acc--primary[open] { border-color: var(--gelb); }

.acc-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem clamp(1.1rem, 2.4vw, 1.6rem);
    cursor: pointer;
    list-style: none;                 /* Firefox: hide default triangle */
    user-select: none;
}
.acc-summary::-webkit-details-marker { display: none; } /* Safari/Chrome */
.acc-summary:hover { background: rgba(56, 46, 94, 0.035); }
.acc-summary:focus-visible {
    outline: 3px solid var(--blau);
    outline-offset: -3px;
}

.acc-icon {
    flex: none;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: var(--r-sm);
    background: rgba(56, 46, 94, 0.08);
    color: var(--blau);
}
.acc-icon svg { width: 24px; height: 24px; }
.acc-icon--blue { background: rgba(56, 46, 94, 0.10); color: var(--blau); }
.acc-icon--gold { background: rgba(229, 176, 0, 0.18); color: var(--braun); }

.acc-titles { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.acc-title {
    font-family: var(--font-sub);
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--dunkel);
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.acc-sub { color: var(--ink-mute); font-size: 0.92rem; line-height: 1.45; }

.acc-badge {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--dunkel);
    background: var(--gelb);
    border-radius: var(--r-pill);
    padding: 0.15rem 0.6rem;
    line-height: 1.4;
}

.acc-chevron {
    flex: none;
    margin-left: auto;
    width: 22px; height: 22px;
    color: var(--ink-mute);
    transition: transform 0.22s ease;
}
.acc[open] .acc-chevron { transform: rotate(180deg); }

.acc-panel { padding: 0 clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.3rem, 2.4vw, 1.7rem); }
.acc-panel > .alert:first-child,
.acc-panel > .acc-note:first-child { margin-top: 0.2rem; }

/* Small explanatory / consent notes inside a panel. */
.acc-note {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink-soft);
    background: rgba(56, 46, 94, 0.05);
    border-left: 3px solid var(--blau);
    border-radius: var(--r-sm);
    padding: 0.75rem 0.9rem;
    margin: 0 0 1rem;
}
.acc-note--warn {
    background: rgba(120, 70, 16, 0.08);
    border-left-color: var(--braun);
    color: var(--braun);
}
.acc-note code {
    font-size: 0.85em;
    background: rgba(33, 22, 45, 0.08);
    padding: 0.05em 0.35em;
    border-radius: 6px;
}

/* The Google booking iframe. Fixed height (cross-origin can't auto-size); the
   widget scrolls internally on smaller screens. src is injected by JS on open. */
.embed-frame {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--hell);
}
.embed-frame__iframe {
    display: block;
    width: 100%;
    height: clamp(560px, 78vh, 760px);
    border: 0;
}
.embed-frame.is-loading { position: relative; }
.embed-frame.is-loading::after {
    content: "Kalender wird geladen …";
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: var(--font-sub);
    font-weight: 700;
    color: var(--ink-mute);
    background: var(--hell);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dunkel); color: rgba(242, 235, 226, 0.82); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: clamp(1.6rem, 4vw, 3rem);
    padding-block: clamp(2.8rem, 5vw, 4rem);
}
.footer-logo {
    background: var(--hell);
    border-radius: var(--r-md);
    padding: 0.9rem 1.1rem;
    width: 240px;
    max-width: 100%;
}
.footer-tagline { margin-top: 1rem; max-width: 26rem; color: rgba(242, 235, 226, 0.72); }
.footer-h {
    font-family: var(--font-sub);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gelb);
    margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-nav a, .footer-contact a { color: rgba(242, 235, 226, 0.86); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-muted { color: rgba(242, 235, 226, 0.55); font-size: 0.92rem; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    padding-block: 1.3rem;
    border-top: 1px solid rgba(242, 235, 226, 0.12);
    font-size: 0.88rem;
    color: rgba(242, 235, 226, 0.6);
}
.footer-bottom p { margin: 0; }
.footer-legal a { color: rgba(242, 235, 226, 0.6); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .acc-chevron { transition: none; }
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.prose p { color: var(--ink-soft); }
.prose p strong { color: var(--dunkel); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { grid-row: 1; max-width: 320px; }
    .split { grid-template-columns: 1fr; }
    .split-media { order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
    /* Collapse nav into a toggle panel */
    .nav-toggle { display: inline-flex; }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        background: var(--hell);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: 1rem clamp(1.2rem, 4vw, 2.5rem) 1.6rem;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    }
    .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

    .site-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
    .nav-link { display: block; padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); }
    .nav-link::after { display: none; }
    .nav-link.is-active { color: var(--blau); }
    .nav-cta-item { margin-top: 0.9rem; }
    .nav-cta { width: 100%; }
}

@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .spec { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .float-chip { display: none; }
}
