/* =====================================================================
   NasserGarten — styles.css
   Stil: Elegant & redaktionell. Eine Schrift fuer alles, viel Weissraum,
   feine Trennlinien, zurueckhaltender Luxus, ruhige Eleganz.
   Mobile-first. Keine externen Ressourcen (DSGVO + offline).
   ===================================================================== */

/* -------------------------------------------------------------------
   1. Design-Tokens (:root)
   ------------------------------------------------------------------- */
:root {
  /* --- Markenfarben: Blau (Logo-Hauptfarbe, dominant, dunkles Theme) --- */
  --blue-900: #050f18;   /* sehr dunkel, Footer */
  --blue-800: #0b2233;   /* Karten-/Oberflaechenfarbe */
  --blue-700: #123a54;   /* Rahmen/Flaechen auf Dunkel */
  --blue-600: #1b5d84;   /* Haupt-Akzent (Buttons/Links auf hellen Flaechen) */
  --blue-500: #2b83b3;   /* Hover, kraeftiger Akzent */
  --blue-400: #5bb6dd;
  --blue-300: #7cc6ec;   /* Text-Akzent auf dunklem Grund */
  --blue-200: #cfe7f7;
  --blue-100: #dff1fb;

  /* --- Markenfarben: Gruen (Logo-Nebenfarbe, nur punktueller Akzent) --- */
  --green-900: #16241d;
  --green-800: #2f6b1f;
  --green-700: #3f8a2a;
  --green-600: #5cb446;   /* Logo-Gruen */
  --green-500: #6fc056;
  --green-400: #8ecf78;
  --green-200: #d8efce;
  --green-100: #eaf7e4;

  /* --- Logo-Signet ---
     Original-Logo: Gruen #68b020, Blau #004878. Das Marken-Blau ist auf dem
     dunklen Hintergrund unlesbar, daher hier die aufgehellten Varianten.
     Das Gruen entspricht dem "Garten" der Wortmarke (--green-400). */
  --logo-green: #8ecf78;
  --logo-blue: #7cc6ec;

  /* --- Warme Akzente --- */
  --sand: #e6d9bd;
  --sun: #f6d785;
  --rose: #f2b6cf;

  /* --- Neutrale Flaechen (dunkles Theme) --- */
  --bg: #071522;          /* Seitenhintergrund, sehr dunkles Blau */
  --bg-alt: #0a1f30;      /* alternierende Sektionsflaeche */
  --surface: #0e2637;     /* Karten */
  --surface-2: #0a1e2d;   /* Formularfelder, etwas dunkler als Karten */

  /* --- Text --- */
  --ink: #eef5fa;         /* Haupttext, hell auf dunklem Grund */
  --ink-soft: #b9cfdf;    /* gedaempfter Text */
  --ink-mute: #86a0b3;    /* Hinweise / Captions (WCAG AA) */
  --on-dark: #e7eef5;     /* Text im Footer */
  --on-dark-mute: #93aabd;

  /* --- Linien & Rahmen (helle Linien auf Dunkel) --- */
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);

  /* --- Akzent (Marken-CTA / Links) --- */
  --accent: var(--blue-300);
  --accent-hover: var(--blue-200);

  /* --- Radius (rechteckig, leichter Radius) --- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* --- Schatten (dunkles Theme: kraeftiger, schwarzbasiert) --- */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.55);

  /* --- Layout --- */
  --container: 1140px;
  --header-h: 72px;

  /* --- Spacing-Skala (4er-Basis) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* --- Typografie (nur System-Fonts) --- */
  /* Ein einziger Stack fuer die gesamte Seite: Ueberschriften, Preise,
     Schrittnummern und Markenschriftzug laufen in derselben Schrift wie
     der Fliesstext. Gesetzt auf <body>, alles andere erbt davon. */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 140ms;
  --t-base: 220ms;
}

/* -------------------------------------------------------------------
   2. Reset / Basis
   ------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anker unter dem Sticky-Header positionieren */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;        /* ~17px */
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--accent-hover); }

/* Headlines: gleiche Schrift wie der Fliesstext (geerbt von body),
   Hierarchie entsteht ueber Groesse und Gewicht. */
h1, h2, h3 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.002em;
  margin: 0 0 var(--space-4);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }

strong { font-weight: 700; color: inherit; }

/* -------------------------------------------------------------------
   3. Accessibility-Grundlagen
   ------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
/* Maus-/Touch-Fokus ohne sichtbaren Ring lassen */
:focus:not(:focus-visible) { outline: none; }

/* Skip-Link: versteckt, bei Fokus sichtbar oben links */
.skip-link {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--blue-600);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  transition: transform var(--t-base) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* -------------------------------------------------------------------
   4. Layout-Helfer
   ------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

/* Zweispalten-Layout (Ueber / Kontakt) */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

/* Sektionen: grosszuegiges vertikales Padding */
.section {
  padding-block: var(--space-8);
}

/* Alternierende dunkle Sektionsflaeche */
.section-tint {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

/* Zentrierter Sektionskopf */
.section-head {
  max-width: 60ch;
  margin: 0 auto var(--space-7);
  text-align: center;
}
.section-head h2 { margin-bottom: var(--space-3); }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 0;
}

/* Kleines Uppercase-Label in Akzentfarbe */
.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-3);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
}

/* -------------------------------------------------------------------
   5. Grid-System (responsive)
   ------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* -------------------------------------------------------------------
   6. Header / Navigation (sticky)
   ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 15, 24, 0.82);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

/* Marke (Logo + Wortmarke) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }

.brand-drop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex: 0 0 auto;
}

/* Logo-Signet: Wassertropfen mit Sprinkler, Spruehstrahl und Grashalmen.
   Farben ueber --logo-* steuerbar (siehe :root und @media print). */
.brand-mark {
  display: block;
  height: 36px;
  width: auto;
}
.brand-mark .mk-g { stroke: var(--logo-green); }
.brand-mark .mk-b { stroke: var(--logo-blue); }
.brand-mark .mk-grass path { fill: var(--logo-green); stroke: none; }

.brand-name {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}
/* "Garten" als gruener Marken-Akzent — wie im Footer */
.brand-name strong { font-weight: 700; color: var(--green-400); }

/* Horizontale Hauptnavigation */
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2);
}
.main-nav a {
  position: relative;
  padding: var(--space-2) var(--space-3);
  color: var(--ink-soft);
  font-size: 0.97rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease);
}
.main-nav a:hover { color: var(--blue-200); background: rgba(27, 93, 132, 0.25); }

/* Kontakt-CTA in der Nav bleibt immer sichtbar / hervorgehoben */
.nav-cta {
  margin-left: var(--space-2);
  padding: var(--space-2) var(--space-4) !important;
  background: var(--blue-600);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.nav-cta:hover { background: var(--blue-500); color: #fff !important; }
.nav-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 5px rgba(43, 131, 179, 0.6);
}

/* -------------------------------------------------------------------
   7. Buttons
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);   /* rechteckig mit leichtem Radius */
  cursor: pointer;
  transition: background-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Primaer: blau, weisser Text */
.btn-primary {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* Ghost: Outline */
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--blue-300);
}
.btn-ghost:hover {
  background: rgba(27, 93, 132, 0.18);
  border-color: var(--blue-500);
  color: var(--blue-200);
}

/* Volle Breite */
.btn-block { width: 100%; }

/* -------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: var(--space-8) var(--space-9);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(43, 131, 179, 0.3) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  overflow: hidden;
}

/* Einspaltig und zentriert: der Text nutzt die ganze Breite,
   die Zeilenlaenge bleibt ueber max-width trotzdem lesbar. */
.hero-text {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

.hero-text h1 {
  margin-bottom: var(--space-5);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

/* Akzent-Wort in der Headline */
.accent {
  color: var(--blue-300);
  font-style: italic;
}

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: var(--space-6);
}

.hero-text .lead {
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* Dekorative Welle am unteren Hero-Rand (rein dekorativ, robust) */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background:
    radial-gradient(70% 100% at 50% 100%,
      rgba(123, 198, 236, 0.18) 0%, transparent 70%);
  -webkit-mask: radial-gradient(120% 80% at 50% 100%, #000 60%, transparent 61%);
          mask: radial-gradient(120% 80% at 50% 100%, #000 60%, transparent 61%);
}

/* -------------------------------------------------------------------
   9. Karten (Basis) + Varianten
   ------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--ink-soft); }

/* Feature-Karte (Vorteile) */
.feature .icon { margin-bottom: var(--space-4); }

/* Service-Karte (Leistungen) — nummerierte Schritte */
.service { position: relative; }
.service h3 { margin-top: var(--space-2); }

/* Kleine nummerierte Marke */
.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-100);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------
   10. Media-Card (Ueber-Sektion, Icon-Buehne)
   ------------------------------------------------------------------- */
.media-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
/* Signet ganz gross direkt auf dem dunklen Hintergrund, ohne Karte.
   Es behaelt die aufgehellten Logo-Farben aus der Kopfzeile. */
.media-card .brand-mark {
  width: clamp(150px, 38vw, 260px);
  height: auto;
}

/* -------------------------------------------------------------------
   11. Icon-Badges
   ------------------------------------------------------------------- */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  flex: 0 0 auto;
}
.icon-green {
  color: var(--green-700);
  background: var(--green-100);
  box-shadow: inset 0 0 0 1px var(--green-200);
}
.icon-blue {
  color: var(--blue-700);
  background: var(--blue-100);
  box-shadow: inset 0 0 0 1px #cfe7f7;
}

/* -------------------------------------------------------------------
   12. Preise / Pakete
   ------------------------------------------------------------------- */
.pricing { align-items: stretch; }

.price {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.price h3 {
  font-size: 1.25rem;
  min-height: 3.4em;           /* Platz fuer bis zu 3 Titelzeilen */
  display: flex;
  align-items: flex-end;
  overflow-wrap: anywhere;
}

/* Grosser Betrag */
.amount {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-300);
  line-height: 1.1;
  margin: var(--space-3) 0 var(--space-5);
}

/* Haekchen-Liste */
.ticks {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  flex: 1 1 auto;          /* schiebt den Button nach unten */
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  /* blaues Haekchen als Hintergrund-SVG */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c5d84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  box-shadow: inset 0 0 0 1px var(--blue-200);
}

/* Hervorgehobene Karte: gleiche Farbwelt wie der Rest, nur ein
   kraeftigerer Blauton (--blue-700/--blue-800) statt heller Flaeche. */
.price-featured {
  position: relative;
  border: 2px solid var(--blue-500);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(43, 131, 179, 0.25);
  transform: scale(1.02);
  background:
    linear-gradient(180deg, var(--blue-700) 0%, var(--blue-800) 100%);
}
.price-featured:hover { transform: scale(1.02) translateY(-4px); }
.price-featured .amount { color: var(--blue-200); }

/* Badge oben rechts */
.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--sun);
  border: 1px solid #e9c25e;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

/* Hinweis innerhalb einer Paketkarte (z. B. Verrechnung des Erstgespraechs) */
.plan-note {
  margin: 0 0 var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-mute);
}

/* Fussnote unter den Preisen */
.price-note {
  margin-top: var(--space-6);
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------------
   13. Kontakt
   ------------------------------------------------------------------- */
.contact { align-items: start; }

/* Icon-Zeilen-Liste */
.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.contact-list .icon { width: 44px; height: 44px; }
.contact-list a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-list a:hover { color: var(--blue-300); }

/* Kontaktformular (nutzt .card-Basis) */
.contact-form {
  display: grid;
  gap: var(--space-5);
  align-content: start;
}
.contact-form:hover {
  /* Formular nicht anheben (kein verspielter Lift im Eingabebereich) */
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

/* Feldgruppe */
.field {
  display: grid;
  gap: var(--space-2);
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .optional {
  font-weight: 400;
  color: var(--ink-mute);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface-2);
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-mute); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(91, 182, 221, 0.22);
}

/* Checkbox-Zeile (Datenschutz) */
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue-500);
  cursor: pointer;
  flex: 0 0 auto;
}
.check a { font-weight: 600; text-decoration: underline; }

/* Kleiner gedaempfter Hinweis-Text */
.hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* -------------------------------------------------------------------
   14. Footer (dunkelgruen)
   ------------------------------------------------------------------- */
.site-footer {
  background: var(--blue-900);
  color: var(--on-dark);
  padding-block: var(--space-7);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.footer-brand .brand-mark { height: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name strong { color: var(--green-400); }

/* Wortmarke + Claim als Block — wie im Original-Logo */
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.brand-tagline {
  font-size: 0.82rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--on-dark-mute);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
}
.footer-nav a {
  color: var(--on-dark);
  font-weight: 500;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-copy {
  margin: 0;
  color: var(--on-dark-mute);
  font-size: 0.88rem;
}

/* -------------------------------------------------------------------
   15. Rechtsseiten (.legal) + Hinweiskasten (.note)
   ------------------------------------------------------------------- */
.legal {
  max-width: 70ch;
  margin-inline: auto;
  padding-block: var(--space-8);
  /* nutzt .container fuer Aussenpadding, falls verschachtelt */
}
.legal h1 {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  font-size: 1.4rem;
}
.legal p,
.legal ul { margin-bottom: var(--space-4); color: var(--ink-soft); }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: var(--space-2); }
.legal a { text-decoration: underline; }
.legal a.btn { text-decoration: none; }
.legal h3 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: 1.15rem;
}
.legal-block { margin-bottom: var(--space-7); }
.legal-meta {
  margin-top: var(--space-7);
  font-size: 0.9rem;
  color: var(--ink-mute);
}

/* Auffaelliger Hinweis-/Warnkasten (z. B. Platzhalter-Hinweis) */
.note {
  margin: var(--space-5) 0;
  padding: var(--space-5);
  background: rgba(246, 215, 133, 0.1);
  border: 1px solid rgba(246, 215, 133, 0.35);
  border-left: 4px solid var(--sun);
  border-radius: var(--radius-sm);
  color: #f3d896;
  box-shadow: var(--shadow-xs);
}
.note strong { color: #fbe9c0; }
.note :last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------
   16. Responsive Breakpoints (mobile-first hochskaliert)
   ------------------------------------------------------------------- */

/* >= 640px: Nav etwas luftiger, Hero-Aktionen nebeneinander */
@media (min-width: 640px) {
  .container { padding-inline: var(--space-6); }
  .main-nav { gap: var(--space-1); }
  .main-nav a { font-size: 1rem; }
}

/* >= 900px: zweispaltige Layouts */
@media (min-width: 900px) {
  .section { padding-block: var(--space-9); }

  .two-col { grid-template-columns: 1fr 1fr; }
  /* Ueber-Sektion: Icon-Buehne links, Text rechts (Quellreihenfolge passt) */

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }
  .footer-nav { justify-content: center; }
  .footer-copy { text-align: right; }
}

/* >= 1100px: maximale Eleganz, mehr Weissraum */
@media (min-width: 1100px) {
  .section-head { margin-bottom: var(--space-8); }
  .card { padding: var(--space-7); }
}

/* Schmale Phones: Kopfzeile bewusst zweizeilig, Touch-Targets >= 44px */
@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: var(--space-3); }
  .main-nav { flex-basis: 100%; justify-content: flex-start; gap: var(--space-1); }
  .main-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-3);
  }
  .nav-cta { margin-left: 0; }
  /* Anker-Offset an die hoehere Kopfzeile anpassen: Marke, Navigation und
     Kontakt-Button brechen hier auf bis zu drei Zeilen um (~169px). */
  html { scroll-padding-top: 176px; }
}

/* Sehr schmale Geraete */
@media (max-width: 380px) {
  .brand-name { font-size: 1.2rem; }
}

/* Einspaltige Preise: kuenstliche Titel-Gleichhoehe aufheben */
@media (max-width: 639px) {
  .price h3 { min-height: 0; }
}

/* -------------------------------------------------------------------
   17. Reduzierte Bewegung
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .card:hover,
  .price-featured,
  .price-featured:hover,
  .btn:active { transform: none !important; }
}

/* -------------------------------------------------------------------
   18. Print (sauberes Ausdrucken der Rechtsseiten)
   ------------------------------------------------------------------- */
@media print {
  /* Dunkles Theme fuer den Druck auf helle Tokens zuruecksetzen,
     sonst waere heller Text auf weissem Papier unlesbar. */
  :root {
    --bg: #fff;
    --bg-alt: #fff;
    --surface: #fff;
    --surface-2: #fff;
    --ink: #000;
    --ink-soft: #222;
    --ink-mute: #444;
    --accent: #124a68;
    --accent-hover: #124a68;
    --line: #ccc;
    --line-strong: #999;
  }
  .site-header,
  .hero-wave,
  .skip-link { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, h3 { color: #000; }
  .eyebrow,
  .amount,
  .accent { color: #124a68; }
  .card {
    background: #fff;
    box-shadow: none;
    border-color: #ccc;
  }
  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #ccc;
  }
  .site-footer .brand-name,
  .site-footer .brand-name strong,
  .footer-nav a,
  .footer-copy { color: #000; }
  /* Im Druck steht das Signet auf Weiss — daher die echten Markenfarben */
  .brand-mark { --logo-green: #4f9c22; --logo-blue: #004878; }
  .brand-tagline { color: #333; }
  .note {
    background: #fff8e6;
    color: #5c4a16;
    border-color: #f0d680;
  }
  .note strong { color: #4a3a10; }
}