/* =========================================================
   "Kann ich das essen?" – Website
   Markenfarben 1:1 aus der App (AppColors/tokens.dart).
   Schrift Manrope wie in der App – SELBST gehostet (lokal, kein externes
   Font-CDN, das IP-Adressen in die USA überträgt → DSGVO-konform).
   ========================================================= */

/* Manrope als Variable Font (wght 200–800), lokal ausgeliefert. */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/Manrope.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #faf8f2;
  --karte: #ffffff;
  --linie: #e8e3d7;
  --akzent: #1e6b4f;
  --akzent-dunkel: #14503a;
  --auf-akzent: #ffffff;
  --text: #22291f;
  --text-sek: #6b7263;

  --gruen: #2e7d4f;
  --gruen-fl: #e7f3eb;
  --gelb: #b97d10;
  --gelb-fl: #fcf3df;
  --rot: #c04a3a;
  --rot-fl: #fbeae6;

  --maxw: 1120px;
  --radius: 16px;
  --radius-l: 26px;
  --schatten: 0 18px 40px -22px rgba(20, 80, 58, 0.45);
  --schatten-s: 0 8px 24px -16px rgba(20, 80, 58, 0.4);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* Anker-Ziele nicht unter den Sticky-Header rutschen lassen */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  /* Eingefärbte Scrollleiste (Firefox) */
  scrollbar-color: var(--akzent) var(--linie);
  scrollbar-width: thin;
}
/* Eingefärbte Scrollleiste (Chrome/Safari/Edge) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--linie);
}
::-webkit-scrollbar-thumb {
  background: var(--akzent);
  border-radius: 999px;
  border: 3px solid var(--linie);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--akzent-dunkel);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--creme);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  /* verhindert horizontales Verrutschen auf schmalen Screens */
  overflow-x: clip;
  /* lange Wörter (typisch Deutsch) brechen statt zu überlaufen */
  overflow-wrap: break-word;
  word-break: break-word;
}
/* Grid-/Flex-Kinder dürfen schrumpfen (sonst horizontaler Overflow) */
.hero-text,
.hero-art,
.feature-text,
.feature-img,
.privacy-inner > div {
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--akzent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1rem;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
section {
  padding-block: clamp(56px, 9vw, 110px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--akzent);
  margin-bottom: 0.6rem;
}
.lead {
  font-size: 1.18rem;
  color: var(--text-sek);
  max-width: 60ch;
}
.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--akzent);
  color: var(--auf-akzent);
  box-shadow: var(--schatten-s);
}
.btn-primary:hover {
  background: var(--akzent-dunkel);
}
.btn-ghost {
  background: transparent;
  color: var(--akzent);
  border-color: var(--linie);
}
.btn-ghost:hover {
  border-color: var(--akzent);
}
.btn-light {
  background: #fff;
  color: var(--akzent-dunkel);
}

/* ---------- Store-Badges ---------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  background: var(--text);
  color: #fff;
  padding: 0.7em 1.3em;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-badge:hover {
  text-decoration: none;
  transform: translateY(-2px);
  opacity: 0.92;
}
.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store-badge .small {
  font-size: 0.7rem;
  opacity: 0.82;
  display: block;
  line-height: 1.1;
  font-weight: 500;
}
.store-badge .big {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.15;
}
.store-badge[aria-disabled="true"] {
  position: relative;
  /* noch nicht verfügbar: nicht klickbar (kein Sprung nach oben) + gedimmt */
  pointer-events: none;
  opacity: 0.6;
}
.soon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--akzent-dunkel);
  background: #d7eadf;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  margin-left: 0.4em;
  vertical-align: middle;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--linie);
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 12px;
}
/* Brand links, Navigation + CTA rechtsbündig */
.nav > .brand {
  margin-right: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
/* Logo-Text zweizeilig: Titel + kleiner Untertitel "KI Scanner" */
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.04;
}
.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--akzent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover {
  color: var(--akzent);
  text-decoration: none;
}
.nav-cta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(
      1100px 460px at 75% -10%,
      rgba(46, 125, 79, 0.16),
      transparent 60%
    ),
    var(--creme);
  padding-top: clamp(40px, 6vw, 70px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  margin-bottom: 0.35em;
}
.hero .accent {
  color: var(--akzent);
}
.hero-points {
  list-style: none;
  margin: 1.4rem 0 1.9rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  color: var(--text);
  font-weight: 500;
}
.hero-points svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gruen);
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-art .phone {
  width: min(330px, 78%);
  border-radius: 34px;
  box-shadow: var(--schatten);
}
.hero-note {
  font-size: 0.92rem;
  color: var(--text-sek);
  margin-top: 1rem;
}

/* ---------- Ampel-Streifen ---------- */
.ampel-strip {
  background: var(--karte);
  border-block: 1px solid var(--linie);
}
.ampel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ampel-card {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--linie);
}
.ampel-card .dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: 800;
  color: #fff;
}
.ampel-card.gruen {
  background: var(--gruen-fl);
}
.ampel-card.gruen .dot {
  background: var(--gruen);
}
.ampel-card.gelb {
  background: var(--gelb-fl);
}
.ampel-card.gelb .dot {
  background: var(--gelb);
}
.ampel-card.rot {
  background: var(--rot-fl);
}
.ampel-card.rot .dot {
  background: var(--rot);
}
.ampel-card h3 {
  margin: 0 0 0.2em;
  font-size: 1.05rem;
}
.ampel-card p {
  margin: 0;
  color: var(--text-sek);
  font-size: 0.96rem;
}

/* ---------- Features ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature + .feature {
  margin-top: clamp(48px, 7vw, 90px);
}
.feature.reverse .feature-text {
  order: 2;
}
.feature-img {
  display: flex;
  justify-content: center;
}
.feature-img img {
  width: min(300px, 80%);
  filter: drop-shadow(0 22px 36px rgba(20, 80, 58, 0.22));
}
.feature-text h2 {
  margin-bottom: 0.3em;
}
.feature-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.feature-list li {
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
}
.feature-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--akzent);
}

/* ---------- Schritte ---------- */
.steps {
  background: var(--akzent-dunkel);
  color: #fff;
}
.steps h2 {
  color: #fff;
}
.steps .lead {
  color: #cfe6d8;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
}
.step .num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  color: var(--akzent-dunkel);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h3 {
  color: #fff;
  margin-bottom: 0.3em;
}
.step p {
  color: #cfe6d8;
  margin: 0;
}

/* ---------- Profile ---------- */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.profile-chip {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 600;
}
.profile-chip .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gruen-fl);
  color: var(--akzent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.profile-chip .ic svg {
  width: 22px;
  height: 22px;
}
.profile-chip small {
  display: block;
  font-weight: 500;
  color: var(--text-sek);
  font-size: 0.8rem;
}

/* ---------- Screenshots ---------- */
.shots-carousel {
  position: relative;
}
.shots-rail {
  display: flex;
  --shot-w: 240px;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Scrollleiste ausblenden – navigiert wird per Buttons */
  scrollbar-width: none;
}
.shots-rail::-webkit-scrollbar {
  display: none;
}
.shot {
  flex: 0 0 auto;
  width: var(--shot-w);
  scroll-snap-align: center;
}
/* Rotier-Buttons */
.carousel-btn {
  position: absolute;
  top: calc(50% - 8px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--linie);
  background: var(--karte);
  color: var(--akzent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--schatten-s);
  z-index: 2;
  transition: background 0.15s ease, color 0.15s ease;
}
.carousel-btn:hover {
  background: var(--akzent);
  color: #fff;
}
.carousel-btn.prev {
  left: -8px;
}
.carousel-btn.next {
  right: -8px;
}
.carousel-btn svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 600px) {
  /* Pfeile weg – auf dem Phone wird gewischt. */
  .carousel-btn {
    display: none;
  }
  /* Auf Phones genau EIN Bild zentriert zeigen: breite Karte + großer
     Abstand lassen die Nachbarn praktisch verschwinden. Das seitliche
     Padding rastet jede Karte (auch erste/letzte) mittig ein. */
  .shots-rail {
    --shot-w: min(84vw, 360px);
    gap: 26px;
    padding-left: calc((100% - var(--shot-w)) / 2);
    padding-right: calc((100% - var(--shot-w)) / 2);
  }
  /* Animierter Wisch-Hinweis (nur Mobile). Höhere Spezifität (2 Klassen),
     damit diese Regel die Basis-Regel .swipe-hint{display:none} schlägt. */
  .shots-carousel .swipe-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Overlay mittig unten auf den Bildern – immer sichtbar, unabhängig vom
       Cookie-Banner. (.shots-carousel ist position:relative.) */
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 3;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--akzent);
    color: #fff;
    box-shadow: 0 8px 22px rgba(6, 18, 13, 0.38);
    font-size: 0.9rem;
    font-weight: 700;
    transition: opacity 0.45s ease;
  }
  .swipe-hint.hide {
    opacity: 0;
    pointer-events: none;
  }
  .swipe-hint svg {
    width: 22px;
    height: 22px;
    animation: swipeHint 1.5s ease-in-out infinite;
  }
}
/* Standardmäßig (Desktop) verborgen – nur im Mobile-Media-Query sichtbar. */
.swipe-hint {
  display: none;
}
@keyframes swipeHint {
  0%,
  100% {
    transform: translateX(-9px);
    opacity: 0.55;
  }
  50% {
    transform: translateX(9px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint svg {
    animation: none;
  }
}
.shot img {
  width: 100%;
  border-radius: 22px;
}

/* ---------- Datenschutz-Band ---------- */
.privacy {
  background: var(--gruen-fl);
}
.privacy-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
}
.privacy .shield {
  width: 74px;
  height: 74px;
  flex: none;
  color: var(--akzent);
}

/* ---------- Preise ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}
.price-card {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--akzent);
  box-shadow: var(--schatten);
  position: relative;
}
.price-card .tag {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--akzent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.price-card h3 {
  margin-bottom: 0.15em;
}
.price-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.1em 0 0.1em;
}
.price-card .price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sek);
}
.price-card .sub {
  color: var(--text-sek);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.price-card ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.price-card li {
  display: flex;
  gap: 0.5em;
  align-items: flex-start;
  font-size: 0.96rem;
}
.price-card li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--gruen);
}
.price-card .btn {
  margin-top: auto;
  justify-content: center;
}
.price-note {
  text-align: center;
  color: var(--text-sek);
  font-size: 0.9rem;
  margin-top: 22px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 36px auto 0;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--akzent);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--text-sek);
}
.faq-item .answer p {
  margin: 0;
}

/* ---------- CTA-Band ---------- */
.cta {
  background: linear-gradient(135deg, var(--akzent), var(--akzent-dunkel));
  color: #fff;
  text-align: center;
}
.cta h2 {
  color: #fff;
}
.cta .lead {
  color: #d3e8dc;
  margin-inline: auto;
  margin-bottom: 1.8rem;
}
.cta .stores {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #11261d;
  color: #cdd8d0;
  padding-block: 56px 30px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
.site-footer .brand {
  color: #fff;
}
.site-footer p {
  color: #9fb3a6;
  max-width: 40ch;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1.1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #cdd8d0;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover {
  background: var(--akzent);
  color: #fff;
}
.footer-social svg {
  width: 22px;
  height: 22px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.9em;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-col a {
  color: #cdd8d0;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #8aa093;
  font-size: 0.88rem;
}
.footer-bottom a {
  color: #cdd8d0;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Rechtsseiten ---------- */
.legal {
  padding-block: clamp(48px, 7vw, 90px);
}
.legal .container {
  max-width: 820px;
}
.legal h1 {
  margin-bottom: 0.6em;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
  padding-top: 0.2em;
}
.legal h2:first-of-type {
  margin-top: 1em;
}
.legal p,
.legal li {
  color: var(--text);
}
.legal .updated {
  color: var(--text-sek);
  font-size: 0.92rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: 1.4em;
  font-weight: 600;
}

/* ---------- Fehlerseiten ---------- */
.error-page {
  min-height: 72vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page .code {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  color: var(--akzent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.error-page h1 {
  margin-top: 0.2em;
}
.error-page .lead {
  margin-inline: auto;
}
.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6em;
}

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Hover-Effekte (Karten) ---------- */
.ampel-card,
.profile-chip,
.price-card,
.step,
.shot img {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}
.ampel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--schatten);
}
.profile-chip:hover {
  transform: translateY(-4px);
  border-color: var(--akzent);
  box-shadow: var(--schatten-s);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--akzent);
  box-shadow: var(--schatten);
}
.price-card.featured:hover {
  transform: translateY(-8px);
}
.step:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.shot img:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -20px rgba(20, 80, 58, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .ampel-card:hover,
  .profile-chip:hover,
  .price-card:hover,
  .price-card.featured:hover,
  .step:hover,
  .shot img:hover {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .feature,
  .feature.reverse .feature-text,
  .privacy-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature.reverse .feature-text {
    order: 0;
  }
  .feature-img {
    order: -1;
  }
  .ampel-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav.open + .mobile-menu,
  .mobile-menu.open {
    display: block;
  }
  .mobile-menu {
    display: none;
    border-bottom: 1px solid var(--linie);
    background: var(--creme);
    padding: 8px 22px 20px;
  }
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
  }
  .mobile-menu a:not(.btn) {
    display: block;
    padding: 12px 4px;
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid var(--linie);
  }
  .mobile-menu .btn {
    margin-top: 14px;
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 761px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Nach-oben-Button ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 0;
  background: var(--akzent);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--schatten-s);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
  z-index: 60;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--akzent-dunkel);
}
.to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- Cookie-Banner ---------- */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 38, 29, 0.45);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.cookie-backdrop.show {
  opacity: 1;
  visibility: visible;
}
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  width: min(640px, calc(100% - 28px));
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px -24px rgba(17, 38, 29, 0.55);
  z-index: 75;
  padding: 22px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}
.cookie-banner h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35em;
}
.cookie-banner p {
  font-size: 0.95rem;
  color: var(--text-sek);
  margin: 0 0 1rem;
}
.cookie-banner p a {
  font-weight: 600;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0.7em 1.1em;
  font-size: 0.95rem;
}
.cookie-actions .btn-text {
  background: none;
  border: 0;
  color: var(--text-sek);
  font-weight: 600;
  cursor: pointer;
  flex: 1 1 100%;
  padding: 0.4em;
}
.cookie-actions .btn-text:hover {
  color: var(--akzent);
}
/* Einstellungen-Panel (erst bei Klick sichtbar) */
.cookie-settings {
  display: none;
  margin: 4px 0 18px;
  border-top: 1px solid var(--linie);
  padding-top: 16px;
}
.cookie-settings.open {
  display: block;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linie);
}
.cookie-option:last-child {
  border-bottom: 0;
}
.cookie-option .label {
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 0.15em;
}
.cookie-option .desc {
  font-size: 0.86rem;
  color: var(--text-sek);
  margin: 0;
}
/* Schalter */
.switch {
  flex: none;
  position: relative;
  width: 46px;
  height: 26px;
  margin-top: 2px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.switch .slider {
  position: absolute;
  inset: 0;
  background: #cdd3c8;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease;
}
.switch input:checked + .slider {
  background: var(--akzent);
}
.switch input:checked + .slider::before {
  transform: translateX(20px);
}
.switch input:disabled {
  cursor: not-allowed;
}
.switch input:disabled + .slider {
  background: var(--akzent);
  opacity: 0.55;
}

@media (max-width: 520px) {
  .cookie-actions .btn {
    flex: 1 1 100%;
  }
}
