/* BestatterAI — Landingpage
   Bewusst ohne externe Requests (keine Google Fonts / CDN / Tracker) –
   DSGVO-freundlich, da keine IP-Adressen an Dritte übertragen werden.
   Schrift: hochwertiger System-Font-Stack. */

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-2: #f4f1ea;
  --ink: #1d231f;
  --muted: #5e665f;
  --pine: #2c4034;
  --pine-700: #21302a;
  --accent: #a8884f;
  --accent-700: #8a6f3d;
  --line: #e7e2d6;
  --shadow: 0 1px 2px rgba(28, 36, 31, .04), 0 12px 32px -12px rgba(28, 36, 31, .12);
  --shadow-lg: 0 2px 6px rgba(28, 36, 31, .06), 0 28px 60px -20px rgba(28, 36, 31, .22);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 .5em; }
h3 { font-size: 1.28rem; margin: 0 0 .35em; }
p { margin: 0 0 1rem; }
a { color: var(--pine); text-decoration-color: rgba(44, 64, 52, .3); text-underline-offset: 3px; }
a:hover { color: var(--accent-700); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-700); margin: 0 0 1rem;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 42ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pine); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--pine-700); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: #d8d2c4; color: var(--ink); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(250, 248, 243, .82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--pine); color: #fff; font-size: .95rem; box-shadow: var(--shadow);
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .96rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links .hide-sm { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 132px) 0 clamp(48px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(168, 136, 79, .14), transparent 60%),
    radial-gradient(55% 55% at 8% 0%, rgba(44, 64, 52, .10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero .sub-note { margin-top: 1.1rem; font-size: .9rem; color: var(--muted); }

/* Mock panel in hero */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.2rem;
}
.panel-head { display: flex; align-items: center; gap: .5rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #d9d3c5; }
.dot.g { background: #9fbfa6; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-left: auto; }
.wave i { width: 3px; border-radius: 2px; background: var(--pine); opacity: .55; }
.row-item { display: flex; align-items: flex-start; gap: .7rem; padding: .6rem .2rem; border-bottom: 1px dashed var(--line); }
.row-item:last-child { border-bottom: 0; }
.tag { font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 6px; background: var(--surface-2); color: var(--pine); white-space: nowrap; }
.tag.gold { background: rgba(168,136,79,.14); color: var(--accent-700); }
.row-item .t { font-weight: 600; font-size: .92rem; }
.row-item .s { font-size: .82rem; color: var(--muted); }

/* Sections */
section { padding-block: clamp(56px, 9vw, 104px); }
.section-head { max-width: 56ch; margin: 0 auto clamp(2rem, 5vw, 3.4rem); }

/* Trust strip */
.trust { padding-block: 28px; border-block: 1px solid var(--line); background: var(--surface); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.4rem; }
.trust span { font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; }
.trust .ck { color: var(--pine); font-weight: 700; }

/* Feature cards */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--pine); margin-bottom: 1rem; font-size: 1.3rem;
}

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem 1.6rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.1rem; color: var(--accent-700);
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; margin-bottom: .9rem; background: var(--bg);
}

/* Security band */
.band { background: var(--pine); color: #eef1ec; }
.band h2, .band h3 { color: #fff; }
.band .lead, .band p, .band li { color: #d4ddd4; }
.band .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); box-shadow: none; }
.band .icon { background: rgba(255,255,255,.1); color: #fff; }
.band a { color: #f0e6d2; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow); position: relative;
}
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
@media (max-width: 980px) { .price-card.featured { transform: none; } }
.badge-top {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px;
}
.plan-name { font-family: var(--serif); font-size: 1.4rem; }
.price { display: flex; align-items: baseline; gap: .3rem; margin: .6rem 0 .2rem; }
.price .amount { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; }
.price .per { color: var(--muted); font-size: .95rem; }
.plan-note { font-size: .84rem; color: var(--muted); margin-bottom: 1.2rem; }
.features { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .65rem; }
.features li { display: flex; gap: .6rem; font-size: .95rem; align-items: flex-start; }
.features .ck { color: var(--pine); font-weight: 800; flex: none; }
.price-card .btn { margin-top: auto; width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: .8rem; padding: 0 1.2rem; box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; font-weight: 600; padding: 1.1rem 0; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-700); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > p { padding-bottom: 1.1rem; margin: 0; color: var(--muted); }

/* Final CTA */
.cta-final { text-align: center; }
.cta-final .box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2.4rem, 6vw, 4rem); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(70% 120% at 50% 0%, rgba(168,136,79,.1), transparent 60%);
}

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.footer-grid h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.footer-grid a:hover { color: var(--accent-700); }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; color: var(--muted); }

/* Legal pages */
.legal { max-width: 800px; }
.legal h1 { margin-bottom: .2em; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.legal p, .legal li { color: #33392f; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal .note { background: var(--surface-2); border-left: 3px solid var(--accent); padding: 1rem 1.2rem; border-radius: 8px; font-size: .92rem; }
.legal table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .92rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); }
.back-link { display: inline-flex; gap: .4rem; margin-bottom: 1.5rem; font-size: .9rem; text-decoration: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
