/* osonne Landingpage – mobil zuerst, für Traffic aus Instagram */
/* Schriften lokal (statt Google Fonts) – SIL Open Font License, variable Schriften */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("assets/fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0d1b14;
  --ink-2: #3b4a42;
  --muted: #6b7a71;
  --line: #e2e9e3;
  --soft: #f3f7f3;
  --brand: #01ff00;        /* Logo-Grün */
  --brand-hover: #3dff3b;
  --brand-ink: #0a7d1c;    /* lesbares Grün auf Weiß */
  --brand-tint: #e7fde5;
  --err: #c43d3d;
  --r-lg: 24px;
  --r: 16px;
  --shadow: 0 2px 4px rgba(13,27,20,.04), 0 24px 48px -20px rgba(13,27,20,.22);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--head); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(2.05rem, 7vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); font-weight: 800; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 18px; }

/* Buttons */
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 56px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--brand); color: var(--ink); white-space: nowrap;
  font: 800 1.02rem/1 var(--head); letter-spacing: -.01em; text-decoration: none;
  cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--brand-hover); box-shadow: 0 10px 24px -10px rgba(1,200,0,.6); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .tile:focus-visible, .back:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--big { min-height: 62px; font-size: 1.08rem; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--soft); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--sm { min-height: 44px; font-size: .9rem; width: auto; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.top__logo { height: 20px; width: auto; }
.top__call { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: .9rem; text-decoration: none; }
.top__call svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }

/* Hero */
.hero { text-align: center; padding: 22px 0 40px; background: radial-gradient(600px 300px at 100% 0%, rgba(1,255,0,.12), transparent 70%); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
h1 { position: relative; z-index: 0; }
.hl { background: linear-gradient(var(--brand), var(--brand)) 0 86% / 100% .24em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sub { font-size: 1.06rem; color: var(--ink-2); margin: 0 0 20px; }

/* Formular-Karte */
.card { text-align: left; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px 18px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 72px; }
.progress { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--soft); }
.progress span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .35s ease; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: in .3s ease; }
.step.is-back { animation-name: inBack; }
@keyframes in { from { opacity: 0; transform: translateX(16px); } }
@keyframes inBack { from { opacity: 0; transform: translateX(-16px); } }
legend { width: 100%; text-align: center; font: 800 1.22rem/1.25 var(--head); letter-spacing: -.02em; padding: 0; margin-bottom: 16px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 132px; padding: 14px 8px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); font: inherit; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s; -webkit-tap-highlight-color: transparent;
}
.tile svg { width: 42px; height: 42px; margin-bottom: 4px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile strong { font: 700 .98rem/1.2 var(--head); letter-spacing: -.01em; }
.tile small { color: var(--muted); font-size: .82rem; }
.tile:hover { border-color: var(--ink); }
.tile:active { transform: scale(.98); }
.tile.is-selected { border-color: var(--ink); background: var(--brand-tint); }
.tile.is-selected svg { stroke: var(--brand-ink); }

.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field[hidden] { display: none; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input { width: 100%; height: 56px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 500 1.08rem var(--body); transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #a3aea7; font-weight: 400; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--brand-tint); }
.field input.is-invalid { border-color: var(--err); }
.note { min-height: 1.4em; margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
.note.ok { color: var(--brand-ink); } .note.warn { color: #9a5b00; } .note.err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal-hint { margin: 12px 0 0; font-size: .78rem; line-height: 1.45; color: var(--muted); text-align: center; }
.back { display: block; margin: 12px auto 0; padding: 8px 12px; border: 0; background: none; color: var(--muted); font: 500 .9rem var(--body); cursor: pointer; }
.back[hidden] { display: none; }
.back:hover { color: var(--ink); }

.step--done { text-align: center; padding: 8px 0 4px; }
.step--done:focus { outline: none; }
.step--done p { color: var(--ink-2); margin: 0 0 18px; }
.done__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.done__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: .86rem; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230a7d1c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* So geht's */
.how h2, .faq h2 { text-align: center; }
.how { padding: 48px 0; background: var(--soft); }
.how ol { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.how li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; background: #fff; border-radius: var(--r); padding: 16px; }
.how li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--brand); display: grid; place-items: center; font: 800 1rem var(--head); }
.how li strong { font-family: var(--head); letter-spacing: -.01em; }
.how li span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { padding: 48px 0 32px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; position: relative; padding: 18px 40px 18px 0; font: 700 1.02rem/1.35 var(--head); letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font: 600 1.1rem/1 var(--body); transition: transform .2s, background .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--brand); }
details p { margin: -4px 0 18px; color: var(--ink-2); }

/* Footer */
.foot { padding: 24px 0 110px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); text-align: center; }
.foot p { margin: 0 0 6px; }
.foot a { color: var(--muted); }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.linklike[hidden] { display: none; }

/* Sticky-CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.sticky.is-visible { transform: none; }
.sticky .btn { max-width: 524px; margin: 0 auto; }

/* Cookie-Hinweis */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; max-width: 520px; margin: 0 auto; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); font-size: .88rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; color: var(--ink-2); text-align: center; }
.consent__btns { display: flex; gap: 8px; justify-content: center; }

/* Rechtstexte */
.legal { padding-top: 32px; padding-bottom: 64px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.15rem; margin-top: 1.8em; }
.legal p { color: var(--ink-2); }
.todo { background: #fff3cd; padding: 1px 5px; border-radius: 4px; }

@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .sticky { display: none; }
  .foot { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
