:root {
  --c-paper: #F3F1EB;
  --c-paperDeep: #E7E4DC;
  --c-ink: #14171B;
  --c-inkSoft: #3E444C;
  --c-inkMuted: #596069;
  --c-line: #D3D1C9;
  --c-navy: #16283B;
  --c-navyDeep: #0F1B29;
  --c-copper: #B4562B;
  --c-copperText: #94441F;
  --c-copperDeep: #8F4220;
  --c-gold: #E5C07A;
  --c-white: #FFFFFF;
  --surface-bg: #F3F1EB;
  --surface-fg: #14171B;
  --surface-muted: #596069;
  --surface-soft: #3E444C;
  --surface-line: #D3D1C9;
  --raised-bg: #FFFFFF;
  --deep-bg: #E7E4DC;
  --inverse-bg: #0F1B29;
  --inverse-fg: #F3F1EB;
  --inverse-muted: #A9B4C2;
  --inverse-line: #27384B;
  --inverse-accent: #E5C07A;
  --primary-bg: #16283B;
  --primary-fg: #F3F1EB;
  --primary-hover: #0F1B29;
  --accent-bg: #B4562B;
  --accent-fg: #FFFFFF;
  --accent-hover: #8F4220;
  --accent-text: #94441F;
  --focus-ring: #B4562B;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
  --lh-body: 1.55;
  --lh-display: 1.05;
  --fs-xs: clamp(0.813rem, 0.795rem + 0.0893vw, 0.875rem);
  --fs-sm: clamp(0.906rem, 0.879rem + 0.1339vw, 1rem);
  --fs-md: clamp(1.031rem, 1.004rem + 0.1339vw, 1.125rem);
  --fs-lg: clamp(1.188rem, 1.134rem + 0.2679vw, 1.375rem);
  --fs-xl: clamp(1.5rem, 1.357rem + 0.7143vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.625rem + 1.2500vw, 2.75rem);
  --fs-3xl: clamp(2.375rem, 1.911rem + 2.3214vw, 4rem);
  --fs-price: clamp(3rem, 2.286rem + 3.5714vw, 5.5rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --section-pad: clamp(3.5rem, 2.214rem + 6.4286vw, 8rem);
  --gutter: clamp(1rem, 0.429rem + 2.8571vw, 3rem);
  --container-max: 1180px;
  --prose-max: 62ch;
  --motion-fast: 140ms;
  --motion-base: 220ms;
  --motion-slow: 420ms;
  --motion-ease: cubic-bezier(.2,.7,.2,1);
  --shadow-card: 0 1px 2px rgba(20,23,27,.06), 0 12px 32px -18px rgba(20,23,27,.35);
  --shadow-float: 0 30px 60px -30px rgba(15,27,41,.5);
}

/* Philipp Steglich – Unternehmensauftritt (Runde 4). Tokens (:root) werden von build.mjs aus design.json vorangestellt. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-md); line-height: var(--lh-body);
  color: var(--surface-fg); background: var(--surface-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: var(--lh-display); letter-spacing: -0.01em; margin: 0; }
p, ul, ol, dl { margin: 0; } ul, ol { padding: 0; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-bg); color: var(--accent-fg); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--inverse { background: var(--inverse-bg); color: var(--inverse-fg); }
.section--deep { background: var(--deep-bg); }
.section-head { max-width: 40rem; margin-bottom: var(--space-7); }
.section-head p { margin-top: var(--space-4); color: var(--surface-muted); font-size: var(--fs-lg); max-width: 36rem; text-wrap: pretty; }
.section--inverse .section-head p { color: var(--inverse-muted); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); max-width: none; }
.section-head--row > div { max-width: 40rem; }
.eyebrow { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--space-3); }
.section--inverse .eyebrow, .price-card .eyebrow { color: var(--accent-text); }
.section--inverse > .container > .price-head .eyebrow, .section--inverse .eyebrow:not(.price-card .eyebrow) { color: var(--inverse-accent); }
.h2 { font-size: var(--fs-2xl); text-wrap: balance; }
.h3 { font-size: var(--fs-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.muted { color: var(--surface-muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--primary-bg); }
.link-arrow svg { width: 1.1em; height: 1.1em; }
.link-arrow:hover { text-decoration: underline; }
/* Richtungspfeile: beim Hover/Fokus des ganzen Links oder Buttons rückt nur das Icon ein Stück in Pfeilrichtung. */
.i-arrow { display: inline-block; transition: transform var(--motion-fast) var(--motion-ease); will-change: transform; }
a:hover .i-arrow, button:hover .i-arrow, a:focus-visible .i-arrow, button:focus-visible .i-arrow { transform: translateX(4px); }
a:hover .i-arrow--back, a:focus-visible .i-arrow--back { transform: translateX(-4px); }
.arrow-word { white-space: nowrap; }
.list-title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--inverse-muted); margin-bottom: var(--space-3); }
.list-title--paper { color: var(--surface-muted); }

.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100; padding: .6rem 1rem; background: var(--primary-bg); color: var(--primary-fg); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: var(--space-4); }
.draft-banner { font-size: var(--fs-xs); text-align: center; padding: .35rem var(--gutter); background: var(--surface-fg); color: var(--surface-bg); letter-spacing: .04em; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface-bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--surface-line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.25rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: var(--fs-lg); letter-spacing: -0.01em; white-space: nowrap; }
.brand__tag { font-size: var(--fs-xs); color: var(--surface-muted); margin-top: .15rem; }
.brand:hover .brand__name { color: var(--primary-bg); }
.nav-toggle { display: none; align-items: center; gap: .5rem; padding: .55rem .85rem; border: 1px solid var(--surface-line); background: transparent; border-radius: var(--radius-pill); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; flex: none; }
@media (hover: hover) { .nav-toggle:hover { background: var(--deep-bg); } }
/* Beide Beschriftungen („Menü“/„Schließen“) teilen sich eine Zelle: die Breite bleibt gleich, der Button springt beim Umschalten nicht. */
.nav-toggle__label { display: inline-grid; text-align: center; }
.nav-toggle__label::after { content: "Schließen"; grid-area: 1 / 1; visibility: hidden; height: 0; overflow: hidden; }
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--motion-base) var(--motion-ease), top var(--motion-base) var(--motion-ease); }
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }
.nav__list { display: flex; gap: .25rem; list-style: none; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
/* Alle Navlinks – normal, Hover, Fokus und aktiv – teilen dieselbe runde Fläche. */
.nav__link { display: inline-block; padding: .5rem .85rem; border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); transition: background var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease); }
@media (hover: hover) { .nav__link:hover { background: var(--deep-bg); color: var(--primary-bg); } }
.nav__link:focus-visible { border-radius: var(--radius-pill); }
.nav__link[aria-current="page"] { font-weight: 600; background: var(--primary-bg); color: var(--primary-fg); }
@media (hover: hover) { .nav__link[aria-current="page"]:hover { background: var(--primary-hover); color: var(--primary-fg); } }
.nav__link--cta { background: var(--accent-bg); color: var(--accent-fg); margin-left: .35rem; font-weight: 600; }
@media (hover: hover) { .nav__link--cta:hover { background: var(--accent-hover); color: var(--accent-fg); } }
.nav__item { position: relative; }
.nav__link--menu { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.nav__link--menu .i-chevron { width: 1em; height: 1em; transition: transform var(--motion-fast) var(--motion-ease); }
.nav__link--menu[aria-expanded="true"] .i-chevron { transform: rotate(180deg); }
.nav__sub { list-style: none; display: none; }
.js .nav__link--menu[aria-expanded="true"] + .nav__sub { display: grid; }
.no-js .nav__link--menu { display: none; } .no-js .nav__sub { display: flex; gap: .25rem; }
.nav__sublink { display: block; padding: .55rem .85rem; border-radius: var(--radius-md); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: background var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease); }
@media (hover: hover) { .nav__sublink:hover { background: var(--deep-bg); color: var(--primary-bg); } }
.nav__sublink[aria-current="page"] { background: var(--primary-bg); color: var(--primary-fg); font-weight: 600; }
@media (hover: hover) { .nav__sublink[aria-current="page"]:hover { background: var(--primary-hover); } }
@media (min-width: 900px) {
  /* Offener/aktiver Zustand nur im Desktop-Dropdown; im mobilen Menü bleibt „Branchen“ wie jeder andere Eintrag. */
  .nav__link--menu[aria-expanded="true"], .nav__link--menu.is-active { background: var(--deep-bg); color: var(--primary-bg); }
  .nav__link--menu.is-active { font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--primary-bg); }
  .js .nav__sub { position: absolute; top: calc(100% + .45rem); left: 0; min-width: 14rem; gap: .15rem; padding: .45rem; background: var(--raised-bg); border: 1px solid var(--surface-line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); z-index: 60; }
  .no-js .nav__sublink { border-radius: var(--radius-pill); padding: .5rem .85rem; }
}
@media (max-width: 379px) { .brand__tag { display: none; } }
@media (max-width: 899px) {
  .no-js .header__inner { flex-wrap: wrap; padding-block: var(--space-3); }
  .no-js .nav { width: 100%; }
  .no-js .nav__list { justify-content: flex-start; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface-bg); border-bottom: 1px solid var(--surface-line); box-shadow: var(--shadow-card); }
  .js .nav[data-open="true"] { display: block; }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; padding: var(--space-3) var(--gutter) var(--space-5); text-align: center; }
  .js .nav__item { width: 100%; }
  .js .nav__link { display: block; width: 100%; padding: .8rem .9rem; font-size: var(--fs-md); border-radius: var(--radius-md); text-align: center; }
  .js .nav__link:focus-visible { border-radius: var(--radius-md); }
  .js .nav__item--cta { display: none; } /* im mobilen Menü kein zusätzlicher CTA, „Kontakt“ ist Teil der Navigation */
  /* „Branchen“ plus Chevron als kompakte, zentrierte Gruppe: der Chevron steht direkt rechts neben dem Wort. */
  .js .nav__link--menu { display: flex; align-items: center; justify-content: center; gap: .3rem; width: 100%; background: transparent; color: inherit; box-shadow: none; }
  .js .nav__link--menu[aria-expanded="true"] { background: transparent; color: inherit; }
  .js .nav__sub { padding: .1rem 0 .4rem; gap: .1rem; }
  .js .nav__sublink { text-align: center; white-space: normal; }
  .no-js .nav__sub { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .7rem 1.35rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn--primary { background: var(--primary-bg); color: var(--primary-fg); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-card); }
.btn--secondary { background: transparent; color: var(--surface-fg); border-color: var(--surface-fg); }
.btn--secondary:hover { background: var(--surface-fg); color: var(--surface-bg); }
.btn--light { background: var(--surface-bg); color: var(--surface-fg); }
.btn--light:hover { background: #fff; box-shadow: var(--shadow-card); }
.btn--ghost-light { background: transparent; color: var(--inverse-fg); border-color: var(--inverse-line); }
.btn--ghost-light:hover { border-color: var(--inverse-fg); }
.section--inverse :focus-visible, .footer :focus-visible { outline-color: var(--inverse-accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 359px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--surface-line) 1px, transparent 1px), linear-gradient(90deg, var(--surface-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); }
.hero__grid { position: relative; display: grid; gap: var(--space-7); align-items: center; }
.hero__copy { min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .85rem .3rem .3rem; border-radius: var(--radius-pill); background: var(--raised-bg); border: 1px solid var(--surface-line); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; margin-bottom: var(--space-5); }
.chip img { width: 1.9rem; height: 1.9rem; border-radius: 50%; object-fit: cover; }
.hero__title { font-size: var(--fs-3xl); max-width: 14ch; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--accent-text); }
.hero__lead { margin-top: var(--space-5); font-size: var(--fs-lg); color: var(--surface-soft); max-width: 34rem; text-wrap: pretty; }
.hero .btn-row { margin-top: var(--space-6); }

/* Bühne: echte Renderings der drei Demo-Websites auf dunkelblauer Fläche (Porträt-Blau) */
.stage { position: relative; aspect-ratio: 5 / 4; max-width: 600px; width: 100%; margin-inline: auto; }
.stage__panel { position: absolute; inset: 8% 0 4% 8%; border-radius: var(--radius-lg); background: var(--primary-bg); background-image: radial-gradient(90% 70% at 100% 0%, rgba(229,192,122,.22), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(255,255,255,.08), transparent 60%); box-shadow: var(--shadow-float); }
.frame { background: #fff; border-radius: 10px; box-shadow: var(--shadow-float); overflow: hidden; border: 1px solid rgba(0,0,0,.08); }
.frame img { width: 100%; height: auto; }
.phone { border-radius: 22px; background: #111; padding: 7px; box-shadow: var(--shadow-float); }
.phone__screen { border-radius: 15px; overflow: hidden; background: #fff; }
.stage__desktop { position: absolute; left: 0; top: 0; width: 80%; }
.stage__card { position: absolute; left: 14%; bottom: 0; width: 52%; }
.stage__phone { position: absolute; right: 0; top: 22%; width: 26%; max-width: 160px; }
.stage__caption { position: absolute; right: 0; bottom: -1.5rem; font-size: var(--fs-xs); color: var(--surface-muted); background: var(--surface-bg); padding: .25rem .6rem; border-radius: var(--radius-pill); border: 1px solid var(--surface-line); max-width: 100%; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.02fr .98fr; gap: var(--space-8); } .hero { padding-block: clamp(3rem, 7vw, 6rem) 0; } .stage { margin-inline: 0 auto; } }
@media (max-width: 899px) { .stage { margin-top: var(--space-5); } }

/* ---------- Trust-Streifen: vier Kernaussagen, frei nebeneinander, ohne Flächen ---------- */
.trust-row { position: relative; margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--surface-line); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem clamp(1.25rem, 4vw, 3rem); align-items: center; }
.trust li { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; }
.trust svg { width: 1.25em; height: 1.25em; flex: none; color: var(--primary-bg); opacity: .85; }
/* Unter 900 px als Block zentriert: mobil untereinander mit zentrierten Zeilen, dazwischen zwei Spalten in Inhaltsbreite. Icons bleiben ganz im Bild. */
@media (max-width: 599px) { .trust { display: grid; grid-template-columns: 1fr; gap: .7rem; justify-items: center; padding-inline: var(--space-2); } .trust li { white-space: normal; text-align: center; max-width: 100%; } }
@media (min-width: 600px) and (max-width: 899px) { .trust { display: grid; grid-template-columns: auto auto; gap: .8rem clamp(2rem, 6vw, 4rem); width: fit-content; margin-inline: auto; } }
@media (min-width: 900px) { .trust { justify-content: space-between; } }
@media (min-width: 900px) and (max-width: 1023px) { .trust { gap: .75rem 1.25rem; } .trust li { font-size: 1.1rem; } }

/* ---------- Cards / audience ---------- */
.cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); list-style: none; }
/* „Für wen“: ausschließlich 1, 2 oder 4 Spalten. Zwei Spalten ab 600 px, vier erst ab 1024 px, wenn vier Kacheln mit Icon und Überschrift wirklich Platz haben. */
.cards--4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1179px) { .cards--4 .card { padding: var(--space-4); } }
.card__head .h3 { min-width: 0; }
/* Wo die Überschriften neben dem Icon auf zwei Zeilen umbrechen (zwei Spalten bis 759 px, vier Spalten), bekommt jede Überschrift dieselbe zweizeilige Höhe, damit die Texte darunter auf gleicher Höhe beginnen. Mobil (eine Spalte) keine feste Höhe. */
@media (min-width: 600px) and (max-width: 759px), (min-width: 1024px) { .cards--4 .card__head .h3 { min-height: 2.6em; display: flex; align-items: center; } }
.card { background: var(--raised-bg); border: 1px solid var(--surface-line); border-radius: var(--radius-md); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); transition: transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--primary-bg) 40%, var(--surface-line)); }
.card--link { text-decoration: none; }
.card__head { display: flex; align-items: center; gap: .7rem; }
.card__icon { width: 2.25rem; height: 2.25rem; flex: none; border-radius: var(--radius-sm); background: var(--deep-bg); color: var(--primary-bg); display: grid; place-items: center; }
.card__icon svg { width: 1.25rem; height: 1.25rem; }
.card__head .h3 { margin: 0; }
.card p { color: var(--surface-muted); font-size: var(--fs-sm); flex: 1; }
.card__more { display: inline; font-size: var(--fs-sm); font-weight: 600; color: var(--primary-bg); }
.card__more svg { display: inline-block; vertical-align: -.15em; width: 1em; height: 1em; margin-left: .35rem; }
.card--link:hover .card__more { text-decoration: underline; }

/* ---------- Service ---------- */
.pillars { display: grid; gap: var(--space-5); }
.pillar { border-top: 2px solid var(--surface-fg); padding-top: var(--space-4); }
.pillar__num { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--accent-text); line-height: 1; margin-bottom: var(--space-3); }
.pillar p { color: var(--surface-muted); margin-top: .4rem; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.service-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--surface-line); }
.service-item { display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-4); padding: var(--space-5) 0; border-bottom: 1px solid var(--surface-line); }
.service-item__num { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--accent-text); line-height: 1; }
.service-item p { color: var(--surface-muted); margin-top: .35rem; max-width: 40rem; }
@media (min-width: 760px) { .service-list { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); } }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; gap: var(--space-5); position: relative; }
.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--space-4); position: relative; align-content: start; }
.step__dot { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--primary-bg); color: var(--primary-fg); display: grid; place-items: center; font-family: var(--font-display); font-size: var(--fs-md); flex: none; position: relative; z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.5rem; bottom: calc(-1 * var(--space-5)); width: 2px; background: var(--surface-line); }
.step p { color: var(--surface-muted); font-size: var(--fs-sm); margin-top: .3rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-5); }
  .step { grid-template-columns: 1fr; gap: var(--space-4); }
  .step:not(:last-child)::before { left: 2.5rem; right: calc(-1 * var(--space-5)); top: calc(1.25rem - 1px); bottom: auto; height: 2px; width: auto; }
  .step .h3 { min-height: 2.6em; }
}

/* ---------- Pricing ---------- */
.price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price__amount { font-family: var(--font-display); font-size: var(--fs-price); line-height: .95; letter-spacing: -0.03em; }
.price__unit { font-size: var(--fs-lg); color: var(--surface-muted); }
.price__note { margin-top: var(--space-4); color: var(--surface-muted); max-width: 28rem; font-size: var(--fs-sm); }
.price-head { max-width: 40rem; margin-bottom: var(--space-6); }
.price-layout { display: grid; gap: var(--space-5); }
.price-card { background: var(--raised-bg); color: var(--surface-fg); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-float); position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%; background: var(--deep-bg); z-index: 0; }
.price-card > * { position: relative; z-index: 1; }
.price-card .btn-row { margin-top: var(--space-5); }
.price-lists { display: grid; gap: var(--space-5); background: rgba(255,255,255,.04); border: 1px solid var(--inverse-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.check-list { list-style: none; display: grid; gap: .6rem; }
.check-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; align-items: start; }
.check-list svg { width: 1.2rem; height: 1.2rem; margin-top: .15em; }
.check-list--in svg { color: var(--inverse-accent); }
.check-list--out { color: var(--inverse-muted); } .check-list--out svg { color: var(--inverse-muted); }
.check-list--paper svg { color: var(--primary-bg); }
.check-list--paper.check-list--out { color: var(--surface-muted); } .check-list--paper.check-list--out svg { color: var(--surface-muted); }
.price-terms { border: 1px solid var(--inverse-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.terms { display: grid; gap: var(--space-4); }
.terms div { display: grid; gap: .25rem; }
.terms dt { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--inverse-accent); }
.terms dd { margin: 0; font-size: var(--fs-sm); color: var(--inverse-fg); }
.price-foot { margin-top: var(--space-5); color: var(--inverse-muted); font-size: var(--fs-sm); max-width: 40rem; }
@media (min-width: 720px) { .price-lists { grid-template-columns: 1fr 1fr; } .terms { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
@media (min-width: 1000px) { .price-layout { grid-template-columns: .9fr 1.3fr; } .price-card { grid-row: span 2; align-self: start; position: sticky; top: 5.5rem; } }
.price-teaser { display: grid; gap: var(--space-6); align-items: center; }
.price-teaser__card { background: var(--primary-bg); color: var(--primary-fg); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-float); background-image: radial-gradient(90% 70% at 100% 0%, rgba(229,192,122,.2), transparent 60%); }
.price-teaser__card .eyebrow { color: var(--inverse-accent); }
.price-teaser__card .price__unit, .price-teaser__card .price__note { color: var(--inverse-muted); }
.price-teaser__list { list-style: none; display: grid; gap: .6rem; margin-top: var(--space-5); }
.price-teaser__list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; } .price-teaser__list svg { width: 1.2rem; height: 1.2rem; color: var(--primary-bg); margin-top: .15em; }
.price-teaser .btn-row { margin-top: var(--space-5); }
@media (min-width: 900px) { .price-teaser { grid-template-columns: .9fr 1.1fr; gap: var(--space-8); } }
.price-mini { display: grid; gap: var(--space-6); align-items: center; }
.price-mini .btn-row { margin-top: var(--space-5); }
.price-mini__link { margin-top: var(--space-4); font-size: var(--fs-sm); } .price-mini__link a { color: var(--inverse-fg); } .price-mini__link a:hover { color: var(--inverse-accent); }
@media (min-width: 900px) { .price-mini { grid-template-columns: .9fr 1.1fr; gap: var(--space-8); } }

/* ---------- Examples ---------- */
.examples { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .examples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.example { display: flex; flex-direction: column; gap: var(--space-3); text-decoration: none; }
.example__frame { position: relative; display: block; text-decoration: none; }
.example__meta { display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; }
.example__kind { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--surface-muted); white-space: nowrap; }
.example p { color: var(--surface-muted); font-size: var(--fs-sm); }
.example__pages { font-size: var(--fs-xs); color: var(--surface-muted); letter-spacing: .04em; }
.example .frame, .example__frame .frame { transition: transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease); }
.example:hover .frame, a.example__frame:hover .frame { transform: translateY(-3px); }
.example:hover .h3 { color: var(--primary-bg); text-decoration: underline; }
/* Beispielseite: große Zeilen */
.showcase { display: grid; gap: var(--space-8); }
.showcase__item { display: grid; gap: var(--space-5); align-items: center; }
.showcase__media { position: relative; display: grid; grid-template-columns: 1fr; padding-bottom: 6%; padding-right: 4%; }
.showcase__media .phone { position: absolute; right: 0; bottom: 0; width: 26%; max-width: 150px; }
.showcase__body h2 { font-size: var(--fs-xl); }
.showcase__body .example__kind { display: block; margin-bottom: var(--space-2); }
.showcase__body p { color: var(--surface-soft); margin-top: var(--space-3); }
.showcase__list { list-style: none; display: grid; gap: .5rem; margin-top: var(--space-4); font-size: var(--fs-sm); }
.showcase__list li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .5rem; } .showcase__list svg { width: 1rem; height: 1rem; color: var(--accent-text); margin-top: .2em; }
.showcase__pages { font-size: var(--fs-sm); color: var(--surface-muted); margin-top: var(--space-4); } .showcase__pages span { font-weight: 600; }
.showcase__body .btn-row { margin-top: var(--space-5); }
.showcase__note { margin-top: var(--space-7); font-size: var(--fs-sm); max-width: 50rem; }
@media (min-width: 900px) { .showcase__item { grid-template-columns: 1.15fr .85fr; gap: var(--space-7); } .showcase__item:nth-child(even) .showcase__media { order: 2; } }

/* ---------- Branchenseiten ---------- */
.niche-grid { display: grid; gap: var(--space-6); }
.niche-h { margin-bottom: var(--space-4); }
.structure { display: grid; border-top: 1px solid var(--surface-line); }
.structure div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--surface-line); font-size: var(--fs-sm); }
.structure dt { font-weight: 600; } .structure dd { margin: 0; color: var(--surface-muted); }
@media (min-width: 760px) { .niche-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.demo-block { display: grid; gap: var(--space-6); align-items: center; }
.demo-block__body p { color: var(--surface-soft); margin-top: var(--space-4); max-width: 34rem; }
.demo-block__body .btn-row { margin-top: var(--space-5); }
@media (min-width: 900px) { .demo-block { grid-template-columns: 1.1fr .9fr; gap: var(--space-8); } }
.change-cards { list-style: none; display: grid; gap: var(--space-4); }
.change { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--space-4); align-items: start; background: var(--raised-bg); border: 1px solid var(--surface-line); border-radius: var(--radius-md); padding: var(--space-5); }
.change p { color: var(--surface-soft); }
@media (min-width: 760px) { .change-cards { grid-template-columns: repeat(3, 1fr); } .change { grid-template-columns: 1fr; } }
.not-included { margin-top: var(--space-6); border-top: 1px solid var(--surface-line); padding-top: var(--space-5); max-width: 44rem; }

/* ---------- Philipp / about ---------- */
.about { display: grid; gap: var(--space-6); align-items: center; }
.about__photo { position: relative; max-width: 420px; }
.about__photo img { border-radius: var(--radius-lg); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-float); }
.about__photo::after { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: var(--radius-lg); border: 2px solid var(--accent-bg); z-index: -1; }
@media (max-width: 599px) { .about__photo::after { inset: 8% -12px -12px 8%; } } /* Rahmen bleibt innerhalb des Seitenrands (kein horizontaler Überlauf bei 360–430px) */
.about__text p { font-size: var(--fs-lg); max-width: 36rem; text-wrap: pretty; margin-top: var(--space-5); }
.facts-list { display: grid; gap: 0; border-top: 1px solid var(--surface-line); margin-top: var(--space-5); max-width: 36rem; }
.facts-list div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--surface-line); font-size: var(--fs-sm); }
.facts-list dt { color: var(--surface-muted); } .facts-list dd { margin: 0; }
.about .btn-row { margin-top: var(--space-5); }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: var(--space-8); } }

/* ---------- FAQ (exklusiv: je Gruppe höchstens eine Antwort offen) ---------- */
.faq { max-width: 46rem; border-top: 1px solid var(--surface-line); }
.faq details { border-bottom: 1px solid var(--surface-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) .25rem; font-weight: 600; font-size: var(--fs-md); transition: color var(--motion-fast) var(--motion-ease); border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary-bg); }
.faq summary::after { content: ""; flex: none; width: .8rem; height: .8rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: .3rem; transition: transform var(--motion-base) var(--motion-ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 .25rem var(--space-5); }
.faq__body p { color: var(--surface-soft); max-width: 40rem; }

/* ---------- Contact close (Abschluss auf Unterseiten) ---------- */
.close { display: grid; gap: var(--space-5); background: var(--raised-bg); border: 1px solid var(--surface-line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-card); align-items: center; }
.close__photo img { width: clamp(6rem, 14vw, 9rem); height: clamp(6rem, 14vw, 9rem); border-radius: 50%; object-fit: cover; border: 4px solid var(--surface-bg); box-shadow: var(--shadow-card); }
.close__text p { color: var(--surface-soft); margin-top: var(--space-3); max-width: 34rem; text-wrap: pretty; }
.close__actions { display: grid; gap: var(--space-4); min-width: 0; }
.close__alts { display: grid; gap: var(--space-3); min-width: 0; }
.close__alt { display: grid; gap: .2rem; font-size: var(--fs-sm); min-width: 0; }
.close__alt span { color: var(--surface-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.close__alt a { font-family: var(--font-display); font-size: var(--fs-md); text-decoration: none; }
.close__alt a[href^="tel:"] { white-space: nowrap; }
.close__alt a:hover { color: var(--primary-bg); text-decoration: underline; }
@media (max-width: 379px) { .close { padding: var(--space-5) var(--space-4); } }
/* Tablet: Foto + Text oben, darunter eine Zeile mit Button und den drei Wegen in Inhaltsbreite (umbrechend, aber nie mitten im Wert). */
@media (min-width: 600px) { .close__alt a { white-space: nowrap; } }
@media (min-width: 760px) and (max-width: 999px) {
  .close { grid-template-columns: auto 1fr; }
  .close__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); border-top: 1px solid var(--surface-line); padding-top: var(--space-5); }
  .close__alts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
  .close__btn { flex: none; }
}
/* Breit: rechte Spalte in Inhaltsbreite, Werte einzeilig */
@media (min-width: 1000px) { .close { grid-template-columns: auto minmax(0, 1fr) auto; } .close__actions { border-left: 1px solid var(--surface-line); padding-left: var(--space-6); } .close__alt a { font-size: var(--fs-lg); } .close__btn { justify-self: start; } }

/* ---------- Contact page: Betreiber links (großes Porträt), Formular rechts ---------- */
.contact-layout { display: grid; gap: var(--space-6); align-items: start; grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "form" "next"; }
.who { display: grid; gap: var(--space-5); min-width: 0; }
.who__photo img { width: 100%; max-width: 26rem; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.who__name { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.1; }
.who__role { color: var(--surface-muted); font-size: var(--fs-sm); margin-top: .35rem; }
.who__text { margin-top: var(--space-4); color: var(--surface-soft); max-width: 30rem; text-wrap: pretty; }
.who .list-title { margin-top: var(--space-5); }
.contact-ways { display: grid; gap: var(--space-3); }
/* Direkte Wege: Icon links (wie die Kartenicons), Wert und Hinweis rechts; der Name des Wegs steht als unsichtbarer Text im Link. */
.contact-way { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--space-4); align-items: start; min-width: 0; text-decoration: none; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--raised-bg); border: 1px solid var(--surface-line); transition: border-color var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease); }
a.contact-way:hover { border-color: var(--primary-bg); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.contact-way__icon { grid-row: 1 / span 2; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); background: var(--deep-bg); color: var(--primary-bg); display: grid; place-items: center; transition: background-color var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease); }
.contact-way__icon svg { width: 1.25rem; height: 1.25rem; }
a.contact-way:hover .contact-way__icon { background: var(--primary-bg); color: var(--primary-fg); }
.contact-way__value { grid-column: 2; display: block; font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.25; }
a.contact-way:hover .contact-way__value { color: var(--primary-bg); }
.contact-way__hint { grid-column: 2; display: block; margin-top: .3rem; font-size: var(--fs-sm); color: var(--surface-muted); }
.next { border-top: 1px solid var(--surface-line); padding-top: var(--space-5); }
.next-steps { list-style: none; counter-reset: n; display: grid; gap: .8rem; margin-top: var(--space-3); }
.next-steps li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .7rem; align-items: start; font-size: var(--fs-sm); color: var(--surface-soft); }
.next-steps li::before { counter-increment: n; content: counter(n); width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--primary-bg); color: var(--primary-fg); display: grid; place-items: center; font-family: var(--font-display); font-size: var(--fs-sm); }
@media (min-width: 600px) and (max-width: 899px) { .who { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); align-items: start; } .who__photo img { max-width: none; } }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: 1fr auto; grid-template-areas: "who form" "next form"; gap: var(--space-6) var(--space-8); align-items: stretch; }
  /* Linke Spalte als Flex-Säule: das Porträt nimmt die Höhendifferenz zum Formular auf, „Was danach passiert“ schließt unten bündig ab. */
  .who { display: flex; flex-direction: column; gap: var(--space-5); }
  .who__photo { flex: 1 1 0; min-height: 20rem; }
  .who__photo img { max-width: 100%; height: 100%; min-height: 20rem; aspect-ratio: auto; }
  .who__body { flex: none; }
  /* Direkte Wege kompakt: kleineres Icon links, Wert und Hinweis rechts, damit die Spalte nicht unnötig hoch wird. */
  .contact-way { grid-template-columns: 2rem minmax(0, 1fr); column-gap: var(--space-3); padding: .75rem var(--space-4); }
  .contact-way__icon { width: 2rem; height: 2rem; }
  .contact-way__icon svg { width: 1.1rem; height: 1.1rem; }
  .contact-way__value { font-size: var(--fs-md); }
  .contact-way__hint { margin-top: .15rem; font-size: var(--fs-xs); }
  .next { align-self: end; }
  .form-card { align-self: stretch; display: flex; flex-direction: column; }
  /* Rechte Spalte: das Nachrichtenfeld nimmt die Höhendifferenz auf (keine verteilten Leerräume zwischen den Feldern). */
  .form-card .contact-form { flex: 1; display: flex; flex-direction: column; }
  .form-card .contact-form fieldset { flex: 1; display: flex; flex-direction: column; }
  .form-card .contact-form .field:has(> textarea) { flex: 1; grid-template-rows: auto auto 1fr; }
  .form-card .contact-form .field:has(> textarea) textarea { height: 100%; }
}
.form-card { min-width: 0; background: var(--raised-bg); border: 1px solid var(--surface-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow-card); }
.contact-form { display: grid; gap: var(--space-4); }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-4); min-width: 0; }
.contact-form legend { font-family: var(--font-display); font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.field label small { font-weight: 400; color: var(--surface-muted); margin-left: .4rem; }
.field-help { font-size: var(--fs-sm); color: var(--surface-muted); margin-bottom: .15rem; }
.field input, .field textarea { width: 100%; min-width: 0; padding: .75rem .9rem; border: 1.5px solid var(--surface-line); border-radius: var(--radius-sm); background: var(--surface-bg); transition: border-color var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease); }
.field input:hover, .field textarea:hover { border-color: var(--surface-muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary-bg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-bg) 25%, transparent); }
.field textarea { resize: vertical; min-height: 7rem; }
.field-hint { display: none; font-size: var(--fs-xs); color: #9A2F1E; }
.was-validated .field:has(:invalid) .field-hint { display: block; }
.was-validated .field :invalid { border-color: #B8412D; }
.field-row { display: grid; gap: var(--space-4); } @media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: var(--fs-sm); color: var(--surface-soft); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--primary-bg); }
.consent .field-hint { grid-column: 2; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form-submit .muted { font-size: var(--fs-sm); }
.form-feedback { padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); border: 1px solid var(--surface-line); background: var(--surface-bg); }
.form-feedback[hidden] { display: none; }
.form-feedback.is-pending { border-color: var(--surface-muted); }
.form-feedback.is-success { background: #E6F2EC; border-color: #8FD3B9; color: #153830; }
.form-feedback.is-simulated { background: #FBF0D9; border-color: #E3C27A; color: #4A3607; }
.form-feedback.is-error { background: #FBE9E4; border-color: #E2A08B; color: #7A2A16; }
.contact-form--compact { gap: var(--space-3); }
.contact-form--compact fieldset { gap: var(--space-3); }
.contact-form--compact .field-row { grid-template-columns: 1fr; gap: var(--space-3); }
.contact-form--compact .field input, .contact-form--compact .field textarea { padding: .6rem .8rem; }
.contact-form--compact .field textarea { min-height: 4.5rem; }
.contact-form--compact .form-submit { gap: var(--space-3); } .contact-form--compact .form-submit .muted { font-size: var(--fs-xs); }
.contact-form--compact .consent { font-size: var(--fs-xs); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .contact-form { display: none; }
.js .noscript-note { display: none; }
.noscript-note { padding: 1rem; border: 1px dashed var(--surface-muted); border-radius: var(--radius-sm); }

/* ---------- Kontakt-Widget (unten rechts, nativer Dialog; kein Chat) ---------- */
.widget { position: fixed; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 70; }
.no-js .widget { display: none; }
.widget__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.1rem .7rem .95rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; background: var(--primary-bg); color: var(--primary-fg); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; box-shadow: 0 14px 30px -14px rgba(15,27,41,.55), 0 2px 6px rgba(15,27,41,.15); transition: background var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease); white-space: nowrap; }
.widget__btn svg { width: 1.2em; height: 1.2em; flex: none; }
.widget__btn:hover { background: var(--primary-hover); box-shadow: 0 18px 34px -14px rgba(15,27,41,.6), 0 2px 6px rgba(15,27,41,.2); }
.widget__btn[aria-expanded="true"] { visibility: hidden; }
@media (max-width: 419px) { .widget__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .widget__btn { padding: .7rem; width: 3.25rem; height: 3.25rem; justify-content: center; } }
.widget__dialog { margin: 0; padding: 0; border: 1px solid var(--surface-line); border-radius: var(--radius-lg); background: var(--raised-bg); color: var(--surface-fg); box-shadow: var(--shadow-float), 0 4px 14px rgba(15,27,41,.15); width: min(22.5rem, calc(100vw - 2 * clamp(.75rem, 2vw, 1.5rem))); max-height: calc(100dvh - 2 * clamp(.75rem, 2vw, 1.5rem)); overflow: auto; overscroll-behavior: contain; inset: auto clamp(.75rem, 2vw, 1.5rem) clamp(.75rem, 2vw, 1.5rem) auto; }
.widget__dialog::backdrop { background: rgba(15,27,41,.18); }
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-4) var(--space-2); }
.widget__title { font-size: var(--fs-lg); }
.widget__close { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--surface-line); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background var(--motion-fast) var(--motion-ease); }
.widget__close:hover { background: var(--deep-bg); } .widget__close svg { width: 1.1rem; height: 1.1rem; }
.widget__dialog .contact-form { padding: 0 var(--space-4) var(--space-4); }
.widget__dialog .contact-form--compact .field label { font-size: var(--fs-xs); }
.widget__dialog .contact-form--compact .form-submit .btn { min-height: 2.75rem; }
@media (max-width: 599px) { .widget__dialog { width: calc(100vw - 1.5rem); inset: auto .75rem .75rem .75rem; max-height: calc(100dvh - 1.5rem); } }
@media (max-height: 560px) { .widget__dialog { max-height: calc(100dvh - 1rem); } .widget__head { padding-top: var(--space-3); } }

/* ---------- Footer ---------- */
.footer { background: var(--inverse-bg); color: var(--inverse-fg); padding-block: var(--space-8) calc(var(--space-6) + 3.5rem); margin-top: 0; } /* unten Platz für das Widget, damit es keine Links verdeckt */
.footer__grid { display: grid; gap: var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--inverse-line); }
.footer__brand { font-family: var(--font-display); font-size: var(--fs-xl); }
.footer__tagline { color: var(--inverse-muted); margin-top: var(--space-3); max-width: 28rem; font-size: var(--fs-sm); text-wrap: pretty; }
.footer__title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--inverse-accent); margin-bottom: var(--space-3); }
.footer__list { list-style: none; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.footer__list a { text-decoration: none; color: var(--inverse-fg); } .footer__list a:hover { text-decoration: underline; color: #fff; }
.footer__list address { color: var(--inverse-muted); line-height: 1.5; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-5); padding-top: var(--space-5); font-size: var(--fs-xs); color: var(--inverse-muted); }
.footer__legal { list-style: none; display: flex; gap: var(--space-4); flex-wrap: wrap; }
.footer__legal a { color: var(--inverse-fg); text-decoration: none; } .footer__legal a:hover { text-decoration: underline; }
@media (min-width: 600px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > div:first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr .8fr 1fr; } .footer__grid > div:first-child { grid-column: auto; } }

/* ---------- Legal / error ---------- */
.legal { max-width: var(--prose-max); padding-block: var(--space-7) var(--space-8); }
.legal h1 { font-size: var(--fs-2xl); margin-bottom: var(--space-5); }
.legal h2 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-lg); margin-top: var(--space-6); margin-bottom: var(--space-3); line-height: 1.3; }
.legal p + p { margin-top: var(--space-3); }
.legal .back { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: var(--space-5); font-size: var(--fs-sm); } .legal .back svg { width: 1em; height: 1em; }
.error-page { text-align: center; padding-block: var(--space-9); }
.error-page h1 { font-size: var(--fs-2xl); } .error-page p { margin: var(--space-4) 0 var(--space-6); color: var(--surface-muted); }
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.page-head h1 { font-size: var(--fs-3xl); max-width: 18ch; text-wrap: balance; }
.page-head p { margin-top: var(--space-5); font-size: var(--fs-lg); color: var(--surface-soft); max-width: 36rem; text-wrap: pretty; }

/* ---------- Mobil (unter 600 px, alle Raster einspaltig): Überschriften, kurze Einführungen, Kacheln, Bilder und CTA-Gruppen zentriert.
   Bewusst nicht zentriert: Lesetexte in Listen, Formulare, FAQ, strukturierte Listen (dl/ol), Rechtstexte, Fußzeile, Navigation. ---------- */
@media (max-width: 599px) {
  .page-head, .section-head, .section-head--row > div, .hero__copy, .price-head, .price-card, .price-teaser__card, .demo-block__body, .showcase__body, .about__text, .close__text, .close__actions, .who__body, .card, .pillar, .example, .change, .price-mini__link, .error-page { text-align: center; }
  .section-head, .section-head p, .page-head h1, .page-head p, .hero__title, .hero__lead, .demo-block__body p, .close__text p, .who__text, .about__text p, .price__note, .price-head { margin-inline: auto; }
  .section-head--row { justify-content: center; }
  .btn-row, .price, .card__head, .example__meta { justify-content: center; }
  .example__meta { flex-wrap: wrap; }
  .card { align-items: center; }
  .change { grid-template-columns: 1fr; justify-items: center; }
  .about__photo, .who__photo img, .close__photo img, .stage { margin-inline: auto; }
  .close__photo { justify-self: center; }
  .close__alts, .close__alt, .close__actions { justify-items: center; }
  .showcase__list { width: fit-content; margin-inline: auto; }
  .showcase__list, .check-list, .price-teaser__list, .facts-list, .contact-ways, .next-steps, .form-card, .contact-form, .faq, .legal, .footer, .nav, .structure, .terms, .steps, .service-list, .form-feedback, .noscript-note { text-align: left; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .example:hover .frame, a.example__frame:hover .frame, a.contact-way:hover { transform: none; }
  /* Pfeile rücken auch ohne Animation ein Stück (sofort, ohne Übergang), damit der Hover-Zustand erkennbar bleibt. */
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .header, .draft-banner, .skip-link, .btn-row, .widget { display: none; } }
