/* =========================================================
   Endlich stubenrein – Landing Page
   Farbwelt abgeleitet vom Cover: Teal #367594 + Creme #fdf4e2
   ========================================================= */

:root {
  --teal:        #367594;
  --teal-dark:   #235267;
  --teal-darker: #1a3d4d;
  --cream:       #fdf4e2;
  --cream-deep:  #f6e9cf;
  --accent:      #e8884a;   /* lebendiger Akzent – nur dekorative Flächen */
  --accent-dark: #d2733a;   /* dekorativer Hover/Flächen */
  --cta:         #b35a1b;   /* Button-Orange: weißer Text erreicht AA (4.7:1) */
  --cta-hover:   #97480f;
  --accent-text: #a8521a;   /* Orange-Text auf hellem Grund erreicht AA (4.8:1) */
  --ink:         #20323a;
  --ink-soft:    #44565e;   /* AA-konform auf Creme (6:1) */
  --white:       #ffffff;
  --line:        rgba(35, 82, 103, 0.14);
  --shadow-sm:   0 4px 14px rgba(26, 61, 77, 0.08);
  --shadow-md:   0 14px 40px rgba(26, 61, 77, 0.14);
  --shadow-lg:   0 30px 70px rgba(26, 61, 77, 0.22);
  --radius:      18px;
  --radius-sm:   12px;
  --maxw:        1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; color: var(--teal-darker); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.alt-bg { background: var(--cream-deep); }
.section-head { margin-bottom: 3rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 10px 24px rgba(151,72,15,.3); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(151,72,15,.4); }
.btn-light { background: #fff; color: var(--teal-darker); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { font-size: 1.1rem; padding: 1.05rem 2.2rem; }
.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 244, 226, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.18rem; color: var(--teal-darker); }
.logo-mark { font-size: 1.4rem; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav-link { font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.nav-link:hover { color: var(--teal); }
.nav-cta { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal-darker); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 120% at 85% 0%, var(--teal) 0%, var(--teal-dark) 45%, var(--teal-darker) 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 42px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .hl { color: #ffd9a8; }
.hero-sub { font-size: 1.22rem; color: rgba(255,255,255,.9); max-width: 34ch; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .7rem; }
.hero-points li { position: relative; padding-left: 2rem; color: rgba(255,255,255,.92); }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #ffd9a8;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.hero-cta { margin: 2rem 0 1.4rem; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.hero-cta-note { font-size: .85rem; color: rgba(255,255,255,.85); }
.hero-trust { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: rgba(255,255,255,.8); flex-wrap: wrap; }

.hero-media { display: flex; justify-content: center; }
.cover-wrap { position: relative; max-width: 360px; }
.cover-img {
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: transform .4s ease;
}
.cover-wrap:hover .cover-img { transform: rotate(0deg) translateY(-4px); }
.cover-badge {
  position: absolute; top: -14px; right: -14px;
  background: var(--accent); color: #fff;
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-md); transform: rotate(8deg);
  line-height: 1.1;
}
.cover-badge strong { font-size: 1.15rem; display: block; }
.cover-badge span { font-size: .7rem; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
}
.stat { text-align: center; color: #fff; padding: 0 .5rem; }
.stat strong { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #ffd9a8; display: block; line-height: 1.1; }
.stat span { font-size: .92rem; color: rgba(255,255,255,.9); display: block; margin-top: .3rem; }

/* ---------- Problem ---------- */
.problem .lead { margin-bottom: 2rem; }
.problem em { font-style: italic; color: var(--teal); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin: 2.5rem 0; }
.pain-card { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); text-align: center; }
.pain-icon { font-size: 2rem; display: block; margin-bottom: .8rem; }
.pain-card p { margin: 0; color: var(--ink-soft); }

/* ---------- Solution ---------- */
.solution-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .65rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: rgba(54,117,148,.12); color: var(--teal);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ---------- Content grid ---------- */
.content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.content-card {
  background: #fff; border-radius: var(--radius); padding: 1.7rem 1.4rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.part-no {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-text);
  background: rgba(168,82,26,.1); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem;
}
.content-card h3 { color: var(--teal-darker); margin-bottom: .5rem; }
.content-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Author ---------- */
.author-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.author-role { font-weight: 600; color: var(--accent-text); margin-top: -.4rem; }
.link-arrow { color: var(--teal); font-weight: 600; border-bottom: 2px solid rgba(54,117,148,.25); padding-bottom: 2px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--teal); }
.author-quote {
  background: var(--teal); color: #fff; border-radius: var(--radius);
  padding: 2.4rem; box-shadow: var(--shadow-md);
}
.author-quote blockquote {
  margin: 0 0 1.5rem; font-family: 'Fraunces', serif; font-size: 1.4rem; line-height: 1.4;
}
.quote-author { display: flex; align-items: center; gap: .9rem; }
.quote-avatar { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.4rem; }
.quote-author strong { display: block; }
.quote-author span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.benefit { text-align: center; padding: 1.5rem 1rem; }
.benefit-icon { font-size: 2.4rem; display: block; margin-bottom: .8rem; }
.benefit h3 { color: var(--teal-darker); }
.benefit p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Price ---------- */
.price-card {
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--line);
}
.price-card-inner { display: grid; grid-template-columns: 1.1fr .9fr; }
.price-left { padding: clamp(2rem, 4vw, 3rem); }
.price-left h2 { margin-bottom: .3rem; }
.price-tagline { color: var(--ink-soft); margin-bottom: 1.6rem; }
.price-left .check-list { margin: 0; }
.price-right {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff; padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center;
}
.price-cover { width: 150px; border-radius: 10px; box-shadow: var(--shadow-md); transform: rotate(-3deg); }
.price-tag { display: flex; flex-direction: column; }
.price-now { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 700; color: #fff; }
.price-note { font-size: .85rem; color: rgba(255,255,255,.88); }
.price-secure { font-size: .82rem; color: rgba(255,255,255,.88); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.25rem 1.5rem; font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--teal-darker);
}
.faq-icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--cta); border-radius: 2px;
  transition: transform .25s ease;
}
.faq-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.5rem 1.35rem; margin: 0; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.final-cta {
  background: radial-gradient(120% 120% at 50% 0%, var(--teal) 0%, var(--teal-darker) 100%);
  color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-darker); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
.footer-logo .logo-text, .footer-logo { color: #fff; }
.footer-tagline { margin-top: .8rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col p { margin: 0 0 .7rem; font-size: .95rem; }
.footer-col a { color: #ffd9a8; }
.footer-col a:hover { text-decoration: underline; }
.footer-disclaimer { font-size: .85rem; color: rgba(255,255,255,.75); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; color: rgba(255,255,255,.72);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .solution-grid, .author-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .cover-wrap { max-width: 280px; }
  .content-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 1rem 6%;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: .9rem; text-align: center; }
  .nav-toggle { display: flex; }
  .pain-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 480px) {
  .content-grid, .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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

/* =========================================================
   Barrierefreiheit
   ========================================================= */

/* Skip-Link: nur sichtbar bei Tastatur-Fokus */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--teal-darker); color: #fff;
  padding: .75rem 1.2rem; border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Deutlich sichtbarer Fokus-Indikator für Tastaturbedienung */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.faq-q:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--teal-darker);
  outline-offset: 3px;
  border-radius: 6px;
}
/* Auf dunklen Flächen heller Fokusring */
.hero a:focus-visible,
.final-cta a:focus-visible,
.site-footer a:focus-visible,
.author-quote a:focus-visible,
.price-right a:focus-visible {
  outline-color: #ffd9a8;
}
main:focus { outline: none; }

/* =========================================================
   Footer – rechtliche Navigation
   ========================================================= */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-legal a { color: #fff; font-size: .9rem; font-weight: 500; }
.footer-legal a:hover { color: #ffd9a8; text-decoration: underline; }

/* =========================================================
   Rechtstext-Seiten (Impressum, Datenschutz, AGB, Widerruf)
   ========================================================= */
.legal-main { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal-content { max-width: 800px; }
.legal-content h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: .6rem; }
.legal-intro { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 2.5rem; }
.legal-content h2 {
  font-size: 1.45rem; margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal-content h3 { font-size: 1.1rem; margin-top: 1.6rem; color: var(--teal-dark); }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.legal-content li { margin-bottom: .5rem; }
.legal-content a { color: var(--teal); text-decoration: underline; }
.legal-content a:hover { color: var(--teal-darker); }
.legal-content address { font-style: normal; line-height: 1.8; }
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 3rem; font-weight: 600; color: var(--teal);
}
.back-link:hover { color: var(--teal-darker); }
.legal-note {
  background: var(--cream-deep); border-left: 4px solid var(--teal);
  padding: 1.1rem 1.3rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0;
}
.legal-note p:last-child { margin-bottom: 0; }
.legal-date { font-size: .9rem; color: var(--ink-soft); margin-top: 2.5rem; }
.todo { background: #fde7c8; color: #8a4a12; padding: .05em .4em; border-radius: 4px; font-weight: 600; font-size: .92em; }
