/* fortbildungsvereinbarung.de – HEITFELD plus Rechtsanwälte
   Schriften lokal eingebunden (keine Verbindung zu Google-Servern). */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #1E2329;
  --text-2: #3A3F47;
  --muted: #5A5F68;
  --gold: #B09B6A;
  --gold-text: #7A6838;
  --gold-hover: #4F4322;
  --paper: #FFFFFF;
  --sand: #F6F4EF;
  --sand-2: #FCFBF8;
  --line: #ECE9E2;
  --line-2: #E4E1D8;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
strong { font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.display { font-family: var(--serif); font-weight: 400; line-height: 1.1; }
.h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.08; }
.h2 { font-size: clamp(32px, 3.8vw, 50px); }
.lead { font-size: 19px; line-height: 1.65; color: var(--text-2); }
.muted { color: var(--muted); }
.section { padding: 112px 0; }
.bg-sand { background: var(--sand); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-line { border: 1px solid #D8D4C8; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-line-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.btn svg { flex: 0 0 auto; }

/* ---------- Kopf ---------- */
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 100px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; font-size: 17px; font-weight: 500; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--gold-text); }
.phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; white-space: nowrap; }
.phone:hover { color: var(--gold-text); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 72px; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero-text .lead { margin-top: 28px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-art { flex: 1 1 360px; min-width: 0; max-width: 440px; margin: 0 auto; }
.doc-frame { background: var(--sand); border-radius: 18px; padding: 36px; }
.doc { background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 32px 30px 34px; }
.doc-kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6B6F76; }
.doc-title { font-weight: 700; font-size: 14px; margin-top: 16px; }
.doc-lines { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.doc-lines span { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.doc-lines .mark { box-shadow: inset 0 -2px 0 var(--gold); }
.w100 { width: 100%; } .w96 { width: 96%; } .w90 { width: 90%; } .w84 { width: 84%; } .w70 { width: 70%; } .w58 { width: 58%; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--text-2); }
.checks li { display: flex; align-items: center; gap: 12px; }
.num { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--gold); color: var(--gold-text); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

/* ---------- Erfahrungswert ---------- */
.quote-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.quote-band figure { flex: 1 1 560px; min-width: 0; border-left: 2px solid var(--gold); padding-left: 28px; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; }
.quote-band figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.quote-band p { flex: 1 1 360px; min-width: 0; font-size: 16px; color: var(--text-2); }

/* ---------- Worum es geht ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split > :first-child { flex: 1 1 340px; min-width: 0; }
.split > :last-child { flex: 1.4 1 480px; min-width: 0; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { padding: 7px 16px; background: var(--sand); border-radius: 999px; font-size: 15px; color: var(--text-2); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.step-no { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--gold-text); }
.steps h3 { margin: 12px 0 10px; font-size: 20px; }
.steps p { color: var(--muted); font-size: 16px; }
.pair { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 64px; }
.box { flex: 1 1 460px; min-width: 0; background: var(--sand); border-radius: 18px; padding: 40px; }
.box h3 { font-size: 20px; margin-bottom: 12px; }
.box p { color: var(--text-2); }
.pull { flex: 1 1 380px; min-width: 0; padding: 40px; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; justify-content: center; }
.pull blockquote { font-family: var(--serif); font-size: 27px; line-height: 1.3; }
.pull figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ---------- Was wir tun ---------- */
.intro { max-width: 760px; }
.intro p { margin-top: 24px; color: var(--text-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 56px; }
.card { background: #fff; border-radius: 18px; padding: 40px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; }
.card > p { margin: 6px 0 24px; color: var(--muted); font-size: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.ticks li { display: flex; gap: 14px; }
.ticks svg { flex: 0 0 auto; margin-top: 4px; }

/* ---------- Angebot ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.offer { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 18px; padding: 40px; }
.offer.featured { border: 1.5px solid var(--gold); background: var(--sand-2); }
.offer h3 { font-size: 18px; }
.offer h3 span { font-weight: 500; color: var(--gold-text); font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; }
.price span { font-size: 14px; color: var(--muted); }
.price-text b { font-size: 40px; line-height: 1.1; }
.offer ul { list-style: none; margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--text-2); flex: 1 1 auto; }
.offer .btn { margin-top: 32px; text-align: center; padding: 12px 20px; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; font-size: 15px; color: var(--text-2); }
.note svg { flex: 0 0 auto; margin-top: 3px; }

/* ---------- Häufige Fragen ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.faq-item summary::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-item summary:hover h3 { color: var(--gold-text); }
.faq-item p { margin: 0 0 26px; max-width: 820px; color: var(--text-2); }
.faq-note { margin-top: 28px; max-width: 820px; font-size: 15px; color: var(--muted); }

/* ---------- Wer wir sind ---------- */
.team { border-top: 1px solid var(--line); }
.team .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.people { flex: 1 1 460px; min-width: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.person { flex: 1 1 200px; min-width: 0; }
.person img { width: 100%; aspect-ratio: 732 / 754; object-fit: cover; border-radius: 16px; background: #F7F5EF; }
.person-name { margin-top: 14px; font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.person-role { font-size: 14px; color: var(--muted); }
.team-text { flex: 1 1 400px; min-width: 0; }
.team-text p { margin-top: 24px; color: var(--text-2); }
.more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 28px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ---------- Bewertungen / Kontakt ---------- */
.reviews .wrap { padding-top: 80px; padding-bottom: 80px; }
.reviews-head { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-end; justify-content: space-between; }
.reviews h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; }
.rating { flex: 1 1 420px; min-width: 0; }
.rating-line { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.rating-score { font-family: var(--serif); font-size: 64px; line-height: 1; }
.stars { display: inline-flex; gap: 4px; }
.stars svg { width: 26px; height: 26px; fill: var(--gold); }
.stars-sm svg { width: 16px; height: 16px; }
.rating-count { margin-top: 10px; font-weight: 600; }
.rating-count span { font-weight: 400; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.review { margin: 0; background: #fff; border-radius: 16px; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-2); flex: 1 1 auto; }
.review figcaption { font-size: 14px; font-weight: 600; color: var(--ink); }
.review figcaption span { font-weight: 400; color: var(--muted); }
.rating-note { margin-top: 24px; max-width: 760px; font-size: 14px; color: var(--muted); }
.contact { padding: 112px 0; }
.contact-inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; border-top: 2px solid var(--gold); padding-top: 56px; }
.contact-inner > div { flex: 1 1 480px; min-width: 0; }
.contact h2 { font-size: clamp(34px, 4vw, 52px); }
.contact p { margin-top: 16px; color: var(--text-2); }
.btn-call { min-height: 60px; padding: 0 30px; font-size: 20px; }

/* ---------- Fuß ---------- */
.site-foot { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; }
.site-foot img { height: 52px; width: auto; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 28px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.legal { padding: 64px 0 112px; }
.legal .wrap { max-width: 820px; }
.legal h1, .legal h2, .legal h3, .legal p, .legal li, .legal address { overflow-wrap: break-word; hyphens: auto; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1.1; margin-bottom: 40px; }
.legal h2 { font-size: 21px; font-weight: 700; line-height: 1.35; margin: 48px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--text-2); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; color: var(--text-2); margin-bottom: 14px; }
.legal .stand { margin-top: 48px; font-size: 15px; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; margin-bottom: 24px; }
/* Sichtbar markierte Stellen, die vor dem Livegang ergänzt werden müssen */
.todo { background: #FFF1B8; color: #5A4300; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .nav { display: none; }
  .logo img { height: 76px; }
  .section, .contact { padding: 80px 0; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 48px; }
  .steps { margin-top: 56px; gap: 36px; }
  .box, .pull, .card, .offer { padding: 28px; }
  .doc-frame { padding: 24px; }
  .btn-call { font-size: 18px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
