/* ==========================================================================
   Codewave Software – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2");
}

:root {
  color-scheme: light dark;

  --bg: #f6f6f0;
  --surface: #ffffff;
  --ink: #0e1320;
  --ink-2: #3a4152;
  --muted: #666d7e;
  --line: #e2e3d9;
  --link: #2448d8;

  /* Markenfarben aus dem Logo */
  --blue: #2f5bff;
  --lime: #c8f03c;
  --green: #0b8a4a;

  --shadow-lg: 0 30px 60px -28px rgba(14, 19, 32, 0.35);
  --radius: 28px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e17;
    --surface: #141a28;
    --ink: #eef1f7;
    --ink-2: #c5cbd8;
    --muted: #8f97aa;
    --line: #242c3e;
    --link: #9db0ff;
    --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, 0.8);
  }
}

/* --- Grundlagen ---------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* --- Kopfzeile ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand img { width: 38px; height: 38px; transition: transform 0.5s cubic-bezier(.2,.8,.2,1.2); }
.brand:hover img { transform: rotate(-20deg); }

.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background-color 0.15s, color 0.15s;
}
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current] { background: var(--ink); color: var(--bg); }

@media (max-width: 420px) {
  .nav a { padding: 8px 10px; }
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.9em 1.45em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--ink) 70%, transparent); }

.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Hero ---------------------------------------------------------------- */

.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(24px, 4vw, 40px); }

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
}
@media (max-width: 360px) {
  .eyebrow { font-size: 0.8rem; }
}
.eyebrow .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 35%, transparent);
}

.hero h1 {
  position: relative;
  z-index: 0;
  margin: 0 0 26px;
  font-size: clamp(2.7rem, 1.3rem + 5.6vw, 5.6rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: -0.16em;
  height: 0.26em;
  background: url("../img/squiggle.svg") repeat-x left center / 0.62em 100%;
  z-index: -1;
}

.lead {
  max-width: 34ch;
  margin: 0 0 36px;
  color: var(--ink-2);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.5;
}

.hero-art { display: none; }

@media (min-width: 880px) {
  .hero .wrap { grid-template-columns: 1.4fr 1fr; }
  .hero-art {
    display: block;
    position: relative;
    isolation: isolate;
    justify-self: center;
    width: min(100%, 380px);
    aspect-ratio: 1;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: -1;
    border-radius: 50%;
    background:
      radial-gradient(circle at 28% 72%, color-mix(in srgb, var(--lime) 60%, transparent), transparent 58%),
      radial-gradient(circle at 74% 26%, color-mix(in srgb, var(--blue) 45%, transparent), transparent 58%);
    filter: blur(34px);
    opacity: 0.8;
  }
  .hero-art .ring {
    position: absolute;
    inset: -7%;
    border: 2px dashed color-mix(in srgb, var(--ink) 16%, transparent);
    border-radius: 50%;
    animation: spin 80s linear infinite;
  }
  .hero-art img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(20, 30, 90, 0.28));
    animation: float 8s ease-in-out infinite;
  }
}

@keyframes float {
  50% { transform: translateY(-14px) rotate(-4deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Wellenband ---------------------------------------------------------- */

.waves {
  position: relative;
  height: clamp(72px, 10vw, 130px);
  overflow: hidden;
  pointer-events: none;
}
.waves span {
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-position: 0 50%;
  animation: drift linear infinite;
}
.waves .w1 { --tile: 600px; background-image: url("../img/wave-lime.svg");  background-size: 600px 100%; animation-duration: 24s; }
.waves .w2 { --tile: 900px; background-image: url("../img/wave-blue.svg");  background-size: 900px 100%; animation-duration: 36s; animation-direction: reverse; }
.waves .w3 { --tile: 420px; background-image: url("../img/wave-green.svg"); background-size: 420px 100%; animation-duration: 18s; opacity: 0.85; }

@keyframes drift {
  from { background-position: 0 50%; }
  to { background-position: var(--tile) 50%; }
}

/* --- Abschnitte ---------------------------------------------------------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight-top { padding-top: clamp(24px, 4vw, 48px); }
.section--tight-bottom { padding-bottom: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.section-head p { margin: 0; max-width: 44ch; color: var(--muted); }

.kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- App-Karten ---------------------------------------------------------- */

.app-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .app-grid { grid-template-columns: 2fr 1fr; }
}

.app-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(28px, 4.5vw, 52px);
}

/* Produktfarben SchnäppZettl – bleiben auf die Produktflächen beschränkt */
.sz {
  --sz-green: #22432f;
  --sz-deep: #16281f;
  --sz-gold: #e8c468;
  --sz-gold-2: #f3dda0;
  --sz-orange: #e85d3d;
  --sz-paper: #f4efe2;
  background: linear-gradient(150deg, var(--sz-green) 0%, var(--sz-deep) 100%);
  color: var(--sz-paper);
  box-shadow: var(--shadow-lg);
}
.sz::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  right: -15%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 196, 104, 0.2), transparent 65%);
}
.sz .accent { color: var(--sz-gold); }

.app-card.sz {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 640px) {
  .app-card.sz { grid-template-columns: 1fr auto; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  background: rgba(244, 239, 226, 0.1);
  color: var(--sz-gold-2);
}
.chip--live { background: var(--sz-gold); color: var(--sz-deep); }
.chip--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sz-deep);
}

.app-name {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.app-name a { text-decoration: none; }
.app-claim {
  margin: 0 0 18px;
  color: var(--sz-gold-2);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
}
.app-desc {
  max-width: 44ch;
  margin: 0 0 30px;
  color: rgba(244, 239, 226, 0.82);
}

.btn-sz { background: var(--sz-gold); color: var(--sz-deep); }
.btn-sz:hover { box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6); }
.btn-sz-ghost { color: var(--sz-paper); box-shadow: inset 0 0 0 2px rgba(244, 239, 226, 0.3); }
.btn-sz-ghost:hover { box-shadow: inset 0 0 0 2px var(--sz-paper); }

.app-icon {
  order: -1;
  justify-self: start;
  align-self: center;
  width: 96px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 24%;
  box-shadow: 0 0 0 1px rgba(244, 239, 226, 0.14), 0 30px 50px -22px rgba(0, 0, 0, 0.7);
  transform: rotate(-7deg);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1.2);
}
@media (min-width: 640px) {
  .app-icon {
    order: 0;
    justify-self: center;
    width: clamp(140px, 18vw, 190px);
    margin-right: clamp(0px, 2vw, 24px);
  }
}
.app-card:hover .app-icon { transform: rotate(0deg) scale(1.04); }

/* Platzhalter für die nächste App */
.app-card--soon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 300px;
  border: 2px dashed var(--line);
  color: var(--ink);
}
.soon-icon {
  display: grid;
  place-items: center;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 24%;
  border: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent);
}
.soon-icon span {
  display: flex;
  gap: 6px;
}
.soon-icon i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.25;
  animation: blink 1.6s ease-in-out infinite;
}
.soon-icon i:nth-child(2) { animation-delay: 0.2s; }
.soon-icon i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 40% { opacity: 1; transform: translateY(-3px); } }

.app-card--soon h3 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.app-card--soon p { margin: 0; color: var(--muted); }

/* --- Kontakt-Panel ------------------------------------------------------- */

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 22px;
  padding: clamp(32px, 6vw, 76px);
  border-radius: var(--radius);
  background: var(--lime);
  color: #0e1320;
}
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.contact-panel p { margin: 0; max-width: 40ch; font-size: 1.15rem; }
.mail-link {
  justify-self: start;
  font-size: clamp(1.35rem, 0.9rem + 2.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-decoration: none;
  border-bottom: 0.1em solid currentColor;
  overflow-wrap: anywhere;
  transition: color 0.15s;
}
.mail-link:hover { color: #1a2a9c; }
.contact-panel .mark {
  display: none;
}
@media (min-width: 760px) {
  .contact-panel .mark {
    display: block;
    position: absolute;
    z-index: -1;
    right: -70px;
    bottom: -90px;
    width: 340px;
    height: 340px;
    transform: rotate(-18deg);
  }
}

/* --- Fußzeile ------------------------------------------------------------ */

.site-footer { padding: 8px 0 48px; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --- Unterseiten (Impressum, Datenschutz, 404) --------------------------- */

.page-head { padding: clamp(44px, 8vw, 96px) 0 clamp(20px, 3vw, 32px); }
.page-head h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.page-head p { margin: 0; max-width: 60ch; color: var(--muted); font-size: 1.1rem; }

.prose { max-width: 70ch; padding-bottom: clamp(56px, 8vw, 96px); }
.prose h2 {
  margin: 2.2em 0 0.5em;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.prose > h2:first-child { margin-top: 0.4em; }
.prose p, .prose ul { color: var(--ink-2); margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.3em; }
.prose a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2.5px; }
.prose h3 {
  margin: 1.8em 0 0.45em;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose code {
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

/* Lange Rechtstexte: Inhaltsverzeichnis und Teile */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.toc a:hover { border-color: var(--ink); color: var(--ink); }

.prose .part-intro { color: var(--muted); }
.page-head .stand { margin-top: 16px; }
.stand {
  display: inline-block;
  margin: 0 0 0.6em;
  padding: 3px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lime) 45%, transparent);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.card-block {
  margin: 0 0 1.2em;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.card-block address { font-style: normal; color: var(--ink); line-height: 1.7; }
.card-block strong { font-weight: 700; }

.note {
  margin-top: 2.5em;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- Produktseite -------------------------------------------------------- */

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: clamp(24px, 4vw, 40px) 0 20px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.crumb:hover { color: var(--ink); }
.crumb svg { width: 18px; height: 18px; }

.product-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: calc(var(--radius) + 4px);
}
@media (min-width: 900px) {
  .product-hero { grid-template-columns: 1.15fr 1fr; }
}
.product-hero .app-icon-sm {
  width: 72px; height: 72px;
  border-radius: 24%;
  margin-bottom: 26px;
  transform: rotate(-6deg);
  box-shadow: 0 0 0 1px rgba(244, 239, 226, 0.14), 0 16px 30px -14px rgba(0, 0, 0, 0.7);
}
.product-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.8rem, 1.6rem + 5vw, 5.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.product-hero .app-desc { font-size: 1.12rem; }

/* Illustration: ein Einkaufszettel */
.zettel {
  position: relative;
  justify-self: center;
  width: min(100%, 330px);
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: #faf7f0;
  color: #1e2a22;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75);
  transform: rotate(3deg);
  font-size: 0.95rem;
  line-height: 1.35;
}
.zettel::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 96px;
  height: 26px;
  background: rgba(243, 221, 160, 0.9);
  transform: translateX(-50%) rotate(-4deg);
  border-radius: 3px;
}
.zettel::after {
  content: "";
  position: absolute;
  top: -22px;
  right: -20px;
  width: 64px;
  height: 46px;
  background: #e85d3d;
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
  transform: rotate(-24deg);
  -webkit-mask: radial-gradient(circle at 26% 50%, transparent 5px, #000 5.5px);
  mask: radial-gradient(circle at 26% 50%, transparent 5px, #000 5.5px);
}
.zettel-title {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.zettel-market {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 4px;
  color: #6b7a6f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.zettel ul { margin: 0; padding: 0; list-style: none; }
.zettel li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #e4dcc8;
}
.zettel li:last-child { border-bottom: 0; }
.zettel .box {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border: 2px solid #1e3a2c;
  border-radius: 6px;
}
.zettel .done .box { background: #1e3a2c; }
.zettel .done .box::after {
  content: "";
  width: 5px; height: 9px;
  margin-top: -2px;
  border: solid #e8c468;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.zettel .done .t { color: #8a958c; text-decoration: line-through; }
.zettel .badge {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e85d3d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.zettel .badge--soon { background: #f3dda0; color: #1e3a2c; }

/* Funktionen */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature--highlight { grid-column: span 2; }
}
.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature .ico {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: #1e3a2c;
  color: #e8c468;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 6px; font-size: 1.18rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Hervorgehobene Funktion in Produktfarben */
.feature--highlight {
  border-color: transparent;
  background: linear-gradient(150deg, #22432f 0%, #16281f 100%);
  color: #f4efe2;
}
.feature--highlight .ico { background: #e8c468; color: #16281f; }
.feature--highlight h3 { font-size: clamp(1.18rem, 1rem + 0.8vw, 1.6rem); letter-spacing: -0.03em; }
.feature--highlight p { color: rgba(244, 239, 226, 0.82); font-size: 1.02rem; max-width: 52ch; }

/* Eckdaten */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin: clamp(40px, 6vw, 64px) 0 0;
  border-top: 1px solid var(--line);
}
.facts div { padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) {
  .facts { border-bottom: 1px solid var(--line); }
  .facts div { padding: 26px 24px 26px 0; border-bottom: 0; }
}
.facts dt { margin-bottom: 4px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.facts dd { margin: 0; font-weight: 650; line-height: 1.4; }

/* Abschluss mit Verweis auf die Produktseite */
.outro {
  display: grid;
  gap: 18px;
  padding: clamp(32px, 5vw, 60px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.outro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.outro p { margin: 0; max-width: 56ch; color: var(--ink-2); }
.outro .small { color: var(--muted); font-size: 0.95rem; }
.outro .small a { color: var(--link); }
.outro .actions { margin-top: auto; padding-top: 6px; }

.outro-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .outro-grid { grid-template-columns: 1fr 1fr; }
}
.outro-grid .outro { align-content: start; }

.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230e1320' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* --- Bewegung reduzieren ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.page-head a { color: var(--link); text-underline-offset: 3px; }

/* Unterseiten mit Brotkrumen darüber */
.page-head--tight { padding-top: 0; }
.page-head + nav .toc { margin-bottom: 28px; }

