/* Produktseite WebNotar – Gestaltung „Klassisch“ (Richtung C): weiß, viel Weißraum, Linien statt Kästen.
   Ausschließlich die Farben der App (src/index.css), Schrift der App, Überschriften in Georgia.
   Keine externen Schriften oder Bibliotheken (DSGVO). */
:root {
  --accent: #1f5f99;      /* Akzent, Logo, Knöpfe */
  --nav-bg: #17324d;      /* Navigationsblau: Überschriften, Fußzeile */
  --nav-text: #c9d6e3;    /* Text auf Navigationsblau */
  --text: #1c2733;
  --text-2: #4a5a6b;
  --border: #d9e0e8;
  --bg: #f3f5f8;
  --weiss: #ffffff;
  --schrift: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --titel: Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { color: var(--text); background: var(--weiss); }
input, select, textarea, button { color: var(--text); border-color: var(--border); }
body { background: var(--weiss); color: var(--text); font: 16px/1.6 var(--schrift); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); }
a:hover { color: var(--nav-bg); }
.breite { max-width: 1080px; width: 100%; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, dt { font-family: var(--titel); font-weight: 400; color: var(--nav-bg); }

/* ------------------------------------------------------------------ Kopf */
.kopf { border-bottom: 1px solid var(--border); }
.kopf .breite { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nav-bg); }
.marke:hover { color: var(--nav-bg); }
.marke-logo { width: 34px; height: 34px; border-radius: 7px; background: var(--accent); color: var(--weiss); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--titel); font-size: 18px; }
.marke-name { font-family: var(--titel); font-size: 23px; }
.navi { display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: center; font-size: 15px; }
.navi a { color: var(--text-2); text-decoration: none; }
.navi a:hover { color: var(--nav-bg); }
.navi a[aria-current="page"] { color: var(--nav-bg); font-weight: 600; }
.navi a.navi-knopf { color: var(--accent); font-weight: 600; border: 1px solid var(--accent); padding: 10px 16px; border-radius: 6px; }
.navi a.navi-knopf[aria-current="page"] { background: var(--accent); color: var(--weiss); }

/* ------------------------------------------------------------------ Inhalt */
main { flex: 1; width: 100%; }
.seite { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.kopftext { display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; }
.kopftext h1 { margin: 0; font-size: clamp(34px, 5vw, 46px); line-height: 1.15; }
.kopftext p { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 620px; }
.knopf { display: inline-block; text-decoration: none; background: var(--accent); color: var(--weiss); padding: 14px 26px; border-radius: 6px; font-weight: 600; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.knopf:hover { background: var(--nav-bg); color: var(--weiss); }
.knopf[disabled] { opacity: .6; cursor: default; }
.mehr { font-weight: 600; }

/* Start */
.einstieg { padding-top: 96px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.vorzeile { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.einstieg h1 { margin: 0; font-size: clamp(36px, 5.6vw, 66px); line-height: 1.12; max-width: 860px; }
.einstieg .lead { margin: 0; font-size: 19px; line-height: 1.65; color: var(--text-2); max-width: 640px; }
.aktionen { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }

/* Spalten mit Trennlinien (Start, Editionen) */
.spalten { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--border); text-align: left; }
.spalten.kraeftig { border-top: 2px solid var(--nav-bg); }
.spalte { padding: 26px 24px 0; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--border); }
.spalte:first-child { padding-left: 0; border-left: 0; }
.spalte:last-child { padding-right: 0; }
.spalte h2 { margin: 0; font-size: 21px; }
.spalte p { margin: 0; color: var(--text-2); line-height: 1.6; }
.edition h2 { font-size: 28px; }
.edition.hervor h2 { color: var(--accent); }
.edition .fuer { font-style: italic; }
.edition .preis { font-weight: 600; color: var(--text); }
.edition .umfang { color: var(--text); line-height: 1.8; }
.zusatz { margin: 0; text-align: center; color: var(--text-2); }

/* Module */
.zweispaltig { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 64px; align-items: start; }
.zweispaltig .einleitung { display: flex; flex-direction: column; gap: 14px; }
.zweispaltig .einleitung h1 { margin: 0; font-size: clamp(34px, 5vw, 46px); }
.zweispaltig .einleitung p { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.zweispaltig .einleitung .knopf { align-self: flex-start; margin-top: 8px; }
.liste { margin: 0; border-top: 2px solid var(--nav-bg); }
.liste > div { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.liste dt { font-size: 20px; }
.liste dd { margin: 0; color: var(--text-2); }

/* ------------------------------------------------------------------ Formular (unterstrichene Felder) */
.schmal { max-width: 760px; }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; border-top: 2px solid var(--nav-bg); padding-top: 28px; }
.formular .breit { grid-column: 1 / -1; }
.feld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); min-width: 0; }
.feld input, .feld select, .feld textarea {
  padding: 10px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent;
  font: inherit; font-size: 17px; color: var(--text); width: 100%;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-bottom: 2px solid var(--accent); margin-bottom: -1px; }
.gruppe { border: 0; padding: 0; margin: 0; }
.gruppe legend { padding: 0; margin-bottom: 8px; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.wahl label, .einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.wahl input, .einwilligung input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.senden { grid-column: 1 / -1; justify-self: center; }
.fehlertext { font-size: 13px; color: var(--nav-bg); font-weight: 600; }
.fehlertext:empty { display: none; }
.topf { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--bg); color: var(--nav-bg); }
.meldung.fehler { border-left-color: var(--nav-bg); font-weight: 600; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ Rechtstexte */
.text { max-width: 760px; }
.seite.text { display: block; }
.text h1 { font-size: clamp(32px, 4.5vw, 42px); margin: 0 0 8px; }
.text h2 { font-size: 22px; margin: 32px 0 8px; padding-top: 18px; border-top: 1px solid var(--border); }
.text p { color: var(--text); }
.luecke { background: var(--bg); border-bottom: 1px dashed var(--accent); padding: 0 4px; color: var(--nav-bg); }

/* ------------------------------------------------------------------ Fuß im Navigationsblau */
.fuss { background: var(--nav-bg); color: var(--nav-text); }
.fuss .breite { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; }
.fuss nav { display: flex; gap: 20px; }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: var(--nav-text); }

@media (max-width: 720px) {
  .einstieg { padding-top: 56px; }
  .seite { padding-top: 44px; padding-bottom: 44px; }
  .spalte, .spalte:first-child, .spalte:last-child { padding: 22px 0 0; border-left: 0; }
  .spalte + .spalte { border-top: 1px solid var(--border); margin-top: 22px; }
  .formular { grid-template-columns: 1fr; }
  .navi { gap: 8px 20px; }
}
