/* ==========================================================================
   Jimenez Webdesign
   Stylesheet (ohne Framework, ohne externe Ressourcen)
   ========================================================================== */

/* Schrift: Bricolage Grotesque, SIL Open Font License 1.1, selbst gehostet */
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #EDEFF3;      /* Seitenhintergrund – wie die Arbeitsfläche eines Design-Tools */
  --paper: #FFFFFF;       /* Flächen, Rahmen */
  --ink: #172033;         /* Text */
  --muted: #4A5364;       /* Sekundärtext (6,7:1 auf Canvas) */
  --line: #D3D8E1;        /* Linien */
  --field: #7A8394;       /* Formularrahmen (3,8:1 auf Weiß) */
  --select: #1D4FE0;      /* Auswahl-Blau: Links, Buttons, Auswahlrahmen */
  --select-dark: #1439A8;
  --guide: #D4136F;       /* Hilfslinien-Magenta: Fokus, Markierungen */
  --error: #B00020;

  --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius-frame: 12px;
  --radius-btn: 8px;
  --radius-tag: 4px;
  --measure: 66ch;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--select); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--select-dark); text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  margin: 0 0 .5em;
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 660; line-height: 1.25; letter-spacing: -.01em; }

p { margin: 0 0 1em; max-width: var(--measure); }
p, li, dd { hyphens: auto; -webkit-hyphens: auto; }

.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 1rem; top: -200px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-btn);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: inherit; font-weight: 620; line-height: 1.2; text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius-btn);
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--select); color: #fff; }
.btn-primary:hover { background: var(--select-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--canvas); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; }

.link-button {
  padding: 0; border: 0; background: none; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: .9rem;
  transition: padding .3s ease;
}
.site-header.is-scrolled { padding-block: .6rem; }
:where(section[id], [id].band, #inhalt) { scroll-margin-top: 5.5rem; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Beim Scrollen wird der Kopfbereich zur schwebenden Werkzeugleiste */
.header-inner::before {
  content: ""; position: absolute; inset: -.5rem -.75rem; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(211, 216, 225, .9); border-radius: 14px;
  box-shadow: 0 16px 36px -22px rgba(23, 32, 51, .45);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  opacity: 0; transform: scale(.985); transition: opacity .3s ease, transform .3s ease;
}
.site-header.is-scrolled .header-inner::before { opacity: 1; transform: none; }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -.5rem; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--select), #7B5CFF 60%, var(--guide));
  transform-origin: left center; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .3s ease;
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }

/* Logo: Schriftzug mit blauem Cursor, der beim Laden und beim Überfahren blinkt */
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; line-height: 0; }
.brand:hover { color: var(--ink); }
.brand .logo { display: block; width: auto; height: 32px; overflow: visible; }
.brand .logo-short { display: none; height: 28px; }
@media (max-width: 419px) {
  .brand .logo-full { display: none; }
  .brand .logo-short { display: block; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header .logo-caret { animation: caret-blink 1.05s steps(1, end) 3; animation-delay: .4s; }
  .site-header .brand:hover .logo-caret, .site-header .brand:focus-visible .logo-caret { animation: caret-blink 1.05s steps(1, end) infinite; }
}
@keyframes caret-blink { 50% { opacity: 0; } }
.brand-footer img { display: block; width: 150px; height: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 580; }
.site-nav:not(.has-indicator) a:not(.btn):hover,
.site-nav:not(.has-indicator) a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--select); }
.nav-extra { display: none; }

/* Menü-Knopf mit Linien, die zum Kreuz werden */
.nav-toggle {
  position: relative; z-index: 2; display: none; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .95rem;
  font: inherit; font-weight: 640; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.nav-toggle:hover { border-color: var(--ink); }
.burger { position: relative; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 5px; } .burger i:nth-child(3) { top: 10px; }
.nav-open .nav-toggle { color: #fff; background: var(--ink); border-color: var(--ink); }
.nav-open .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-open .burger i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  /* ohne JavaScript: Menü steht offen untereinander */
  .site-nav ul { display: grid; gap: .25rem; padding-top: 1rem; }
  .site-nav a:not(.btn) { display: block; padding: .6rem 0; font-size: 1.15rem; }
  .site-nav .btn { width: 100%; margin-top: .5rem; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; }

  /* mit JavaScript: Vollbild-Menü */
  .js-nav .nav-toggle { display: inline-flex; }
  .js-nav .header-inner { flex-wrap: nowrap; }
  .js-nav .site-nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: calc(env(safe-area-inset-top, 0px) + 6rem) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem);
    overflow-y: auto; background: var(--paper);
    visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .js-nav .site-nav::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(50% 40% at 100% 0%, rgba(29, 79, 224, .14), transparent 70%),
      radial-gradient(45% 35% at 0% 100%, rgba(212, 19, 111, .08), transparent 70%);
  }
  .js-nav.nav-open .site-nav { visibility: visible; opacity: 1; transition: opacity .3s ease; }
  .js-nav .site-nav ul { gap: 0; padding: 0; }
  .js-nav .site-nav li:not(.nav-cta) { border-bottom: 1px solid var(--line); }
  .js-nav .site-nav ul a:not(.btn) {
    display: flex; align-items: center; justify-content: space-between; padding: .85rem 0;
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); font-weight: 720; letter-spacing: -.02em;
  }
  .js-nav .site-nav ul a:not(.btn)::after {
    content: ""; width: .5em; height: .5em; margin-right: .3rem; flex: none;
    border-top: 2px solid var(--select); border-right: 2px solid var(--select); transform: rotate(45deg);
  }
  .js-nav .site-nav a[aria-current="page"]:not(.btn) { color: var(--select); text-decoration: none; }
  .js-nav .site-nav .nav-cta { margin-top: 1.25rem; }
  .js-nav .nav-extra { display: grid; gap: .35rem; font-size: 1.05rem; }
  .js-nav .nav-extra p { margin: 0 0 .25rem; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .js-nav .nav-extra a { justify-self: start; padding: .15rem 0; font-weight: 620; color: var(--ink); overflow-wrap: anywhere; }
  @media (prefers-reduced-motion: no-preference) {
    .js-nav .site-nav li, .js-nav .nav-extra { opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
    .js-nav.nav-open .site-nav li, .js-nav.nav-open .nav-extra { opacity: 1; transform: none; transition-delay: calc(var(--i, 6) * 55ms + 80ms); }
  }
}
html.nav-locked { overflow: hidden; }

@media (min-width: 1024px) {
  .site-nav ul { position: relative; display: flex; align-items: center; gap: .35rem; }
  .site-nav a:not(.btn) { display: block; padding: .45rem .7rem; border-radius: 2px; transition: color .2s ease; }
  .site-nav.has-indicator a[aria-current="page"]:not(.btn) { color: var(--select); }
  .nav-cta { margin-left: .9rem; }
  /* Auswahlrahmen, der zum Menüpunkt gleitet */
  .nav-indicator {
    position: absolute; top: 0; left: 0; z-index: -1; pointer-events: none; opacity: 0;
    background: rgba(29, 79, 224, .07); border: 1.5px solid var(--select);
    transition: transform .4s cubic-bezier(.3, .9, .25, 1), width .4s cubic-bezier(.3, .9, .25, 1), height .4s ease, opacity .2s ease;
  }
  .nav-indicator.is-visible { opacity: 1; }
  .nav-indicator b { position: absolute; width: 6px; height: 6px; background: var(--paper); border: 1.5px solid var(--select); }
  .nav-indicator b:nth-child(1) { top: -4px; left: -4px; } .nav-indicator b:nth-child(2) { top: -4px; right: -4px; }
  .nav-indicator b:nth-child(3) { bottom: -4px; left: -4px; } .nav-indicator b:nth-child(4) { bottom: -4px; right: -4px; }
}
@media (prefers-reduced-motion: reduce) { .nav-indicator { transition: opacity .2s ease; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(34% 58% at 80% 42%, rgba(29, 79, 224, .16), transparent 72%),
    radial-gradient(26% 44% at 99% 96%, rgba(212, 19, 111, .10), transparent 72%),
    radial-gradient(38% 52% at 2% 0%, rgba(29, 79, 224, .07), transparent 72%);
}

/* Lineale wie in einem Design-Programm – markieren den ausgewählten Titel */
.rulers { display: none; }
@media (min-width: 900px) {
  .hero { --ruler: 22px; padding-top: calc(var(--ruler) + clamp(2.5rem, 5vw, 4rem)); }
  .rulers { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .ruler {
    position: absolute; overflow: hidden; color: #7A8394; font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums;
    background-color: rgba(255, 255, 255, .72); background-repeat: repeat-x;
  }
  .ruler-x {
    top: 0; left: 0; right: 0; height: var(--ruler); border-bottom: 1px solid var(--line);
    background-image: repeating-linear-gradient(to right, #BCC3CF 0 1px, transparent 1px 10px), repeating-linear-gradient(to right, #8F98A8 0 1px, transparent 1px 100px);
    background-size: 100% 5px, 100% 12px; background-position: 0 100%, 0 100%;
  }
  .ruler-y {
    top: 0; bottom: 0; left: 0; width: var(--ruler); border-right: 1px solid var(--line); background-repeat: repeat-y;
    background-image: repeating-linear-gradient(to bottom, #BCC3CF 0 1px, transparent 1px 10px), repeating-linear-gradient(to bottom, #8F98A8 0 1px, transparent 1px 100px);
    background-size: 5px 100%, 12px 100%; background-position: 100% 0, 100% 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent);
  }
  .ruler-x > span:not(.ruler-mark) { position: absolute; top: 3px; left: calc(var(--n) * 1px + 3px); }
  .ruler-y > span:not(.ruler-mark) { position: absolute; left: 3px; top: calc(var(--n) * 1px + 3px); writing-mode: vertical-rl; transform: rotate(180deg); }
  .ruler-corner { position: absolute; top: 0; left: 0; width: var(--ruler); height: var(--ruler); background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .ruler-mark { position: absolute; background: rgba(29, 79, 224, .13); opacity: 0; transition: opacity .3s ease; }
  .rulers.is-measured .ruler-mark { opacity: 1; }
  .ruler-x .ruler-mark { top: 0; bottom: 0; left: var(--sel-x, 0); width: var(--sel-w, 0); border-inline: 1px solid var(--select); }
  .ruler-y .ruler-mark { left: 0; right: 0; top: var(--sel-y, 0); height: var(--sel-h, 0); border-block: 1px solid var(--select); }
}
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

/* Auswahlrahmen um die Überschrift – das Erkennungselement der Seite */
.selection {
  position: relative; display: inline-block;
  margin: 0 0 2.75rem -.4em; padding: .3em .4em .35em;
  border: 1.5px solid var(--select);
}
.selection h1 {
  margin: 0;
  font-size: clamp(2.1rem, 1.2rem + 4.4vw, 4.25rem);
  font-weight: 760; line-height: 1.02; letter-spacing: -.035em;
}
.handle {
  position: absolute; width: 10px; height: 10px;
  background: var(--paper); border: 1.5px solid var(--select);
}
.handle-tl { top: -5.5px; left: -5.5px; }
.handle-tr { top: -5.5px; right: -5.5px; }
.handle-bl { bottom: -5.5px; left: -5.5px; }
.handle-br { bottom: -5.5px; right: -5.5px; }
.dim-badge {
  position: absolute; left: 50%; bottom: -2.1rem; transform: translateX(-50%);
  padding: .15rem .45rem; border-radius: var(--radius-tag);
  background: var(--select); color: #fff;
  font-size: .75rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dim-badge:empty { display: none; }

.hero-copy .lead { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-call { margin-top: 1.25rem; font-size: .98rem; color: var(--muted); }
.hero-call a { font-weight: 620; }

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

/* Vorschau-Rahmen mit Beispielentwürfen */
.preview { margin: 0; min-width: 0; }
.preview-switch { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.preview-switch[hidden] { display: none; }
.preview-switch button {
  min-height: 44px; padding: .45rem .75rem;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
}
.preview-switch button:hover { border-color: var(--ink); }
.preview-switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.browser {
  overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-frame);
  box-shadow: 0 1px 0 rgba(23, 32, 51, .04), 0 30px 60px -30px rgba(23, 32, 51, .4);
}
.browser-bar { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: #F6F7F9; border-bottom: 1px solid var(--line); }
.browser-bar svg { width: 14px; height: 14px; flex: none; color: var(--muted); }
.browser-url {
  flex: 1; min-width: 0; padding: .28rem .7rem;
  font-size: .8rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview figcaption { margin-top: .9rem; font-size: .9rem; color: var(--muted); }

.mock {
  --m-bg: #fff; --m-ink: #1a1a1a; --m-accent: #333; --m-soft: #eee; --m-hero-ink: inherit;
  --m-tile: #f4f4f4; --m-font: var(--font); --m-radius: 6px;
  min-height: 330px; padding: 1rem 1.1rem 1.3rem;
  background: var(--m-bg); color: var(--m-ink); font-family: var(--m-font);
}
.mock[hidden] { display: none; }
/* Mit JavaScript liegen alle Entwürfe übereinander: der Rahmen behält die Höhe des größten, nichts springt beim Umschalten */
.js-preview .browser { display: grid; grid-template-columns: minmax(0, 1fr); }
.js-preview .browser > .mock { grid-area: 2 / 1; }
.js-preview .mock:not(.is-active) { visibility: hidden; }
.js-preview .mock { display: flex; flex-direction: column; }
.js-preview .mock-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.js-preview .mock-hero .mock-lines { align-self: stretch; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.mock-logo { font-size: .9rem; font-weight: 750; line-height: 1.2; }
.mock-nav { display: flex; gap: .45rem; }
.mock-nav i { display: block; width: 28px; height: 6px; border-radius: 3px; background: currentColor; opacity: .25; }
.mock-hero { margin-bottom: .9rem; padding: 1.2rem; border-radius: var(--m-radius); background: var(--m-soft); color: var(--m-hero-ink); }
.mock-title { max-width: 19ch; margin: 0 0 .7rem; font-size: clamp(1.05rem, .9rem + .7vw, 1.45rem); font-weight: 760; line-height: 1.12; letter-spacing: -.01em; }
.mock-lines i { display: block; height: 6px; margin-bottom: .45rem; border-radius: 3px; background: currentColor; opacity: .2; }
.mock-lines i:nth-child(1) { width: 88%; }
.mock-lines i:nth-child(2) { width: 64%; }
.mock-btn { display: inline-block; margin-top: .5rem; padding: .45rem .8rem; border-radius: var(--m-radius); background: var(--m-accent); color: #fff; font-size: .78rem; font-weight: 650; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.mock-tile { padding: .55rem; border-radius: var(--m-radius); background: var(--m-tile); font-size: .74rem; font-weight: 650; line-height: 1.25; }
.mock-tile::before { content: ""; display: block; height: 38px; margin-bottom: .5rem; border-radius: calc(var(--m-radius) - 2px); background: var(--m-accent); opacity: .16; }

.mock[data-variant="handwerk"]  { --m-bg: #F5F4F0; --m-ink: #1F2328; --m-accent: #E0A020; --m-soft: #262B31; --m-hero-ink: #FFFFFF; --m-tile: #EAE7DF; --m-radius: 4px; }
.mock[data-variant="handwerk"] .mock-btn { color: #1F2328; }
.mock[data-variant="feuerwehr"] { --m-bg: #FFFFFF; --m-ink: #1A1A1F; --m-accent: #B3121F; --m-soft: #1E1E26; --m-hero-ink: #FFFFFF; --m-tile: #F1F1F4; --m-radius: 4px; }
.mock[data-variant="blog"]      { --m-bg: #FAFAF6; --m-ink: #22261F; --m-accent: #2F6B3A; --m-soft: #E6EEE3; --m-tile: #EFF3EC; --m-font: Georgia, "Times New Roman", serif; --m-radius: 10px; }
.mock[data-variant="firma"]     { --m-bg: #F4F8F8; --m-ink: #102A2E; --m-accent: #1F6F78; --m-soft: #DCEDEE; --m-tile: #E8F2F2; --m-radius: 999px; }
.mock[data-variant="firma"] .mock-hero { border-radius: 18px; }
.mock[data-variant="firma"] .mock-tile { border-radius: 10px; }
.mock[data-variant="firma"] .mock-tile::before { border-radius: 8px; }
.mock[data-variant="feuerwehr"] .mock-btn { background: #fff; color: #B3121F; }

/* Einmaliger Aufbau beim Laden (nur ohne Wunsch nach reduzierter Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  .selection { animation: frame-in .5s ease-out both; }
  .handle, .dim-badge { animation: pop-in .35s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: .45s; }
  .handle-tr { animation-delay: .5s; } .handle-br { animation-delay: .55s; } .handle-bl { animation-delay: .6s; }
  .dim-badge { animation-name: badge-in; animation-delay: .75s; }
  .preview:not(.js-preview) .mock:not([hidden]) > *, .mock.is-active > * { animation: build-in .45s ease-out both; }
  .preview:not(.js-preview) .mock:not([hidden]) > :nth-child(2), .mock.is-active > :nth-child(2) { animation-delay: .08s; }
  .preview:not(.js-preview) .mock:not([hidden]) > :nth-child(3), .mock.is-active > :nth-child(3) { animation-delay: .16s; }
}
@keyframes frame-in { from { border-color: transparent; } to { border-color: var(--select); } }
@keyframes pop-in { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes badge-in { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes build-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Abschnitte ---------- */
.section { padding-block: 0 var(--section); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p:last-child { margin-bottom: 0; }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Farbwelten der Beispiel-Branchen – identisch mit den Entwürfen im Kopfbereich */
.aud-handwerk  { --a-bg: #F5F4F0; --a-ink: #1F2328; --a-hero: #262B31; --a-hero-ink: #fff; --a-accent: #E0A020; --a-btn-ink: #1F2328; --a-tile: #EAE7DF; --a-glow: rgba(224, 160, 32, .28); --a-r: 4px; }
.aud-firma     { --a-bg: #F4F8F8; --a-ink: #102A2E; --a-hero: #DCEDEE; --a-hero-ink: #102A2E; --a-accent: #1F6F78; --a-btn-ink: #fff; --a-tile: #E3EFEF; --a-glow: rgba(31, 111, 120, .22); --a-r: 12px; }
.aud-blog      { --a-bg: #FAFAF6; --a-ink: #22261F; --a-hero: #E6EEE3; --a-hero-ink: #22261F; --a-accent: #2F6B3A; --a-btn-ink: #fff; --a-tile: #EDF2EA; --a-glow: rgba(47, 107, 58, .22); --a-r: 8px; --a-font: Georgia, "Times New Roman", serif; }
.aud-feuerwehr { --a-bg: #FFFFFF; --a-ink: #1A1A1F; --a-hero: #1E1E26; --a-hero-ink: #fff; --a-accent: #D71E24; --a-btn-ink: #fff; --a-tile: #F1F1F4; --a-glow: rgba(215, 30, 36, .25); --a-r: 4px; }

.aud {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-frame);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.aud:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(23, 32, 51, .45); }
.aud-visual {
  position: relative; container-type: inline-size; padding: 1rem 1rem 0; border-radius: var(--radius-frame) var(--radius-frame) 0 0;
  background: radial-gradient(80% 90% at 50% 100%, var(--a-glow), transparent 70%), #F3F5F8;
}
.aud-mock {
  display: grid; gap: 3cqw; padding: 4cqw 4cqw 0; aspect-ratio: 16 / 10; overflow: hidden;
  font-family: var(--a-font, var(--font)); color: var(--a-ink); background: var(--a-bg);
  border-radius: 8px 8px 0 0; box-shadow: 0 -1px 0 rgba(23, 32, 51, .06), 0 10px 30px -18px rgba(23, 32, 51, .5);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
  transform-origin: 50% 100%;
}
.aud:hover .aud-mock { transform: translateY(-2%) scale(1.02); }
.aud-bar { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; font-size: 4.6cqw; white-space: nowrap; }
.aud-bar b { overflow: hidden; text-overflow: ellipsis; font-weight: 750; }
.aud-bar span { display: flex; gap: 2cqw; }
.aud-bar i { display: block; width: 6cqw; height: 1.4cqw; border-radius: 1cqw; background: currentColor; opacity: .25; }
.aud-hero {
  display: grid; align-content: center; justify-items: start; gap: 3cqw; padding: 5cqw;
  color: var(--a-hero-ink); background: var(--a-hero); border-radius: var(--a-r);
}
.aud-title { font-size: 6.4cqw; font-weight: 760; line-height: 1.1; letter-spacing: -.01em; }
.aud-btn { padding: 1.8cqw 3.4cqw; font-size: 3.8cqw; font-weight: 700; color: var(--a-btn-ink); background: var(--a-accent); border-radius: calc(var(--a-r) * .7); }
.aud-firma .aud-btn { border-radius: 99cqw; }
.aud-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5cqw; }
.aud-tiles i { display: block; height: 12cqw; border-radius: calc(var(--a-r) * .6); background: var(--a-tile); }
.aud-icon {
  position: absolute; left: 1.25rem; bottom: -1.3rem; z-index: 1; display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; color: var(--select); background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 18px -10px rgba(23, 32, 51, .45);
}
.aud-icon .audience-icon { width: 1.6rem; height: 1.6rem; margin: 0; padding: 0; background: none; }
.aud-body { display: flex; flex-direction: column; flex: 1; padding: 2.1rem 1.4rem 1.4rem; }
.aud-body h3 { margin-bottom: .45rem; }
.aud-body p { margin: 0; font-size: 1rem; color: var(--muted); }
.aud-body .aud-fit { margin-top: auto; padding-top: 1rem; font-size: .95rem; font-weight: 600; color: var(--ink); }
.aud-body .aud-fit a { font-weight: 700; }

/* Leistungs-Standard als „Eigenschaften-Panel“ */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .split { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .split > .section-head { position: sticky; top: 7rem; align-self: start; }
}
.spec { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-frame); }
.spec-row { display: grid; gap: .3rem; padding: 1.3rem clamp(1.25rem, 3vw, 1.75rem); border-top: 1px solid var(--line); }
.spec-row:first-child { border-top: 0; }
.spec dt { font-weight: 680; }
.spec dd { margin: 0; color: var(--muted); }
@media (min-width: 700px) { .spec-row { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }

/* Ablauf */
.steps { display: grid; gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding-top: 3.4rem; }
.step::before {
  counter-increment: step; content: counter(step) / "";
  position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem;
  font-weight: 720; color: var(--select);
  background: var(--paper); border: 1.5px solid var(--select); border-radius: var(--radius-tag);
}
.step p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 1.15rem; left: 3rem; right: -1rem;
    border-top: 1.5px dashed var(--guide);
  }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 0; font-size: 1.15rem; font-weight: 650; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: .6rem; height: .6rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--select); }
.faq-answer { padding: 0 0 1.5rem; }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-more { margin-top: 1.75rem; }

/* Abschluss-Aufruf */
.cta-band { padding: clamp(2rem, 6vw, 4rem); color: #fff; background: var(--ink); border-radius: var(--radius-frame); }
.cta-band h2 { max-width: 20ch; color: #fff; }
.cta-band p { color: #C9CFDB; }
.cta-band a:not(.btn) { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 479px) { .cta-actions .btn { width: 100%; } }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: clamp(1.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 22ch; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); font-weight: 750; letter-spacing: -.03em; }
.page-head .lead { margin-bottom: 0; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: #8C94A3; }
.breadcrumbs a { color: var(--muted); }

.panel { padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-frame); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35rem; }
.prose address { font-style: normal; margin-bottom: 1em; }
.legal-text [id] { scroll-margin-top: 6rem; }
.legal-text a { overflow-wrap: anywhere; }
.legal-text .index { columns: 2 16rem; column-gap: 2rem; }
.legal-text .index li { break-inside: avoid; }
.legal-text .m-elements { padding: 1rem 1rem 1rem 2rem; background: var(--canvas); border-radius: var(--radius-frame); }
.legal-text .seal { margin-top: 2.5rem; font-size: .875rem; color: var(--muted); }
@media (max-width: 479px) { .legal-text .m-elements { padding: .875rem .75rem .875rem 1.5rem; } }

.article-meta { font-size: .95rem; color: var(--muted); }
.note { padding: 1rem 1.25rem; margin-bottom: 2rem; background: var(--canvas); border-left: 4px solid var(--select); border-radius: var(--radius-tag); }
.note p:last-child { margin-bottom: 0; }

.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem;
  border: 1.5px solid var(--select); border-radius: 3px;
}

.post-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.post-list li { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.post-list h2 { margin-bottom: .4rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--select); text-decoration: underline; }
.post-list p { margin: 0; color: var(--muted); }
.post-list .article-meta { margin-bottom: .35rem; }

/* Offene Punkte – müssen vor dem Livegang ersetzt werden */
mark.todo { padding: 0 .25em; color: #8A0C47; background: #FFE8F2; outline: 1px dashed var(--guide); border-radius: 3px; }
.todo-note { padding: 1rem 1.25rem; margin-bottom: 2rem; color: #6B0A38; background: #FFF0F6; border: 2px dashed var(--guide); border-radius: var(--radius-btn); }
.todo-note p:last-child { margin-bottom: 0; }

/* ---------- Vorher-nachher-Vergleich ---------- */
.compare { margin: 0; }
.compare-frame {
  --pos: 50%;
  position: relative; container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-frame);
  box-shadow: 0 1px 0 rgba(23, 32, 51, .04), 0 30px 60px -30px rgba(23, 32, 51, .4);
  -webkit-user-select: none; user-select: none;
}
.compare-layer { position: absolute; inset: 0; overflow: hidden; }
.compare-new { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare figcaption { margin-top: .9rem; font-size: .9rem; color: var(--muted); }

.compare-range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none;
}
.compare-range[hidden] { display: none; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; }
.compare-range::-moz-range-thumb { width: 48px; height: 100vh; border: 0; }

.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 0; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 51, .25); }
.compare-handle > span {
  position: absolute; top: 50%; left: 0; display: grid; place-items: center;
  width: 48px; height: 48px; transform: translate(-50%, -50%);
  color: #fff; background: var(--select); border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 6px 16px rgba(23, 32, 51, .35);
}
.compare-handle svg { width: 22px; height: 22px; }
.compare-range:focus-visible ~ .compare-handle > span { outline: 3px solid var(--guide); outline-offset: 3px; }
.compare-range:hover ~ .compare-handle > span { background: var(--select-dark); }

.compare-tag {
  position: absolute; bottom: 12px; z-index: 2; pointer-events: none;
  padding: .2rem .55rem; border-radius: var(--radius-tag);
  font-size: .8rem; font-weight: 650; line-height: 1.4; color: #fff;
}
.compare-tag-new { left: 12px; background: var(--select); }
.compare-tag-old { right: 12px; background: var(--ink); }

/* Alte Website – typischer Baukasten-Auftritt von vor einigen Jahren. Maße in cqw, damit beide Entwürfe mitskalieren. */
.compare-old { font-family: Arial, Helvetica, sans-serif; font-size: 1.2cqw; line-height: 1.45; color: #666; background: #E5E5E5; }
.compare-old p { max-width: none; margin: 0 0 .6cqw; hyphens: none; }
.old-topbar { display: flex; align-items: center; justify-content: space-between; padding: .9cqw 3cqw; font-size: 1.2cqw; color: #777; background: #fff; border-bottom: .1cqw solid #d4d4d4; }
.old-topbar i { width: 1.3cqw; height: 1.3cqw; border: .2cqw solid #999; border-radius: 50%; }
.old-page { width: 66%; height: 100%; margin: 1.4cqw auto 0; background: #fff; box-shadow: 0 .1cqw .5cqw rgba(0, 0, 0, .15); }
.old-cover-wrap { position: relative; }
.old-cover {
  height: 11cqw; filter: saturate(.65) contrast(.9);
  background:
    radial-gradient(ellipse 30% 45% at 26% 72%, rgba(210, 80, 40, .9), transparent),
    radial-gradient(ellipse 25% 30% at 70% 30%, rgba(255, 255, 255, .28), transparent),
    linear-gradient(165deg, #858585, #3e3e3e 58%, #5c2a22);
}
.old-logo {
  position: absolute; left: 2.4cqw; bottom: -2.4cqw; display: grid; place-items: center;
  width: 5cqw; height: 5cqw; font-size: 1.5cqw; font-weight: 700; color: #A31515;
  background: #fff; border-radius: 50%; box-shadow: inset 0 0 0 .3cqw #A31515, 0 0 0 .3cqw #fff, 0 .1cqw .5cqw .3cqw rgba(0, 0, 0, .2);
}
.old-tabs { display: flex; gap: 2cqw; padding: .9cqw 2.4cqw 0 9cqw; font-size: 1.05cqw; text-transform: uppercase; letter-spacing: .05em; color: #999; border-bottom: .1cqw solid #e5e5e5; }
.old-tabs span { padding-bottom: .7cqw; }
.old-tabs .is-active { color: #A31515; border-bottom: .25cqw solid #A31515; }
.old-content { padding: 2.6cqw 2.4cqw 0; }
.old-h { font-size: 2cqw; color: #333; }
.old-intro { color: #999; }
.old-sub { margin-top: 1.4cqw !important; padding-bottom: .4cqw; font-size: 1.4cqw; color: #333; border-bottom: .1cqw solid #eee; }
.old-post { padding: .9cqw 0; border-bottom: .1cqw solid #eee; }
.old-post b { color: #333; }
.old-link, .old-tags { color: #3b73c8; }
.old-date { margin: 0 !important; font-size: 1cqw; color: #aaa; }

/* Neue Website – dunkles Design mit ruhigen Animationen */
.compare-new { font-family: var(--font); font-size: 1.45cqw; color: #F2F2F5; background: #0D0E12; }
.compare-new::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(38% 45% at 72% 38%, rgba(229, 50, 45, .32), transparent 70%),
    radial-gradient(32% 38% at 18% 88%, rgba(255, 160, 40, .13), transparent 70%);
}
.compare-new > * { position: relative; }
.fw-header { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 4cqw; }
.fw-logo { display: flex; align-items: center; gap: 1cqw; font-size: 1.7cqw; font-weight: 720; letter-spacing: -.01em; }
.fw-logo i { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; background: linear-gradient(145deg, #FF5A3C, #C8161D); box-shadow: 0 0 2cqw rgba(229, 50, 45, .55); }
.fw-nav { display: flex; gap: 1.6cqw; margin-left: auto; }
.fw-nav i { display: block; width: 4.4cqw; height: .55cqw; border-radius: .3cqw; background: #fff; opacity: .26; }
.fw-btn {
  display: inline-block; padding: .9cqw 1.7cqw; font-size: 1.3cqw; font-weight: 650; color: #fff;
  background: linear-gradient(135deg, #FF5A3C, #D71E24); border-radius: 99cqw;
  box-shadow: 0 .8cqw 2.4cqw -1cqw rgba(229, 50, 45, .85);
}
.fw-btn-ghost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 .15cqw rgba(255, 255, 255, .22); }
.fw-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4cqw; align-items: center; padding: 2.2cqw 4cqw 2.6cqw; }
.fw-status {
  display: inline-flex; align-items: center; gap: .8cqw; margin-bottom: 1.8cqw; padding: .5cqw 1.1cqw;
  font-size: 1.15cqw; font-weight: 600; color: #FFD2C9;
  background: rgba(229, 50, 45, .14); border-radius: 99cqw; box-shadow: inset 0 0 0 .12cqw rgba(229, 50, 45, .45);
}
.fw-status i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #FF4A3D; }
.fw-title { max-width: none; margin: 0 0 1.8cqw; font-size: 4.9cqw; font-weight: 770; line-height: 1.02; letter-spacing: -.035em; }
.fw-title span { display: block; color: #FF6A3D; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fw-title span {
    color: transparent; background: linear-gradient(90deg, #FF5A3C, #FFB020, #FF5A3C) 0 0 / 200% 100%;
    -webkit-background-clip: text; background-clip: text;
  }
}
.fw-lines i { display: block; height: .6cqw; margin-bottom: .9cqw; border-radius: .3cqw; background: #fff; opacity: .15; }
.fw-lines i:nth-child(1) { width: 88%; } .fw-lines i:nth-child(2) { width: 64%; }
.fw-actions { display: flex; gap: 1.2cqw; margin-top: 2cqw; }
.fw-card { padding: 1.8cqw; background: rgba(255, 255, 255, .045); border-radius: 1.4cqw; box-shadow: inset 0 0 0 .12cqw rgba(255, 255, 255, .1); }
.fw-card-title { display: flex; justify-content: space-between; max-width: none; margin: 0 0 1cqw; font-size: 1.15cqw; color: #A5A7B2; }
.fw-ticker { height: 12.6cqw; overflow: hidden; }
.fw-ticker ul { margin: 0; padding: 0; list-style: none; }
.fw-ticker li { display: flex; align-items: center; gap: 1.1cqw; height: 4.2cqw; font-size: 1.3cqw; border-bottom: .1cqw solid rgba(255, 255, 255, .08); }
.fw-ticker li i { width: .9cqw; height: .9cqw; border-radius: .2cqw; background: #FF5A3C; }
.fw-ticker li i.th { background: #FFB020; }
.fw-ticker li span { margin-left: auto; font-size: 1.1cqw; color: #8A8C97; font-variant-numeric: tabular-nums; }
.fw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1cqw; margin-top: 1.4cqw; }
.fw-stats span { font-size: 1.05cqw; color: #8A8C97; }
.fw-stats b { display: block; font-size: 2.4cqw; font-weight: 760; line-height: 1.1; color: #fff; }
.fw-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 4cqw; }
.fw-tiles span { padding: 1.5cqw; font-size: 1.4cqw; font-weight: 680; background: #16171D; border-radius: 1.2cqw; box-shadow: inset 0 .25cqw 0 #E5322D, inset 0 0 0 .12cqw rgba(255, 255, 255, .07); }
.fw-tiles i { display: block; width: 80%; height: .55cqw; margin-top: 1cqw; border-radius: .3cqw; background: #fff; opacity: .14; }

@media (prefers-reduced-motion: no-preference) {
  .compare-new::before { animation: fw-glow 12s ease-in-out infinite alternate; }
  .fw-status i { animation: fw-ping 1.8s ease-out infinite; }
  .fw-title span { animation: fw-shimmer 6s linear infinite; }
  .fw-ticker ul { animation: fw-ticker 12s ease-in-out infinite; }
  .fw-btn:first-child { animation: fw-breathe 3.2s ease-in-out infinite; }
  /* Animationen pausieren, solange der Vergleich nicht sichtbar ist (spart Akku und Rechenleistung) */
  .compare.is-offscreen .compare-new::before,
  .compare.is-offscreen .compare-new * { animation-play-state: paused; }
}
@keyframes fw-glow { from { transform: translate3d(-4%, -3%, 0); } to { transform: translate3d(5%, 4%, 0); } }
@keyframes fw-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 74, 61, .6); } 80%, 100% { box-shadow: 0 0 0 1.2cqw rgba(255, 74, 61, 0); } }
@keyframes fw-shimmer { to { background-position: -200% 0; } }
@keyframes fw-ticker {
  0%, 22% { transform: translateY(0); }
  33%, 55% { transform: translateY(-4.2cqw); }
  66%, 88% { transform: translateY(-8.4cqw); }
  100% { transform: translateY(-12.6cqw); }
}
@keyframes fw-breathe { 50% { box-shadow: 0 .8cqw 3.4cqw -.6cqw rgba(229, 50, 45, 1); } }

@media (max-width: 599px) {
  .compare-tag { bottom: 6px; padding: .05rem .4rem; font-size: .7rem; }
  .compare-tag-new { left: 6px; } .compare-tag-old { right: 6px; }
}

/* ---------- Pakete und Preise ---------- */
.packages { display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-frame); }
.package { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--line); }
.package:first-child { border-top: 0; }
.package h3 { margin-bottom: .75rem; font-size: 1.5rem; letter-spacing: -.02em; }
.package-price { margin: 0 0 .75rem; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 760; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-from { font-size: .45em; font-weight: 600; letter-spacing: 0; color: var(--muted); vertical-align: .35em; }
.price-unit { display: block; margin-top: .45rem; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.package-for { color: var(--muted); }
.package-intro { margin-bottom: .5rem; font-weight: 620; }
.package-ideal { margin-top: auto; padding-top: 1rem; font-size: .98rem; color: var(--muted); }
.package .btn { align-self: flex-start; margin-top: 1.25rem; }
.package-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.package-list li { position: relative; margin-bottom: .45rem; padding-left: 1.6rem; }
.package-list li::before {
  content: ""; position: absolute; left: .2rem; top: .42em; width: .45rem; height: .8rem;
  border-right: 2px solid var(--select); border-bottom: 2px solid var(--select); transform: rotate(40deg);
}
@media (min-width: 700px) { .package-list-2 { columns: 2; column-gap: 2rem; } .package-list-2 li { break-inside: avoid; } }
@media (min-width: 760px) {
  .packages-2 { grid-template-columns: 1fr 1fr; }
  .packages-2 .package + .package { border-top: 0; border-left: 1px solid var(--line); }
}
.packages-4 { gap: 1px; overflow: hidden; background: var(--line); }
.packages-4 .package { border-top: 0; background: var(--paper); }
@media (min-width: 700px) { .packages-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .packages-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.packages-4 .package:last-child { background: linear-gradient(160deg, #F1F5FF, var(--paper) 55%); }
.price-note { margin-top: 1rem; font-size: .95rem; color: var(--muted); max-width: 80ch; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); background: var(--paper); border: 1.5px dashed var(--select); border-radius: var(--radius-frame); }
.callout p { margin: 0; }
.note h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.split > div > .note { margin-top: 1.5rem; margin-bottom: 0; }

.package-teaser { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.package-teaser li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.package-teaser h3 { margin-bottom: .25rem; }
.teaser-price { margin: 0 0 .5rem; font-size: 1.9rem; font-weight: 760; letter-spacing: -.03em; line-height: 1.1; }
.package-teaser p:last-child { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .package-teaser { grid-template-columns: repeat(3, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); }
}
.teaser-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }
.teaser-actions p { margin: 0; }

.fw-head { display: grid; gap: 2.5rem; align-items: center; padding-bottom: var(--section); }
.fw-head .package-price { margin-top: 1.5rem; }
@media (min-width: 1000px) { .fw-head { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

/* ==========================================================================
   Startseite: Bänder, Abschnitts-Labels, Übergänge
   ========================================================================== */
.band { padding-block: var(--section); }
.band-tight { padding-block: 0 var(--section); }
.band-paper { background: var(--paper); border-block: 1px solid var(--line); }
.band-paper .spec, .band-paper .faq-answer { background: #F6F7F9; }
.band-paper .spec { border-color: #E3E7EE; }

@media (min-width: 900px) {
  .section-head.is-row {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 5rem);
    align-items: end; max-width: none;
  }
  .section-head.is-row > * { grid-column: 1; }
  .section-head.is-row h2 { margin-bottom: 0; }
  .section-head.is-row .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-bottom: .2rem; }
}

/* Abschnitts-Label wie der Rahmenname in einem Design-Programm */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem;
  font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--select);
}
.eyebrow::before {
  content: ""; width: .6rem; height: .6rem; flex: none;
  background: var(--paper); border: 1.5px solid var(--select);
}
.fw-offer .eyebrow, .fw-offer-tag { color: #FF8A65; }

/* Sanftes Einblenden beim Scrollen (nur mit JavaScript und ohne Wunsch nach reduzierter Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  .will-reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .will-reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .will-reveal:is(.audience, .plans, .steps, .journey) > * { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .will-reveal:is(.audience, .plans, .steps, .journey) { transform: none !important; }
  .will-reveal.is-done:is(.audience, .plans, .steps, .journey) > * { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; transition-delay: 0s; }
  .will-reveal:is(.audience, .plans, .steps, .journey):not(.is-in) { opacity: 1; }
  .will-reveal:is(.audience, .plans, .steps, .journey):not(.is-in) > * { opacity: 0; transform: translateY(24px); }
  /* Hilfslinien im Ablauf ziehen sich von Schritt zu Schritt */
  .will-reveal.steps .step::after { transform-origin: left center; transition: transform .7s ease; transition-delay: calc(var(--i, 0) * 180ms + 250ms); }
  .will-reveal.steps:not(.is-in) .step::after { transform: scaleX(0); }
}

/* Auswahlrahmen mit Anfassern – Hover bei Paketen, Auswahl im Formular */
.plan, .aud, .plan-choice { position: relative; }
.plan::after, .aud::after, .plan-choice-body::after {
  content: ""; position: absolute; inset: -5px; pointer-events: none; opacity: 0;
  border: 1.5px solid var(--select);
  background:
    linear-gradient(var(--select) 0 0) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--select) 0 0) 100% 0 / 8px 8px no-repeat,
    linear-gradient(var(--select) 0 0) 0 100% / 8px 8px no-repeat,
    linear-gradient(var(--select) 0 0) 100% 100% / 8px 8px no-repeat;
  background-origin: border-box; transition: opacity .15s ease;
}
.plan:hover::after, .plan:focus-within::after, .aud:hover::after, .aud:focus-within::after { opacity: 1; }

/* Pakete auf der Startseite */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan {
  display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-frame);
}
.plan h3 { margin-bottom: .6rem; font-size: 1.35rem; }
.plan-price { margin: 0; font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem); font-weight: 770; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.plan-pages { margin: .5rem 0 1rem; font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan-ideal { padding-bottom: 1rem; margin-bottom: 1rem; font-size: .98rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.plan .package-list { flex: 1; }
.plan .btn { align-self: flex-start; }
.plan-tag {
  position: absolute; top: 1.1rem; right: 1.1rem; margin: 0; padding: .15rem .55rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--select); border-radius: var(--radius-tag);
}
.plan-featured {
  border-color: var(--select); box-shadow: 0 24px 44px -30px rgba(29, 79, 224, .55);
  background: linear-gradient(160deg, #F1F5FF, var(--paper) 55%);
}
.plan-featured .btn { color: #fff; background: var(--select); border-color: var(--select); }
.plan-featured .btn:hover { background: var(--select-dark); border-color: var(--select-dark); color: #fff; }

/* Feuerwehr-Paket: eigener, dunkler Block im Paketbereich */
.fw-offer {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 2.5rem; align-items: center; margin-top: 1.25rem;
  padding: clamp(1.75rem, 5vw, 3.25rem); color: #F2F2F5; background: #121319; border-radius: var(--radius-frame);
}
.fw-offer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 60% at 85% 20%, rgba(229, 50, 45, .35), transparent 70%),
    radial-gradient(35% 50% at 10% 110%, rgba(255, 160, 40, .14), transparent 70%);
}
@media (min-width: 900px) { .fw-offer { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }
.fw-offer-tag { margin: 0 0 .75rem; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.fw-offer h3 { margin-bottom: .75rem; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); letter-spacing: -.03em; color: #fff; }
.fw-offer-price { margin: 0 0 1.25rem; font-size: 2rem; font-weight: 760; line-height: 1; letter-spacing: -.03em; color: #fff; }
.fw-offer-price .price-from, .fw-offer-price .price-unit { color: #A9ACB8; }
.fw-offer-price .price-unit { display: inline; margin-left: .5rem; font-size: .95rem; font-weight: 500; letter-spacing: 0; }
.fw-offer-text { color: #C9CCD6; }
.fw-offer-list { display: grid; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.fw-offer-list li { position: relative; padding-left: 1.5rem; }
.fw-offer-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 2px; background: linear-gradient(135deg, #FF5A3C, #D71E24); }
.fw-offer-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-fire { color: #fff; background: #C42A18; box-shadow: 0 10px 28px -12px rgba(229, 50, 45, .9); }
.btn-fire:hover { color: #fff; background: #A51F10; }
.fw-offer :focus-visible { outline-color: #FF8A65; }
@media (max-width: 479px) { .fw-offer-actions .btn { width: 100%; } }

.fw-login {
  display: grid; gap: .7rem; padding: 1.5rem; background: rgba(255, 255, 255, .05);
  border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.fw-login-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .4rem; }
.fw-login-head b { display: block; font-size: 1.05rem; color: #fff; }
.fw-login-head small { font-size: .85rem; color: #A9ACB8; }
.fw-login-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; color: #FF8A65; background: rgba(229, 50, 45, .16); border-radius: 10px; }
.fw-login-icon svg { width: 1.35rem; height: 1.35rem; }
.fw-login-field { padding: .7rem .85rem; font-size: .9rem; color: #8E91A0; background: rgba(255, 255, 255, .04); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.fw-login-btn { padding: .7rem; font-size: .95rem; font-weight: 650; text-align: center; color: #fff; background: #C42A18; border-radius: 8px; }
.fw-login-list { display: grid; gap: 0; margin: .5rem 0 0; padding: 0; list-style: none; font-size: .92rem; }
.fw-login-list li { display: flex; justify-content: space-between; padding: .6rem 0; color: #C9CCD6; border-top: 1px solid rgba(255, 255, 255, .08); }
.fw-login-list span { font-size: .78rem; color: #A9ACB8; }

/* Website Care als optionale Ergänzung */
.care-strip {
  display: grid; gap: 1rem 2rem; align-items: center; margin-top: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--paper); border: 1.5px dashed #9DB2F0; border-radius: var(--radius-frame);
}
.care-strip h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.care-strip p { margin: 0; color: var(--muted); }
.care-strip-price { font-size: 1.8rem !important; font-weight: 760; line-height: 1; letter-spacing: -.03em; color: var(--ink) !important; white-space: nowrap; }
.care-strip-price .price-unit { display: block; margin-top: .3rem; }
@media (min-width: 900px) { .care-strip { grid-template-columns: 1fr auto auto; } }
.plans-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 1.5rem; }
.plans-footer .price-note { margin: 0; }

/* ==========================================================================
   Ablauf als Schaubild (dunkles Band, Zeitleiste, animierte Mini-Oberflächen)
   ========================================================================== */
.band-ink { position: relative; isolation: isolate; color: #E8ECF4; background: #101828; }
.band-ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 55% at 12% 0%, rgba(29, 79, 224, .30), transparent 70%),
    radial-gradient(34% 45% at 96% 100%, rgba(212, 19, 111, .16), transparent 70%);
}
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink .section-head .lead { color: #AEB7C9; }
.band-ink .eyebrow { color: #9DB8FF; }
.band-ink .eyebrow::before { background: transparent; border-color: #9DB8FF; }

.journey { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.journey-step { position: relative; padding-top: 1.2rem; }
.journey-node {
  position: absolute; top: 0; left: 1.1rem; z-index: 2; display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; font-weight: 720; color: #fff;
  background: #101828; border: 1.5px solid #9DB8FF; border-radius: 50%;
  box-shadow: 0 0 0 5px #101828, 0 0 22px rgba(29, 79, 224, .55);
}
@media (min-width: 1100px) {
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 3.6rem; }
  .journey-step { padding-top: 0; }
  .journey-node { top: -3.6rem; left: 0; }
  .journey::before, .journey::after {
    content: ""; position: absolute; top: 1.15rem; left: 1.2rem; height: 2px; border-radius: 2px;
    right: calc((100% - 3 * 1.25rem) / 4 - 1.2rem);
  }
  .journey::before { background: rgba(255, 255, 255, .14); }
  .journey::after { background: linear-gradient(90deg, var(--select), #7B5CFF 55%, var(--guide)); transform-origin: left center; }
}

.journey-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px;
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.journey-card:hover { border-color: rgba(157, 184, 255, .5); background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.journey-visual { container-type: inline-size; padding: 1.1rem 1.1rem 0; }
.journey-body { padding: 1.25rem 1.35rem 1.5rem; }
.journey-meta { margin: 0 0 .4rem; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #9DB8FF; }
.journey-body h3 { margin-bottom: .45rem; font-size: 1.3rem; }
.journey-body p:last-child { margin: 0; font-size: 1rem; color: #AEB7C9; }

/* Mini-Oberflächen – Maße in em, skaliert über cqw mit der Kartenbreite */
.jv {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; font-size: 5.1cqw; line-height: 1.3; color: #172033;
  background: #F5F7FB; border-radius: 10px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .9);
}
.jv ul { margin: 0; padding: 0; list-style: none; }
.jv p { margin: 0; }
.jv-bar {
  display: flex; align-items: center; gap: .45em; padding: .6em .9em; font-size: .78em; font-weight: 650; color: #4A5364;
  background: #fff; border-bottom: 1px solid #E3E7EE; white-space: nowrap;
}
.jv-bar svg { width: 1em; height: 1em; flex: none; }
.jv-cursor { position: absolute; z-index: 3; width: 1.5em; height: 1.5em; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }

/* 1 · Anfrage */
.jv-body { display: grid; gap: .55em; padding: .8em .9em; }
.jv-chips { display: flex; gap: .4em; }
.jv-chips span { flex: 1; padding: .4em 0; font-size: .72em; font-weight: 650; text-align: center; background: #fff; border: 1px solid #D3D8E1; border-radius: .45em; }
.jv-chips .is-picked { color: #1D4FE0; background: #EEF3FF; border-color: #1D4FE0; box-shadow: 0 0 0 1px #1D4FE0; }
.jv-input { display: block; height: 1.75em; padding: 0 .6em; background: #fff; border: 1px solid #D3D8E1; border-radius: .45em; }
.jv-input i { display: block; height: .4em; margin-top: .66em; border-radius: .2em; background: #B7BFCC; width: 58%; }
.jv-input + .jv-input i { width: 76%; }
.jv-send-wrap { position: relative; justify-self: start; }
.jv-send { position: relative; display: block; overflow: hidden; padding: .5em 1em; font-size: .74em; font-weight: 700; color: #fff; background: #1D4FE0; border-radius: .5em; }
.jv-done { position: absolute; inset: 0; display: grid; place-items: center; background: #14804A; opacity: 0; }
.jv-anfrage .jv-cursor { left: 62%; top: 42%; }

/* 2 · Briefing */
.jv-checks { display: grid; gap: .45em; padding: .75em .9em; }
.jv-checks li { display: flex; align-items: center; gap: .6em; padding: .45em .65em; font-size: .78em; font-weight: 600; background: #fff; border: 1px solid #E3E7EE; border-radius: .5em; }
.jv-checks b, .jv-tests b { position: relative; flex: none; width: 1.15em; height: 1.15em; border-radius: .3em; background: #1D4FE0; border: 1.5px solid #1D4FE0; }
.jv-checks b::after, .jv-tests b::after {
  content: ""; position: absolute; left: .32em; top: .1em; width: .3em; height: .58em;
  border-right: .14em solid #fff; border-bottom: .14em solid #fff; transform: rotate(40deg);
}

/* 3 · Umsetzung */
.jv-design { background: #E9ECF2; }
.jv-art { position: absolute; left: 7%; right: 23%; top: 24%; bottom: 8%; background: #fff; border-radius: .35em; box-shadow: 0 .4em 1em -.5em rgba(23, 32, 51, .35); }
.jv-art > span { position: absolute; left: 6%; right: 6%; }
.w-nav { top: 6%; height: 6%; width: 38%; right: auto !important; border-radius: .3em; background: #D3D8E1; }
.w-hero { top: 18%; height: 48%; display: grid; align-content: center; gap: .35em; padding: 0 .7em; border-radius: .35em; background: linear-gradient(135deg, #1D4FE0, #6A4DF5); }
.w-hero i { display: block; height: .38em; width: 70%; border-radius: .2em; background: rgba(255, 255, 255, .85); }
.w-hero i + i { width: 48%; background: rgba(255, 255, 255, .55); }
.w-hero em { display: block; width: 28%; height: .9em; margin-top: .15em; border-radius: .25em; background: #fff; }
.w-tiles { top: 72%; height: 20%; display: grid; grid-template-columns: repeat(3, 1fr); gap: .35em; }
.w-tiles i { border-radius: .25em; background: #E3E7EE; }
.w-select { top: 18%; height: 48%; border: 1.5px solid #1D4FE0; pointer-events: none; }
.w-select b { position: absolute; width: .45em; height: .45em; background: #fff; border: 1.5px solid #1D4FE0; }
.w-select b:nth-child(1) { top: -.3em; left: -.3em; } .w-select b:nth-child(2) { top: -.3em; right: -.3em; }
.w-select b:nth-child(3) { bottom: -.3em; left: -.3em; } .w-select b:nth-child(4) { bottom: -.3em; right: -.3em; }
.jv-swatches { position: absolute; right: 5%; top: 24%; width: 12%; display: grid; gap: .45em; padding: .45em; background: #fff; border-radius: .35em; }
.jv-swatches i { display: block; aspect-ratio: 1; border-radius: 50%; background: #1D4FE0; }
.jv-swatches i:nth-child(2) { background: #6A4DF5; } .jv-swatches i:nth-child(3) { background: #D4136F; }
.jv-design .jv-cursor { left: 58%; top: 52%; }

/* 4 · Prüfung und Start */
.jv-state { position: relative; margin-left: auto; }
.jv-pending, .jv-live { display: inline-block; padding: .15em .6em; font-size: .9em; border-radius: 99em; }
.jv-pending { position: absolute; right: 0; top: 0; color: #4A5364; background: #EEF0F4; opacity: 0; }
.jv-live { color: #fff; background: #14804A; }
.jv-live::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .35em; border-radius: 50%; background: #9BF0BD; vertical-align: .05em; }
.jv-tests { display: grid; gap: .45em; padding: .75em .9em; }
.jv-tests li { display: flex; align-items: center; justify-content: space-between; padding: .45em .65em; font-size: .78em; font-weight: 600; background: #fff; border: 1px solid #E3E7EE; border-radius: .5em; }
.jv-tests b { border-radius: 50%; background: #14804A; border-color: #14804A; }

/* Bewegung – nur ohne Wunsch nach reduzierter Bewegung; ohne Animation zeigen alle Oberflächen ihren Endzustand */
@media (prefers-reduced-motion: no-preference) {
  .will-reveal.journey::after { transition: transform 1.6s cubic-bezier(.4, 0, .2, 1) .3s; }
  .will-reveal.journey:not(.is-in)::after { transform: scaleX(0); }
  .will-reveal.journey .journey-node { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), box-shadow .5s ease; transition-delay: calc(var(--i, 0) * 380ms + 300ms); }
  .will-reveal.journey:not(.is-in) .journey-node { transform: scale(.4); box-shadow: 0 0 0 5px #101828; }

  .journey .jv * , .journey .jv-cursor { animation-duration: 7s; animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: ease-in-out; }
  .journey.is-offscreen .jv *, .journey.is-offscreen .jv-cursor { animation-play-state: paused; }

  .jv-anfrage .jv-input i { animation-name: jv-type; animation-timing-function: steps(12, end); }
  .jv-anfrage .jv-input + .jv-input i { animation-name: jv-type-2; }
  .jv-anfrage .jv-cursor { animation-name: jv-cursor-send; }
  .jv-anfrage .jv-send { animation-name: jv-press; }
  .jv-anfrage .jv-done { animation-name: jv-done; }

  .jv-checks b { animation-name: jv-tick; animation-delay: calc(var(--k) * .55s); }
  .jv-tests b { animation-name: jv-tick; animation-delay: calc(var(--k) * .5s + .6s); }
  .jv-launch .jv-live { animation-name: jv-live; }
  .jv-launch .jv-pending { animation-name: jv-pending; }

  .jv-design .w-hero { animation-name: jv-colorize; }
  .jv-design .w-select { animation-name: jv-select; }
  .jv-design .jv-cursor { animation-name: jv-cursor-design; }
}
@keyframes jv-type { 0%, 6% { width: 0; } 22%, 92% { width: 58%; } 100% { width: 0; } }
@keyframes jv-type-2 { 0%, 24% { width: 0; } 40%, 92% { width: 76%; } 100% { width: 0; } }
@keyframes jv-cursor-send { 0%, 38% { transform: translate(7em, -4.5em); } 52%, 90% { transform: none; } 100% { transform: translate(7em, -4.5em); } }
@keyframes jv-press { 0%, 54% { transform: none; } 57% { transform: scale(.93); } 60%, 100% { transform: none; } }
@keyframes jv-done { 0%, 58% { opacity: 0; } 62%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes jv-tick {
  0%, 8% { background: #fff; border-color: #9AA2B1; }
  14%, 86% { background: var(--tick, #1D4FE0); border-color: var(--tick, #1D4FE0); }
  92%, 100% { background: #fff; border-color: #9AA2B1; }
}
.jv-tests b { --tick: #14804A; }
@keyframes jv-live { 0%, 58% { opacity: 0; transform: scale(.8); } 64%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes jv-pending { 0%, 56% { opacity: 1; } 62%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes jv-colorize {
  0%, 30% { background: #E3E7EE; }
  42%, 90% { background: linear-gradient(135deg, #1D4FE0, #6A4DF5); }
  98%, 100% { background: #E3E7EE; }
}
@keyframes jv-select {
  0%, 12% { top: 72%; height: 20%; }
  24%, 60% { top: 18%; height: 48%; }
  72%, 100% { top: 72%; height: 20%; }
}
@keyframes jv-cursor-design {
  0%, 12% { left: 60%; top: 86%; }
  24%, 30% { left: 58%; top: 52%; }
  38%, 60% { left: 87%; top: 30%; }
  72%, 100% { left: 60%; top: 86%; }
}

/* Monatlicher Anteil und Hosting & Care */
.price-monthly { margin: .45rem 0 .9rem; font-size: .92rem; font-weight: 600; color: var(--select); }
.plan .price-monthly { margin: -.4rem 0 1rem; }
.fw-offer-monthly { margin: -.6rem 0 1.25rem; font-size: .95rem; font-weight: 600; color: #FF8A65; }
.care-box {
  display: grid; gap: 1.25rem 3rem; align-items: start; margin-top: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--paper);
  border: 1.5px solid var(--select); border-radius: var(--radius-frame);
  box-shadow: 0 20px 40px -32px rgba(29, 79, 224, .6);
}
.care-box-tag { display: inline-block; margin: 0 0 .6rem; padding: .2rem .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--select); border-radius: var(--radius-tag); }
.care-box h3 { margin-bottom: .6rem; font-size: 1.5rem; }
.care-box-price { margin: 0; font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem); font-weight: 770; line-height: 1; letter-spacing: -.035em; }
.care-box-price .price-unit { display: block; margin-top: .45rem; }
.care-box-body > p { margin-bottom: 1rem; color: var(--muted); }
.care-box-list { margin: 0; }
.care-box > .btn { justify-self: start; }
@media (min-width: 760px) { .care-box-list { columns: 2; column-gap: 2rem; } .care-box-list li { break-inside: avoid; } }
@media (min-width: 1000px) {
  .care-box { grid-template-columns: 15rem minmax(0, 1fr) auto; align-items: center; }
  .care-box > .btn { align-self: end; }
}

/* ==========================================================================
   Individuelle Projekte: scrollgesteuerte 3D-Szene
   Ohne JavaScript, ohne WebGL oder bei reduzierter Bewegung: Standbild und Texte untereinander.
   ========================================================================== */
.scene3d { --scene-bg: #EBF0F9; position: relative; background: var(--scene-bg); border-block: 1px solid var(--line); }
.scene-track { padding-block: var(--section); }
.scene3d:not(.is-3d) .scene-sticky { display: flex; flex-direction: column; }
.scene3d:not(.is-3d) .scene-ui { order: -1; margin-bottom: 2.5rem; }
.scene-stage { position: relative; width: min(100% - 2 * var(--gutter), 1200px); margin: 0 auto 2.5rem; }
.scene-poster { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-frame); border: 1px solid var(--line); background: var(--scene-bg); }
.scene-canvas { display: none; }
.scene-note { margin: .75rem 0 0; font-size: .9rem; color: var(--muted); }
.scene-fallback-note { margin: .35rem 0 0; font-size: .9rem; color: var(--muted); }
.scene3d.is-3d .scene-fallback-note { display: none; }
.scene-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .scene-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scene-step:first-child { grid-column: 1 / -1; max-width: 720px; } }
.scene-step h2 { margin-bottom: .6rem; }
.scene-step h3 { margin-bottom: .45rem; font-size: 1.35rem; }
.scene-step p { margin: 0 0 .75rem; color: var(--muted); }
.scene-step .btn { margin-top: .5rem; }
.scene-step-label { margin: 0 0 .35rem !important; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--select) !important; }
.scene-progress { display: none; }

/* Mit 3D: hohe Scroll-Strecke, Bühne bleibt stehen, Texte wechseln */
.scene3d.is-3d .scene-track { height: 440vh; padding: 0; }
.scene3d.is-3d .scene-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}
.scene3d.is-3d .scene-sticky::before, .scene3d.is-3d .scene-sticky::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 1; height: 7rem; pointer-events: none;
}
.scene3d.is-3d .scene-sticky::before { top: 0; background: linear-gradient(var(--canvas), rgba(235, 240, 249, 0)); }
.scene3d.is-3d .scene-sticky::after { bottom: 0; height: 4rem; background: linear-gradient(rgba(235, 240, 249, 0), var(--scene-bg)); }
.scene3d.is-3d .scene-stage { position: absolute; inset: 0; width: auto; margin: 0; }
.scene3d.is-3d .scene-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; aspect-ratio: auto; }
.scene3d.is-3d .scene-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.scene3d.is-ready .scene-canvas { opacity: 1; }
.scene3d.is-ready .scene-poster { visibility: hidden; }
.scene3d.is-3d .scene-note {
  position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2; margin: 0;
  padding: .3rem .65rem; font-size: .8rem; background: rgba(255, 255, 255, .8); border-radius: var(--radius-tag);
}
.scene3d.is-3d .scene-ui { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; }
.scene3d.is-3d .scene-panel {
  position: relative; width: min(100%, 27rem); pointer-events: auto;
  padding: clamp(1.4rem, 3vw, 2rem); padding-right: clamp(2.6rem, 4vw, 3.2rem);
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(211, 216, 225, .9); border-radius: var(--radius-frame);
  box-shadow: 0 30px 60px -36px rgba(23, 32, 51, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.scene3d.is-3d .scene-steps { position: relative; display: block; }
.scene3d.is-3d .scene-step:not(.is-active) { position: absolute; top: 0; left: 0; right: 0; }
.scene3d.is-3d .scene-step { max-width: none; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.scene3d.is-3d .scene-step.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .1s, transform .45s ease .1s, visibility 0s; }
.scene3d.is-3d .scene-step h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
.scene3d.is-3d .scene-progress { display: grid; gap: .45rem; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); }
.scene-progress i { display: block; width: .55rem; height: .55rem; border: 1.5px solid var(--select); background: var(--paper); transition: background-color .3s ease, transform .3s ease; }
.scene-progress i.is-on { background: var(--select); }
.scene-progress i.is-current { transform: scale(1.25); }

@media (max-width: 899px) {
  .scene3d.is-3d .scene-track { height: 380vh; }
  .scene3d.is-3d .scene-ui { align-items: flex-end; padding-bottom: 1rem; }
  .scene3d.is-3d .scene-panel { width: 100%; padding: 1.1rem 2.4rem 1.1rem 1.2rem; }
  .scene3d.is-3d .scene-step h2 { font-size: 1.55rem; }
  .scene3d.is-3d .scene-step h3 { font-size: 1.15rem; }
  .scene3d.is-3d .scene-step p { font-size: .95rem; margin-bottom: .5rem; }
  .scene3d.is-3d .scene-step .eyebrow { margin-bottom: .5rem; }
  .scene3d.is-3d .scene-note { top: 5rem; bottom: auto; right: var(--gutter); }
  .scene3d.is-3d .scene-progress { right: .8rem; }
}

/* Verweis im Kopfbereich auf die große Szene */
.preview-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-weight: 650; }
.preview-more-tag { padding: .1rem .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--select); border-radius: var(--radius-tag); }
.preview-more::after { content: ""; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.preview-more + figcaption { margin-top: .4rem; }

/* ==========================================================================
   Anfrageformular: Paketauswahl und Zusatzwünsche
   ========================================================================== */
.form-group { margin: 0 0 2rem; padding: 0 0 2rem; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.form-group:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 1.25rem; }
.form-step { display: flex; align-items: center; gap: .65rem; padding: 0; margin-bottom: 1rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.form-step .optional { font-size: 1rem; }
.step-no {
  display: grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: none;
  font-size: .9rem; font-weight: 720; color: var(--select);
  border: 1.5px solid var(--select); border-radius: var(--radius-tag);
}
.form-group > .field-hint { margin: -.5rem 0 1rem; }

.plan-choices { display: grid; gap: .75rem; }
@media (min-width: 560px) { .plan-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-choice-wide { grid-column: 1 / -1; } }
.plan-choice { display: block; cursor: pointer; }
.plan-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-choice-body {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: baseline;
  height: 100%; padding: 1rem 1.1rem 1rem 3rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-btn);
  transition: border-color .15s ease, background-color .15s ease;
}
.plan-choice-body::before {
  content: ""; position: absolute; left: 1.05rem; top: 1.2rem; width: 1.15rem; height: 1.15rem;
  border: 2px solid var(--field); border-radius: 50%; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.plan-choice-name { font-weight: 700; font-size: 1.05rem; }
.plan-choice-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-choice-meta { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); }
.plan-choice:hover .plan-choice-body { border-color: var(--field); }
.plan-choice input:checked + .plan-choice-body { background: #F3F6FF; border-color: transparent; }
.plan-choice input:checked + .plan-choice-body::before { border-color: var(--select); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px var(--select); }
.plan-choice input:checked + .plan-choice-body::after { opacity: 1; inset: -1.5px; border-radius: 2px; }
.plan-choice input:focus-visible + .plan-choice-body { outline: 3px solid var(--guide); outline-offset: 4px; }

.checks { display: grid; gap: .75rem; }
.check {
  display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-btn);
}
.check:hover { border-color: var(--field); }
.check:has(input:checked) { background: #F3F6FF; border-color: var(--select); }
.check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; flex: none; accent-color: var(--select); }
.check strong { font-weight: 680; }
.field-nested { margin: -.25rem 0 .25rem 2.25rem; }
.field-nested[hidden] { display: none; }

/* ---------- Kontakt & Formular ---------- */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 3.5rem; } }

.form { padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-frame); }
.form-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.3rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 620; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--field); border-radius: var(--radius-btn);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--select); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-hint { margin: .35rem 0 0; font-size: .92rem; color: var(--muted); }
.field-error { margin: .4rem 0 0; font-size: .95rem; font-weight: 600; color: var(--error); }
.field-error[hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .95rem; color: var(--muted); }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius-btn); }
.form-status[hidden] { display: none; }
.form-status p { margin: 0; }
.is-success { color: #14532D; background: #E6F4EA; border: 1px solid #9BD3AE; }
.is-error { color: #8A1C1C; background: #FDECEC; border: 1px solid #F1A7A7; }
.is-error a { color: #8A1C1C; font-weight: 650; }

.contact-aside h2 { font-size: 1.35rem; letter-spacing: -.01em; }
.contact-direct { margin: 0 0 2.5rem; }
.contact-direct dt { font-size: .95rem; color: var(--muted); }
.contact-direct dd { margin: 0 0 1rem; font-size: 1.15rem; font-weight: 620; }
.contact-aside ul { padding-left: 1.2rem; margin: 0; color: var(--muted); }
.contact-aside li { margin-bottom: .4rem; }

/* ---------- 404 ---------- */
.empty-frame {
  position: relative; display: grid; place-items: center; max-width: 420px; aspect-ratio: 4 / 3;
  margin-bottom: 2.5rem; border: 1.5px dashed var(--select); color: var(--muted); font-size: .95rem;
}
.empty-frame .handle { background: var(--canvas); }

/* ---------- Fußbereich ---------- */
.site-footer { padding-block: 3.5rem 2rem; font-size: .98rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1.3fr 1fr 1fr; } }
.footer-about p { margin-top: 1rem; color: var(--muted); max-width: 34ch; }
.footer-title { margin-bottom: .75rem; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--select); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
[data-consent-settings][hidden] { display: none; }

/* ---------- Einwilligungs-Dialog (nur aktiv, wenn einwilligungspflichtige Dienste konfiguriert sind) ---------- */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300;
  max-width: 34rem; max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-frame);
  box-shadow: 0 24px 48px -16px rgba(23, 32, 51, .45);
}
.consent h2 { font-size: 1.25rem; letter-spacing: -.01em; }
.consent p { font-size: .98rem; }
.consent fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.consent label { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .75rem; }
.consent input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; accent-color: var(--select); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-actions .btn { flex: 1 1 10rem; }

/* ---------- Druck ---------- */
@media print {
  .site-header nav, .nav-toggle, .hero::before, .preview, .cta-band, .consent { display: none !important; }
  body { background: #fff; }
}
