/* Stundenplan Designer – Werbeseite sp-designer.de
   Keine externen Schriften, Skripte oder Cookies. */

:root {
  color-scheme: light;
  --green-900: #0d3d27;
  --green-800: #125c3a;
  --green-700: #1b7a4e;
  --green-600: #22935e;
  --green-500: #2fb374;
  --mint-100: #eaf6ef;
  --mint-50: #f4faf6;
  --ink: #15211b;
  --ink-soft: #4b5a52;
  --line: #d6e7dc;
  --white: #ffffff;
  --sun: #ffc93c;
  --pink: #ff6fa5;
  --sky: #4fb3ff;
  --radius: 22px;
  --shadow-sm: 0 2px 8px rgba(13, 61, 39, .08);
  --shadow: 0 18px 50px -18px rgba(13, 61, 39, .35);
  --shadow-lg: 0 40px 90px -30px rgba(13, 61, 39, .55);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: #fff; font: 700 1.02rem/1 var(--font); text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(27, 122, 78, .8);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(27, 122, 78, .9); }
.btn--small { padding: 11px 18px; font-size: .92rem; }
.btn--ghost { background: var(--white); color: var(--green-800); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--green-600); }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.brand img { border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--green-700); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mint-100) 0%, var(--white) 100%); padding: 56px 0 72px; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(47, 179, 116, .28), transparent 62%);
  pointer-events: none;
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--white); color: var(--green-800); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(47, 179, 116, .2); }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); font-weight: 900; margin: 20px 0 18px; color: var(--green-900); }
.grad { background: linear-gradient(100deg, var(--green-600) 0%, #23b5a0 45%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 34em; }
.lead strong { color: var(--ink); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stores--center { justify-content: center; }
.store { display: inline-block; border-radius: 12px; transition: transform .2s; }
.store:hover { transform: translateY(-2px) scale(1.02); }
.store img { height: 54px; width: auto; }
.store[aria-disabled="true"] { cursor: default; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks li { position: relative; padding-left: 28px; font-weight: 600; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-600) 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-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.checks--list { flex-direction: column; gap: 12px; margin: 22px 0 28px; }
.checks--list li { color: var(--ink); font-weight: 500; }

/* Hero-Visual */
.hero__visual { position: relative; height: 600px; }
.phone {
  position: relative; border-radius: 44px; padding: 10px; background: #0f1512;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c3631;
}
.phone img { border-radius: 34px; width: 100%; height: auto; }
.phone--hero { position: absolute; left: 50%; top: 10px; width: 270px; transform: translateX(-50%) rotate(2deg); z-index: 3; animation: float 7s ease-in-out infinite; }
.card-tilt {
  position: absolute; margin: 0; width: 330px; border-radius: 18px; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow); background: #fff;
}
.card-tilt img { width: 100%; }
.card-tilt--a { left: -10px; top: 70px; transform: rotate(-9deg); z-index: 2; animation: float 8s ease-in-out -2s infinite; }
.card-tilt--b { right: -30px; top: 24px; transform: rotate(8deg); z-index: 1; animation: float 9s ease-in-out -4s infinite; }
.card-tilt--c { right: -10px; bottom: 30px; transform: rotate(-5deg); z-index: 4; width: 290px; animation: float 7.5s ease-in-out -1s infinite; }
.bubble {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  font-weight: 700; font-size: .95rem; color: var(--ink);
}
.bubble img { width: 42px; height: 42px; }
.bubble b { color: var(--green-700); font-size: 1.15rem; }
.bubble--1 { left: 0; bottom: 120px; animation: float 6s ease-in-out -3s infinite; }
.bubble--2 { right: 10px; top: 300px; animation: float 6.5s ease-in-out -1s infinite; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- Zahlen ---------- */
.stats { background: var(--green-800); color: #fff; }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 0; }
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .16); }
.stat b { display: block; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-weight: 600; opacity: .8; font-size: .95rem; }

/* ---------- Laufband ---------- */
.marquee { padding: 34px 0; background: var(--white); overflow: hidden; display: grid; gap: 16px; }
.marquee__row { display: flex; gap: 16px; width: max-content; animation: scroll 70s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.mini { position: relative; flex: none; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.mini img { width: 230px; height: 163px; object-fit: cover; }
.mini::after {
  content: ""; position: absolute; left: var(--x, 15%); top: var(--y, 17%); width: var(--w, 70%); height: var(--h, 66%); border-radius: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 72' preserveAspectRatio='none'%3E%3Crect width='120' height='72' fill='white'/%3E%3Cg fill='%23e8f1ec'%3E%3Crect x='1' y='1' width='118' height='10'/%3E%3C/g%3E%3Cg opacity='.9'%3E%3Crect x='22' y='13' width='18' height='10' fill='%23ffd9d2'/%3E%3Crect x='42' y='13' width='18' height='10' fill='%23cfe5ff'/%3E%3Crect x='62' y='13' width='18' height='10' fill='%23ffd9d2'/%3E%3Crect x='82' y='13' width='18' height='10' fill='%23d4f2d7'/%3E%3Crect x='102' y='13' width='17' height='10' fill='%23cfe5ff'/%3E%3Crect x='22' y='25' width='18' height='10' fill='%23cfe5ff'/%3E%3Crect x='42' y='25' width='18' height='10' fill='%23ffd9d2'/%3E%3Crect x='62' y='25' width='18' height='10' fill='%23ffe9b8'/%3E%3Crect x='82' y='25' width='18' height='10' fill='%23cfe5ff'/%3E%3Crect x='102' y='25' width='17' height='10' fill='%23ffd9d2'/%3E%3Crect x='22' y='37' width='18' height='10' fill='%23d4f2d7'/%3E%3Crect x='42' y='37' width='18' height='10' fill='%23c9f0ea'/%3E%3Crect x='62' y='37' width='18' height='10' fill='%23cfe5ff'/%3E%3Crect x='82' y='37' width='18' height='10' fill='%23ffd9d2'/%3E%3Crect x='102' y='37' width='17' height='10' fill='%23f4d6f7'/%3E%3Crect x='22' y='49' width='18' height='10' fill='%23ffe9b8'/%3E%3Crect x='42' y='49' width='18' height='10' fill='%23c9f0ea'/%3E%3Crect x='62' y='49' width='18' height='10' fill='%23fbe0c8'/%3E%3Crect x='82' y='49' width='18' height='10' fill='%23e6e0fa'/%3E%3Crect x='102' y='49' width='17' height='10' fill='%23f4d6f7'/%3E%3Crect x='22' y='61' width='18' height='10' fill='%23f4d6f7'/%3E%3Crect x='42' y='61' width='18' height='10' fill='%23e6e0fa'/%3E%3Crect x='62' y='61' width='18' height='10' fill='%23d4f2d7'/%3E%3Crect x='82' y='61' width='18' height='10' fill='%23c9f0ea'/%3E%3Crect x='102' y='61' width='17' height='10' fill='%23fbe0c8'/%3E%3C/g%3E%3Cg fill='%23f3f5f4'%3E%3Crect x='1' y='13' width='19' height='10'/%3E%3Crect x='1' y='25' width='19' height='10'/%3E%3Crect x='1' y='37' width='19' height='10'/%3E%3Crect x='1' y='49' width='19' height='10'/%3E%3Crect x='1' y='61' width='19' height='10'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.mini--bw::after { filter: grayscale(1) contrast(.2) brightness(1.6); outline: 1px solid #333; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--mint-50); }
.head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; color: var(--green-600); margin-bottom: 12px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; color: var(--green-900); }
.sub { margin-top: 16px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); }
.note { font-size: .88rem; color: var(--ink-soft); }
.note--center { text-align: center; margin-top: 24px; }

/* Probleme */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: var(--mint-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain__no { color: #b0473d; font-weight: 700; text-decoration: line-through; text-decoration-color: rgba(176, 71, 61, .5); margin-bottom: 10px; }
.pain h3 { font-size: 1.4rem; color: var(--green-800); margin-bottom: 10px; }
.pain p:last-child { color: var(--ink-soft); }

/* Demo */
.demo { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; }
.demo__paper {
  position: relative; border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); aspect-ratio: 1000 / 707;
}
.demo__frame { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.demo__table { transition: opacity .35s; }
.demo__paper.is-fading .demo__frame,
.demo__paper.is-fading .demo__table { opacity: 0; }
/* Lage kommt je Motiv aus FRAMES (script.js) = safeFrame der App */
.demo__table {
  position: absolute; left: 14.5%; top: 17%; width: 71%; height: 67%;
  background: var(--grid, #327340); border: 1.5px solid var(--grid, #327340);
  border-radius: 8px; overflow: hidden; display: grid;
  grid-template-columns: 1.15fr repeat(5, 1fr); grid-auto-rows: 1fr; gap: 1px;
  font-size: clamp(6px, 1.05vw, 12.5px); font-weight: 650; color: #24312a;
}
.demo__table div { display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.1; padding: 1px 2px; overflow: hidden; background: #fff; }
.demo__table .h { background: var(--th, #e8f1ec); font-weight: 800; }
.demo__table .t { background: var(--th, #f3f5f4); font-size: .82em; color: #55625b; }
.demo__caption { text-align: center; margin-top: 18px; font-weight: 700; color: var(--green-800); }
.demo__controls { display: grid; gap: 14px; }
.demo__count { font-size: .9rem; font-weight: 700; color: var(--green-700); }

/* Kategorie-Reiter */
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 auto 34px; max-width: 980px;
}
.tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 2px solid var(--line); font: 700 .92rem var(--font); color: var(--ink-soft);
  white-space: nowrap; transition: border-color .2s, background .2s, color .2s;
}
.tab:hover { border-color: var(--green-500); color: var(--green-800); }
.tab[aria-selected="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; box-shadow: 0 8px 18px -10px rgba(27, 122, 78, .9); }

/* Motive der gewählten Kategorie */
.chips { display: grid; gap: 8px; }
.chip {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 6px 14px 6px 6px; border-radius: 16px; text-align: left;
  background: #fff; border: 2px solid var(--line); cursor: pointer; font: 700 1rem var(--font); color: var(--ink);
  transition: border-color .2s, transform .2s, background .2s;
}
.chip img { width: 72px; height: 51px; object-fit: cover; border-radius: 10px; flex: none; }
.chip:hover { transform: translateX(3px); border-color: var(--green-500); }
.chip[aria-checked="true"] { border-color: var(--green-700); background: var(--mint-100); }
.chip[aria-checked="true"]::after { content: "✓"; margin-left: auto; color: var(--green-700); font-weight: 900; }
#demoRandom { justify-self: start; }

/* Hinweis: nur ein Auszug */
.teaser {
  margin: 44px auto 0; max-width: 900px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 20px 22px 20px 28px; border-radius: 22px; background: #fff; border: 2px dashed var(--green-500);
}
.teaser p { color: var(--ink-soft); }
.teaser strong { color: var(--green-900); }
.teaser .btn { flex: none; }

/* Schritte */
.steps { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.steps h2 { margin-bottom: 30px; }
.steplist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steplist button {
  width: 100%; display: flex; gap: 18px; align-items: flex-start; text-align: left; cursor: pointer;
  padding: 18px 20px; border-radius: 18px; border: 2px solid transparent; background: transparent;
  font: inherit; color: inherit; transition: background .25s, border-color .25s;
}
.steplist button:hover { background: var(--mint-50); }
.steplist b {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint-100); color: var(--green-700); font-size: 1.1rem; transition: background .25s, color .25s;
}
.steplist strong { display: block; font-size: 1.18rem; color: var(--green-900); margin-bottom: 2px; }
.steplist span { color: var(--ink-soft); }
.steplist .is-active button { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.steplist .is-active b { background: var(--green-700); color: #fff; }
.steps__visual { display: grid; place-items: center; position: relative; }
.steps__visual::before {
  content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--mint-100) 0%, transparent 65%);
}
.phone--steps { width: min(320px, 80vw); }
.phone--steps img { transition: opacity .3s; }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature img { width: 72px; height: 72px; margin-bottom: 16px; }
.feature h3 { font-size: 1.2rem; color: var(--green-900); margin-bottom: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.feature p { color: var(--ink-soft); font-size: .97rem; }
.tag { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; background: linear-gradient(135deg, #ffd768, #f7a928); color: #5a3a00; }

/* Ausmalen */
.color { background: radial-gradient(circle at 80% 20%, #fff7d6 0%, transparent 45%), radial-gradient(circle at 10% 90%, #ffe3ef 0%, transparent 40%), #fff; }
.color__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.color__text h2 { margin-bottom: 4px; }
.checks--dark { flex-direction: column; gap: 10px; }
.checks--dark li { color: var(--ink); }
.color__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.color__grid img { border-radius: 14px; box-shadow: var(--shadow); border: 5px solid #fff; transition: transform .3s; }
.color__grid img:nth-child(1) { transform: rotate(-3deg); }
.color__grid img:nth-child(2) { transform: rotate(2deg) translateY(18px); }
.color__grid img:nth-child(3) { transform: rotate(2deg); }
.color__grid img:nth-child(4) { transform: rotate(-2deg) translateY(18px); }
.color__grid img:hover { transform: scale(1.04) rotate(0); z-index: 2; }

/* Kategorien */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat img { width: 100%; aspect-ratio: 640 / 453; object-fit: cover; }
.cat figcaption { padding: 12px 16px; font-weight: 700; color: var(--green-900); display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.free { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: var(--mint-100); color: var(--green-700); }
.cat--cta {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-decoration: none;
  background: linear-gradient(140deg, var(--green-600), var(--green-900)); color: #fff; border: 0; min-height: 180px; text-align: center; padding: 20px;
}
.cat--cta span { font-size: 1.9rem; font-weight: 900; }
.cat--cta b { font-size: 1rem; opacity: .9; }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience article { padding: 28px 24px; border-radius: var(--radius); background: var(--mint-50); border: 1px solid var(--line); }
.emoji { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.audience h3 { font-size: 1.25rem; color: var(--green-900); margin-bottom: 8px; }
.audience p { color: var(--ink-soft); }

/* Preis */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border-radius: 26px; padding: 36px 32px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.3rem; color: var(--green-800); }
.price { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: 3.2rem; font-weight: 900; letter-spacing: -.03em; color: var(--green-900); line-height: 1; }
.price span { font-weight: 700; color: var(--ink-soft); }
.plan__lead { color: var(--ink-soft); }
.plan .btn { margin-top: auto; }
.plan--pro { background: linear-gradient(160deg, #ffffff 0%, var(--mint-100) 100%); border: 2px solid var(--green-600); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -14px; right: 24px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #ffd768, #f7a928); color: #5a3a00; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--mint-50); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; transition: background .2s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; font-size: 1.08rem; color: var(--green-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 400; color: var(--green-600); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); }

/* Finale */
.final { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 120px) 0; color: #fff; text-align: center;
  background: radial-gradient(circle at 20% 10%, rgba(47, 179, 116, .55), transparent 50%), radial-gradient(circle at 85% 90%, rgba(79, 179, 255, .35), transparent 45%), var(--green-900); }
.final__in { display: grid; justify-items: center; gap: 18px; }
.final__icon { border-radius: 26px; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .6); }
.final h2 { color: #fff; max-width: 14em; }
.final p { font-size: 1.15rem; opacity: .88; }
.final .stores { margin-top: 10px; }
.final__small { font-size: .92rem !important; opacity: .7 !important; }

/* Footer */
.footer { background: #fff; padding: 44px 0 110px; border-top: 1px solid var(--line); }
.footer__in { display: grid; justify-items: center; gap: 14px; text-align: center; color: var(--ink-soft); font-size: .95rem; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-weight: 700; text-decoration: none; }
.footer__legal { font-size: .78rem; max-width: 60em; opacity: .8; }

/* Sticky-CTA (mobil) */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; gap: 12px;
  padding: 10px 10px 10px 12px; border-radius: 20px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .35s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta img { border-radius: 10px; }
.sticky-cta span { flex: 1; font-size: .82rem; color: var(--ink-soft); line-height: 1.25; }
.sticky-cta span b { display: block; color: var(--ink); font-size: .95rem; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__in .btn { margin-left: auto; }
  .hero { padding-top: 32px; }
  .hero__in { grid-template-columns: 1fr; text-align: center; }
  .hero__text { display: grid; justify-items: center; }
  .lead { margin-inline: auto; }
  .stores, .checks { justify-content: center; }
  .hero__visual { height: 520px; width: min(520px, 100%); margin: 10px auto 0; }
  .card-tilt { width: 250px; }
  .card-tilt--c { width: 220px; }
  .phone--hero { width: 230px; }
  .demo, .steps, .color__in { grid-template-columns: 1fr; }
  .demo { gap: 24px; }
  .demo__controls { justify-items: center; text-align: center; min-width: 0; }
  #demoRandom { justify-self: center; }
  .tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin: 0 -16px 26px; padding: 4px 16px 8px; scroll-padding-inline: 16px;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .chips {
    width: 100%; grid-auto-flow: column; grid-auto-columns: 132px; overflow-x: auto; scrollbar-width: none;
    padding: 2px 2px 6px; justify-content: safe center;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-direction: column; gap: 6px; padding: 6px 6px 10px; text-align: center; font-size: .85rem; line-height: 1.2; }
  .chip img { width: 100%; height: auto; aspect-ratio: 1000 / 707; }
  .chip:hover { transform: none; }
  .chip[aria-checked="true"]::after { display: none; }
  .teaser { flex-direction: column; text-align: center; padding: 22px 20px; }
  .steps__text { text-align: center; }
  .steplist { text-align: left; }
  .color__text { text-align: center; }
  .color .checks { width: fit-content; margin-inline: auto; text-align: left; align-items: flex-start; }
  .pains { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: minmax(0, 460px); }
  .sticky-cta { display: flex; }
}

@media (max-width: 560px) {
  .nav__in { gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: .9rem; white-space: nowrap; }
  .nav__in .btn { white-space: nowrap; padding: 10px 14px; font-size: .85rem; }
  .stats__in { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .hero__visual { height: 430px; }
  .card-tilt { width: 190px; border-width: 4px; }
  .card-tilt--a { left: -6px; top: 40px; }
  .card-tilt--b { right: -14px; top: 10px; }
  .card-tilt--c { width: 170px; right: -6px; bottom: 30px; }
  .phone--hero { width: 190px; border-radius: 34px; padding: 7px; }
  .phone--hero img { border-radius: 27px; }
  .bubble { font-size: .82rem; padding: 7px 12px 7px 7px; }
  .bubble img { width: 32px; height: 32px; }
  .bubble--1 { left: 0; bottom: 70px; }
  .bubble--2 { right: 0; top: 240px; }
  .store img { height: 48px; }
  .mini img { width: 170px; height: 120px; }
  .features, .audience { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat figcaption { font-size: .85rem; padding: 10px 12px; flex-wrap: wrap; }
  .cat--cta span { font-size: 1.4rem; }
  .plan { padding: 30px 22px; }
  .demo__table { border-width: 1px; border-radius: 5px; }
}

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

/* ---------- Rechtliche Seiten ---------- */
.nav__cta { margin-left: auto; }
.legal { background: var(--mint-50); padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal__in { max-width: 780px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.legal__back { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: 18px; font-size: .95rem; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 900; color: var(--green-900); margin-bottom: 10px; }
.legal h2 { font-size: 1.22rem; color: var(--green-800); margin: 34px 0 10px; letter-spacing: -.01em; }
.legal p, .legal address, .legal li { color: var(--ink-soft); font-style: normal; overflow-wrap: anywhere; }
.legal p + p { margin-top: 10px; }
.legal__scope { font-size: 1.05rem; }
.legal__summary { margin-top: 26px; padding: 6px 24px 22px; border-radius: 18px; background: var(--mint-100); }
.legal__summary h2 { margin-top: 18px; }
.legal__summary .checks--list { margin: 14px 0 0; }
.legal__list { padding-left: 1.2em; margin: 10px 0; display: grid; gap: 6px; }
.legal__stand { margin-top: 26px !important; font-weight: 700; }
.footer__links a[aria-current="page"] { color: var(--ink); }
.legal ~ .footer { padding-bottom: 44px; }
.legal__objection { margin-top: 14px !important; }
.legal__end { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
