/* ==========================================================================
   Mennilli Labs – Stylesheet
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Komponenten
           6 Seitenbereiche · 7 App-Darstellungen · 8 Formulare · 9 Bewegung · 10 Druck
   ========================================================================== */

/* 1 · Schriften (selbst gehostet, keine Verbindung zu Drittanbietern) ---- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('../fonts/atkinson-next.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('../fonts/atkinson-next-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* 2 · Tokens ------------------------------------------------------------- */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --tint: #e8f0ed;
  --tint-strong: #d3e3de;
  --ink: #1d2427;
  --ink-soft: #465256;
  --line: #d8dcd6;
  --line-strong: #6f7b7f;

  --petrol: #0b5c5d;
  --petrol-deep: #083f40;
  --petrol-ink: #073536;
  --accent: #b24a22;
  --accent-deep: #8f3a19;
  --accent-soft: #f6e3d6;
  --sun: #f1b24a;

  --success: #1f6b3a;
  --error: #b3261e;
  --error-soft: #fbe9e7;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgb(29 36 39 / 6%), 0 8px 24px -12px rgb(29 36 39 / 18%);
  --shadow-lift: 0 2px 4px rgb(29 36 39 / 6%), 0 18px 40px -18px rgb(29 36 39 / 28%);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --header-h: 72px;

  --focus: #0b5c5d;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.3rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.15rem; line-height: 1.3; }

p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4, p, li, dd, address { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.btn, .main-nav ul a, .brand__name, .status { hyphens: manual; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 700; }

a {
  color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--petrol-deep); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { --focus: var(--sun); }

::selection { background: var(--tint-strong); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.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: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; --focus: var(--sun); }

/* Platzhalter – gut sichtbar, damit nichts vergessen wird */
.ph {
  background: #fff4d1;
  color: #5a3b00;
  outline: 1.5px dashed #9a6a00;
  outline-offset: 1px;
  border-radius: 3px;
  padding: 0 0.3em;
  font-size: 0.92em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.on-dark .ph { color: #5a3b00; }

/* 4 · Layout ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--tint { background: var(--tint); }
.section--white { background: var(--surface); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--ink-soft); font-size: 1.2rem; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: end;
  justify-content: space-between;
}
.section-head--split > div { max-width: 46rem; }

.lead { font-size: clamp(1.2rem, 1.8vw, 1.35rem); color: var(--ink-soft); line-height: 1.55; }

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--petrol);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 2rem;
  height: 2px;
  background: currentColor;
  transform: translateY(-0.3em);
}
.eyebrow__num { font-variant-numeric: tabular-nums; }
.on-dark .eyebrow { color: #9fd6cf; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .split--form > aside { order: -1; }
}

.stack > * + * { margin-top: var(--stack, 1rem); }

/* 5 · Komponenten -------------------------------------------------------- */

/* Buttons */
.btn {
  --btn-bg: var(--petrol);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { color: var(--btn-fg); text-decoration: none; }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.2s var(--ease); }
.btn:hover .icon--move { transform: translateX(3px); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-deep); }
.btn--primary:hover { --btn-bg: var(--petrol-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--petrol-ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--tint); --btn-bd: var(--tint); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 70%); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--petrol-ink); --btn-bd: #fff; }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 1rem; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.65; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

.store-links { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.app-store-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  border-radius: 0.5rem;
  text-decoration: none;
}
.app-store-badge img { display: block; width: auto; height: 2.75rem; }
.app-store-badge:hover { transform: translateY(-1px); }
.app-store-badge:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--petrol);
  min-height: 2.75rem;
}
.text-link span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.text-link:hover span { text-decoration-thickness: 2px; }
.text-link .icon { transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* Karten – nur für einzelne Leistungen oder Projekte, nie verschachtelt */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); }
.card > :last-child { margin-bottom: 0; }
.card--link:hover,
.card--link:focus-within { border-color: var(--petrol); box-shadow: var(--shadow-lift); }
.card--link a.card__link { color: inherit; text-decoration: none; }
.card--link a.card__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card--link a.card__link:focus-visible { outline: none; }
.card--link a.card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 4px; }
.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--petrol);
}
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__more {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--petrol);
}
.card__more .icon { transition: transform 0.2s var(--ease); }
.card--link:hover .card__more .icon { transform: translateX(3px); }

/* Häkchenliste */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist li + li { margin-top: 0.6rem; }
.checklist .icon { color: var(--petrol); margin-top: 0.2em; width: 1.2em; height: 1.2em; }

/* Status-Kennzeichnung: Icon + Text, nie nur Farbe */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.status .icon { width: 1rem; height: 1rem; }
.status--testflight { color: #0a4f50; background: #e3f0ed; border-color: #a8cdc6; }
.status--entwicklung { color: #7a3517; background: #fbeee5; border-color: #e8c1a8; }
.status--veroeffentlicht { color: #1b5e33; background: #e6f2e9; border-color: #aed2b8; }
.status--unbekannt { color: #4a5357; background: #f1f1ee; border-color: #cfd3cf; }

.tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(247 245 240 / 94%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(247 245 240 / 85%); backdrop-filter: blur(10px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  min-height: 2.75rem;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 2.25rem; height: 2.25rem; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.brand__name span { color: var(--petrol); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded='true'] .icon--open { display: none; }
.nav-toggle[aria-expanded='true'] .icon--close { display: block; }

.main-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav li + li { margin: 0; }
.main-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav ul a:hover { background: var(--tint); color: var(--ink); }
.main-nav ul a[aria-current='page'] {
  color: var(--petrol);
  box-shadow: inset 0 -2px 0 var(--petrol);
  border-radius: 0;
}
.header-cta { flex: none; }

@media (max-width: 1259px) {
  .js .nav-toggle { display: inline-flex; }
  .js .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(29 36 39 / 30%);
    padding: 0.75rem var(--gutter) 1.5rem;
    display: none;
  }
  .js .main-nav.is-open { display: block; }
  .js .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .main-nav li { border-bottom: 1px solid var(--line); }
  .js .main-nav ul a { width: 100%; min-height: 3.25rem; font-size: 1.15rem; padding-inline: 0; border-radius: 0; }
  .js .main-nav ul a:hover { background: transparent; color: var(--petrol); }
  .js .main-nav ul a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--petrol); padding-left: 0.85rem; }
  .main-nav__cta { display: block !important; margin-top: 1.25rem; }
  .main-nav__cta .btn { width: 100%; }
  .header-cta { display: none; }

  /* Ohne JavaScript: Navigation einfach umbrechen */
  html:not(.js) .site-header { position: static; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.5rem; }
  html:not(.js) .main-nav ul { flex-wrap: wrap; }
}
.main-nav__cta { display: none; }
@media (max-width: 480px) {
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand__name { font-size: 1.2rem; }
}

/* Footer */
.site-footer {
  background: #182022;
  color: #d9e0de;
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  font-size: 1rem;
}
.site-footer a { color: #e9efed; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9fd6cf;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.15rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 2.5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__name span { color: #9fd6cf; }
.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  color: #b7c2bf;
  font-size: 0.95rem;
}

/* Brotkrumen */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.95rem; color: var(--ink-soft); }
.breadcrumb li + li { margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* Seitenkopf für Unterseiten */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 44rem; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero--split .container { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 960px) { .page-hero--split .container { grid-template-columns: 7fr 5fr; } }

/* Hinweisbox (keine Karte) */
.note {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--petrol);
  background: var(--tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
}
.note .icon { color: var(--petrol); margin-top: 0.15em; }
.note p:last-child { margin: 0; }
.note--warn { border-left-color: #9a6a00; background: #fff6dc; }
.note--warn .icon { color: #7a5300; }

/* 6 · Seitenbereiche ------------------------------------------------------ */

/* Hero Startseite */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .mark {
  background-image: linear-gradient(var(--sun), var(--sun));
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
  background-position: 0 88%;
  padding-inline: 0.04em;
}
.hero .lead { max-width: 36rem; margin-bottom: 2rem; }
.hero__principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.hero__principles li { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; }
.hero__principles .icon { color: var(--petrol); width: 1.1em; height: 1.1em; }

/* Geräte-Bühne */
.device-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr);
  gap: clamp(0.6rem, 2vw, 1.25rem);
  align-items: end;
  max-width: 40rem;
  margin-inline: auto;
  width: 100%;
}
.device-stage::before {
  content: '';
  position: absolute;
  inset: 22% 0 3.25rem 0;
  background: var(--tint);
  border-radius: var(--radius);
  z-index: -1;
}
.device-stage figure { margin: 0; }
.device-stage figure:nth-child(1), .device-stage figure:nth-child(3) { padding-bottom: 0; }
.device-stage figcaption { min-height: 3.6rem; }
.device-stage figcaption {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.3;
}
.device-stage figcaption strong { font-size: 1rem; }
@media (max-width: 560px) {
  .device-stage figcaption .status { font-size: 0.75rem; padding: 0.1rem 0.4rem; }
  .device-stage figcaption .status .icon { display: none; }
}
.stage-note {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.stage-note--left { margin: 1.5rem 0 0; max-width: none; }
.stage-note .icon { width: 1rem; height: 1rem; margin-top: 0.2em; }

/* Zielgruppen-Liste */
.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  border-top: 1px solid var(--line);
}
.audience-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0.25rem;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.35;
}
.audience-list .icon { color: var(--petrol); width: 1.5rem; height: 1.5rem; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1.25rem;
  padding-bottom: 2rem;
  margin: 0;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 2px solid var(--petrol);
  background: var(--surface);
  color: var(--petrol);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  grid-row: span 2;
  position: relative;
  z-index: 1;
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(1.625rem - 1px);
  top: 3.25rem;
  bottom: 0;
  width: 2px;
  background: var(--tint-strong);
}
.steps h3 { margin: 0.55rem 0 0.35rem; font-size: 1.35rem; display: flex; align-items: center; gap: 0.6rem; }
.steps h3 .icon { color: var(--petrol); width: 1.2rem; height: 1.2rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.section--tint .steps li::before { background: var(--tint); }

/* Prinzipien – ohne Karten, mit Linien */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0 clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.principles li { border-top: 2px solid var(--ink); padding-top: 1.25rem; margin: 0 0 2rem; }
.principles h3 { font-size: 1.3rem; display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.5rem; }
.principles h3 .icon { margin-top: 0.1em; }
.principles h3 .icon { color: var(--petrol); }
.principles p { color: var(--ink-soft); margin: 0; }

/* CTA-Band */
.cta-band {
  background: var(--petrol-deep);
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: #d6e6e3; max-width: 40rem; font-size: 1.2rem; }
.cta-band__inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }

/* Projektkarten */
.project-card { padding: 0; overflow: hidden; }
.project-card__visual {
  background: var(--tint);
  padding: 1.75rem 1.5rem 0;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  height: 17.5rem;
  overflow: hidden;
}
.project-card__visual .device { width: 11.5rem; flex: none; }
.project-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.project-card__meta { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start; margin-bottom: 0.85rem; }
.project-card h3 { font-size: 1.35rem; }
.project-card p { margin-bottom: 0; }

/* Projektdetail auf der Übersichtsseite */
.project {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 880px) {
  .project { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
}
.project__visual { display: flex; flex-direction: column; align-items: center; }
.project__visual .device { width: min(15rem, 70vw); }
.project__visual > small { margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.85rem; text-align: center; }
.project__head { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; margin-bottom: 0.75rem; }
.project h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); margin-bottom: 0.35rem; }
.project__short { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.project__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem 2rem;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
.project__facts div { margin: 0; }
.project__facts dt { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.project__facts dd { margin: 0.2rem 0 0; font-weight: 600; }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.filter li { margin: 0; }
.filter button {
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.filter button:hover { border-color: var(--petrol); color: var(--petrol); }
.filter button[aria-pressed='true'] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.filter button .icon { width: 1rem; height: 1rem; display: none; }
.filter button[aria-pressed='true'] .icon { display: block; }
.filter-wrap { display: none; margin-top: 2rem; }
.js .filter-wrap { display: block; }
.project[hidden] { display: none; }

/* Leistungen im Detail */
.service {
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.service__icon { color: var(--petrol); width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; }
.service__benefit {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sun);
  font-weight: 600;
}
.service h3 { font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 1rem; }

/* Inhaltsverzeichnis / Sprungmarken */
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.75rem; padding: 0.4rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none;
}
.toc a:hover { border-color: var(--petrol); color: var(--petrol); }
.toc .icon { color: var(--petrol); width: 1.1rem; height: 1.1rem; }

/* Sozialbereich: Felder */
.field {
  display: grid;
  gap: 1rem 2.5rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) { .field { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.field h3 { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.45rem; }
.field h3 .icon { color: var(--petrol); width: 1.6rem; height: 1.6rem; margin-top: 0.1em; }
.field p { color: var(--ink-soft); }
.field h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem; }

/* Zwei-Spalten-Liste mit Linien */
.facts-list { list-style: none; padding: 0; margin: 0; }
.facts-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); margin: 0; }
.facts-list li:last-child { border-bottom: 1px solid var(--line); }
.facts-list strong { display: block; font-size: 1.1rem; margin-bottom: 0.2rem; }
.facts-list span { color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--petrol); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 48rem; }

/* Kontaktblöcke */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--petrol); width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; }
.contact-list strong { display: block; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

/* Rechtstexte */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: 2.5em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.prose > h2:first-child { margin-top: 0; }
.prose address { font-style: normal; margin-bottom: 1em; }

/* Über uns */
.portrait-slot {
  aspect-ratio: 4 / 5;
  max-width: 24rem;
  border: 2px dashed #9a6a00;
  background: #fff8e4;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: #5a3b00;
}
.portrait-slot .icon { width: 3rem; height: 3rem; margin: 0 auto 1rem; }

/* 7 · Vereinfachte App-Darstellungen ------------------------------------ */
.device {
  container-type: inline-size;
  position: relative;
  width: 100%;
}
.device__body {
  position: relative;
  aspect-ratio: 9 / 18.5;
  width: 100%;
  background: #161b1d;
  border-radius: 14cqi;
  padding: 3.2cqi;
  box-shadow: var(--shadow-lift);
}
.device__body::before {
  content: '';
  position: absolute;
  top: 5.6cqi;
  left: 50%;
  width: 26cqi;
  height: 6.4cqi;
  translate: -50% 0;
  border-radius: 99px;
  background: #161b1d;
  z-index: 2;
}
.device__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 11cqi;
  background: #fbfaf7;
  color: #1d2427;
  font-family: var(--font-body);
  font-size: 6.5cqi;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}
.device__screen picture, .device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.m-status { display: flex; justify-content: space-between; padding: 2.3em 1.7em 0; font-size: 0.6em; font-weight: 700; }
.m-body { padding: 1em 0.95em; display: flex; flex-direction: column; gap: 0.55em; flex: 1; min-height: 0; }
.m-kicker { font-size: 0.62em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5b676b; }
.m-title { font-family: var(--font-display); font-size: 1.35em; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.m-sub { font-size: 0.7em; color: #5b676b; }
.m-row {
  display: flex; align-items: center; gap: 0.55em;
  background: #fff; border: 0.06em solid #e3e6e1; border-radius: 0.45em;
  padding: 0.5em 0.6em; font-size: 0.72em; line-height: 1.2;
}
.m-row > div, .m-big > span { display: block; min-width: 0; }
.m-row b { display: block; font-size: 1em; }
.m-row small { display: block; color: #5b676b; font-size: 0.86em; }
.m-row .m-time { font-weight: 700; color: #0b5c5d; min-width: 2.6em; font-variant-numeric: tabular-nums; }
.m-dot { width: 1.9em; height: 1.9em; border-radius: 0.4em; display: grid; place-items: center; flex: none; background: #e8f0ed; color: #0b5c5d; }
.m-dot svg { width: 1.1em; height: 1.1em; }
.m-dot--warm { background: #f6e3d6; color: #8f3a19; }
.m-dot--sun { background: #fdf0d6; color: #7a5300; }
.m-tabs { display: flex; gap: 0.3em; font-size: 0.66em; font-weight: 700; }
.m-tabs span { flex: 1; text-align: center; padding: 0.45em 0; border-radius: 0.4em; background: #eef1ed; color: #465256; }
.m-tabs span.is-on { background: #0b5c5d; color: #fff; }
.m-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.2em; font-size: 0.58em; text-align: center; }
.m-week span { padding: 0.45em 0; border-radius: 0.4em; background: #fff; border: 0.08em solid #e3e6e1; }
.m-week span b { display: block; font-size: 1.3em; }
.m-week span.is-on { background: #0b5c5d; color: #fff; border-color: #0b5c5d; }
.m-btn { display: block; text-align: center; font-weight: 700; font-size: 0.74em; padding: 0.75em; border-radius: 0.45em; background: #0b5c5d; color: #fff; }
.m-btn--warm { background: #b24a22; }
.m-btn--soft { background: #e8f0ed; color: #0b5c5d; }
.m-big {
  border-radius: 0.55em; padding: 0.85em 0.8em; background: #b24a22; color: #fff;
  display: flex; align-items: center; gap: 0.6em; font-size: 0.8em; font-weight: 700; line-height: 1.15;
}
.m-big svg { width: 1.6em; height: 1.6em; flex: none; }
.m-big small { display: block; font-weight: 400; color: #fff; font-size: 0.8em; margin-top: 0.15em; }
.m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45em; }
.m-tile { background: #fff; border: 0.06em solid #e3e6e1; border-radius: 0.45em; padding: 0.6em; font-size: 0.66em; font-weight: 700; line-height: 1.2; display: flex; flex-direction: column; gap: 0.45em; }
.m-tile .m-dot { width: 2.2em; height: 2.2em; }
.m-bubble { background: #fff; border: 0.06em solid #e3e6e1; border-radius: 0.55em 0.55em 0.55em 0.15em; padding: 0.65em; font-size: 0.68em; line-height: 1.3; }
.m-alert { border-left: 0.25em solid #b24a22; background: #fbeee5; border-radius: 0.3em; padding: 0.55em 0.6em; font-size: 0.66em; line-height: 1.3; }
.m-alert b { display: block; color: #7a3517; }
.m-progress { height: 0.35em; border-radius: 99px; background: #e3e6e1; overflow: hidden; }
.m-progress i { display: block; height: 100%; width: 50%; background: #0b5c5d; border-radius: inherit; }
.m-center { text-align: center; }
.m-ring {
  width: 6.2em; height: 6.2em; margin: 0.3em auto; border-radius: 50%;
  border: 0.45em solid #e8f0ed; border-top-color: #0b5c5d; border-right-color: #0b5c5d;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1em;
}
.m-ring b { font-size: 1.7em; line-height: 1; display: block; }
.m-ring svg { width: 2.6em; height: 2.6em; color: #0b5c5d; }
.m-ring small { font-family: var(--font-body); font-size: 0.55em; color: #5b676b; }
.m-check { display: flex; align-items: center; gap: 0.5em; font-size: 0.7em; padding: 0.35em 0; border-bottom: 0.06em solid #e3e6e1; }
.m-check i { width: 1.1em; height: 1.1em; border-radius: 0.25em; border: 0.12em solid #6f7b7f; flex: none; }
.m-check.is-done i { background: #0b5c5d; border-color: #0b5c5d; }
.m-check.is-done span { text-decoration: line-through; color: #6f7b7f; }
.m-pill { display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.6em; font-weight: 700; padding: 0.25em 0.6em; border-radius: 99px; background: #e8f0ed; color: #0b5c5d; align-self: flex-start; }
.m-spacer { flex: 1; }
.m-nav { display: flex; justify-content: space-around; padding: 0.55em 0.5em 1.1em; border-top: 0.06em solid #e3e6e1; background: #fff; font-size: 0.52em; color: #5b676b; font-weight: 700; }
.m-nav span { display: flex; flex-direction: column; align-items: center; gap: 0.2em; }
.m-nav span.is-on { color: #0b5c5d; }
.m-nav svg { width: 1.9em; height: 1.9em; }
.m-lock { display: flex; align-items: center; gap: 0.35em; font-size: 0.6em; color: #465256; font-weight: 700; }
.m-lock svg { width: 1.2em; height: 1.2em; }
.m-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4em; }
.m-duo .m-tile { align-items: center; text-align: center; }
.m-avatar { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #e8f0ed; color: #0b5c5d; font-weight: 700; font-size: 1em; }
.m-avatar--warm { background: #f6e3d6; color: #8f3a19; }

/* 8 · Formulare ---------------------------------------------------------- */
.form { display: grid; gap: 1.6rem; }
.form-row { display: grid; gap: 1.6rem; }
@media (min-width: 720px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field-group { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-group label, .field-group legend, .form-label {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}
.optional { font-weight: 400; color: var(--ink-soft); }
.required-mark { color: var(--accent-deep); }
.hint { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

.input, .select, .textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2427' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--petrol);
}
[aria-invalid='true'].input, [aria-invalid='true'].select, [aria-invalid='true'].textarea {
  border-color: var(--error);
  border-width: 2px;
  background-color: #fffafa;
}

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 0.4rem; }

.choice-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); margin-top: 0.35rem; }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.3;
}
.choice:hover { border-color: var(--ink); }
.choice input, .check {
  appearance: none;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  border: 2px solid var(--line-strong);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.choice input[type='radio'] { border-radius: 50%; }
.choice input[type='checkbox'], .check { border-radius: 4px; }
.choice input:checked, .check:checked { border-color: var(--petrol); background: var(--petrol); }
.choice input[type='radio']:checked { box-shadow: inset 0 0 0 3px #fff; }
.choice input[type='checkbox']:checked::after, .check:checked::after {
  content: '';
  width: 0.45rem; height: 0.8rem;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: translateY(-1px) rotate(45deg);
}
.choice:has(input:checked) { border-color: var(--petrol); background: var(--tint); box-shadow: inset 0 0 0 1px var(--petrol); }
.choice input:focus-visible, .check:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.check[aria-invalid='true'] { border-color: var(--error); }
.choice-group--invalid .choice { border-color: var(--error); }

.field-group .consent { display: flex; gap: 0.85rem; align-items: flex-start; font-weight: 400; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.consent .check { margin-top: 0.1rem; width: 1.5rem; height: 1.5rem; }

.upload {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
}
.upload input[type='file'] { font: inherit; font-size: 1rem; width: 100%; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.upload input[type='file']::file-selector-button {
  font: inherit; font-weight: 700; margin-right: 0.85rem;
  min-height: 2.75rem; padding: 0.4rem 1rem;
  border-radius: var(--radius-sm); border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
}
.upload input[type='file']::file-selector-button:hover { background: var(--ink); color: #fff; }
.upload__list { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.error-text {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  color: var(--error);
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0;
}
.error-text[hidden] { display: none; }
.error-text .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; }

.error-summary {
  border: 2px solid var(--error);
  background: var(--error-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.error-summary:focus-visible { outline: 3px solid var(--error); outline-offset: 3px; }
.error-summary h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; color: var(--error); display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; letter-spacing: 0; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 700; }

.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; display: flex; gap: 0.6rem; }
.form-status[hidden] { display: none; }
.form-status--error { background: var(--error-soft); color: var(--error); border: 2px solid var(--error); }
.form-status--success { background: #e6f2e9; color: var(--success); border: 2px solid #9ccaa9; }

/* Honeypot – für Menschen unsichtbar, für Screenreader ausgeblendet */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-aside { font-size: 1rem; }
.form-aside .steps li { padding-bottom: 1.5rem; grid-template-columns: 2.5rem 1fr; }
.form-aside .steps li::before { width: 2.5rem; height: 2.5rem; font-size: 0.95rem; }
.form-aside .steps li:not(:last-child)::after { left: calc(1.25rem - 1px); top: 2.5rem; }
.form-aside .steps h3 { font-size: 1.1rem; margin-top: 0.3rem; }

/* 9 · Bewegung ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-pending { opacity: 0; transform: translateY(14px); }
  .card--link:hover { transform: translateY(-2px); }

  .hero .device-stage figure { animation: rise 0.9s var(--ease) both; }
  .hero .device-stage figure:nth-child(2) { animation-delay: 0.08s; }
  .hero .device-stage figure:nth-child(3) { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Windows-Kontrastmodus */
@media (forced-colors: active) {
  .btn, .card, .choice, .status, .filter button { border: 2px solid CanvasText; }
  .ph { outline: 2px dashed CanvasText; }
}

/* 10 · Druck -------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .device-stage, .filter-wrap { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  a { color: inherit; }
}

/* Hilfsklassen */
.mt-l { margin-top: 2rem; }
.mt-s { margin-top: 0.6rem; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); line-height: 1.25; }
.hint .icon, p .icon--inline { display: inline-block; vertical-align: -0.2em; width: 1.1em; height: 1.1em; }

main:focus { outline: none; }

/* Website-Beispiele ------------------------------------------------------ */
.showcase-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); }
.showcase { display: flex; flex-direction: column; }
.showcase__stage {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(3.5rem, 11%, 5.5rem) 0 clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
  background: var(--tint);
}
.showcase--beratung .showcase__stage { background: #dfe7e1; }
.showcase--pflege .showcase__stage { background: #f4e3d7; }
.showcase--verein .showcase__stage { background: #f8e7a2; }
.showcase--tischlerei .showcase__stage { background: #e3d9cc; }
.showcase--software .showcase__stage { background: #cfe2d9; }
.showcase--physio .showcase__stage { background: #e6ecd3; }
.showcase--lernen .showcase__stage { background: #f6e0cc; }
.showcase--roesterei .showcase__stage { background: #e4d4c2; }
.showcase-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: 2rem; }
.showcase-foot .stage-note { margin: 0; }
.browser {
  background: #fff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 2px rgb(29 36 39 / 8%), 0 24px 48px -24px rgb(29 36 39 / 40%);
  overflow: hidden;
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 0.55rem 0.8rem; background: #f1f0ec; border-bottom: 1px solid #e2e0da; }
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d3d0c8; }
.browser__bar em {
  font-style: normal; font-size: 0.75rem; color: #6a6f70; background: #fff; border-radius: 4px;
  padding: 0.15rem 0.7rem; margin-left: 0.6rem; flex: 1; max-width: 16rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__view { aspect-ratio: 16 / 10.5; overflow: hidden; }
.browser__view picture, .browser__img { width: 100%; height: 100%; }
.browser__img { object-fit: cover; object-position: top center; }
.showcase__phone { position: absolute; right: clamp(0.9rem, 3vw, 1.75rem); bottom: -18%; width: clamp(5.5rem, 24%, 9.5rem); }
.showcase__phone .device__body { box-shadow: 0 20px 40px -18px rgb(29 36 39 / 55%); }
.showcase__body { padding: 1.4rem 0.25rem 0; }
.showcase__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0.35rem 0 0.5rem; }
.showcase__body p:not(.tag) { color: var(--ink-soft); margin-bottom: 0.4rem; max-width: 36rem; }
@media (prefers-reduced-motion: no-preference) {
  .browser__img { transition: object-position 6s cubic-bezier(0.45, 0, 0.55, 1); }
  .showcase__stage:hover .browser__img { object-position: bottom center; }
  .showcase__phone { transition: transform 0.5s var(--ease); }
  .showcase__stage:hover .showcase__phone { transform: translateY(-6%); }
}
.contact-list .btn .icon { color: currentColor; width: 1.1rem; height: 1.1rem; margin-top: 0; }
