/* =========================================================================
   Juvara — Design System
   Modern legal-tech identity: cool ink base, iris→violet brand, mint signal.
   Vanilla CSS, no build step. Light theme.
   ========================================================================= */

:root{
  color-scheme: light;

  /* ---- Kopfzeile ----
     Die Höhe stand bisher an vier Stellen als 74px: in der Leiste selbst, im
     Menü-Überzug und in beiden Kopfbereichen, die sich mit negativem
     Aussenabstand darunterschieben. Wer eine davon ändert, verschiebt den
     Kopf gegen den Rest. Deshalb hier einmal.
     --kopf-luft ist der zusätzliche Raum über der Leiste: die Inhalte
     bleiben in --kopf-innen mittig, nach oben kommt Platz dazu. */
  --kopf-luft: 14px;
  --kopf-innen: 74px;
  --kopf-rand: 1px;   /* die (ungescrollt durchsichtige) Linie unter der Leiste */
  --kopf-h: calc(var(--kopf-innen) + var(--kopf-luft) + var(--kopf-rand));

  /* ---- Palette ---- */
  --bg:        #FFFFFF;
  --bg-alt:    #F5F7FD;   /* soft cool grey section */
  --bg-2:      #EDF1FA;
  --ink:       #0B1020;   /* near-black navy — headings */
  --ink-2:     #3C4559;   /* body text */
  --muted:     #6E7890;   /* secondary text */
  --line:      #E4E9F3;
  --line-2:    #D6DDEC;

  --brand:     #3A45E6;   /* iris / cobalt — primary */
  --brand-2:   #6D5CF0;   /* violet — gradient partner */
  --brand-ink: #2A32C0;   /* darker for text/hover on light */
  --brand-tint:#EEF0FE;   /* pale brand background */
  --mint:      #0FCEA6;   /* signal accent (checks, live dot) */
  --mint-ink:  #069A7C;

  --deep:      #0A0E1E;   /* dark section base */
  --deep-2:    #121A36;
  --on-deep:   #ECEEFA;
  --on-deep-2: #9AA3C6;
  --deep-line: rgba(255,255,255,.12);

  /* ---- Type ---- */
  /* Fließtext und Oberfläche stehen wieder wie zuvor: Inter liest sich auf
     dem Bildschirm in kleinen Graden besser als Open Sans, und mit Space
     Grotesk in Knöpfen und Beschriftungen hängt die Wortmarke wieder am
     Rest der Seite statt für sich zu stehen.
     Neu ist allein --titel: die Antiqua steht ausschliesslich in den
     Überschriften — dieselbe Aufteilung, die Bird & Bird zwischen Publico
     und der Grotesk vornimmt. Newsreader ist dabei der freie Ersatz für
     Publico Headline, das dort gekauft und an deren Domain gebunden ist. */
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --titel:   "Newsreader", Georgia, "Times New Roman", serif;
  /* Die Wortmarke ist eigens gebunden, damit ein Schriftwechsel das Logo
     nie erfasst. */
  --marke:   "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout ---- */
  --maxw:   1200px;
  --wide:   1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --sect:   clamp(64px, 8.5vw, 130px);

  /* ---- Abstandsraster ----
     Ein einziges 8-px-Raster für die ganze Seite. Vorher standen an jeder
     Stelle eigene Werte (13px, 22px, 34px …) — die Seite hatte dadurch keinen
     erkennbaren Rhythmus, was mehr als jede Farbe nach Vorlage aussieht. */
  --s1: 4px;  --s2: 8px;   --s3: 12px;  --s4: 16px;  --s5: 24px;
  --s6: 32px; --s7: 40px;  --s8: 56px;  --s9: 72px;  --s10: 96px;

  /* ---- Radius ---- */
  --r-xs: 8px; --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* ---- Tiefe ----
     Zwei enge Ebenen statt einer großen Unschärfe: eine harte 1-px-Kante für
     die Form, ein weiter, sehr schwacher Schlagschatten für den Abstand.
     Weiche Wolken unter jeder Karte lassen eine Seite billig wirken. */
  --sh-sm: 0 1px 1px rgba(11,16,32,.04), 0 2px 5px rgba(11,16,32,.04);
  --sh:    0 1px 2px rgba(11,16,32,.05), 0 10px 24px -12px rgba(11,16,32,.15);
  --sh-lg: 0 2px 6px rgba(11,16,32,.05), 0 34px 68px -28px rgba(18,24,70,.30);
  --sh-brand: 0 10px 26px -12px rgba(58,69,230,.42);
  --hairline: 1px solid var(--line);

  --grad: linear-gradient(118deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-soft: linear-gradient(118deg, #EEF0FE 0%, #F3EEFE 100%);

  --ease: cubic-bezier(.22,.7,.2,1);
  --ease-spring: cubic-bezier(.34,1.12,.42,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }   /* Sprungmarken steuert juvara.js (Sprungmarken ohne Ruckeln) */
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
body{
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "ss01","cv05","cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible{ outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4{
  font-family: var(--titel);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
/* Ruhigere Skala: die alte Kopfzeile lief bis 78px und drückte alles darunter
   klein — der Sprung von Überschrift zu Fließtext war zu groß, die Seite wirkte
   dadurch dünn statt großzügig. */
h1{ font-size: clamp(38px, 5vw, 62px); letter-spacing: -0.032em; line-height: 1.06; }
h2{ font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.028em; line-height: 1.1; }
h3{ font-size: clamp(20px, 2vw, 25px); letter-spacing: -0.02em; line-height: 1.2; }
h4{ font-size: 17.5px; letter-spacing: -0.012em; line-height: 1.35; }
p{ text-wrap: pretty; }
strong{ color: var(--ink); font-weight: 600; }
.grad-text{
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout helpers ---------- */
.container{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container.wide{ max-width: var(--wide); }
.section{ padding-block: var(--sect); }
.section.tight{ padding-block: clamp(48px, 6vw, 90px); }
.center{ text-align: center; }
.lead{ font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); line-height: 1.6; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before{ content:""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow.on-deep{ color: #B9BEEC; }
.section-head{ max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center{ margin-inline: auto; }
.section-head .eyebrow{ margin-bottom: 20px; }
.section-head p{ margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn svg{ width: 18px; height: 18px; }
.btn-primary{ background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(58,69,230,.6); }
.btn-ghost{ background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: var(--sh-sm); }
.btn-ghost:hover{ border-color: var(--brand); color: var(--brand-ink); transform: translateY(-2px); }
.btn-dark{ background: var(--ink); color: #fff; }
.btn-dark:hover{ transform: translateY(-2px); box-shadow: var(--sh); }
.btn-on-deep{ background: #fff; color: var(--ink); }
.btn-on-deep:hover{ transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
.btn-lg{ padding: 17px 30px; font-size: 17px; }
.btn-block{ width: 100%; }
.arrow-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; color: var(--brand-ink);
  transition: gap .2s var(--ease);
}
.arrow-link svg{ width: 16px; height: 16px; transition: transform .2s var(--ease); }
.arrow-link:hover{ gap: 12px; }

/* ---------- Chips / pills / badges ---------- */
.pill{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink-2); border: 1px solid var(--line-2);
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.pill .dot{ display: none; }

@keyframes pulse{ 0%,100%{ box-shadow: 0 0 0 3px rgba(10,10,11,.10);} 50%{ box-shadow: 0 0 0 7px rgba(10,10,11,0);} }
.pill.on-deep{ background: rgba(255,255,255,.08); color: #D6D9F5; border: 1px solid var(--deep-line); }

/* =========================================================================
   Header / Nav
   ========================================================================= */
.site-header{
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav{
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  /* Volle Höhe inklusive Luft — bei border-box zieht height die Polsterung
     sonst wieder ab, dann rutscht die Marke nur nach unten und der Kopf
     wird kein Stück höher.
     Ohne Polsterung oben: die zusätzliche Luft steckt in der Höhe, und
     align-items:center legt Marke, Schaltfläche und Menü auf dieselbe
     Mitte wie die Leiste. Mit padding-top sass die ganze Gruppe 6,5 px zu
     tief — untereinander bündig, aber eben nicht mittig im Kopf. */
  height: calc(var(--kopf-h) - var(--kopf-rand));
}
.brand{ display: inline-flex; align-items: center; gap: 11px; }
.logo-mark{
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); box-shadow: var(--sh-brand);
  display: grid; place-items: center; flex: none;
}
.logo-mark svg{ width: 21px; height: 21px; }
.brand-name{
  font-family: var(--marke); font-weight: 700; font-size: 22px;
  letter-spacing: -0.03em; color: var(--ink);
}
.nav-links{ display: flex; align-items: center; gap: 6px; }
.nav-links a{
  font-family: var(--display); font-weight: 500; font-size: 15.5px; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--r-pill); transition: color .2s, background .2s;
}
.nav-links a:hover{ color: var(--ink); background: var(--bg-2); }
.nav-cta{ display: flex; align-items: center; gap: 10px; }
.menu-btn{ display: none; }

@media (max-width: 940px){
  .nav-links, .nav-cta .btn-primary{ display: none; }
  .menu-btn{
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border-radius: 12px; border: 1.5px solid var(--line-2);
  }
  .menu-btn span{ position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
  .menu-btn span::before, .menu-btn span::after{ content:""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
  .menu-btn span::before{ top: -6px; } .menu-btn span::after{ top: 6px; }
  body.menu-open .menu-btn span{ background: transparent; }
  body.menu-open .menu-btn span::before{ top: 0; transform: rotate(45deg); }
  body.menu-open .menu-btn span::after{ top: 0; transform: rotate(-45deg); }
}
/* Mobile menu overlay */
.mobile-menu{
  position: fixed; inset: var(--kopf-h) 0 0; z-index: 99;
  background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
  padding: 24px var(--gutter) 40px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
body.menu-open .mobile-menu{ opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a{ font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn{ margin-top: 20px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero{
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--kopf-h));               /* Hintergrund läuft hinter den transparenten Header */
  padding-top: calc(var(--kopf-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero-aurora{ position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-aurora span{ position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero-aurora .a1{ width: 520px; height: 520px; background: radial-gradient(circle, #7C6BF5, transparent 68%); top: -160px; right: -80px; }
.hero-aurora .a2{ width: 460px; height: 460px; background: radial-gradient(circle, #3A45E6, transparent 66%); top: -60px; left: -140px; opacity: .35; }
.hero-aurora .a3{ width: 380px; height: 380px; background: radial-gradient(circle, #0FCEA6, transparent 68%); top: 220px; right: 30%; opacity: .16; }
@media (prefers-reduced-motion: no-preference){
  .hero-aurora .a1{ animation: float1 16s ease-in-out infinite; }
  .hero-aurora .a3{ animation: float2 20s ease-in-out infinite; }
}
@keyframes float1{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-40px, 30px); } }
@keyframes float2{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(30px, -24px); } }

.hero-grid{ display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* Der Hero trägt seit 08/2026 nur noch Text — ein zentrierter Block statt zweier Spalten. */
.hero-copy.center{ text-align: center; max-width: 820px; margin-inline: auto; }
.hero-copy.center .lead{ margin-inline: auto; }
.hero-copy.center .hero-actions{ justify-content: center; }
.hero .lead strong{ display: block; margin-bottom: 9px; color: var(--ink); font-weight: 600; }
.hero h1{ margin-top: 22px; }
.hero .lead{ margin-top: 24px; max-width: 56ch; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust{ display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 14.5px; flex-wrap: wrap; }
.hero-trust .tick{ display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg{ width: 16px; height: 16px; color: var(--ink); }
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: 2; max-width: 520px; }
}

/* Hero visual — browser mock with a branded form */
.hero-visual{ position: relative; }
.browser{
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.browser-bar{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.browser-bar .dot{ width: 11px; height: 11px; border-radius: 50%; background: #D5DBEA; }
.browser-bar .dot:nth-child(2){ background: #E1E6F1; } .browser-bar .dot:nth-child(3){ background: #EAEEF6; }
.browser-url{
  margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 6px 14px; font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap;
}
.browser-url svg{ width: 12px; height: 12px; color: var(--ink); flex: none; }
.browser-body{ padding: 26px; }

/* Mini form used in hero + branding demo */
.mini-form{ --pv: var(--brand); --pv-r: 12px; }
.mini-form .mf-brand{ display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.mini-form .mf-logo{ width: 26px; height: 26px; border-radius: 7px; background: var(--pv); display:grid; place-items:center; color:#fff; font-family: var(--display); font-weight:700; font-size: 14px; }
.mini-form .mf-name{ font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -0.02em; }
.mini-form .mf-kicker{ font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pv); font-weight: 700; font-family: var(--display); }
.mini-form .mf-title{ font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); margin: 4px 0 18px; letter-spacing: -0.02em; }
.mini-form .mf-field{ margin-bottom: 13px; }
.mini-form .mf-label{ font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.mini-form .mf-input{ height: 40px; border: 1.5px solid var(--line-2); border-radius: var(--pv-r); background: #fff; display: flex; align-items: center; padding: 0 13px; font-size: 13.5px; color: var(--ink-2); }
.mini-form .mf-input.filled{ border-color: var(--pv); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pv) 14%, transparent); color: var(--ink); }
.mini-form .mf-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.mini-form .mf-radios{ display: flex; gap: 8px; flex-wrap: wrap; }
.mini-form .mf-radio{ font-size: 12.5px; padding: 7px 12px; border-radius: var(--pv-r); border: 1.5px solid var(--line-2); color: var(--ink-2); }
.mini-form .mf-radio.on{ border-color: var(--pv); background: color-mix(in srgb, var(--pv) 8%, #fff); color: var(--pv); font-weight: 600; }
.mini-form .mf-submit{ margin-top: 18px; height: 44px; border-radius: var(--pv-r); background: var(--pv); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 14px; }

/* .float-chip / @keyframes bob entfernt: die schwebenden Kärtchen gab es nur
   im alten Hero-Bild, kein Markup nutzt sie noch. */


/* =========================================================================
   Trust strip / stats
   ========================================================================= */
.stats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat{ padding: 24px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); }
.stat .num{ font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); color: var(--ink); letter-spacing: -0.03em; }
.stat .num .grad-text{ display: inline; }
.stat .lbl{ margin-top: 6px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 720px){ .stats{ grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   Feature grid
   ========================================================================= */
.features{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .features{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .features{ grid-template-columns: 1fr; } }
.feature{
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover{ transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-2); }
.feature .ic{
  width: 50px; height: 50px; border-radius: 14px; background: var(--grad-soft);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--brand);
  border: 1px solid #E3E5FB;
}
.feature .ic svg{ width: 24px; height: 24px; }
.feature h3{ font-size: 20px; margin-bottom: 9px; }
.feature p{ font-size: 15.5px; color: var(--ink-2); }
.feature.wide{ grid-column: span 1; }

/* =========================================================================
   Split / comparison
   ========================================================================= */
.compare{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 800px){ .compare{ grid-template-columns: 1fr; } }
.compare-card{ padding: var(--s7); border-radius: var(--r-lg); border: var(--hairline); }
.compare-card.them{ background: var(--bg-alt); }
.compare-card.us{ background: var(--ink); color: var(--on-deep); border-color: transparent; position: relative; overflow: hidden; }
.compare-card.us::before{ content:""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(109,92,240,.5), transparent 70%); filter: blur(30px); }
.compare-card h3{ font-size: 13px; text-transform: uppercase; letter-spacing: .11em; margin-bottom: var(--s6); font-family: var(--sans); font-weight: 700; }
.compare-card.them h3{ color: var(--muted); }
.compare-card.us h3{ color: #B9BEEC; }
.compare-list li{ display: flex; gap: 12px; padding: 11px 0; font-size: 15.5px; border-top: 1px solid var(--line); }
.compare-card.us .compare-list li{ border-top-color: var(--deep-line); color: var(--on-deep); }
.compare-list li:first-child{ border-top: 0; }
.compare-list .ic{ flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.compare-list .ic svg{ width: 13px; height: 13px; }
.them .ic{ background: #E7EBF3; color: var(--muted); }
.us .ic{ background: rgba(255,255,255,.10); color: var(--ink); }

/* =========================================================================
   Branding demo (interactive theme swap)
   ========================================================================= */
.brand-demo{ display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px){ .brand-demo{ grid-template-columns: 1fr; } }
.theme-picker{ display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.theme-btn{
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 15px 18px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.theme-btn:hover{ transform: translateX(3px); }
.theme-btn.active{ border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint), var(--sh-sm); }
.theme-btn .sw{ width: 30px; height: 30px; border-radius: 9px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.theme-btn .tb-name{ font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 15.5px; }
.theme-btn .tb-city{ font-size: 12.5px; color: var(--muted); }
.brand-demo .browser{ transition: box-shadow .3s; }

/* =========================================================================
   Live demo (embedded real form)
   ========================================================================= */
.demo-frame{ border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); background: #fff; }
.demo-poster{
  position: relative; min-height: 460px; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(109,92,240,.14), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(10,10,11,.06), transparent 55%),
    var(--bg-alt);
  padding: 40px;
}
.demo-poster .play{
  width: 74px; height: 74px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-brand); margin: 0 auto 22px;
  transition: transform .25s var(--ease-spring);
}
.demo-poster .play svg{ width: 28px; height: 28px; margin-left: 3px; }
.demo-poster:hover .play{ transform: scale(1.06); }
.demo-poster h3{ font-size: 24px; }
.demo-poster p{ margin-top: 10px; max-width: 44ch; color: var(--ink-2); font-size: 15.5px; }
.demo-frame iframe{ width: 100%; height: 680px; border: 0; display: block; background: #fff; }
.demo-note{ margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   Flow (data → contract)
   ========================================================================= */
.flow{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
@media (max-width: 820px){ .flow{ grid-template-columns: 1fr; } }
.flow-node{
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  position: relative;
}
.flow-node .step-n{ font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--brand); letter-spacing: .1em; }
.flow-node h3{ font-size: 19px; margin: 14px 0 8px; }
.flow-node p{ font-size: 15px; color: var(--ink-2); }
.flow-node .ic{ width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; border: 1px solid #E3E5FB; }
.flow-node .ic svg{ width: 23px; height: 23px; }
.flow-arrow{ position: absolute; top: 50%; right: -22px; transform: translateY(-50%); color: var(--line-2); z-index: 2; }
.flow-arrow svg{ width: 26px; height: 26px; }
@media (max-width: 820px){ .flow-arrow{ top: auto; bottom: -22px; right: 50%; transform: translateX(50%) rotate(90deg); } }

/* =========================================================================
   Forms catalog
   ========================================================================= */
.filter-chips{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip{
  font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  padding: 9px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: #fff;
  transition: .2s var(--ease);
}
.chip:hover{ border-color: var(--brand); color: var(--brand-ink); }
.chip.active{ background: var(--ink); color: #fff; border-color: var(--ink); }
.forms-grid{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
@media (max-width: 980px){ .forms-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 720px){ .forms-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 440px){ .forms-grid{ grid-template-columns: minmax(0,1fr); } }
.form-card{
  display: flex; align-items: flex-start; gap: 13px; padding: 18px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, opacity .3s;
}
.form-card > div{ min-width: 0; }
.form-card:hover{ transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }
.form-card .ic{ width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.form-card .ic svg{ width: 19px; height: 19px; }
.form-card .fc-name{ font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
.form-card .fc-cat{ font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.form-card.hide{ display: none; }

/* =========================================================================
   Consulting
   ========================================================================= */
.consult{ background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; }
.consult::before{ content:""; position: absolute; top: -140px; left: 10%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(58,69,230,.5), transparent 66%); filter: blur(50px); }
.consult::after{ content:""; position: absolute; bottom: -160px; right: 6%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(10,10,11,.10), transparent 66%); filter: blur(50px); }
.consult .container{ position: relative; }
.consult h2, .consult h3{ color: #fff; }
.consult .section-head p{ color: var(--on-deep-2); }
.consult-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 820px){ .consult-grid{ grid-template-columns: 1fr; } }
.consult-card{
  padding: 28px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.04); border: 1px solid var(--deep-line);
  backdrop-filter: blur(6px);
}
.consult-card .ic{ width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid var(--deep-line); display: grid; place-items: center; color: var(--ink); margin-bottom: 20px; }
.consult-card .ic svg{ width: 25px; height: 25px; }
.consult-card h3{ font-size: 20px; margin-bottom: 9px; }
.consult-card p{ color: var(--on-deep-2); font-size: 15.5px; }
.consult-card ul{ margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.consult-card ul li{ display: flex; gap: 10px; font-size: 14.5px; color: var(--on-deep); }
.consult-card ul svg{ width: 16px; height: 16px; color: var(--ink); flex: none; margin-top: 3px; }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing-wrap{ display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px){ .pricing-wrap{ grid-template-columns: 1fr; } }
.price-card{ display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px;
  box-shadow: var(--sh); position: relative; overflow: hidden;
}
.price-card.feature{ border: 1.5px solid var(--brand); box-shadow: var(--sh-brand); }
.price-card .plan-tag{ display:inline-flex; }
.price-head{ display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; flex-wrap: wrap; }
.price-amount{ font-family: var(--display); font-weight: 700; font-size: 56px; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.price-per{ color: var(--muted); font-size: 15px; }
.price-sub{ color: var(--muted); font-size: 14px; margin-top: 4px; }
.price-lic{ margin: 20px 0; padding: 16px; background: var(--bg-alt); border-radius: var(--r); font-size: 14px; color: var(--ink-2); }
.price-lic strong{ display: block; margin-bottom: 3px; }
.feature-list{ display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.feature-list li{ display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.feature-list .ic{ flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-alt); color: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.feature-list .ic svg{ width: 13px; height: 13px; }
.feature-list li.soon .ic{ background: var(--bg-2); color: var(--muted); }
.feature-list li .soon-tag{ font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg-2); padding: 1px 7px; border-radius: 6px; margin-left: 6px; }

/* Calculator */
.calc{ background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 22px 0; }
.calc-row{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc-row .lbl{ font-size: 15px; color: var(--ink); font-weight: 500; }
.calc-row .lbl small{ display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.stepper{ display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 4px; }
.stepper button{ width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); font-size: 20px; font-weight: 600; transition: background .2s; }
.stepper button:hover:not(:disabled){ background: var(--brand-tint); }
.stepper button:disabled{ color: var(--line-2); cursor: not-allowed; }
.stepper .val{ min-width: 34px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.calc-total{ margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); display: flex; align-items: baseline; justify-content: space-between; }
.calc-total .t-lbl{ font-size: 14px; color: var(--muted); }
.calc-total .t-val{ font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--ink); letter-spacing: -0.03em; }
.calc-total .t-val small{ font-size: 14px; color: var(--muted); font-weight: 500; }

.addon{ padding: 30px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid #E3E5FB; }
.addon h3{ font-size: 20px; margin-bottom: 10px; }
.addon p{ font-size: 15px; color: var(--ink-2); }
.addon ul{ margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.addon ul li{ display: flex; gap: 12px; font-size: 15px; color: var(--ink); }
.addon ul .ic{ flex:none; width: 22px; height: 22px; border-radius: 6px; background: #fff; color: var(--brand); display: grid; place-items: center; }
.addon ul .ic svg{ width: 14px; height: 14px; }
.price-note{ margin-top: 20px; font-size: 13px; color: var(--muted); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq{ max-width: 820px; margin-inline: auto; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.7vw, 19px); color: var(--ink);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .plus{ flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .25s var(--ease); position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after{ content:""; position: absolute; background: var(--brand); border-radius: 2px; }
.faq-item summary .plus::before{ width: 12px; height: 2px; } .faq-item summary .plus::after{ width: 2px; height: 12px; transition: transform .25s var(--ease); }
.faq-item[open] summary .plus{ background: var(--brand); border-color: var(--brand); }
.faq-item[open] summary .plus::before, .faq-item[open] summary .plus::after{ background: #fff; }
.faq-item[open] summary .plus::after{ transform: rotate(90deg); }
.faq-item .faq-body{ padding: 0 0 24px; color: var(--ink-2); font-size: 16px; max-width: 68ch; }

/* =========================================================================
   CTA + Contact
   ========================================================================= */
.cta-band{ background: var(--ink); color: var(--on-deep); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.cta-band::before{ content:""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 10%, rgba(255,255,255,.06), transparent 55%), radial-gradient(circle at 90% 90%, rgba(255,255,255,.10), transparent 55%); }
.cta-inner{ position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px){ .cta-inner{ grid-template-columns: 1fr; } }
.cta-band h2{ color: #fff; }
.cta-band .lead{ color: var(--on-deep-2); margin-top: 16px; }
.contact-tiles{ display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.contact-tile{ display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid var(--deep-line); }
.contact-tile .ic{ width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--ink); flex: none; }
.contact-tile .ic svg{ width: 19px; height: 19px; }
.contact-tile .ct-lbl{ font-size: 12.5px; color: var(--on-deep-2); }
.contact-tile .ct-val{ font-family: var(--display); font-weight: 600; color: #fff; font-size: 16px; }

/* Contact form (on dark) */
.cform{ background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 3vw, 36px); box-shadow: var(--sh-lg); }
.cform h3{ font-size: 22px; margin-bottom: 6px; }
.cform .sub{ color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.field{ margin-bottom: 16px; }
.field label{ display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field .req{ color: var(--brand); }
.field input, .field textarea, .field select{
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus{ outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field textarea{ resize: vertical; min-height: 120px; }
.field-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px){ .field-2{ grid-template-columns: 1fr; } }
.field-check{ display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin: 4px 0 20px; }
.field-check input{ width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.field-check a{ color: var(--brand-ink); text-decoration: underline; }
.cform-status{ margin-top: 16px; font-size: 14.5px; padding: 0; }
.cform-status.is-success{ color: var(--ink); }
.cform-status.is-error{ color: #C0392B; }
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer{ background: var(--deep); color: var(--on-deep-2); padding-top: clamp(56px, 7vw, 90px); }
.footer-top{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--deep-line); }
@media (max-width: 820px){ .footer-top{ grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
@media (max-width: 480px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand{ display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand .brand-name{ color: #fff; }
.footer-tag{ max-width: 34ch; font-size: 14.5px; line-height: 1.6; }
.footer-tag .lat{ color: #fff; }
.site-footer h5{ color: #fff; font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul{ display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a, .site-footer ul li{ font-size: 14.5px; color: var(--on-deep-2); transition: color .2s; }
.site-footer ul a:hover{ color: #fff; }
.footer-bottom{ display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0; font-size: 13.5px; }
.footer-bottom a{ color: var(--on-deep-2); margin-left: 20px; transition: color .2s; }
.footer-bottom a:hover{ color: #fff; }

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
html.js [data-reveal]{ opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].in{ opacity: 1; transform: none; }
html.js [data-reveal][data-delay="1"]{ transition-delay: .08s; }
html.js [data-reveal][data-delay="2"]{ transition-delay: .16s; }
html.js [data-reveal][data-delay="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){
  html.js [data-reveal]{ opacity: 1 !important; transform: none !important; }
  .hero-aurora span{ animation: none !important; }
}

/* =========================================================================
   Booking split + scheduler modal
   ========================================================================= */
.book-cta{ display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.book-or{ font-size: 13.5px; color: var(--on-deep-2); }
.cform .book-inline{ display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: -6px 0 22px; padding: 14px 16px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); }
.cform .book-inline span{ font-size: 14px; color: var(--ink-2); }
.cform .book-inline button{ flex: none; }
.btn-book-sm{ background: var(--ink); color: #fff; padding: 10px 18px; font-size: 14.5px; border-radius: var(--r-pill); font-family: var(--display); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; transition: transform .2s var(--ease-spring), box-shadow .2s; }
.btn-book-sm:hover{ transform: translateY(-2px); box-shadow: var(--sh); }
.btn-book-sm svg{ width: 16px; height: 16px; }

.modal-overlay{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,12,26,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: clamp(12px, 3vw, 28px);
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease);
}
.modal-overlay.open{ opacity: 1; pointer-events: auto; }
.modal{
  width: min(940px, 100%); max-height: 92vh; background: #fff; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-lg); display: flex; flex-direction: column;
  transform: translateY(16px) scale(.98); transition: transform .32s var(--ease-spring);
}
.modal-overlay.open .modal{ transform: none; }
.modal-head{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-head .mh-brand{ display: flex; align-items: center; gap: 11px; }
.modal-head .mh-title{ font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 16px; }
.modal-head .mh-title small{ display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.modal-close{ width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: .2s var(--ease); flex: none; }
.modal-close:hover{ background: var(--bg-2); transform: rotate(90deg); }
.modal-close svg{ width: 18px; height: 18px; }
.modal-body{ overflow: auto; -webkit-overflow-scrolling: touch; min-height: 540px; }
#booking-embed{ min-height: 540px; }
/* Die Höhe setzt das Skript nach Fenstergröße; hier nur der Boden. */
#booking-embed iframe{ width: 100%; min-height: 560px; border: 0; }
.book-loading{ display: grid; place-items: center; min-height: 540px; color: var(--muted); font-size: 15px; text-align: center; padding: 30px; gap: 16px; }
.book-loading .spin{ width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .book-loading .spin{ animation: none; } .modal{ transition: none; } }

/* Utility */
.mt-s{ margin-top: 14px; } .mt-m{ margin-top: 26px; } .mt-l{ margin-top: 40px; }
.legal{ max-width: 760px; }
.legal h1{ font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 8px; }
.legal h2{ font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li{ font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.legal ul{ list-style: disc; padding-left: 22px; }
.legal a{ color: var(--brand-ink); text-decoration: underline; }
.note-box{ background: var(--brand-tint); border: 1px solid #DADDFB; border-radius: var(--r); padding: 18px 20px; font-size: 14.5px; color: var(--brand-ink); margin: 24px 0; }

/* =========================================================================
   Wizard mock — the stepper chrome the real forms now use (hero + branding)
   ========================================================================= */
.mini-form .mf-prog{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); font-family: var(--display); margin-bottom: 9px;
}
.mini-form .mf-prog .save{ letter-spacing: 0; text-transform: none; font-weight: 500; font-size: 11.5px; }
.mini-form .mf-steps{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.mini-form .mf-step{
  font-size: 11.5px; font-weight: 600; line-height: 1;
  padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); background: #fff; white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.mini-form .mf-step.done{ color: var(--pv); border-color: var(--pv); }
.mini-form .mf-step.done::before{ content: "✓\00a0"; font-weight: 700; }
.mini-form .mf-step.on{ background: var(--pv); border-color: var(--pv); color: #fff; }
.mini-form .mf-sect{
  font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--pv);
  letter-spacing: -0.01em; padding-bottom: 8px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mini-form .mf-nav{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
}
.mini-form .mf-back{
  font-size: 12.5px; font-weight: 600; font-family: var(--display);
  padding: 9px 18px; border-radius: var(--pv-r); border: 1px solid var(--line-2); color: var(--muted);
}
.mini-form .mf-here{ font-size: 12px; color: var(--muted); font-weight: 600; }
.mini-form .mf-next{
  font-size: 12.5px; font-weight: 600; font-family: var(--display);
  padding: 9px 20px; border-radius: var(--pv-r); background: var(--pv); color: #fff;
}

/* =========================================================================
   Abandonment / completion — "warum Formulare abgebrochen werden"
   ========================================================================= */
.abandon{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 860px){ .abandon{ grid-template-columns: 1fr; } }
.ab-pane{
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: 26px;
  display: flex; flex-direction: column; background: #fff; overflow: hidden;
}
.ab-pane.bad{ background: var(--bg-2); }
.ab-tag{
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.ab-pane.bad .ab-tag{ background: #ECEFF6; color: var(--muted); }
.ab-pane.good .ab-tag{ background: rgba(10,10,11,.06); color: var(--ink); }
.ab-pane h3{ font-size: 21px; margin-bottom: 8px; }
.ab-pane > p{ font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.ab-vis{ margin-top: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; padding: 16px; position: relative; overflow: hidden; }

/* endless scroll illustration — Formularanmutung, die ins Nichts läuft */
.wall{ height: 300px; overflow: hidden; position: relative; }
.wall .fld{ margin-bottom: 14px; }
.wall .lbl{ display: block; height: 7px; width: 34%; border-radius: 3px; background: #C9D0E2; margin-bottom: 7px; }
.wall .lbl.w2{ width: 46%; }
.wall .inp{ display: block; height: 26px; border: 1px solid #E0E5F0; border-radius: 4px; background: #FAFBFE; }
.wall .row{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wall::after{
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 86%);
}
.wall-note{
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap;
  font-family: var(--display); z-index: 2;
}

/* stepped illustration */
.wsteps{ display: grid; gap: 10px; }
.wstep{
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2);
}
.wstep .n{
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; font-family: var(--display);
  background: var(--bg-2); color: var(--muted);
}
.wstep.done{ border-color: var(--line-2); background: rgba(10,10,11,.04); color: var(--ink); }
.wstep.done .n{ background: var(--ink); color: #fff; }
.wstep.done .n svg{ width: 13px; height: 13px; }
.wstep.now{ border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); color: var(--ink); font-weight: 600; }
.wstep.now .n{ background: var(--grad); color: #fff; }
.wstep .tail{ margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }

/* mechanism cards */
/* Spalten mit Haarlinie statt vier weißer Kästen auf grauem Grund. Kästen im
   Kasten sind das sicherste Zeichen für eine Vorlage; eine Linie trennt ebenso
   deutlich und lässt den Abschnitt zusammenhängen. */
.mech-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--s8); }
@media (max-width: 980px){ .mech-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .mech-grid{ grid-template-columns: 1fr; } }
.mech{ padding: var(--s1) var(--s6); border-left: var(--hairline); background: none; }
.mech:first-child{ border-left: 0; padding-left: 0; }
.mech .ic{ width: 34px; height: 34px; border-radius: 9px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s4); }
.mech .ic svg{ width: 18px; height: 18px; }
.mech h4{ font-size: 15.5px; margin-bottom: var(--s2); }
.mech p{ font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px){
  .mech-grid{ grid-template-columns: repeat(2, 1fr); row-gap: var(--s7); }
  .mech:nth-child(odd){ border-left: 0; padding-left: 0; }
}
@media (max-width: 560px){
  .mech-grid{ grid-template-columns: 1fr; row-gap: 0; }
  .mech{ border-left: 0; padding: var(--s6) 0; border-top: var(--hairline); }
  .mech:first-child{ border-top: 0; padding-top: 0; }
}

/* =========================================================================
   Live-demo toolbar — form switch + live theme switch
   ========================================================================= */
.demo-tools{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.demo-seg{ display: flex; flex-wrap: wrap; gap: 8px; }
.demo-seg .seg-lbl{
  align-self: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-family: var(--display); margin-right: 4px;
}
.dbtn{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2);
  background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; font-family: var(--display);
  transition: border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.dbtn:hover{ transform: translateY(-1px); border-color: var(--line-2); color: var(--ink); }
.dbtn.active{ border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-tint); }
.dbtn .sw{ width: 15px; height: 15px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); flex: none; }
.dbtn small{ font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* =========================================================================
   AI use cases (dark section) + case-study page
   ========================================================================= */
.uc-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px){ .uc-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .uc-grid{ grid-template-columns: 1fr; } }
.uc{
  padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.045);
  border: 1px solid var(--deep-line); position: relative;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s;
}
.uc:hover{ transform: translateY(-4px); background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.2); }
.uc .n{
  font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .12em;
  color: var(--ink); margin-bottom: 14px; display: block;
}
.uc h3{ font-size: 19px; margin-bottom: 9px; color: #fff; }
.uc p{ font-size: 15px; color: var(--on-deep-2); }
.uc .uc-gain{
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--deep-line);
  font-size: 13.5px; color: #CFD6F2; display: flex; align-items: center; gap: 9px;
}
.uc .uc-gain svg{ width: 16px; height: 16px; color: var(--ink); flex: none; }

/* sub-page hero */
.page-hero{ padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(30px, 4vw, 54px); position: relative; overflow: hidden; }
.page-hero .lead{ margin-top: 22px; max-width: 62ch; }
.page-hero h1{ font-size: clamp(34px, 5vw, 62px); margin-top: 20px; }
/* Die Krume ordnet ein, sie fordert nicht zum Klicken auf: kleiner, ruhiger,
   ein Haarstrich statt eines Pfeils, und der Verweis in Textfarbe statt in
   der Signalfarbe der Wortmarke. */
.crumb{ font-size: 13px; letter-spacing: .01em; color: var(--muted); display: flex; align-items: baseline; gap: 0; }
.crumb a{ color: var(--ink-2); font-weight: 500; border-bottom: 1px solid transparent; padding-bottom: 1px; transition: border-color .2s var(--ease), color .2s var(--ease); }
.crumb a:hover{ color: var(--ink); border-bottom-color: var(--line-2); }
.crumb i{ font-style: normal; color: var(--line-2); margin: 0 10px; }
.crumb svg{ display: none; }

/* case studies */
.case{
  border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff;
  padding: clamp(24px, 3vw, 40px); margin-bottom: 22px; box-shadow: var(--sh-sm);
}
.case-head{ display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.case-num{
  flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 19px;
  box-shadow: var(--sh-brand);
}
.case-head h2{ font-size: clamp(23px, 2.6vw, 31px); }
.case-head p{ margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 70ch; }
.case-cols{ display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
@media (max-width: 860px){ .case-cols{ grid-template-columns: 1fr; } }
.pane{ border-radius: var(--r); padding: 22px; border: 1px solid var(--line); }
.pane.now{ background: var(--bg-alt); }
.pane.next{ background: linear-gradient(180deg, #FBFBFF 0%, #F6F7FE 100%); border-color: #DFE2FA; }
.pane h4{
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.pane h4 svg{ width: 15px; height: 15px; flex: none; }
.pane.now h4{ color: var(--muted); }
.pane.next h4{ color: var(--brand-ink); }
.pane-list li{ display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); padding: 8px 0; }
.pane-list li svg{ width: 16px; height: 16px; flex: none; margin-top: 4px; }
.pane.now .pane-list li svg{ color: var(--muted); }
.steps-ol{ counter-reset: st; display: grid; gap: 13px; list-style: none; padding: 0; margin: 0; }
.steps-ol li{
  counter-increment: st; position: relative; padding-left: 38px;
  font-size: 15px; color: var(--ink-2); line-height: 1.55;
}
.steps-ol li::before{
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 25px; height: 25px; border-radius: 50%;
  background: #fff; border: 1.5px solid #D8DCF8; color: var(--brand-ink);
  font-family: var(--display); font-weight: 700; font-size: 12.5px; display: grid; place-items: center;
}
.steps-ol strong{ color: var(--ink); }
.case-foot{
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start;
}
@media (max-width: 860px){ .case-foot{ grid-template-columns: 1fr; } }
.case-foot .lbl{
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); font-family: var(--display); margin-bottom: 8px;
}
.case-foot p{ font-size: 14.5px; color: var(--ink-2); }
.metric{
  background: var(--ink); color: var(--on-deep); border-radius: var(--r); padding: 18px 20px;
}
.metric .m-val{ font-family: var(--display); font-weight: 700; font-size: 27px; color: #fff; letter-spacing: -0.02em; }
.metric .m-lbl{ font-size: 13.5px; color: var(--on-deep-2); margin-top: 4px; }
.tag-row{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag{
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2);
}

/* staged rollout */
.stages{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px){ .stages{ grid-template-columns: 1fr; } }
.stage{ padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; position: relative; }
.stage.is-now{ border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.stage .st-tag{
  font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 12px; display: block;
}
.stage.is-later .st-tag{ color: var(--muted); }
.stage h3{ font-size: 19px; margin-bottom: 10px; }
.stage p{ font-size: 15px; color: var(--ink-2); }
.stage ul{ margin-top: 14px; display: grid; gap: 8px; }
.stage li{ display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.stage li svg{ width: 16px; height: 16px; color: var(--ink); flex: none; margin-top: 4px; }

/* trust / data-protection strip */
.safe-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px){ .safe-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .safe-grid{ grid-template-columns: 1fr; } }
.safe{ padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid var(--deep-line); }
.safe .ic{ width: 38px; height: 38px; border-radius: 11px; background: rgba(10,10,11,.06); color: var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.safe .ic svg{ width: 19px; height: 19px; }
.safe h4{ font-size: 16px; color: #fff; margin-bottom: 6px; }
.safe p{ font-size: 14px; color: var(--on-deep-2); }
.footnote{ margin-top: 26px; font-size: 13px; color: var(--muted); max-width: 80ch; }

/* =========================================================================
   Pillars — die drei Bausteine (ersetzt den alten Stats-Streifen)
   ========================================================================= */
.pillars{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .pillars{ grid-template-columns: 1fr; } }
.pillar{
  display: block; padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover{ transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-2); }
.pillar .ic{
  width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft);
  color: var(--brand); display: grid; place-items: center; border: 1px solid #E3E5FB; margin-bottom: 18px;
}
.pillar .ic svg{ width: 23px; height: 23px; }
.pillar .p-tag{
  display: block; font-family: var(--display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.pillar h3{ font-size: 20px; margin-bottom: 9px; }
.pillar p{ font-size: 15px; color: var(--ink-2); }
.pillar .p-link{
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--brand-ink);
  transition: gap .2s var(--ease);
}
.pillar .p-link svg{ width: 15px; height: 15px; }
.pillar:hover .p-link{ gap: 12px; }

.demo-hint{ font-size: 13.5px; color: var(--muted); }

/* =========================================================================
   Pipeline-Diagramm — zeigt Programme und Verbindungen eines Ablaufs
   ========================================================================= */
.pipe{
  display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap;
  padding: 22px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line);
}
.pipe-step{
  flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 16px 15px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--sh-sm);
}
.pipe-step .ic{
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); border: 1px solid #E3E5FB; margin-bottom: 8px;
}
.pipe-step .ic svg{ width: 18px; height: 18px; }
.pipe-step .ttl{ font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.25; }
.pipe-step .sub{ font-size: 13px; color: var(--muted); line-height: 1.45; }
.pipe-step .app{
  margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 600; color: var(--brand-ink);
  letter-spacing: .01em;
}
.pipe-step.out{ border-color: var(--line-2); }
.pipe-step.out .ic{ background: rgba(10,10,11,.06); color: var(--ink); border-color: var(--line-2); }
.pipe-step.out .app{ color: var(--ink); }
.pipe-arrow{ flex: none; align-self: center; color: var(--line-2); }
.pipe-arrow svg{ width: 22px; height: 22px; }
.pipe-meta{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pipe-meta .chip-i{
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 13px;
}
.pipe-meta .chip-i svg{ width: 14px; height: 14px; color: var(--ink); flex: none; }
@media (max-width: 780px){
  .pipe{ flex-direction: column; }
  .pipe-arrow{ transform: rotate(90deg); align-self: center; }
}

/* kompakter Automatisierungs-Block */
.auto-block{ margin-bottom: 26px; }
.auto-head{ display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.auto-head .n{
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em;
  color: var(--brand-ink);
}
.auto-head h3{ font-size: clamp(20px, 2.2vw, 26px); }
.auto-head p{ flex-basis: 100%; color: var(--ink-2); font-size: 15.5px; max-width: 76ch; }

/* =========================================================================
   Mehrseitige Struktur — Navigation, Preisraster, Status-Badge, Website-Mock
   ========================================================================= */
.nav-links a.on{ color: var(--brand-ink); background: var(--brand-tint); }

.badge-soon{
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--brand-tint); color: var(--brand-ink);
  border-radius: var(--r-pill); padding: 6px 12px;
}
.badge-soon .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.price-3{ display: grid; grid-template-columns: 1.02fr 1.98fr; gap: 22px; align-items: start; }
.price-pair{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 700px){ .price-pair{ grid-template-columns: 1fr; } }
@media (max-width: 980px){ .price-3{ grid-template-columns: 1fr; } }
.price-card .price-plain{
  font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--ink);
  letter-spacing: -0.03em; margin: 18px 0 4px;
}
.price-card h3{ font-size: 21px; }
.price-card .p-desc{ font-size: 15px; color: var(--ink-2); margin-top: 10px; }

/* Website-Mock */
.mock-site{ font-family: var(--sans); }
.mock-site .ms-bar{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.mock-site .ms-logo{ display: flex; align-items: center; gap: 9px; }
.mock-site .ms-logo .m{ width: 26px; height: 26px; border-radius: 6px; background: var(--pv, #1F3A63); }
.mock-site .ms-logo .n{ font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.mock-site .ms-nav{ display: flex; align-items: center; gap: 18px; }
.mock-site .ms-nav i{ display: block; height: 7px; width: 46px; border-radius: 3px; background: var(--line-2); }
.mock-site .ms-nav span{ font-size: 12px; font-weight: 500; color: var(--ink-2); }
.mock-site .ms-nav span.on{ color: var(--pv); font-weight: 600; position: relative; }
.mock-site .ms-nav span.on::after{ content:""; position:absolute; left:0; right:0; bottom:-19px; height:2px; background:var(--pv); }
.mock-site .ms-hero{ padding: 24px 0 20px; }
.mock-site .ms-h{ height: 15px; border-radius: 4px; background: #C9D0E2; margin-bottom: 9px; }
.mock-site .ms-h.w1{ width: 78%; } .mock-site .ms-h.w2{ width: 54%; }
.mock-site .ms-p{ height: 8px; border-radius: 3px; background: #E4E9F3; margin-bottom: 7px; }
.mock-site .ms-p.w1{ width: 92%; } .mock-site .ms-p.w2{ width: 70%; }
.mock-site .ms-btn{
  margin-top: 16px; display: inline-block; padding: 9px 18px; border-radius: 6px;
  background: var(--pv, #1F3A63); color: #fff; font-size: 12.5px; font-weight: 600;
}
.mock-site .ms-cards{ display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 22px; }
.mock-site .ms-card{ border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.mock-site .ms-card .ic{ display:block; width: 24px; height: 24px; border-radius: 6px; background: var(--bg-2); margin-bottom: 10px; }
.mock-site .ms-card .t{ display:block; height: 8px; width: 74%; border-radius: 3px; background: #D3DAE9; margin-bottom: 6px; }
.mock-site .ms-card .l{ display:block; height: 6px; width: 96%; border-radius: 3px; background: #EAEEF6; margin-bottom: 5px; }

/* Preiskarten: Aktionsfläche immer bündig am unteren Rand */
.price-card .btn{ margin-top: auto; }
.price-card .price-note{ margin-top: 12px; }
.price-card .feature-list{ margin-bottom: 22px; }

/* Automatisierungs-Blöcke deutlicher trennen */
.auto-block{ margin-bottom: 60px; }
.auto-block + .auto-block{ border-top: 1px solid var(--line); padding-top: 52px; }
.auto-block:last-of-type{ margin-bottom: 0; }

/* =========================================================================
   Mock: individuell gestaltete Formularübersicht (eigenständige Anmutung)
   ========================================================================= */
.mock-site .fm-head{ padding: 22px 0 2px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.mock-site .fm-title{ font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.mock-site .fm-sub{ font-size: 12.5px; color: var(--muted); margin-top: 6px; max-width: 44ch; }
.mock-site .fm-search{
  flex: none; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; background: #fff;
}
.mock-site .fm-search svg{ width: 13px; height: 13px; }

.mock-site .fm-chips{ display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 14px; }
.mock-site .fm-chips span{
  font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--muted); background: #fff;
}
.mock-site .fm-chips span.on{ background: var(--pv); border-color: var(--pv); color: #fff; }

.mock-site .fm-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-site .fm-card{
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 15px 16px 14px 19px;
}
.mock-site .fm-card::before{
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--pv); opacity: .85;
}
.mock-site .fm-card.alt::before{ background: var(--ink); }
.mock-site .fm-card .t{ display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mock-site .fm-card .d{ display: block; font-size: 12px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.mock-site .fm-card .m{
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 11.5px; color: var(--muted); font-weight: 500;
}
.mock-site .fm-card .m .sep{ opacity: .5; }
.mock-site .fm-card .m .go{ margin-left: auto; color: var(--pv); display: grid; place-items: center; }
.mock-site .fm-card .m .go svg{ width: 14px; height: 14px; }
.mock-site .fm-note{
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 7px;
}
.mock-site .fm-note svg{ width: 13px; height: 13px; color: var(--ink); }

/* =========================================================================
   Zurückhaltende Bewegung (respektiert prefers-reduced-motion)
   ========================================================================= */
@media (prefers-reduced-motion: no-preference){
  .mini-form .mf-step{ transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease); }
  .mini-form .mf-sect, .mini-form .mf-here{ transition: opacity .3s var(--ease); }
  .mini-form.is-swapping .mf-sect, .mini-form.is-swapping .mf-here{ opacity: .35; }

  .pipe-arrow svg{ animation: nudge 3.2s var(--ease) infinite; }
  .pipe-step:nth-child(3) .pipe-arrow svg{ animation-delay: .4s; }
  @keyframes nudge{ 0%,72%,100%{ transform: translateX(0); opacity:.75; } 84%{ transform: translateX(3px); opacity:1; } }

  .pipe-step.out .ic{ animation: breathe 4s var(--ease) infinite; }
  @keyframes breathe{ 0%,100%{ box-shadow: 0 0 0 0 rgba(10,10,11,0);} 50%{ box-shadow: 0 0 0 5px rgba(10,10,11,.06);} }
}

/* Automatisierung: kompakter Kopf je Ablauf */
.auto-head{ display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: nowrap; }
.auto-num{
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-tint); color: var(--brand-ink); border: 1px solid #DDE1FB;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 14px;
}
.auto-head h3{ font-size: clamp(19px, 2vw, 23px); }
.auto-lead{ color: var(--ink-2); font-size: 15.5px; margin: -4px 0 16px 52px; max-width: 70ch; }
@media (max-width: 620px){ .auto-lead{ margin-left: 0; } }
.tag-line{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* Eigener Ablauf einreichen — kompakter Aufruf unter den vier Abläufen */
.own-case{
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  margin-top: 34px; padding: 26px 30px;
  border: 1px solid #DDE1FB; border-radius: var(--r-lg); background: var(--grad-soft);
}
.own-case .ic{
  width: 46px; height: 46px; border-radius: 13px; background: #fff; color: var(--brand);
  display: grid; place-items: center; border: 1px solid #E3E5FB; flex: none;
}
.own-case .ic svg{ width: 22px; height: 22px; }
.own-case h3{ font-size: 20px; margin-bottom: 6px; }
.own-case p{ font-size: 15px; color: var(--ink-2); max-width: 74ch; }
.own-case .btn{ white-space: nowrap; }
@media (max-width: 860px){
  .own-case{ grid-template-columns: auto 1fr; }
  .own-case .btn{ grid-column: 1 / -1; justify-self: start; }
}

/* Kontaktformular: kontextabhängiger Block + Programm-Auswahl */
.cond-hint{ font-size: 13.5px; color: var(--muted); margin: -4px 0 12px; line-height: 1.5; }
.cond-hint a{ color: var(--brand-ink); text-decoration: underline; }
.cond-note{ margin: 10px 0 0; }
.check-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px){ .check-grid{ grid-template-columns: 1fr; } }
.field .chk, .chk{
  display: flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 0;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; color: var(--ink-2); background: #fff;
  transition: border-color .15s, background .15s, color .15s;
}
.chk:hover{ border-color: var(--line-2); }
.chk input{ width: 17px; height: 17px; flex: none; margin: 0; accent-color: var(--brand); }
.chk span{ line-height: 1.35; }
.chk:has(input:checked), .chk.is-on{ border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); font-weight: 500; }
.field .chk{ min-height: 48px; }
.chk-other{ margin-top: 8px; }

/* =========================================================================
   Vollbild-Demo — das echte Formular über den ganzen Bildschirm
   ========================================================================= */
.fsdemo{
  position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column;
  background: rgba(8,12,26,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.fsdemo.open{ opacity: 1; pointer-events: auto; }
.fsdemo-panel{
  margin: clamp(10px, 2.2vh, 26px); flex: 1; min-height: 0;
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--sh-lg);
  transform: translateY(14px) scale(.99); transition: transform .32s var(--ease-spring);
}
.fsdemo.open .fsdemo-panel{ transform: none; }
.fsdemo-bar{
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt);
}
.fsdemo-title{
  font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.fsdemo-title small{ font-weight: 400; font-size: 13px; color: var(--muted); }
.fsdemo-tools{ display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.fsdemo-tools .lbl{
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-right: 2px;
}
.fsdemo-chip{
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 13px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2);
  background: #fff; color: var(--ink-2); font-family: var(--display); font-weight: 600; font-size: 13px;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.fsdemo-chip .sw{ width: 13px; height: 13px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.fsdemo-chip.active{ border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-tint); }
.fsdemo-close{
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink); background: #fff; flex: none;
  transition: transform .2s var(--ease), background .2s;
}
.fsdemo-close:hover{ background: var(--bg-2); transform: rotate(90deg); }
.fsdemo-close svg{ width: 18px; height: 18px; }
.fsdemo-body{ flex: 1; min-height: 0; background: #fff; position: relative; }
.fsdemo-body iframe{ width: 100%; height: 100%; border: 0; display: block; }
.fsdemo-load{
  position: absolute; inset: 0; display: grid; place-items: center; gap: 14px;
  color: var(--muted); font-size: 14.5px; background: #fff;
}
body.fs-open{ overflow: hidden; }
@media (max-width: 620px){
  .fsdemo-panel{ margin: 0; border-radius: 0; }
  .fsdemo-title small{ display: none; }
}

/* Aufmacher, der die Vollbild-Demo öffnet */
/* Kein Rahmen um den Rahmen: die Karte trägt nur noch eine obere Haarlinie,
   das Formularbild darin ist das einzige Objekt mit Kante und Schatten. */
.demo-card{
  position: relative; cursor: pointer; text-align: left;
  width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding: var(--s9) 0 0;
  border: 0; border-top: var(--hairline); background: none; border-radius: 0; box-shadow: none;
  transition: none;
}
.demo-card:hover .demo-shot{ transform: translateY(-4px); box-shadow: var(--sh-lg); }
.demo-shot{ transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (max-width: 860px){ .demo-card{ grid-template-columns: 1fr; } }
.demo-card h3{ font-size: clamp(23px, 2.6vw, 30px); margin-bottom: 12px; }
.demo-card p{ color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
/* Der Knopf klebte per Inline-Style unten rechts und lag dort auf dem
   "Weiter" der Formular-Attrappe. Jetzt gehört er zur Textspalte. */
.demo-card .play{
  position: static !important; width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-brand); margin: var(--s6) 0 0;
  transition: transform .25s var(--ease-spring);
}
.demo-card:hover .play{ transform: scale(1.07); }
.demo-card .play svg{ width: 24px; height: 24px; margin-left: 3px; }
.demo-card .hint{ margin-top: var(--s4); font-size: 13.5px; color: var(--muted); }
.demo-shot{ border-radius: var(--r); border: var(--hairline); overflow: hidden; box-shadow: var(--sh); background: #fff; }

/* =========================================================================
   Leistungs-Umschalter (Reiter mit Vorschau)
   ========================================================================= */
.tabs{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tab{
  display: inline-flex; align-items: center; gap: 11px; cursor: pointer;
  padding: 13px 20px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2);
  background: #fff; color: var(--ink-2);
  font-family: var(--display); font-weight: 600; font-size: 15.5px;
  transition: border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.tab:hover{ transform: translateY(-1px); color: var(--ink); }
.tab .ic{
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--bg-2); color: var(--muted); flex: none; transition: background .2s, color .2s;
}
.tab .ic svg{ width: 15px; height: 15px; }
.tab[aria-selected="true"]{ border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-tint); }
.tab[aria-selected="true"] .ic{ background: var(--grad); color: #fff; }
.tab .mini-badge{
  font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-ink); background: var(--brand-tint);
  border-radius: var(--r-pill); padding: 3px 8px;
}
.tabpanel[hidden]{ display: none; }
.tabpanel{
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm);
}
@media (max-width: 900px){ .tabpanel{ grid-template-columns: 1fr; } }
.tabpanel h3{ font-size: clamp(23px, 2.6vw, 31px); margin-bottom: 12px; }
.tabpanel > div > p{ color: var(--ink-2); font-size: 16px; }
.tabpanel .tp-list{ display: grid; gap: 11px; margin: 22px 0 24px; }
.tabpanel .tp-list li{ display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.tabpanel .tp-list svg{ width: 17px; height: 17px; color: var(--ink); flex: none; margin-top: 3px; }
.tabpanel .tp-vis{ border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh); overflow: hidden; }
@media (prefers-reduced-motion: no-preference){
  .tabpanel{ animation: tabin .34s var(--ease); }
  @keyframes tabin{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }
}

/* =========================================================================
   Branding-Baukasten — das echte Formular im Erscheinungsbild des Besuchers
   ========================================================================= */
.builder{ display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px){ .builder{ grid-template-columns: 1fr; } }
.bld-row{ margin-bottom: 20px; }
.bld-row > label{
  display: block; font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.bld-input{
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  font: 15px var(--sans); color: var(--ink); background: #fff;
}
.bld-input:focus{ outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.bld-swatches{ display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.bld-sw{
  width: 38px; height: 38px; border-radius: 11px; cursor: pointer; border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .18s var(--ease), border-color .18s;
}
.bld-sw:hover{ transform: scale(1.06); }
.bld-sw.on{ border-color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 0 0 3px var(--bg-2); }
.bld-color{
  width: 38px; height: 38px; padding: 0; border: 1.5px dashed var(--line-2); border-radius: 11px;
  background: #fff; cursor: pointer;
}
.bld-seg{ display: inline-flex; gap: 6px; padding: 5px; background: var(--bg-2); border-radius: var(--r-pill); }
.bld-seg button{
  padding: 8px 16px; border-radius: var(--r-pill); font-family: var(--display);
  font-weight: 600; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s;
}
.bld-seg button.on{ background: #fff; color: var(--brand-ink); box-shadow: var(--sh-sm); }
.bld-actions{ display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.bld-note{ font-size: 13.5px; color: var(--muted); }
.bld-preview{ border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh); overflow: hidden; }

/* =========================================================================
   Enge Schirme — Überläufe, die auf 390 px sichtbar waren
   ========================================================================= */
@media (max-width: 560px){
  /* Menüzeile der Website-Attrappe schob die Seite 21 px über den Rand */
  .mock-site .ms-nav{ display: none; }
  .mock-site .ms-bar{ justify-content: flex-start; }
}
@media (max-width: 480px){
  /* Lange deutsche Beschriftungen ("Schritt für Schritt selbst durchklicken")
     standen auf nowrap und liefen aus dem Bild. */
  .btn{ white-space: normal; text-align: center; }
  .btn-lg{ font-size: 15px; padding: 13px 20px; }
  .hero-actions{ width: 100%; }
  .hero-actions .btn{ width: 100%; }
}

/* =========================================================================
   Zahlenband
   Vier belegte Werte direkt unter dem Hero. Getrennt durch Haarlinien statt
   durch Karten — eine Karte um jede Zahl sähe nach Baukasten aus.
   ========================================================================= */
.figures{ padding-block: var(--s8); border-bottom: var(--hairline); }
.fig-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fig{ padding: var(--s2) var(--s6); border-left: var(--hairline); }
.fig:first-child{ border-left: 0; padding-left: 0; }
.fig-n{
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 4.2vw, 54px); line-height: 1; letter-spacing: -0.04em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.fig-l{ display: block; margin-top: var(--s3); font-weight: 600; font-size: 15px; color: var(--ink); }
.fig-s{ display: block; margin-top: var(--s2); font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 30ch; }
@media (max-width: 900px){
  .fig-grid{ grid-template-columns: repeat(2, 1fr); row-gap: var(--s7); }
  .fig:nth-child(odd){ border-left: 0; padding-left: 0; }
  .fig:nth-child(3){ border-left: 0; }
}
@media (max-width: 520px){
  .fig-grid{ grid-template-columns: 1fr; row-gap: var(--s6); }
  .fig{ border-left: 0; padding: 0; }
  .fig + .fig{ padding-top: var(--s6); border-top: var(--hairline); }
  .fig-s{ max-width: none; }
}

/* =========================================================================
   Ablauf: ein Fall, durchgespielt
   Gegenüberstellung heute / mit Juvara je Schritt. Die Nummer sitzt in der
   Marginalspalte, damit die Zeilenlänge des Textes lesbar bleibt.
   ========================================================================= */
.caseflow{ margin-top: var(--s9); display: grid; grid-template-columns: 1fr; gap: 0; }
.cf-step{
  display: grid; grid-template-columns: 72px 1fr; gap: var(--s5);
  padding: var(--s7) 0; border-top: var(--hairline);
}
.cf-step:last-child{ border-bottom: var(--hairline); }
.cf-n{
  font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1;
  color: var(--line-2); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.cf-body h3{ margin-bottom: var(--s4); }
.cf-then, .cf-now{ font-size: 15.5px; line-height: 1.62; max-width: 74ch; }
.cf-then{ color: var(--muted); }
.cf-now{ color: var(--ink-2); margin-top: var(--s3); }
.cf-tag{
  display: inline-block; margin-right: var(--s2); padding: 2px 9px; border-radius: var(--r-xs);
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; vertical-align: 1px;
  background: var(--bg-2); color: var(--muted);
}
.cf-tag.now{ background: var(--brand-tint); color: var(--brand-ink); }
.cf-foot{ margin-top: var(--s8); display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.cf-note{ font-size: 14.5px; color: var(--muted); }
@media (max-width: 700px){
  .cf-step{ grid-template-columns: 1fr; gap: var(--s3); padding: var(--s6) 0; }
  .cf-n{ font-size: 24px; }
}

/* =========================================================================
   Eröffnungsbühne
   Dunkler Grund im Farbklang der Wortmarke. Das Logo ist ein Iris-Violett-
   Verlauf; auf Weiß steht es allein da, auf diesem Grund gehört es dazu.
   ========================================================================= */
.opening{
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--kopf-h));
  padding-top: calc(var(--kopf-h) + clamp(40px, 5vw, 84px));
  padding-bottom: 0;
  background: #0A0D1C;
  color: #fff;
}
/* Kein Lichtschein, kein Raster. Eine ruhige Fläche. */
.opening-glow{ display: none; }

.opening-copy{ max-width: 760px; }
.opening h1{
  margin-top: var(--s5); color: #fff;
  font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.042em;
}
.opening .grad-text{
  background: linear-gradient(102deg, #A99BFF 0%, #6D5CF0 58%, #3A45E6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.opening-lead{
  margin-top: var(--s5); max-width: 58ch;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; color: rgba(255,255,255,.80);
}
.opening-actions{ display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }

.pill-dark{
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
}
.btn-outline{
  background: rgba(255,255,255,.07); color: #fff; border: 1.5px solid rgba(255,255,255,.30);
  backdrop-filter: blur(8px);
}
.btn-outline:hover{ background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.42); transform: translateY(-2px); }

/* --- Produktbühne: groß, angeschnitten, ragt in den nächsten Abschnitt --- */
.showcase{ position: relative; margin-top: clamp(48px, 6vw, 84px); }
.showcase-frame{
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid rgba(255,255,255,.14); border-bottom: 0;
  background: #fff; overflow: hidden;
  box-shadow: 0 -2px 0 rgba(255,255,255,.06), 0 40px 100px -30px rgba(0,0,0,.75);
}
.showcase-frame .browser-bar{ background: #F3F4FA; border-bottom: 1px solid var(--line); }
/* Unten angeschnitten: das Formular ist länger als der sichtbare Ausschnitt —
   genau das ist die Aussage (viele Felder, geführt statt endlos). */
.showcase-body{
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px) 0;
  max-height: clamp(320px, 42vw, 480px); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 100%);
  mask-image: linear-gradient(#000 62%, transparent 100%);
}
.showcase-tag{
  position: absolute; left: 50%; bottom: var(--s6); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(10,13,28,.72); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.86); white-space: nowrap;
}
.showcase-tag svg{ width: 14px; height: 14px; color: var(--ink); }

/* Kopfzeile liegt ungescrollt auf der dunklen Bühne */
body:has(.opening) .site-header:not(.scrolled) .brand-name{ color: #fff; }
body:has(.opening) .site-header:not(.scrolled) .nav-links a{ color: rgba(255,255,255,.72); }
body:has(.opening) .site-header:not(.scrolled) .nav-links a:hover{ color: #fff; background: rgba(255,255,255,.1); }
body:has(.opening) .site-header:not(.scrolled) .nav-cta .btn-primary{ background: #fff; color: var(--brand-ink); box-shadow: none; }
body:has(.opening) .site-header:not(.scrolled) .nav-cta .btn-primary:hover{ background: #EEF0FE; }
@media (max-width: 900px){
  body:has(.opening) .site-header:not(.scrolled) .menu-btn span,
  body:has(.opening) .site-header:not(.scrolled) .menu-btn span::before,
  body:has(.opening) .site-header:not(.scrolled) .menu-btn span::after{ background: #fff; }
  body.menu-open .site-header:not(.scrolled) .menu-btn span{ background: transparent; }
}
@media (max-width: 700px){
  .showcase-body{ max-height: 300px; padding-inline: var(--s5); }
  .showcase-tag{ white-space: normal; text-align: center; max-width: 82%; }
}

/* =========================================================================
   RESTRUKTURIERUNG 08/2026 — Kanzlei-Auftritt statt Software-Prospekt
   Vorbild: Kirkland & Ellis. Schwarz, Weiß, Grau; keine Farbverläufe im
   Hintergrund, keine Farbtupfer, keine weichen Schatten unter jeder Karte.
   Die Markenfarbe kommt nur noch an zwei Stellen vor: in der Wortmarke und
   auf der einen Handlungsschaltfläche. Genau das macht sie wertvoll.
   ========================================================================= */
:root{
  --bg:      #FFFFFF;
  --bg-alt:  #F4F4F5;
  --bg-2:    #EAEAEC;
  --ink:     #0A0A0B;
  --ink-2:   #35363A;
  --muted:   #71727A;
  --line:    #E3E3E6;
  --line-2:  #CBCBD0;
  --deep:    #0A0A0B;
  --deep-2:  #151518;
  --on-deep: #F2F2F3;
  --on-deep-2: #9A9AA2;
}

/* --- Dekor entfernen ---------------------------------------------------- */
.hero-aurora, .consult::before, .consult::after,
.cta-band::before, .compare-card.us::before{ display: none !important; }
.opening-glow{ display: none !important; }
.grad-soft, .mech .ic, .flow-node .ic, .safe .ic{ background: var(--bg-alt) !important; border-color: var(--line) !important; color: var(--ink) !important; }
.mint, .live-dot{ background: var(--ink) !important; }

/* Verläufe raus — bis auf die Wortmarke, die unverändert bleibt */
.btn-primary{ background: var(--brand) !important; box-shadow: none !important; }
.btn-primary:hover{ background: var(--brand-ink) !important; transform: none !important; box-shadow: none !important; }
.opening .grad-text, .grad-text{
  background: none !important; -webkit-text-fill-color: currentColor !important; color: inherit !important;
}
.opening .grad-text{ color: #fff !important; opacity: .42; }

/* Runde Formen zurücknehmen: Kanten statt Kapseln */
:root{ --r-xs: 2px; --r-sm: 3px; --r: 4px; --r-lg: 6px; --r-xl: 8px; --r-pill: 2px; }
.logo-mark{ border-radius: 8px; }           /* Wortmarke behält ihre Form */
.btn{ border-radius: 2px; }

/* Schatten aus — Flächen werden durch Linien getrennt, nicht durch Höhe */
.mech, .price-card, .compare-card, .faq-item, .fm-card, .safe, .flow-node,
.ab-pane, .demo-shot, .showcase-frame, .browser{
  box-shadow: none !important;
}
.demo-shot, .showcase-frame, .browser{ border: 1px solid var(--line) !important; }

/* Typografie: größer, enger, ruhiger */
h1{ letter-spacing: -0.038em; }
h2{ letter-spacing: -0.03em; }
.eyebrow{ font-family: var(--sans); font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.pill{ border-radius: 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================================
   Kopfzeile: Wortmarke — Termin — Menü. Sonst nichts.
   ========================================================================= */
.menu-btn{
  display: inline-flex !important; align-items: center; gap: 10px;
  padding: 9px 4px 9px 14px; background: none; border: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
}
.menu-btn em{ font-style: normal; letter-spacing: .02em; }
.menu-btn span{ position: relative; width: 20px; height: 1.5px; background: currentColor; display: block; transition: .3s var(--ease); }
.menu-btn span::before, .menu-btn span::after{
  content:""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: .3s var(--ease);
}
.menu-btn span::before{ top: -6px; } .menu-btn span::after{ top: 6px; }
body.menu-open .menu-btn span{ background: transparent; }
body.menu-open .menu-btn span::before{ top: 0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after{ top: 0; transform: rotate(-45deg); }
body.menu-open .menu-btn{ color: #fff; position: relative; z-index: 210; }
body:has(.opening) .site-header:not(.scrolled) .menu-btn{ color: #fff; }

/* =========================================================================
   Vollflächiges Menü
   ========================================================================= */
.site-menu{
  position: fixed; inset: 0; z-index: 200; background: var(--deep); color: #fff;
  display: grid; align-content: center;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  overflow-y: auto; padding-block: 120px var(--s8);
}
body.menu-open .site-menu{ opacity: 1; transform: none; pointer-events: auto; }
body.menu-open{ overflow: hidden; }
.menu-list{ display: grid; }
.menu-list a{
  display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(0,1.1fr); align-items: baseline; gap: var(--s5);
  padding: var(--s6) 0; border-top: 1px solid rgba(255,255,255,.14);
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.menu-list a:last-child{ border-bottom: 1px solid rgba(255,255,255,.14); }
.menu-list a:hover{ background: rgba(255,255,255,.04); padding-left: var(--s4); }
.mn-n{ font-family: var(--sans); font-size: 12px; letter-spacing: .16em; color: rgba(255,255,255,.42); }
.mn-t{ font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; color: #fff; }
.mn-d{ font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.58); }
.menu-foot{ margin-top: var(--s8); display: flex; align-items: center; gap: var(--s6); flex-wrap: wrap; }
.menu-mail{ font-size: 15px; color: rgba(255,255,255,.62); border-bottom: 1px solid rgba(255,255,255,.24); padding-bottom: 2px; }
.menu-mail:hover{ color: #fff; border-color: #fff; }
@media (max-width: 820px){
  .menu-list a{ grid-template-columns: 40px 1fr; gap: var(--s3) var(--s4); padding: var(--s5) 0; }
  .mn-d{ grid-column: 2; font-size: 14px; }
  /* Der Abstand oben richtet sich nach der Kopfzeile, nicht nach einer
     festen Zahl: mit den 104px von früher stand der erste Eintrag nach dem
     Höherlegen der Leiste nur noch 2px unter ihr. */
  .site-menu{ padding-block: calc(var(--kopf-h) + var(--s5)) var(--s7); }
}

/* --- Korrekturen nach dem Umbau ---------------------------------------- */
/* 1. Kopf-Schaltfläche auf dunklem Grund: Blau auf Schwarz war unlesbar.
      Gilt nur für den dunklen Kopf — auf der hellen Fassung mit Aufnahme
      wäre Weiß auf Weiß ebenso unlesbar, dort greift die Regel weiter unten. */
body:has(.opening):not(:has(.opening--foto)) .site-header:not(.scrolled) .nav-cta .btn-primary,
body.menu-open .nav-cta .btn-primary{
  background: #fff !important; color: var(--ink) !important;
}
body:has(.opening):not(:has(.opening--foto)) .site-header:not(.scrolled) .nav-cta .btn-primary:hover{ background: #E6E6E8 !important; }

/* 2. Kein halbdurchsichtiges Wort mehr in der Überschrift — einfarbig Weiß.
      Die frühere Verlaufsschrift ist im Schwarz-Weiß-Auftritt fehl am Platz. */
.opening .grad-text{ color: #fff !important; opacity: 1 !important; }

/* 3. Kopfzeile muss über dem Menü liegen, sonst verschwindet der
      Schließen-Knopf hinter der Fläche. */
body.menu-open .site-header{ z-index: 210; }
body.menu-open .site-header .brand-name{ color: #fff; }
body.menu-open .site-header.scrolled{ background: transparent; backdrop-filter: none; border-bottom-color: transparent; }

/* =========================================================================
   Verzeichnis und Fließtext — die beiden neuen Bausteine
   Vorbild: die Praxisgebiete-Seite von Kirkland. Reine Verweise in einer
   Liste, keine Karten, keine Beschreibungstexte, keine Symbole. Die Menge
   und die Genauigkeit der Angaben tragen den Abschnitt.
   ========================================================================= */
.lead-row{
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: clamp(24px, 5vw, 88px); align-items: end;
  padding-bottom: var(--s7); border-bottom: 1px solid var(--ink);
}
.lead-row h2{ margin: 0; }
.lead-row p{ font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 820px){
  .lead-row{ grid-template-columns: 1fr; gap: var(--s5); align-items: start; padding-bottom: var(--s6); }
}

.form-list{ margin: 0; padding: 0; list-style: none; }
.form-list li{ border-bottom: 1px solid var(--line); }
.form-list a{
  display: grid; grid-template-columns: 52px minmax(0,1fr) 150px 110px;
  align-items: baseline; gap: var(--s4);
  padding: var(--s5) 0; transition: padding-left .25s var(--ease), background .25s var(--ease);
}
.form-list a:hover{ background: var(--bg-alt); padding-left: var(--s4); }
.fl-n{ font-size: 12px; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.fl-t{ font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.7vw, 21px); letter-spacing: -0.02em; color: var(--ink); }
.fl-c{ font-size: 13.5px; color: var(--muted); }
.fl-f{ font-size: 13.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.list-foot{ margin-top: var(--s6); font-size: 15px; color: var(--muted); }
.list-foot a{ color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
@media (max-width: 860px){
  .form-list a{ grid-template-columns: 34px minmax(0,1fr) auto; gap: var(--s2) var(--s3); padding: var(--s4) 0; }
  .fl-c{ grid-column: 2; font-size: 12.5px; }
  .fl-f{ grid-column: 3; grid-row: 1; }
}

.prose-cols{
  margin-top: var(--s8);
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 5vw, 80px);
}
.prose-cols p{ font-size: 16.5px; line-height: 1.66; color: var(--ink-2); max-width: 60ch; }
.prose-cols p + p{ margin-top: var(--s5); }
.prose-cols strong{ color: var(--ink); font-weight: 600; }
.prose-cta{ margin-top: var(--s6) !important; padding-top: var(--s5); border-top: 1px solid var(--line); }
.prose-cta a{ color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 1px; cursor: pointer; }
@media (max-width: 820px){ .prose-cols{ grid-template-columns: 1fr; } }

/* --- Preise: Aufstellung statt Karten ---------------------------------- */
.opening-kicker{
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.52);
}
.price-row{
  margin-top: var(--s8); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.pr-label{
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s4);
}
.pr-figure{ display: flex; align-items: baseline; gap: var(--s3); }
.pr-amount{
  font-family: var(--display); font-weight: 700; font-size: clamp(52px, 6.5vw, 88px);
  line-height: .92; letter-spacing: -0.045em; color: var(--ink);
}
.pr-per{ font-size: 17px; color: var(--muted); }
.pr-sub{ margin-top: var(--s4); font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.pr-main .calc{ margin: var(--s6) 0; max-width: 420px; }
.pr-main .btn{ margin-top: var(--s2); }
.pr-list{ margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pr-list li{ padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.price-more{
  margin-top: var(--s9); padding-top: var(--s7); border-top: 1px solid var(--ink);
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 5vw, 80px);
}
.price-more p{ font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 56ch; }
.price-more strong{ color: var(--ink); font-weight: 600; }
.price-more a{ color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; white-space: nowrap; }
@media (max-width: 860px){
  .price-row, .price-more{ grid-template-columns: 1fr; }
}

/* --- Leistungsverzeichnis: Verweise, keine Kacheln --------------------- */
.svc-list{ margin: 0; padding: 0; list-style: none; }
.svc-list li{ border-bottom: 1px solid var(--line); }
.svc-list a{
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.5fr) 150px;
  gap: var(--s5); align-items: baseline;
  padding: var(--s6) 0; transition: padding-left .25s var(--ease), background .25s var(--ease);
}
.svc-list a:hover{ background: var(--bg-alt); padding-left: var(--s4); }
.sv-t{ font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -0.025em; color: var(--ink); }
.sv-d{ font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.sv-m{ font-size: 13.5px; color: var(--muted); text-align: right; }
@media (max-width: 860px){
  .svc-list a{ grid-template-columns: 1fr; gap: var(--s2); padding: var(--s5) 0; }
  .sv-m{ text-align: left; }
}

/* =========================================================================
   AUSBAU 08/2026 — die Unterseiten in dieselbe Ordnung
   Die Startseite war umgebaut, die Unterseiten nicht: dort standen weiterhin
   Kacheln mit Schatten, Kästen im Kasten und ein zweites Dunkel. Was hier
   folgt, überträgt die Ordnung der Startseite auf alle Seiten — ohne ein
   einziges Markup-Element zu verschieben, wo eine Regel genügt.
   ========================================================================= */

/* --- Ein Dunkel fürs ganze Haus ---------------------------------------
   Eröffnung, Menü, Schlussband und Fußzeile lagen auf drei verschiedenen
   Schwarztönen. Jetzt auf einem. */
:root{
  --night:      #0A0D1C;
  --night-line: rgba(255,255,255,.13);
}
.opening{ background: var(--night); }
.site-menu{ background: var(--night); }
.site-footer{ background: var(--night); }

/* --- Abschnittsköpfe: Titel links, Einordnung rechts, darunter die Linie
   Dieselbe Figur wie .lead-row auf der Startseite. Damit beginnt jeder
   Abschnitt auf jeder Seite gleich. */
.section-head, .section-head.center{
  max-width: none; margin-inline: 0;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: clamp(20px, 5vw, 88px); align-items: end;
  padding-bottom: var(--s7); border-bottom: 1px solid var(--ink);
  margin-bottom: var(--s8);
}
.section-head .eyebrow{ grid-column: 1; grid-row: 1; margin-bottom: var(--s3); }
.section-head h2{ grid-column: 1; grid-row: 2; margin: 0; }
.section-head p{
  grid-column: 2; grid-row: 2; align-self: end; margin: 0;
  font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 62ch;
}
@media (max-width: 820px){
  .section-head, .section-head.center{
    grid-template-columns: 1fr; gap: var(--s5); align-items: start; padding-bottom: var(--s6);
  }
  .section-head .eyebrow, .section-head h2, .section-head p{ grid-column: 1; }
  .section-head h2{ grid-row: 2; } .section-head p{ grid-row: 3; }
}

/* --- Merkmale: geteiltes Blatt statt sechs schwebender Kacheln --------- */
.features{ grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature{
  background: none; border: 0; border-radius: 0; box-shadow: none !important;
  border-top: 1px solid var(--line); padding: var(--s6) var(--s6) var(--s7) 0;
}
.feature:not(:nth-child(3n+1)){ border-left: 1px solid var(--line); padding-left: var(--s6); }
.feature:hover{ transform: none; box-shadow: none; }
.feature .ic{
  width: auto; height: auto; background: none !important; border: 0 !important;
  border-radius: 0; display: block; color: var(--ink) !important; margin-bottom: var(--s4);
}
.feature .ic svg{ width: 21px; height: 21px; }
.feature h3{ font-size: 17.5px; margin-bottom: var(--s2); }
.feature p{ font-size: 15px; line-height: 1.58; color: var(--muted); }
@media (max-width: 900px){
  .features{ grid-template-columns: repeat(2, 1fr); }
  .feature:not(:nth-child(3n+1)){ border-left: 0; padding-left: 0; }
  .feature:not(:nth-child(2n+1)){ border-left: 1px solid var(--line); padding-left: var(--s6); }
}
@media (max-width: 620px){
  .features{ grid-template-columns: 1fr; }
  .feature, .feature:not(:nth-child(2n+1)){ border-left: 0; padding: var(--s5) 0 var(--s6); }
}

/* --- Gegenüberstellungen: zwei Spalten, keine Kästen ------------------- */
.case{ background: none !important; border: 0 !important; border-radius: 0; padding: 0; box-shadow: none !important; }
.case-cols{ grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(28px, 5vw, 72px); }
.pane, .pane.now, .pane.next{
  background: none !important; border: 0 !important; border-radius: 0;
  border-top: 1px solid var(--ink) !important; padding: var(--s6) 0 0;
}
.pane h4{
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted) !important; margin-bottom: var(--s5);
}
.pane h4 svg{ display: none; }
.pane-list li{ padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.pane-list li:last-child{ border-bottom: 0; }
.pane-list li svg{ color: var(--ink); opacity: .45; }
.case-foot{ border-top: 1px solid var(--line); margin-top: var(--s7); padding-top: var(--s5); }

/* --- Schlussband: eine Fläche über die ganze Breite, kein Kärtchen ----- */
.section.closer{
  background: var(--night); color: rgba(255,255,255,.74);
  padding-block: clamp(64px, 8vw, 118px);
}
.section.closer .cta-band{
  background: none !important; border-radius: 0; padding: 0; overflow: visible; box-shadow: none;
}
.section.closer h2{ color: #fff; }
.section.closer .lead{ color: rgba(255,255,255,.74); }
.section.closer .eyebrow{ color: rgba(255,255,255,.52); }
.section.closer .eyebrow::before{ display: none; }
.cta-inner{ gap: clamp(32px, 6vw, 96px); }

/* Kontaktwege: geführte Zeilen statt drei getönter Kästchen */
.contact-tiles{ margin-top: var(--s7); gap: 0; }
.contact-tile{
  background: none !important; border: 0 !important; border-radius: 0;
  border-top: 1px solid var(--night-line) !important; padding: var(--s4) 0;
  display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: baseline; gap: var(--s4);
}
.contact-tile:last-child{ border-bottom: 1px solid var(--night-line) !important; }
.contact-tile .ic{ display: none; }
.contact-tile br{ display: none; }
.contact-tile > span:last-child{ display: contents; }
.contact-tile .ct-lbl{
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.46);
}
.contact-tile .ct-val{ font-family: var(--sans); font-weight: 500; font-size: 16px; color: #fff; }
a.contact-tile:hover .ct-val{ text-decoration: underline; text-underline-offset: 3px; }

/* Nebenspalte im Schlussband (z. B. „Was Sie danach haben“) */
.section.closer .stage{
  background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important;
  border-top: 1px solid var(--night-line) !important; padding: var(--s6) 0 0;
}
.section.closer .stage .st-tag{
  color: rgba(255,255,255,.46) !important; font-family: var(--sans); font-size: 11px;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.section.closer .stage h3{ color: #fff; font-size: 19px; margin: var(--s3) 0 var(--s5); }
.section.closer .stage li{
  color: rgba(255,255,255,.74) !important; padding: var(--s3) 0;
  border-bottom: 1px solid var(--night-line); font-size: 15.5px;
}
.section.closer .stage li:last-child{ border-bottom: 0; }
.section.closer .stage li svg{ color: rgba(255,255,255,.42); }

/* Das Anfrageformular ist auf dem dunklen Grund das einzige helle Objekt —
   und braucht deshalb keinen Schatten mehr, um sich abzuheben. */
.cform{ box-shadow: none !important; border: 1px solid var(--line); padding: clamp(24px, 3vw, 38px); }

/* --- Nachbesserungen am Abschnittskopf ---------------------------------
   1. gap galt für Zeilen wie für Spalten: zwischen Rubrik und Überschrift
      klaffte dieselbe Lücke wie zwischen den Spalten (bis 88 px).
   2. Der blaue Strich vor der Rubrik war der letzte Farbtupfer außerhalb
      von Wortmarke und Handlungsschaltfläche. */
.section-head, .section-head.center, .lead-row{
  column-gap: clamp(24px, 5vw, 88px); row-gap: var(--s3);
}
.eyebrow::before{ display: none; }
.eyebrow{ display: block; }
@media (max-width: 820px){
  .section-head, .section-head.center{ row-gap: var(--s4); }
  .lead-row{ row-gap: var(--s5); }
}

/* --- Abläufe: eine Kette, kein Kartenspiel -----------------------------
   Vier weiße Kärtchen in einem grauen Kasten, dazwischen Pfeile — das war
   ein Diagramm über einem Diagramm. Jetzt vier Spalten auf einem Blatt,
   getrennt durch dieselbe Haarlinie wie überall sonst. */
.pipe{
  background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0;
  padding: 0; gap: 0; align-items: stretch;
}
.pipe-step{
  background: none; border: 0; border-radius: 0; box-shadow: none !important;
  padding: var(--s5) var(--s5) var(--s6) 0; gap: 5px;
}
.pipe-step + .pipe-step,
.pipe-arrow + .pipe-step{ border-left: 1px solid var(--line); padding-left: var(--s5); }
.pipe-step .ic{
  width: auto; height: auto; background: none !important; border: 0 !important; border-radius: 0;
  display: block; color: var(--ink) !important; margin-bottom: var(--s3);
}
.pipe-step .ic svg{ width: 18px; height: 18px; }
.pipe-step .ttl{ font-size: 14.5px; }
.pipe-step .app{
  color: var(--muted) !important; font-weight: 500; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; padding-top: var(--s4);
}
.pipe-arrow{ display: none; }          /* die Linie erzählt die Reihenfolge */
.auto-block + .auto-block{ border-top: 1px solid var(--line); padding-top: var(--s8); }
@media (max-width: 780px){
  .pipe-step, .pipe-step + .pipe-step, .pipe-arrow + .pipe-step{
    border-left: 0; border-top: 1px solid var(--line); padding: var(--s4) 0 var(--s5);
  }
  .pipe > .pipe-step:first-child{ border-top: 0; }
}

/* --- Merkposten: Wörter, keine Kapseln --------------------------------- */
.tag-line{ display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s3); }
.tag{
  background: none !important; border: 0 !important; border-radius: 0; padding: 0;
  font-size: 14px; color: var(--ink-2);
}
.tag + .tag::before{ content: "·"; margin-right: var(--s5); color: var(--line-2); }

/* --- „Ihr Ablauf fehlt?“: ein Band, kein getönter Kasten --------------- */
.own-case{
  background: none !important; border: 0 !important; border-radius: 0 !important;
  border-top: 1px solid var(--ink) !important;
  padding: var(--s7) 0 0; margin-top: var(--s8);
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.own-case > .ic{ display: none; }
.own-case h3{ font-size: clamp(20px, 2vw, 25px); margin-bottom: var(--s3); }
.own-case p{ font-size: 15.5px; line-height: 1.62; color: var(--ink-2); max-width: 68ch; }
.own-case .btn{ align-self: center; }
@media (max-width: 760px){
  .own-case{ grid-template-columns: 1fr; gap: var(--s5); }
  .own-case .btn{ justify-self: start; }
}

/* Der „breathe“-Ring lag auf einem 34-px-Plättchen. Seit das Symbol frei
   steht, zeichnete er einen hellen Kasten quer durch die Spalte. */
.pipe-step.out .ic{ animation: none !important; box-shadow: none !important; }
.pipe-step .ic svg{ display: block; }

/* Die Ablaufnummer war ein lavendelfarbenes Plättchen mit blauer Ziffer —
   der letzte Kachelrest auf dieser Seite. */
.auto-num{
  width: auto; height: auto; border: 0 !important; background: none !important; border-radius: 0;
  color: var(--muted) !important; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; font-variant-numeric: tabular-nums; align-self: baseline;
}
.auto-head{ align-items: baseline; gap: var(--s4); }
.auto-lead{ margin-left: 0; }
/* Das Symbol stand mittig über linksbündigem Text: place-items:center stammte
   noch vom früheren 34-px-Plättchen. */
.pipe-step .ic, .feature .ic, .mech .ic{ place-items: start; justify-items: start; }

/* --- Gegenüberstellung: zwei Spalten auf einem Blatt -------------------
   Ein grauer und ein schwarzer Kasten nebeneinander — der schwarze war
   mitten auf der Seite das einzige dunkle Objekt und nahm dem Schlussband
   seine Wirkung. Jetzt trennt eine Linie, was vorher zwei Kästen trennten;
   den Unterschied trägt die Schrift, nicht die Fläche. */
.compare{ gap: 0; }
.compare-card, .compare-card.them, .compare-card.us{
  background: none !important; border: 0 !important; border-radius: 0;
  border-top: 1px solid var(--ink) !important; padding: var(--s6) var(--s7) 0 0;
  color: inherit !important;
}
.compare-card.us{ border-left: 1px solid var(--line) !important; padding-left: var(--s7); }
.compare-card h3, .compare-card.them h3, .compare-card.us h3{ color: var(--muted) !important; }
.compare-card.us h3{ color: var(--ink) !important; }
.compare-list li, .compare-card.us .compare-list li{
  border-top-color: var(--line) !important; color: var(--muted); padding: var(--s3) 0;
}
.compare-card.us .compare-list li{ color: var(--ink-2) !important; }
.compare-list .ic, .them .ic, .us .ic{
  background: none !important; border-radius: 0; width: 16px; height: 16px;
  color: var(--line-2) !important; margin-top: 3px;
}
.compare-card.us .ic{ color: var(--ink) !important; }
.compare-list .ic svg{ width: 15px; height: 15px; }
@media (max-width: 800px){
  .compare-card.us{ border-left: 0 !important; padding-left: 0; margin-top: var(--s6); }
  .compare-card{ padding-right: 0; }
}

/* --- Formularverzeichnis auf der Unterseite ---------------------------
   Vorher 16 weiße Kacheln mit anderen Namen als auf der Startseite. Jetzt
   dieselbe Liste, aus derselben Quelle — samt der ausgezählten Feldzahlen.
   Die Filterleiste bleibt in Funktion (.form-card[data-cat] + .hide). */
.forms-grid.form-list{ display: block; margin: 0; padding: 0; list-style: none; }
.forms-grid.form-list li.form-card{
  background: none !important; border: 0 !important; border-radius: 0;
  box-shadow: none !important; transform: none !important;
  border-bottom: 1px solid var(--line) !important;
}
.forms-grid.form-list li:hover{ background: rgba(10,10,11,.03) !important; }
.forms-grid.form-list li.hide{ display: none; }
.forms-grid.form-list li{
  display: grid; grid-template-columns: 52px minmax(0,1fr) 190px 110px;
  align-items: baseline; gap: var(--s4); padding: var(--s5) 0;
}
.forms-grid.form-list li.form-card:first-child{ border-top: 1px solid var(--line) !important; }
@media (max-width: 860px){
  .forms-grid.form-list li{ grid-template-columns: 34px minmax(0,1fr) auto; gap: var(--s2) var(--s3); padding: var(--s4) 0; }
  .forms-grid.form-list .fl-c{ grid-column: 2; font-size: 12.5px; }
  .forms-grid.form-list .fl-f{ grid-column: 3; grid-row: 1; }
}

/* Filterleiste: Wörter mit Unterstreichung statt Kapseln */
.filter-chips{ display: flex; flex-wrap: wrap; gap: var(--s5); margin-bottom: var(--s6); }
.chip{
  background: none !important; border: 0 !important; border-radius: 0; padding: 0 0 4px;
  font-family: var(--sans); font-size: 14.5px; color: var(--muted);
  border-bottom: 1px solid transparent !important; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover{ color: var(--ink); }
.chip.active{
  color: var(--ink) !important; font-weight: 600;
  border-bottom-color: var(--ink) !important;
}

/* Schlussband und Fußzeile liegen jetzt auf demselben Dunkel. Damit die
   Fußzeile nicht im Band verschwindet, trennt sie eine Haarlinie — und das
   Band braucht unten weniger Luft, weil das Dunkel ohnehin weiterläuft. */
.section.closer{ padding-bottom: clamp(44px, 5vw, 76px); }
.site-footer{ border-top: 1px solid var(--night-line); }

/* Auf schmalen Schirmen sprengte die E-Mail-Adresse die Wertspalte: eine
   Zeichenkette ohne Trennstelle, 150 px Beschriftung daneben. */
@media (max-width: 720px){
  .contact-tile{ grid-template-columns: 1fr; gap: 3px; }
}
.contact-tile .ct-val{ overflow-wrap: anywhere; }

/* --- Lesbarkeit nachgemessen ------------------------------------------
   Auf den grau hinterlegten Abschnitten (#F4F4F5) kam das Grau der
   Nebentexte auf 4,35:1 und blieb damit unter der Schwelle von 4,5:1.
   Ein Hauch dunkler, gleicher Farbton — überall gültig. */
:root{ --muted: #6B6C74; }
/* Beschriftungen auf dunklem Grund lagen bei 46 % Deckkraft ebenfalls knapp
   darunter. */
.contact-tile .ct-lbl,
.section.closer .stage .st-tag{ color: rgba(255,255,255,.60) !important; }

/* Die drei Leistungszeilen führen auf eigene Seiten, sahen aber aus wie
   Fließtext. Ein zurückhaltender Pfeil sagt, dass es weitergeht. */
.svc-list .sv-t::after{
  content: "→"; display: inline-block; margin-left: .45em; color: var(--line-2);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.svc-list a:hover .sv-t::after{ color: var(--ink); transform: translateX(4px); }

/* Unter der Kopflinie stand eine zweite, gleich starke Linie — doppelte
   Trennung an derselben Stelle. Die Spalten brauchen nur den Seitenstrich. */
.compare-card, .compare-card.them, .compare-card.us{ border-top: 0 !important; padding-top: 0; }

/* --- Gegenüberstellung „ausfüllen statt abbrechen“ ---------------------
   Zwei getönte Kästen, in jedem eine weitere gerahmte Fläche. Der Rahmen
   gehört der Abbildung — sie zeigt ein Formular —, nicht dem Textblock
   darüber. Also fällt der äußere weg. */
.ab-pane, .ab-pane.bad, .ab-pane.good{
  background: none !important; border: 0 !important; border-radius: 0;
  border-top: 1px solid var(--ink) !important; padding: var(--s6) 0 0;
}
.ab-tag, .ab-pane.bad .ab-tag, .ab-pane.good .ab-tag{
  background: none !important; border-radius: 0; padding: 0; margin-bottom: var(--s4);
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em; color: var(--muted) !important;
}
.ab-pane.good .ab-tag{ color: var(--ink) !important; }
.ab-pane h3{ font-size: 19px; }
.ab-vis{ margin-top: var(--s6); background: #fff; border: 1px solid var(--line); }
.abandon{ gap: clamp(28px, 5vw, 72px); }

/* =========================================================================
   NEUBAU 08/2026 — das Erzeugnis auf die Seite
   Bis hierher zeigte die Startseite eine nachgebaute Formular-Attrappe aus
   grauen Balken. Jetzt steht dort ein Bildschirmfoto des ausgelieferten
   Formulars, und die Bedingungslogik lässt sich anfassen statt behaupten.
   ========================================================================= */

/* --- Bühne: das Produkt in voller Breite, unter die Kante laufend -------- */
.opening{ padding-bottom: 0; }
.opening-copy{ max-width: 900px; }
.stage-wrap{ margin-top: clamp(44px, 6vw, 88px); }
.stage{
  margin: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); border-bottom: 0; background: #fff;
  box-shadow: 0 -1px 0 rgba(255,255,255,.06), 0 48px 120px -40px rgba(0,0,0,.8);
}
.stage-chrome{
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: #F3F4F6; border-bottom: 1px solid var(--line);
}
.stage-chrome .dot{ width: 9px; height: 9px; border-radius: 50%; background: #D3D5DB; flex: none; }
.stage-url{
  margin-left: 10px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line);
  border-radius: 3px; padding: 5px 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stage-url svg{ width: 12px; height: 12px; flex: none; }
/* Unten angeschnitten: das Formular ist länger als der Ausschnitt — genau
   das ist die Aussage. */
.stage img{
  display: block; width: 100%; height: auto;
  max-height: clamp(300px, 40vw, 520px); object-fit: cover; object-position: top center;
  -webkit-mask-image: linear-gradient(#000 68%, transparent 100%);
          mask-image: linear-gradient(#000 68%, transparent 100%);
}

/* --- Der Beweis: bedienbare Miniatur + gemessene Zahl -------------------- */
.proof-stage{
  margin-top: var(--s9); display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.proof-form{ border-top: 1px solid var(--ink); padding-top: var(--s6); }
.pf-head{
  display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--s6);
}
.pf-field + .pf-field, .pf-cond > .pf-field:first-child{ margin-top: var(--s5); }
.pf-label{ display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: var(--s3); }
.pf-choice{ display: flex; flex-wrap: wrap; gap: 0; }
.pf-choice button{
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-2);
  padding: 9px 16px; background: #fff; border: 1px solid var(--line); margin-left: -1px;
  cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.pf-choice button:first-child{ margin-left: 0; }
.pf-choice button:hover{ background: var(--bg-alt); z-index: 1; position: relative; }
.pf-choice button.on{
  background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; z-index: 2; position: relative;
}
.pf-choice.sm button{ padding: 7px 18px; font-size: 14px; }
.pf-yesno{ display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: var(--s4); }
.pf-yesno .pf-label{ margin-bottom: 0; font-weight: 500; }
.pf-fake{
  padding: 10px 14px; border: 1px solid var(--line); background: #fff;
  font-size: 15px; color: var(--muted); max-width: 320px;
}

/* Bedingte Blöcke: eingeblendet, nicht eingeschoben — die Höhe animiert,
   damit sichtbar wird, dass etwas dazukommt. */
.pf-cond{
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .42s var(--ease), opacity .3s var(--ease), margin .42s var(--ease);
  margin-top: 0;
}
.pf-cond > *{ overflow: hidden; }
.pf-cond.show{ grid-template-rows: 1fr; opacity: 1; margin-top: var(--s5); }
.pf-cond.pf-block.show{ margin-top: var(--s6); }
.pf-block > *{ border-left: 2px solid var(--ink); padding: var(--s2) 0 var(--s2) var(--s5); }
.pf-blocktitle{ display: block; font-family: var(--display); font-weight: 600; font-size: 17px; }
.pf-blocknote{ font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 4px; max-width: 54ch; }
.pf-blockcount{
  display: inline-block; margin-top: var(--s3); font-family: var(--sans); font-size: 11px;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}

.proof-meter{ border-top: 1px solid var(--ink); padding-top: var(--s6); }
.pm-n{
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(64px, 8vw, 104px); line-height: .9; letter-spacing: -0.05em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.pm-n.tick{ animation: pmTick .45s var(--ease); }
@keyframes pmTick{ 0%{ opacity: .25; transform: translateY(6px); } 100%{ opacity: 1; transform: none; } }
.pm-l{ display: block; margin-top: var(--s4); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.pm-note{ margin-top: var(--s4); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); min-height: 4.6em; }
.pm-src{ margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@media (max-width: 860px){
  .proof-stage{ grid-template-columns: 1fr; gap: var(--s7); }
  .pf-yesno{ grid-template-columns: 1fr; align-items: start; gap: var(--s3); }
  .pm-note{ min-height: 0; }
}

/* Der Aufklapp-Trick verlangt genau ein Kind: grid-template-rows greift nur
   auf die erste Zeile, weitere Kinder behielten ihre volle Höhe. */
.pf-cond > .pf-inner{ overflow: hidden; min-height: 0; }
.pf-cond .pf-field:first-child{ margin-top: 0; }
/* Frage und Antwort standen bis zu 600 px auseinander. */
.pf-yesno{ max-width: 620px; }
.pf-field .pf-choice{ max-width: 620px; }

/* Auf dem Telefon stand die Zahl unter dem Formular — man tippte, ohne die
   Wirkung zu sehen. Sie steht jetzt darüber und liegt beim Scrollen an. */
@media (max-width: 860px){
  .proof-meter{
    order: -1; position: sticky; top: 64px; z-index: 3;
    background: var(--bg); padding-bottom: var(--s4);
    display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center;
    column-gap: var(--s5); row-gap: var(--s3);
  }
  .pm-n{ font-size: 56px; }
  .pm-l{ margin-top: 0; }
  .pm-note{ grid-column: 1 / -1; margin-top: 0; }
  .pm-src{ grid-column: 1 / -1; }
  .proof-stage{ gap: var(--s5); }
}

/* --- Drei gebaute Auftritte nebeneinander (Startseite) ------------------ */
.au-raster{
  margin-top: var(--s9);
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px, 2.6vw, 40px);
}
.au-kachel{ display: block; }
.au-bild{
  display: block; overflow: hidden; background: #fff; border: 1px solid var(--line);
  aspect-ratio: 3/4;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.au-bild img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
              transition: transform .7s var(--ease); }
.au-kachel:hover .au-bild{ transform: translateY(-8px); box-shadow: 0 40px 70px -32px rgba(10,10,11,.45); border-color: var(--line-2); }
.au-kachel:hover .au-bild img{ transform: scale(1.025); }
.au-fuss{ display: block; padding-top: var(--s4); }
.au-t{ display: block; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.au-g{ display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
@media (max-width: 820px){ .au-raster{ grid-template-columns: 1fr; gap: var(--s7); } }

/* =========================================================================
   Vorgeführter Ablauf — die Automatisierung läuft ab, statt beschrieben
   zu werden. Die Schritte erscheinen nacheinander; eine Linie wächst mit.
   ========================================================================= */
.lauf{ margin-top: var(--s9); position: relative; }
.lauf-liste{
  list-style: none; margin: 0; padding: 0;
  /* Ein Wert bestimmt, wo Punkt und Spur liegen. Vorher hingen beide an
     eigenen Zahlen — die Spur bei 96 px, der Punkt bei 102 px — und die Spur
     lief oben und unten über den ersten und letzten Punkt hinaus. */
  --spalte-1: 76px;
  --punktfeld: 26px;
  --spur-x: calc(var(--spalte-1) + var(--s4) + var(--punktfeld) / 2);
  --spur-y: calc(var(--s5) + var(--punktfeld) / 2);
}

.lauf-schritt{
  position: relative;
  display: grid; grid-template-columns: var(--spalte-1) var(--punktfeld) minmax(0,1fr) auto;
  gap: var(--s4); align-items: baseline;
  padding: var(--s5) 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(8px);
  transition: opacity .55s var(--ease), transform .55s cubic-bezier(.16,1,.3,1);
}
.lauf-schritt.da{ opacity: 1; transform: none; }

/* Die Spur wird je Schritt gezeichnet und endet dadurch zwangsläufig am
   ersten und letzten Punkt. Der schwarze Teil wächst mit dem Schritt. */
.lauf-schritt::before, .lauf-schritt::after{
  content: ""; position: absolute; left: var(--spur-x); width: 1px;
  transform: translateX(-50%); top: 0; bottom: 0;
}
.lauf-schritt::before{ background: var(--line); }
.lauf-schritt::after{
  background: var(--ink); transform: translateX(-50%) scaleY(0); transform-origin: 50% 0;
  transition: transform .5s var(--ease);
}
.lauf-schritt.da::after{ transform: translateX(-50%) scaleY(1); }
.lauf-schritt:first-child::before, .lauf-schritt:first-child::after{ top: var(--spur-y); }
.lauf-schritt:last-child::before, .lauf-schritt:last-child::after{ bottom: calc(100% - var(--spur-y)); }

.ls-zeit{
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums;
  justify-self: end; padding-top: 3px;
}
/* Der Punkt sitzt in einem Feld fester Höhe und hängt nicht mehr an der
   Schriftlinie — sein Mittelpunkt liegt immer auf --spur-y. */
.ls-punkt{
  position: relative; z-index: 1; align-self: start; justify-self: center;
  width: var(--punktfeld); height: var(--punktfeld);
  display: grid; place-items: center; border: 0; background: none; margin: 0; border-radius: 0;
}
.ls-punkt::before{
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 5px var(--bg);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.lauf-schritt.da .ls-punkt::before{ background: var(--ink); border-color: var(--ink); }
.ton .ls-punkt::before, .abs-ton .ls-punkt::before{ box-shadow: 0 0 0 5px var(--bg-alt); }

.ls-text{ font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ls-text b{ display: block; font-family: var(--display); font-weight: 600; font-size: 17.5px;
            letter-spacing: -0.02em; color: var(--ink); margin-bottom: 3px; }
.ls-quelle{
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-align: right; white-space: nowrap; padding-top: 4px;
}
.lauf-fuss{ margin-top: var(--s6); display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.lauf-neu{
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
  background: none; border: 1px solid var(--line-2); padding: 9px 18px; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lauf-neu:hover{ background: var(--bg-alt); border-color: var(--ink); }
.lauf-note{ font-size: 14.5px; color: var(--muted); }

@media (max-width: 760px){
  .lauf-liste{ --spalte-1: 0px; --spur-x: calc(var(--punktfeld) / 2); }
  .lauf-schritt{ grid-template-columns: var(--punktfeld) minmax(0,1fr); gap: var(--s2) var(--s4); }
  .ls-punkt{ grid-row: 1; grid-column: 1; }
  .ls-zeit{ grid-row: 1; grid-column: 2; justify-self: start; }
  .ls-text{ grid-column: 2; }
  .ls-quelle{ grid-column: 2; text-align: left; padding-top: var(--s2); }
}
@media (prefers-reduced-motion: reduce){
  .lauf-schritt{ opacity: 1 !important; transform: none !important; }
  .lauf-schritt::after{ transition: none; transform: translateX(-50%) scaleY(1); }
}

/* Die Eröffnung braucht unten Luft: seit das Produktbild dort weg ist,
   klebten die Schaltflächen an der Kante des dunklen Feldes. */
.opening{ padding-bottom: clamp(72px, 9vw, 132px); }
.stage-wrap{ margin-top: 0; }

/* =========================================================================
   Formulare nach Rechtsgebiet
   Sechzehn Zeilen untereinander liest niemand. Fünf Bündel mit einer großen
   Zahl davor beantworten die einzige Frage, die zählt: „Ist mein Feld dabei?“
   ========================================================================= */
.gb-raster{
  margin-top: var(--s9);
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0;
  border-top: 1px solid var(--ink);
}
.gb{ padding: var(--s6) var(--s5) var(--s7) 0; border-left: 1px solid var(--line); }
.gb:first-child{ border-left: 0; }
.gb:not(:first-child){ padding-left: var(--s5); }
.gb-n{
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.05em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.gb-t{
  margin-top: var(--s4); font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.gb-l{ list-style: none; margin: var(--s5) 0 0; padding: 0; }
.gb-l li{
  font-size: 15px; line-height: 1.45; color: var(--ink-2);
  padding: var(--s3) 0; border-top: 1px solid var(--line);
}
.gb-l li:first-child{ border-top: 0; padding-top: 0; }
.gb-fuss{
  margin-top: var(--s7); display: flex; gap: var(--s4); flex-wrap: wrap;
  font-size: 15.5px; color: var(--muted);
}
.gb-fuss a{ color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; cursor: pointer; }
@media (max-width: 1000px){
  .gb-raster{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .gb:nth-child(3n+1){ border-left: 0; padding-left: 0; }
}
@media (max-width: 680px){
  .gb-raster{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gb{ border-left: 0; padding-left: 0 !important; }
  .gb:nth-child(n+3){ border-top: 1px solid var(--line); padding-top: var(--s5); }
}
@media (max-width: 420px){ .gb-raster{ grid-template-columns: 1fr; } }
/* Lange Formularnamen ragten über die Spaltenlinie hinaus. */
.gb-l li{ overflow-wrap: break-word; hyphens: auto; padding-right: var(--s4); }

/* =========================================================================
   Was die Formulare können — vier gezeichnete Punkte
   Vier Absätze Fließtext verlangten zu viel Lesearbeit. Jetzt trägt jede
   Aussage eine kleine Zeichnung, die sie zeigt; der Text darunter ist auf
   zwei Sätze gekürzt. Die Zeichnungen sind reines CSS — keine Bilder.
   ========================================================================= */
.kn-raster{
  margin-top: var(--s9);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0;
}
.kn{ padding: 0 var(--s5) 0 0; border-left: 1px solid var(--line); }
.kn:first-child{ border-left: 0; }
.kn:not(:first-child){ padding-left: var(--s5); }
.kn h3{ font-size: 17px; letter-spacing: -0.02em; margin-bottom: var(--s3); }
.kn p{ font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.kn-bild{
  height: 132px; margin-bottom: var(--s5); padding: var(--s4);
  background: var(--bg-alt); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 7px; overflow: hidden;
}

/* Die Zeichnungen zeigen Ausschnitte des echten Produkts statt Platzhalter
   (30.10.2026). Zweite Fassung: größer (10 px Schrift las sich wie ein
   Drahtgitter), weiße „Blätter“ auf getöntem Grund als gemeinsame Sprache,
   und Karte 1 bewegt sich — „Ihr Erscheinungsbild“ zeigt man am besten,
   indem dasselbe Formular das Haus wechselt. */
.kn-bild{ height: 184px; padding: var(--s4); gap: 10px; }

/* 1 — Erscheinungsbild: ein Formular, drei Häuser im Wechsel (je 3 s).
   Farbe und Schrift springen über Eigenschaften, die Namen blenden über. */
.kn-marke{ align-items: center; justify-content: center; }
.km-form{
  width: 100%; max-width: 236px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 8px 18px -14px rgba(11,16,32,.5);
  --ton: #001E44; --schrift: "Inter", var(--sans);
}
.km-kopf{ display: grid; padding: 8px 10px; background: var(--ton); color: #fff; }
.km-name{
  grid-area: 1 / 1; display: flex; align-items: center; gap: 7px;
  font-family: var(--schrift); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.km-name b{
  width: 17px; height: 17px; display: grid; place-items: center; flex: none;
  border: 1.5px solid rgba(255,255,255,.8); font-size: 10px; font-weight: 700;
}
.km-name + .km-name{ opacity: 0; }
.km-rumpf{ display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; padding: 10px; align-items: end; }
.km-l{ grid-column: 1 / -1; font-family: var(--schrift); font-size: 11.5px; color: var(--ink-2); }
.km-f{
  display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 8px;
  border: 1px solid var(--line-2); font-family: var(--schrift); font-size: 11.5px; color: var(--ink);
}
.km-f i{ width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
.km-k{ height: 26px; display: grid; place-items: center; padding: 0 12px; background: var(--ton); color: #fff; font-family: var(--schrift); font-size: 11.5px; }
.km-punkte{ display: flex; gap: 5px; }
.km-punkte i{ width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.km-punkte i:first-child{ background: var(--ink); }
/* Alles wechselt im selben Augenblick, während die Karte kurz ausgeblendet
   ist. Vorher blendeten die Namen weich über, Farbe und Schrift sprangen aber
   hart — dazwischen standen zwei Namen übereinander oder ein Name im
   falschen Haus. Jetzt springen alle drei Dinge per steps(), und kmBlende
   (Takt 3 s = ein Haus) verdeckt den Sprung. */
@media (prefers-reduced-motion: no-preference){
  .km-form{ animation: kmHaus 9s steps(1, end) infinite, kmBlende 3s ease-in-out infinite; }
  .km-name{ animation: kmName 9s steps(1, end) infinite; }
  .km-name:nth-child(2){ animation-delay: -6s; }
  .km-name:nth-child(3){ animation-delay: -3s; }
  .km-punkte i{ animation: kmPunkt 9s steps(1, end) infinite; background: var(--line-2); }
  .km-punkte i:nth-child(2){ animation-delay: -6s; }
  .km-punkte i:nth-child(3){ animation-delay: -3s; }
  @keyframes kmHaus{
    0%      { --ton: #001E44; --schrift: "Inter", var(--sans); }
    33.333% { --ton: #22503B; --schrift: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
    66.666% { --ton: #7B2D3B; --schrift: var(--display); }
  }
  @keyframes kmName{ 0%{ opacity: 1; } 33.333%{ opacity: 0; } }
  @keyframes kmPunkt{ 0%{ background: var(--ink); } 33.333%{ background: var(--line-2); } }
  @keyframes kmBlende{ 0%{ opacity: 0; } 8%, 92%{ opacity: 1; } 100%{ opacity: 0; } }
}

/* Gemeinsame Regel (Fassung 30.10.2026 spät): jede Zeichnung ist EINE
   Komposition, waagerecht und senkrecht mittig, nichts hängt außerhalb.
   Und jede hat eine eigene Form — vorher waren alle vier weiße Rechtecke mit
   Zeilen darin, unterschiedlich groß und unterschiedlich gesetzt.
     1 Formularkarte (der eine echte „Bildschirm“)
     2 Typografie ohne Kasten
     3 zwei Papiere
     4 waagerechter Zeitstrahl auf dem Grund */
.kn-schritte, .kn-daten, .kn-verlauf{ align-items: center; justify-content: center; padding: var(--s4); }

/* 2 — Führung: die ganze Abfolge auf einen Blick — sechs benannte Abschnitte,
   einer erledigt (gespeichert), einer aktuell, am Ende die Prüfseite. Vorher
   „Schritt 2 von 8 · Angaben zum Verkäufer“: ohne die Abfolge sagte der
   einzelne Abschnittsname nichts. */
.ks-satz{ position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 150px; }
.ks-satz::before{ content: ""; position: absolute; left: 7.5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.ks-z{ position: relative; display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.ks-z b{
  flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); border: 1.5px solid var(--line-2); font-size: 8.5px; font-weight: 700; color: var(--muted);
}
.ks-z.fertig{ color: var(--ink-2); }
.ks-z.fertig b{ background: var(--ink); border-color: var(--ink); color: #fff; }
.ks-z.jetzt{ color: var(--ink); font-weight: 700; }
.ks-z.jetzt b{ background: #fff; border-color: var(--brand); color: var(--brand); }

/* 3 — Angaben: Betreff und zwei Papiere — Datenblatt und XNotar-Datei, wie
   sie das Backend anhängt (server.js). Blau nur im Ungelesen-Punkt. */
.kd-satz{ display: flex; flex-direction: column; align-items: center; gap: 14px; }
.kd-betreff{ display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.kd-betreff i{ flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.kd-dateien{ display: flex; gap: 22px; }
.kd-datei{ display: flex; flex-direction: column; align-items: center; gap: 7px; }
.kd-datei small{ font-size: 10.5px; color: var(--muted); }
.kd-papier{
  position: relative; width: 52px; height: 66px; padding: 14px 9px 0; display: flex; flex-direction: column; gap: 5px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: 0 8px 18px -14px rgba(11,16,32,.5);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.kd-papier::after{ content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 12px; background: var(--line); }
.kd-papier i{ height: 3px; background: var(--line); }
.kd-papier i.k{ width: 60%; }
.kd-papier b{
  position: absolute; left: 6px; bottom: 7px; font-size: 7.5px; font-weight: 700; letter-spacing: .05em;
  padding: 1px 4px; border: 1px solid var(--line-2); color: var(--ink-2); background: #fff;
}

/* 4 — Datenschutz als waagerechter Verlauf, wie ihn das Cockpit führt:
   eingegangen → zugestellt → gelöscht (juvara-forms-backend/server.js,
   loeschen). Blau nur im letzten Punkt. */
.kn-verlauf{ padding-inline: 8px; }
.kv-satz{ display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 250px; }
.kv-linie{ position: relative; display: flex; justify-content: space-between; width: 100%; }
.kv-linie::before{ content: ""; position: absolute; left: 16%; right: 16%; top: 7px; height: 1.5px; background: var(--line-2); }
.kv-punkt{ position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kv-punkt i{ width: 15px; height: 15px; border-radius: 50%; background: var(--bg-alt); border: 1.5px solid var(--ink-2); margin-bottom: 8px; }
.kv-punkt b{ font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.kv-punkt time{ font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.kv-ende b{ color: var(--ink); font-weight: 700; }
.kv-ende i{ background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(58,69,230,.12); }
.kn p.kn-recht{ margin-top: var(--s3); font-size: 12.5px; line-height: 1.5; }

/* Vier Spalten erst ab 1240 px: darunter wurden die Blätter so schmal,
   dass Abschnittsnamen und Angaben abgeschnitten wurden. */
@media (max-width: 1240px){
  .kn-raster{ grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: var(--s7); }
  .kn:nth-child(2n+1){ border-left: 0; padding-left: 0; }
}
@media (max-width: 620px){
  .kn-raster{ grid-template-columns: 1fr; }
  .kn{ border-left: 0; padding: 0 0 var(--s6); }
  .kn + .kn{ border-top: 1px solid var(--line); padding-top: var(--s6); }
}
/* Jeder Schritt der Vorführung nennt den Ablauf, zu dem er gehört —
   sonst bleibt offen, was die Aufzeichnung mit den vier Abläufen zu tun hat. */
.ls-ablauf{
  display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
/* .lead-row hatte keine Regel für eine Rubrik: sie landete als erstes
   Rasterelement links und schob Überschrift und Absatz auseinander. */
.lead-row .eyebrow{ grid-column: 1; grid-row: 1; margin-bottom: var(--s3); }
.lead-row:has(.eyebrow) h2{ grid-column: 1; grid-row: 2; }
.lead-row:has(.eyebrow) p{ grid-column: 2; grid-row: 2; }
@media (max-width: 820px){
  .lead-row:has(.eyebrow) h2{ grid-column: 1; grid-row: 2; }
  .lead-row:has(.eyebrow) p{ grid-column: 1; grid-row: 3; }
}

/* --- Drei Entwürfe: Farbprobe, Beschreibung, Verweis ---------------------
   Kein Bildschirmfoto: eine schmale Farb- und Schriftprobe genügt, um die
   Handschriften zu unterscheiden — der Rest steht in den Seiten selbst. */
.ew-liste{ margin: var(--s9) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ew-liste li{ border-bottom: 1px solid var(--line); }
.ew-liste a{
  display: grid; grid-template-columns: 132px minmax(0,1fr) auto; gap: clamp(20px, 3vw, 44px);
  align-items: center; padding: var(--s6) 0;
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.ew-liste a:hover{ background: var(--bg-alt); padding-left: var(--s4); }
.ew-probe{ display: grid; grid-template-columns: repeat(3, 1fr); height: 62px; border: 1px solid var(--line); }
.ew-probe i{ display: block; }
.ew-kanzlei .ew-p1{ background: #0E1B2A; }    .ew-kanzlei .ew-p2{ background: #A8834A; }    .ew-kanzlei .ew-p3{ background: #F4F3F0; }
.ew-wirtschaft .ew-p1{ background: #123C6B; } .ew-wirtschaft .ew-p2{ background: #B4472F; } .ew-wirtschaft .ew-p3{ background: #F5F6F8; }
.ew-studio .ew-p1{ background: #161514; }     .ew-studio .ew-p2{ background: #B4552F; }     .ew-studio .ew-p3{ background: #EBE6DF; }
.ew-t{ display: block; font-family: var(--display); font-weight: 600; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.025em; color: var(--ink); }
.ew-d{ display: block; margin-top: 5px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 64ch; }
.ew-o{ font-size: 13.5px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; white-space: nowrap; }
@media (max-width: 760px){
  .ew-liste a{ grid-template-columns: 84px minmax(0,1fr); gap: var(--s4); }
  .ew-o{ grid-column: 2; justify-self: start; }
}

/* --- Formulare nach Gebiet: ohne Trennstriche in den Listen -------------
   Die Haarlinie unter jedem Formularnamen ergab ein Gitter aus Linien.
   Der Abstand trennt genauso gut, und die Spalte wird ruhiger. */
.gb-l li{ border-top: 0 !important; padding: 3px 0; }
.gb-l li:first-child{ padding-top: 0; }
.gb-l{ margin-top: var(--s4); display: grid; gap: 9px; }
.gb-l li{ padding: 0; }
.gb{ padding-bottom: var(--s6); }

/* --- Rubriken sichtbarer -----------------------------------------------
   „ONLINE-FORMULARE“ in Grau bei 11 px hat niemand gelesen. Jetzt in der
   Farbe der Wortmarke, etwas größer, mit einem kurzen Strich davor. */
.eyebrow, .section-head .eyebrow, .lead-row .eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink);
}
.eyebrow::before{
  display: block; content: ""; width: 18px; height: 2px; background: var(--brand); flex: none;
}
.section.closer .eyebrow{ color: #A9B0F2; }
.section.closer .eyebrow::before{ background: #A9B0F2; }
.kicker, .opening-kicker{ color: rgba(255,255,255,.72); }

/* --- Schrittwechsel im Formular sichtbar machen --------------------------
   Bisher sprang das Formular ohne Vorwarnung zu „Verkäufer“. Jetzt legt
   sich für einen Moment ein Hinweis über den Rahmen, der sagt, was gleich
   passiert — und der Zeiger fährt vorher auf den Reiter. */
.lv-hinweis{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.96);
  z-index: 7; pointer-events: none; opacity: 0;
  padding: 14px 26px; background: rgba(10,13,28,.9); color: #fff; backdrop-filter: blur(6px);
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  text-align: center; max-width: 80%;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lv-hinweis.da{ opacity: 1; transform: translate(-50%,-50%) scale(1); }
.lv-hinweis span{
  display: block; margin-top: 5px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.72);
}

/* =========================================================================
   Bewegung II — Menü und Abschnittslinien
   Das Menü erschien als ganze Fläche auf einmal. Jetzt kommt es als Fläche
   herein und die Einträge folgen versetzt; die Linie unter einem
   Abschnittskopf zeichnet sich beim Erscheinen von links nach rechts.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference){
  .site-menu{
    transition: opacity .42s var(--ease), transform .52s cubic-bezier(.16,1,.3,1),
                clip-path .52s cubic-bezier(.16,1,.3,1);
    clip-path: inset(0 0 100% 0);
    transform: none;
  }
  body.menu-open .site-menu{ clip-path: inset(0 0 0 0); }

  .menu-list a{
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s var(--ease), transform .55s cubic-bezier(.16,1,.3,1),
                background .3s var(--ease), padding-left .3s var(--ease);
  }
  body.menu-open .menu-list a{ opacity: 1; transform: none; }
  body.menu-open .menu-list a:nth-child(1){ transition-delay: .10s; }
  body.menu-open .menu-list a:nth-child(2){ transition-delay: .16s; }
  body.menu-open .menu-list a:nth-child(3){ transition-delay: .22s; }
  body.menu-open .menu-list a:nth-child(4){ transition-delay: .28s; }
  body.menu-open .menu-list a:nth-child(5){ transition-delay: .34s; }
  body.menu-open .menu-list a:nth-child(6){ transition-delay: .40s; }
  .menu-foot{
    opacity: 0; transform: translateY(12px);
    transition: opacity .5s var(--ease) .44s, transform .5s cubic-bezier(.16,1,.3,1) .44s;
  }
  body.menu-open .menu-foot{ opacity: 1; transform: none; }

  /* Die schwere Linie unter Titel und Einordnung zeichnet sich */
  html.js .lead-row, html.js .section-head{ position: relative; }
  html.js .lead-row::after, html.js .section-head::after{
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: var(--ink); transform: scaleX(0); transform-origin: 0 50%;
    transition: transform 1.1s cubic-bezier(.16,1,.3,1) .12s;
  }
  html.js [data-reveal].in.lead-row::after,
  html.js [data-reveal].in.section-head::after{ transform: scaleX(1); }
  html.js [data-reveal].lead-row, html.js [data-reveal].section-head{ border-bottom-color: transparent !important; }
  html.js [data-reveal].in.lead-row, html.js [data-reveal].in.section-head{ border-bottom-color: transparent !important; }
}

/* Schaltflächen: der Pfeil rückt beim Überfahren nach */
.btn svg{ transition: transform .28s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }
.btn-lg:hover{ transform: translateY(-1px); }
.btn{ transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }

/* =========================================================================
   Vorher / Nachher — der neue Auftritt wächst über den alten
   (Beim Aufräumen der alten Vorführung versehentlich mitgelöscht und hier
   wiederhergestellt.) Zwei Aufnahmen übereinander; die obere wird
   beschnitten. Der Regler ist ein echtes <input type=range>, damit er auch
   mit der Tastatur zu bedienen ist; sichtbar ist davon nur der Griff.
   ========================================================================= */
/* Anfangsstellung ganz rechts: zu sehen ist zuerst nur der alte Auftritt.
   Der neue kommt erst zum Vorschein, wenn jemand zieht. */
.vn-halter{ margin-top: var(--s9); --vn: 96%; }
.vn-buehne{
  position: relative; margin: 0; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-alt);
  aspect-ratio: 1440 / 820; user-select: none; touch-action: pan-y;
}
.vn-buehne img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Beschneiden statt Verschmälern: bei width:var(--vn) würde das Bild
   mitschrumpfen statt aufgedeckt zu werden. */
.vn-neu{ position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--vn)) 0 0); }
.vn-neu img{ width: 100%; height: 100%; }

.vn-marke{
  position: absolute; bottom: var(--s4); z-index: 3;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; padding: 6px 12px; backdrop-filter: blur(6px);
}
.vn-marke.links{ left: var(--s4); background: rgba(10,10,11,.72); color: #fff; }
.vn-marke.rechts{ right: var(--s4); background: rgba(255,255,255,.86); color: var(--ink); border: 1px solid var(--line); }

.vn-griff{ position: absolute; inset: 0 auto 0 var(--vn); z-index: 4; transform: translateX(-50%); width: 44px; }
.vn-linie{ position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-50%);
           box-shadow: 0 0 0 1px rgba(10,10,11,.18); }
.vn-knauf{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 6px 20px -6px rgba(10,10,11,.45), 0 0 0 1px rgba(10,10,11,.1);
  transition: transform .18s var(--ease);
}
.vn-buehne:hover .vn-knauf{ transform: translate(-50%,-50%) scale(1.06); }
.vn-knauf svg{ width: 22px; height: 22px; }

.vn-schieber{ position: absolute; inset: 0; z-index: 5; display: block; cursor: ew-resize; }
/* Der Bereichsregler liegt nur für die Tastatur darüber — die Maus wird von
   der Bühne selbst ausgewertet, sonst schluckt er das Ziehen. */
.vn-schieber input{
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none;
}
.vn-halter:has(input:focus-visible) .vn-knauf{ box-shadow: 0 0 0 3px var(--brand), 0 6px 20px -6px rgba(10,10,11,.45); }

.vn-bu{
  margin-top: var(--s4); display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap; font-size: 14px; color: var(--muted);
}
.vn-bu > span:first-child{ max-width: 62ch; }
.vn-oeffnen{ display: inline-flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.vn-bu a{
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 1px;
}
.vn-bu a svg{ width: 15px; height: 15px; transition: transform .25s var(--ease); }
.vn-bu a:hover svg{ transform: translateX(3px); }

/* Das Vorschaubild des Films und die Wartemarke im Baukasten hatten ihre
   Regeln im selben gelöschten Bereich. */
.lv-echt{
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-ink);
}
.lv-echt::before{ content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.lv-warten{
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s4);
  font-size: 14.5px; color: var(--muted); background: var(--bg-alt);
}
.lv-warten span{
  width: 26px; height: 26px; border: 2px solid var(--line-2); border-top-color: var(--ink);
  border-radius: 50%; animation: lvDreh .9s linear infinite;
}
@keyframes lvDreh{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .lv-warten span{ animation: none; } }
.bld-live{ position: relative; height: clamp(400px, 46vh, 560px); background: #fff; }
.bld-rahmen{ display: block; width: 100%; height: 100%; border: 0; }

/* Beim Aufräumen mitgelöscht: die Bildunterschrift des Aufbau-Entwurfs auf
   der Seite „Web-Auftritt“ und der Hinweis unter den Entwürfen. */
.layout-figure{ margin: 0 0 clamp(36px, 5vw, 64px); }
.lf-cap{ font-size: 13.5px; color: var(--muted); margin-bottom: var(--s4); max-width: 62ch; }
.layout-figure .browser{ max-width: 900px; }
.sf-hinweis{ margin-top: var(--s8); font-size: 15.5px; color: var(--muted); max-width: 76ch; }
.sf-hinweis a{ color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* =========================================================================
   Der Film — Vorschau im Abschnitt, Abspielen über der Seite
   Die Vorschau ist ein Bild, kein Video: so lädt der Abschnitt nichts, was
   niemand angefordert hat. Erst der Klick öffnet die dunkle Fläche, und
   erst dort wird der Film geladen.
   ========================================================================= */
.film-buehne{ margin: var(--s9) 0 0; }
.film-rahmen{
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  background: var(--bg-alt); overflow: hidden; cursor: pointer; aspect-ratio: 16/9;
  transition: border-color .3s var(--ease), box-shadow .45s var(--ease);
}
.film-rahmen:hover{ border-color: var(--line-2); box-shadow: 0 40px 80px -44px rgba(10,13,28,.5); }
.film-bild{ display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.film-rahmen:hover .film-bild{ transform: scale(1.015); }
.film-schleier{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,28,0) 52%, rgba(10,13,28,.70) 100%);
}
/* Der Knopf lag mittig auf dem Titelbild und deckte die Zeile darunter zu.
   Er steht jetzt neben der Beschriftung — nichts überlagert sich. */
.film-knopf{
  width: clamp(58px, 5.5vw, 76px); height: clamp(58px, 5.5vw, 76px); flex: none;
  border-radius: 50%; background: rgba(255,255,255,.96); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 18px 44px -18px rgba(10,13,28,.6);
  transition: transform .3s var(--ease-spring), background .25s var(--ease);
}
.film-rahmen:hover .film-knopf{ transform: scale(1.08); background: #fff; }
.film-knopf svg{ width: clamp(24px, 2.4vw, 30px); height: clamp(24px, 2.4vw, 30px); margin-left: 4px; }
.film-band{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: clamp(16px, 2vw, 24px);
  padding: clamp(20px, 3vw, 34px); text-align: left;
}
.film-text{ display: grid; gap: 3px; }
.film-t{ font-family: var(--display); font-weight: 600; font-size: clamp(19px, 2vw, 25px); color: #fff; letter-spacing: -0.02em; }
.film-d{ font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,.82); }
@media (prefers-reduced-motion: no-preference){
  .film-knopf{ animation: filmPuls 3.4s ease-in-out infinite; }
  @keyframes filmPuls{
    0%,100%{ box-shadow: 0 22px 54px -20px rgba(10,13,28,.55), 0 0 0 0 rgba(255,255,255,.3); }
    58%{ box-shadow: 0 22px 54px -20px rgba(10,13,28,.55), 0 0 0 22px rgba(255,255,255,0); }
  }
}
.film-bu{
  margin-top: var(--s4); display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap; font-size: 14px; color: var(--muted);
}
.film-bu a{
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--ink); padding-bottom: 1px;
}
.film-bu a svg{ width: 15px; height: 15px; transition: transform .25s var(--ease); }
.film-bu a:hover svg{ transform: translateX(3px); }

/* --- Die Abspielfläche ------------------------------------------------- */
.filmflaeche{
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(8,10,20,.94); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.filmflaeche[hidden]{ display: none; }
.filmflaeche.auf{ opacity: 1; }
.ff-mitte{
  width: min(100%, 1600px, calc((100vh - clamp(140px, 20vh, 210px)) * 16 / 9));
  transform: scale(.985); transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.filmflaeche.auf .ff-mitte{ transform: none; }
.ff-video{
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: #000; box-shadow: 0 60px 120px -50px rgba(0,0,0,.8);
}
.ff-bu{
  margin-top: var(--s4); text-align: center;
  font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.6);
}
.ff-zu{
  position: absolute; top: clamp(14px, 2.4vw, 28px); right: clamp(14px, 2.4vw, 28px); z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.ff-zu:hover{ background: rgba(255,255,255,.2); transform: rotate(90deg); }
.ff-zu svg{ width: 20px; height: 20px; }
body.film-offen{ overflow: hidden; }
@media (prefers-reduced-motion: reduce){
  .filmflaeche, .ff-mitte{ transition: none; }
  .ff-zu:hover{ transform: none; }
}

/* =========================================================================
   Ein Abstand zwischen Rubrik und Überschrift — überall derselbe
   Bisher kamen drei Quellen zusammen: der Zeilenabstand des Rasters, ein
   margin-bottom an der Rubrik und ein margin-top an der Überschrift. Je nach
   Abschnitt ergab das 12, 24 oder 32 px. Jetzt bestimmt allein das Raster
   den Abstand.
   ========================================================================= */
.lead-row .eyebrow, .section-head .eyebrow, .eyebrow{ margin-bottom: 0; }
.lead-row, .section-head, .section-head.center{ row-gap: var(--s4); }
.lead-row h2, .section-head h2{ margin-top: 0; }
.lead-row:has(.eyebrow) h2, .section-head:has(.eyebrow) h2{ margin-top: 0; }
@media (max-width: 820px){
  .lead-row, .section-head, .section-head.center{ row-gap: var(--s4); }
  /* Auf schmalen Schirmen stehen Titel und Einordnung untereinander — dort
     braucht der Absatz mehr Luft als die Rubrik. */
  .lead-row:has(.eyebrow) p, .section-head p{ margin-top: var(--s2); }
}

/* Der Rest der Ungleichheit lag am Raster: Rubrik in Zeile 1, Überschrift in
   Zeile 2 — und die Einordnung daneben machte Zeile 2 höher als die
   Überschrift. Da alles unten ausgerichtet ist, rutschte die Überschrift nach
   unten und der Abstand zur Rubrik wuchs. Die Einordnung spannt jetzt über
   beide Zeilen und richtet sich allein unten aus. */
.lead-row:has(.eyebrow) p,
.section-head:has(.eyebrow) p{ grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 820px){
  .lead-row:has(.eyebrow) p,
  .section-head:has(.eyebrow) p{ grid-column: 1; grid-row: 3; align-self: start; }
}
/* Der Rest waren unterschiedliche Zeilenhöhen: bei kleineren Überschriften
   sitzt mehr Luft über den Versalien. Eine Zeilenhöhe für alle Köpfe. */
.lead-row h2, .section-head h2{ line-height: 1.08; }
/* Letzte Ursache: die über beide Zeilen gespannte Einordnung ließ Zeile 2
   wachsen, und weil alles unten ausgerichtet ist, rutschte die Überschrift
   mit. Die Überschrift richtet sich jetzt oben aus, die Einordnung bleibt
   unten — der Abstand zur Rubrik ist damit in jedem Abschnitt gleich. */
.lead-row:has(.eyebrow) h2, .section-head:has(.eyebrow) h2{ align-self: start; }
.lead-row:has(.eyebrow) p, .section-head:has(.eyebrow) p{ grid-row: 2; align-self: end; }
@media (max-width: 820px){
  .lead-row:has(.eyebrow) p, .section-head:has(.eyebrow) p{ grid-row: 3; align-self: start; }
}

/* =========================================================================
   Ablauffolge — nummeriert, mit mitwachsender Linie
   Aus einer Aufzählung mit fetten Anfängen wird eine Folge: Nummer, Titel,
   Satz. Beim Scrollen erscheinen die Schritte nacheinander, und die Linie
   dahinter wächst mit — dieselbe Sprache wie die Aufzeichnung auf der Seite
   „Automatisierung“, nur ruhiger.
   ========================================================================= */
.folge-liste{ list-style: none; margin: var(--s5) 0 0; padding: 0; position: relative; }
.folge-liste::before{
  content:""; position: absolute; left: 15px; top: 12px; bottom: 12px; width: 1px; background: var(--line);
}
.folge-liste::after{
  content:""; position: absolute; left: 15px; top: 12px; width: 1px; height: 0;
  background: var(--ink); transition: height 1.6s cubic-bezier(.33,1,.68,1) .1s;
}
.folge-liste.laeuft::after{ height: calc(100% - 24px); }

.fs-schritt{
  position: relative; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: var(--s4);
  padding: var(--s4) 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s cubic-bezier(.16,1,.3,1);
}
.fs-schritt.da{ opacity: 1; transform: none; }
.fs-n{
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2);
  font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); font-variant-numeric: tabular-nums;
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.fs-schritt.da .fs-n{ background: var(--ink); border-color: var(--ink); color: #fff; }
.abs-ton .fs-n, .stein .fs-n{ background: var(--bg-alt); }
.fs-inhalt{ display: grid; gap: 3px; padding-top: 4px; }
.fs-inhalt b{ font-family: var(--display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.015em; color: var(--ink); }
.fs-inhalt span{ font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (prefers-reduced-motion: reduce){
  .fs-schritt{ opacity: 1; transform: none; }
  .folge-liste::after{ transition: none; height: calc(100% - 24px); }
}
/* Auf dem Telefon war der Vergleich nur 208 px hoch — darauf ist nichts zu
   erkennen. Dort steht die Bühne hochkant und zeigt den linken Rand beider
   Seiten (Kopf, Menü, Anfang des Inhalts). */
@media (max-width: 700px){
  .vn-buehne{ aspect-ratio: 3 / 4; }
  .vn-buehne img{ object-position: top left; }
  .vn-marke{ font-size: 10px; padding: 5px 9px; }
  .vn-knauf{ width: 40px; height: 40px; }
  .vn-knauf svg{ width: 19px; height: 19px; }
}


/* --- Anfangszustand des Vergleichs -------------------------------------
   Vorher stand der Regler in der Mitte und zeigte beide Seiten nebeneinander;
   der Vergleich war damit schon vorweggenommen. Jetzt liegt der alte Auftritt
   obenauf, und der neue wird aufgedeckt.
   ========================================================================= */
.vn-ziehen{
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #fff; background: rgba(10,13,28,.78); padding: 6px 12px;
  white-space: nowrap; backdrop-filter: blur(6px);
  transition: opacity .35s var(--ease);
}
.vn-halter.beruehrt .vn-ziehen{ opacity: 0; }

/* Die Marke des neuen Auftritts erscheint erst, wenn er zu sehen ist. */
.vn-marke.rechts{ opacity: 0; transition: opacity .3s var(--ease); }
.vn-halter.aufgedeckt .vn-marke.rechts{ opacity: 1; }

/* Bis zur ersten Berührung wippt der Griff leicht — sonst übersieht man ihn
   am Rand. */
@media (prefers-reduced-motion: no-preference){
  .vn-halter:not(.beruehrt) .vn-knauf{ animation: vnWink 2.6s var(--ease) infinite; }
  @keyframes vnWink{
    0%, 62%, 100%{ transform: translate(-50%,-50%); }
    72%{ transform: translate(calc(-50% - 7px),-50%); }
    82%{ transform: translate(-50%,-50%); }
  }
}

/* --- Rechtsgebiete: gleiche Grundlinien über alle Spalten ---------------
   „Unternehmen & Register“ und „Vorsorge & Beglaubigung“ brauchen zwei
   Zeilen, die übrigen eine — dadurch begannen ihre Listen 14 px tiefer.
   Mit subgrid teilen sich alle Spalten dieselben drei Zeilen: Zahl, Rubrik,
   Liste. Wo subgrid fehlt, hält eine Mindesthöhe die Rubrik zweizeilig. */
.gb-t{ min-height: calc(2 * 1.35em); }
@supports (grid-template-rows: subgrid){
  .gb-raster{ grid-template-rows: auto auto 1fr; }
  .gb{ display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .gb-t{ min-height: 0; align-self: start; }
  .gb-l{ align-self: start; }
}

/* Die Eröffnung war 766 px hoch, unabhängig vom Fenster — auf großen
   Schirmen endete das dunkle Feld schon bei 71 % der Höhe. Sie füllt jetzt
   den überwiegenden Teil des ersten Bildschirms, ohne ihn ganz zu
   beanspruchen: die Formulare darunter sollen angeschnitten sichtbar bleiben. */
.opening{
  min-height: min(92vh, 940px);
  display: grid; align-content: center;
}
@media (max-width: 700px){
  .opening{ min-height: min(88vh, 720px); }
}

/* --- Gegenüberstellung: beide Abbildungen auf einer Höhe ----------------
   Der linke Absatz hat zwei Zeilen, der rechte drei — dadurch begann die
   rechte Abbildung 24 px tiefer. Beide Spalten teilen sich jetzt dieselben
   vier Zeilen (Rubrik, Überschrift, Absatz, Abbildung). */
@supports (grid-template-rows: subgrid){
  .abandon{ grid-template-rows: auto auto auto 1fr; }
  .ab-pane, .ab-pane.bad, .ab-pane.good{
    display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0;
  }
  .ab-pane > p{ align-self: start; }
  .ab-vis{ align-self: start; margin-top: var(--s6); }
}

/* Mehr Luft über der Kopfzeile der Unterseiten: zwischen der Leiste und der
   Krume standen 70 px — für einen Seitenanfang zu knapp. */
.page-hero{ padding-top: clamp(56px, 6.5vw, 104px); }

/* --- Weg zum Termin, abhängig vom Anliegen -----------------------------
   Steht direkt unter dem Auswahlfeld: bei Formularen und Web-Auftritt der
   Termin, bei Automatisierung und Pilotprogramm der Hinweis, dass die
   Nachricht genügt. */
.termin-weg{
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px var(--s5);
  align-items: center; margin: var(--s5) 0 var(--s6);
  padding: var(--s4) var(--s5); background: var(--bg-alt); border-left: 2px solid var(--brand);
}
.termin-weg[hidden]{ display: none; }
.tw-t{ grid-column: 1; font-weight: 600; font-size: 15px; color: var(--ink); }
.tw-d{ grid-column: 1; font-size: 13.5px; color: var(--muted); }
.termin-weg .btn-book-sm{ grid-column: 2; grid-row: 1 / span 2; }
.termin-hinweis{
  margin: var(--s5) 0 var(--s6); padding: var(--s4) var(--s5);
  background: var(--bg-alt); border-left: 2px solid var(--line-2);
  font-size: 14.5px; line-height: 1.6; color: var(--muted);
}
.termin-hinweis[hidden]{ display: none; }
@media (max-width: 560px){
  .termin-weg{ grid-template-columns: 1fr; }
  .termin-weg .btn-book-sm{ grid-column: 1; grid-row: auto; justify-self: start; margin-top: var(--s3); }
}
/* Der Terminweg steht in der schmalen Formularspalte, nicht im Fenster —
   also entscheidet die Breite des Formulars, nicht die des Bildschirms,
   wann Text und Schaltfläche untereinander rücken. */
.cform{ container-type: inline-size; }
@container (max-width: 560px){
  .termin-weg{ grid-template-columns: 1fr; }
  .termin-weg .btn-book-sm{ grid-column: 1; grid-row: auto; justify-self: start; margin-top: var(--s3); }
}

/* ============================================================
   Signatur im Kopf — 11.08.
   Vorbild ist der Federstrich, mit dem Bird & Bird ihr Zeichen über die
   Startseite zieht: eine Linie, die sich einmal selbst schreibt. Hier ist
   es das J der Marke, Punkt für Punkt dieselbe Geometrie wie im Seitenkopf.
   Ablauf: Punkt setzt auf (0,45 s) → Bogen läuft nach unten (1,5 s) →
   Linie zieht zum Rand (2,5 s). Nach rund drei Sekunden steht das Bild
   still und bewegt sich nie wieder.
   ============================================================ */
.signatur{
  /* Maß nach dem Vorbild: dort ist das Zeichen 130,6 px hoch neben einer
     60-px-Überschrift, der Strich 12 px — also Strich zu Überschrift 0,20.
     Die reine Höhe (2,18-fache Überschrift) lässt sich nicht übernehmen: das
     J ist ein deutlich fetterer Buchstabe als das Kaufmanns-Und (Strich 17 %
     der Zeichenhöhe statt 9 %), bei gleicher Höhe geriete es viel schwerer
     als das Vorbild. Übernommen ist deshalb das Strichverhältnis: hier
     0,18–0,20 über alle Breiten. Zuvor stand das Zeichen bei 0,43 der
     Überschrift und wirkte verloren. */
  --sig-h: clamp(84px, 12.2vw, 176px);
  /* Bogen und Linie holen sich ihre Farbe von hier. Damit können sie nicht
     auseinanderlaufen — beim Vorbild sind sie ein einziger Pfad und deshalb
     zwangsläufig gleichfarbig. */
  color: #fff;
  position: relative;
  height: var(--sig-h);
}
/* Sie schliesst den Kopf ab, statt zwischen Überschrift und Fliesstext zu
   stehen — damit ist sie die Unterkante des Kopfes. */
.opening .signatur{
  /* Im 32-Einheiten-Kasten sitzt das J zwischen 7,1 und 24,5 — oben und unten
     bleiben je gut 22 % leer. Die Abstände sind um diesen Leerraum gekürzt,
     damit der sichtbare Abstand derselbe bleibt wie vorher. */
  margin-top: clamp(46px, 5.8vw, 96px);
  margin-bottom: clamp(0px, 0.6vw, 10px);
  /* Der Bogen beginnt erst bei 7,5 von 32 Einheiten — links im Kasten steht
     Luft. Bei 66 px waren das 15 px und fielen kaum auf, bei 176 px sind es
     41 px und das Zeichen stand sichtbar eingerückt gegenüber der
     Überschrift. Der Kasten wird um genau diesen Betrag nach links gezogen,
     dann steht die Kante des J auf der Kante der Schrift. */
  margin-left: calc(var(--sig-h) * -7.5 / 32);
}
/* Zeichen über der Linie: der Minzpunkt sitzt damit auf ihr wie eine Perle
   auf dem Draht und wird nicht vom dickeren Strich verschluckt. */
.sig-mark{ display: block; width: var(--sig-h); height: var(--sig-h); overflow: visible; position: relative; z-index: 1; }

/* Startzustand: nichts ist gezeichnet. pathLength=100 macht den Strich
   unabhängig von seiner tatsächlichen Länge ansprechbar. */
.sig-j{ stroke: currentColor; stroke-dasharray: 100; stroke-dashoffset: 100; }
.sig-dot{ transform: scale(0); transform-box: view-box; transform-origin: 20px 9px; }

/* Die Linie beginnt genau in der Mitte des Punktes und läuft aus dem Bild —
   .opening schneidet sie am Fensterrand ab, wie beim Vorbild. */
.sig-linie{
  /* Genauso stark wie der J-Bogen (3 von 32 Einheiten). Bei Bird & Bird sind
     Zeichen und Linie ein einziger Pfad und deshalb zwangsläufig gleich dick
     — dort 12 px Strich auf 160 px Zeichenhöhe, also 8 %. Vorher war der
     Bogen hier gut 6 px und die Linie 1 px: zwei verschiedene Dinge statt
     eines durchgehenden Strichs. */
  --sig-strich: calc(var(--sig-h) * 3 / 32);
  position: absolute;
  left: calc(var(--sig-h) * 20 / 32);
  top:  calc(var(--sig-h) * 9 / 32 - var(--sig-strich) / 2);   /* Mitte auf Punkthöhe */
  width: 2600px; height: var(--sig-strich);
  border-radius: calc(var(--sig-strich) / 2);                  /* runde Enden wie am Bogen */
  background: currentColor;
  transform: scaleX(0); transform-origin: left center;
}

/* Zeitmass wie beim Vorbild: dort läuft der Strich 2,5 s auf
   cubic-bezier(.47,0,.745,.715) — eine Kurve, die langsam anfängt und zum
   Ende hin beschleunigt. Der Strich arbeitet sich also durch das Zeichen und
   schiesst dann zum Rand hinaus. Vorher lief das hier in 2,1 s und mit
   umgekehrter Kurve ab (schnell los, sanft aus) — das wirkte gehetzt. */
.signatur.gezeichnet .sig-dot{
  transform: scale(1);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.signatur.gezeichnet .sig-j{
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s cubic-bezier(.47,0,.745,.715) .2s;
}
.signatur.gezeichnet .sig-linie{
  transform: scaleX(1);
  transition: transform 2.5s cubic-bezier(.47,0,.745,.715) .32s;
}

/* Wer keine Bewegung möchte, sieht das fertige Bild sofort. */
@media (prefers-reduced-motion: reduce){
  .sig-j{ stroke-dashoffset: 0; }
  .sig-dot{ transform: scale(1); }
  .sig-linie{ transform: scaleX(1); }
  .signatur .sig-j, .signatur .sig-dot, .signatur .sig-linie{ transition: none; }
}

/* ============================================================
   Heller Kopf mit Aufnahme — 11.08.
   Vorbild ist die Startseite von Bird & Bird: das Bild bleibt hell, die
   Schrift wird dunkel. Kein flächiger Schleier — der würde das Bild
   verstecken, für das man bezahlt hat. Stattdessen eine gerichtete
   Aufhellung von links, denn gemessen liegt der Himmel bei 5,9–8,7:1
   gegen die Tinte, der dunkle Bergrücken aber nur bei 2,4:1.
   Rückweg: die Klasse .opening--foto im Markup entfernen, dann steht
   wieder die dunkle Fassung.
   ============================================================ */
.opening--foto{
  background: #E8E4EE;          /* solange das Bild lädt */
  color: var(--ink);
}
.opening-foto{
  position: absolute; inset: 0; z-index: -2; display: block;
}
.opening-foto img{
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  object-position: 50% 30%;     /* zeigt mehr Himmel, wo die Schrift steht */
}
/* Die Aufhellung deckt nur noch, was sie decken muss.
   Gemessen ohne sie: Kicker 7,5:1 und Überschrift 7,4:1 — der Himmel trägt
   die obere Hälfte von allein. Durchgefallen sind nur Fliesstext (3,75:1)
   und Knöpfe (2,8:1) in einem Band bei 50–72 % Höhe, links von 59 % Breite.
   Vorher lag ein Verlauf über 78 % der Breite in voller Stärke darauf; vom
   Bild blieb links nichts übrig. Jetzt liegt eine weiche Ellipse in der
   unteren linken Ecke, der Himmel und die rechte Bildhälfte bleiben frei. */
.opening-wasch{
  position: absolute; inset: 0; z-index: -1; display: block; pointer-events: none;
  background:
    /* Gemessene Lagen im Kopf: Knöpfe enden bei 62 %, das Zeichen beginnt
       bei 75 %. Die Ellipse sitzt bei 55 % und ist bei 75 % auf null —
       sie deckt die Knöpfe und lässt das Zeichen auf dem rohen Bild
       stehen, wo Weiß auf 3,9–5,7:1 kommt statt auf 1,5:1. */
    radial-gradient(88% 22% at 0% 55%,
      rgba(247,246,250,.90)  0%,
      rgba(247,246,250,.76) 30%,
      rgba(247,246,250,.44) 52%,
      rgba(247,246,250,.12) 74%,
      rgba(247,246,250,0)   92%),
    /* schmaler Auslauf nach unten, damit der Übergang zum nächsten
       Abschnitt nicht hart abreisst */
    linear-gradient(180deg, rgba(247,246,250,0) 90%, rgba(247,246,250,.18) 100%);
}

/* --- Schrift und Bedienelemente auf hellem Grund --- */
.opening--foto h1{ color: var(--ink); }
.opening--foto .opening-lead{ color: var(--ink-2); }
/* Eine Stufe dunkler als --brand-ink (#2A32C0): auf dem freigelegten Himmel
   kam der Kicker damit nur auf 4,2:1, nötig sind 4,5:1 für 12-px-Schrift.
   #252C9E liegt bei 4,85:1 und bleibt erkennbar das Blau der Marke. */
.opening--foto .opening-kicker,
body:has(.opening--foto) .opening-kicker{ color: #252C9E; }
.opening--foto .btn-outline{
  background: rgba(255,255,255,.62); color: var(--ink);
  border-color: rgba(10,14,30,.22);
}
.opening--foto .btn-outline:hover{
  background: rgba(255,255,255,.86); border-color: rgba(10,14,30,.38);
}
/* Helle Fassung: das Zeichen steht hell auf dem Bild, wie beim Vorbild.
   Möglich ist das nur, weil die Aufhellung oberhalb endet — auf dem
   aufgehellten Grund käme Weiß auf 1,2:1 und wäre schlicht nicht da.
   Nicht reines Weiß, sondern --bg-alt: derselbe weiche, leicht kühle
   Grauton, auf dem auch die hellen Abschnitte der Seite stehen. Gemessen
   3,6–5,4:1 gegen das Bild, reines Weiß läge bei 3,9–5,7:1 — der
   Unterschied kostet also nichts an Erkennbarkeit. */
.opening--foto .signatur{ color: var(--bg-alt); }

/* --- Kopfzeile: die dunkle Bühne ist weg, also wieder dunkle Schrift --- */
body:has(.opening--foto) .site-header:not(.scrolled) .brand-name{ color: var(--ink); }
body:has(.opening--foto) .site-header:not(.scrolled) .nav-links a{ color: var(--ink-2); }
body:has(.opening--foto) .site-header:not(.scrolled) .nav-links a:hover{
  color: var(--ink); background: rgba(10,14,30,.06);
}
/* Dieselbe Farbe wie das Zeichen unten im Kopf: --bg-alt. Damit gehören
   Schaltfläche und Signatur sichtbar zusammen, statt dass oben Iris und
   unten Hellgrau nebeneinander stehen. Schrift dazu in Tinte. */
/* Das !important ist nötig, weil .btn-primary weiter oben pauschal
   „background: var(--brand) !important“ gesetzt bekommt — dagegen hilft
   keine höhere Spezifität. */
body:has(.opening--foto) .site-header:not(.scrolled) .nav-cta .btn-primary{
  background: var(--bg-alt) !important; color: var(--ink) !important;
  box-shadow: none !important;
}
body:has(.opening--foto) .site-header:not(.scrolled) .nav-cta .btn-primary:hover{
  background: #fff !important;
}
/* Die Schaltfläche „Menü“ steht auf allen Breiten, nicht erst unter 900 px —
   weiße Balken auf hellem Himmel waren schlicht nicht zu sehen. */
body:has(.opening--foto) .site-header:not(.scrolled) .menu-btn{ color: var(--ink); }
body:has(.opening--foto) .site-header:not(.scrolled) .menu-btn span,
body:has(.opening--foto) .site-header:not(.scrolled) .menu-btn span::before,
body:has(.opening--foto) .site-header:not(.scrolled) .menu-btn span::after{ background: var(--ink); }
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .menu-btn span{ background: transparent; }

/* Auf schmalen Geräten steht die Schrift über fast der ganzen Breite —
   dort deckt die Aufhellung entsprechend weiter. */
@media (max-width: 860px){
  .opening-wasch{
    background:
      linear-gradient(180deg,
        rgba(247,246,250,.96)  0%,
        rgba(247,246,250,.92) 52%,
        rgba(247,246,250,.72) 74%,
        rgba(247,246,250,.42) 100%);
  }
  .opening-foto img{ object-position: 50% 24%; }
}

/* --- Menü-Schaltfläche: Kastenmaß aus der Zeit vor der Beschriftung ------
   Weiter oben steht für schmale Geräte noch width/height: 44px — aus der
   Fassung, als der Knopf nur drei Striche zeigte. Seit die Beschriftung
   „Menü“ danebensteht, sind es rund 86 px Inhalt in einem 44-px-Kasten:
   Striche und Wort lagen übereinander. Der Knopf richtet sich jetzt nach
   seinem Inhalt, bleibt aber 44 px hoch — Daumenbreite. */
@media (max-width: 940px){
  .menu-btn{
    width: auto; height: auto; min-height: 44px;
    border: 0; border-radius: 0;
  }
}

/* --- Unterkante des Kopfes auf schmalen Geräten -------------------------
   Dort lief die Aufnahme bis zur Abschnittskante und brach hart ab. Jetzt
   geht sie nach unten in den Seitengrund über. */
@media (max-width: 860px){
  .opening-wasch{
    /* Gemessen fällt hier nur der Bereich der Knöpfe durch (ab 63 % Höhe).
       Darüber bleibt das Bild unangetastet. */
    background:
      /* Schmale Geräte: Knöpfe 63–76 %, Zeichen ab 84 %. Die Aufhellung
         steigt bis 74 % an und ist bei 83 % wieder weg. */
      linear-gradient(180deg,
        rgba(247,246,250,0)    0%,
        rgba(247,246,250,.08) 44%,
        rgba(247,246,250,.58) 61%,
        rgba(247,246,250,.84) 74%,
        rgba(247,246,250,.28) 80%,
        rgba(247,246,250,0)   83%,
        rgba(247,246,250,0)   93%,
        rgba(247,246,250,.16) 100%);
  }
}

/* ============================================================
   Anliegen zuerst — 12.08.
   Das Anliegen entscheidet, was danach passiert (Terminweg oder Nachricht).
   Als Klappfeld an fünfter Stelle war das nicht zu sehen: man füllte vier
   Felder aus und erfuhr erst danach, dass man hätte buchen können. Jetzt
   steht es als sichtbare Auswahl ganz oben, und die Angaben darunter
   erscheinen nur, wenn sie gebraucht werden.
   ============================================================ */
.anliegen{ border: 0; padding: 0; margin: 0 0 var(--s5); }
.anliegen legend{
  padding: 0; margin-bottom: var(--s3);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.an-w{
  display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px;
  align-items: start; padding: 13px 14px; margin-bottom: 8px;
  border: 1.5px solid var(--line-2); border-radius: 12px;
  cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease);
}
.an-w:hover{ border-color: var(--brand); background: rgba(58,69,230,.04); }
.an-w input{ width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.an-txt{ display: block; }
.an-t{ display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.an-d{ display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
/* Die getroffene Wahl bleibt sichtbar — sonst weiss man nach dem Scrollen
   nicht mehr, worauf sich der Terminweg darunter bezieht. */
.an-w:has(input:checked){ border-color: var(--brand); background: rgba(58,69,230,.06); }
.an-w:has(input:focus-visible){ outline: 2px solid var(--brand); outline-offset: 2px; }

/* Der zweite, leisere Weg für alle, die lieber schreiben. */
.tw-alt{
  grid-column: 1 / -1; justify-self: start;
  margin-top: 10px; padding: 0; border: 0; background: none;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.tw-alt:hover{ color: var(--ink); }

.cform-felder[hidden]{ display: none; }

/* --- Offenes Menü über der hellen Fassung ------------------------------
   Der Überzug ist fast schwarz, die Kopfzeile behielt darüber aber die
   dunkle Schrift der hellen Fassung: Wortmarke und Schliessen-Knopf lagen
   bei 1,02:1, also unsichtbar — man fand den Weg zurück nicht mehr.
   Solange das Menü offen ist, gilt wieder Weiß.
   Die Angaben sind so spezifisch wie die Regeln oben, sonst greifen sie
   nicht (:has zählt wie eine Klasse). */
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .brand-name,
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .menu-btn{ color: #fff; }
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .menu-btn span::before,
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .menu-btn span::after{ background: #fff; }
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .nav-links a{ color: rgba(255,255,255,.72); }

/* --- Wortmarke in der Kopfzeile ---------------------------------------
   22 px standen neben der 36-px-Kachel zu klein da: Versalhöhe rund 43 %
   der Kachel, das Zeichen führte und die Schrift lief nebenher. Bei 30 px
   sind es rund 58 % — die Schrift führt jetzt, die Kachel begleitet.
   Bewusst nur im Kopf: .brand-name steht auch im Fuß und im Terminfenster,
   dort passt die kleinere Stufe weiterhin. Zeichen und Farben bleiben,
   wie sie sind — nur der Schriftgrad ändert sich. */
.site-header .brand-name{ font-size: 30px; }

/* ============================================================
   Menü — Rückbau der Tafel, 13.08.
   Die hereinfahrende Tafel stammte von Bird & Bird. Dort trägt sie ein
   mehrstufiges Hauptmenü mit Rücksprung; hier stehen vier Einträge, und
   die vollflächige Fassung gibt ihnen sichtbar mehr Raum. Geblieben ist
   die Schaltfläche: drei Striche nach deren Maßen.
   ============================================================ */

/* --- Die Schaltfläche selbst: drei Striche wie beim Vorbild ------------
   Dort sind die Striche 30 px breit und 2 px stark, der mittlere ist mit
   26 px kürzer, die Abstände betragen 9 px — die Mitten liegen damit
   11 px auseinander. Beim Öffnen dreht sich der obere auf +45°, der
   untere auf −45°, der mittlere blendet aus. */
.menu-btn span{ width: 30px; height: 2px; border-radius: 0; }
.menu-btn span::before,
.menu-btn span::after{ width: 30px; height: 2px; border-radius: 0; }
.menu-btn span{ width: 26px; }                 /* der mittlere ist kürzer */
.menu-btn span::before{ top: -11px; }
.menu-btn span::after{ top: 11px; }
body.menu-open .menu-btn span::before{ top: 0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after{ top: 0; transform: rotate(-45deg); }


/* ============================================================
   Menü nach Kirkland & Ellis — 14.08.
   Auf deren Seite bei 1440 px gemessen: eine ruhige helle Fläche über das
   ganze Fenster, die Einträge rechtsbündig, die vorderen in 40 px und in
   Blau (rgb(35,84,232) — fast genau unser Iris), die hinteren in 32 px
   Grau, Zeilenabstand rund 82 px, rechte Kante 120 px vom Fensterrand.
   Die Kopfzeile bleibt sichtbar darüber stehen.
   Damit entfällt die seitliche Tafel des vorherigen Entwurfs.
   ============================================================ */
.site-menu{
  inset: 0;
  width: auto;
  background: #E9E9ED;
  box-shadow: none;
  padding-block: 0;
  padding-inline: 0;
  align-content: center;
  overflow-y: auto;
}
.site-menu .container{
  display: block; min-height: 0;
  width: 100%; max-width: var(--wide); padding-inline: var(--gutter);
}

/* Rechtsbündig wie beim Vorbild — die rechte Kante liegt auf der der
   Kopfzeile, weil beide denselben Behälter benutzen. */
.site-menu .menu-list{ display: block; text-align: right; }
.site-menu .menu-list a{
  display: block; padding: 0; margin-bottom: clamp(18px, 2.6vw, 34px);
  background: none;
}
.site-menu .menu-list a:hover{ padding-left: 0; background: none; }
.site-menu .mn-t{
  font-family: var(--display);
  font-size: clamp(26px, 2.9vw, 40px);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--brand);
}
.site-menu .menu-list a:hover .mn-t{ color: var(--brand-ink); }

/* Der Abschluss steht kleiner und in Grau darunter — bei Kirkland sind das
   die hinteren Einträge in 32 px. */
.site-menu .menu-foot{
  display: block; text-align: right;
  margin-top: clamp(10px, 1.6vw, 20px); padding-bottom: 0;
}
.site-menu .menu-mail{
  font-family: var(--display); font-size: clamp(19px, 2.1vw, 30px);
  font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink-2); border-bottom: 0;
}
.site-menu .menu-mail:hover{ color: var(--ink); border-bottom: 0; }

@media (prefers-reduced-motion: no-preference){
  /* Die Fläche blendet auf, die Einträge folgen von rechts. */
  .site-menu{ transform: none; opacity: 0; transition: opacity .32s var(--ease); }
  body.menu-open .site-menu{ opacity: 1; transform: none; }
  .menu-list a{ transform: translateX(26px); }
  body.menu-open .menu-list a{ transform: none; }
  .menu-foot{ transform: translateX(22px); }
  body.menu-open .menu-foot{ transform: none; }
}

/* --- Kopfzeile und Einträge auf der hellen Fläche ---------------------
   Die Fläche liegt jetzt über dem ganzen Fenster und ist hell. Aus den
   früheren dunklen Fassungen stehen weiter oben noch mehrere Regeln, die
   Wortmarke, Menü-Knopf und Striche bei offenem Menü auf Weiß zwingen —
   auf Hellgrau wäre das unsichtbar. Sie werden hier überschrieben statt
   gelöscht, weil sie sich sonst leicht wieder einschleichen. */
body.menu-open .site-header .brand-name,
body.menu-open .site-header:not(.scrolled) .brand-name,
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .brand-name,
body.menu-open .menu-btn,
body.menu-open .site-header:not(.scrolled) .menu-btn,
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .menu-btn{ color: var(--ink); }

body.menu-open .site-header:not(.scrolled) .menu-btn span::before,
body.menu-open .site-header:not(.scrolled) .menu-btn span::after,
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .menu-btn span::before,
body:has(.opening--foto).menu-open .site-header:not(.scrolled) .menu-btn span::after{ background: var(--ink); }

/* Der Punkt des Zeichens bleibt Minze, der Bogen wird Tinte. */
body.menu-open .site-header .logo-mark svg path{ stroke: #fff; }

/* Kirkland setzt keine Trennlinien zwischen die Einträge — die Reste aus
   der dunklen Fassung fallen weg. */
.site-menu .menu-list a,
.site-menu .menu-list a:last-child{ border: 0; }

/* ============================================================
   Erneut gesetzt nach einem Rückfall der Datei — 14.08.
   Die drei folgenden Blöcke waren schon einmal da und sind mit einem
   Zurücksetzen der Dateien verlorengegangen.
   ============================================================ */

/* 1. Fußzeile: stand auf --night (#0A0D1C), praktisch schwarz. */
.site-footer{ background: #232A3D; }

/* 2. Farbige Abschnitte, in den Farben der Marke — Iris und Minze, so weit
      aufgehellt, dass Überschrift und Fließtext in Tinte sicher stehen. */
#arbeitsweise{ background: #DDE2FA; }
#preise{ background: #D3EFE5; }
#arbeitsweise .kn-bild, #preise .price-card{ background: rgba(255,255,255,.72); }

/* 3. Weniger Linien: gezählt waren 72 lange Trennlinien auf der Startseite.
      Abschnittsköpfe bekommen statt einer vollen Linie einen kurzen Strich,
      die Preisliste gar keine, die Bildfelder keinen Rahmen, das FAQ eine
      leisere Trennung. */
.lead-row, .section-head{ border-bottom: 0; }
@media (prefers-reduced-motion: no-preference){
  html.js .lead-row::after, html.js .section-head::after{ right: auto; width: 72px; height: 2px; }
}
html:not(.js) .lead-row, html:not(.js) .section-head{ position: relative; border-bottom: 0; }
html:not(.js) .lead-row::after, html:not(.js) .section-head::after{
  content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--ink);
}
.pr-list{ border-top: 0; }
.pr-list li{ border-bottom: 0; padding: 9px 0; }
.kn-bild{ border: 0; }
.faq-item{ border-bottom-color: rgba(10,14,30,.09); }

/* --- Kontaktblock unten links in der Menüfläche -----------------------
   Bird & Bird stellen dort „Subscribe“ und die Netzwerk-Zeichen hin. Die
   Fläche wirkte sonst leer, weil vier Einträge rechts oben wenig Raum
   füllen. Hier stehen stattdessen die Angaben, die ein Notar sucht. */
.menu-kontakt{
  position: absolute; left: var(--gutter); bottom: clamp(38px, 6vw, 84px);
  display: grid; gap: 12px; max-width: 320px;
}
.mk-zeile{ display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 14px; align-items: baseline; }
.mk-lbl{
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.mk-zeile a, .mk-zeile span:last-child{ font-size: 15px; color: var(--ink-2); }
.mk-zeile a:hover{ color: var(--brand-ink); }
.site-menu{ position: fixed; }
.site-menu .container{ position: relative; z-index: 1; }
@media (max-width: 700px){
  .menu-kontakt{ position: static; margin-top: var(--s7); max-width: none; }
  .site-menu{ align-content: start; padding-block: clamp(90px, 16vw, 140px) var(--s7); }
}

/* --- Kontaktabschnitt: von Nachtschwarz auf eine Farbfläche -----------
   Er stand auf --night und war damit der dritte fast schwarze Bereich
   nach Menü und Fußzeile. Bird & Bird legen ganze Abschnitte auf eine
   getönte Fläche und stellen weiße Karten darauf — genau das hier, im
   Iris der Marke. Die weiße Formularkarte hebt sich davon ab. */
.section.closer{
  background: #C7CEF8;
  color: var(--ink-2);
}
.section.closer h2, .section.closer .cta-band h2{ color: var(--ink); }
.section.closer .lead, .section.closer .cta-band .lead{ color: var(--ink-2); }
.section.closer .eyebrow, .section.closer .eyebrow.on-deep{ color: #252C9E; }
/* Die Angaben darunter standen in Weiß auf Schwarz. */
.section.closer .contact-tile{ border-color: rgba(10,14,30,.16); }
.section.closer .contact-tile .ct-lbl{ color: var(--muted); }
.section.closer .contact-tile .ct-val{ color: var(--ink); }
.section.closer .book-or{ color: var(--ink-2); }
/* Die helle Schaltfläche wird zur dunklen, sonst weiß auf hell. */
.section.closer .btn-on-deep{
  background: var(--ink); color: #fff; border-color: transparent;
}
.section.closer .btn-on-deep:hover{ background: var(--brand-ink); }

/* --- Farbe auch auf den übrigen Seiten --------------------------------
   Bisher lagen die getönten Flächen nur auf der Startseite. Je Seite ein
   Abschnitt in einem Ton der Marke, damit der Rhythmus überall trägt. */
#uebersicht{ background: #DDE2FA; }     /* Formulare */
#ablauf{ background: #D3EFE5; }         /* Web-Auftritt */
#faelle{ background: #E6E1FB; }         /* Automatisierung */
#uebersicht .form-card, #ablauf .form-card,
#faelle .form-card, #faelle .fall{ background: rgba(255,255,255,.74); }

/* --- Beschriftungen im Kontaktbereich ---------------------------------
   Weiter oben steht „.contact-tile .ct-lbl{ color: rgba(255,255,255,.6)
   !important }“ — gesetzt, als der Abschnitt schwarz war. Auf der
   Farbfläche ergibt das 1,54:1, also unlesbar. Dagegen hilft nur ein
   ebenso gewichtetes Gegenstück. */
.section.closer .contact-tile .ct-lbl{ color: var(--ink-2) !important; }
.section.closer .contact-tile .ct-val{ color: var(--ink); }
/* Ebenso die Textkarte im Formularbereich: .cta-band setzt eine helle
   Schriftfarbe, die alles ohne eigene Angabe im weißen Kasten mitnimmt. */
.section.closer .cform{ color: var(--ink-2); }

/* --- Der Abschlussbereich auf allen Seiten ----------------------------
   .section.closer steht auf jeder Seite, die Inhalte sind aber
   verschieden. Beim Umstellen auf die Farbfläche wurden zunächst nur die
   Bausteine der Startseite nachgezogen; auf den Produktseiten stehen dort
   .stage, .st-tag, .btn-ghost und .eyebrow.on-deep — alle noch in den
   hellen Tönen für schwarzen Grund. Gemessen 1,1:1 bis 4,35:1.
   Hier bekommen sie alle ihr dunkles Gegenstück. */
.section.closer .stage{ background: rgba(255,255,255,.72); border-color: rgba(10,14,30,.10); }
.section.closer .stage h3{ color: var(--ink); }
.section.closer .stage li{ color: var(--ink-2); }
.section.closer .stage li svg{ color: var(--brand); }
.section.closer .stage .st-tag{ color: var(--ink-2) !important; }
.section.closer .eyebrow.on-deep{ color: #252C9E; }
.section.closer .btn-ghost{
  background: rgba(255,255,255,.86); color: var(--ink); border-color: rgba(10,14,30,.22);
}
.section.closer .btn-ghost:hover{ background: #fff; border-color: var(--ink); }
.section.closer .pill.on-deep{
  background: rgba(255,255,255,.7); color: var(--ink-2); border-color: rgba(10,14,30,.14);
}

/* --- Kleinschrift auf den getönten Flächen ----------------------------
   --muted (#6E7890) kommt auf den Tönen nur auf 4,1–4,35:1. Auf farbigem
   Grund eine Stufe dunkler. */
#arbeitsweise .muted, #preise .muted, #uebersicht .muted,
#ablauf .muted, #faelle .muted,
#arbeitsweise .fl-lbl, #faelle .fl-lbl, #faelle .flow-node span,
.section.closer .muted{ color: #565E72; }
#faelle *, #uebersicht *, #ablauf *{ --muted: #565E72; }

/* --- Drei Nachzügler aus der Lesbarkeitsprüfung -----------------------
   1. Auf 404 steht die Schaltfläche in einem .legal-Block; „.legal a“
      färbt jeden Verweis in --brand-ink, auch die Schaltfläche — Iris auf
      Iris, gemessen 1,37:1. Schaltflächen behalten ihre eigene Farbe. */
.legal a.btn-primary{ color: #fff; }
.legal a.btn-ghost, .legal a.btn-outline, .legal a.btn-dark{ color: var(--ink); }
.legal a.btn-dark{ color: #fff; }

/* 2. Der Schrägstrich in der Brotkrume stand in --line-2, einer Linien-
      farbe: als Schrift 1,62:1 und damit kaum zu sehen. */
.crumb i{ color: var(--muted); }

/* 3. Die Ziffern der Schrittanzeige lagen bei 4,35:1 — knapp unter der
      Schwelle für 12-px-Schrift. */
.wstep .n{ color: #565E72; }

/* --- Kontaktblock etwas aus der Ecke geholt ---------------------------
   Er klebte am linken unteren Rand. Jetzt steht er auf derselben Grund-
   linie wie die Einträge rechts und rückt von unten weg. */
.menu-kontakt{
  left: calc(var(--gutter) + clamp(0px, 3vw, 56px));
  bottom: clamp(64px, 12vh, 150px);
}

/* --- Die Einträge reagieren auf den Zeiger ----------------------------
   Bei Kirkland wechselt der Eintrag unter dem Zeiger die Farbe; die
   übrigen treten zurück. Dasselbe hier: der angesteuerte Eintrag wird
   zur Tinte, alle anderen nehmen sich zurück. */
@media (hover: hover){
  .site-menu .menu-list:hover .mn-t{ color: #98A2E8; }
  .site-menu .menu-list a:hover .mn-t{ color: var(--ink); }
  .site-menu .mn-t{ transition: color .22s var(--ease); }
  .menu-kontakt a{ transition: color .2s var(--ease); }
}

/* ============================================================
   Fußzeile neu — 14.08.
   Vorher: Marke plus drei Spalten Verweise, wobei Impressum,
   Datenschutz und Kontakt je zweimal vorkamen, und keine einzige
   Kontaktangabe. Jetzt zuerst wer und wie erreichbar, darunter die
   Verweise ohne Doppelung, unten eine schmale Zeile.
   ============================================================ */
.site-footer{ padding-top: clamp(56px, 7vw, 96px); }

.fz-kopf{
  display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
  padding-bottom: clamp(36px, 4.5vw, 60px);
}
.fz-marke .footer-brand{ margin-bottom: 14px; }
.fz-marke .footer-tag{ max-width: 44ch; }

.fz-kontakt{ display: grid; gap: 6px; justify-items: start; }
.fz-uebertitel{
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-2);
  margin-bottom: 6px;
}
.fz-mail{
  font-family: var(--display); font-weight: 600;
  font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -0.02em; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px;
  transition: border-color .2s var(--ease);
}
.fz-mail:hover{ border-bottom-color: #fff; }
.fz-tel{ font-size: 15.5px; color: var(--on-deep); margin-top: 4px; }
.fz-tel:hover{ color: #fff; }
.fz-notiz{ font-size: 13.5px; color: var(--on-deep-2); }

.fz-spalten{
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(24px, 4vw, 60px);
  padding-block: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--deep-line);
}
.fz-spalten h5{ margin-bottom: 14px; }
.fz-spalten ul{ gap: 10px; }

.footer-bottom .fz-ort{ color: var(--on-deep-2); }

@media (max-width: 820px){
  .fz-kopf{ grid-template-columns: 1fr; gap: var(--s6); }
  .fz-spalten{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s5) var(--s4); }
}
@media (max-width: 520px){
  .fz-spalten{ grid-template-columns: 1fr; }
}

/* ============================================================
   Breitere Farbfamilie für die Abschnitte — 14.08.
   Vorher trugen die Flächen im Wesentlichen einen Ton (Iris) plus ein
   flaches Grau, das viermal hintereinander auf „Formulare“ stand. Bird &
   Bird führen rund zehn Flächenfarben; hier sind es sechs, alle aus dem
   Kreis der Marke oder in ihrer Nähe, damit die Seiten sich unterscheiden
   und niemand zweimal denselben Ton hintereinander sieht.
   ============================================================ */
:root{
  --fl-iris:     #DDE2FA;   /* Iris, aufgehellt */
  --fl-minze:    #D3EFE5;   /* Minze der Marke */
  --fl-veilchen: #E6E1FB;   /* Violett des Verlaufs */
  --fl-himmel:   #D9E7F7;   /* kühles Blau */
  --fl-sand:     #F4E8DC;   /* warmer Ton als Gegengewicht */
  --fl-nebel:    #ECEEF3;   /* kühles Fastweiss statt flachem Grau */
  --fl-schluss:  #C7CEF8;   /* die Abschlussflächen */
}

/* Startseite */
#arbeitsweise{ background: var(--fl-iris); }
#preise      { background: var(--fl-minze); }
#wissen      { background: var(--fl-sand); }

/* Formulare */
#ausfuellen  { background: var(--fl-nebel); }
#uebersicht  { background: var(--fl-iris); }
#demo        { background: var(--fl-minze); }
#paket       { background: var(--fl-sand); }
#katalog     { background: var(--fl-nebel); }

/* Web-Auftritt */
#eindruck    { background: var(--fl-himmel); }
#ablauf      { background: var(--fl-minze); }

/* Automatisierung */
#faelle      { background: var(--fl-veilchen); }

/* Karten auf getönter Fläche bekommen wieder Weiss unter sich. */
#ausfuellen .form-card, #uebersicht .form-card, #demo .form-card,
#paket .form-card, #katalog .form-card, #eindruck .form-card,
#ablauf .form-card, #faelle .form-card, #faelle .fall,
#wissen .faq-item, #paket .gb, #katalog .form-card{
  background: rgba(255,255,255,.74);
}
/* Auf farbigem Grund eine Stufe dunkleres Grau für Kleinschrift. */
#arbeitsweise, #preise, #wissen, #ausfuellen, #uebersicht, #demo,
#paket, #katalog, #eindruck, #ablauf, #faelle{ --muted: #565E72; }

/* ============================================================
   Abschlussbereich: Reihenfolge des Lesens — 14.08.
   Die weiße Karte war das größte Objekt und zog den Blick als Erstes an,
   noch vor dem Satz, der erklärt, warum man sie ausfüllen sollte. Die
   linke Spalte bekommt daher mehr Breite und Gewicht, die Karte tritt
   etwas zurück: kleinerer Radius, ruhigerer Schatten, weniger Polster.
   ============================================================ */
.section.closer .cta-inner{
  grid-template-columns: minmax(0,1.06fr) minmax(0,1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.section.closer h2{
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.035em;
}
.section.closer .lead{ font-size: clamp(17px, 1.6vw, 20px); max-width: 46ch; }

/* Die Karte: ruhiger, damit sie die Spalte links nicht überstimmt. */
.section.closer .cform{
  border-radius: 14px; padding: clamp(24px, 2.6vw, 34px);
  box-shadow: 0 12px 34px -20px rgba(10,14,30,.34);
  border: 1px solid rgba(10,14,30,.07);
}
.section.closer .cform h3{ font-size: 19px; }
.section.closer .cform .sub{ font-size: 14.5px; }
.section.closer .an-w{ padding: 11px 12px; }
.section.closer .an-t{ font-size: 14.5px; }
.section.closer .an-d{ font-size: 13px; }

@media (max-width: 860px){
  .section.closer .cta-inner{ grid-template-columns: 1fr; }
}

/* ============================================================
   Fußzeile hell und knapp — 14.08.
   Gemessen bei Bird & Bird: Fläche rgb(245,245,246), Schrift
   rgb(50,62,72), Höhe rund 494 px, Verweise als schlichte Listen ohne
   Rubriken, das Rechtliche in einer schmalen Zeile darunter.
   Die dunkle Fassung fällt damit weg.
   ============================================================ */
.site-footer{
  background: #F4F4F6; color: #3C4559;
  padding-top: clamp(44px, 5vw, 68px); padding-bottom: 0;
  border-top: 1px solid rgba(10,14,30,.08);
}
.fz-band{
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);   /* zweite Verweisliste entfiel 31.10.2026 — ruhiger */
  gap: clamp(24px, 3.5vw, 56px);
  padding-bottom: clamp(32px, 4vw, 52px);
}
.fz-marke{ display: inline-flex; align-items: center; gap: 11px; align-self: start; }
.fz-marke .brand-name{ font-family: var(--marke); font-weight: 700; font-size: 24px; color: var(--ink); }

.fz-liste{ display: grid; gap: 11px; align-content: start; }
.fz-liste a{ font-size: 15px; color: #3C4559; }
.fz-liste a:hover{ color: var(--brand-ink); }

.fz-kontakt{ display: grid; gap: 5px; justify-items: start; align-content: start; }
.fz-mail{
  font-family: var(--display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.02em; color: var(--ink);
  border-bottom: 1px solid rgba(10,14,30,.24); padding-bottom: 2px;
}
.fz-mail:hover{ border-bottom-color: var(--ink); }
.fz-tel{ font-size: 15px; color: #3C4559; margin-top: 4px; }
.fz-tel:hover{ color: var(--ink); }
.fz-notiz{ font-size: 13px; color: #5F6880; }   /* #6E7890 lag auf der hellen Fläche bei 4,02:1 */

.fz-schluss{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px var(--s5);
  padding-block: 16px; border-top: 1px solid rgba(10,14,30,.08);
  font-size: 12px; letter-spacing: .04em; color: #5F6880;
}
.fz-recht{ display: flex; gap: var(--s4); }
.fz-recht a{ color: #5F6880; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.fz-recht a:hover{ color: var(--ink); }

@media (max-width: 860px){
  .fz-band{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s5) var(--s4); }
  .fz-marke{ grid-column: 1 / -1; }
  .fz-kontakt{ grid-column: 1 / -1; }
}
@media (max-width: 520px){
  .fz-band{ grid-template-columns: 1fr; }
  .fz-schluss{ flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Farbe sparsamer und entschiedener — 14.08.
   Gemessen bei Bird & Bird auf 6190 px Seitenhöhe: sechs Farbflächen,
   jede zwischen 247 und 900 px, kräftig (Blau #84AAE4, Flieder #CF9DC7,
   Gelb #FFE74D, Orange #FFA068) — und rund 60 % der Seite schlicht weiss.
   Hier lagen zuletzt acht bis neun blasse Töne je Seite; das wirkte
   beliebig. Jetzt zwei bis drei Flächen je Seite, dafür entschiedener,
   der Rest bleibt weiss.
   ============================================================ */
:root{
  --fl-iris:     #CBD3F7;
  --fl-minze:    #BCE6D6;
  --fl-veilchen: #D8D0F7;
  --fl-schluss:  #C7CEF8;
}

/* Zurückgenommen: diese Abschnitte stehen wieder schlicht. */
#wissen, #ausfuellen, #paket, #katalog, #eindruck{ background: transparent; }
#wissen{ background: #F7F7F9; }        /* nur das FAQ behält eine ruhige Fläche */

/* Gesetzt bleibt, was den Blick verdient:
   Startseite — die Unterscheidung, der Preis, der Abschluss.
   Formulare  — die Übersicht, die Demo, der Abschluss.
   Auftritt   — der Ablauf, der Abschluss.
   Automatik  — die vier Abläufe, der Abschluss. */
#arbeitsweise{ background: var(--fl-iris); }
#preise      { background: var(--fl-minze); }
#uebersicht  { background: var(--fl-iris); }
#demo        { background: var(--fl-minze); }
#ablauf      { background: var(--fl-minze); }
#faelle      { background: var(--fl-veilchen); }
.section.closer{ background: var(--fl-schluss); }

/* Karten auf den verbliebenen Flächen. */
#arbeitsweise .kn-bild, #preise .price-card, #uebersicht .form-card,
#demo .form-card, #ablauf .form-card, #faelle .fall, #faelle .form-card{
  background: rgba(255,255,255,.78);
}
#arbeitsweise, #preise, #uebersicht, #demo, #ablauf, #faelle{ --muted: #4E566B; }

/* --- Navigationsleiste statt nur Schaltfläche -------------------------
   Bird & Bird führen beides: eine waagerechte Leiste und daneben das
   Menü. Bei vier Zielen genügt die Leiste — sie spart den Klick und
   zeigt sofort, was es gibt. Das Menü bleibt für schmale Geräte, wo die
   Leiste nicht hinpasst. */
.nav-links{ display: flex; align-items: center; gap: 2px; }
.nav-links a{
  padding: 8px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover{ color: var(--ink); background: rgba(10,14,30,.05); }
.nav-links a.on{ color: var(--brand-ink); background: var(--brand-tint); font-weight: 600; }
/* Auf der hellen Kopf-Fassung ebenfalls dunkel. */
body:has(.opening--foto) .site-header:not(.scrolled) .nav-links a{ color: var(--ink-2); }
body:has(.opening--foto) .site-header:not(.scrolled) .nav-links a:hover{ color: var(--ink); background: rgba(10,14,30,.06); }
body:has(.opening--foto) .site-header:not(.scrolled) .nav-links a.on{ color: var(--brand-ink); background: rgba(255,255,255,.62); }
@media (max-width: 1080px){
  /* Darunter übernimmt wieder das Menü. */
  .nav-links{ display: none; }
}
@media (min-width: 1081px){
  /* Oberhalb genügt die Leiste — die Schaltfläche „Menü“ entfällt. */
  .menu-btn{ display: none !important; }
}

/* --- Ein warmer Ton, einmal ------------------------------------------
   Bird & Bird setzen Gelb (#FFE74D) und Orange (#FFA068) in voller
   Sättigung. Auf einer Seite für Notariate liest sich das wie ein
   Preisschild; das Orange ist zudem mit 4,79:1 gegen den Fließtext
   knapp. Deshalb genau eine warme Fläche, gedämpft: das Pilotprogramm,
   das einzige echte Angebot auf der Seite. */
#pilot{ background: #F6E3C4; --muted: #4E566B; }
#pilot .form-card, #pilot .stage, #pilot .fall{ background: rgba(255,255,255,.78); }

/* --- Fußzeile etwas höher --------------------------------------------- */
.site-footer{ padding-top: clamp(60px, 6.5vw, 92px); }
.fz-band{ padding-bottom: clamp(44px, 5vw, 68px); }
.fz-schluss{ padding-block: 22px; }

/* Kleinschrift auf den kräftigeren Tönen: die frühere Regel „#faelle *“
   schlägt eine reine Abschnittsregel, deshalb hier dieselbe Bauart und
   eine Stufe dunkler — auf dem tieferen Veilchen kam #565E72 nur auf
   4,41:1. */
#arbeitsweise *, #preise *, #uebersicht *, #demo *, #ablauf *,
#faelle *, #pilot *, .section.closer *{ --muted: #454C5E; }

/* ============================================================
   Kopfzeile auf die Maße von Bird & Bird — 12.08.
   Nachgemessen in deren Stilvorlage (base.min.css?v=10062026) und am
   Zeichen selbst, ab 1261 px Breite:
     Leiste       34 px Polsterung oben wie unten, Grund durchsichtig
     Wortmarke    SVG 160 × 28,26 px
     Navigation   16 px (geerbt von body), je 18 px Rand links und
                  rechts, also 36 px zwischen zwei Einträgen
     Gesamthöhe   34 + 28 + 34 ≈ 96 px
   Gemessen hier vorher: Leiste 89 px, Marke 139,6 px breit (Zeichen 36 +
   Abstand 11 + Wort 92,6), Navigation 14,5 px mit 28 px Abstand.
   Die Zahlen unten stellen beides gleich. Weil das Zeichen quadratisch
   ist und nicht wie dort reine Schrift, gerät die Leiste mit 101 px ein
   paar Pixel höher als das Vorbild — die Marke misst dafür dieselben
   160 px.
   ============================================================ */
:root{ --kopf-innen: 86px; }        /* 86 + 14 Luft + 1 Linie = 101 px */

.brand{ gap: 13px; }
.logo-mark{ width: 42px; height: 42px; border-radius: 11px; }
.logo-mark svg{ width: 25px; height: 25px; }
/* 42 + 13 + 105 = 160 px, die Breite der Wortmarke dort. */
.site-header .brand-name{ font-size: 34px; }

.nav-links{ gap: 6px; }
.nav-links a{ font-size: 16px; padding: 9px 15px; }   /* 15+15+6 = 36 px */

/* Auf schmalen Geräten bleibt die Leiste flach — dort steht bei Bird &
   Bird 28/26 px Polsterung an einer 120-px-Marke, zusammen rund 75 px. */
@media (max-width: 700px){
  :root{ --kopf-innen: 62px; --kopf-luft: 10px; }
  .logo-mark{ width: 34px; height: 34px; border-radius: 9px; }
  .logo-mark svg{ width: 20px; height: 20px; }
  .site-header .brand-name{ font-size: 26px; }
}

/* ============================================================
   Farbe: weniger Fläche, dafür an den Gegenständen — 12.08.

   Gemessen auf der Startseite, 1440 px breit, 9380 px hoch:
     Kopf mit Aufnahme   1005 px
     #arbeitsweise       842 px   Iris   #CBD3F7
     #preise            1166 px   Minze  #BCE6D6
     .section.closer     851 px   Iris   #C7CEF8
   Zusammen 2859 px gesättigte Fläche, rund 30 % der Seite, dazu der
   Kopf. Drei kräftige Flächen auf einer Seite lesen sich nicht mehr als
   Gliederung, sondern als Anstrich.

   Anmerkung zur Vorlage, weil der Block darüber es anders behauptet:
   Bird & Bird legen sehr wohl ganze Abschnitte in Farbe — im Quelltext
   ihrer Startseite stehen bg--blue (Kopf), bg--orange (Newsletter),
   bg--yellow, bg--slate und bg--lilac. Was sie nicht tun, ist Farbe
   zusätzlich in die Gegenstände darin zu streuen: keine Verläufe,
   Schrift durchweg in Schiefer #323E48, Zeichen und Marken schlicht.
   Die Farbe steckt entweder in der ganzen Fläche oder gar nicht.

   Daraus hier zweierlei:
   1. Je Seite bleibt eine gesättigte Fläche stehen, nicht zwei bis drei.
   2. Der Verlauf fällt weg; getönte Kacheln werden weiß und behalten
      ihre Haarlinie und ihr Zeichen in Iris.
   ============================================================ */

/* --- 1. Kein Verlauf mehr ---------------------------------------------
   --grad lag auf dem Zeichen, den Knöpfen, dem Strich über jeder
   Rubrik, den Ziffernkreisen und den Reitern. Ein Verlauf ist das
   deutlichste Zeichen einer Vorlage; die Vorlage hier hat keinen.
   Die Namen bleiben, damit die rund dreißig Fundstellen nicht einzeln
   angefasst werden müssen. */
:root{
  --grad:      var(--brand);
  --grad-soft: #F7F9FF;   /* Kacheln: fast weiß, die Haarlinie trägt sie */
  --sh-brand:  0 1px 2px rgba(11,16,32,.06), 0 8px 20px -14px rgba(11,16,32,.34);
}

/* --- 2. Eine Fläche je Seite ------------------------------------------
   Startseite   der Preis
   Formulare    die Übersicht
   Auftritt     der Ablauf
   Automatik    die vier Abläufe
   Alles andere steht wieder weiß. */
#arbeitsweise, #demo, #pilot{ background: transparent; }

/* Weiter oben stehen „#pilot *“ und Verwandte auf --muted: #454C5E — eine
   Stufe dunkler, gesetzt für den getönten Grund. Auf Weiß gilt wieder der
   Wert der ganzen Seite, sonst steht die Kleinschrift hier dunkler als in
   jedem anderen Abschnitt. */
#arbeitsweise, #arbeitsweise *, #demo, #demo *, #pilot, #pilot *,
.section.closer, .section.closer *{ --muted: #6E7890; }

/* Der Abschlussbereich stand auf jeder Seite in Iris — vier Seiten, vier
   gleiche Flächen. Er steht jetzt weiß; getrennt wird er durch eine
   Linie, wie die Rubriken darüber auch. */
.section.closer{ background: transparent; border-top: 1px solid var(--line); }

/* Was auf der getönten Fläche mit halbdurchsichtigem Weiß arbeitete,
   verschwindet auf Weiß. Diese Bausteine bekommen ihre Kante zurück. */
#arbeitsweise .kn-bild{ background: var(--bg-alt); }
#pilot .form-card, #pilot .stage, #pilot .fall,
#demo .form-card{ background: #fff; border: 1px solid var(--line); }
.section.closer .stage{
  background: #fff; border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.section.closer .btn-ghost{
  background: #fff; border-color: var(--line-2);
}
.section.closer .pill.on-deep{
  background: #fff; color: var(--ink-2); border-color: var(--line-2);
}
.section.closer .contact-tile{ border-color: var(--line); }
/* Die Karte hebt sich jetzt nicht mehr gegen eine Tönung ab, sondern
   gegen Weiß — dafür braucht sie eine sichtbare Kante statt nur Schatten. */
.section.closer .cform{ border-color: var(--line-2); }

/* --- 3. Farbe an den Gegenständen statt unter ihnen -------------------
   Die getönten Fahnen und Ziffernfelder trugen Fläche und Schrift in
   Iris. Übrig bleibt die Schrift; die Fläche wird weiß mit Haarlinie.
   Das ist derselbe Handgriff wie bei den Kacheln oben.
   Nicht aufgeführt sind .auto-num und .own-case: beide sind weiter oben
   schon mit „background: none !important“ abgeräumt. */
.badge-soon{ background: #fff; border: 1px solid var(--line-2); }
.addon{ background: var(--bg-alt); border-color: var(--line); }
.note-box{ background: var(--bg-alt); border-color: var(--line); color: var(--ink-2); }

/* ============================================================
   Farbe an den Gegenständen — 12.08., zweiter Durchgang
   Der Durchgang davor hat Fläche weggenommen und nichts an ihre
   Stelle gesetzt; die Seite wurde dadurch nicht ruhiger, sondern leer.
   Bird & Bird machen es umgekehrt: der Grund bleibt weiß, die Farbe
   sitzt in den Gegenständen darauf — Kacheln mit Titel und Verweis,
   Meldungskarten in zwei Tönen, und einmal ein Band über die ganze
   Breite mit einem schmalen Streifen darüber.
   Genau diese drei Muster stehen hier.
   ============================================================ */

/* --- Eröffnung: der Satz sass zu tief ---------------------------------
   .opening zentriert seinen Inhalt, hat oben aber die Kopfzeile plus
   84 px Polster und unten nur 132 px — die Mitte lag dadurch 27 px unter
   der Mitte der Fläche, und mit dem höheren Kopf wurde daraus mehr.
   Oben weniger Polster, unten etwas mehr: der Satz rückt hoch, das
   Zeichen am unteren Rand bleibt, wo es steht. */
.opening{
  padding-top: calc(var(--kopf-h) + clamp(24px, 2.9vw, 42px));
}
/* Gemessen bei 1440 px: die Rubrik stand 86 px unter der Kopfzeile und
   steht jetzt 47 px darunter. Der Kopf wird dadurch um dieselben 39 px
   kürzer — unter dem Zeichen stand ohnehin nur Leerraum. */
/* Danach sass der Satz eine Spur zu hoch. Er rückt wieder etwas tiefer,
   ohne die Höhe der Fläche zu ändern — das Zeichen bleibt, wo es steht. */
.opening-copy{ position: relative; top: clamp(16px, 2vw, 32px); }

/* --- 1. Leistungen als Farbkacheln ------------------------------------
   Vorbild sind die vier Kacheln bei Bird & Bird (D&I, Alumni, Careers,
   Insights): volle Fläche in einem Ton, Titel oben in der Antiqua, unten
   links „READ MORE →“. Hier drei Kacheln in den Tönen der Marke.
   Vorher waren es drei Zeilen mit Haarlinie — sie lasen sich wie
   Fließtext und niemand sah, dass sie weiterführen. */
.svc-list{
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--s4); margin-top: var(--s7);
}
.svc-list li{ border-bottom: 0; }
.svc-list a{
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(26px, 2.6vw, 36px);
  gap: 0; background: var(--kachel, var(--bg-alt));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-list a:hover{
  background: var(--kachel, var(--bg-alt));   /* setzt die alte Hover-Fläche zurück */
  padding-left: clamp(26px, 2.6vw, 36px);     /* und den alten Versatz */
  transform: translateY(-3px); box-shadow: var(--sh);
}
.svc-1{ --kachel: var(--fl-iris); }
.svc-2{ --kachel: var(--fl-minze); }
.svc-3{ --kachel: var(--fl-veilchen); }

.svc-list .sv-t{
  font-family: var(--titel); font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink);
}
.svc-list .sv-t::after{ content: none; }   /* der Pfeil steht jetzt unten */
.svc-list .sv-d{
  margin-top: var(--s4); font-size: 15.5px; line-height: 1.55; color: var(--ink-2);
}
.svc-list .sv-m{
  margin-top: var(--s5); text-align: left;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #454C5E;
}
.sv-mehr{
  margin-top: auto; padding-top: var(--s6);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.sv-mehr svg{ width: 20px; height: 20px; transition: transform .25s var(--ease); }
.svc-list a:hover .sv-mehr svg{ transform: translateX(5px); }
@media (max-width: 900px){
  .svc-list{ grid-template-columns: 1fr; }
  .svc-list a{ padding: var(--s5); }
  .sv-mehr{ padding-top: var(--s5); }
}

/* --- 2. Rechtsgebiete als Karten in zwei Tönen ------------------------
   Vorbild ist das Feld „News & Deals“: gleich große Karten, die Farbe
   sagt, welcher Art der Eintrag ist — dort Rosa für Mandate und Türkis
   für Meldungen. Hier tragen die drei großen Gebiete den kräftigeren
   Ton, die beiden kleineren den ruhigen; die Trennstriche entfallen. */
.gb-raster{
  border-top: 0; gap: var(--s3); margin-top: var(--s7);
}
.gb{
  padding: var(--s5) !important;
  border-left: 0; background: var(--kachel, var(--bg-alt));
}
.gb:nth-child(2n){ --kachel: var(--fl-minze); }
.gb:nth-child(2n+1){ --kachel: var(--fl-iris); }
.gb-n{ font-size: clamp(30px, 3vw, 40px); }
.gb-t{ color: #454C5E; }
.gb-l li{ color: #333A4C; }
.gb{ --muted: #454C5E; }

/* --- 3. Der Kontakt: ein Band mit Streifen darüber --------------------
   Das dritte Muster von Bird & Bird — dort das orange Feld „A little
   bird told me“ mit dem gelben Streifen darüber und der dunklen Pille
   als Schaltfläche. Es ist das einzige warme Feld der Seite und steht
   an der Stelle, an der etwas passieren soll.
   Gemessen: Tinte #0B1020 auf #EFB98F 10,7:1, Fließtext #3C4559 5,5:1,
   Kleinschrift #454C5E 4,9:1. Das ungedämpfte Orange von Bird & Bird
   (#FFA068) käme beim Fließtext nur auf 4,8:1 und beim Grau darunter
   gar nicht mehr an. */
.section.closer{
  background: #EFB98F;
  border-top: 0;
  position: relative;
  padding-block: clamp(72px, 8.5vw, 124px);
}
.section.closer::before{
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 10px; background: #F6D97B;
}
/* Die Kleinschrift braucht auf dem Ton wieder ihre dunklere Stufe. */
.section.closer, .section.closer *{ --muted: #454C5E; }

.section.closer h2{ color: var(--ink); }
.section.closer .lead{ color: var(--ink-2); }
/* #7A4A1E kam bei 12 px auf 4,25:1 — unter der Schwelle. #6B3E14 liegt
   bei 5,16:1 und bleibt derselbe warme Braunton. */
.section.closer .eyebrow, .section.closer .eyebrow.on-deep{ color: #6B3E14; }
.section.closer .book-or{ color: #454C5E; }

/* Die Kontaktzeilen: Linien im Ton der Fläche, nicht im Grau der Seite. */
.section.closer .contact-tile,
.section.closer .contact-tile:last-child{ border-color: rgba(11,16,32,.22) !important; }
.section.closer .contact-tile .ct-lbl{ color: #5A4326 !important; }
.section.closer .contact-tile .ct-val{ color: var(--ink); }

/* Die Karte ist das einzige weiße Objekt auf dem Ton — Kante statt
   Schatten reicht, damit sie steht. */
.section.closer .cform{
  background: #fff; border: 1px solid rgba(11,16,32,.12);
  box-shadow: 0 18px 44px -26px rgba(60,30,10,.45) !important;
}
/* Die Nebenspalte der Produktseiten steht ebenfalls auf dem Ton.
   Das !important ist hier nicht Bequemlichkeit: der Block aus der Zeit
   des nachtschwarzen Bandes setzt weiter oben „background: none
   !important“, „border: 0 !important“ und weiße Schrift ebenfalls mit
   !important. Ohne Gegenstück bliebe die Spalte weiß auf Apricot —
   gemessen 1,6:1. */
.section.closer .stage{
  background: rgba(255,255,255,.58) !important;
  border: 1px solid rgba(11,16,32,.12) !important;
  border-radius: var(--r) !important;
  padding: var(--s5) !important;
  box-shadow: none !important;
}
.section.closer .stage h3{ color: var(--ink) !important; }
.section.closer .stage li{
  color: var(--ink-2) !important; border-bottom-color: rgba(11,16,32,.12);
}
.section.closer .stage li svg{ color: #6B3E14; }
.section.closer .stage .st-tag{ color: #5A4326 !important; }
.section.closer .btn-ghost{
  background: rgba(255,255,255,.7); color: var(--ink); border-color: rgba(11,16,32,.24);
}
.section.closer .btn-ghost:hover{ background: #fff; border-color: var(--ink); }
.section.closer .pill.on-deep{
  background: rgba(255,255,255,.6); color: var(--ink-2); border-color: rgba(11,16,32,.18);
}
/* Die dunkle Pille wie beim Vorbild — dort „LET'S FLY“. */
.section.closer .btn-on-deep{ background: var(--ink); color: #fff; }
.section.closer .btn-on-deep:hover{ background: #23304F; }

/* ============================================================
   Navigation: Unterstrich statt Pille — 13.08.
   Der geöffnete Eintrag trug ein gefülltes Plättchen in Iris, dazu
   Schrift in Iris und fett. Drei Signale für eine Sache, und das
   Plättchen liest sich wie ein Reiter in einer Anwendung, nicht wie
   die Navigation einer Kanzlei.
   Bird & Bird lösen es mit einer einzigen Linie — nachgesehen in deren
   Stilvorlage:
     a         { padding-bottom: 3px; margin: 0 18px }
     a.active  { border-bottom: 2px solid #323e48 }
     a:hover   { color: currentColor; opacity: .5 }
   Also: keine Fläche, keine zweite Farbe, kein Fettdruck — die Schrift
   bleibt, darunter steht ein Strich. Der Abstand kommt hier aus gap
   statt aus Rand, damit der Strich so breit ist wie das Wort und nicht
   so breit wie das Polster.
   ============================================================ */
.nav-links{ gap: 36px; }
.nav-links a{
  position: relative;
  padding: 10px 0;        /* Höhe des Ziels bleibt, die Breite ist das Wort */
  border-radius: 0;
  background: none;
  font-size: 17px;        /* eine Stufe über den 16 px des Vorbilds */
  font-weight: 500;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px;
  background: currentColor; opacity: 0;
  transition: opacity .2s var(--ease);
}
.nav-links a.on::after{ opacity: 1; }
.nav-links a:hover::after{ opacity: .34; }

/* Die drei alten Fassungen des geöffneten Eintrags — auf Weiß, auf der
   gescrollten Leiste und über der Aufnahme — setzten alle Fläche und
   Iris. Hier fallen sie zusammen weg; gefärbt wird nur noch die Schrift
   selbst, und zwar in Tinte wie jeder andere Eintrag auch. */
.nav-links a.on,
.site-header .nav-links a.on,
body:has(.opening--foto) .site-header:not(.scrolled) .nav-links a.on{
  background: none; color: var(--ink); font-weight: 500;
}
.nav-links a:hover,
.site-header .nav-links a:hover,
body:has(.opening) .site-header:not(.scrolled) .nav-links a:hover,
body:has(.opening--foto) .site-header:not(.scrolled) .nav-links a:hover{
  background: none; color: var(--ink);
}
/* Über der dunklen Fassung der Eröffnung steht die Leiste hell. */
body:has(.opening):not(:has(.opening--foto)) .site-header:not(.scrolled) .nav-links a.on,
body:has(.opening):not(:has(.opening--foto)) .site-header:not(.scrolled) .nav-links a:hover{
  color: #fff;
}

/* Die Leiste sprang beim Seitenwechsel: .nav verteilt mit space-between,
   die Mitte hängt also von der Breite beider Ränder ab — und rechts steht
   je nach Seite „Kontakt aufnehmen“ oder „Termin buchen“. Drei Spalten mit
   gleich breiten Rändern halten die Einträge auf jeder Seite an derselben
   Stelle. Feste Spalten, damit der Knopf rechts bleibt, wenn die Leiste
   auf schmalen Geräten ausgeblendet ist. */
.nav{ display: grid; grid-template-columns: 1fr auto 1fr; }
.nav > .brand{ grid-column: 1; justify-self: start; }
.nav > .nav-links{ grid-column: 2; }
.nav > .nav-cta{ grid-column: 3; justify-self: end; }
/* Kurze Seiten ohne Rollbalken sollen nicht um dessen Breite versetzt stehen. */
html{ scrollbar-gutter: stable; }

/* ============================================================
   Preise: die Farbe wandert vom Abschnitt in den Preis — 13.08.
   Die Minze #BCE6D6 lag doppelt auf der Startseite: einmal als Kachel
   „Web-Auftritt“ unter den Leistungen, einmal als Fläche des ganzen
   Preisabschnitts, 1165 px hoch. Derselbe Ton bedeutete damit an zwei
   Stellen zweierlei — das ist der Rest Schmuckfarbe, der übrig war.
   Der Abschnitt steht jetzt weiß, und die Minze trägt genau den
   Gegenstand, um den es geht: den Betrag samt Rechner und Schaltfläche.
   Die Liste „Im Preis enthalten“ bleibt schlicht daneben stehen, damit
   das Feld allein den Blick hat.
   ============================================================ */
#preise{ background: transparent; }

/* Der Ton des Feldes ist Iris, nicht Minze: über der Zahl steht
   „Online-Formulare“, und die Kachel dieser Leistung weiter oben trägt
   ebenfalls Iris. Minze hätte hier „Web-Auftritt“ gemeint — also genau
   die Beliebigkeit, um die es ging. */
.pr-main{
  background: var(--fl-iris);
  padding: clamp(28px, 3vw, 40px);
  align-self: start;
}

/* Zwei Gründe, zwei Grauwerte. #6E7890 — der Wert der übrigen Seite —
   kommt auf Weiß nur auf 4,42:1 und auf dem Iris auf 4,31:1, ist bei
   11 px also auf beiden zu hell.
   Damit die zweite Regel überhaupt ankommt, muss sie die Kennung
   mitführen: „#preise *“ zählt eine Kennung, „.pr-main *“ nur eine
   Klasse und käme sonst nie an die erste heran. */
#preise, #preise *{ --muted: #565E72; }            /* auf Weiß  6,38:1 */
#preise .pr-main, #preise .pr-main *{ --muted: #454C5E; }  /* auf Iris 5,81:1 */

/* Die Minus-Taste des Rechners steht bei einem Notar auf „gesperrt“ und
   trug dort --line-2, eine Linienfarbe: gemessen 1,62:1, also schlicht
   nicht vorhanden. Gesperrte Bedienelemente sind von der Vorgabe zwar
   ausgenommen, unsichtbar sollen sie deshalb aber nicht sein. */
.stepper button:disabled{ color: #8D94A8; }

/* Der Rechner stand auf --bg-alt, einem kühlen Grau — auf der Minze
   liest sich das wie ein Fleck. Weiß mit weicher Kante gehört dorthin. */
.pr-main .calc{
  background: rgba(255,255,255,.72);
  border-color: rgba(11,16,32,.10);
}
.pr-main .calc-total{ border-top-color: rgba(11,16,32,.16); }
.pr-main .stepper{ border-color: rgba(11,16,32,.14); }

/* Die Liste daneben braucht ihre Linien zurück: ohne die Fläche des
   Abschnitts stand sie als loser Textblock da. */
.pr-side .pr-list{ border-top: 1px solid var(--line); }
.pr-side .pr-list li{ border-bottom: 1px solid var(--line); padding: 13px 0; }

@media (max-width: 860px){
  .pr-main{ padding: var(--s5); }
}

/* ============================================================
   Iris und Veilchen weiter auseinander — 13.08.
   Beide Töne lagen bei B = 247 und unterschieden sich nur im Verhältnis
   von Rot zu Grün. Umgerechnet in Farbwinkel: Iris 229°, Veilchen 252° —
   23° Abstand. Bei dieser geringen Sättigung erkennt das Auge darin
   keine zwei Farben mehr, sondern eine mit Streuung; auf der Startseite
   stehen sie als erste und dritte Kachel der Leistungen fast
   nebeneinander.
   Jetzt: Iris 221°, Veilchen 285° — 64° Abstand. Das Iris rückt vom
   Blauviolett ins Blaue, näher an die Marke selbst (#3A45E6), das
   Veilchen ins Malvenfarbene, dorthin, wo Bird & Bird ihr Flieder
   (#CF9DC7) führen.
   Die Helligkeit bleibt fast gleich (0,639 bzw. 0,658 gegen vorher 0,660
   und 0,664), damit alle gemessenen Kontraste tragen:
     Fließtext  #3C4559  6,36:1 / 6,53:1
     Kleinschr. #454C5E  5,64:1 / 5,79:1
     Listen     #333A4C  7,43:1 / 7,64:1
   Gesetzt wird nur an den beiden Marken hier — die Kacheln, die Karten
   der Rechtsgebiete, das Preisfeld und die Abschnitte #uebersicht und
   #faelle greifen alle darauf zu.
   ============================================================ */
:root{
  --fl-iris:     #BFD1F8;   /* 221° — Blau der Marke, aufgehellt */
  --fl-veilchen: #E6CBEF;   /* 285° — Malve */
}

/* ============================================================
   Häufige Fragen: zwei Altlasten — 13.08.
   Gemessen im Abschnitt #wissen:

   1. Die Liste stand 134 px rechts von ihrer eigenen Überschrift.
      .section-head beginnt bei x = 176 (Raster der Seite), .faq bei
      x = 310 — „max-width: 820px“ zusammen mit „margin-inline: auto“
      rückt den Block in die Mitte des Behälters, während der Kopf
      darüber links steht. Zwei Kanten, wo eine hingehört; das ist der
      Hauptgrund, warum der Abschnitt schief aussieht. Die Breite bleibt
      begrenzt, damit die Zeilen nicht zu lang werden — sie wird nur
      nicht mehr zentriert.

   2. Jede Zeile trug eine Fläche, die praktisch keine war.
      „#wissen .faq-item{ background: rgba(255,255,255,.74) }“ stammt
      aus der Zeit, als der Abschnitt den Sandton #F4E8DC trug; dort
      war das eine sichtbare weiße Karte. Seit der Abschnitt auf
      #F7F7F9 steht, ergibt dieselbe Regel rgb(253,253,253) — sechs
      Stufen Unterschied. Zu wenig, um als Karte gelesen zu werden, zu
      viel, um nicht aufzufallen: es wirkt wie ein Darstellungsfehler.
      Getrennt wird hier ohnehin durch Linien, nicht durch Flächen —
      .faq-item steht weiter oben schon auf „box-shadow: none“.
   ============================================================ */
.faq{ max-width: 900px; margin-inline: 0; }
#wissen .faq-item{ background: none; }

/* --- Fragen und Antworten: Übergang beim Auf- und Zuklappen -----------
   Die Höhe wird in juvara.js geführt; hier steht, was dafür nötig ist.
   overflow: hidden, damit der Text während der Bewegung nicht über die
   sinkende Kante hinausschaut. Und ein Zwischenzustand für das Zeichen:
   beim Schließen bleibt „open“ noch ein Viertel Sekunde gesetzt, damit
   es etwas zu bewegen gibt — das Kreuz soll aber sofort zurückdrehen. */
.faq-body{ overflow: hidden; }
.faq-item[open].zu summary .plus{ background: none; border-color: var(--line-2); }
.faq-item[open].zu summary .plus::before,
.faq-item[open].zu summary .plus::after{ background: var(--brand); }
.faq-item[open].zu summary .plus::after{ transform: none; }

/* Scrollbild auf der Startseite (31.10.2026): Browserrahmen klebt unter der
   Kopfzeile, die Beispielseite läuft darin über ihre ganze Länge (--fahrt aus
   juvara.js, 0 = oben, 1 = unten). --hv = Höhe/Breite der Aufnahme
   (4845/2400), 0.5694 = Höhe/Breite der Bühne (820/1440). Der Fahrweg ist ein
   Pseudo-Element, kein Polster: sticky bewegt sich nur im Inhaltsbereich. */
.sb-bahn{ margin-top: var(--s9); }
.sb-bahn::after{ content: ""; display: block; height: 2000px; }
.sb-rahmen{
  position: sticky; top: calc(var(--kopf-h) + 20px);
  max-width: calc((100vh - var(--kopf-h) - 100px) * 1.756); margin-inline: auto;
  box-shadow: 0 24px 48px -36px rgba(11,16,32,.45);
}
.sb-buehne.vn-buehne{ position: relative; margin: 0; overflow: hidden; aspect-ratio: 1440 / 820; border: 0; container-type: inline-size; background: var(--bg-alt); }
/* Beide Aufnahmen laufen jede über ihre eigene Länge; --hv = Höhe/Breite der
   Aufnahme, 0.5694 = Höhe/Breite der Bühne. tools/scrollbild.py trägt den
   Wert der neuen Fassung ein. */
.sb-buehne img, .sb-buehne .vn-neu img{
  position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; object-fit: initial;
  transform: translateY(calc(var(--fahrt, 0) * (0.5694 - var(--hv)) * 100cqw));
}
.sb-neu{ --hv: 2.9396; }
.sb-alt{ --hv: 0.7438; }
.sb-rahmen .vn-marke{
  top: auto; bottom: 14px; font-size: 10px; letter-spacing: .14em; padding: 4px 9px;
  background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--line);
}
.sb-rahmen .vn-marke.links{ left: 14px; }
.sb-rahmen .vn-marke.rechts{ right: 14px; }
.sb-rahmen .vn-linie{ width: 1.5px; box-shadow: none; }
.sb-rahmen .vn-knauf{ width: 40px; height: 40px; }
.sb-rahmen .vn-knauf svg{ width: 18px; height: 18px; }
@media (max-width: 700px){ .sb-bahn::after{ height: 1100px; } }


/* Formulare: geführter Durchlauf statt Gegenüberstellung (31.10.2026).
   Links eine Formularkarte, deren Abschnitte nacheinander abgehakt werden
   (juvara.js, [data-schrittlauf]); rechts die vier Eigenschaften 2 × 2. */
.durchlauf{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,4vw,64px); align-items: center; margin-top: var(--s8); }
.dl-karte{ background: #fff; border: 1px solid var(--line); padding: clamp(20px,2.4vw,30px); box-shadow: 0 24px 48px -36px rgba(11,16,32,.4); }
.dl-kopf{ display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.dl-kopf span:first-child{ font-weight: 600; color: var(--ink); }
.dl-zahl{ font-variant-numeric: tabular-nums; }
.dl-balken{ height: 3px; background: var(--line); margin: 12px 0 18px; }
.dl-balken i{ display: block; height: 100%; width: 25%; background: var(--brand); transition: width .6s var(--ease); }
.dl-karte .wstep{ transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease); }
.dl-karte .wstep .n{ transition: background .35s var(--ease), color .35s var(--ease); }
.dl-karte .wstep.now .n{ background: var(--brand); }
.dl-punkte{ grid-template-columns: 1fr 1fr !important; margin-top: 0; }
@media (max-width: 900px){ .durchlauf{ grid-template-columns: 1fr; } }
@media (max-width: 560px){ .dl-punkte{ grid-template-columns: 1fr !important; } }
/* Im Durchlauf 2 × 2 mit Linien zwischen den Zeilen statt Spaltenlinien. */
.dl-punkte{ gap: var(--s7) var(--s6); }
.dl-punkte .mech{ border-left: 0 !important; padding: 0 !important; border-top: 0 !important; }
.dl-punkte .mech .ic{ width: 30px; height: 30px; margin-bottom: var(--s3); }

/* ============================================================
   Formulare: „Der Weg eines Formulars“ (31.10.2026)
   Links ein stehendes Fenster mit fünf Szenen, rechts fünf Absätze.
   Die Szene schaltet um, sobald ein Absatz die Bildmitte erreicht
   ([data-szene] auf .gs, gesetzt von juvara.js).
   ============================================================ */
.gs{ display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(32px,5vw,80px); margin-top: var(--s8); }
.gs-buehne{ position: sticky; top: calc(var(--kopf-h) + 40px); align-self: start; }
.gs-fenster{ background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11,16,32,.45); overflow: hidden; }
.gs-leiste{ display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.gs-leiste span{ width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.gs-leiste em{ margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); }
.gs-kopf{ display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: #001E44; color: #fff; font-size: 15px; font-weight: 600; }
.gs-kopf b{ width: 22px; height: 22px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.8); font-size: 11px; }
.gs-flaeche{ position: relative; height: clamp(320px, 30vw, 400px); }
.gs-sz{
  position: absolute; inset: 0; padding: clamp(20px,2.4vw,32px);
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gs[data-szene="0"] .gs-sz0, .gs[data-szene="1"] .gs-sz1, .gs[data-szene="2"] .gs-sz2,
.gs[data-szene="3"] .gs-sz3, .gs[data-szene="4"] .gs-sz4{ opacity: 1; transform: none; }

/* Szene 0: Übersicht */
.gs-titel{ font-family: var(--titel); font-size: 24px; color: var(--ink); }
.gs-suche{ display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.gs-suche i{ width: 12px; height: 12px; border: 1.5px solid var(--muted); border-radius: 50%; }
.gs-kacheln{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gs-kacheln span{ display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.gs-kacheln small{ font-size: 12px; font-weight: 400; color: var(--muted); }
.gs-kacheln .an{ border-color: #001E44; box-shadow: inset 3px 0 0 #001E44; }

/* Formularteile */
.gs-abschnitt{ font-family: var(--titel); font-size: 20px; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.gs-feld{ display: grid; gap: 5px; }
.gs-feld label{ font-size: 12.5px; color: var(--ink-2); }
.gs-feld span{ height: 36px; display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink); }
.gs-wahl{ border-color: #001E44 !important; }

/* Szene 1: Fragen fallen weg, sobald die Szene sichtbar ist */
.gs-weg{ display: grid; gap: 14px; overflow: hidden; max-height: 220px; opacity: 1; }
.gs[data-szene="1"] .gs-weg{ animation: gsWeg .7s var(--ease) .7s forwards; }
@keyframes gsWeg{ to{ max-height: 0; opacity: 0; margin-top: -14px; } }
.gs-hinweis{ font-size: 12.5px; color: var(--muted); opacity: 0; }
.gs[data-szene="1"] .gs-hinweis{ animation: gsEin .4s var(--ease) 1.4s forwards; }
@keyframes gsEin{ to{ opacity: 1; } }

/* Szene 2: Fortschritt und gespeicherter Stand */
.gs-fort{ display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.gs-fort i{ flex: 1; height: 3px; background: var(--line); }
.gs-fort b{ display: block; width: 37.5%; height: 100%; background: #001E44; }
.gs-toast{
  margin-top: auto; align-self: flex-start; padding: 10px 14px; background: #0F1B2D; color: #fff; font-size: 13px;
  opacity: 0; transform: translateY(8px);
}
.gs[data-szene="2"] .gs-toast{ animation: gsToast .45s var(--ease) .8s forwards; }
@keyframes gsToast{ to{ opacity: 1; transform: none; } }

/* Szene 3: Prüfseite */
.gs-pruef{ display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.gs-pruef b{ font-weight: 600; color: var(--ink); }
.gs-pruef span{ color: var(--ink-2); }
.gs-pruef em{ font-style: normal; font-size: 12px; color: #001E44; text-decoration: underline; }
.gs-knopf{ margin-top: auto; align-self: flex-start; padding: 11px 20px; background: #001E44; color: #fff; font-size: 14px; font-weight: 600; }

/* Szene 4: Eingang */
.gs-post{ display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.gs-mail{ display: grid; grid-template-columns: 10px 1fr; gap: 4px 10px; align-items: center; padding: 14px; border: 1px solid var(--line); }
.gs-mail i{ width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.gs-mail b{ font-size: 15px; color: var(--ink); }
.gs-mail span{ grid-column: 2; font-size: 13px; color: var(--muted); }
.gs-anh{ display: flex; gap: 10px; flex-wrap: wrap; }
.gs-anh span{ display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.gs-anh b{ font-size: 10px; letter-spacing: .04em; padding: 1px 5px; border: 1px solid var(--line-2); }

/* Rechte Spalte */
.gs-texte{ display: grid; }
.gs-schritt{ min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s var(--ease); }
.gs-schritt:first-child{ min-height: 50vh; justify-content: flex-start; padding-top: 40px; }
.gs-schritt.an{ opacity: 1; }
.gs-nr{ font-family: var(--titel); font-size: 15px; color: var(--muted); }
.gs-schritt h3{ margin-top: 10px; font-family: var(--titel); font-size: clamp(26px,2.6vw,36px); line-height: 1.12; color: var(--ink); }
.gs-schritt p{ margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 42ch; }
html:not(.js) .gs-schritt{ opacity: 1; min-height: 0; padding: 24px 0; }

@media (max-width: 900px){
  .gs{ grid-template-columns: 1fr; gap: 0; }
  .gs-buehne{ top: calc(var(--kopf-h) + 8px); z-index: 2; background: var(--bg); padding-bottom: 12px; }
  .gs-flaeche{ height: 300px; }
  .gs-schritt, .gs-schritt:first-child{ min-height: 55vh; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce){
  .gs-sz{ transition: none; }
  .gs-weg{ display: none; } .gs-hinweis, .gs-toast{ opacity: 1; transform: none; }
}

/* Im Einzelnen: Begriff links, Text rechts, Haarlinien */
.ez{ display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.6fr); gap: clamp(28px,5vw,80px); }
.ez-titel{ font-size: clamp(30px,3.4vw,44px); }
.ez-liste{ border-top: 1px solid var(--ink); }
.ez-liste > div{ display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ez-liste dt{ font-weight: 600; color: var(--ink); }
.ez-liste dd{ margin: 0; color: var(--ink-2); line-height: 1.65; }
@media (max-width: 900px){ .ez{ grid-template-columns: 1fr; } .ez-liste > div{ grid-template-columns: 1fr; gap: 6px; } }

/* Mehr Luft unter dem Seitenkopf (31.10.2026): auf „Formulare“ stieß die
   farbige Fläche des nächsten Abschnitts zu dicht an die Knöpfe. Gilt für
   alle Unterseiten mit .page-hero, damit die Abstände einheitlich bleiben. */
.page-hero{ padding-bottom: clamp(64px, 7.5vw, 120px); }

/* Weg eines Formulars, zweite Fassung (31.10.2026): Fenster und Text auf
   gleicher Höhe — das Fenster steht in der Bildmitte (Höhe ≈ 38 + 52 +
   Fläche), und die Szene schaltet, wenn die Überschrift die Mitte erreicht
   (juvara.js beobachtet .gs-satz statt des ganzen Absatzes). */
.gs-buehne{ top: max(calc(var(--kopf-h) + 16px), calc(50vh - (90px + clamp(320px, 30vw, 400px)) / 2)); }
.gs-schritt, .gs-schritt:first-child{ min-height: 64vh; justify-content: center; padding-top: 0; }
.gs-texte{ padding-block: 18vh; }
.gs[data-szene="5"] .gs-sz5, .gs[data-szene="6"] .gs-sz6{ opacity: 1; transform: none; }

/* Szene 5: Ausfüllhilfe am Feld */
.gs-info{ display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; background: #001E44; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; vertical-align: 1px; }
.gs-hilfe{
  position: relative; margin-top: -4px; padding: 12px 14px; background: #EEF2F8; border-left: 3px solid #001E44;
  font-size: 13px; line-height: 1.55; color: var(--ink-2); opacity: 0; transform: translateY(-6px);
}
.gs[data-szene="5"] .gs-hilfe{ animation: gsToast .45s var(--ease) .6s forwards; }

/* Szene 6: Unterlagen hochladen */
.gs-ablage{ display: grid; gap: 4px; justify-items: center; padding: 18px; border: 1.5px dashed var(--line-2); text-align: center; }
.gs-ablage b{ font-size: 14px; color: var(--ink); }
.gs-ablage span{ font-size: 12px; color: var(--muted); }
.gs-datei{ display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); opacity: 0; }
.gs-datei b{ font-size: 10px; letter-spacing: .04em; padding: 1px 5px; border: 1px solid var(--line-2); color: var(--ink); }
.gs-datei span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-datei i{ grid-column: 1 / -1; height: 3px; background: var(--line); }
.gs-datei em{ display: block; height: 100%; width: 0; background: #001E44; }
.gs[data-szene="6"] .gs-datei{ animation: gsEin .3s var(--ease) .4s forwards; }
.gs[data-szene="6"] .gs-datei em{ animation: gsLaden 1.1s var(--ease) .6s forwards; }
.gs[data-szene="6"] .gs-datei2{ animation-delay: 1.3s; }
.gs[data-szene="6"] .gs-datei2 em{ animation-delay: 1.5s; }
@keyframes gsLaden{ to{ width: 100%; } }
@media (prefers-reduced-motion: reduce){ .gs-hilfe, .gs-datei{ opacity: 1; transform: none; } .gs-datei em{ width: 100%; } }
@media (max-width: 900px){ .gs-texte{ padding-block: 0; } }

/* ============================================================
   Web-Auftritt: Fallbeispiel (31.10.2026)
   Großes Bildschirmbild mit Telefon davor, darunter drei Ausschnitte im
   Wechsel links/rechts mit kurzer Begründung.
   ============================================================ */
.fb-buehne{ position: relative; margin-top: var(--s8); padding-right: clamp(40px, 9vw, 150px); padding-bottom: clamp(40px, 6vw, 90px); }
.fb-desktop{ box-shadow: 0 40px 80px -50px rgba(11,16,32,.5); }
.fb-desktop img{ display: block; width: 100%; height: auto; }
.fb-telefon{
  position: absolute; right: 0; bottom: 0; width: clamp(150px, 21%, 270px); aspect-ratio: 390 / 844;
  border: clamp(6px, .8vw, 10px) solid #0B1020; border-radius: clamp(24px, 3vw, 40px); overflow: hidden;
  background: #0B1020; box-shadow: 0 30px 60px -30px rgba(11,16,32,.6);
}
.fb-telefon img{ display: block; width: 100%; height: auto; }

.fb-details{ display: grid; gap: clamp(56px, 8vw, 120px); margin-top: clamp(72px, 10vw, 140px); }
.fb-detail{ display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin: 0; }
.fb-detail:nth-child(even){ grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.fb-detail:nth-child(even) .fb-bild{ order: 2; }
.fb-bild{ background: var(--bg-alt); padding: clamp(16px, 2.6vw, 36px); }
.fb-bild img{ display: block; width: 100%; height: auto; box-shadow: 0 20px 40px -30px rgba(11,16,32,.45); background: #fff; }
.fb-nr{ font-family: var(--titel); font-size: 15px; color: var(--muted); }
.fb-detail h3{ margin-top: 10px; font-family: var(--titel); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--ink); }
.fb-detail p{ margin-top: 12px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 40ch; }
.fb-hinweis{ margin-top: clamp(48px, 6vw, 80px); font-size: 13px; color: var(--muted); }
@media (max-width: 860px){
  .fb-buehne{ padding-right: 0; padding-bottom: 0; }
  .fb-telefon{ position: relative; width: 56%; margin: -18% auto 0; }
  .fb-detail{ grid-template-columns: 1fr; }
  .fb-detail:nth-child(even) .fb-bild{ order: 0; }
}

/* Web-Auftritt: zwei Beispiele (31.10.2026, zweite Fassung). Jedes auf einer
   eigenen, leicht getönten Bühne — Bildschirm ohne Browserleiste mit feinen
   Ecken, davor ein Telefon mit dünnem Rahmen; darunter Name und ein Satz.
   Die erste Fassung (graue Leiste mit Punkten, schwerer schwarzer Rahmen,
   Aufzählung daneben) wirkte billig. */
.bs{ margin-top: clamp(48px, 6vw, 88px); }
.bs-flaeche{
  position: relative; padding: clamp(28px, 6vw, 88px) clamp(28px, 9vw, 150px) clamp(40px, 7vw, 104px) clamp(28px, 6vw, 88px);
  border-radius: 6px; overflow: hidden;
}
.bs-kobalt .bs-flaeche{ background: linear-gradient(160deg, #E9EDF8 0%, #DCE3F5 100%); }
.bs-taupe .bs-flaeche{ background: linear-gradient(160deg, #F3F1EC 0%, #E8E4DB 100%); }
.bs-schirm{
  display: block; width: 100%; height: auto; border-radius: 6px;
  box-shadow: 0 1px 2px rgba(11,16,32,.06), 0 30px 60px -30px rgba(11,16,32,.35);
}
.bs-telefon{
  position: absolute; right: clamp(20px, 5vw, 76px); bottom: clamp(24px, 4vw, 56px); width: clamp(110px, 17%, 210px);
  aspect-ratio: 390 / 844; overflow: hidden; padding: 4px; border-radius: clamp(18px, 2.2vw, 30px);
  background: #1A1D24; box-shadow: 0 24px 48px -20px rgba(11,16,32,.45);
}
.bs-telefon img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(14px, 1.9vw, 26px); }
.bs-unter{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 64px); align-items: baseline; padding-top: 22px; }
.bs-unter h3{ font-family: var(--titel); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--ink); }
.bs-unter h3 span{ display: block; margin-top: 4px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); }
.bs-unter p{ font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 54ch; }
@media (max-width: 760px){ .bs-unter{ grid-template-columns: 1fr; gap: 8px; } }


/* Telefon im Beispiel, dritte Fassung (31.10.2026): Die Seite klebte bis an die
   gerundete Ecke, Marke und „Menü“ saßen im Radius. Jetzt ein Bildschirm mit
   Statusleiste in der Kopffarbe der jeweiligen Seite, gleichmäßiger Rahmen. */
.bs-telefon{ padding: 7px; aspect-ratio: auto; height: auto; border-radius: clamp(22px, 2.6vw, 36px); background: #15171C; }
.bs-screen{ border-radius: clamp(16px, 2vw, 29px); overflow: hidden; background: var(--sb, #fff); padding-top: 11%; position: relative; }
.bs-screen::before{ content: ""; position: absolute; top: 3.2%; left: 50%; width: 30%; height: 3.6%; max-height: 18px; transform: translateX(-50%); border-radius: 99px; background: #15171C; }
.bs-screen img{ display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 0; }
.bs-kobalt .bs-screen{ --sb: #023C95; }
.bs-taupe .bs-screen{ --sb: #FFFFFF; }

/* Fuß symmetrisch (31.10.2026): drei gleich gewichtete Spalten — links Marke
   mit einer Zeile, Mitte die vier Verweise als 2 × 2, rechts der Kontakt
   rechtsbündig auf der Linie von „© 2026 Juvara“. Vorher 1,4 : 1 : 1, die
   Verweise einspaltig untereinander und der Kontakt ohne Bezug zur Kante. */
.fz-band{ grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important; align-items: start; }
.fz-links{ display: grid; gap: 12px; justify-items: start; }
.fz-zeile{ font-size: 14px; color: #5F6880; }
.fz-liste{ grid-template-columns: repeat(2, auto); gap: 12px 40px; justify-content: center; }
.fz-kontakt{ justify-items: end; text-align: right; }
@media (max-width: 860px){
  .fz-band{ grid-template-columns: 1fr !important; gap: var(--s6); }
  .fz-liste{ justify-content: start; }
  .fz-kontakt{ justify-items: start; text-align: left; }
}
.bs-schwarz .bs-flaeche{ background: linear-gradient(160deg, #ECECEE 0%, #DCDCE0 100%); }
.bs-schwarz .bs-screen{ --sb: #000; }

/* Langer Sprung zu einer Sprungmarke: kurz ausblenden statt durch die Seite zu rasen. */
main, .site-footer{ transition: opacity .14s ease; }
body.anker-sprung main, body.anker-sprung .site-footer{ opacity: 0; }
/* Telefon unten (31.10.2026): Die Seite lief bis in die gerundeten Ecken und
   wurde dort angeschnitten. Unten jetzt ein Streifen wie oben, mit Leiste. */
.bs-screen{ padding-bottom: 8%; }

.bs-screen img{ aspect-ratio: 390 / 720; }

/* Schlussabschnitt „Nächster Schritt“ (31.10.2026): Die Vorzeile klebte an der
   Überschrift, der Block wirkte gedrängter als die übrigen Abschnitte. */
.section.closer{ padding-block: clamp(96px, 10vw, 150px); }
.section.closer .eyebrow{ display: inline-block; margin-bottom: 14px; }
.section.closer .lead{ margin-top: 20px; }
.section.closer .hero-actions{ margin-top: 32px; }

/* ============================================================
   Automatisierung: „Ein Vorgang, automatisch begleitet“ (31.10.2026)
   Gleicher Aufbau wie „Der Weg eines Formulars“ (.gs). Im Fenster links die
   Vorgangsakte — ihre Schritte haken sich mit den Szenen ab —, rechts die
   jeweilige Ansicht: Posteingang, E-Mail, Kalender, Aufgabe.
   ============================================================ */
.au-raster{ display: grid; grid-template-columns: 210px 1fr; }
.au-akte{ list-style: none; margin: 0; padding: 22px 18px; border-right: 1px solid var(--line); background: var(--bg-alt); display: grid; gap: 4px; align-content: start; }
.au-akte li{ display: grid; grid-template-columns: 14px 1fr; gap: 2px 10px; padding: 8px 0; font-size: 12.5px; color: var(--muted); transition: color .35s var(--ease); }
.au-akte li i{ grid-row: span 2; width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; transition: background .35s var(--ease), border-color .35s var(--ease); }
.au-akte li time{ grid-column: 2; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gs.au[data-szene="0"] .s0, .gs.au[data-szene="1"] :is(.s0,.s1), .gs.au[data-szene="2"] :is(.s0,.s1,.s2),
.gs.au[data-szene="3"] :is(.s0,.s1,.s2,.s3), .gs.au[data-szene="4"] :is(.s0,.s1,.s2,.s3,.s4){ color: var(--ink); }
.gs.au[data-szene="0"] .s0 i, .gs.au[data-szene="1"] :is(.s0,.s1) i, .gs.au[data-szene="2"] :is(.s0,.s1,.s2) i,
.gs.au[data-szene="3"] :is(.s0,.s1,.s2,.s3) i, .gs.au[data-szene="4"] :is(.s0,.s1,.s2,.s3,.s4) i{ background: var(--brand); border-color: var(--brand); }
.au-flaeche{ height: clamp(300px, 26vw, 360px); }
.au-kopf{ font-size: 12px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.au-mail{ display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); }
.au-mail.neu{ box-shadow: inset 3px 0 0 var(--brand); }
.au-mail b{ font-size: 15px; color: var(--ink); }
.au-mail span{ font-size: 13px; color: var(--muted); }
.au-anh{ display: flex; gap: 10px; flex-wrap: wrap; }
.au-anh span{ display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.au-anh b{ font-size: 10px; padding: 1px 5px; border: 1px solid var(--line-2); }
.au-brief{ display: grid; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.au-brief b{ font-family: var(--titel); font-weight: 500; font-size: 19px; color: var(--ink); }
.au-brief p{ font-size: 13.5px; color: var(--ink-2); }
.au-brief ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.au-brief li{ display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.au-brief li::before{ content: ""; width: 14px; height: 14px; border: 1.5px solid var(--line-2); border-radius: 3px; flex: none; }
.au-brief li.ok{ color: var(--muted); text-decoration: line-through; }
.au-brief li.ok::before{ background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--brand); }
.au-brief li.offen{ color: var(--ink); font-weight: 600; }
.au-knopf{ justify-self: start; margin-top: 4px; padding: 8px 14px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.au-woche{ display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto repeat(4, 44px); gap: 6px; }
.au-woche span{ font-size: 11.5px; color: var(--muted); text-align: center; padding-bottom: 4px; }
.au-woche i{ display: block; background: var(--bg-alt); border-left: 3px solid var(--line-2); font-style: normal; }
.au-woche i.neu{ grid-row: span 2 !important; padding: 6px 8px; background: rgba(58,69,230,.1); border-left-color: var(--brand); font-size: 11.5px; line-height: 1.35; color: var(--ink); font-weight: 600; opacity: 0; transform: scale(.96); }
.gs.au[data-szene="2"] .au-woche i.neu{ animation: gsToast .45s var(--ease) .5s forwards; }
.au-aufgabe{ display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); box-shadow: inset 3px 0 0 #C2410C; }
.au-aufgabe b{ font-size: 15px; color: var(--ink); }
.au-aufgabe span{ font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.au-aufgabe em{ font-style: normal; font-size: 12px; font-weight: 600; color: #C2410C; }
.gs.au .gs-nr{ font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--brand); }
@media (prefers-reduced-motion: reduce){ .au-woche i.neu{ opacity: 1; transform: none; } }
@media (max-width: 1100px){ .au-raster{ grid-template-columns: 1fr; } .au-akte{ display: none; } }
.gs.au .au-raster{ margin-top: 0; }
.gs.au .gs-buehne{ top: max(calc(var(--kopf-h) + 16px), calc(50vh - (38px + clamp(300px, 26vw, 360px)) / 2)); }

/* ============================================================
   Automatisierung: „Vier Abläufe“ zum Anklicken (31.10.2026)
   Links die vier Abläufe, rechts das Fenster wie im Beispiel oben:
   Schritte links (laufen durch), Ansicht rechts.
   ============================================================ */
.ab{ display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: var(--s8); }
.ab-liste{ display: grid; border-top: 1px solid var(--line); }
.ab-tab{
  display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; text-align: left; padding: 18px 12px 18px 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink-2);
  transition: background .25s var(--ease);
}
.ab-tab:hover{ background: var(--bg-alt); }
.ab-nr{ grid-row: span 3; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 3px; }
.ab-tab b{ font-family: var(--titel); font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--ink); }
.ab-lead, .ab-sys{ display: none; }
.ab-tab.an{ box-shadow: inset 3px 0 0 var(--brand); padding-left: 16px; background: var(--bg-alt); }
.ab-tab.an .ab-nr{ color: var(--brand); }
.ab-tab.an .ab-lead{ display: block; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ab-tab.an .ab-sys{ display: block; font-size: 12px; letter-spacing: .04em; color: var(--muted); }

.ab-fenster{ position: sticky; top: calc(var(--kopf-h) + 24px); }
.ab-panel{ display: none; }
.ab-panel.an{ display: block; }
.ab-schritte{ counter-reset: ab; }
.ab-schritte li{ padding: 0; display: block; }
.ab-schritte li button{
  display: grid; grid-template-columns: 14px 1fr; gap: 10px; width: 100%; padding: 9px 0; text-align: left;
  border: 0; background: none; cursor: pointer; font: inherit; font-size: 12.5px; color: var(--muted); transition: color .3s var(--ease);
}
.ab-schritte li i{ width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; transition: background .3s var(--ease), border-color .3s var(--ease); }
.ab-schritte li.fertig button, .ab-schritte li.an button{ color: var(--ink); }
.ab-schritte li.fertig i{ background: var(--brand); border-color: var(--brand); }
.ab-schritte li.an i{ border-color: var(--brand); box-shadow: 0 0 0 3px rgba(58,69,230,.14); }
.ab-schritte li.an button{ font-weight: 600; }
.ab-flaeche{ position: relative; height: clamp(300px, 24vw, 340px); }
.ab-view{ position: absolute; inset: 0; padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ab-view.an{ opacity: 1; transform: none; }

/* Ansichten */
.ab-seite{ display: grid; gap: 16px; justify-items: start; padding: 26px 22px; background: #0F2547; color: #fff; }
.ab-seite b{ font-family: var(--titel); font-weight: 500; font-size: 20px; line-height: 1.25; }
.ab-btn{ padding: 9px 16px; border: 1px solid rgba(255,255,255,.7); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ab-view.an .ab-btn{ animation: abPuls 1.6s var(--ease) .5s 2; }
@keyframes abPuls{ 50%{ background: rgba(255,255,255,.18); } }
.ab-slots{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ab-slots span{ padding: 10px 0; text-align: center; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ab-slots span.an{ border-color: var(--brand); background: rgba(58,69,230,.08); color: var(--ink); font-weight: 600; }
.ab-tag{ display: grid; grid-template-columns: 40px 1fr; gap: 6px; }
.ab-tag span{ grid-row: span 4; font-size: 12px; color: var(--muted); padding-top: 6px; }
.ab-tag i{ display: block; min-height: 34px; padding: 7px 10px; background: var(--bg-alt); border-left: 3px solid var(--line-2); font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.ab-tag i.neu{ background: rgba(58,69,230,.1); border-left-color: var(--brand); color: var(--ink); font-weight: 600; }
.ab-merkmale{ display: grid; gap: 8px; }
.ab-merkmale span{ display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ab-merkmale b{ color: var(--ink); }
.ab-notiz{ font-size: 13px; color: var(--brand); font-weight: 600; }
.ab-ordner{ display: grid; gap: 6px; }
.ab-ordner span{ display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ab-ordner span::before{ content: ""; width: 12px; height: 15px; border: 1.5px solid var(--line-2); border-radius: 2px; flex: none; }
.ab-schreiben{ display: grid; gap: 7px; padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.ab-schreiben span{ font-size: 11.5px; color: var(--muted); }
.ab-schreiben b{ font-family: var(--titel); font-weight: 500; font-size: 17px; color: var(--ink); margin: 4px 0; }
.ab-schreiben i{ height: 5px; background: var(--line); }
.ab-schreiben i.k{ width: 60%; }
.ab-fristen{ display: grid; gap: 6px; }
.ab-fristen span{ display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ab-fristen b{ color: var(--brand); font-variant-numeric: tabular-nums; }
.ab .au-raster{ margin-top: 0; }

@media (max-width: 1100px){
  .ab{ grid-template-columns: 1fr; }
  .ab-fenster{ position: static; }
}
@media (max-width: 1100px){ .ab .au-akte{ display: grid; } .ab .au-raster{ grid-template-columns: 1fr; } .ab .au-akte{ border-right: 0; border-bottom: 1px solid var(--line); } }

/* ============================================================
   Automatisierung: vier Abläufe zum Aufklappen (31.10.2026, dritte Fassung)
   Jede Zeile öffnet eine eigene Geschichte im Aufbau des Beispiels (.gs.au).
   ============================================================ */
.ak{ margin-top: var(--s8); border-top: 1px solid var(--ink); }
.ak-item{ border-bottom: 1px solid var(--line); }
.ak-kopf{
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center; width: 100%;
  padding: 28px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink);
}
.ak-nr{ font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.ak-titel{ display: grid; gap: 6px; }
.ak-titel b{ font-family: var(--titel); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.ak-titel span{ font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
.ak-auf{ display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.ak-auf::after{ content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.ak-kopf:hover .ak-titel b{ color: var(--brand-ink); }
.ak-kopf[aria-expanded="true"] .ak-nr{ color: var(--brand); }
.ak-kopf[aria-expanded="true"] .ak-auf::after{ transform: rotate(-135deg) translate(-2px, -2px); }
.ak-kopf[aria-expanded="true"] .ak-auf{ font-size: 0; gap: 0; }
.ak-kopf[aria-expanded="true"] .ak-auf::before{ content: "Schließen"; font-size: 13px; margin-right: 10px; }
.ak-inhalt{ padding-bottom: 24px; }
.ak .gs{ margin-top: 0; }
.ak .gs-texte{ padding-block: 12vh; }
.ak .gs-schritt, .ak .gs-schritt:first-child{ min-height: 56vh; }
.ak .au-raster{ margin-top: 0; }

/* neue Ansichten */
.ab-slots span.aus{ color: var(--line-2); text-decoration: line-through; background: var(--bg-alt); }
.ab-matrix{ display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 6px; align-items: center; font-size: 13px; }
.ab-matrix b{ text-align: center; font-weight: 600; font-size: 12px; color: var(--muted); }
.ab-matrix b.an{ color: var(--brand); }
.ab-matrix span{ color: var(--ink-2); }
.ab-matrix i{ height: 30px; border: 1px solid var(--line); background: #fff; position: relative; }
.ab-matrix i.j::after{ content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); font-style: normal; font-size: 13px; }
.ab-matrix i.o{ background: repeating-linear-gradient(45deg, var(--bg-alt) 0 6px, #fff 6px 12px); }
.ab-matrix i.an{ border-color: var(--brand); background: rgba(58,69,230,.1); }
.ab-matrix i.an::after{ color: var(--brand); font-weight: 700; }
@media (max-width: 760px){ .ak-kopf{ grid-template-columns: 40px 1fr; } .ak-auf{ grid-column: 2; } }
.ab-ordner span.neu{ border-color: var(--brand); background: rgba(58,69,230,.07); color: var(--ink); font-weight: 600; }
/* Anruf-Ansicht (Sekretariat) */
.ab-anruf{ display: grid; gap: 10px; justify-items: start; padding: 22px; border: 1px solid var(--line); }
.ab-anruf b{ font-size: 15px; color: var(--ink); }
.ab-anruf > span:last-child{ font-family: var(--titel); font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.ab-welle{ display: flex; align-items: center; gap: 4px; height: 28px; }
.ab-welle i{ width: 4px; height: 30%; border-radius: 2px; background: var(--brand); }
.gs-sz0.gs-sz .ab-welle i{ animation: welle 1.1s ease-in-out infinite; }
.ab-welle i:nth-child(2){ animation-delay: -.2s; } .ab-welle i:nth-child(3){ animation-delay: -.4s; } .ab-welle i:nth-child(4){ animation-delay: -.6s; } .ab-welle i:nth-child(5){ animation-delay: -.8s; }
@keyframes welle{ 50%{ height: 100%; } }
@media (prefers-reduced-motion: reduce){ .ab-welle i{ animation: none !important; height: 60%; } }

/* Kopf beim Laden (31.10.2026): Aufnahme blendet ein, sobald sie geladen ist
   (juvara.js setzt .geladen); erst danach zeichnet sich die Signatur. Die
   Klasse html.js setzt ein Einzeiler im <head>, damit nichts aufblitzt. */
html.js .opening-foto img{ opacity: 0; transition: opacity .7s ease; }
html.js .opening.geladen .opening-foto img{ opacity: 1; }
html.js .opening:not(.geladen) .opening-foto img{ animation: fotoNotaus 0s 3s forwards; }
@keyframes fotoNotaus{ to{ opacity: 1; } }

/* Aufklappen weich (31.10.2026): Inhalt blendet von unten ein, und der erste
   Schritt beginnt oben neben dem Fenster statt eine halbe Bildschirmhöhe tiefer. */
.ak-inhalt:not([hidden]){ animation: akAuf .55s cubic-bezier(.16,1,.3,1); }
@keyframes akAuf{ from{ opacity: 0; transform: translateY(18px); } }
.ak .gs-texte{ padding-top: 0; }
.ak .gs-schritt:first-child{ justify-content: flex-start; padding-top: clamp(40px, 9vh, 90px); }
@media (prefers-reduced-motion: reduce){ .ak-inhalt:not([hidden]){ animation: none; } }
.ak-inhalt.schliesst{ animation: akZu .26s ease forwards; }
@keyframes akZu{ to{ opacity: 0; transform: translateY(10px); } }
/* Abstände im geöffneten Ablauf (31.10.2026): Fenster rückt vom Kopf ab, und
   bis zum nächsten Ablauf bleibt Luft wie zwischen zwei Abschnitten. */
.ak-inhalt{ padding-top: 28px; padding-bottom: clamp(72px, 8vw, 112px); }
/* Fuß knapper (31.10.2026): oben gut 90 px Leerraum über dem Zeichen, jetzt
   rund 60 px. Inhalt und untere Zeile bleiben unverändert. */
.site-footer{ padding-top: clamp(44px, 4.2vw, 60px); }
/* Signatur: Bei Strichlänge 0 malte die runde Kappe einen weissen Punkt ans
   J, bevor die Zeichnung begann. Muster 100 Strich / 110 Lücke, Start mitten
   in der Lücke — dann liegt anfangs gar kein Strich auf dem Pfad. */
.sig-j{ stroke-dasharray: 100 110; stroke-dashoffset: 105; }

/* Formularbereiche als Verzeichnis (31.10.2026): vorher fünf farbige Kacheln
   — dieselbe Form wie „Drei Leistungen“ weiter unten. Jetzt Zeilen wie ein
   Inhaltsverzeichnis: links Bereich in der Antiqua und Anzahl, rechts die
   Formulare nebeneinander. Bewusst ohne Nummern und Karten, damit es sich
   auch vom Katalog auf formulare.html unterscheidet. */
.bv{ list-style: none; margin: var(--s7) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.bv-z{ display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: var(--s5); align-items: baseline; padding-block: clamp(22px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.bv-kopf{ display: grid; gap: 4px; }
.bv-kopf h3{ margin: 0; font-family: var(--titel); font-weight: 500; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; color: var(--ink); }
.bv-kopf span{ font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bv-l{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.bv-l li{ white-space: nowrap; }
.bv-l li:not(:last-child)::after{ content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 16px; border-radius: 50%; background: var(--brand); vertical-align: middle; opacity: .55; }
@media (max-width: 760px){
  .bv-z{ grid-template-columns: 1fr; gap: 12px; }
  .bv-l{ display: grid; gap: 6px; }
  .bv-l li{ white-space: normal; }
  .bv-l li::after{ display: none !important; }
}
/* Formulare rechts in zwei festen Spalten statt fortlaufend mit Punkten —
   beim Umbruch blieb sonst ein Punkt am Zeilenende hängen. */
.bv-l{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--s5); }
.bv-l li{ white-space: normal; }
.bv-l li::after{ display: none !important; }
@media (max-width: 760px){ .bv-l{ grid-template-columns: 1fr; gap: 6px; } .gb-fuss span{ display: none; } }
/* Ankommen mit #anker von einer anderen Seite (31.10.2026): Seite bleibt
   unsichtbar, bis juvara.js sie am Ziel abgesetzt hat, und blendet dann ein.
   Notausgang nach 1,5 s, falls das Skript nicht läuft. */
html.anker-an body{ opacity: 0; animation: ankerNotaus 0s 1.5s forwards; }
@keyframes ankerNotaus{ to{ opacity: 1; } }
html.anker-fertig body{ animation: ankerEin .22s ease; }
@keyframes ankerEin{ from{ opacity: 0; } }
/* Katalog (31.10.2026): unter jedem Formular eine Zeile mit den erfragten
   Angaben (aus den Abschnitten der Formulare) — die Startseite nennt nur
   die Namen, hier steht der Inhalt. */
.fl-d{ display: block; margin-top: 4px; font-family: var(--sans); font-weight: 400; font-size: 14.5px; line-height: 1.5; letter-spacing: 0; color: var(--ink-2); max-width: 62ch; }
.forms-grid.form-list li{ align-items: first baseline; }

/* Abläufe 02–04 (31.10.2026): die Liste schliesst mit derselben dunklen Linie,
   mit der sie beginnt; „Ein anderer Ablauf?“ steht danach ohne eigene Linie —
   vorher lagen eine helle und eine dunkle Linie dicht übereinander. Zeilen
   optisch mittig: die Antiqua bringt oben eigenen Leerraum mit. */
.ak-item:last-child{ border-bottom-color: var(--ink); }
.ak-kopf{ padding: 25px 0 31px; }
.ak + .own-case{ border-top: 0 !important; padding-top: 0; margin-top: clamp(56px, 6vw, 80px); }
/* Telefon-Menü (31.10.2026): der Kontaktblock steht dort im Fluss, die
   Fläche hat aber keinen Seitenrand — er klebte am linken Bildschirmrand. */
@media (max-width: 700px){ .menu-kontakt{ padding-inline: var(--gutter); } }
/* Rechtliche Seiten (31.10.2026): Unterabschnitte, Stand-Zeile und sichtbar
   markierte offene Angaben, solange die Texte Entwürfe sind. */
.legal-stand{ font-size: 14px !important; color: var(--muted) !important; margin-bottom: 28px !important; }
.legal h2{ scroll-margin-top: 110px; }
.legal h2 + h3{ margin-top: 20px; }
.legal h3{ font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; }
.legal .offen{ background: #FFF1B8; color: var(--ink); padding: 0 3px; border-radius: 2px; }

/* Abschnittsköpfe einheitlich (31.10.2026)
   1. Der Einordnungstext stand unten bündig mit der Überschrift — bei einer
      einzeiligen Überschrift neben drei Zeilen Text („Drei Leistungen“,
      „Preise“) begann er 41 px höher als sie, anderswo auf gleicher Höhe.
      Jetzt beginnt er überall auf Höhe der Überschrift; der kleine Versatz
      gleicht den Leerraum über den Großbuchstaben der Antiqua aus.
   2. Abstand vom Kopf zum Inhalt war 34–86 px, je nachdem, was folgte.
      Jetzt überall derselbe. */
@media (min-width: 821px){
  .section-head, .section-head.center, .lead-row{ align-items: start; }
  .section-head p, .lead-row p{ align-self: start; padding-top: .45em; }
}
.section-head, .section-head.center, .lead-row{ margin-bottom: clamp(40px, 4vw, 56px) !important; }
.section-head + *, .lead-row + *{ margin-top: 0 !important; }
@media (min-width: 821px){
  .lead-row:has(.eyebrow) p, .section-head:has(.eyebrow) p{ grid-row: 2; align-self: start; }
}

/* Filmvorschau, 01.11.2026: Standbild frei, darunter eine Leiste im Ton der
   übrigen Knöpfe (eckig, Markenblau) statt des pulsierenden Rundknopfs.
   „Mit Ton“ steht in der Leiste selbst — der Film ist gesprochen. */
.film-rahmen{ aspect-ratio: auto; background: #fff; text-align: left; }
.film-rahmen:hover{ border-color: var(--ink); box-shadow: none; }
.film-flaeche{ display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.film-rahmen:hover .film-bild{ transform: scale(1.02); }
.film-leiste{
  display: flex; align-items: center; gap: clamp(16px, 2vw, 22px);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
}
.film-start{
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  background: var(--brand); color: #fff; border-radius: 2px; transition: background .2s var(--ease);
}
.film-start svg{ width: 22px; height: 22px; margin-left: 3px; }
.film-rahmen:hover .film-start{ background: var(--brand-ink); }
.film-leiste .film-t{ color: var(--ink); font-size: clamp(18px, 1.7vw, 21px); }
.film-leiste .film-d{ color: var(--muted); }
.film-leiste .film-text{ flex: 1 1 0; min-width: 0; }
.film-ton{
  margin-left: auto; display: inline-flex; align-items: center; gap: 9px; flex: none;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
}
.film-ton svg{ width: 19px; height: 19px; flex: none; }
.film-bu{ justify-content: flex-end; }
@media (max-width: 700px){
  .film-leiste{ flex-wrap: wrap; row-gap: 14px; }
  .film-start{ width: 46px; height: 46px; }
  .film-leiste .film-d{ font-size: 13px; }
  .film-ton{ margin-left: 0; width: 100%; padding-top: 14px; border-top: 1px solid var(--line); }
  .film-bu{ justify-content: flex-start; }
}

/* =========================================================================
   TELEFON (01.11.2026) — alles in diesem Block gilt nur für schmale
   Bildschirme. Am Rechner ändert sich nichts.
   ========================================================================= */

/* Wahl „Bisher / Neu gestaltet“ und Einzelfenster der Geschichten gibt es
   nur auf dem Telefon. */
.sb-wahl, .gs-einzeln, .nur-telefon{ display: none; }
@media (max-width: 700px){ .nur-telefon{ display: inline; } .nur-gross{ display: none; } }

@media (max-width: 900px){
  /* Geschichten ohne Mitlaufen: jeder Absatz mit eigenem Fenster darüber
     (juvara.js legt die Kopien an), das große stehende Fenster entfällt. */
  .gs .gs-buehne{ display: none; }
  .gs-einzeln{ display: block; margin: 0 0 22px; }
  .gs-einzeln .gs-fenster{ box-shadow: 0 18px 36px -28px rgba(11,16,32,.45); }
  .gs-einzeln .gs-flaeche{ height: auto; }
  .gs-einzeln .gs-sz{ position: relative; inset: auto; opacity: 1; transform: none; }
  .gs-texte, .gs-schritt, .gs-einzeln{ min-width: 0; }
  .gs-einzeln .gs-fenster{ overflow: hidden; }
  .gs-einzeln .gs-kacheln{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-einzeln .gs-kacheln span{ font-size: 13px; overflow-wrap: anywhere; hyphens: auto; }
  .gs-texte, .ak .gs-texte{ padding-block: 0; display: grid; gap: 44px; }
  .gs-schritt, .gs-schritt:first-child, .ak .gs-schritt, .ak .gs-schritt:first-child{
    min-height: 0; padding: 0; opacity: 1; justify-content: flex-start;
  }
  .gs-schritt p{ max-width: none; }
}

@media (max-width: 700px){
  /* --- Kopf: Himmel als Fläche, die Aufnahme als Band unten -------------
     Vorher füllte das Bild den ganzen hohen Kopf und wurde dafür stark
     vergrößert (aus der 760er Datei) — unscharf und nur ein Ausschnitt. */
  .opening--foto{ background: linear-gradient(180deg, #97A4EA 0%, #A3B0E8 45%, #ABBBEB 100%); }
  .opening-foto{ top: auto; height: min(52%, 440px); }
  .opening-foto img{
    object-position: 50% 78%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
  }

  /* --- Abstände: alle Abschnitte gleich -------------------------------- */
  .section, .section.tight{ padding-block: 56px; }
  .section.tight[style*="padding-top:0"]{ padding-top: 0; }
  .section.closer{ padding-block: 72px; }
  .page-hero{ padding-bottom: 48px; }

  /* Karten „Gebaut für den Alltag“: jede zweite war eingerückt (die
     Rechner-Regel für den linken Rand griff weiter). */
  .kn-raster .kn{ padding-left: 0; padding-right: 0; }

  /* --- Vergleich alt/neu: eine Fassung ganz, per Wahl ------------------- */
  .sb-bahn{ margin-inline: 0; }
  .sb-bahn::after{ display: none; }
  .sb-wahl{
    display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px;
    border: 1px solid var(--line-2);
  }
  .sb-wahl button{
    padding: 12px 0; border: 0; background: #fff; cursor: pointer;
    font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  }
  .sb-wahl button + button{ border-left: 1px solid var(--line-2); }
  .sb-wahl button[aria-pressed="true"]{ background: var(--ink); color: #fff; }
  .sb-rahmen{ position: static; top: auto; max-width: none; margin-top: 0; box-shadow: 0 18px 36px -28px rgba(11,16,32,.45); }
  .sb-buehne.vn-buehne{ aspect-ratio: auto; container-type: normal; }
  .sb-buehne img, .sb-buehne .vn-neu img{ position: static; transform: none; height: auto; }
  .sb-buehne .vn-neu{ position: static; clip-path: none; }
  .sb-buehne .vn-griff, .sb-buehne .vn-schieber, .sb-buehne .vn-marke{ display: none; }
  [data-sb-zeige="neu"] .vn-neu{ display: none; }
  [data-sb-zeige="alt"] .sb-neu{ display: none; }

  /* --- Menü: Kontakt unten in der Fläche ------------------------------- */
  .site-menu{ display: flex; flex-direction: column; left: 0; right: 0; width: 100%; }
  .site-menu > *{ min-width: 0; }
  .mk-zeile{ grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .mk-zeile a, .mk-zeile span:last-child{ white-space: normal; overflow-wrap: anywhere; min-width: 0; }
  .menu-kontakt{
    margin-top: auto; padding-top: var(--s7);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 36px);
  }

  /* --- Web-Auftritt, „In vier Schritten“: untereinander statt gequetscht
     in zwei Spalten. */
  .case-cols{ grid-template-columns: 1fr; gap: 36px; }

  /* --- Live-Demo: höheres Fenster, das Formular hat Platz ---------------- */
  .bld-live{ height: min(78svh, 680px); }
  .browser-url{ min-width: 0; overflow: hidden; }
  .browser-url [data-bld-url]{ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .modal-overlay{ grid-template-columns: minmax(0, 1fr); }
  .modal{ min-width: 0; }
  /* Lange Wörter (Grundstücks-/Immobilienkaufvertrag, Datenschutzerklärung)
     trennen statt über den Rand zu laufen — auf 320 px schoben sie die
     ganze Seite seitwärts. */
  body{ overflow-wrap: break-word; }
  /* Silbentrennung nur, wo es sonst nicht passt: auf sehr schmalen Geräten
     und nur in Überschriften. Auf 390 px trennte sie „jet-zigen“. */
  .browser-url [data-bld-url]{ display: block; }
  .gs-einzeln .gs-datei{ grid-template-columns: auto minmax(0, 1fr); }

  /* Kein Einblenden beim Scrollen: noch nicht eingeblendete Teile standen
     22 px tiefer und unsichtbar da — beim Wischen sahen die Abstände
     dadurch ungleich aus. Auf dem Telefon steht alles sofort. */
  html.js [data-reveal], [data-reveal]{ opacity: 1 !important; transform: none !important; transition: none !important; }
  /* Schrittfolgen („In vier Schritten“, „Ablauf der Teilnahme“) ebenso:
     vorher klaffte eine leere Linie, bis die Schritte nachkamen. */
  .fs-schritt{ opacity: 1; transform: none; transition: none; }
  .fs-schritt .fs-n{ background: var(--ink); border-color: var(--ink); color: #fff; }
  .folge-liste::after{ transition: none; height: calc(100% - 24px); }

  /* Abläufe 02–04: Nummer auf Höhe der ersten Titelzeile statt mittig. */
  .ak-kopf{ align-items: start; }
  .ak-nr{ padding-top: .55em; }
}
@media (max-width: 360px){
  h1, h2{ hyphens: auto; -webkit-hyphens: auto; }
}

/* Turnstile im Kontaktformular: meist unsichtbar; erscheint das Kästchen,
   bekommt es Abstand zum Knopf. */
.cform-turnstile:has(iframe){ margin-bottom: 14px; }
