/* ============================================================
   Pflegepuls GmbH — Design System

   Aufbau
   01  Tokens        07  Navigation
   02  Grundlagen    08  Bausteine
   03  Typografie    09  Formular
   04  Layout        10  Footer
   05  Bezel         11  Bewegung
   06  Buttons
   ============================================================ */

/* ── 00  Schriften (selbst gehostet) ──────────────────────
   Heruntergeladen von Google Fonts, lizenziert unter der
   SIL Open Font License. Liegen unter assets/fonts/ und
   werden vom eigenen Server ausgeliefert — es geht keine
   Besucher-IP an Google.

   Beide sind Variable Fonts: eine Datei deckt den ganzen
   Gewichtsbereich ab, deshalb nur je zwei Dateien
   (latin und latin-ext).
   ------------------------------------------------------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('../assets/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('../assets/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── 01  Tokens ───────────────────────────────────────────── */

:root {
  /* Warme Neutralleiter — eine einzige Familie, sandfarben getönt. */
  --bg:            #F5EFE4;
  --bg-sunk:       #EDE4D4;
  --bg-warm:       #F9F5EE;
  --surface:       #FFFDF9;
  --surface-2:     #FBF7F0;

  --ink:           #1B1611;
  --ink-80:        #3B342C;
  --ink-60:        #635A4E;
  --ink-40:        #8E8375;
  --ink-20:        #C3B7A4;

  --line:          #E1D6C2;
  --line-soft:     rgba(27, 22, 17, 0.08);

  /* Tiefe Markenfläche — kehrt systematisch wieder, nie als Einzelfall. */
  --deep:          #0A2029;
  --deep-2:        #0F313E;

  /* Genau ein Akzent: das Logo-Blau, leicht entsättigt. */
  --accent:        #0E7FAE;
  --accent-hi:     #2FB0E0;
  --accent-deep:   #0A5F84;
  --accent-wash:   #DEEDF4;
  --accent-ink:    #063950;

  /* Schatten tragen den Sandton, nie reines Schwarz. */
  --shadow-sm:  0 1px 2px rgba(60, 44, 26, 0.05),
                0 2px 8px rgba(60, 44, 26, 0.04);
  --shadow-md:  0 2px 4px rgba(60, 44, 26, 0.05),
                0 14px 32px -10px rgba(60, 44, 26, 0.14);
  --shadow-lg:  0 4px 12px rgba(60, 44, 26, 0.06),
                0 40px 70px -28px rgba(60, 44, 26, 0.26);
  --shadow-accent: 0 12px 32px -12px rgba(14, 127, 174, 0.6);
  --inner-hi:   inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --inner-hi-d: inset 0 1px 0 rgba(255, 255, 255, 0.10);

  --sans: 'Manrope', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Manrope', ui-sans-serif, system-ui, sans-serif;

  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 6rem;     --s-10: 8rem;

  --r-xs: 8px;  --r-sm: 12px; --r-md: 18px;
  --r-lg: 26px; --r-xl: 34px; --r-pill: 999px;
  /* Torbogen — der Bogen aus dem Logo, auf Bildkanten übertragen. */
  --r-arch: 999px 999px var(--r-lg) var(--r-lg);

  --ease:      cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --z-base: 1;
  --z-sticky: 40;
  --z-nav: 60;
  --z-overlay: 80;
  --z-grain: 90;

  --container: 1240px;
  --nav-h: 92px;
}

/* ── 02  Grundlagen ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink-80);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -140%);
  z-index: var(--z-overlay);
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.35s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 03  Typografie ───────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  font-variation-settings: 'wdth' 100, 'opsz' 48;
}

.display {
  font-size: clamp(3rem, 1.5rem + 6.4vw, 7.5rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.05em;
  font-variation-settings: 'wdth' 96, 'opsz' 96;
}

.h1 { font-size: clamp(2.4rem, 1.45rem + 4vw, 4.75rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; font-variation-settings: 'wdth' 98, 'opsz' 72; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.6rem); line-height: 1.07; letter-spacing: -0.04em; }
.h3 { font-size: clamp(1.4rem, 1.15rem + 1.05vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; }
.h4 { font-size: clamp(1.12rem, 1.03rem + 0.45vw, 1.35rem); line-height: 1.22; letter-spacing: -0.022em; }

/* Der Akzent: kein Farbwechsel allein, sondern der Logo-Bogen unter dem Wort.
   Er wird beim Auftritt von links nach rechts gezogen. */
.accentuate {
  color: var(--accent);
  padding-bottom: 0.02em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C46 3.6 152 2.4 197 8.2' stroke='%230E7FAE' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.22em;
}
.accentuate--light {
  color: var(--accent-hi);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C46 3.6 152 2.4 197 8.2' stroke='%232FB0E0' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
[data-reveal] .accentuate {
  background-size: 0% 0.22em;
  transition: background-size 1s var(--ease-out) 0.35s;
}
[data-reveal].is-in .accentuate { background-size: 100% 0.22em; }

.lede {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 62ch;
  text-wrap: pretty;
}

p { max-width: 68ch; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: var(--s-5);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 3px;
  flex: none;
  border-radius: 3px;
  background: var(--accent);
}
.eyebrow--tag {
  padding: 0.42rem 0.9rem 0.42rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px rgba(14, 127, 174, 0.16);
}
.eyebrow--tag::before { width: 7px; height: 7px; border-radius: 50%; }
.eyebrow--onDeep { color: rgba(255, 255, 255, 0.55); }
.eyebrow--onDeep::before { background: var(--accent-hi); }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

.marker {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink-20);
  font-variant-numeric: tabular-nums;
}

/* ── 04  Layout ───────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--wide { max-width: 1480px; }
.container--narrow { max-width: 880px; }

.bleed { margin-inline: calc(50% - 50vw); width: 100vw; }

section { padding-block: clamp(4.5rem, 3rem + 7vw, 9rem) clamp(5rem, 3.4rem + 7.6vw, 10rem); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem) clamp(3.5rem, 2.6rem + 3.4vw, 5.5rem); }

.warm { background: var(--bg-warm); }
.sunk { background: var(--bg-sunk); }

.deep {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
}
.deep h1, .deep h2, .deep h3, .deep h4 { color: #fff; }
.deep .lede { color: rgba(255, 255, 255, 0.62); }
.deep .marker { color: rgba(255, 255, 255, 0.24); }
.deep a { color: var(--accent-hi); }

.deep--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 78% at 10% 0%, rgba(47, 176, 224, 0.22), transparent 62%),
    radial-gradient(46% 62% at 94% 100%, rgba(14, 127, 174, 0.20), transparent 60%);
}
.deep--glow > * { position: relative; z-index: var(--z-base); }

/* Warmes Streulicht auf hellen Flächen — bricht die tote Fläche auf. */
.aura { position: relative; overflow: hidden; }
.aura::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  pointer-events: none;
  background:
    radial-gradient(48% 60% at 18% 30%, rgba(14, 127, 174, 0.10), transparent 70%),
    radial-gradient(42% 55% at 86% 12%, rgba(212, 160, 96, 0.16), transparent 70%);
}
.aura > * { position: relative; z-index: var(--z-base); }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

.sechead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
}
.sechead__aside { padding-bottom: 0.4rem; }
@media (max-width: 860px) {
  .sechead { grid-template-columns: 1fr; align-items: start; gap: var(--s-5); }
}

.rule { height: 1px; background: var(--line); border: 0; }
.deep .rule { background: rgba(255, 255, 255, 0.12); }

/* Zweispalter — fällt unter 900px immer auf eine Spalte. */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr !important; }
  .split > [style*="order"] { order: 0 !important; }
}

/* ── 05  Bezel ────────────────────────────────────────────── */

.bezel {
  position: relative;
  background: rgba(27, 22, 17, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 7px;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease),
              background 0.7s var(--ease);
}
.bezel__core {
  position: relative;
  background: var(--surface);
  border-radius: calc(var(--r-xl) - 7px);
  box-shadow: var(--inner-hi), var(--shadow-sm);
  height: 100%;
  overflow: hidden;
}
/* Bilder ohne eigenen Kern erben die Rundung der Schale. */
.bezel > .figure { border-radius: calc(var(--r-xl) - 7px); }

.bezel--deep { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.11); }
.bezel--deep .bezel__core {
  background: var(--deep-2);
  box-shadow: var(--inner-hi-d), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}
.bezel--flush { padding: 6px; border-radius: var(--r-lg); }
.bezel--flush .bezel__core { border-radius: calc(var(--r-lg) - 6px); }

/* Torbogen — Bilder bekommen die Rundung aus dem Logo. */
.bezel--arch { border-radius: var(--r-arch); }
.bezel--arch .bezel__core { border-radius: 999px 999px calc(var(--r-lg) - 7px) calc(var(--r-lg) - 7px); }

a.bezel:hover, .bezel--lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: rgba(14, 127, 174, 0.08);
}

/* Lichtkegel unter dem Cursor — Position kommt aus dem Skript. */
[data-spot] .bezel__core::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
              rgba(14, 127, 174, 0.10), transparent 68%);
  transition: opacity 0.5s var(--ease);
}
[data-spot]:hover .bezel__core::after { opacity: 1; }

/* ── 06  Buttons ──────────────────────────────────────────── */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-inset: rgba(255, 255, 255, 0.14);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.75rem 0.75rem 1.6rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
              background 0.5s var(--ease), color 0.5s var(--ease);
}
.btn__isle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--btn-inset);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.btn__isle svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:hover .btn__isle { transform: translate(3px, -1px) scale(1.07); }
.btn:active { transform: translateY(0) scale(0.985); box-shadow: var(--shadow-sm); }

.btn--accent {
  --btn-bg: var(--accent);
  --btn-inset: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-accent);
}
.btn--accent:hover { --btn-bg: var(--accent-deep); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-inset: rgba(27, 22, 17, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { --btn-bg: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-20), var(--shadow-md); }

.btn--onDeep {
  --btn-bg: #FFFDF9;
  --btn-fg: var(--deep);
  --btn-inset: rgba(10, 32, 41, 0.09);
}
.btn--outlineDeep {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-inset: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}
.btn--outlineDeep:hover { --btn-bg: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }

.btn--lg { padding: 0.95rem 0.95rem 0.95rem 1.9rem; font-size: 1rem; }
.btn--lg .btn__isle { width: 40px; height: 40px; }
.btn--block { width: 100%; justify-content: space-between; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.55s var(--ease), color 0.35s var(--ease), gap 0.45s var(--ease);
}
.tlink:hover { background-size: 100% 2px; color: var(--accent); gap: 0.8rem; }
.tlink svg { width: 14px; height: 14px; }
.deep .tlink { color: #fff; background-image: linear-gradient(var(--accent-hi), var(--accent-hi)); }
.deep .tlink:hover { color: var(--accent-hi); }

.calllink {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.1rem);
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease);
}
.deep .calllink { color: #fff; }
.calllink:hover { color: var(--accent); }
.deep .calllink:hover { color: var(--accent-hi); }

/* ── 07  Navigation ───────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding-top: 22px;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  transition: padding-top 0.6s var(--ease);
}
.nav.is-stuck { padding-top: 10px; }

.nav__bar {
  max-width: calc(var(--container) - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 9px 9px 9px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 249, 0.74);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
              0 0 0 1px rgba(27, 22, 17, 0.06),
              0 18px 44px -24px rgba(60, 44, 26, 0.5);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav.is-stuck .nav__bar {
  background: rgba(255, 253, 249, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
              0 0 0 1px rgba(27, 22, 17, 0.08),
              0 22px 50px -26px rgba(60, 44, 26, 0.6);
}

.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 42px; width: auto; transition: height 0.6s var(--ease); }
.nav.is-stuck .nav__logo img { height: 36px; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-60);
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(27, 22, 17, 0.05); }
.nav__link[aria-current='page'] { color: var(--ink); }
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--accent);
}

.nav__cta { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__phone:hover { background: rgba(27, 22, 17, 0.05); color: var(--accent); }
.nav__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 127, 174, 0.5); }
  60%      { box-shadow: 0 0 0 10px rgba(14, 127, 174, 0); }
}

/* Morphender Hamburger: zwei Linien werden zum X, nicht ausgeblendet. */
.nav__burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
}
.nav__burger:active { transform: scale(0.94); }
.nav__burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 17px; height: 1.8px;
  margin-left: -8.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { transform: translateY(-4px); }
.nav__burger span:nth-child(2) { transform: translateY(3px); width: 11px; }
.nav__burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:nth-child(2) { transform: translateY(0) rotate(-45deg); width: 17px; }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) clamp(1.5rem, 6vw, 4rem) 3rem;
  background: rgba(10, 32, 41, 0.93);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.55rem 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.2rem + 5.4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), color 0.4s var(--ease);
}
.menu__link:hover { color: var(--accent-hi); }
.menu__link span {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
}
.menu.is-open .menu__link { opacity: 1; transform: translateY(0); }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.10s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.16s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.22s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.28s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.34s; }
.menu__foot {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 0.4s, transform 0.7s var(--ease) 0.4s;
}
.menu.is-open .menu__foot { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 620px) {
  .nav__bar { padding: 7px 7px 7px 14px; }
  .nav__logo img { height: 34px; }
  .nav.is-stuck .nav__logo img { height: 30px; }
  .nav__cta .btn { padding: 0.6rem 0.6rem 0.6rem 1.1rem; font-size: 0.85rem; gap: 0.6rem; }
  .nav__cta .btn__isle { width: 28px; height: 28px; }
  .nav__burger { width: 40px; height: 40px; }
}

body.is-locked { overflow: hidden; }

/* ── 08  Bausteine ────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 3rem) clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}
/* Zwei Bögen aus dem Logo, riesig, ganz hinten. */
.hero__arcs {
  position: absolute;
  top: -14%; right: -18%;
  width: min(1150px, 105vw);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}
/* Zweites, kleineres Bild — bricht bewusst aus dem Raster. */
.hero__inset {
  position: absolute;
  left: clamp(-6rem, -7vw, -3.5rem);
  bottom: clamp(0.5rem, 2vw, 1.5rem);
  width: clamp(160px, 20vw, 236px);
  z-index: 2;
  transform: rotate(-3.5deg);
  transition: transform 0.9s var(--ease);
}
.hero__inset:hover { transform: rotate(-1deg) translateY(-6px); }
.hero__inset img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 66% 42%;
  width: 100%;
}
.hero__badge {
  position: absolute;
  right: clamp(-1.5rem, -2vw, -0.5rem);
  top: clamp(2rem, 6vw, 4rem);
  z-index: 2;
  max-width: 232px;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.hero__scroll svg { width: 13px; height: 13px; animation: nudge 2.4s var(--ease-soft) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(5px); opacity: 1; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding-block: calc(var(--nav-h) + 1.5rem) 3.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media img { aspect-ratio: 4 / 3.6; }
  .hero__inset { display: none; }
  .hero__badge { right: 0.75rem; top: auto; bottom: 1rem; max-width: 200px; }
  .hero__arcs { opacity: 0.35; top: -6%; right: -60%; width: 160vw; }
}

/* Laufband — die Leistungen ziehen ruhig durchs Bild. */
.ticker {
  position: relative;
  overflow: hidden;
  padding-block: clamp(0.9rem, 2vw, 1.35rem);
  background: var(--deep);
  color: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker__row {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-right: clamp(1.5rem, 3vw, 2.75rem);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.6rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.ticker__item::after {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-hi);
  flex: none;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust__cell {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.6rem) clamp(1rem, 2vw, 1.75rem);
  transition: background 0.6s var(--ease);
}
.trust__cell:hover { background: var(--bg-warm); }
.trust__val {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.9rem);
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1;
}
.trust__lab {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-40);
  margin-top: 0.6rem;
  display: block;
}
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
}
.bento > * { grid-column: span 12; }
@media (min-width: 900px) {
  .bento__a { grid-column: span 7; grid-row: span 2; }
  .bento__b { grid-column: span 5; }
  .bento__c { grid-column: span 5; }
  .bento__d { grid-column: span 4; }
  .bento__e { grid-column: span 8; }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
}
.card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.card__idx {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-20);
  font-variant-numeric: tabular-nums;
  padding-top: 0.45rem;
}
.card__law {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-wash);
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-xs);
  white-space: nowrap;
}
.card__body { color: var(--ink-60); margin-top: var(--s-3); }
.card__foot { margin-top: auto; padding-top: var(--s-6); }
.card__media {
  margin: calc(-1 * clamp(1.5rem, 2.4vw, 2.1rem)) calc(-1 * clamp(1.5rem, 2.4vw, 2.1rem)) clamp(1.5rem, 2.4vw, 2.1rem);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.bezel:hover .card__media img { transform: scale(1.06); }

.checks { list-style: none; display: grid; gap: 0.7rem; }
/* Kein Grid im li: <strong> würde sonst zu einem eigenen Grid-Item. */
.checks li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-60);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.28rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-wash);
  box-shadow: inset 0 0 0 1px rgba(14, 127, 174, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230E7FAE' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.deep .checks li { color: rgba(255, 255, 255, 0.66); }
.deep .checks li::before {
  background-color: rgba(47, 176, 224, 0.15);
  box-shadow: inset 0 0 0 1px rgba(47, 176, 224, 0.34);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232FB0E0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E");
}

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: clamp(3rem, 7vw, 6rem) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
  padding-inline: clamp(0.5rem, 1.5vw, 1.25rem);
  border-top: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: background 0.6s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { background: var(--bg-warm); }
.step__n {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  color: var(--ink-20);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.6s var(--ease);
}
.step:hover .step__n { color: var(--accent); }
@media (max-width: 780px) {
  .step { grid-template-columns: 2.5rem 1fr; }
  .step__body { grid-column: 2; }
}

.qa { display: grid; gap: 0; }
.qa__item {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(1.6rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.qa__item:last-child { border-bottom: 1px solid var(--line); }
.deep .qa__item { border-color: rgba(255, 255, 255, 0.13); }
.qa__q {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 0.75vw, 1.55rem);
  letter-spacing: -0.032em;
  line-height: 1.14;
  color: var(--ink);
}
.deep .qa__q { color: #fff; }
.qa__a { color: var(--ink-60); }
.deep .qa__a { color: rgba(255, 255, 255, 0.62); }
@media (max-width: 820px) { .qa__item { grid-template-columns: 1fr; gap: 0.85rem; } }

.quote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ink);
  max-width: 22ch;
}
.deep .quote { color: #fff; }

/* Wortweiser Auftritt für große Zitate. */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.is-in .word { opacity: 1; transform: none; }

.figure { position: relative; overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tint::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(10, 32, 41, 0) 32%, rgba(10, 32, 41, 0.8) 100%);
}
.figure__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-base);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  color: #fff;
}

/* Randloses Bildband mit langsamem Zoom. */
.band { position: relative; overflow: hidden; }
.band img {
  width: 100%;
  height: clamp(340px, 52vw, 640px);
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease);
}
.band.is-in img { transform: scale(1); }
.band__over {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(10, 32, 41, 0.1) 30%, rgba(10, 32, 41, 0.82) 100%);
}
.band__over > div { padding: clamp(1.5rem, 4vw, 4rem); color: #fff; width: 100%; }

.pagehead { padding-block: calc(var(--nav-h) + clamp(3rem, 6vw, 5.5rem)) clamp(3rem, 5vw, 5rem); }

.channels { display: grid; gap: 1px; background: rgba(255, 255, 255, 0.13); }
.channel {
  background: var(--deep);
  padding: clamp(1.1rem, 2.4vw, 1.6rem) 0;
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--s-4);
  align-items: baseline;
}
.channel__k {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.channel__v { color: #fff; font-size: 1.05rem; font-weight: 700; }
a.channel__v:hover { color: var(--accent-hi); }
@media (max-width: 560px) { .channel { grid-template-columns: 1fr; gap: 0.3rem; } }

/* Rechtstexte — Lesefluss vor Gestaltung. */
.legal > * + * { margin-top: var(--s-4); }
.legal h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: var(--s-6); }
.legal h3 { font-size: 1.1rem; margin-top: var(--s-6); }
.legal p, .legal li { max-width: 68ch; }
.legal ul, .legal ol { padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.legal address { font-style: normal; }
.legal dl { display: grid; grid-template-columns: 12rem 1fr; gap: 0.6rem var(--s-4); }
.legal dt { font-weight: 800; color: var(--ink); font-size: 0.9rem; }
@media (max-width: 620px) { .legal dl { grid-template-columns: 1fr; gap: 0.2rem var(--s-4); } }

/* Auszufüllende Stelle — im Entwurf sichtbar, nie stillschweigend leer. */
.todo {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: var(--r-xs);
  background: #FBEFC9;
  box-shadow: inset 0 0 0 1px #DFC079;
  color: #6B5312;
  font-size: 0.9em;
  font-weight: 700;
}
.notice {
  border-left: 3px solid var(--accent);
  background: var(--accent-wash);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--accent-ink);
}
.notice p { max-width: none; }

/* ── 09  Formular ─────────────────────────────────────────── */

.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.45rem; }
.field__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink-60);
}
.field__req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.96rem;
  box-shadow: var(--inner-hi);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23635A4E' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M5.5 8l4.5 4.5L14.5 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-20); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--inner-hi), 0 0 0 3px rgba(14, 127, 174, 0.16);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea {
  border-color: #B8443A;
  box-shadow: 0 0 0 3px rgba(184, 68, 58, 0.13);
}
.field__err {
  font-size: 0.8rem;
  font-weight: 700;
  color: #9C382F;
  display: none;
}
.field.is-invalid .field__err { display: block; }

.form__note { font-size: 0.82rem; color: var(--ink-40); max-width: 52ch; }

/* Danke-Zustand — ersetzt das Formular, kein Alert, kein Ausrufezeichen. */
.form__done { display: none; padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.form__done.is-shown { display: block; }
.form.is-hidden { display: none; }

/* ── 10  Footer ───────────────────────────────────────────── */

.footer { background: var(--deep); color: rgba(255, 255, 255, 0.6); position: relative; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem);
}
.footer__logo {
  background: #fff;
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  display: inline-block;
  margin-bottom: var(--s-5);
}
.footer__logo img { height: 44px; width: auto; }
.footer__h {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: var(--s-4);
}
.footer__list { list-style: none; display: grid; gap: 0.6rem; }
.footer__list a, .footer__list span { color: rgba(255, 255, 255, 0.68); font-size: 0.94rem; }
.footer__list a { transition: color 0.35s var(--ease); }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-block: var(--s-5) var(--s-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  font-size: 0.85rem;
}
.footer__bottom nav { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer__bottom a { color: rgba(255, 255, 255, 0.6); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ── 11  Bewegung ─────────────────────────────────────────── */

/* Nichts erscheint statisch: schwerer Auftritt aus Unschärfe und Versatz. */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(7px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out), filter 0.95s var(--ease-out);
  will-change: transform, opacity;
}
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); will-change: auto; }
[data-reveal-delay='1'] { transition-delay: 0.08s; }
[data-reveal-delay='2'] { transition-delay: 0.16s; }
[data-reveal-delay='3'] { transition-delay: 0.24s; }
[data-reveal-delay='4'] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  [data-reveal] .accentuate { background-size: 100% 0.22em; }
  .word { opacity: 1; transform: none; }
  .band img { transform: none; }
  .ticker__row { animation: none; }
}

@media print {
  .nav, .menu, .grain, .hero__scroll, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── 12  Hilfsklassen ─────────────────────────────────────
   Ersetzen die früheren style=""-Attribute im HTML. Ohne sie
   bräuchte eine Content-Security-Policy 'unsafe-inline' für
   Styles — Attribute lassen sich weder über Nonces noch über
   Hashes erlauben. Deshalb steht hier alles als Klasse.
   ------------------------------------------------------- */

/* Abstände */
.mt-sm    { margin-top: 1.25rem; }
.mt-md    { margin-top: 1.5rem; }
.mt-lg    { margin-top: 1.75rem; }
.mt-xl    { margin-top: 2.5rem; }
.mt-2xl   { margin-top: 3.5rem; }
.mt-block { margin-top: var(--s-8); }
.mb-xs    { margin-bottom: 0.4rem; }
.mb-sm    { margin-bottom: 0.5rem; }
.mb-md    { margin-bottom: 1rem; }
.mb-lg    { margin-bottom: 1.75rem; }
.mb-xl    { margin-bottom: 2rem; }
.pt-0     { padding-top: 0; }
.bt-0     { border-top: 0; }

/* Innenmaße für Gehäuse */
.pad-lg { padding: clamp(1.5rem, 4vw, 3rem); }
.pad-md { padding: clamp(1.5rem, 4vw, 2.5rem); }
.pad-sm { padding: clamp(1.25rem, 3vw, 2rem); }

/* Text */
.text-sm     { font-size: 0.85rem; }
.text-body   { color: var(--ink-60); }
.measure-14  { max-width: 14ch; }
.ratio-5-6   { aspect-ratio: 5 / 6; }

/* Zeilen aus Knöpfen und Angaben */
.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.callrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  justify-content: space-between;
}
.submitrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

/* Zweispalter-Varianten — die Mobil-Umschaltung steckt in Abschnitt 04 */
.split--even {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.split--wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--form {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

/* Einzelteile */
.screen { min-height: 100dvh; display: flex; align-items: center; }
.dot-live {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-hi);
  display: inline-block;
}
.badge-title,
.figure-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}
.badge-title  { line-height: 1.1; color: var(--ink); }
.figure-title { line-height: 1.15; }
.menu__hours { color: rgba(255, 255, 255, 0.45); font-size: 0.9rem; }
.footer__blurb { color: rgba(255, 255, 255, 0.66); max-width: 36ch; }
.quote--onImage { color: #fff; max-width: 20ch; }

/* Honigtopf gegen Bots — sichtbar nur für Maschinen */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Fehlermeldung vom Server */
.form__fail {
  margin-top: var(--s-4);
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-sm);
  background: #FBE9E6;
  box-shadow: inset 0 0 0 1px #E3A79F;
  color: #8C2F26;
  font-weight: 600;
  font-size: 0.9rem;
  max-width: none;
}
.form__fail[hidden] { display: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
