/* =========================================================================
   Jacobs Haushaltsauflösungen (Bodo Jacob) — main.css
   Design-System „Handwerklich & Warm" (STANDARDS.md) mit den Farben aus
   Flyer und Logo: Grün → Gold, blaues Slogan-Band, Wegweiser-Schilder.
   Fonts: Zilla Slab (Überschriften) + Karla (Text), self-hosted.
   ========================================================================= */

:root {
  /* Farben */
  --cream: #F4ECE1;
  --cream-deep: #EADFCB;
  --paper: #FBF7F0;
  --ink: #3A2E27;
  --ink-2: #5E4E44;
  --line: rgba(58, 46, 39, .18);
  --green: #4E7A2C;
  --green-deep: #35591D;
  --green-dark: #243F16;
  --gold: #E9BE45;
  --gold-deep: #C99A22;
  --gold-light: #F6DE8C;
  --ribbon: #1F4E79;
  --ribbon-dark: #163A5B;
  --rust: #8A3B1E;
  --wa: #1E7A47;

  /* Form */
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(58, 46, 39, .35);
  --band: linear-gradient(90deg, var(--green-deep) 0%, var(--green) 45%, var(--gold) 100%);

  /* Typo (fluid) */
  --fs-scale: 1;
  --step--1: clamp(.86rem, .84rem + .12vw, .94rem);
  --step-0: clamp(1.02rem, .97rem + .25vw, 1.15rem);
  --step-1: clamp(1.22rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.3rem + 1vw, 2.05rem);
  --step-3: clamp(1.95rem, 1.5rem + 1.9vw, 2.9rem);
  --step-4: clamp(2.35rem, 1.6rem + 3.2vw, 4rem);

  --font-head: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --font-body: 'Karla', 'Segoe UI', Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
input, select, textarea { min-width: 0; max-width: 100%; }
.split > *, .contact-grid > *, .tiles > *, .section-head > *, .contact-teaser > *, .service-pair > *, .two-col > * { min-width: 0; }
html {
  font-size: calc(100% * var(--fs-scale));
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--grain), var(--cream);
  overflow-wrap: anywhere;
  position: relative;
}
/* Papier-Korn als normaler Hintergrund (kein fixiertes Overlay: das erzeugte auf
   Mobilgeräten mit Blend-Mode Kompositions-Artefakte über dem Sticky-Header) */
:root { --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .16 0 0 0 .14 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
p.lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); max-width: 70ch; }
/* Seitenkopf und einspaltige Abschnitte laufen über die volle Containerbreite */
.pagehead .lead, .section-head:not(.section-head--split) .lead { max-width: 86ch; }
.section-head--split .lead { max-width: none; }
a { color: var(--green-deep); text-underline-offset: .15em; text-decoration-thickness: .08em; }
a:hover { color: var(--rust); }
strong { font-weight: 700; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ribbon); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1400px; }

.band { height: 9px; background: var(--band); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.1; letter-spacing: .01em;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); box-shadow: 0 4px 0 var(--gold-deep); }
.btn--primary:hover { background: var(--gold-light); color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 0 var(--gold-deep); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-deep); }
.btn--green { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); box-shadow: 0 4px 0 var(--green-dark); }
.btn--green:hover { background: #456F26; color: var(--cream); transform: translateY(-1px); }
.btn--green:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-dark); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(244, 236, 225, .7); }
.btn--ghost:hover { background: rgba(244, 236, 225, .12); color: var(--cream); }
.btn--outline { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn--outline:hover { background: var(--green-deep); color: var(--cream); }
.btn--wa { background: var(--wa); color: #fff; border-color: var(--wa); box-shadow: 0 4px 0 #14562f; }
.btn--wa:hover { background: #22894f; color: #fff; transform: translateY(-1px); }
.btn--wa:active { transform: translateY(2px); box-shadow: 0 2px 0 #14562f; }
.btn--block { width: 100%; }
/* Mehrere Buttons untereinander/nebeneinander: eigene Reihe mit Abstand,
   sonst überlappen die inline-flex-Buttons beim Zeilenumbruch. */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0 0 1em; }
@media (max-width: 480px) { .btn-row { display: grid; } .btn-row .btn { width: 100%; } }
/* Die beiden Sendewege unter dem Kontaktformular teilen sich die Breite gleichmäßig
   auf und rutschen auf schmalen Schirmen untereinander. */
.btn--grow { flex: 1 1 14rem; justify-content: center; }
.btn-row--form { margin-top: .4rem; }

/* ---------- Header ---------- */
.site-header { background: var(--grain), var(--cream); position: sticky; top: 0; z-index: 20; box-shadow: 0 6px 18px -14px rgba(58, 46, 39, .45); }
.site-header::after { content: ""; display: block; height: 9px; background: var(--band); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 78px; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 58px; height: 58px; flex: none; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: clamp(.95rem, 3.2vw, 1.15rem); line-height: 1.1; overflow-wrap: normal; hyphens: auto; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--ink-2); letter-spacing: .02em; margin-top: .15rem; }
.nav { display: flex; align-items: center; gap: .1rem; }
.nav a { color: var(--ink); text-decoration: none; padding: .55rem .6rem; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--cream-deep); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green-deep); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: .6rem; min-height: 44px; padding-block: .5rem; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--paper); border-radius: var(--radius); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.header-call { display: none; }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .header-call { display: inline-flex; width: 48px; height: 48px; padding: 0; min-height: 48px; }
  .header-call svg { width: 1.3em; height: 1.3em; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--paper); padding: .75rem var(--gutter) 1rem;
    border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .8rem .75rem; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 1rem; }
  .nav .btn { margin: .5rem 0 0; }
  .brand__name { font-size: 1.02rem; }
}
@media (max-width: 400px) {
  .brand__name small { display: none; }
  .brand img { width: 50px; height: 50px; }
}

/* ---------- Ribbon (Slogan-Band wie auf dem Flyer) ---------- */
.ribbon {
  /* align-self ist nötig, weil .hero__block eine Spalten-Flexbox ist: deren
     align-items: stretch zieht das inline-block sonst auf die volle Spaltenbreite,
     das Band lief dann weit über den Slogan hinaus und der Text klebte links.
     text-align fängt schmale Schirme ab, wo das Band doch mehrzeilig wird. */
  position: relative; z-index: 0; display: inline-block;
  align-self: flex-start; text-align: center;
  background: var(--ribbon); color: var(--gold-light);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(.95rem, .85rem + .5vw, 1.2rem); line-height: 1.2;
  padding: .55rem 1.15rem; margin: 0 14px 1.3rem;
  box-shadow: 0 3px 0 var(--ribbon-dark);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 8px; width: 18px; height: 100%; background: var(--ribbon-dark); z-index: -1;
}
.ribbon::before { left: -14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 45% 50%); }
.ribbon::after { right: -14px; clip-path: polygon(0 0, 100% 0, 55% 50%, 100% 100%, 0 100%); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr; }
.hero__block {
  background: var(--green-deep); color: var(--cream);
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__block h1 { color: var(--cream); font-size: clamp(2rem, 1.1rem + 2vw, 3.1rem); margin-bottom: .55em; hyphens: manual; -webkit-hyphens: manual; }
.hero__block .lead { color: rgba(244, 236, 225, .88); max-width: 68ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.hero__media {
  position: relative; overflow: hidden; min-height: 320px;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(233, 190, 69, .22) 0 6deg, transparent 6deg 12deg),
    radial-gradient(circle at 50% 50%, var(--gold-light), var(--cream-deep) 70%);
  display: grid; place-items: center; padding: clamp(1.25rem, 4vw, 3rem);
}
.hero__frame {
  width: fit-content; max-width: 100%; background: var(--paper); padding: 12px 12px 14px;
  border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(58, 46, 39, .55), 0 2px 0 rgba(58, 46, 39, .12);
  transform: rotate(-1.6deg);
}
/* Bild vollständig zeigen (der Flyer ist hochformatig); das Format bestimmt das Bild,
   damit auch ein späteres Querformat-Foto ohne Beschnitt passt. */
.hero__frame img { width: auto; max-width: 100%; max-height: min(56vh, 520px); height: auto; border-radius: 3px; filter: sepia(.08) saturate(1.03); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: min(78vh, 720px); }
  .hero__block { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: clamp(1.5rem, 3vw, 3rem); }
}
@media (max-width: 899px) {
  .hero__media { order: 2; }
  .hero__block { order: 1; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--deep { background: var(--cream-deep); }
.section--green { background: var(--green-deep); color: var(--cream); }
.section--green h2, .section--green h3 { color: var(--cream); }
.section--green a { color: var(--gold-light); }
.section--green a:hover { color: #fff; }
/* Buttons behalten im grünen Abschnitt ihre eigene Textfarbe (sonst gölbe Schrift auf gelbem Grund) */
.section--green .btn--primary, .section--green .btn--primary:hover { color: var(--ink); }
.section--green .btn--wa, .section--green .btn--wa:hover { color: #fff; }
.section--green .btn--ghost, .section--green .btn--ghost:hover { color: var(--cream); }
.section--green .btn--green, .section--green .btn--green:hover { color: var(--cream); }
.section--green .lead, .section--green p { color: rgba(244, 236, 225, .88); }
.section--green .tel-big { color: var(--gold-light); }
.section--green .tel-big:hover { color: #fff; }
.section--green .note { background: rgba(244, 236, 225, .12); color: var(--cream); }
/* Grüner Abschluss-Block geht direkt in den Footer über (kein heller Zwischenstreifen) */
main > .section--green:last-child { margin-bottom: calc(-1 * var(--section)); }
.section-head { display: grid; gap: .5rem 3rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; }
@media (min-width: 768px) {
  .section-head--split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
.entity { font-size: var(--step-0); color: var(--ink-2); max-width: 86ch; }
.center { text-align: center; }

/* ---------- Leistungs-Kacheln (asymmetrisch) ---------- */
.tiles { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: sepia(.12) saturate(1.05); }
.tile__body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.tile__body h3 { font-size: var(--step-2); margin: 0; }
.tile__body p { margin: 0; color: var(--ink-2); }
.tile__more { margin-top: auto; padding-top: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--green-deep); display: inline-flex; align-items: center; gap: .4rem; }
.tile__more svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.tile:hover .tile__more svg { transform: translateX(4px); }
.tile--gold { background: var(--gold-light); border-color: transparent; }
.tile--gold .tile__body p { color: var(--ink); }
.tile--green { background: var(--green-deep); color: var(--cream); border-color: transparent; }
.tile--green:hover { color: var(--cream); }
.tile--green .tile__body h3 { color: var(--cream); }
.tile--green .tile__body p { color: rgba(244, 236, 225, .85); }
.tile--green .tile__more { color: var(--gold-light); }
.tile--text .tile__body { padding: 1.6rem 1.5rem 1.7rem; justify-content: flex-start; }
@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile--a { grid-column: span 6; }
  .tile--b { grid-column: span 6; }
  .tile--c { grid-column: span 6; }
  .tile--d { grid-column: span 6; }
  .tile--a img, .tile--b img { aspect-ratio: 16 / 9; }
}

/* ---------- Wegweiser (Signatur-Element, wie die Schilder auf dem Flyer) ---------- */
.signpost { position: relative; padding: 1.5rem 0 2rem; }
.signpost__post {
  position: absolute; top: 0; bottom: 0; left: 26px; width: 16px; border-radius: 6px;
  background: linear-gradient(90deg, #5a3d22, #8a6540 45%, #6b4a2b);
  box-shadow: 0 6px 0 rgba(58, 46, 39, .2);
}
.signpost__post::after { content: ""; position: absolute; left: -6px; right: -6px; top: -12px; height: 14px; background: #4a3019; border-radius: 4px 4px 2px 2px; }
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.sign {
  position: relative; width: calc(100% - 60px); margin-left: 60px;
  background: var(--paper); border: 2px solid var(--ink); padding: .9rem 1.2rem .95rem;
  box-shadow: 0 5px 0 rgba(58, 46, 39, .22);
  transform: rotate(-1.2deg);
}
.sign:nth-child(even) { transform: rotate(1.1deg); }
.sign::before, .sign::after { content: ""; position: absolute; top: 50%; translate: 0 -50%; border-style: solid; }
.sign::before { left: -22px; border-width: 21px 21px 21px 0; border-color: transparent var(--ink) transparent transparent; }
.sign::after { left: -18px; border-width: 18px 18px 18px 0; border-color: transparent var(--paper) transparent transparent; }
.sign strong { display: block; font-family: var(--font-head); font-size: var(--step-1); text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.sign span { display: block; color: var(--ink-2); font-size: var(--step--1); margin-top: .2rem; }
@media (min-width: 860px) {
  .signpost { padding: 2rem 0 2.5rem; }
  .signpost__post { left: 50%; margin-left: -8px; }
  /* Zwei Spalten, die sich am Pfosten (50 %) treffen: beide Seiten haben damit
     exakt denselben Abstand zur Mitte. Die Zeile je Schild erzeugt das Zickzack. */
  .signs { grid-template-columns: 1fr 1fr; column-gap: 110px; }
  .sign { width: 100%; max-width: 480px; margin: 0; }
  .sign:nth-child(odd) { grid-column: 1; justify-self: end; }
  .sign:nth-child(even) { grid-column: 2; justify-self: start; }
  .sign:nth-child(1) { grid-row: 1; } .sign:nth-child(2) { grid-row: 2; }
  .sign:nth-child(3) { grid-row: 3; } .sign:nth-child(4) { grid-row: 4; }
  .sign:nth-child(5) { grid-row: 5; } .sign:nth-child(6) { grid-row: 6; }
  .sign:nth-child(7) { grid-row: 7; } .sign:nth-child(8) { grid-row: 8; }
  .sign:nth-child(odd)::before { left: auto; right: -22px; border-width: 21px 0 21px 21px; border-color: transparent transparent transparent var(--ink); }
  .sign:nth-child(odd)::after { left: auto; right: -18px; border-width: 18px 0 18px 18px; border-color: transparent transparent transparent var(--paper); }
  .sign strong { font-size: var(--step-2); }
}
@media (min-width: 860px) { .signs { row-gap: .35rem; } }

/* ---------- Ablauf (echte Reihenfolge, daher nummeriert) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.2rem 1.2rem 1.2rem 4.2rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1rem; top: 1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--band); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 2px var(--green-deep);
}
.step h3 { margin: 0 0 .25rem; }
.step p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .step { padding: 4.2rem 1.2rem 1.3rem 1.2rem; }
  .step::before { left: 1.2rem; top: 1.2rem; }
}

/* ---------- Split (Text + Bild / Karte) ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--top { align-items: start; } .split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .split--rev > :first-child { order: 2; } }
.region-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; }
.region-list li { font-family: var(--font-head); font-weight: 600; font-size: var(--step-0); padding: .4rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 540px) { .region-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Polaroid-Rahmen (Handwerklich & Warm) */
.polaroid { background: var(--paper); padding: 12px 12px 2.6rem; box-shadow: 0 18px 40px -18px rgba(58, 46, 39, .55), 0 2px 0 rgba(58, 46, 39, .1); transform: rotate(1.4deg); width: min(100%, 520px); margin-inline: auto; }
.polaroid img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; filter: sepia(.14) saturate(1.05); }
.polaroid figcaption { font-family: var(--font-head); font-size: 1.05rem; text-align: center; margin-top: .9rem; color: var(--ink-2); }
.polaroid--land { transform: rotate(-1.2deg); width: min(100%, 620px); }
.polaroid--land img { aspect-ratio: 3 / 2; }

/* ---------- Karte (Leaflet, 2-Klick) ---------- */
.map-wrap--wide { aspect-ratio: 21 / 8; }
@media (max-width: 700px) { .map-wrap--wide { aspect-ratio: 4 / 3; } }
.map-wrap { position: relative; aspect-ratio: 4 / 3; min-height: 200px; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); border: 1px solid var(--line); }
.map-wrap .map { position: absolute; inset: 0; z-index: 1; }
.map-consent {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; gap: .6rem; padding: 1.5rem;
  background: linear-gradient(160deg, var(--green-deep), var(--green-dark)); color: var(--cream);
}
.map-consent p { margin: 0; max-width: 40ch; font-size: var(--step--1); color: rgba(244, 236, 225, .85); }
.map-consent a { color: var(--gold-light); }
.map-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: .9rem; font-size: var(--step--1); }
.map-links a { display: inline-flex; align-items: center; gap: .35rem; }
.map-links svg { width: 1.1em; height: 1.1em; }
.leaflet-container { font-family: var(--font-body); }

/* ---------- Kontakt-Teaser (Startseite) ---------- */
.contact-teaser { display: grid; gap: 1.5rem; align-items: center; }
.contact-teaser__phone { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 3.5vw, 3.6rem); line-height: 1.05; color: var(--gold-light); text-decoration: none; display: inline-block; }
.contact-teaser__phone:hover { color: #fff; }
.contact-teaser__actions { display: grid; gap: .9rem; justify-items: start; }
@media (max-width: 859px) { .contact-teaser__actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 860px) { .contact-teaser { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

/* ---------- Seitenkopf Unterseiten ---------- */
.pagehead { padding-block: clamp(2.2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.pagehead h1 { margin-bottom: .35em; }
.crumbs { font-size: var(--step--1); padding-top: 1rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .5rem; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin-right: .5rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }

/* ---------- Leistungs-Detail ---------- */
.service { padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service:first-of-type { border-top: 0; }
.service .split { align-items: start; }
.facts { display: grid; gap: .8rem; margin: 1.4rem 0 0; background: var(--paper); border-radius: var(--radius); padding: 1.1rem 1.3rem; border: 1px solid var(--line); }
.facts > div { display: grid; gap: .15rem; align-content: start; }
.facts dt { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--green-deep); }
.facts dd { margin: 0; color: var(--ink-2); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; } }
.service-pair { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .service-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
.service-pair .card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.service-pair .card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: sepia(.12) saturate(1.05); }
.service-pair .card > div { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-pair .card > div > :last-child { margin-top: auto; margin-bottom: 0; }
.service-pair .card .note { margin-bottom: 1.1rem; }
.service-pair .card h3 { font-size: var(--step-2); }
.note { background: var(--gold-light); border-radius: var(--radius); padding: .9rem 1.1rem; font-size: var(--step--1); }

/* ---------- Ankauf: Liste der Dinge, die angekauft werden ---------- */
.buy-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .5rem; grid-auto-rows: 1fr; }
.buy-list li {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-weight: 600; font-size: var(--step-0);
  padding: .6rem .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.buy-list li::before {
  content: ""; width: 12px; height: 12px; flex: none; border-radius: 3px; rotate: 45deg;
  background: var(--band);
}
@media (min-width: 560px) { .buy-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .buy-list { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .buy-list { grid-template-columns: 1fr 1fr; } }
.note--big { margin-top: 1.5rem; padding: 1.1rem 1.3rem; font-size: var(--step-0); }
.note--big strong { display: block; font-family: var(--font-head); font-size: var(--step-1); margin-bottom: .25rem; }
.note--big p { margin: 0; }

/* Flyer-Abbildung (Rückseite auf der Ankauf-Seite) */
.flyer { margin: 0 auto; background: var(--paper); padding: 12px; box-shadow: 0 18px 40px -18px rgba(58, 46, 39, .55), 0 2px 0 rgba(58, 46, 39, .1); transform: rotate(1.2deg); width: min(100%, 460px); }
.flyer img { width: 100%; height: auto; display: block; }

/* ---------- Markttermine ---------- */
.markt-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.markt { display: grid; gap: .3rem 1.4rem; align-items: baseline; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.markt__datum { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: var(--step-1); color: var(--green-deep); }
.markt__body h3 { margin: 0 0 .2rem; font-size: var(--step-1); }
.markt__body p { margin: 0; color: var(--ink-2); }
@media (min-width: 640px) { .markt { grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); } }

/* ---------- Werte-Liste (Über uns) ---------- */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.values li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; align-content: start; padding: 1rem 1.1rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.values svg { width: 34px; height: 34px; color: var(--green-deep); flex: none; }
.values strong { font-family: var(--font-head); font-size: var(--step-1); display: block; }
.values span { color: var(--ink-2); }
@media (min-width: 720px) and (max-width: 1099px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } .values li:last-child { grid-column: span 2; } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(5, minmax(0, 1fr)); } .values li { grid-template-columns: 1fr; gap: .6rem; padding: 1.2rem 1.1rem 1.3rem; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.contact-list svg { width: 30px; height: 30px; color: var(--green-deep); margin-top: .1rem; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.contact-list a { font-weight: 500; }
.contact-list .big { font-family: var(--font-head); font-weight: 700; font-size: var(--step-2); text-decoration: none; color: var(--rust); }
.contact-list .big:hover { color: var(--green-deep); }
.tel-big { font-family: var(--font-head); font-weight: 700; font-size: var(--step-2); text-decoration: none; color: var(--rust); }
.tel-big:hover { color: var(--green-deep); }
.wa-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: grid; gap: .6rem; margin: 1.5rem 0; }
.wa-box p { margin: 0; color: var(--ink-2); }

/* Öffnungszeiten als Ausklapper (zugeklappt endet die Spalte mit dem Formular) */
.hours-box { margin-top: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.hours-box > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.1rem; min-height: 48px;
}
.hours-box > summary::-webkit-details-marker { display: none; }
.hours-box > summary h2 { margin: 0; font-size: var(--step-1); }
.hours-box > summary::after {
  content: ""; width: 12px; height: 12px; flex: none; border-right: 3px solid var(--green-deep); border-bottom: 3px solid var(--green-deep);
  rotate: 45deg; translate: 0 -3px; transition: rotate .2s var(--ease);
}
.hours-box[open] > summary::after { rotate: -135deg; translate: 0 3px; }
.hours-box > summary:hover { background: var(--cream-deep); border-radius: var(--radius); }
.hours-box > summary:focus-visible { outline: 3px solid var(--ribbon); outline-offset: -3px; }
.hours-box .hours { margin: 0 1.1rem; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.hours-box .hours-note { margin: .8rem 1.1rem 1.1rem; }
.hours-h { font-size: var(--step-1); margin: 1.8rem 0 .6rem; }
.hours { margin: 0; display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .9rem; }
.hours > div + div { border-top: 1px solid var(--line); }
.hours > div:nth-child(6), .hours > div:nth-child(7) { color: var(--ink-2); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-family: var(--font-head); font-weight: 600; }
.hours-note { margin: .7rem 0 0; font-size: var(--step--1); color: var(--ink-2); }
.tel-sub { display: block; font-size: var(--step--1); color: var(--ink-2); margin-top: .15rem; }

/* Formular */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.form h2 { margin-bottom: .2rem; }
.field { display: grid; gap: .35rem; }
.field label, .consent label { font-weight: 700; font-size: .98rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--ink-2); border-radius: 8px; padding: .7rem .85rem; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ribbon); outline-offset: 1px; border-color: var(--ribbon); }
.field .err, .consent .err { display: none; color: var(--rust); font-size: .92rem; font-weight: 700; }
.field.invalid .err, .consent.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--rust); }
.two-col { display: grid; gap: 1rem; }
@media (min-width: 560px) { .two-col { grid-template-columns: 1fr 1fr; } }
.req { color: var(--rust); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .6rem .7rem; align-items: start; }
.consent input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--green-deep); }
.consent label { font-weight: 400; }
.consent .err { grid-column: 2; }
.form-status { display: none; padding: .8rem 1rem; border-radius: 8px; font-weight: 700; }
.form-status.ok { display: block; background: #e2efd6; color: var(--green-dark); }
.form-status.bad { display: block; background: #f6ddd3; color: var(--rust); }
.form-status.pending { display: block; background: var(--cream-deep); color: var(--ink); }
.form-note { margin: 0; font-size: var(--step--1); color: var(--ink-2); }

/* ---------- Rechtstexte: Inhaltsverzeichnis links, Text rechts ---------- */
.section--legal { padding-block: 0 var(--section); }
.legal { display: grid; gap: 2rem 4rem; align-items: start; }
.prose { max-width: 82ch; }
.prose > h2:first-child { margin-top: 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.toc__h { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin: 0 0 .5rem; }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: .3rem; font-size: var(--step--1); }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--green-deep); text-decoration: underline; }
.prose h2 { scroll-margin-top: 110px; }
@media (min-width: 1000px) {
  .legal { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
  .toc { position: sticky; top: 104px; }
}
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul { padding-left: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(244, 236, 225, .9); margin-top: var(--section); }
.site-footer a { color: var(--gold-light); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
/* Mobil die beiden Link-Spalten nebeneinander (spart Seitenlänge) */
@media (max-width: 719px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer ul { gap: .5rem; }
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--cream); text-decoration: none; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand b { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.1; }
.footer-h { font-family: var(--font-head); font-size: 1.1rem; color: var(--cream); margin: 0 0 .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer address { line-height: 1.55; }
.linklike { background: none; border: 0; padding: 0; color: var(--gold-light); text-decoration: underline; cursor: pointer; font: inherit; text-align: left; }
.linklike:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(244, 236, 225, .18); padding-block: 1.1rem 5.5rem; font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom .credit { color: rgba(244, 236, 225, .85); }
@media (min-width: 720px) { .footer-bottom { padding-bottom: 1.4rem; padding-right: calc(var(--gutter) + 3.75rem); } }

/* ---------- Schwebende Elemente ---------- */
.wa-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .55rem .95rem .55rem .7rem;
  background: var(--wa); color: #fff; border-radius: 999px; text-decoration: none; font-family: var(--font-head); font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #22894f; color: #fff; }
@media (max-width: 480px) { .wa-float__label { display: none; } .wa-float { padding: .55rem .7rem; } }
/* Auf der Kontaktseite führt der schwebende Knopf nirgends hin, wo man nicht schon
   wäre: dort stehen der WhatsApp-Sendeweg des Formulars und der WhatsApp-Kasten
   daneben. Er lag außerdem genau über dem Senden-Button. */
.page-kontakt .wa-float { display: none; }

.a11y { position: fixed; right: 16px; bottom: 16px; z-index: 50; }
.a11y__toggle { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--cream); background: var(--green-deep); color: var(--cream); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.a11y__toggle svg { width: 28px; height: 28px; }
.a11y__panel { position: absolute; right: 0; bottom: 62px; width: min(320px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); display: grid; gap: .7rem; }
.a11y__panel h2 { font-size: 1.15rem; margin: 0 0 .2rem; }
.a11y__row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.a11y__btns { display: inline-flex; gap: .3rem; }
.a11y__btns button, .a11y__switch, .a11y__reset { min-height: 40px; min-width: 44px; padding: .3rem .6rem; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 8px; font-weight: 700; cursor: pointer; }
.a11y__switch[aria-pressed="true"] { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }
.a11y__reset { width: 100%; margin-top: .2rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: var(--section); }

/* ---------- Reveal (dezent, nur ohne Bewegungs-Reduktion) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
html[data-motion="reduce"] .reveal { opacity: 1; transform: none; transition: none; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }

/* ---------- Hoher Kontrast (Barrierefreiheits-Menü) ---------- */
html[data-contrast="high"] {
  --cream: #FFFFFF; --cream-deep: #F1EBE0; --paper: #FFFFFF;
  --ink: #111111; --ink-2: #262626; --line: rgba(0, 0, 0, .45);
  --green: #2E5A14; --green-deep: #1F4210; --green-dark: #15300A;
  --gold: #F2C230; --gold-light: #FFE58A; --ribbon: #0F3A64;
}
html[data-contrast="high"] body, html[data-contrast="high"] .site-header { background-image: none; }
html[data-contrast="high"] a { text-decoration: underline; }
html[data-contrast="high"] .hero__media { background: var(--cream-deep); }

/* ---------- Print ---------- */
@media print {
  .site-header .nav, .nav-toggle, .wa-float, .a11y, .site-footer .footer-grid { display: none !important; }
  body { background: #fff; color: #000; }
}
