/* Startseite aelixir.de und Unterseiten /jobs, /preise, /studio-mieten.
   Eigenes Stylesheet: styles.css bleibt den Rechtstexten, /one/ und R2FV vorbehalten.
   Schriften: fonts.css (selbst gehostet, /assets/fonts/). */
:root {
  --dark: #26211c;
  --cream: #f5f1e9;
  --taupe: #b3a294;
  --taupe-logo: #a68e80;
  --on-dark: #e8dfd2;
  --on-dark-2: #b0a595;
  --link-dark: #cfc4b6;
  --glow: #c9b8a6;
  --muted-dark: #8f8271;
  --on-light: #3a332c;
  --on-light-2: #6f6558;
  --hairline: rgba(179, 162, 148, .22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --pad: clamp(22px, 5.5vw, 96px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--dark); color: var(--on-light); font-family: var(--sans); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page { background: var(--cream); overflow-x: clip; }
::selection { background: var(--taupe); color: var(--dark); }

/* Atmosphäre */
.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.motion .grain { animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: var(--taupe); transform: scaleX(0); transform-origin: 0 50%; }

/* Header */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px var(--pad); transition: background .5s ease, padding .5s var(--ease), border-color .5s ease; border-bottom: 1px solid transparent; }
.topbar.is-solid { background: rgba(38, 33, 28, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-bottom-color: var(--hairline); }
.brand img { height: 38px; width: auto; filter: brightness(1.18); }
.topbar-right { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: clamp(16px, 1.9vw, 28px); align-items: center; font-size: 13px; letter-spacing: .06em; }
.nav a { color: var(--link-dark); position: relative; padding: 4px 0; white-space: nowrap; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--taupe); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--on-dark); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-ig { display: inline-flex; color: var(--link-dark); transition: color .2s, transform .4s var(--ease); }
.nav-ig:hover { color: var(--on-dark); transform: rotate(-8deg) scale(1.1); }
.nav-ig svg { width: 38.4px; height: 38.4px; } /* = Hoehe .nav-login (2*8 + 2 + 20.4) */
.nav-login { border: 1px solid var(--taupe); color: #d8cec2; border-radius: 999px; padding: 8px 20px; font-weight: 600; font-size: 12px; letter-spacing: .08em; white-space: nowrap; transition: background .25s, color .25s; }
.nav-login:hover, .nav-login:focus-visible { background: var(--taupe); color: var(--dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav-toggle span { height: 1.5px; width: 100%; background: var(--link-dark); border-radius: 2px; }
.nav-close { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--dark); color: var(--on-dark); overflow: hidden; display: flex; align-items: flex-end; padding: 130px var(--pad) clamp(36px, 6vh, 72px); }
.hero-glow { position: absolute; left: 0; top: 0; width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(179,162,148,.2) 0%, rgba(179,162,148,.07) 32%, rgba(179,162,148,0) 62%);
  transform: translate3d(calc(var(--gx, 62) * 1vw), calc(var(--gy, 36) * 1vh), 0); }
.hero-mark { position: absolute; right: -6vw; top: 50%; width: min(92vw, 1250px); transform: translate3d(calc(var(--px, 0) * 1px), calc(-50% + var(--py, 0) * 1px), 0) scale(var(--ms, 1)); pointer-events: none; }
.mark-draw { width: 100%; height: auto; overflow: hidden; display: block; }
.mark-draw path { fill: var(--taupe); fill-opacity: .1; stroke: var(--taupe); stroke-opacity: .7; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .hero .mark-draw path { stroke-dashoffset: 1; fill-opacity: 0; animation: draw 2.6s cubic-bezier(.65, 0, .25, 1) 1.05s forwards, fillin 1.8s ease 2.9s forwards; }
.motion .hero .mark-draw path:nth-child(2) { animation-delay: .45s, 2.5s; }
.motion .hero .mark-draw path:nth-child(3) { animation-delay: .6s, 2.6s; }
.motion .hero .mark-draw path:nth-child(4) { animation-delay: .75s, 2.7s; }
.motion .hero .mark-draw path:nth-child(5) { animation-delay: .9s, 2.8s; }
.motion .hero .mark-draw path:nth-child(6) { animation-delay: 1.05s, 2.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: .1; } }
.hero-inner { position: relative; width: 100%; transform: translate3d(0, calc(var(--hy, 0) * 1px), 0); opacity: var(--ho, 1); }
.eyebrow { margin: 0 0 clamp(18px, 3vh, 34px); font-size: 11px; letter-spacing: .34em; color: var(--taupe); font-weight: 600; text-transform: uppercase; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 8.8vw, 150px); line-height: .92; letter-spacing: -.02em; margin: 0; }
.ln { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.1em; }
.ln > span { display: block; }
.hero-title em { font-style: italic; color: var(--glow); }
.motion .ln > span { transform: translateY(112%); animation: lineup 1.5s var(--ease) forwards; }
.motion .ln:nth-child(1) > span { animation-delay: .5s; }
.motion .ln:nth-child(2) > span { animation-delay: .65s; }
.motion .ln:nth-child(3) > span { animation-delay: .8s; }
@keyframes lineup { to { transform: none; } }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-top: clamp(28px, 5vh, 56px); padding-top: clamp(20px, 3vh, 32px); border-top: 1px solid var(--hairline); }
.hero-text { margin: 0; max-width: 470px; font-size: 16px; line-height: 1.7; color: var(--on-dark-2); }
.motion .eyebrow, .motion .hero-text, .motion .hero-actions, .motion .hero-foot { opacity: 0; animation: fadeup 1.4s var(--ease) forwards; }
.motion .eyebrow { animation-delay: .3s; }
.motion .hero-foot { animation-delay: 1.04s; animation-duration: 1.12s; }
.motion .hero-text, .motion .hero-actions { opacity: 1; animation: none; }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons (magnetisch) */
.button { display: inline-block; border-radius: 999px; padding: 18px 44px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease); will-change: transform; }
.button span { display: inline-block; transition: transform .5s var(--ease); }
.button-primary { background: var(--taupe); color: var(--dark); border: 1px solid var(--taupe); }
.button-primary:hover, .button-primary:focus-visible { background: #c2b3a6; border-color: #c2b3a6; }
.button-secondary { border: 1px solid var(--taupe); color: #d8cec2; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--taupe); color: var(--dark); }

/* Wort-Band: feine Zeile zwischen zwei Haarlinien, Woerter erscheinen Buchstabe fuer Buchstabe */
.wordband { background: var(--dark); color: var(--glow); position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: clamp(26px, 5vw, 84px); padding: clamp(16px, 2.2vw, 28px) var(--pad); font-family: var(--sans); font-weight: 300; font-size: clamp(11px, 1.25vw, 18px); line-height: 1.2; letter-spacing: .5em; }
.wordband::before, .wordband::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); height: 1px; background: linear-gradient(90deg, transparent, var(--taupe-logo) 18%, var(--taupe-logo) 82%, transparent); opacity: .55; }
.wordband::before { top: 0; } .wordband::after { bottom: 0; }
.wb-word { margin: 0; margin-right: -.5em; position: relative; white-space: nowrap; }
.wb-word > span { display: inline-block; position: relative; }
.wb-l { display: inline-block; }
.wb-dot { margin-right: -.5em; width: 4px; height: 4px; border-radius: 50%; background: var(--taupe); flex: none; font-size: 0; }
.motion .wordband::before, .motion .wordband::after { transform: scaleX(0); transition: transform 1s cubic-bezier(.65, 0, .25, 1); }
.motion .wordband.is-in::before, .motion .wordband.is-in::after { transform: none; }
.motion .wb-l { opacity: 0; filter: blur(9px); transform: translateX(calc(var(--o, 0) * .55em)) scale(1.25); color: #f3e9dc;
  transition: opacity .5s ease, filter .6s ease, transform .6s var(--ease), color .8s ease; transition-delay: calc(var(--w, 0) * .15s + var(--i, 0) * 22ms); }
.motion .wordband.is-in .wb-l { opacity: 1; filter: blur(0); transform: none; color: var(--glow); }
.motion .wb-word > span::after { content: ""; position: absolute; inset: -30% -8%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 244, 228, .55) 50%, transparent 65%); background-size: 260% 100%; background-position: 120% 0; mix-blend-mode: overlay; }
.motion .wordband.is-in .wb-word > span::after { animation: wbsweep 1s ease-in-out forwards; animation-delay: calc(var(--w, 0) * .15s + .5s); }
@keyframes wbsweep { 0% { opacity: 0; background-position: 120% 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; background-position: -20% 0; } }
.motion .wb-dot { opacity: 0; transform: scale(0); box-shadow: 0 0 0 rgba(201, 184, 166, 0); transition: opacity .5s ease, transform .6s var(--ease), box-shadow .7s ease; }
.motion .wordband.is-in .wb-dot { opacity: .8; transform: none; box-shadow: 0 0 10px rgba(201, 184, 166, .6); transition-delay: calc(var(--w, 0) * .15s + .25s); }

/* Sektionstitel */
.section-title { margin: 0; font-size: 11px; letter-spacing: .28em; color: var(--taupe); font-weight: 600; text-transform: uppercase; }
.section-heading { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.6vw, 78px); line-height: 1.02; letter-spacing: -.015em; margin: 18px 0 0; text-wrap: balance; }
.section-text { font-size: 16px; line-height: 1.8; color: var(--on-light-2); margin: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.motion [data-split] .w > span { transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.motion [data-split].is-in .w > span { transform: none; }

/* Kurse: horizontale Fahrt */
.facts { background: var(--dark); color: var(--on-dark); position: relative; }
.hs-stage { padding: clamp(72px, 12vw, 140px) var(--pad); }
.hs-track { display: flex; flex-direction: column; gap: clamp(36px, 8vw, 64px); }
.hs-intro { padding-bottom: 12px; }
.facts .section-heading { max-width: 11em; }
.card { position: relative; background: var(--dark); border-radius: 6px; overflow: hidden; width: 100%; aspect-ratio: 4 / 4.6; isolation: isolate; }
.card .media { position: absolute; inset: 0; clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(calc(var(--ix, 0) * 1px), 0, 0) scale(1.18); }
.card-1 .media img { object-position: 72% 50%; }
.card-3 .media img { object-position: 40% 30%; }
.card .media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(38,33,28,.92) 0%, rgba(38,33,28,.55) 34%, rgba(38,33,28,0) 62%); }
.card-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 4vw, 56px); opacity: var(--p, 1); transform: translate3d(0, calc((1 - var(--p, 1)) * 40px), 0); }
.card-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4.2vw, 68px); line-height: 1; letter-spacing: -.01em; }
.card-text { margin: 14px 0 0; max-width: 440px; font-size: 15px; line-height: 1.7; color: var(--on-dark-2); }
.hs-on .facts { padding: 0; }
.hs-on .hs-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: 0; display: flex; align-items: center; }
.hs-on .hs-track { flex-direction: row; align-items: center; gap: 4vw; padding: 0 var(--pad); width: max-content; will-change: transform; }
.hs-on .hs-intro { flex: none; width: min(52vw, 860px); padding: 0; }
.hs-on .card { flex: none; width: min(66vw, 1080px); height: min(72vh, 760px); aspect-ratio: auto; }
.hs-on .card:last-child { margin-right: calc(var(--pad) + 8vw); }

/* Profil */
.section { padding: clamp(80px, 13vw, 190px) var(--pad); }
.profil { background: var(--cream); }
.profil .section-heading { max-width: 12em; color: var(--on-light); }
.lead { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.8vw, 44px); line-height: 1.22; letter-spacing: -.005em; max-width: 21em; margin: clamp(48px, 8vw, 120px) 0 0 auto; color: var(--on-light); }
.profil-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 96px); margin-top: clamp(40px, 7vw, 110px); padding-top: 28px; border-top: 1px solid rgba(111, 101, 88, .28); max-width: 1100px; }
.motion [data-scrub] .sw { color: rgba(58, 51, 44, .16); transition: color .35s ease; }
.motion [data-scrub] .sw.on { color: var(--on-light); }
.studio [data-scrub] .sw { color: rgba(232, 223, 210, .16); }
.studio.motion [data-scrub] .sw.on, .motion .studio [data-scrub] .sw.on { color: var(--on-dark); }

/* Studio */
.studio { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.studio::before { content: ""; position: absolute; left: 50%; top: 0; width: 80vmax; height: 80vmax; margin-left: -40vmax; background: radial-gradient(circle, rgba(179,162,148,.12), rgba(179,162,148,0) 60%); pointer-events: none; transform: translateY(-50%); }
.studio > * { position: relative; }
.studio .section-heading { max-width: 11em; }
.studio .lead { color: var(--on-dark); }
.rows { margin-top: clamp(56px, 9vw, 130px); border-top: 1px solid var(--hairline); }
.row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(24px, 6vw, 120px); align-items: end; padding: clamp(32px, 5vw, 72px) 0; border-bottom: 1px solid var(--hairline); transition: padding .7s var(--ease), background .5s ease; }
.row .card-title { transition: transform .7s var(--ease), color .4s; }
.row .card-text { margin: 0; max-width: 400px; }
.row:hover { padding-left: clamp(12px, 2vw, 32px); background: linear-gradient(90deg, rgba(179,162,148,.08), rgba(179,162,148,0)); }
.row:hover .card-title { color: var(--glow); font-style: italic; }

/* Footer */
.footer { background: var(--dark); color: var(--link-dark); padding: clamp(60px, 9vw, 130px) var(--pad) 44px; display: grid; grid-template-columns: 1fr auto auto; gap: 48px clamp(32px, 7vw, 120px); align-items: start; border-top: 1px solid var(--hairline); }
.footer p { margin: 0 0 8px; font-size: 13px; }
.footer a { color: var(--link-dark); transition: color .2s; }
.footer a:hover, .footer a:focus-visible { color: var(--on-dark); }
.footer-mark { width: clamp(120px, 16vw, 230px); margin-bottom: clamp(24px, 4vw, 48px); }
.footer-mail { margin-bottom: 28px !important; }
.footer-mail a { display: inline-block; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3.6vw, 60px); line-height: 1.05; letter-spacing: -.01em; color: var(--on-dark); border-bottom: 1px solid var(--taupe); padding-bottom: .06em; word-break: break-word; transition: color .3s, border-color .3s, transform .5s var(--ease); }
.footer-mail a:hover { color: var(--glow); }
.brand-note { color: var(--on-dark-2); max-width: 380px; line-height: 1.6; }
.footer .brand-link { color: var(--on-dark); background: linear-gradient(var(--glow), var(--glow)) 0 100% / 100% 1px no-repeat; background-color: transparent; opacity: .92; padding-bottom: 2px; white-space: nowrap; transition: color .25s, opacity .25s, background-size .5s var(--ease); }
.footer .brand-link::after { content: "\2197"; display: inline-block; margin-left: .3em; font-size: .9em; color: var(--glow); transition: transform .4s var(--ease), color .25s; }
.footer .brand-link:hover, .footer .brand-link:focus-visible { color: var(--glow); opacity: 1; }
.footer .brand-link:hover::after, .footer .brand-link:focus-visible::after { transform: translate(3px, -3px); }
.footer .brand-link:focus-visible { outline: 1px solid var(--glow); outline-offset: 4px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .footer .brand-link, .footer .brand-link::after { transition: none; } }
/* R2FV-Link: Linie zieht sich auf + Schimmer (einmal bei is-in, dann alle 7 s); ohne Bewegungswunsch nur statischer Stand */
@media (prefers-reduced-motion: no-preference) {
  .motion .footer .brand-link { position: relative; -webkit-text-fill-color: transparent;
    background-image: linear-gradient(105deg, transparent 40%, rgba(255,250,240,.95) 50%, transparent 60%), linear-gradient(currentColor, currentColor), linear-gradient(var(--glow), var(--glow));
    background-size: 260% 100%, 100% 100%, 100% 1px; background-position: 130% 0, 0 0, 0 100%; background-repeat: no-repeat;
    -webkit-background-clip: text, text, border-box; background-clip: text, text, border-box; }
  .motion .footer .brand-link::after { -webkit-text-fill-color: var(--glow); }
  .motion .footer .brand-link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--glow), #fff6e6); box-shadow: 0 0 8px rgba(255,240,215,.55); transform: scaleX(0); transform-origin: left center; opacity: 0; pointer-events: none; }
  .motion .footer .is-in .brand-link { animation: r2shimmer 7s ease-in-out 0.6s infinite; }
  .motion .footer .is-in .brand-link::before { animation: r2line 7s ease-in-out 0.6s infinite; }
}
@keyframes r2line { 0% { transform: scaleX(0); opacity: 1; } 13% { transform: scaleX(1); opacity: 1; } 22% { transform: scaleX(1); opacity: 1; } 32%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes r2shimmer { 0% { background-position: 130% 0, 0 0, 0 100%; } 14% { background-position: -30% 0, 0 0, 0 100%; } 100% { background-position: -30% 0, 0 0, 0 100%; } }
.brand-link { color: var(--taupe) !important; }
.footer-tagline { font-size: 11px !important; letter-spacing: .3em; color: var(--taupe); }
.footer-legal-title { font-size: 11px !important; letter-spacing: .28em; color: var(--taupe); font-weight: 600; text-transform: uppercase; margin-bottom: 12px !important; }
.footer-legal { display: flex; flex-direction: column; gap: 8px; font-size: 13px; align-items: flex-start; }
.footer-legal a { cursor: pointer; }

/* Reveal-Hilfen */
.motion .reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.motion .reveal-up.is-in { opacity: 1; transform: none; }
.motion .footer .mark-draw path { stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 2.4s cubic-bezier(.65,0,.25,1), fill-opacity 1.6s ease 1.6s; }
.motion .footer .is-in .mark-draw path { stroke-dashoffset: 0; fill-opacity: .1; }

/* Legal-Overlay */
.legal-overlay { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 32px 24px; }
.legal-overlay.is-open { display: flex; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(20, 17, 14, .72); backdrop-filter: blur(3px); border: 0; padding: 0; cursor: pointer; }
.legal-card { position: relative; background: var(--dark); color: var(--on-dark); border: 1px solid var(--hairline); border-radius: 16px; width: min(760px, 100%); max-height: min(82vh, 900px); overflow-y: auto; padding: 44px 48px 48px; box-shadow: 0 30px 80px rgba(20, 17, 14, .55); animation: legal-in .22s ease-out; }
.legal-card:focus { outline: none; }
@keyframes legal-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.legal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--dark); color: var(--link-dark); font-size: 18px; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.legal-close:hover, .legal-close:focus-visible { background: var(--taupe); color: var(--dark); }
.legal-card .legal { padding: 0; max-width: none; }
.legal-card .legal p, .legal-card .legal li { color: var(--on-dark-2); font-size: 14px; line-height: 1.75; }
.legal-card .legal h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.15; color: var(--on-dark); margin: 0 0 22px; }
.legal-card .legal h2 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--on-dark); margin: 30px 0 8px; }
.legal-card .legal a { color: var(--taupe); text-decoration: underline; text-underline-offset: 2px; }
.legal-card .legal strong { color: var(--on-dark); }
.legal-card .legal .muted { color: var(--muted-dark); font-size: 12.5px; }
.legal-card .legal .back-link { display: none; }
.legal-loading { color: var(--muted-dark); font-size: 13px; margin: 0; }
body.legal-open { overflow: hidden; }

/* Burger-Menue ab 1100px (acht Menuepunkte) */
@media (max-width: 1100px) {
  .topbar { padding: 16px 22px; }
  .brand img { height: 30px; }
  .topbar-right { gap: 16px; }
  .nav-login { padding: 7px 12px; font-size: 10px; letter-spacing: .04em; }
  .nav-ig svg { width: 33px; height: 33px; } /* = Hoehe .nav-login (2*7 + 2 + 17) */
  .nav-toggle { display: flex; }
  .nav { display: none; position: fixed; inset: 0; z-index: 70; background: var(--dark); flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 2vh, 20px); font-family: var(--serif); font-size: clamp(28px, 4.6vh, 40px); letter-spacing: 0; overflow-y: auto; padding: 70px 0 30px; }
  .nav.is-open { display: flex; }
  .nav-close { display: block; position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--link-dark); font-size: 34px; line-height: 1; cursor: pointer; }
}
/* Schmale Handys: Logo behaelt seine Breite (sonst von Flex auf ~28px gequetscht); Platz kommt aus Abstaenden, nicht aus Elementen */
@media (max-width: 480px) {
  .topbar { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .topbar-right { gap: 10px; }
  .brand { flex-shrink: 0; }
}
/* Sehr schmale Handys (unter 372px passt der volle Text nicht mehr): Button zeigt nur LOGIN */
@media (max-width: 371px) {
  .nav-login-long { display: none; }
}
/* Mobil */
@media (max-width: 860px) {
  .hero { padding-top: 110px; }
  .hero-mark { right: -2vw; top: 36%; width: 104vw; }
  .wordband { gap: 18px; padding: 16px var(--pad); font-size: 11px; letter-spacing: .4em; }
  .wb-word { margin-right: -.4em; }
  .wb-dot { margin-right: -.4em; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-text { font-size: 15px; }
  .button { padding: 15px 34px; }
  .profil-cols { grid-template-columns: 1fr; gap: 20px; }
  .lead { margin-left: 0; }
  .row { grid-template-columns: 1fr; align-items: start; }
  .footer { grid-template-columns: 1fr; }
  .legal-card { padding: 40px 24px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wb-l, .wb-dot, .wordband::before, .wordband::after { transform: none !important; opacity: 1 !important; filter: none !important; transition: none !important; }
  .wb-word > span::after { display: none !important; }
}
/* Unterseiten */
.subpage { background: var(--dark); color: var(--on-dark); min-height: 100vh; }
.sub-main { padding: clamp(140px, 18vw, 230px) var(--pad) clamp(70px, 10vw, 140px); max-width: 1100px; }
.sub-main h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 6vw, 96px); line-height: 1; letter-spacing: -.015em; margin: 18px 0 0; text-wrap: balance; }
.sub-main h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 40px); margin: 0 0 10px; color: var(--on-dark); }
.sub-sec { margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(20px, 3vw, 32px); border-top: 1px solid var(--hairline); }
.sub-main p { color: var(--on-dark-2); font-size: 16px; line-height: 1.8; margin: 0; }
.todo { color: var(--glow) !important; font-style: italic; }
.sub-main a.mailto { color: var(--on-dark); border-bottom: 1px solid var(--taupe); }
.nav a.is-active { color: var(--on-dark); }
