/* ============================================================
   anni.jetzt – Design System
   Hell · Freundlich · Modern
   Palette: Creme, Koralle/Terrakotta, Apricot, warmes Braun
   ============================================================ */

:root {
  --bg: #FFF9F3;
  --bg-tint: #FCF0E5;
  --card: #FFFFFF;
  --ink: #43302B;
  --muted: #7D655D;
  --accent: #E8785A;
  --accent-dark: #C95F44;
  --accent-soft: #FADBCC;
  --sun: #F5B971;
  --sun-soft: #FDF3E3;
  --sage: #8FAE8B;
  --border: #F0DFD2;
  --footer-bg: #46312A;
  --footer-ink: #F7E9DF;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 12px 32px rgba(201, 95, 68, 0.10);
  --shadow-lift: 0 18px 44px rgba(201, 95, 68, 0.16);

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--accent-dark); }

.center { text-align: center; }
.lead { font-size: 1.15rem; }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.container.narrow { width: min(800px, 100% - 2.5rem); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--bg-tint); }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.eyebrow.center { display: block; text-align: center; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 12px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-lg { padding: 1rem 2.1rem; font-size: 1.08rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 120, 90, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(232, 120, 90, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent-soft);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 243, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(67, 48, 43, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.brand-text {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}
.brand-dot { color: var(--accent); }

.main-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover { color: var(--accent-dark); border-color: var(--accent); }

.btn-header { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 85% -10%, rgba(245, 185, 113, 0.28), transparent 65%),
    radial-gradient(620px 460px at -10% 110%, rgba(232, 120, 90, 0.14), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1.4rem;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.trust-list li::before {
  content: "✓";
  color: var(--sage);
  font-weight: 800;
  margin-right: 0.45rem;
}
.hero-media img {
  border-radius: 36px;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ---------- Empathie ---------- */
.empathy-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.empathy-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem 1rem 3.1rem;
  position: relative;
  box-shadow: 0 4px 14px rgba(201, 95, 68, 0.05);
}
.empathy-list li::before {
  content: "„";
  position: absolute;
  left: 1.05rem;
  top: 0.15rem;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1.4;
}

/* ---------- Karten ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 6px 18px rgba(201, 95, 68, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4rem; }
.card h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--sun));
  margin-bottom: 0.9rem;
}
.card p { margin: 0; color: var(--muted); }

.offer-what {
  margin-top: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}

/* ---------- Häkchen-Listen ---------- */
.check-list {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.check-list li {
  padding-left: 2rem;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- Split-Layout / Über mich ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-reverse { grid-template-columns: 1.15fr 0.85fr; }

.photo-frame {
  margin: 0;
  position: relative;
  background: #fff;
  padding: 14px 14px 18px;
  border-radius: 26px;
  box-shadow: var(--shadow-lift);
  transform: rotate(-2deg);
  max-width: 420px;
}
.photo-frame img {
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.photo-badge {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%) rotate(1deg);
  background: var(--sun-soft);
  border: 2px dashed var(--sun);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.placeholder-note {
  display: inline-block;
  background: var(--sun-soft);
  border: 2px dashed var(--sun);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.transparency-box {
  background: var(--bg-tint);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0 1.8rem;
}
.transparency-box h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.transparency-box p { margin: 0; color: var(--muted); }

.rounded-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: 0 6px 18px rgba(201, 95, 68, 0.06);
  text-align: center;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--sun));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(232, 120, 90, 0.35);
}
.step p { margin: 0; color: var(--muted); }

.ablauf-note { margin-top: 3.5rem; }
.ablauf-note .split-media img { aspect-ratio: 3 / 2; }

/* ---------- Preise ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(201, 95, 68, 0.06);
  display: flex;
  flex-direction: column;
}
.price-card .check-list { text-align: left; margin-inline: auto; }
.price-card .btn { margin-top: auto; }

.price-card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lift);
  position: relative;
}
.price-flag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  margin: 0;
}
.price { margin: 0.4rem 0 0.2rem; }
.price-amount {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.price-meta { color: var(--muted); font-weight: 700; margin-bottom: 1.2rem; }
.price-note { color: var(--muted); margin-top: 1.8rem; font-size: 0.95rem; }

/* ---------- Wichtiger Hinweis ---------- */
.notice-card {
  background: var(--sun-soft);
  border: 1px solid #F2DCB2;
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.notice-card h2 { font-size: 1.6rem; }
.crisis-box {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  margin-top: 1.4rem;
}
.crisis-box h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.crisis-box ul {
  margin: 0;
  padding: 0 0 0 1.2rem;
  display: grid;
  gap: 0.45rem;
}

/* ---------- FAQ ---------- */
.faq { margin-top: 2.2rem; display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 1.1rem 3.2rem 1.1rem 1.4rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.3rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 1.4rem 1.2rem; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- Kontakt ---------- */
.contact-card {
  background:
    radial-gradient(480px 260px at 90% 0%, rgba(245, 185, 113, 0.35), transparent 60%),
    radial-gradient(420px 260px at 5% 100%, rgba(232, 120, 90, 0.18), transparent 60%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.8rem 0 1.2rem;
}
.contact-note { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 3.5rem 0 0;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer .brand-text { color: var(--footer-ink); }
.footer-brand p { color: rgba(247, 233, 223, 0.75); margin-top: 0.9rem; }
.footer-nav h3, .footer-crisis h3 {
  color: var(--sun);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-nav a {
  color: rgba(247, 233, 223, 0.85);
  text-decoration: none;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-crisis p { color: rgba(247, 233, 223, 0.75); margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(247, 233, 223, 0.15);
  padding: 1.4rem 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(247, 233, 223, 0.6);
}

/* ---------- Rechtsseiten ---------- */
.legal-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal-page h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal-page h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal-page h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal-page .placeholder {
  background: var(--sun-soft);
  border: 2px dashed var(--sun);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.5rem;
  font-weight: 700;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}
.back-link::before { content: "← "; }

/* ---------- Reveal-Animationen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background: var(--bg);
  }
  .site-header.nav-open .mobile-nav { display: block; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 1rem 1.25rem 1.5rem;
    display: grid;
    gap: 0.4rem;
  }
  .mobile-nav a:not(.btn) {
    display: block;
    padding: 0.7rem 0.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav .btn { margin-top: 0.8rem; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 9; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .photo-frame { margin-inline: auto; }
  .ablauf-note .split-copy { order: 1; }
  .ablauf-note .split-media { order: 2; }
}

@media (max-width: 620px) {
  .card-grid, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-actions .btn { width: 100%; }
  .contact-actions .btn { width: 100%; }
}
