/* BakerySuite – Stylesheet
   Farbwelt: hell & warm („Mehlweiß“) mit Krustenorange; dunkle Akzent-Sektionen für den Industrie-Charakter */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #fbf8f3;
  --bg-raised: #f4eee5;
  --surface: #ffffff;
  --surface-2: #fff9f1;
  --border: rgba(70, 45, 20, 0.1);
  --border-strong: rgba(70, 45, 20, 0.18);
  --text: #1c1f26;
  --muted: #5a6170;
  --subtle: #868c97;
  --accent: #ec8f33;
  --accent-2: #c9561c;
  --accent-strong: #b35a14;
  --accent-ink: #1f1206;
  --accent-soft: #fcebd6;
  --hover: rgba(70, 45, 20, 0.05);
  --success: #1f8a57;
  --success-soft: #e2f4ea;
  --danger: #c8372d;
  --field-bg: #ffffff;
  --shadow-sm: 0 2px 6px -2px rgba(70, 45, 20, 0.12);
  --shadow: 0 22px 48px -24px rgba(70, 45, 20, 0.35);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Dunkle Sektionen: gleiche Bausteine, umdefinierte Farben */
.section--dark,
.cta-band__inner,
.site-footer {
  --bg: #141a23;
  --bg-raised: #19212c;
  --surface: #1e2733;
  --surface-2: #243040;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f5;
  --muted: #a6b0bf;
  --subtle: #7d8797;
  --accent: #f2a93b;
  --accent-strong: #f5b14a;
  --accent-soft: rgba(242, 169, 59, 0.14);
  --hover: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
  color: var(--text);
}

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

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

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

.accent {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xl { width: 48px; height: 48px; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, #f29a3c, #f5b35c);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px -12px rgba(201, 86, 28, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(201, 86, 28, 0.7); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.section--dark .btn--ghost,
.cta-band .btn--ghost { background: transparent; }
.btn--sm { padding: 0.6em 1.15em; font-size: 0.92rem; }
.btn--block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}
.btn-link .icon { transition: transform 0.2s var(--ease); }
a:hover .btn-link .icon,
.btn-link:hover .icon { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 16px;
  color: var(--accent-strong);
  font: 600 0.8rem/1.2 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.8);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 1.25rem/1 var(--font-display);
  letter-spacing: -0.02em;
  flex: none;
}
.logo b { color: var(--accent-strong); font-weight: 700; }
.logo__mark { width: 34px; height: 34px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font: 500 0.95rem/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link[aria-expanded='true'] { color: var(--text); background: var(--hover); }
.nav__link[aria-current='page'],
.nav__link.is-active { color: var(--accent-strong); }
.nav__chev { transition: transform 0.2s; }
.nav__link[aria-expanded='true'] .nav__chev { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 380px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.nav__sub ul { list-style: none; margin: 0; padding: 0; }
.nav__item--sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__sub a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav__sub a:hover,
.nav__sub a[aria-current='page'] { background: var(--bg); }
.nav__sub strong { display: block; font-size: 0.95rem; font-weight: 600; }
.nav__sub small { display: block; color: var(--muted); font-size: 0.82rem; }
.nav__sub-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  flex: none;
}
.nav__sub-icon .icon { width: 20px; height: 20px; }
.nav__sub-all a { justify-content: space-between; margin-top: 6px; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; color: var(--accent-strong); font-weight: 600; font-size: 0.92rem; }
.nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.lang-switch:hover { color: var(--text); background: var(--hover); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.burger__close { display: none; }
.burger[aria-expanded='true'] .burger__open { display: none; }
.burger[aria-expanded='true'] .burger__close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #fff6ea 0%, var(--bg) 100%);
}
.hero--compact { padding-bottom: clamp(32px, 5vw, 56px); }
.hero__glow {
  position: absolute;
  inset: -35% -12% auto auto;
  width: 950px;
  height: 950px;
  background: radial-gradient(circle at center, rgba(236, 143, 51, 0.22), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(70, 45, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 45, 20, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 0.95fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__grid--single { grid-template-columns: 1fr; max-width: 860px; }
.hero__content > .lead { margin-top: 20px; }
.hero h1 { margin-bottom: 0; }

.badges { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; margin: 32px 0 0; padding: 0; color: var(--muted); font-size: 0.92rem; }
.badges li { display: inline-flex; align-items: center; gap: 8px; }
.badges .icon { color: var(--success); }

/* ---------- Medien / Platzhalter ---------- */
.media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media figcaption { padding: 12px 16px; color: var(--muted); font-size: 0.88rem; }
.media--placeholder { aspect-ratio: 4 / 3; display: grid; }
.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 30% 20%, rgba(236, 143, 51, 0.14), transparent 55%),
    repeating-linear-gradient(135deg, rgba(70, 45, 20, 0.035) 0 14px, transparent 14px 28px),
    var(--surface-2);
  border: 1px dashed rgba(201, 86, 28, 0.35);
  border-radius: inherit;
}
.placeholder .icon { color: var(--accent-strong); opacity: 0.85; }
.placeholder strong { color: var(--text); font-weight: 600; }
.placeholder code { font-size: 0.8rem; padding: 3px 8px; border-radius: 6px; background: var(--hover); }

/* ---------- Breadcrumbs ---------- */
.crumbs { border-block: 1px solid var(--border); background: var(--surface); font-size: 0.88rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; color: var(--subtle); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--subtle); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Trust-Leiste ---------- */
.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust__inner { display: flex; align-items: center; gap: 16px 40px; padding-block: 26px; flex-wrap: wrap; }
.trust__title { margin: 0; color: var(--subtle); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.trust__list { display: flex; flex-wrap: wrap; gap: 12px 36px; list-style: none; margin: 0; padding: 0; }
.trust__list li { font: 600 1.05rem/1.2 var(--font-display); color: #4a505c; letter-spacing: -0.01em; }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--border); }
.section--dark {
  background:
    radial-gradient(800px circle at 85% 0%, rgba(242, 169, 59, 0.12), transparent 60%),
    var(--bg);
}
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }

/* ---------- Produktkarten ---------- */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.product-card { grid-column: span 2; }
.product-card:nth-child(4),
.product-card:nth-child(5) { grid-column: span 3; }
.product-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.product-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(236, 143, 51, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-card__link:hover { transform: translateY(-4px); border-color: rgba(201, 86, 28, 0.35); box-shadow: var(--shadow); }
.product-card__link:hover::after { opacity: 1; }
.product-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.product-card__icon .icon { width: 28px; height: 28px; }
.product-card__tag { color: var(--subtle); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.product-card h3 { margin: 6px 0 10px; font-size: 1.4rem; }
.product-card p { color: var(--muted); flex: 1; }
.product-card .btn-link { margin-top: 18px; }

/* ---------- Architektur-Diagramm ---------- */
.diagram { margin: 0; }
.diagram__svg { width: 100%; height: auto; overflow: visible; }
.diagram__svg--narrow { display: none; max-width: 420px; margin-inline: auto; }
.dg-node { stroke-width: 1.5; transition: fill 0.2s, stroke 0.2s; }
.dg-node--product { fill: var(--surface); stroke: rgba(236, 143, 51, 0.55); }
.dg-node--core { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.dg-node--ext { fill: var(--bg-raised); stroke: var(--border-strong); stroke-dasharray: 5 4; }
.dg-title { fill: var(--text); font: 600 15px var(--font-display); text-anchor: middle; }
.dg-sub { fill: var(--muted); font: 500 12px var(--font-sans); text-anchor: middle; }
.dg-link { cursor: pointer; }
.dg-link:hover .dg-node { fill: var(--accent-soft); stroke: var(--accent); }
.dg-flow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 6 7;
  opacity: 0.85;
  animation: dg-flow 1.4s linear infinite;
}
@keyframes dg-flow { to { stroke-dashoffset: -26; } }
.hero__visual .diagram {
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.flow-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
}
.flow-legend li { display: flex; flex-direction: column; gap: 12px; }
.flow-legend__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  font: 600 0.92rem var(--font-display);
}
.flow-legend strong { display: block; margin-bottom: 4px; }
.flow-legend p { color: var(--muted); font-size: 0.95rem; }
.flow-legend a, .feature p a, .faq__a a, .split__text a, .step a, .int-item a, .int-group__text a, .contact a, .prose a, .field--check a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(201, 86, 28, 0.35);
  text-underline-offset: 3px;
}

/* ---------- Feature-Raster ---------- */
.feature-grid { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature,
.feature--link > a {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.feature--link { padding: 0; border: 0; background: none; box-shadow: none; }
.feature--link > a { display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.feature--link > a:hover { border-color: rgba(201, 86, 28, 0.35); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature--link p { flex: 1; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.feature .btn-link { margin-top: 16px; font-size: 0.95rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split__text { order: 2; }
.split__text > p { color: var(--muted); }
.checklist { display: grid; gap: 12px; list-style: none; margin: 24px 0 0; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
  margin-top: 3px;
  padding: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

/* ---------- Schritte ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: block;
  margin-bottom: 18px;
  font: 700 2.4rem/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
}
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Integrationen ---------- */
.int-groups { display: grid; gap: 28px; }
.int-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.int-group h3 .icon { color: var(--accent-strong); }
.int-group__text { color: var(--muted); max-width: 70ch; }
.int-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 20px 0 0; padding: 0; }
.int-item { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.int-item strong { display: block; font: 600 1.1rem/1.3 var(--font-display); }
.int-item p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.pill {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill--open { background: var(--accent-soft); color: var(--accent-strong); }

/* ---------- Referenzen ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.ref-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ref-card > p { color: var(--muted); flex: 1; margin: 0; }
.ref-card__head { display: flex; align-items: center; gap: 16px; }
.ref-card__head h3 { margin: 0 0 4px; }
.ref-card__head img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; border: 1px solid var(--border); padding: 6px; background: #fff; }
.ref-card__mono {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), #fff4e6);
  color: var(--accent-strong);
  font: 700 1.3rem var(--font-display);
  flex: none;
}
.ref-card__loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--subtle); font-size: 0.9rem; }
.ref-card__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ref-card .btn-link { align-self: flex-start; }
.ref-card__tags li { padding: 4px 10px; border-radius: 999px; background: var(--bg-raised); color: var(--muted); font-size: 0.8rem; font-weight: 500; }

/* ---------- Spezifikationen ---------- */
.spec-list { display: grid; margin: 0; border-top: 1px solid var(--border); }
.spec-list div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.spec-list dt { color: var(--muted); font-weight: 500; }
.spec-list dd { margin: 0; }

/* ---------- Zitat ---------- */
.quote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff1df, #fff9f1 60%, var(--surface));
  border: 1px solid rgba(201, 86, 28, 0.2);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.quote__mark { width: 44px; height: 44px; margin: 0 auto 20px; color: var(--accent); }
.quote blockquote { margin: 0; font: 500 clamp(1.25rem, 2.4vw, 1.65rem)/1.45 var(--font-display); letter-spacing: -0.01em; }
.quote figcaption { margin-top: 24px; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.12rem; transition: color 0.2s; }
.faq__item summary:hover h3 { color: var(--accent-strong); }
.faq__chev { color: var(--accent-strong); transition: transform 0.25s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- Verwandte Seiten ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.related a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.related a:hover { border-color: rgba(201, 86, 28, 0.35); transform: translateY(-2px); box-shadow: var(--shadow); }
.related a > span:nth-child(2) { flex: 1; }
.related strong { display: block; font-weight: 600; }
.related small { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.45; margin-top: 2px; }
.related__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); flex: none; }
.related__arrow { color: var(--accent-strong); }

/* ---------- CTA-Band (dunkel) ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(600px circle at 100% 0%, rgba(242, 169, 59, 0.3), transparent 60%),
    radial-gradient(500px circle at 0% 100%, rgba(226, 119, 58, 0.18), transparent 60%),
    var(--bg);
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: var(--muted); max-width: 56ch; }
.cta-band .btn-row { margin-top: 0; flex: none; }

/* ---------- Fließtext / Artikel ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose--wide { max-width: 960px; }
.prose h2 { margin: 1.8em 0 0.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: #3d4350; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--accent-strong); }
.prose strong { color: var(--text); }
.todo {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px dashed var(--accent-strong);
  background: var(--accent-soft);
  color: var(--accent-strong) !important;
  font-weight: 600;
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .section__head { margin-bottom: 28px; }
.contact__direct { display: grid; gap: 14px; list-style: none; margin: 0 0 40px; padding: 0; }
.contact__direct li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact__direct .icon { color: var(--accent-strong); margin-top: 2px; }
.contact__direct small { display: block; color: var(--subtle); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.contact__direct a, .contact__direct span { color: var(--text); text-decoration: none; font-weight: 500; }
.contact__next-title { font-size: 1.1rem; }
.contact__next { margin: 0; padding-left: 1.3em; color: var(--muted); }
.contact__next li { margin-bottom: 8px; }
.contact__next li::marker { color: var(--accent-strong); font-weight: 700; }

.form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form__title { font-size: 1.6rem; margin-bottom: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 500; color: #3d4350; }
.field label span { color: var(--accent-strong); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field 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='%23b35a14' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-invalid input { border-color: var(--danger); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-strong); flex: none; }
.field--check label { font-size: 0.88rem; color: var(--muted); }
.field--check.is-invalid label { color: var(--danger); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 16px 0 0; font-weight: 500; min-height: 1.5em; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--danger); }
.form__status.is-info { color: var(--accent-strong); }
.form__note { margin-top: 8px; color: var(--subtle); font-size: 0.82rem; }

/* ---------- Footer (dunkel) ---------- */
.site-footer { background: var(--bg); font-size: 0.94rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-block: 64px 48px; }
.footer__brand p { color: var(--muted); max-width: 38ch; margin-top: 18px; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.footer__contact .icon { color: var(--accent); }
.footer__col h2 { font: 600 0.8rem/1.2 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--muted); text-decoration: none; }
.footer__col a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px; border-top: 1px solid var(--border); color: var(--subtle); font-size: 0.85rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--muted); }

/* ---------- Scroll-Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header__cta { display: none; }
  .flow-legend { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: 16px var(--gutter) 32px;
    background: var(--bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--border); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.1rem; color: var(--text); border-radius: 0; background: none !important; }
  .nav__sub {
    position: static;
    width: auto;
    padding: 0 0 12px;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav__item--sub.is-open .nav__sub { display: block; transform: none; }
  .nav__mobile-cta { display: block; margin-top: 24px; }
  .nav__mobile-cta .btn { width: 100%; }
  .site-header__inner { gap: 12px; }
  .site-header__actions { margin-left: auto; }
  body.nav-open { overflow: hidden; }

  .hero__grid, .split, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 1; }
  .product-card:nth-child(5) { grid-column: 1 / -1; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .diagram__svg--wide { display: none; }
  .diagram__svg--narrow { display: block; }
  .flow-legend { grid-template-columns: 1fr; }
  .flow-legend li { flex-direction: row; }
  .flow-legend__num { flex: none; }
  .feature-grid--3, .feature-grid--2, .product-grid, .form__grid { grid-template-columns: 1fr; }
  .product-card:nth-child(5) { grid-column: auto; }
  .trust__inner { flex-direction: column; align-items: flex-start; }
  .trust__list { gap: 10px 24px; }
  .trust__list li { font-size: 0.95rem; }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .faq__a { padding-right: 0; }
  .lang-switch { padding: 8px 6px; }
}

@media (max-width: 420px) {
  .logo { font-size: 1.1rem; }
  .logo__mark { width: 30px; height: 30px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .cta-band, .site-footer, .form { display: none; }
}

@media (min-width: 961px) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Screenshots ---------- */
.media--screen { background: #fff; padding: 6px; }
.media--screen img { aspect-ratio: auto; object-fit: contain; border-radius: calc(var(--radius-lg) - 8px); }
.media--screen:hover { box-shadow: 0 26px 56px -24px rgba(70, 45, 20, 0.45); }

/* ---------- Logo ---------- */
.logo__img { display: block; height: 46px; width: auto; }
.site-footer .logo { padding: 10px 16px; border-radius: 14px; background: #fbf8f3; }
.site-footer .logo__img { height: 48px; }
@media (max-width: 420px) { .site-header .logo__img { height: 38px; } }

/* ---------- Builder-Kontaktformular ---------- */
[data-exps-success] { color: var(--success); font-weight: 500; margin-top: 16px; }
[data-exps-error], .form__consent-error { color: var(--danger); font-weight: 500; margin-top: 16px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
