:root{
  --navy:#0e2a3d; --navy2:#123a54;
  --sand:#f5f1e8; --white:#ffffff; --ink:#182430; --muted:#5c6b78; --muted-light:#93a3af;
  --gold:#d9a441; --gold-light:#e6ba6a; --ok:#3f9d6a; --line:#e4e0d4; --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:var(--ink);background:var(--white);line-height:1.65}
img{max-width:100%;display:block}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
a{color:inherit}
section{padding:64px 0}
.section-sand{background:var(--sand)}
.section-navy{background:linear-gradient(160deg,var(--navy),var(--navy2));color:var(--white)}
.section-navy .muted{color:var(--muted-light)}
h1,h2,h3{line-height:1.2;font-weight:700}
h1{font-size:clamp(2rem,4vw,2.9rem)}
h2{font-size:clamp(1.5rem,3vw,2.1rem);margin-bottom:14px}
h3{font-size:1.2rem;margin-bottom:8px}
p{margin-bottom:1em}
.muted{color:var(--muted)}
.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700;color:var(--gold)}

/* header
   Note: the frosted-glass background lives on a ::before pseudo-element rather
   than directly on header.site. backdrop-filter (like transform/filter/
   perspective) makes an element establish the containing block for any
   position:fixed descendant. nav.main below is fixed so it can become a
   full-viewport mobile drawer; putting backdrop-filter straight on header.site
   would make that fixed positioning resolve against the ~64px-tall header
   box instead of the viewport, collapsing the drawer's hidden/open geometry
   and leaving its contents overlapping the page below it. */
header.site{position:sticky;top:0;z-index:50;color:var(--white)}
header.site::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(14,42,61,.96);backdrop-filter:blur(6px)}
header.site .bar{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;max-width:1120px;margin:0 auto;position:relative}
.brand{font-weight:800;font-size:1.15rem;letter-spacing:-.01em;text-decoration:none;color:var(--white);order:0}
.brand span{color:var(--gold)}

/* nav.main and .header-actions are siblings of .brand in .bar, ordered via
   flex `order` so desktop reads brand -> nav links -> lang switch, while on
   mobile nav.main drops out of flow entirely (position:fixed drawer, see
   below) leaving brand + header-actions as the only two in-flow children —
   exactly what "language button next to the hamburger" needs, with no
   separate mobile-only markup. */
nav.main{display:flex;align-items:center;gap:28px;order:1}
nav.main a{text-decoration:none;color:var(--white);font-size:.95rem;opacity:.88}
nav.main a:hover{opacity:1}

.header-actions{display:flex;align-items:center;gap:10px;order:2}

/* language dropdown — one button opening a menu of all languages. It does
   NOT show the current language (see build-lang-nav.py's langswitch_block):
   the closed button is bait advertising the next language in the priority
   rotation, on the theory that a visitor already reading this language gets
   more value from seeing a different one than from a redundant status
   readout. Used at every viewport width, and — per the Sept 2026 nav UX
   task — always visible in the bar next to the hamburger, not tucked inside
   the mobile drawer, so it stays a one-tap action regardless of viewport. */
.lang-switch{position:relative}
.lang-current{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.1);border:0;color:var(--white);padding:6px 12px;border-radius:8px;font-size:.85rem;font-weight:700;cursor:pointer;font-family:inherit}
.lang-current:hover{background:rgba(255,255,255,.18)}
.lang-current .caret{font-size:.7rem;opacity:.8;transition:transform .15s ease}
.lang-switch.open .lang-current .caret{transform:rotate(180deg)}
.lang-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:170px;background:var(--navy);border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,.35);padding:6px;display:none;flex-direction:column;gap:2px;z-index:60;max-height:70vh;overflow-y:auto}
.lang-switch.open .lang-menu{display:flex}
.lang-menu a{padding:8px 10px;border-radius:6px;font-size:.85rem;font-weight:600;color:var(--white);text-decoration:none;opacity:.85;white-space:nowrap}
.lang-menu a.active,.lang-menu a:hover{opacity:1;background:rgba(255,255,255,.14)}

.nav-toggle{display:none}
@media (max-width:820px){
  nav.main{position:fixed;top:var(--header-h,64px);left:0;right:0;bottom:0;background:var(--navy);flex-direction:column;align-items:flex-start;padding:24px;gap:20px;transform:translateY(-110%);transition:transform .25s ease;overflow-y:auto}
  nav.main.open{transform:translateY(0)}
  .nav-toggle{display:block;background:none;border:0;color:#fff;font-size:1.6rem;cursor:pointer}
}

/* hero */
.hero{padding:88px 0 64px}
.hero h1{margin:14px 0 18px}
.hero .lead{font-size:1.15rem;max-width:620px;margin-bottom:28px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 26px;border-radius:999px;font-weight:700;text-decoration:none;font-size:1rem;border:2px solid transparent;cursor:pointer}
.btn-primary{background:var(--gold);color:var(--navy)}
.btn-primary:hover{background:var(--gold-light)}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.5);color:var(--white)}
.btn-ghost:hover{border-color:#fff}
.btn-outline{background:transparent;border-color:var(--gold);color:var(--gold)}
.btn-outline:hover{background:var(--gold);color:#fff}
.hero-note{margin-top:14px;font-size:.88rem;color:var(--muted-light)}
.booking-gate{margin-top:18px;padding:14px 18px;border-radius:10px;background:rgba(217,164,65,.15);border:1px solid rgba(217,164,65,.4);color:var(--gold);font-weight:600;font-size:.95rem;display:inline-block}

/* TEIL 3 — booking notice boxes for languages not yet covered by an advisor
   (Fall A: it/pl/es/fr/pt). Sits above the normal book button/embed on the
   home, courses and book pages of those languages only — covered languages
   (Fall B) never render this. */
.booking-notice-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}
.notice-box{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:20px}
.notice-box h3{font-size:1rem;margin-bottom:8px;color:var(--gold-light)}
.notice-box p{font-size:.9rem;color:var(--muted-light);margin-bottom:14px}
.notice-box-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.notice-link{font-size:.85rem;text-decoration:underline;color:var(--white);opacity:.85}
.notice-link:hover{opacity:1}
@media (max-width:820px){.booking-notice-boxes{grid-template-columns:1fr}}

/* text+image split layout (hero, consulting, courses teaser, community) */
.split{display:flex;align-items:center;gap:40px;flex-wrap:wrap}
.split>*{flex:1;min-width:280px}
.split-image,.hero-image{aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius)}
.split-image img,.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}

/* app-alltagshelfer waitlist section (TEIL 5) — reuses .split/.split-image
   above; the whole image and the CTA button both open the same waitlist
   modal (course_id "app-alltagshelfer") */
.app-bullets{list-style:none;margin:18px 0 26px;display:flex;flex-direction:column;gap:12px}
.app-bullets li{display:flex;align-items:flex-start;gap:10px;font-size:.98rem}
.app-bullets .app-bullet-icon{flex:0 0 auto;font-size:1.15rem;line-height:1.3}
.app-image-trigger{cursor:pointer;position:relative}
.app-image-trigger:hover img{transform:scale(1.03)}
.app-image-trigger img{transition:transform .3s ease}

/* offer cards */
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:820px){.grid-3,.grid-2{grid-template-columns:1fr}}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 1px 2px rgba(20,30,40,.04)}
.card.on-navy{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.tag{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:4px 10px;border-radius:999px;margin-bottom:10px}
.tag-core{background:#e4f4ef;color:var(--ok)}
.tag-partner{background:#eef2fb;color:#4a5fbf}
.tag-soon{background:#f4ede0;color:var(--gold)}

/* course teasers */
.course-card{position:relative;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:10px}
.badge-soon{position:absolute;top:20px;right:20px;background:var(--gold);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:5px 10px;border-radius:999px}
.course-card p{color:var(--muted);flex:1}
.course-card .btn{align-self:flex-start;margin-top:4px}

/* footer */
footer.site{background:var(--navy);color:var(--muted-light);padding:40px 0 28px;font-size:.88rem}
footer.site .foot-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:14px}
footer.site a{color:var(--muted-light);text-decoration:none}
footer.site a:hover{color:#fff}
.legal-note{margin-top:18px;font-size:.8rem;color:#7c8a95;max-width:760px}

/* waitlist modal */
.modal-overlay{position:fixed;inset:0;background:rgba(14,20,26,.55);display:none;align-items:center;justify-content:center;z-index:200;padding:20px}
.modal-overlay.open{display:flex}
.modal-box{background:#fff;border-radius:var(--radius);max-width:420px;width:100%;padding:28px;position:relative}
.modal-close{position:absolute;top:14px;right:16px;background:none;border:0;font-size:1.3rem;cursor:pointer;color:var(--muted)}
.modal-box h3{margin-bottom:4px}
.modal-box .modal-sub{color:var(--muted);font-size:.9rem;margin-bottom:18px}
.field{margin-bottom:14px}
.field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:6px}
.field input,.field textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:8px;font-size:.95rem;font-family:inherit}
.field textarea{resize:vertical}
.field input:focus,.field textarea:focus{outline:2px solid var(--gold-light);border-color:var(--gold)}
.modal-success{display:none;background:#e4f4ef;color:#1e6b46;padding:14px;border-radius:10px;font-size:.92rem;margin-top:8px}
.modal-success.show{display:block}
.modal-error{display:none;background:#fbeaea;color:#a12f2f;padding:10px;border-radius:8px;font-size:.85rem;margin-top:6px}
.modal-error.show{display:block}

/* legal pages */
.legal-body{max-width:760px;padding:48px 24px 80px;margin:0 auto}
.legal-body h1{font-size:1.9rem;margin-bottom:6px}
.legal-body .updated{color:var(--muted);font-size:.85rem;margin-bottom:32px}
.legal-body h2{font-size:1.15rem;margin-top:32px;color:var(--navy)}
.legal-body p,.legal-body li{color:#33404b}
.legal-body ul{padding-left:20px;margin-bottom:1em}
.legal-footer-link{color:var(--muted-light);font-size:.78rem;opacity:.75}
.legal-footer-link:hover{opacity:1}
