/*
+==============================================================================+
|   _   _   _____   _____   ____    ___  __  __                                |
|  | \ | | | ____| |_   _| |  _ \  |_ _| \ \/ /                                |
|  |  \| | |  _|     | |   | |_) |  | |   \  /                                 |
|  | |\  | | |___    | |   |  _ <   | |   /  \                                 |
|  |_| \_| |_____|   |_|   |_| \_\ |___| /_/\_\                                |
|                                                                              |
|  IT | WEB | SOFTWARE | DIGITAL SOLUTIONS                                     |
|  Engineered by NETRIX                                                        |
|  https://www.netrix.de/                                                      |
|                                                                              |
+==============================================================================+
|  Projekt   : Saurebuchhaltung Website (www.saurebuchhaltung.de)              |
|  Datei     : public/assets/css/style.css                                     |
|  Version   : 1.2.2                                                           |
|  Copyright : (c) 2026 Netrix GmbH                                            |
|              Alle Rechte vorbehalten.                                        |
+==============================================================================+
*/

/*
 * Saurebuchhaltung · Stylesheet
 *
 * Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Komponenten
 *         6 Abschnitte · 7 Unterseiten · 8 Bewegung · 9 Druck
 */

/* ===== 1 Schriften (lokal, keine Fremdanbieter) ===== */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ===== 2 Design-Tokens (aus dem Logo abgeleitet) ===== */
:root {
  --ink: #2f2f2e;          /* „Saure“ im Logo */
  --ink-soft: #57564f;
  --muted: #6b6a62;
  --red: #a3282a;          /* „buchhaltung“ im Logo */
  --red-dark: #7f1f20;
  --lemon: #f6d33c;
  --lemon-deep: #e6a91b;
  --lemon-soft: #fdf3c4;
  --lemon-wash: #fffaf0;
  --leaf: #5e7d3a;
  --paper: #fffdf8;
  --sand: #f7f1e3;
  --line: #e9e1cb;
  --grey-box: #f0eee8;

  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(90 61 16 / .06), 0 8px 24px -8px rgb(90 61 16 / .18);
  --shadow-lg: 0 2px 4px rgb(90 61 16 / .06), 0 24px 48px -16px rgb(90 61 16 / .28);
  --gutter: 16px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}
@media (min-width: 560px) { :root { --gutter: 24px; } }

/* ===== 3 Basis ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lemon); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6em 1em; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ===== 4 Layout ===== */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 5rem + 3vw, 128px); position: relative; }
.section-tint { background: var(--sand); }
.section-tint::before {
  /* zarte Kassenbuch-Linien als Hintergrund */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgb(163 40 42 / .05) 39px 40px);
}
.section > .container { position: relative; }

.section-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-head-left { margin-inline: 0; text-align: left; }

.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .9em;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: url("../img/zitrone-mini.svg") center / contain no-repeat;
}

/* ===== 5 Komponenten ===== */

/* Buttons */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgb(163 40 42 / .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 12px 22px -10px rgb(163 40 42 / .8); }
.btn:active { transform: translateY(0); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--lemon); border-color: var(--ink); box-shadow: none; }
.btn-small { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Kassenbon (Hinweis-Kästen) */
.receipt {
  position: relative; isolation: isolate;
  padding: 22px 24px 34px;
  filter: drop-shadow(0 14px 18px rgb(90 61 16 / .18)) drop-shadow(0 1px 1px rgb(90 61 16 / .1));
}
.receipt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(246 211 60 / .08)),
    #fffefa;
  --tooth: 14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
}
.receipt-head {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .6em; padding-bottom: .6em;
  border-bottom: 2px dashed var(--line);
}
.receipt-title { font-size: 1.3rem; color: var(--red); margin-bottom: .45em; }
.receipt p { font-size: .98rem; }
.receipt-line {
  display: flex; justify-content: space-between; gap: 1em;
  font-family: var(--mono); font-size: .82rem !important; letter-spacing: .04em;
  margin: 0; padding: .35em 0; border-top: 1px dashed var(--line);
}
.receipt-line span:last-child { font-weight: 700; color: var(--ink); }

/* Liste mit Zitronenscheiben als Aufzählungszeichen */
.lemon-list { list-style: none; margin: 0; padding: 0; }
.lemon-list li { position: relative; padding-left: 1.7em; margin-bottom: .45em; }
.lemon-list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 1.05em; height: 1.05em;
  background: url("../img/zitrone-mini.svg") center / contain no-repeat;
}

/* ===== Kopfzeile ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 253 248 / .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgb(90 61 16 / .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 180px; height: auto; transition: width .3s var(--ease); }
@media (min-width: 860px) {
  .brand img { width: 220px; }
  .is-scrolled .brand img { width: 186px; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px; padding: .4em .9em;
  font: inherit; font-weight: 650; font-size: .95rem; color: var(--ink);
  background: transparent; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  position: relative; display: block; padding: .55em .2em;
  color: var(--ink); text-decoration: none; font-weight: 550;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: .2em; right: .2em; bottom: .35em; height: 6px; z-index: -1;
  background: var(--lemon); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* Ohne JavaScript: Navigation einfach umbrechen */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 8px; }
html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1em; }

@media (max-width: 979.98px) {
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgb(90 61 16 / .4);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .js .site-nav.is-open { display: block; animation: drop .3s var(--ease); }
  .js .site-nav li { border-bottom: 1px solid var(--line); }
  .js .site-nav li.nav-cta { border: 0; padding-top: 14px; }
  .js .site-nav a:not(.btn) { padding: .8em .2em; font-size: 1.1rem; }
}
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); }
  .site-nav a:not(.btn) { font-size: 1rem; }
  .nav-cta { margin-left: 6px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ===== 6 Abschnitte ===== */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(32px, 3rem + 3vw, 96px) clamp(48px, 4rem + 3vw, 120px);
  background:
    radial-gradient(60rem 36rem at 85% 30%, rgb(246 211 60 / .28), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgb(163 40 42 / .06), transparent 60%),
    var(--lemon-wash);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 35px, rgb(47 47 46 / .045) 35px 36px);
  -webkit-mask: linear-gradient(to right, #000 0 40%, transparent 85%);
  mask: linear-gradient(to right, #000 0 40%, transparent 85%);
}
.hero-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; position: relative; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

.hero h1 { margin-bottom: .55em; }
.h1-kicker {
  display: block; max-width: 34em;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 600; line-height: 1.4;
  color: var(--ink-soft); letter-spacing: 0; margin-bottom: .7em;
}
.h1-main { display: block; font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
.mark {
  color: var(--red);
  background: linear-gradient(transparent 62%, rgb(246 211 60 / .85) 62% 92%, transparent 92%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-visual { position: relative; max-width: 620px; margin-inline: auto; width: 100%; }
.hero-illustration { width: 100%; position: relative; z-index: 1; }
.float { position: absolute; z-index: 0; pointer-events: none; }
.float-1 { width: 22%; right: -2%; top: -4%; opacity: .9; animation: floaty 9s ease-in-out infinite; }
.float-2 { width: 9%; left: 4%; top: 6%; animation: floaty 7s ease-in-out -2s infinite; }
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  50% { transform: translate3d(0, -12px, 0) rotate(14deg); }
}
.hero .notice {
  position: relative; z-index: 2;
  margin: -11% 0 0 auto; width: min(100%, 360px); transform: rotate(1.5deg);
}
@media (max-width: 559.98px) { .hero .notice { margin-top: -8%; transform: none; } }

/* Fakten-Leiste */
.facts { background: var(--ink); color: #fff; }
.facts-list {
  list-style: none; margin-block: 0; display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.facts-list li { padding: 22px 8px 22px 46px; position: relative; border-bottom: 1px solid rgb(255 255 255 / .1); }
.facts-list li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 28px; height: 28px;
  background: url("../img/zitrone-mini.svg") center / contain no-repeat;
}
.facts-list strong { display: block; font-size: 1.05rem; }
.facts-list span { color: #d9d5c7; font-size: .95rem; }

/* Leistungskarten */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column;
  padding: 22px 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: #e2cf8f; }
.card::after {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--lemon), var(--lemon-deep));
  transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover::after { transform: scaleX(1); }
.card-img { width: 100%; max-width: 240px; margin: 0 auto 10px; transition: transform .5s var(--ease); }
.card:hover .card-img { transform: translateY(-4px) scale(1.03); }
.card-kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .3em; }
.card h3 { margin-bottom: .7em; }
.card .lemon-list { font-size: .98rem; }

.callout {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid; gap: 8px 32px; align-items: center;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--radius);
  background: linear-gradient(120deg, var(--lemon-soft), #fff8de 60%, #fff);
  border: 1px solid #f0e2a6;
}
.callout img { width: 180px; margin-inline: auto; }
.callout h3 { margin-bottom: .4em; }
.callout p { margin: 0; color: var(--ink-soft); }
@media (min-width: 720px) { .callout { grid-template-columns: 220px 1fr; } .callout img { width: 220px; } }

/* Arbeitsweise */
.steps {
  --progress: 0;
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; gap: 22px;
}
.steps::before, .steps::after {
  content: ""; position: absolute; border-radius: 4px;
  left: 27px; top: 28px; bottom: 28px; width: 4px;
}
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(var(--lemon), var(--lemon-deep)); transform-origin: top; transform: scaleY(var(--progress)); }
.step { position: relative; padding-left: 78px; }
.step-num {
  position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  font-weight: 800; font-size: 1.35rem; color: var(--ink);
  background: radial-gradient(circle at 50% 50%, #fffbea 0 54%, var(--lemon) 55% 82%, var(--lemon-deep) 83%);
  box-shadow: 0 6px 14px -6px rgb(201 138 20 / .7);
  transition: transform .4s var(--ease);
}
.step:hover .step-num { transform: rotate(-12deg) scale(1.06); }
.step h3 { margin-top: .25em; }
.step p { color: var(--ink-soft); margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps::before, .steps::after { left: 29px; right: 29px; top: 27px; bottom: auto; width: auto; height: 4px; }
  .steps::after { transform-origin: left; transform: scaleX(var(--progress)); }
  .step { padding: 80px 0 0; }
}

.promise {
  margin-top: clamp(36px, 4vw, 60px); padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.promise h3 { text-align: center; }
.promise-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.promise-list li {
  padding: .45em 1em; border-radius: 999px; font-weight: 600; font-size: .98rem;
  background: var(--lemon-soft); border: 1px solid #f0de94;
  transition: background-color .25s, transform .25s var(--ease);
}
.promise-list li:hover { background: var(--lemon); transform: translateY(-2px); }

/* Zuständigkeits-Check */
.check { display: grid; gap: 22px; }
@media (min-width: 860px) { .check { grid-template-columns: 1fr 1fr; } }
.check-col { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.check-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.check-col h3 img { width: 40px; }
.check-yes { background: linear-gradient(160deg, #fffbe3, #fff); border-color: #f0de94; }
.check-no { background: var(--grey-box); }
.check-icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none; position: relative;
  background: #fff; border: 3px solid #b7b4aa;
}
.check-icon::before {
  content: ""; position: absolute; inset: 50% 8px auto; height: 3px; margin-top: -1.5px; background: #8d8a80; border-radius: 2px;
}
.check details, .faq details {
  border-bottom: 1px solid rgb(47 47 46 / .1);
}
.check summary, .faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: .75em 2.4em .75em 0; font-weight: 600;
  transition: color .2s;
}
.check summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.check summary::after, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat,
    rgb(255 255 255 / .9);
  border: 1px solid rgb(47 47 46 / .25);
  transition: transform .3s var(--ease), background-color .2s;
}
.check-yes summary:hover { color: var(--red); }
.check-no summary:hover { color: var(--ink-soft); }
details[open] > summary::after { transform: rotate(135deg); }
.check-yes details[open] > summary::after { background-color: var(--lemon); }
.check details p, .faq details p { margin: 0 0 1em; color: var(--ink-soft); font-size: .98rem; }
.check details p { padding-left: .9em; border-left: 3px solid var(--lemon); }
.check-no details p { border-color: #b7b4aa; }

details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { block-size: auto; }

.law { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 820px; text-align: center; }
.law blockquote { margin: 0; }
.law blockquote p {
  font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); font-style: italic; font-weight: 500; line-height: 1.4; color: var(--ink);
  margin-bottom: .5em;
}
.law figcaption { font-size: .92rem; color: var(--muted); }
.fineprint { text-align: center; color: var(--muted); font-size: .92rem; max-width: 720px; margin: 18px auto 0; }

/* Über uns */
.about { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1.1fr 1fr; } }
.about-text p { color: var(--ink-soft); }
.about-text strong { color: var(--ink); }
.facts-table { margin: 24px 0 0; border-top: 2px solid var(--ink); }
.facts-table div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; padding: .6em 0; border-bottom: 1px solid var(--line); }
.facts-table dt { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.facts-table dd { margin: 0; font-weight: 600; }
.about-visual { position: relative; }
.about-visual > img { width: 100%; max-width: 520px; margin-inline: auto; }
.receipt-small { width: min(100%, 320px); margin: -6% auto 0; transform: rotate(-1.5deg); }
@media (min-width: 960px) { .receipt-small { margin: -4% 0 0 auto; } }

/* Region und Karte */
.region { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .region { grid-template-columns: .9fr 1.1fr; } }
.region-text > p { color: var(--ink-soft); }
.towns { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.towns button {
  width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
  padding: .8em 1.1em; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.towns button strong { font-size: 1.1rem; }
.towns button span { color: var(--muted); font-size: .95rem; }
.towns button:hover, .towns button[aria-pressed="true"] { background: var(--lemon-soft); border-color: var(--lemon-deep); transform: translateX(4px); }

.map { margin: 0; }
.map svg { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-family: var(--font); }
.map figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.map-berlin { fill: #f1ebdb; }
.map-border { fill: none; stroke: #b9ae8f; stroke-width: 2; stroke-dasharray: 8 6; }
.map-town { cursor: pointer; transition: transform .45s var(--ease); }
.map-seg { fill: url(#karte-seg); stroke: #f3cf48; stroke-width: 1.2; stroke-linejoin: round; transition: fill .3s; }
.map-town:hover .map-seg, .map-town.is-active .map-seg { fill: url(#karte-seg-aktiv); }
.map-ves { fill: #fffbe0; opacity: .7; pointer-events: none; }
.map-town text { font-size: 19px; font-weight: 700; fill: var(--ink); pointer-events: none; paint-order: stroke; stroke: #fff8d6; stroke-width: 5px; stroke-linejoin: round; }
.map-town.is-active text { fill: var(--red-dark); }
.map-leaf { pointer-events: none; }
.map-divider { stroke: #fffbea; stroke-width: 7; stroke-linecap: round; pointer-events: none; }
.map-label-muted { font-size: 22px; font-weight: 700; fill: #a59c80; letter-spacing: .2em; text-transform: uppercase; }
.map-label-small { font-size: 13px; fill: #8a826b; letter-spacing: .04em; }
.map-label-water { font-size: 13px; font-style: italic; fill: #5f8f9e; }
.map-pin { animation: pin 2.4s var(--ease) infinite; transform-box: fill-box; }
@keyframes pin { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow); }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-size: 1.08rem; padding-block: 1em; }
.faq summary:hover { color: var(--red); }

/* Kontakt */
.contact { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: .85fr 1.15fr; } }
.notice-inline {
  padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px;
  background: var(--lemon-soft); border-left: 5px solid var(--lemon-deep); font-size: .98rem;
}
.contact-card { font-style: normal; padding: 24px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.contact-card p { margin-bottom: .8em; }
.contact-name { font-size: 1.1rem; }
.contact-line { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.contact-label { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 5.5em; }
.contact-line a { font-weight: 650; font-size: 1.1rem; }
.contact-hint { color: var(--muted); font-size: .95rem; margin: 0; }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 36px); position: relative; }
.contact-form-wrap::before {
  content: ""; position: absolute; width: 96px; height: 96px; right: -22px; top: -30px;
  background: url("../img/zitrone-scheibe.svg") center / contain no-repeat;
  transform: rotate(-12deg); pointer-events: none;
}
@media (max-width: 559.98px) { .contact-form-wrap::before { width: 64px; height: 64px; right: -6px; top: -26px; } }
.form h3 { margin-bottom: .2em; }
.form-intro { color: var(--muted); font-size: .92rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .96rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7em .9em; min-height: 48px;
  background: var(--paper); border: 1.5px solid #d8cfb6; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none; padding-right: 2.6em;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bfb391; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lemon-deep); background: #fff; box-shadow: 0 0 0 4px rgb(246 211 60 / .45);
}
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red); background: #fff7f6; }
.field-error { color: var(--red); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.field-hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; text-align: right; }
.field-check { display: flex; gap: 12px; align-items: flex-start; }
.field-check input { flex: none; width: 22px; height: 22px; min-height: 0; margin-top: 3px; accent-color: var(--red); }
.field-check label { font-weight: 500; }
.field-check .field-error { flex-basis: 100%; }
.field-check.is-invalid { flex-wrap: wrap; }
.form-privacy { font-size: .9rem; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; margin-top: 4px; }
@media (min-width: 640px) { .btn-submit { width: auto; } }
.btn-submit.is-loading span::after { content: " …"; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red); padding: 12px 16px; background: #fff3f1; border-radius: var(--radius-sm); }
.form-status.is-success { color: #2f5a1e; padding: 12px 16px; background: #f1f8e6; border-radius: var(--radius-sm); }

/* Fußleiste */
.site-footer { position: relative; background: var(--sand); padding-top: 56px; font-size: .98rem; }
.footer-zest {
  position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, var(--lemon) 0 70%, var(--red) 70%);
}
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1fr; } }
.footer-brand img { width: 260px; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-soft); max-width: 30em; font-size: .95rem; }
.footer-title { font-size: .8rem; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1em; font-weight: 600; }
.footer-nav ul, .footer-legal { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .35em; }
.site-footer a { color: var(--ink); text-decoration-color: rgb(47 47 46 / .3); }
.site-footer a:hover { color: var(--red); }
.footer-note { font-weight: 650; color: var(--red); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-block: 18px 26px; font-size: .9rem; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.credit a { font-weight: 650; }

.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; padding: 4px;
  background: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px) rotate(-90deg);
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover img { transform: rotate(72deg); }
.to-top img { transition: transform .5s var(--ease); }

/* ===== Einwilligung (Cookie-Banner) ===== */
[hidden] { display: none !important; }
.consent {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px;
  max-width: 460px; max-height: calc(100vh - 24px); overflow: auto;
  background: #fffefa; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -18px rgb(90 61 16 / .45), 0 2px 6px rgb(90 61 16 / .08);
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.consent.is-visible { opacity: 1; visibility: visible; transform: none; }
.consent:focus { outline: none; }
.consent:focus-visible { outline: none; box-shadow: 0 24px 60px -18px rgb(90 61 16 / .45), 0 0 0 3px rgb(246 211 60 / .8); }
.consent::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--lemon) 0 70%, var(--red) 70%);
}
.consent-inner { position: relative; padding: 24px 22px 18px; }
.consent-lemon { position: absolute; right: 16px; top: 18px; width: 44px; height: 44px; animation: consent-spin 1.2s var(--ease) both; }
@keyframes consent-spin { from { transform: rotate(-120deg) scale(.6); opacity: 0; } }
.consent-head {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 .5em; padding-bottom: .5em; border-bottom: 2px dashed var(--line); margin-right: 56px;
}
.consent-title { font-size: 1.3rem; margin: .4em 56px .4em 0; }
.consent-text { font-size: .95rem; color: var(--ink-soft); margin-bottom: 14px; }
.consent-options { display: grid; gap: 8px; margin-bottom: 14px; }
.consent-option {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .9rem; color: var(--ink-soft);
}
.consent-option strong { display: block; color: var(--ink); }
.consent-option input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.consent-option.is-locked { cursor: default; background: var(--sand); }
.consent-option code { font-size: .82em; background: var(--sand); padding: 0 .3em; border-radius: 4px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-btn { width: 100%; }
/* Ablehnen und Zustimmen gleichwertig (DSK-Vorgabe): beide gleich gestaltet */
.consent-link {
  grid-column: 1 / -1; justify-self: start;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 6px 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--lemon-deep); text-decoration-thickness: 2px;
}
.consent-link[aria-expanded="true"] { color: var(--red); }
.consent [data-consent-save] { grid-column: 1 / -1; }
.consent-legal { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.consent-legal a { color: var(--ink-soft); }
@media (min-width: 560px) { .consent { left: 20px; bottom: 20px; right: auto; width: 440px; } }
@media (max-width: 380px) { .consent-actions { grid-template-columns: 1fr; } }
.footer-consent { font: inherit; font-size: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgb(47 47 46 / .3); text-underline-offset: .18em; }
.footer-consent:hover { color: var(--red); }
.consent-panel { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.consent-panel p { margin: 0; flex: 1 1 260px; font-weight: 600; }

/* ===== 7 Unterseiten ===== */
.page-hero {
  padding-block: clamp(40px, 3rem + 2vw, 80px) clamp(24px, 2rem + 1vw, 40px);
  background: radial-gradient(40rem 20rem at 90% 0%, rgb(246 211 60 / .25), transparent 70%), var(--lemon-wash);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 800; margin: 0; }
.page-hero p { color: var(--muted); margin: .6em 0 0; }
.breadcrumb ol { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: .4em; font-size: .92rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .4em; }
.prose { max-width: 820px; padding-block: clamp(32px, 4vw, 64px) clamp(56px, 6vw, 96px); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: 1.8em; padding-top: .4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose address { font-style: normal; }
.prose .box { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--sand); border: 1px solid var(--line); margin-bottom: 1.2em; }
.prose .box-lemon { background: var(--lemon-soft); border-color: #f0de94; }
.toc { padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; margin-bottom: 2em; }
.toc ol { margin: .4em 0 0; padding-left: 1.3em; columns: 2 240px; }
.stand { color: var(--muted); font-size: .92rem; margin-top: 2.4em; }

.error-page { text-align: center; padding-block: clamp(48px, 6vw, 96px); }
.error-page img { width: min(100%, 480px); margin: 0 auto 8px; }
.error-code { font-family: var(--mono); letter-spacing: .3em; color: var(--muted); margin-bottom: .4em; }
.error-page h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); font-weight: 800; }
.error-page p { color: var(--ink-soft); max-width: 36em; margin-inline: auto; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ===== 8 Bewegung ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .facts-list .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .facts-list .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .facts-list .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }
.js .card.reveal.is-visible { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== 9 Druck ===== */
@media print {
  .site-header, .to-top, .hero-visual .float, .contact-form-wrap, .nav-toggle, .skip-link, .consent { display: none !important; }
  body { font-size: 11pt; background: #fff; }
  .section { padding-block: 16pt; }
  .js .reveal { opacity: 1; transform: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
