/* ==========================================================================
   ffkt.de · Prototyp
   Grundlage: ffkt Markenkonzept (Farbe & Typo) + Erweiterung Farbverläufe.
   Raster 12 Spalten, asymmetrisch, linksbündig. Radien 4/8/12, Schatten navy-getönt.
   Bewegung: ruhig, kurz, unterstützend. Alles respektiert prefers-reduced-motion.
   ========================================================================== */

:root {
  /* Blau */
  --mitternacht: #042C53;
  --navy: #0D3B66;
  --kobalt: #1A5FA0;
  --blau: #4D91C8;
  --hellblau: #9EC9E8;
  --himmel: #D4E8F5;
  --nebel: #F2F7FC;
  /* Burgund (CTA, kleine Akzente) */
  --burgund-dunkel: #5A1530;
  --burgund: #9B2B50;
  --burgund-hell: #E09CB2;
  /* Pflaume (Zitat, Kontaktband) */
  --pflaume-dunkel: #3D1F48;
  --pflaume: #6B3A80;
  --pflaume-hell: #BFA2CC;

  /* Verlaufswelten */
  --grad-tiefe: linear-gradient(160deg, #042C53 0%, #0D3B66 100%);
  --grad-daemmerung: linear-gradient(135deg, #0D3B66 0%, #1A5FA0 100%);
  --grad-kobalt: linear-gradient(135deg, #1A5FA0 0%, #4D91C8 100%);
  --grad-nebel: linear-gradient(180deg, #F2F7FC 0%, #D4E8F5 100%);
  --grad-pflaume: linear-gradient(135deg, #3D1F48 0%, #6B3A80 100%);
  --grad-burgund: linear-gradient(135deg, #5A1530 0%, #9B2B50 100%);
  --grad-burgund-hover: linear-gradient(135deg, #5A1530 0%, #7A2040 100%);

  --rule: rgba(13, 59, 102, 0.12);
  --rule-on-grad: rgba(242, 247, 252, 0.18);

  /* Typo */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-logo: "Montserrat Alternates", "DM Sans", system-ui, sans-serif;

  /* Form */
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 12px;
  --shadow-s: 0 1px 2px rgba(4, 44, 83, 0.06), 0 2px 8px rgba(4, 44, 83, 0.06);
  --shadow-m: 0 2px 6px rgba(4, 44, 83, 0.06), 0 14px 36px rgba(4, 44, 83, 0.10);
  --shadow-l: 0 4px 12px rgba(4, 44, 83, 0.10), 0 30px 80px rgba(4, 44, 83, 0.28);

  /* Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);      /* Marken-Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* weiches Auslaufen, kein Überschwingen */
  --dur-s: 160ms;
  --dur-m: 320ms;
  --dur-l: 800ms;

  /* Layout */
  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --gap: clamp(16px, 2vw, 24px);
  --section-y: clamp(72px, 10vw, 136px);

  color-scheme: light;
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--nebel);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 3px; border-radius: var(--r-s); }

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

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.section { padding-block: var(--section-y); position: relative; overflow: hidden; overflow: clip; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Flächen (Verlaufswelten) */
.w-tiefe { background: var(--grad-tiefe); color: var(--nebel); }
.w-daemmerung { background: var(--grad-daemmerung); color: var(--nebel); }
.w-pflaume { background: var(--grad-pflaume); color: var(--nebel); }
.w-nebel { background: var(--grad-nebel); }
.w-flach { background: var(--nebel); }

/* ---------- Typo-Skala ---------- */

.display {
  font-size: clamp(2.4rem, 5.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}
.h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.024em; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.018em; }
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.25; letter-spacing: -0.008em; font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 36em; }
.body-l { font-size: 1.075rem; max-width: 38em; }
.muted { color: var(--kobalt); }
.w-tiefe .muted, .w-daemmerung .muted { color: var(--hellblau); }
.w-pflaume .muted { color: var(--pflaume-hell); }

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--kobalt);
  margin-bottom: 18px;
}
.w-tiefe .eyebrow, .w-daemmerung .eyebrow { color: var(--hellblau); }
.w-pflaume .eyebrow { color: var(--pflaume-hell); }

.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 20px; }
.stack-l > * + * { margin-top: 32px; }

/* ---------- Logo ---------- */

.logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.logo-claim {
  font-family: var(--font-logo);
  font-weight: 500;
  color: var(--blau);
  font-size: 1rem;
}

/* ---------- Buttons & Links ---------- */

.btn {
  --bg: var(--grad-burgund);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--bg);
  color: var(--nebel);
  font: 600 0.95rem/1 var(--font);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-m) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* Hover: Verlauf vertieft sich (kein Farbwechsel), per Overlay sanft eingeblendet */
.btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--grad-burgund-hover);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--dur-m) var(--ease);
}
.btn:hover::before { opacity: 1; }
/* Feedback sofort beim Drücken, nicht erst beim Loslassen */
.btn:active { transform: scale(0.97); transition-duration: 90ms; }

.btn .arrow { transition: transform var(--dur-m) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--light { background: var(--nebel); color: var(--navy); }
.btn--light::before { background: #fff; }
.w-pflaume .btn--light { color: var(--pflaume-dunkel); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--hellblau);
}
.btn--ghost::before { background: var(--himmel); }
.w-tiefe .btn--ghost, .w-daemmerung .btn--ghost, .w-pflaume .btn--ghost {
  color: var(--nebel);
  box-shadow: inset 0 0 0 1px var(--rule-on-grad);
}
.w-tiefe .btn--ghost::before, .w-daemmerung .btn--ghost::before, .w-pflaume .btn--ghost::before { background: rgba(242, 247, 252, 0.08); }

.btn--s { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--kobalt);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur-m) var(--ease-out);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }
.link .arrow { transition: transform var(--dur-m) var(--ease-out); }
.link:hover .arrow { transform: translateX(4px); }
.w-tiefe .link, .w-daemmerung .link { color: var(--nebel); }
.w-pflaume .link { color: var(--nebel); }

.arrow { width: 16px; height: 16px; flex: none; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-s);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--himmel);
  color: var(--mitternacht);
  white-space: nowrap;
}
.tag--quiet { background: transparent; box-shadow: inset 0 0 0 1px var(--hellblau); color: var(--kobalt); }
.tag--accent { background: rgba(224, 156, 178, 0.35); color: var(--burgund-dunkel); }

/* ---------- f-Kurve ----------
   Platzhalter-Geometrie: oberer Bogen des f. Echten Pfad aus der Referenzdatei
   einsetzen, sobald vorhanden (nur die Maske unten tauschen). */

.fcurve {
  position: absolute;
  width: var(--fs, 420px);
  aspect-ratio: 1;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M64 200V98a58 58 0 0 1 58-58h78' fill='none' stroke='%23000' stroke-width='44'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M64 200V98a58 58 0 0 1 58-58h78' fill='none' stroke='%23000' stroke-width='44'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.w-tiefe .fcurve, .w-daemmerung .fcurve { color: rgba(242, 247, 252, 0.07); }
.w-pflaume .fcurve { color: rgba(191, 162, 204, 0.13); }
.w-nebel .fcurve, .w-flach .fcurve, .ph .fcurve { color: rgba(158, 201, 232, 0.5); }

/* Lagen: immer angeschnitten, >= 40 % außerhalb */
.fc-br { right: -18%; bottom: -46%; }
.fc-tr { right: -22%; top: -40%; transform: rotate(90deg); }
.fc-bl { left: -26%; bottom: -44%; transform: scaleX(-1); }
.fc-tl { left: -20%; top: -46%; transform: rotate(-90deg); }

.layer { position: relative; z-index: 1; }

/* ---------- Platzhalter-Bilder ---------- */

.ph {
  position: relative;
  overflow: hidden; overflow: clip;
  border-radius: var(--r-l);
  background: var(--grad-nebel);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(13, 59, 102, 0.06);
}
.ph--tall { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--kobalt { background: var(--grad-kobalt); }
.ph--kobalt .fcurve { color: rgba(242, 247, 252, 0.12); }
.ph--tiefe { background: var(--grad-tiefe); }
.ph--tiefe .fcurve { color: rgba(242, 247, 252, 0.07); }
.ph-inner {
  position: absolute; inset: 0;
  transition: transform 900ms var(--ease-out);
}
.ph-label {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--kobalt);
  background: rgba(242, 247, 252, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 5px 9px;
  border-radius: var(--r-s);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--photo img { object-fit: contain; padding: 6%; }

/* ==========================================================================
   Kopfbereich
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  padding-top: 10px;
  pointer-events: none; /* nur die Glasleiste ist klickbar */
}
.site-header .container { pointer-events: none; }

/* Schwebende Glasleiste: starke Unschärfe, Lichtkante oben, feine Innenkontur */
.header-bar {
  pointer-events: auto;
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 0 8px 0 20px;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(242, 247, 252, 0.38) 100%);
  -webkit-backdrop-filter: blur(30px) saturate(210%) brightness(1.04);
  backdrop-filter: blur(30px) saturate(210%) brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(13, 59, 102, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 1px 2px rgba(4, 44, 83, 0.05),
    0 12px 36px rgba(4, 44, 83, 0.10);
  transition: background var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), transform var(--dur-m) var(--ease-out);
}
.site-header.is-scrolled .header-bar {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 1px 2px rgba(4, 44, 83, 0.06),
    0 16px 44px rgba(4, 44, 83, 0.14);
}

.nav { display: flex; gap: 2px; position: relative; }
.nav-pill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: var(--r-m);
  background: rgba(212, 232, 245, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: transform 380ms var(--ease-out), width 380ms var(--ease-out), opacity 200ms var(--ease);
}
.nav a {
  z-index: 1;
  position: relative;
  padding: 8px 12px;
  border-radius: var(--r-m);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.no-pill .nav a:hover { background: rgba(212, 232, 245, 0.7); }
.nav a[aria-current="page"] { color: var(--kobalt); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--burgund);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Kompaktes Chat-Feld */
.ask {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: clamp(180px, 20vw, 260px);
  height: 40px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--himmel), var(--shadow-s);
  color: var(--blau);
  font: 400 0.9rem/1 var(--font);
  cursor: text;
  text-align: left;
  transition:
    opacity var(--dur-m) var(--ease),
    transform var(--dur-m) var(--ease-out),
    box-shadow var(--dur-s) var(--ease),
    visibility 0s linear 0s;
}
.ask:hover { box-shadow: inset 0 0 0 1px var(--hellblau), var(--shadow-s); }
.ask:active { transform: scale(0.98); }
.ask svg { width: 18px; height: 18px; color: var(--kobalt); flex: none; }
.ask .ask-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--burgund);
  margin-left: auto;
  flex: none;
}
/* Startseite: Feld erscheint erst, wenn der große Chat aus dem Blick ist */
.ask.is-hidden {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity var(--dur-m) var(--ease),
    transform var(--dur-m) var(--ease-out),
    visibility 0s linear var(--dur-m);
}

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 0; border-radius: var(--r-m);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  place-items: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur-m) var(--ease-out), opacity var(--dur-s) var(--ease);
  content: "";
}
.menu-btn span { position: relative; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  pointer-events: auto;
  position: fixed;
  inset: calc(var(--header-h) + 4px) var(--gutter) auto var(--gutter);
  border-radius: var(--r-l);
  z-index: 49;
  background: rgba(242, 247, 252, 0.86);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  backdrop-filter: blur(30px) saturate(200%);
  padding: 8px 20px 20px;
  box-shadow: var(--shadow-m);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease-out), visibility 0s linear var(--dur-m);
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav a:not(.btn) {
  display: block;
  color: var(--navy);
  padding: 14px 0;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav .btn { margin-top: 20px; width: 100%; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .ask { width: 40px; padding: 0; justify-content: center; }
  .ask .ask-text, .ask .ask-dot { display: none; }
}
@media (max-width: 520px) {
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 0 12px; min-height: 36px; font-size: 0.82rem; }
  .menu-btn { width: 36px; }
}

/* ==========================================================================
   Chat
   ========================================================================== */

.chat {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--nebel);
  color: var(--navy);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-l);
  overflow: hidden; overflow: clip;
  isolation: isolate;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.5);
}
.chat-avatar {
  width: 36px; height: 36px; flex: none;
  border-radius: var(--r-m);
  background: var(--grad-burgund);
  color: var(--nebel);
  display: grid; place-items: center;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.chat-who { display: flex; flex-direction: column; line-height: 1.25; }
.chat-who strong { font-size: 0.95rem; }
.chat-who span { font-size: 0.78rem; color: var(--kobalt); }
.chat-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--kobalt);
}
.chat-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3E9A6B;
}
.chat-close {
  margin-left: 6px;
  width: 34px; height: 34px;
  border: 0; border-radius: var(--r-m);
  background: transparent; color: var(--navy);
  cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur-s) var(--ease);
}
.chat-close:hover { background: var(--himmel); }
.chat-close svg { width: 18px; height: 18px; }

.chat-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.msg {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.97rem;
  line-height: 1.5;
  animation: msg-in 420ms var(--ease-out) both;
  transform-origin: left bottom;
}
.msg--bot { background: #fff; box-shadow: var(--shadow-s); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--navy); color: var(--nebel); border-bottom-right-radius: 4px; align-self: flex-end; transform-origin: right bottom; }
.msg strong { font-weight: 600; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.typing {
  align-self: flex-start;
  display: inline-flex; gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-s);
  animation: msg-in 300ms var(--ease-out) both;
}
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--hellblau);
  animation: dot 1.1s var(--ease) infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot {
  0%, 60%, 100% { transform: translateY(0); background: var(--hellblau); }
  30% { transform: translateY(-3px); background: var(--blau); }
}

.chat-card {
  align-self: flex-start;
  width: min(100%, 340px);
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
  text-decoration: none;
  animation: msg-in 420ms var(--ease-out) both;
  transition: box-shadow var(--dur-m) var(--ease), transform var(--dur-m) var(--ease-out);
}
.chat-card:hover { box-shadow: var(--shadow-m); transform: translateY(-1px); }
.chat-card .ph { aspect-ratio: 1; border-radius: var(--r-m); }
.chat-card small { display: block; font-size: 0.75rem; color: var(--kobalt); }
.chat-card b { display: block; font-size: 0.95rem; line-height: 1.3; }

.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; animation: msg-in 420ms var(--ease-out) both; }

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 20px 14px;
}
.chip {
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--himmel);
  color: var(--navy);
  font: 500 0.9rem/1.25 var(--font);
  text-align: left;
  cursor: pointer;
  animation: chip-in 460ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 60ms + 80ms);
  transition: box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease), transform 90ms var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--blau); background: #fff; }
.chip:active { transform: scale(0.97); }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 14px;
  padding: 6px 6px 6px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--himmel);
  transition: box-shadow var(--dur-s) var(--ease);
}
.chat-input:focus-within { box-shadow: inset 0 0 0 1.5px var(--kobalt), 0 0 0 4px rgba(77, 145, 200, 0.15); }
.chat-input input {
  flex: 1; min-width: 0;
  border: 0; background: transparent; outline: none;
  font: 400 1rem/1.4 var(--font);
  color: var(--navy);
  padding: 8px 0;
}
.chat-input input::placeholder { color: var(--blau); }
.chat-send {
  width: 38px; height: 38px; flex: none;
  border: 0; border-radius: 50%;
  background: var(--navy); color: var(--nebel);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 90ms var(--ease), background var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.chat-send:hover { background: var(--kobalt); }
.chat-send:active { transform: scale(0.92); }
.chat-send:disabled { opacity: 0.35; cursor: default; }
.chat-send svg { width: 18px; height: 18px; }

.chat-note {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px 14px;
  font-size: 0.78rem;
  color: var(--kobalt);
}
.chat-note svg { width: 14px; height: 14px; flex: none; }

/* Chat als Fenster (Unterseiten / beim Scrollen) */
.chat-scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(4, 44, 83, 0.22);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-m) var(--ease), visibility 0s linear var(--dur-m);
}
.chat-sheet {
  position: fixed;
  z-index: 61;
  top: calc(var(--header-h) + 8px);
  right: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  width: min(440px, calc(100vw - 32px));
  height: min(660px, calc(100dvh - var(--header-h) - 24px));
  transform-origin: var(--origin-x, 85%) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  filter: blur(6px);
  transition:
    opacity 260ms var(--ease),
    transform 420ms var(--ease-out),
    filter 300ms var(--ease),
    visibility 0s linear 420ms;
}
.chat-sheet .chat { height: 100%; }
.chat-open .chat-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
.chat-open .chat-sheet { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }

@media (max-width: 520px) {
  .chat-sheet { right: 16px; left: 16px; width: auto; }
}

/* ==========================================================================
   Startseite
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden; overflow: clip;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(56px, 7vw, 104px);
}
.hero .fcurve { --fs: min(70vw, 900px); left: calc(100% - min(30vw, 420px)); top: 6%; color: rgba(242, 247, 252, 0.05); }
.hero .grid { align-items: start; }
.hero-copy { grid-column: 1 / span 5; padding-top: clamp(8px, 2vw, 32px); }
.hero-copy .display { font-size: clamp(2.4rem, 4.4vw, 3.9rem); max-width: 12ch; }
.hero-copy .display .soft { color: var(--hellblau); }
.hero-sub { margin-top: 22px; color: var(--hellblau); max-width: 26em; }
.hero-chat { grid-column: 7 / span 6; }
.hero-chat .chat { height: clamp(500px, calc(100vh - var(--header-h) - 120px), 600px); }
.hero-aside {
  margin-top: clamp(32px, 4vw, 56px);
  color: var(--hellblau);
  font-size: 0.95rem;
}
.hero-aside .stack-s { border-left: 1px solid var(--rule-on-grad); padding-left: 20px; }
.hero-aside strong { color: var(--nebel); font-weight: 600; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  color: var(--hellblau); text-decoration: none; font-size: 0.9rem;
  transition: color var(--dur-s) var(--ease);
}
.scroll-cue:hover { color: var(--nebel); }
.scroll-cue svg { width: 16px; height: 16px; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(4px); opacity: 0.6; } }

@media (max-width: 980px) {
  .hero-copy, .hero-chat { grid-column: 1 / -1; }
  .hero-chat { margin-top: 32px; }
  .hero-copy .display { max-width: 16ch; }
  .hero-chat .chat { height: 540px; }
}

/* Kopfbereich über dem dunklen Hero: dunkles Glas, wechselt beim Scrollen weich zu hell */
.site-header.on-dark .header-bar {
  background: linear-gradient(180deg, rgba(242, 247, 252, 0.16) 0%, rgba(242, 247, 252, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 12px 36px rgba(0, 0, 0, 0.18);
}
.site-header.on-dark .logo,
.site-header.on-dark .nav a,
.site-header.on-dark .menu-btn { color: var(--nebel); }
.site-header.on-dark .nav-pill { background: rgba(242, 247, 252, 0.12); }
.site-header.on-dark .nav a[aria-current="page"] { color: var(--nebel); }
.site-header .logo, .site-header .nav a, .site-header .menu-btn { transition: color var(--dur-m) var(--ease), background var(--dur-s) var(--ease); }

/* Felix */
.about-media { grid-column: 1 / span 5; }
.about-copy { grid-column: 7 / span 6; align-self: center; }
.quote-mark { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.22; letter-spacing: -0.014em; font-weight: 600; }
@media (max-width: 900px) {
  .about-media, .about-copy { grid-column: 1 / -1; }
  .about-media { max-width: 440px; }
}

/* Kundenlogos */
.logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  align-items: center;
}
.logo-ph {
  height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-m);
  color: var(--hellblau);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px var(--himmel);
  transition: color var(--dur-m) var(--ease);
}
.logo-ph:hover { color: var(--navy); }
.logos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.logos-head p { font-size: 0.875rem; color: var(--kobalt); }
@media (max-width: 720px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-ph:last-child { grid-column: 1 / -1; } }

/* Sektionskopf */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > :first-child { grid-column: 1 / span 7; }
.section-head > :last-child:not(:first-child) { grid-column: 9 / span 4; justify-self: start; }
@media (max-width: 900px) { .section-head > :first-child, .section-head > :last-child:not(:first-child) { grid-column: 1 / -1; } }

/* Projekt-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

.tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
  text-decoration: none;
  color: var(--navy);
  overflow: hidden; overflow: clip;
  transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out);
  will-change: transform;
}
.tile .ph { border-radius: 0; box-shadow: none; }
.tile:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.tile:hover .ph-inner { transform: scale(1.035); }
.tile:active { transform: translateY(-1px) scale(0.99); transition-duration: 120ms; }
.tile-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tile h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.tile p { font-size: 0.95rem; color: var(--kobalt); line-height: 1.5; }
.tile-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.tile-more .arrow { transition: transform var(--dur-m) var(--ease-out); }
.tile:hover .tile-more .arrow { transform: translateX(4px); }

.w-daemmerung .tile { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(4, 44, 83, 0.25); }

/* Leistungsbereiche (Karten) */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 900px) { .areas { grid-template-columns: minmax(0, 1fr); } }
.area {
  position: relative;
  overflow: hidden; overflow: clip;
  isolation: isolate;
  padding: clamp(24px, 2.6vw, 34px);
  min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: var(--shadow-s);
  text-decoration: none;
  transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.area .fcurve { --fs: 260px; transition: transform 900ms var(--ease-out), opacity 600ms var(--ease); }
.area:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.area-kicker { font-size: 0.8rem; font-weight: 500; color: var(--kobalt); letter-spacing: 0.03em; }
.area p { color: var(--navy); }
.area .link { margin-top: auto; }

/* Kontaktband */
.contact-band .fcurve { --fs: 640px; }
.contact-band .band-copy { grid-column: 1 / span 7; }
.contact-band .band-actions { grid-column: 9 / span 4; align-self: end; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mail {
  font-size: 1.05rem; font-weight: 500; color: var(--nebel);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-on-grad);
  padding-bottom: 2px;
  transition: border-color var(--dur-m) var(--ease);
}
.mail:hover { border-color: var(--nebel); }
@media (max-width: 900px) { .contact-band .band-copy, .contact-band .band-actions { grid-column: 1 / -1; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { padding-block: 56px 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-end; padding-bottom: 32px; border-bottom: 1px solid var(--rule-on-grad); }
.site-footer .logo { color: var(--nebel); font-size: 2.1rem; }
.site-footer .logo-claim { color: var(--hellblau); margin-top: 6px; display: block; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--nebel); text-decoration: none; font-size: 0.95rem; opacity: 0.85; transition: opacity var(--dur-s) var(--ease); }
.footer-links a:hover { opacity: 1; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--hellblau); }

/* ==========================================================================
   Unterseiten
   ========================================================================== */

.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); position: relative; overflow: hidden; overflow: clip; }
.page-head .fcurve { --fs: min(60vw, 720px); right: -18%; top: -52%; transform: rotate(90deg); }
.page-head-copy { grid-column: 1 / span 8; }
.page-head-copy .lead { margin-top: 22px; color: var(--kobalt); }
@media (max-width: 900px) { .page-head-copy { grid-column: 1 / -1; } }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 36px; }
.filter-group { display: flex; flex-direction: column; gap: 10px; }
.filter-group > span { font-size: 0.8rem; font-weight: 500; color: var(--kobalt); letter-spacing: 0.03em; }
.segmented {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-m);
  background: rgba(212, 232, 245, 0.6);
}
.segmented button {
  position: relative;
  z-index: 1;
  border: 0; background: transparent;
  padding: 8px 14px;
  border-radius: 6px;
  font: 500 0.9rem/1.2 var(--font);
  color: var(--navy);
  cursor: pointer;
  transition: color var(--dur-s) var(--ease);
}
.segmented button:active { transform: scale(0.97); }
.segmented .seg-thumb {
  position: absolute;
  z-index: 0;
  top: 0; left: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), height 420ms var(--ease-out);
}
.filter-count { font-size: 0.875rem; color: var(--kobalt); margin-left: auto; align-self: flex-end; }

.tile.is-out { display: none; }
.empty-state { display: none; padding: 48px 0; color: var(--kobalt); }
.empty-state.is-on { display: block; }

/* Leistungen: Bereich im Detail */
.area-detail { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.area-detail:first-of-type { border-top: 0; }
.area-detail .ad-head { grid-column: 1 / span 5; }
.area-detail .ad-body { grid-column: 7 / span 6; }
@media (max-width: 900px) { .area-detail .ad-head, .area-detail .ad-body { grid-column: 1 / -1; } }
.problems { display: flex; flex-wrap: wrap; gap: 8px; }
.problem {
  padding: 10px 14px;
  border-radius: var(--r-m);
  background: #fff;
  box-shadow: var(--shadow-s);
  font-size: 0.95rem;
  font-style: italic;
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist li::before {
  content: "";
  width: 14px; height: 2px; margin-top: 0.8em;
  background: var(--burgund); border-radius: 2px;
}
.label { font-size: 0.8rem; font-weight: 500; color: var(--kobalt); letter-spacing: 0.03em; display: block; margin-bottom: 12px; }
.mini-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .mini-tiles { grid-template-columns: minmax(0, 1fr); } }
.mini-tiles .chat-card { width: 100%; animation: none; }

/* Ablauf (echte Reihenfolge) */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  list-style: none; margin: 0; padding: 0;
  counter-reset: step;
}
.steps::before, .steps::after {
  content: "";
  position: absolute;
  top: 19px; left: 20px; right: 20px;
  height: 2px; border-radius: 2px;
  background: var(--rule-on-grad);
}
.steps::after {
  background: var(--nebel);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  transition: transform 80ms linear;
}
.w-nebel .steps::before, .w-flach .steps::before { background: var(--himmel); }
.w-nebel .steps::after, .w-flach .steps::after { background: var(--kobalt); }
.step { position: relative; z-index: 1; counter-increment: step; display: flex; flex-direction: column; gap: 10px; }
.step::before {
  content: counter(step);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--nebel);
  color: var(--navy);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--nebel), inset 0 0 0 1.5px var(--hellblau);
  transition: background 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.step.is-reached::before { background: var(--navy); color: var(--nebel); box-shadow: 0 0 0 6px var(--nebel), inset 0 0 0 1.5px var(--navy); }
.step h3 { font-size: 1.05rem; font-weight: 600; }
.step p { font-size: 0.92rem; color: var(--kobalt); line-height: 1.5; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before, .steps::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .steps::after { transform-origin: center top; transform: scaleY(var(--progress, 0)); }
  .step { padding-left: 60px; }
  .step::before { position: absolute; left: 0; top: -6px; }
}

/* Netzwerk */
.network { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 720px) { .network { grid-template-columns: minmax(0, 1fr); } }
.net-item { padding: 24px 0 0; border-top: 1px solid var(--rule-on-grad); }
.net-item h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.net-item p { color: var(--hellblau); font-size: 0.95rem; }

/* Über mich: Werdegang */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--himmel);
}
.timeline::after { background: var(--kobalt); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.timeline > li { position: relative; padding-left: 44px; display: grid; grid-template-columns: 150px 1fr; gap: 8px 24px; }
.timeline > li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--nebel); box-shadow: inset 0 0 0 2px var(--hellblau); z-index: 1;
  transition: box-shadow 400ms var(--ease), background 400ms var(--ease);
}
.timeline > li.is-reached::before { background: var(--kobalt); box-shadow: inset 0 0 0 2px var(--kobalt), 0 0 0 5px var(--nebel); }
.timeline > li.is-now::before { background: var(--burgund); box-shadow: inset 0 0 0 2px var(--burgund), 0 0 0 5px var(--nebel); }
.tl-year { font-size: 0.9rem; font-weight: 600; color: var(--kobalt); font-variant-numeric: tabular-nums; padding-top: 2px; }
.tl-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.tl-body p { color: var(--kobalt); font-size: 0.97rem; }
@media (max-width: 620px) { .timeline > li { grid-template-columns: minmax(0, 1fr); } }

/* Prinzipien */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
@media (max-width: 720px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.principle { padding: 26px 0; border-top: 1px solid var(--rule); }
.principle h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.principle p { color: var(--kobalt); }

/* Name / Zitat (Pflaume) */
.quote-band .fcurve { --fs: 560px; }
.quote-big { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; max-width: 18ch; }
.quote-big em { font-family: var(--font-logo); font-style: normal; font-weight: 600; }

/* Kontakt */
.contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.booking { grid-column: 1 / span 7; }
.write { grid-column: 9 / span 4; }
@media (max-width: 980px) { .booking, .write { grid-column: 1 / -1; } }

.panel {
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
  padding: clamp(20px, 2.6vw, 32px);
}
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; margin-bottom: 20px; }
.panel-head p { font-size: 0.875rem; color: var(--kobalt); }

.cal-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.cal-day {
  border: 0;
  padding: 12px 6px;
  border-radius: var(--r-m);
  background: var(--nebel);
  color: var(--navy);
  font: 500 0.85rem/1.3 var(--font);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: background var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), transform 90ms var(--ease);
}
.cal-day b { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cal-day:hover { box-shadow: inset 0 0 0 1px var(--hellblau); }
.cal-day:active, .slot:active { transform: scale(0.96); }
.cal-day[aria-pressed="true"] { background: var(--navy); color: var(--nebel); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; min-height: 96px; }
.slot {
  border: 0;
  height: 44px;
  border-radius: var(--r-m);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--himmel);
  color: var(--navy);
  font: 500 0.95rem/1 var(--font);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  animation: chip-in 380ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 35ms);
  transition: box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), transform 90ms var(--ease);
}
.slot:hover { box-shadow: inset 0 0 0 1px var(--blau); }
.slot[aria-pressed="true"] { background: var(--burgund); color: var(--nebel); box-shadow: none; }
.booking-foot {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--kobalt);
}
.booking-foot .btn[disabled] { opacity: 0.4; pointer-events: none; }
.booking-confirm { display: none; }
.booking-confirm.is-on { display: block; animation: msg-in 420ms var(--ease-out) both; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-radius: var(--r-m);
  background: var(--nebel);
  box-shadow: inset 0 0 0 1px var(--himmel);
  padding: 12px 14px;
  font: 400 1rem/1.45 var(--font);
  color: var(--navy);
  transition: box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--kobalt), 0 0 0 4px rgba(77, 145, 200, 0.15); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 1.5px var(--burgund); }
.field-error { font-size: 0.8rem; color: var(--burgund); min-height: 0; overflow: hidden; overflow: clip; max-height: 0; transition: max-height var(--dur-m) var(--ease-out); }
.field.is-invalid .field-error { max-height: 40px; }
.form-success { display: none; }
.form-success.is-on { display: block; animation: msg-in 480ms var(--ease-out) both; }
.alt-contact { margin-top: 24px; display: grid; gap: 10px; font-size: 0.95rem; }
.alt-contact a { color: var(--kobalt); font-weight: 500; text-decoration: none; }
.alt-contact a:hover { text-decoration: underline; }

.after-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); list-style: none; padding: 0; margin: 0; counter-reset: s; }
@media (max-width: 720px) { .after-steps { grid-template-columns: minmax(0, 1fr); } }
.after-steps li { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--himmel); }
.after-steps li::before { content: counter(s); display: block; font-size: 0.85rem; font-weight: 700; color: var(--burgund); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.after-steps h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.after-steps p { color: var(--kobalt); font-size: 0.95rem; }

/* Projekt-Detail */
.case-hero-media { margin-top: clamp(32px, 4vw, 56px); }
.case-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.case-block { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); }
.case-block .cb-head { grid-column: 1 / span 4; }
.case-block .cb-body { grid-column: 6 / span 7; }
@media (max-width: 900px) { .case-block .cb-head, .case-block .cb-body { grid-column: 1 / -1; } }
.big-number {
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.case-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.case-gallery > :nth-child(1) { grid-column: 1 / span 7; }
.case-gallery > :nth-child(2) { grid-column: 8 / span 5; }
@media (max-width: 720px) { .case-gallery > * { grid-column: 1 / -1 !important; } }
.people { display: flex; flex-wrap: wrap; gap: 10px; }
.person { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-s); font-size: 0.92rem; }
.person i { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-nebel); box-shadow: inset 0 0 0 1px var(--himmel); }

.next-project { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 32px; border-top: 1px solid var(--rule); text-decoration: none; }
.next-project span { color: var(--kobalt); font-size: 0.9rem; }
.next-project b { display: block; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.015em; }
.next-project .arrow { width: 28px; height: 28px; transition: transform var(--dur-m) var(--ease-out); }
.next-project:hover .arrow { transform: translateX(6px); }

.proto-note {
  font-size: 0.8rem;
  color: var(--kobalt);
  background: rgba(212, 232, 245, 0.6);
  padding: 4px 10px;
  border-radius: var(--r-s);
  display: inline-block;
}

/* ==========================================================================
   Einblenden beim Scrollen (nur mit JS aktiv)
   Ruhig: 24px Weg, weiches Auslaufen, gestaffelt über --d.
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-l) var(--ease-out),
    transform 1000ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.97); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }

/* ==========================================================================
   Reduzierte Bewegung / Transparenz / Kontrast
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { transform: none !important; transition: opacity 240ms ease !important; }
  .tile:hover, .area:hover, .chat-card:hover { transform: none; }
  .tile:hover .ph-inner { transform: none; }
  .chat-sheet { transform: none !important; filter: none !important; transition: opacity 200ms ease, visibility 0s linear 200ms; }
  .chat-open .chat-sheet { transition: opacity 200ms ease; }
  [data-parallax] { transform: none !important; }
  .scroll-cue svg { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .header-bar, .mobile-nav { background: var(--nebel) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.on-dark .header-bar { background: var(--mitternacht) !important; }
  .ph-label { background: var(--nebel); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  .header-bar { background: var(--nebel); box-shadow: 0 0 0 1px var(--navy); }
  .muted, .tile p, .step p { color: var(--navy); }
}

/* ---------- Ergänzungen ---------- */
[hidden] { display: none !important; }
[data-parallax] { transition: none !important; }
@media (max-width: 900px) {
  .grid > * { grid-column: 1 / -1 !important; }
  .about-portrait { max-width: 420px; margin-top: 32px; }
}

/* ==========================================================================
   Runde 2
   ========================================================================== */

/* ---------- Ruhige Bewegung im Hintergrund ----------
   Feines Linienraster wie auf der Coming-soon-Seite, zieht sehr langsam durch. */
.bg-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; overflow: clip; }
.bg-lines i { position: absolute; inset: -20%; display: block; }
.bg-lines i:first-child {
  background-image: repeating-linear-gradient(115deg, var(--line, rgba(158, 201, 232, 0.35)) 0 1px, transparent 1px 110px);
  animation: lines-a 70s linear infinite;
}
.bg-lines i:last-child {
  background-image: repeating-linear-gradient(25deg, var(--line, rgba(158, 201, 232, 0.35)) 0 1px, transparent 1px 160px);
  animation: lines-b 90s linear infinite;
}
.w-tiefe .bg-lines, .w-daemmerung .bg-lines { --line: rgba(242, 247, 252, 0.045); }
@keyframes lines-a { to { background-position: 99.7px 46.5px; } }
@keyframes lines-b { to { background-position: 67.6px -145px; } }

/* ---------- Footer: f-Schwung läuft aus dem Kontaktband herein ---------- */
.site-footer { position: relative; }
.site-footer--joined { overflow-x: clip; }
.fcurve-join {
  --fs: clamp(520px, 62vw, 900px);
  right: -14%;
  top: calc(var(--fs) * -0.62);
  color: rgba(242, 247, 252, 0.06);
  transform: rotate(0deg);
}
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-link { color: var(--nebel); text-decoration: none; font-size: 0.95rem; opacity: 0.85; transition: opacity var(--dur-s) var(--ease); }
.footer-link:hover { opacity: 1; }
.band-actions .mail + .mail { margin-top: -4px; }

/* ---------- Foto ---------- */
.ph--img { background: var(--himmel); }
.ph--img img { width: 100%; height: 100%; object-fit: cover; }
.ph--felix img { object-position: 40% 20%; transform: scale(1.08); transform-origin: 0 0; }

.link--back { margin-bottom: 24px; }
.link--back .arrow { transform: rotate(180deg); }
.link--back:hover .arrow { transform: rotate(180deg) translateX(4px); }

/* ---------- Projekte als Schiene (Startseite) ---------- */
.rail-head-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rail-btns { display: flex; gap: 8px; }
.rail-btn {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(242, 247, 252, 0.1);
  box-shadow: inset 0 0 0 1px var(--rule-on-grad);
  color: var(--nebel);
  cursor: pointer;
  transition: background var(--dur-s) var(--ease), opacity var(--dur-m) var(--ease), transform 90ms var(--ease);
}
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover { background: rgba(242, 247, 252, 0.18); }
.rail-btn:active { transform: scale(0.94); }
.rail-btn:disabled { opacity: 0.3; cursor: default; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 29vw, 370px);
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  padding-block: 8px 28px;
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail.is-dragging a { pointer-events: none; }
.rail-end {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 28px;
  border-radius: var(--r-l);
  background: rgba(242, 247, 252, 0.08);
  box-shadow: inset 0 0 0 1px var(--rule-on-grad);
  color: var(--nebel);
  text-decoration: none;
  position: relative; overflow: hidden; overflow: clip;
  transition: background var(--dur-m) var(--ease);
}
.rail-end:hover { background: rgba(242, 247, 252, 0.13); }
.rail-end .fcurve { --fs: 300px; color: rgba(242, 247, 252, 0.08); }
.rail-end b { font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.012em; }
.rail-end span { color: var(--hellblau); font-size: 0.95rem; }
.rail-progress { height: 2px; border-radius: 2px; background: var(--rule-on-grad); margin-top: 4px; overflow: hidden; overflow: clip; }
.rail-progress i { display: block; height: 100%; width: 100%; background: var(--nebel); transform-origin: left; transform: scaleX(var(--p, 0.2)); transition: transform 120ms linear; }
.rail-wrap { margin-inline: 0; }

/* ---------- Chat: lebendiger Einstieg ---------- */
.chat-log > :first-child { margin-top: auto; }
.msg--intro {
  background: none; box-shadow: none; padding: 0 2px 8px;
  max-width: 100%;
  animation: none;
}
.msg--intro .greet {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.msg--intro .greet-sub { color: var(--kobalt); font-size: 0.97rem; }
.w { opacity: 0; animation: word-in 380ms var(--ease-out) forwards; }
@keyframes word-in { from { opacity: 0; filter: blur(4px); transform: translateY(3px); } to { opacity: 1; filter: none; transform: none; } }
.msg .w { display: inline; }

.chat--hero .chat-input {
  margin: 0 16px;
  padding: 8px 8px 8px 20px;
  border-radius: var(--r-l);
  box-shadow: inset 0 0 0 1px var(--hellblau), 0 6px 20px rgba(4, 44, 83, 0.08);
}
.chat--hero .chat-input input { font-size: 1.05rem; padding: 10px 0; }
.chat--hero .chat-send { width: 42px; height: 42px; border-radius: var(--r-m); background: var(--grad-burgund); }
.chat--hero .chat-send:disabled { opacity: 0.5; }
/* Schreibmarke im leeren Feld lädt zum Tippen ein */
.chat-input.is-idle input::placeholder { color: var(--blau); }
.chat-caret {
  width: 2px; height: 1.2em; margin-left: -6px;
  background: var(--burgund);
  border-radius: 1px;
  animation: caret 1.05s steps(1) infinite;
  flex: none;
}
.chat-input:focus-within .chat-caret, .chat-input.has-text .chat-caret { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.chat-status::before { animation: online 2.6s var(--ease) infinite; }
@keyframes online { 0%, 100% { box-shadow: 0 0 0 0 rgba(62, 154, 107, 0.45); } 60% { box-shadow: 0 0 0 5px rgba(62, 154, 107, 0); } }

.chat-card--insight .ph { background: var(--grad-pflaume); }
.chat-card--insight .ph .fcurve { color: rgba(191, 162, 204, 0.25); }

/* ---------- Fachwissen: Marke ---------- */
.insight-intro { grid-column: 1 / span 7; }
.insight-aside { grid-column: 9 / span 4; align-self: end; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 900px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.fact { padding-top: 22px; border-top: 2px solid var(--himmel); }
.fact h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.fact p { color: var(--kobalt); font-size: 0.97rem; }

.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .brands { grid-template-columns: minmax(0, 1fr); } }
.brand {
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 14px;
}
.brand-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.brand-head h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-head span { font-size: 0.8rem; color: var(--kobalt); }
.brand p { color: var(--navy); font-size: 0.97rem; }
.brand-kern { font-size: 0.85rem; color: var(--burgund-dunkel); }
.brand-kern b { font-weight: 600; }
/* Zeitleiste: Punkte bleiben, die Linie wächst – der Kern trägt durch die Jahre */
.years { position: relative; display: flex; justify-content: space-between; padding-top: 18px; margin-top: 4px; }
.years::before, .years::after { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; height: 2px; border-radius: 2px; background: var(--himmel); }
.years::after { background: var(--kobalt); transform-origin: left; transform: scaleX(0); transition: transform 1400ms var(--ease-out) 200ms; }
.brand.is-shown .years::after, .js .brand:not([data-reveal]) .years::after { transform: scaleX(1); }
.years span { position: relative; font-size: 0.78rem; font-weight: 600; color: var(--kobalt); font-variant-numeric: tabular-nums; }
.years span::before {
  content: ""; position: absolute; top: -18px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--kobalt);
  z-index: 1;
}
.years span:last-child { text-align: right; }
.years span:last-child::before { left: auto; right: 0; background: var(--kobalt); }

.rollout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .rollout { grid-template-columns: minmax(0, 1fr); } }
.roll {
  border-radius: var(--r-l);
  padding: clamp(22px, 2.4vw, 30px);
  background: rgba(242, 247, 252, 0.07);
  box-shadow: inset 0 0 0 1px var(--rule-on-grad);
  display: flex; flex-direction: column; gap: 12px;
}
.roll-when { font-size: 0.8rem; font-weight: 600; color: var(--hellblau); letter-spacing: 0.03em; }
.roll h3 { font-size: 1.2rem; font-weight: 600; }
.roll p { color: var(--hellblau); font-size: 0.95rem; }
.roll ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.roll li { font-size: 0.8rem; padding: 5px 10px; border-radius: var(--r-s); background: rgba(242, 247, 252, 0.1); color: var(--nebel); }
/* Balken alt/neu: zeigt, wie lange beides nebeneinander läuft */
.mix { height: 6px; border-radius: 3px; background: rgba(242, 247, 252, 0.14); overflow: hidden; overflow: clip; margin-top: auto; }
.mix i { display: block; height: 100%; width: var(--to, 100%); background: var(--nebel); transform-origin: left; transform: scaleX(0); transition: transform 1200ms var(--ease-out) var(--d, 0ms); border-radius: 3px; }
.roll.is-shown .mix i { transform: scaleX(1); }
.mix-legend { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--hellblau); }

/* Startseite: Gut zu wissen */
.insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .insights { grid-template-columns: minmax(0, 1fr); } }
.insight {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-l);
  background: var(--grad-nebel);
  box-shadow: inset 0 0 0 1px rgba(13, 59, 102, 0.06);
  text-decoration: none;
  min-height: 260px;
  transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.insight:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.insight .fcurve { --fs: 280px; }
.insight h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; font-weight: 600; max-width: 20ch; }
.insight p { color: var(--kobalt); max-width: 40ch; }
.insight .link { margin-top: auto; }

/* ---------- Werdegang ausführlich ---------- */
.tl-body ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.tl-body li { position: relative; padding-left: 18px !important; display: block !important; color: var(--navy); font-size: 0.95rem; grid-template-columns: none !important; }
.tl-body li::before { content: ""; position: absolute; left: 0 !important; top: 0.72em !important; width: 8px !important; height: 2px !important; border-radius: 2px; background: var(--burgund) !important; box-shadow: none !important; }
.tl-body .tl-quote { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--burgund); color: var(--navy); font-style: italic; }

/* ---------- Getränkeplaner (Demo) ---------- */
.segmented--wrap { display: flex; flex-wrap: wrap; }
.planner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 3vw, 40px);
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-m);
}
@media (max-width: 900px) { .planner { grid-template-columns: minmax(0, 1fr); } }
.planner-input { display: flex; flex-direction: column; gap: 26px; }
.range { display: grid; gap: 10px; }
.range label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 500; color: var(--kobalt); }
.range output { font-size: 1.05rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.range input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; background: transparent; cursor: pointer;
  --fill: 10%;
}
.range input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--kobalt) var(--fill), var(--himmel) var(--fill));
}
.range input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--himmel); }
.range input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--kobalt); }
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(4, 44, 83, 0.25), 0 0 0 1px rgba(4, 44, 83, 0.08);
  transition: transform 120ms var(--ease);
}
.range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(4, 44, 83, 0.25); }
.planner-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pl-row { display: grid; grid-template-columns: 76px 1fr; gap: 4px 16px; align-items: baseline; }
.pl-num { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; text-align: right; }
.pl-num small { font-size: 0.85rem; font-weight: 500; color: var(--kobalt); margin-left: 2px; letter-spacing: 0; }
.pl-name { font-weight: 600; }
.pl-unit { grid-column: 2; font-size: 0.85rem; color: var(--kobalt); margin-top: -2px; }
.pl-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--himmel); overflow: hidden; overflow: clip; }
.pl-bar i { display: block; height: 100%; border-radius: 2px; background: var(--c, var(--kobalt)); transform-origin: left; transition: transform 600ms var(--ease-out); }
.planner-total { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; color: var(--kobalt); }
.planner-total b { color: var(--navy); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .bg-lines i { animation: none !important; }
  .w { animation: none; opacity: 1; }
  .chat-caret { animation: none; }
  .years::after, .mix i { transition: none; }
}

/* ---------- Making-of und Szenen ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 7vw, 104px); }
.pstep { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.pstep-media { grid-column: 1 / span 7; display: grid; gap: var(--gap); }
.pstep-copy { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 12px; }
.pstep--flip .pstep-media { grid-column: 6 / span 7; order: 2; }
.pstep--flip .pstep-copy { grid-column: 1 / span 4; order: 1; }
.pstep-media--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pstep-copy p { color: var(--kobalt); }
.pstep-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--nebel);
  font-weight: 700; font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .pstep-media, .pstep-copy, .pstep--flip .pstep-media, .pstep--flip .pstep-copy { grid-column: 1 / -1; order: 0; }
  .pstep-media--duo { grid-template-columns: minmax(0, 1fr); }
}

figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 0.82rem; color: var(--kobalt); }
.zoom {
  display: block; width: 100%;
  padding: 0; border: 0; background: var(--himmel);
  border-radius: var(--r-l);
  overflow: hidden; overflow: clip;
  cursor: zoom-in;
  box-shadow: var(--shadow-s);
  transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.zoom img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-out); }
.zoom:hover { box-shadow: var(--shadow-m); }
.zoom:hover img { transform: scale(1.025); }
.zoom:active { transform: scale(0.99); }

/* Szenen: hohes Bild links, breites und quadratisches rechts */
.scenes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.scenes > :nth-child(1) { grid-column: 1 / span 5; grid-row: span 2; }
.scenes > :nth-child(2) { grid-column: 6 / span 7; }
.scenes > :nth-child(3) { grid-column: 6 / span 4; }
.scenes > :nth-child(4) { grid-column: 10 / span 3; }
.scenes > :nth-child(1) .zoom { aspect-ratio: 9 / 16; }
.scenes > :nth-child(2) .zoom { aspect-ratio: 5 / 3; }
.scenes > :nth-child(3) .zoom { aspect-ratio: 1; }
.scene-note {
  align-self: start;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-l);
  background: var(--grad-daemmerung);
  color: var(--nebel);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
}
.scene-note b { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.04em; }
.scene-note span { color: var(--hellblau); font-size: 0.95rem; }
@media (max-width: 760px) {
  .scenes > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .scenes > :nth-child(1) .zoom { aspect-ratio: 4 / 5; }
  .scene-note { aspect-ratio: auto; }
}

/* Lightbox: wächst aus dem angetippten Bild heraus */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px;
  background: rgba(4, 44, 83, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 0s linear 260ms;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img {
  max-width: min(1400px, 100%); max-height: 100%;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-l);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transform: scale(0.9); opacity: 0;
  transition: transform 420ms var(--ease-out), opacity 260ms var(--ease);
}
.lightbox.is-open img { transform: none; opacity: 1; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(242, 247, 252, 0.14); color: var(--nebel);
  display: grid; place-items: center; cursor: pointer;
}
.lightbox-close svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .lightbox img { transform: none; } }

/* Freigestellte Motive nie beschneiden (überschreibt .ph--img img) */
.ph--img.ph--photo img { object-fit: contain; padding: 5%; }

/* ==========================================================================
   Runde 3
   ========================================================================== */

.tag--status { background: var(--grad-burgund); color: var(--nebel); }

/* Kundenlogo als Projektbild: ruhig, mittig, weißer Grund verschwindet */
.ph--logo { background: #fff; }
.ph--logo .ph-inner { display: grid; place-items: center; padding: 14% 18%; }
.ph--logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.tile:hover .ph--logo .ph-inner { transform: scale(1.03); }

/* Drei Plakate nebeneinander, leicht versetzt */
.ph--trio { background: var(--grad-nebel); }
.ph--trio .ph-inner { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 7% 8%; }
.ph--trio img { height: 100%; width: auto; max-width: 30%; object-fit: contain; border-radius: 3px; box-shadow: 0 2px 6px rgba(4, 44, 83, 0.12), 0 16px 32px rgba(4, 44, 83, 0.16); }
.ph--trio img:nth-child(2) { transform: translateY(-5%); }
.tile:hover .ph--trio img:nth-child(1) { transform: translateX(-3%) rotate(-1.5deg); }
.tile:hover .ph--trio img:nth-child(3) { transform: translateX(3%) rotate(1.5deg); }
.ph--trio img { transition: transform 700ms var(--ease-out); }

/* Galerie */
.gallery { display: grid; grid-template-columns: var(--tpl, repeat(var(--cols, 3), minmax(0, 1fr))); gap: var(--gap); }
.gallery .zoom { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* Netzwerk-Personen als Link */
a.person { text-decoration: none; color: var(--navy); transition: box-shadow var(--dur-m) var(--ease); }
a.person:hover { box-shadow: var(--shadow-m); }
.person b { font-weight: 600; }

/* Vorher/Nachher-Regler */
.ba { position: relative; border-radius: var(--r-l); overflow: hidden; overflow: clip; box-shadow: var(--shadow-m); --pos: 50%; user-select: none; }
.ba-layer { position: relative; }
.ba-layer .ph { border-radius: 0; box-shadow: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 16px; padding: 6px 10px; border-radius: var(--r-s); font-size: 0.8rem; font-weight: 600; background: rgba(242, 247, 252, 0.85); color: var(--navy); z-index: 2; }
.ba-before .ba-tag { left: 16px; }
.ba-after .ba-tag { right: 16px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--nebel); z-index: 3; pointer-events: none; box-shadow: 0 0 0 1px rgba(4, 44, 83, 0.1); }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--nebel); box-shadow: var(--shadow-m); }
.ba-handle i::before, .ba-handle i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--navy); border-left: 2px solid var(--navy); }
.ba-handle i::before { left: 11px; transform: translateY(-50%) rotate(-45deg); }
.ba-handle i::after { right: 11px; transform: translateY(-50%) rotate(135deg); }
.ba-range:focus-visible ~ .ba-handle i { outline: 2px solid var(--kobalt); outline-offset: 3px; }

/* Kundenlogos auf der Startseite */
.logos--real { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-real { height: 72px; display: grid; place-items: center; padding: 10px 16px; border-radius: var(--r-m); }
.logo-real img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: 0.6; transition: filter 500ms var(--ease), opacity 500ms var(--ease); }
.logo-real:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) { .logos--real { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Dezente Kurven in großen, leeren Flächen */
.section, .area-detail, .case-block { position: relative; }
.quiet-curve { position: absolute; pointer-events: none; z-index: 0; }
.quiet-curve.fcurve { color: rgba(158, 201, 232, 0.28); }
.w-nebel .quiet-curve.fcurve { color: rgba(158, 201, 232, 0.4); }
.area-detail { overflow: hidden; overflow: clip; }
.area-detail > .grid { position: relative; z-index: 1; }

/* Arbeitsweise mit Icons (Test) */
.principle-icon { width: 40px; height: 40px; border-radius: var(--r-m); display: grid; place-items: center; background: var(--himmel); color: var(--navy); margin-bottom: 14px; }
.principle-icon svg { width: 22px; height: 22px; }

/* ==========================================================================
   Runde 4
   ========================================================================== */

/* Kundenlogos: klein, gleiche Höhe, auf einer Linie */
.logos--real { align-items: center; max-width: 820px; }
.logo-real { height: 64px; padding: 0 12px; }
.logo-real img { height: 40px; width: auto; max-width: 140px; }
.logo-real img[src*="sagasser"] { height: 26px; }
.logo-real img[src*="landstolz"] { height: 44px; }

/* Leistungen auf der Startseite: mit Bild */
.areas--media .area { padding: 0; min-height: 0; overflow: hidden; overflow: clip; }
.area-media { border-radius: 0; aspect-ratio: 16 / 10; box-shadow: none; }
.area-media.ph--img img { object-fit: cover; transition: transform 900ms var(--ease-out); }
.area:hover .area-media img { transform: scale(1.03); }
.area-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 28px); flex: 1; }
.area-example { font-size: 0.88rem; color: var(--kobalt); padding-left: 12px; border-left: 2px solid var(--burgund); }
.area-body .link { margin-top: auto; }
.ph--logos { background: #fff; }
.ph--logos .ph-inner { display: flex; align-items: center; justify-content: center; gap: 12%; padding: 12%; }
.ph--logos img { max-width: 40%; max-height: 60%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .tiles--2 { grid-template-columns: minmax(0, 1fr); } }

/* Wissen-Übersicht */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 980px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.post-where { font-size: 0.8rem; color: var(--kobalt); }
.insight--soon { opacity: 0.75; pointer-events: none; }
.areas--media .area { gap: 0; }
.logo-real img { opacity: 0.75; }
.gallery--lead > :first-child { grid-column: 1 / -1; } .gallery--lead > :first-child .zoom { aspect-ratio: 21 / 9; }

/* Markenkurven (Designsystem): Buchstaben f/k/t, live gesetzt */
.kurve {
  background: none !important;
  -webkit-mask: none !important; mask: none !important;
  aspect-ratio: 1; height: auto;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
  animation: kurve-in 200ms var(--ease) both;
}
@keyframes kurve-in { from { opacity: 0; } }
.chat-card .kurve, .mini-tiles .kurve { width: 260% !important; }

/* ==========================================================================
   Runde 5
   ========================================================================== */
.network--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .network--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .network--4 { grid-template-columns: minmax(0, 1fr); } }
.w-pflaume .net-item { border-top-color: rgba(191, 162, 204, 0.3); }
.w-pflaume .net-item p { color: var(--pflaume-hell); }
.net-who { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--nebel); text-decoration: none; }
a.net-who { border-bottom: 1px solid rgba(242, 247, 252, 0.35); }
a.net-who:hover { border-bottom-color: var(--nebel); }

/* Kundenlogos größer */
.logos--real { max-width: 1000px; }
.logo-real { height: 96px; }
.logo-real img { height: 64px; max-width: 200px; }
.logo-real img[src*="sagasser"] { height: 40px; }
.logo-real img[src*="landstolz"] { height: 72px; }

/* Leistungsbereiche Startseite: Icon, Bereichsname groß, drei Stichpunkte */
.areas--icons .area { min-height: 0; gap: 14px; }
.area-icon { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: var(--r-m); display: grid; place-items: center; background: var(--navy); color: var(--nebel); margin-bottom: 8px; }
.area-icon svg { width: 28px; height: 28px; }
.area-title { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.area-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; font-size: 0.93rem; color: var(--kobalt); }
.area-list li { padding-left: 18px; position: relative; }
.area-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; border-radius: 2px; background: var(--burgund); }
.areas--icons .area .link { margin-top: auto; }

/* Beitragsseite */
.article { grid-column: 1 / span 8; max-width: 44em; }
.article h2 { margin-top: 20px; }
@media (max-width: 900px) { .article { grid-column: 1 / -1; } }

/* ==========================================================================
   Header (Hero) neu: Problem · Lösung · Belege · Kennenlernen
   ========================================================================== */
.hero-person { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--hellblau); font-size: 0.95rem; }
.hero-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px rgba(242, 247, 252, 0.25); }
.hero-person strong { color: var(--nebel); font-weight: 600; }
.hero-copy .display { max-width: 14ch; }
.hero-proof { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; color: var(--hellblau); font-size: 0.95rem; }
.hero-proof li { position: relative; padding-left: 18px; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; border-radius: 2px; background: var(--burgund-hell); }
.hero-proof b { color: var(--nebel); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-cta p { font-size: 0.85rem; color: var(--hellblau); }
.hero-chat-title { color: var(--nebel); font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.hero-copy .display { font-size: clamp(2.2rem, 3.6vw, 3.3rem); max-width: 15ch; }
.hero-proof { margin-top: 22px; }
.hero-cta { margin-top: 26px; }

/* Projekte auf hellem Grund (Startseite) */
.projects-home .rail-btn { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--himmel), var(--shadow-s); }
.projects-home .rail-btn:hover { background: var(--himmel); }
.projects-home .rail-end { background: var(--grad-daemmerung); box-shadow: none; }
.projects-home .rail-end:hover { background: var(--grad-tiefe); }
.projects-home .rail-progress { background: var(--himmel); }
.projects-home .rail-progress i { background: var(--kobalt); }

/* Über mich in kurz */
.about-short { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 900px; }
.about-short-photo { aspect-ratio: 1; border-radius: 50%; }
.about-short .quote-mark { max-width: 26ch; }
@media (max-width: 620px) { .about-short { grid-template-columns: minmax(0, 1fr); } .about-short-photo { width: 120px; } }
/* Über mich in kurz: Foto größer und eckig */
.about-short { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); max-width: 1000px; }
.about-short-photo { aspect-ratio: 4 / 5; border-radius: var(--r-l); }
@media (max-width: 620px) { .about-short-photo { width: 100%; max-width: 280px; } }

/* Projekt-Video oben */
.ph--video { background: var(--mitternacht); }
.ph--video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* „Selbst mit angepackt“ */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.feature-media .zoom { aspect-ratio: 3 / 4; max-width: 420px; }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* Bilder-Slider: gleiche Höhe, Breite folgt dem Bild */
.rail--media { grid-auto-columns: auto; cursor: grab; }
.rail--media figure { margin: 0; }
.rail--media .zoom { height: clamp(260px, 38vw, 440px); width: auto; aspect-ratio: auto; }
.rail--media .zoom img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.rail-btns--light .rail-btn { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--himmel), var(--shadow-s); }
.rail-btns--light .rail-btn:hover { background: var(--himmel); }
.rail-progress--light { background: var(--himmel); }
.rail-progress--light i { background: var(--kobalt); }

/* Umsatzkurve (Projekt Landstolz) */
.growth { margin: 0; padding: clamp(16px, 3vw, 32px); background: #fff; border: 1px solid var(--himmel); border-radius: var(--r-l); box-shadow: var(--shadow-s); }
.growth svg { display: block; width: 100%; height: auto; overflow: visible; }
.growth .g-band { fill: var(--nebel); }
.growth .g-axis { stroke: var(--hellblau); stroke-width: 1; }
.growth .g-bracket { fill: none; stroke: var(--hellblau); stroke-width: 1; }
.growth .g-area { fill: var(--himmel); opacity: 0.7; }
.growth .g-line { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.growth text { font-family: var(--font); }
.growth .g-tick { font-size: 11px; fill: var(--blau); }
.growth .g-label { font-size: 13px; fill: var(--kobalt); }
.growth .g-strong { font-weight: 700; fill: var(--navy); }
.growth .g-peak { opacity: 0; transform: translateY(6px); transition: opacity var(--dur-l) var(--ease-out), transform var(--dur-l) var(--ease-out); }
.growth .g-peak.is-on { opacity: 1; transform: none; }
.growth .g-peak circle { fill: var(--burgund); stroke: #fff; stroke-width: 3; }
.growth .g-drop { stroke: var(--burgund-hell); stroke-width: 1; stroke-dasharray: 3 4; }

/* Kurven: gleiten einmal herein, in Karten beim Darüberfahren ein Stück weiter */
svg.kurve { opacity: var(--ko, 0.4); transition: opacity 1400ms var(--ease-out), translate 1600ms var(--ease-out); }
svg.kurve.kurve--vorher { opacity: 0; translate: 8% 8%; }
.area svg.kurve { transition: opacity 1400ms var(--ease-out), translate 900ms var(--ease-out); }
.area:hover svg.kurve { translate: -3% 3%; }
@media (prefers-reduced-motion: reduce) { svg.kurve { transition: none; } .area:hover svg.kurve { translate: none; } }

/* Auszeichnung auf Projektkacheln (z. B. Nr. 1, Gewinner) */
.tile { position: relative; }
.tile-badge { position: absolute; z-index: 2; top: 14px; left: 14px; max-width: calc(100% - 28px); padding: 6px 10px; border-radius: var(--r-s); background: var(--burgund); color: var(--nebel); font-size: 0.8rem; font-weight: 600; line-height: 1.3; box-shadow: var(--shadow-s); }
.more-projects { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-s); }
.more-projects b { display: block; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.more-projects p { color: var(--kobalt); max-width: 56ch; }

/* Markenkern: Logo-Verläufe */
.logo-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--himmel); }
.logo-row figure { margin: 0; display: grid; gap: 8px; justify-items: center; }
.logo-row img { width: 100%; height: 64px; object-fit: contain; }
.logo-row figcaption { font-size: 0.78rem; font-weight: 600; color: var(--kobalt); font-variant-numeric: tabular-nums; }
.logo-credit { margin-top: 24px; font-size: 0.8rem; color: var(--kobalt); }
.trend { margin-top: var(--gap); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-s); border-left: 3px solid var(--burgund); display: grid; gap: 12px; }
.trend p { color: var(--navy); max-width: 68ch; }

/* Cookie-Hinweis */
.consent { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); padding: 22px; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-l); display: grid; gap: 12px; color: var(--navy); }
.consent-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.consent-text { font-size: 0.9rem; line-height: 1.55; color: var(--kobalt); }
.consent-text a { color: var(--navy); }
.consent-details { display: grid; gap: 10px; padding: 12px 0; border-block: 1px solid var(--himmel); }
.consent-details[hidden] { display: none; }
.consent-details label { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; font-size: 0.92rem; font-weight: 600; align-items: start; }
.consent-details label span { grid-column: 2; font-weight: 400; font-size: 0.82rem; color: var(--kobalt); }
.consent-details input { margin-top: 3px; accent-color: var(--navy); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent-more, .footer-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.consent-more { font-size: 0.88rem; color: var(--kobalt); margin-left: 4px; }
.footer-links .footer-link-btn { color: var(--nebel); text-decoration: none; font-size: 0.95rem; opacity: 0.85; text-align: left; }
.footer-links .footer-link-btn:hover { opacity: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--kobalt); }
.cal-inline { width: 100%; min-height: 560px; overflow: auto; }
.panel--cal { padding: 8px; }

/* Rechtliche Seiten */
.legal { grid-column: 1 / span 8; max-width: 46em; display: grid; gap: 14px; }
@media (max-width: 900px) { .legal { grid-column: 1 / -1; } }
.legal h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 22px; scroll-margin-top: 110px; }
.legal p, .legal li { color: var(--navy); line-height: 1.65; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--kobalt); }
.legal-lead { font-size: 1.1rem; }
.legal-stand { margin-top: 24px; font-size: 0.9rem; color: var(--kobalt); }
mark.fehlt { background: rgba(224, 156, 178, 0.35); color: var(--burgund-dunkel); padding: 0 4px; border-radius: 3px; }
.booking-fallback { display: flex; flex-wrap: wrap; gap: 12px; }
.form-fehler { font-size: 0.9rem; color: var(--burgund-dunkel); }
/* Rückfall: Läuft main.js nicht, macht der Seitenkopf nach 2,5 s alle Inhalte sichtbar */
.ohne-animation [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
