/* toolbix.de – Farben aus der App (AccentColor #0F6E56, Schloss #F8C878) */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("/fonts/sora-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #F7F8F6;
  --surface: #FFFFFF;
  --ink: #14211D;
  --muted: #5B6A65;
  --line: #E1E6E3;
  --green: #0F6E56;
  --green-dark: #08503F;
  --green-soft: #E5F1EC;
  --gold: #F8C878;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(20, 33, 29, .05), 0 12px 32px rgba(20, 33, 29, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: "Sora", "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 248, 246, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px/1 "Sora", sans-serif; letter-spacing: .01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.brand b { color: var(--green); font-weight: 700; }
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--green); }
.nav .lang { color: var(--muted); font-weight: 400; }
.nav .lang strong { color: var(--ink); }
@media (max-width: 760px) { .nav .opt { display: none; } }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary svg { width: 20px; height: 20px; }
.btn-ghost { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hint { font-size: 14px; color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--green); }
.phones { position: relative; height: 600px; }
.phone { position: absolute; width: 270px; aspect-ratio: 1320 / 2868; border-radius: 44px; padding: 9px; background: #101614; box-shadow: 0 30px 60px rgba(8, 80, 63, .25), 0 0 0 1px rgba(0,0,0,.06); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phones .p1 { left: 50%; top: 0; transform: translateX(-62%) rotate(-3deg); z-index: 2; }
.phones .p2 { left: 50%; top: 48px; transform: translateX(2%) rotate(4deg); }
.hero .phones { max-width: 100%; }
.hero { overflow-x: clip; }
.blob { position: absolute; inset: 40px -40px 0 0; background: radial-gradient(closest-side, var(--green-soft), transparent); z-index: -1; }
@media (max-width: 900px) {
  .hero .hero-grid { grid-template-columns: 1fr; }
  .phones { height: 520px; }
  .phone { width: 230px; }
}

/* Vorteile-Leiste */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 24px 0 0; }
.pillar { background: var(--surface); padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; }
.pillar svg { flex: none; width: 26px; height: 26px; color: var(--green); }
.pillar strong { display: block; font-size: 16px; }
.pillar span { font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Abschnitte */
section.block { padding: 96px 0 0; }
.head { max-width: 680px; margin-bottom: 40px; }

/* Werkzeuge */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool { background: var(--surface); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.tool .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.tool .ic svg { width: 26px; height: 26px; }
.tool p { color: var(--muted); font-size: 15.5px; margin: 0; }
.c-green { background: var(--green); } .c-orange { background: #E4644A; } .c-blue { background: #2F74D0; }
.c-violet { background: #7A55D3; } .c-amber { background: #D99A1E; } .c-slate { background: #626B74; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; } }

/* Vorgestellt (Bild + Text im Wechsel) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0 0; }
.feature.rev .shot { order: 2; }
.feature .shot { display: flex; justify-content: center; position: relative; }
.feature .shot::before { content: ""; position: absolute; inset: 10% 6%; background: var(--green-soft); border-radius: 40px; z-index: 0; }
.feature .phone { position: relative; z-index: 1; width: 260px; }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; }
.feature li { padding: 8px 0 8px 34px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6E56' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.rev .shot { order: 0; }
}

/* Datenschutz-Band */
.band { margin-top: 96px; background: var(--green-dark); color: #fff; border-radius: 32px; padding: 64px 56px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(248, 200, 120, .28), transparent); }
.band .eyebrow { color: var(--gold); }
.band h2 { max-width: 16em; }
.band p { color: rgba(255,255,255,.82); max-width: 38em; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; position: relative; z-index: 1; }
.band-grid div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.band-grid strong { display: block; margin-bottom: 6px; }
.band-grid span { color: rgba(255,255,255,.75); font-size: 15px; }
@media (max-width: 760px) { .band { padding: 44px 24px; border-radius: 24px; } .band-grid { grid-template-columns: 1fr; } }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price.main { box-shadow: 0 0 0 2px var(--green), var(--shadow); position: relative; }
.price .tag { position: absolute; top: -13px; left: 26px; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.price h3 { margin-bottom: 4px; }
.amount { font: 700 40px/1.1 "Sora", sans-serif; letter-spacing: -.02em; margin: 14px 0 2px; }
.amount small { font: 400 15px "Inter", sans-serif; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 15.5px; }
.price li { padding: 6px 0 6px 26px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 600; }
.steps { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 32px; color: var(--muted); font-size: 15.5px; }
.steps span { display: inline-flex; align-items: center; gap: 10px; }
.steps b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 13px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; max-width: 520px; } }

/* Fragen */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border-radius: 16px; margin-bottom: 10px; box-shadow: 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Schluss + Fuß */
.cta { text-align: center; padding: 110px 0 90px; }
.cta img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: var(--shadow); background: #fff; }
.cta .btns { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--green); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Sprachauswahl */
details.lang { position: relative; }
details.lang summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
details.lang summary::-webkit-details-marker { display: none; }
details.lang summary::after { content: " ▾"; color: var(--muted); }
details.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
details.lang li a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14.5px; }
details.lang li a:hover { background: var(--green-soft); }
details.lang li a[aria-current] { font-weight: 600; color: var(--green); }
