/* ============================================================
   Honorarberatung Alexander Merget – amerget.de
   Zentrale Styles für alle Seiten
   Farbkonzept wie schmerzverstehen.de: warmes Off-White,
   dunkle Schrift, warmer Akzent (Orange-Rot aus dem Logo).
   → Farben hier oben zentral änderbar.
   ============================================================ */

:root {
  --bg:          #FAF7F2;   /* warmes Off-White (Seitenhintergrund) */
  --surface:     #FFFFFF;   /* Karten / Formulare */
  --ink:         #191713;   /* Haupttextfarbe (fast Schwarz, warm) */
  --muted:       #5F5B52;   /* Nebentexte */
  --accent:      #6C7A44;   /* dunkles Olivgrün (Buttons, Akzente) */
  --accent-dark: #57642F;   /* Hover-Zustand */
  --accent-soft: #EAEDDB;   /* zarte Olivfläche */
  --line:        #E9E3D8;   /* Trennlinien / Rahmen */

  --font-display: 'Josefin Sans', 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --maxw: 1080px;
}

/* ---------- Lokale Schriften (keine externen Requests) ---------- */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/josefin-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/josefin-sans-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1em; }
.muted { color: var(--muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }

/* Eyebrow mit dem "Logo-Strich" als Wiedererkennungselement */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  background: var(--accent);
  transform: rotate(-32deg);   /* der steigende Strich aus dem Logo */
  border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .15s ease;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--ink); }
.site-nav a.nav-cta {
  background: var(--accent);
  color: #fff;
}
.site-nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
@media (max-width: 720px) {
  .site-nav .nav-hide-mobile { display: none; }
  .brand img { height: 38px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  transition: background .15s ease, transform .1s ease;
  border: 0; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 20px; }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(25, 23, 19, .14);
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 380px; }
}

/* Google-Bewertungen Trust-Zeile */
.trust {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600; font-size: .98rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
}
.trust .stars { color: #F5A623; letter-spacing: 2px; }
.trust:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- Karten-Raster (Vorteile / One-Stop-Shop) ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 20px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }

/* ---------- Ablauf / Schritte ---------- */
.steps { display: grid; gap: 0; max-width: 780px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
}
.step + .step { border-top: 1px dashed var(--line); }
.step-marker {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: .25em; }
.step p { color: var(--muted); margin-bottom: 0; }
.step .free-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .78rem; font-weight: 600;
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Preis ---------- */
.price-card {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 640px;
}
.price-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
  margin-bottom: 6px;
}
.price-figure span { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check-list li::before {
  content: "";
  position: absolute; left: 4px; top: .62em;
  width: 15px; height: 3px;
  background: var(--accent);
  transform: rotate(-32deg);
  border-radius: 2px;
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 12px;
  max-width: 820px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0 0 .6em; }

/* ---------- Kontakt / Formular ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
form.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
form.contact label {
  display: block;
  font-weight: 600; font-size: .92rem;
  margin: 14px 0 6px;
}
form.contact label:first-of-type { margin-top: 0; }
form.contact input, form.contact textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
form.contact input:focus, form.contact textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
form.contact button { margin-top: 20px; width: 100%; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 32px;
  color: var(--muted);
  font-size: .92rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 720px) { .footer-cols { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1rem; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: .84rem;
  line-height: 1.6;
}

/* ============================================================
   Linktree-Stil (links.html & empfehlungen.html)
   ============================================================ */
.linktree {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 20px 40px;
  text-align: center;
}
.linktree .avatar {
  width: 108px; height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: 0 8px 26px rgba(25,23,19,.16);
  margin-bottom: 18px;
}
.linktree h1 { font-size: 1.55rem; margin-bottom: 4px; }
.linktree .tagline { color: var(--muted); margin-bottom: 30px; max-width: 30em; }
.link-list { width: 100%; max-width: 520px; display: grid; gap: 14px; }
.link-item {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.link-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(25,23,19,.08);
  color: var(--ink);
}
.link-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}
.link-item span { color: var(--muted); font-size: .9rem; }
.link-item.link-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.link-item.link-primary span { color: rgba(255,255,255,.85); }
.link-item.link-primary:hover { background: var(--accent-dark); }
.linktree .fineprint {
  margin-top: 34px;
  font-size: .82rem;
  color: var(--muted);
  max-width: 520px;
}
.linktree .fineprint a { color: var(--muted); }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal { max-width: 780px; padding-top: 56px; padding-bottom: 72px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }

/* ---------- AVD-Seite: Hinweisbox / Affiliate-Slot ---------- */
.notice {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .95rem;
}
.affiliate-slot {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.affiliate-note { font-size: .8rem; color: var(--muted); }

/* ============================================================
   Ratgeber-Seiten: Artikel-Layout mit Werbe-Seitenleiste
   ============================================================ */
.ratgeber-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 72px;
}
@media (max-width: 960px) { .ratgeber-grid { grid-template-columns: 1fr; } }
.ratgeber-artikel h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.ratgeber-artikel h2 { margin-top: 1.7em; font-size: 1.45rem; }
.ratgeber-artikel h3 { margin-top: 1.4em; }
.ratgeber-artikel p, .ratgeber-artikel li { color: var(--muted); }
.ratgeber-artikel .notice p, .ratgeber-artikel .notice li { color: var(--ink); }
.artikel-meta { font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.ratgeber-aside { position: sticky; top: 92px; }
.werbe-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.werbe-box strong { display: block; margin-bottom: 6px; }
.werbe-box p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.werbe-box .btn { display: block; text-align: center; padding: 11px 16px; font-size: .95rem; }
.werbe-kennzeichnung { font-size: .74rem; color: var(--muted); text-align: center; margin: 2px 0 10px; letter-spacing: .04em; text-transform: uppercase; }
.disclaimer-box {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 18px;
  font-size: .82rem;
  color: var(--muted);
}
