/* Design tokens */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #047857;
  --radius: 12px;
  --shadow-float: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 32px rgba(0, 0, 0, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font);
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
main { display: block; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
a { color: var(--accent); }

.container {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Skip-to-content - visible only on keyboard focus */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 0;
}
.skip-to-content:focus { left: 0; }

/* Floating glass nav island - fixed, centered, pulled off the edges so
   content can pass underneath and actually get blurred by it. */
#site-menu-wrap {
  position: fixed;
  top: 1.1rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
  pointer-events: none;
}
#site-menu {
  pointer-events: auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 52rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0.55)) border-box;
  backdrop-filter: blur(30px) saturate(2);
  -webkit-backdrop-filter: blur(30px) saturate(2);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -1px 1px rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.7rem 1.5rem;
}
/* Specular highlight that tracks the cursor (assets/js/main.js sets --mx/--my
   on this element on mousemove) - the defining trait of a real glass/lens
   material versus flat frosted-glass. Falls back to a fixed soft highlight
   near the top-left when JS hasn't set the vars yet (no-JS/first paint). */
.glass-specular {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    140px circle at var(--mx, 30%) var(--my, 20%),
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.35) 45%,
    transparent 72%
  );
  transition: opacity 0.2s ease;
}
/* Derselbe Fehler wie bei der hervorgehobenen Preiskarte: der Glanzpunkt ist
   absolut positioniert und malt damit über den nicht positionierten Inhalt -
   beim Zeigen auf einen Link zog ein weißer Fleck über genau dessen Schrift.
   Das Glas bleibt, die Wörter kommen zurück nach vorn. */
#site-menu > :not(.glass-specular) {
  position: relative;
  z-index: 1;
}

/* Compensate for the nav leaving normal document flow */
#main { padding-top: 5.5rem; }
.site-menu-mark { width: 2rem; height: 2rem; display: block; }

.site-menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.site-menu-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; }
/* Die Links tragen ihren Abstand als Polsterung, nicht als Lücke: dadurch hat
   der Hover eine Fläche, auf der er stattfinden kann. */
.site-menu-links a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
/* Ein Hover, der die Schrift ausbleichen lässt, sagt das Gegenteil von dem,
   was er soll - unter dem Zeiger wird etwas deutlicher, nicht schwächer. */
.site-menu-links a:not(.btn):hover { background: rgba(29, 29, 31, 0.07); }
.site-menu-links .btn { margin-left: 0.5rem; }

.site-menu-brand:focus-visible,
.site-menu-links a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Auf dem Telefon passte die Leiste in drei Reihen und verdeckte, fest wie
   sie steht, den halben ersten Bildschirm. Die Abschnittslinks fallen dort
   weg - die Seite ist eine einzige lange Seite, man scrollt ohnehin daran
   vorbei. Anmelden und Registrieren bleiben, die sind kein Sprungziel. */
@media (max-width: 46rem) {
  #site-menu {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem 0.5rem 1rem;
  }
  .site-menu-links a[href^="/#"] { display: none; }
  .site-menu-mark { width: 1.7rem; height: 1.7rem; }
  .site-menu-brand { font-size: 1rem; }
}

/* Cookie banner - the one place a floating shadow still makes sense */
#cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 40rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-float);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
}
#cookie-banner[hidden] { display: none; }
#cookie-banner-title { font-size: 0.95rem; font-weight: 600; }
#cookie-banner-desc { color: var(--muted); font-size: 0.88rem; margin: 0.5rem 0 0; line-height: 1.5; }
#cookie-banner .cookie-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
#cookie-banner .cookie-categories { margin-top: 0.75rem; }
#cookie-banner .cookie-categories label { display: block; margin: 0.4rem 0; font-size: 0.88rem; }
#cookie-banner button {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
#cookie-banner #cookie-accept-all { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Print */
@media print {
  #site-menu,
  #cookie-banner,
  #cookie-banner-root,
  .site-footer-links { display: none !important; }
}

/* Buttons - used sparingly: one per section, plus one per pricing plan */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
/* Nicht über opacity: der Knopf sitzt im Menü auf Milchglas, und eine
   durchsichtige Fläche zeigt dort den verwaschenen Seiteninhalt darunter. */
.btn:hover { background: rgba(29, 29, 31, 0.07); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #3c3c3f; border-color: #3c3c3f; color: #fff; }
.btn-sm { padding: 0.45rem 1.05rem; font-size: 0.8rem; }

/* Footer */
#site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer-links { display: flex; gap: 1.5rem; }
.site-footer-links a { color: var(--muted); text-decoration: none; }
.site-footer-links a:hover { color: var(--ink); }
/* Gesetzt von main.js, wenn kein einwilligungspflichtiger Dienst geladen
   wird: der Footer-Button wuerde sonst ein Banner oeffnen, das ueber nichts
   entscheidet. Die Klasse steht auf <html>, der Button kommt asynchron per
   include.js - so greift die Regel unabhaengig von der Reihenfolge. */
.no-consent-needed #cookie-settings-button,
.no-consent-needed .cookie-settings-row { display: none; }

#cookie-settings-button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: inherit;
}

/* Hero - two-column: claim + proof side by side, so the product is visible
   without scrolling instead of asking people to take the headline on faith. */
.hero {
  position: relative;
  padding: 5rem 1.5rem 6rem;
  isolation: isolate;
}
.hero-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 1.5rem; }
.hero-subhead { font-size: 1.1rem; color: var(--muted); margin-bottom: 2.25rem; line-height: 1.55; }

/* Soft pastel glow blobs - ambient color behind the hero, page stays
   predominantly white/neutral, the color is just gently peeking through. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.hero::before {
  width: 26rem;
  height: 26rem;
  top: -8rem;
  left: -8rem;
  background: radial-gradient(circle, #6ee7c9 0%, transparent 70%);
}
.hero::after {
  width: 24rem;
  height: 24rem;
  top: -4rem;
  right: -10rem;
  background: radial-gradient(circle, #a5c9ff 0%, transparent 70%);
}

/* Hero visual - a believable WP-admin-style mockup showing real generated
   drafts. This is the one place a real elevated shadow is earned: it's a
   deliberate product showcase, not decoration. */
.hero-visual { display: flex; flex-direction: column; gap: 0.9rem; }
.mockup {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 24px 48px -12px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.mockup-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(0, 0, 0, 0.14); }
.mockup-bar-label {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mockup-list { list-style: none; margin: 0; padding: 0; }
.mockup-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.mockup-list li:last-child { border-bottom: none; }
.mockup-title {
  font-size: 0.85rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.mockup-badge {
  background: #e6f4ee;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
.hero-visual-caption {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
}
@media (max-width: 26rem) {
  .mockup-title { max-width: 9rem; }
}

/* Fließtextseiten (Impressum, Datenschutz, AGB, 404). Ihr Inhalt steht ohne
   Container direkt in <main>, lief also bis an den Fensterrand. Die Zeilenbreite
   gehoert hierher und nicht in fuenf HTML-Dateien. */
.legal #main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
}
.legal #main h1 { font-size: clamp(1.9rem, 3.5vw, 2.4rem); margin-bottom: 2rem; }
.legal #main h2 { font-size: 1.25rem; margin: 2.75rem 0 0.9rem; }
.legal #main h3 { font-size: 1.02rem; margin: 1.75rem 0 0.6rem; }
.legal #main p { margin: 0 0 1rem; line-height: 1.65; color: var(--muted); }
.legal #main p strong { color: var(--ink); font-weight: 600; }
.legal-meta { font-size: 0.9rem; }
.legal #main button {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

/* Section rhythm - alternating flat white / light-gray bands, no boxes */
#how-it-works, #what-you-get, #pricing, #faq { padding: 7rem 0; }
#how-it-works { background: var(--bg-alt); }
#faq { background: var(--bg-alt); }

/* Pricing gets its own soft glow too, echoing the hero */
#pricing { position: relative; overflow: hidden; isolation: isolate; }
#pricing::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  bottom: -14rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffd9b8 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
}
#how-it-works h2, #what-you-get h2, #pricing h2, #faq h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin: 0 0 3.5rem;
}

/* How it works - flat typographic columns, no card boxes */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2.5rem 2rem;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.6rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; line-height: 1.55; }

/* What happens per article - a plain hairline-divided list. No cards here:
   pricing right below is the only boxed thing on the page, and a second
   boxed section would take that distinction away from it. */
#what-you-get h2:has(+ .section-lead) { margin-bottom: 1.25rem; }
.section-lead {
  max-width: 40rem;
  margin: 0 auto 3.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.25rem 2.5rem;
}
.capability { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.capability h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 0.55rem; }
.capability p { color: var(--muted); margin: 0; font-size: 0.95rem; line-height: 1.55; }
/* Which plan a step belongs to, said once and quietly - the pricing table
   below is where that belongs, this is only so nobody feels sold something
   the Starter plan does not do. */
.capability-plan { display: block; margin-top: 0.5rem; color: var(--ink); font-size: 0.82rem; font-weight: 600; }

/* Pricing - stays in the same calm neutral palette as the rest of the page.
   Three plans, so three columns: the fourth option is a sentence underneath
   rather than a card, because "talk to us" is not a thing you compare
   feature by feature. */
#pricing h2:has(+ .pricing-lead) { margin-bottom: 1.25rem; }

.pricing-lead {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}
/* The head of the card is centred, the list under it is not: a ragged-left
   list of benefits is markedly harder to read than a flush one. */
.price-card h3,
.price-card .price-amount,
.price-card .price-quota,
.price-card .recommended-label { text-align: center; }
.price-card h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }

.price-quota {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.price-quota strong { color: var(--ink); font-weight: 600; }

/* Says what is not repeated below it, so each list stays short enough to
   actually be read. */
.price-includes {
  margin: 0.9rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.price-features {
  list-style: none;
  margin: 0.6rem 0 1.5rem;
  padding: 0;
  flex-grow: 1;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.price-features li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.5rem;
}
.price-features li::before {
  content: "";
  width: 0.72rem;
  height: 0.4rem;
  margin-top: 0.42rem;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* The plan without a card. A price nobody can look up does not belong in a
   column next to two that they can. */
.pricing-notes {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.pricing-notes p { margin: 0.5rem 0; }
.pricing-notes strong { color: var(--ink); font-weight: 600; }

@media (max-width: 60rem) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; }
}
/* The recommended plan gets a light glass treatment - it sits right over
   the pricing section's glow blob, so the blur has real color to pick up. */
.price-card-highlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0.55)) border-box;
  backdrop-filter: blur(28px) saturate(2);
  -webkit-backdrop-filter: blur(28px) saturate(2);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -1px 1px rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.08);
}
/* The specular highlight is absolutely positioned, so without this it paints
   over the card's own text: a 95%-white gradient sitting exactly where the
   price is. The glass stays, the words come back to full strength. */
.price-card-highlight > :not(.glass-specular) {
  position: relative;
  z-index: 1;
}

.price-card-highlight .recommended-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.price-amount { font-size: 2.25rem; font-weight: 600; margin: 0.4rem 0; letter-spacing: -0.02em; white-space: nowrap; }
.price-period { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-card .btn { margin-top: auto; }

/* FAQ - a plain divided list, not cards */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 0.5rem; }
.faq-item p { color: var(--muted); margin: 0; font-size: 0.95rem; line-height: 1.55; }

/* Final CTA */
.cta-final { max-width: 40rem; margin: 0 auto; padding: 7rem 1.5rem; text-align: center; }
.cta-final h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin: 0 0 0.85rem; }
.cta-final p { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }

#hero, #how-it-works, #what-you-get, #pricing, #faq, #cta { scroll-margin-top: 5.5rem; }

@media (max-width: 40rem) {
  #site-footer { flex-direction: column; text-align: center; }
}
