/* =============================================================
   KOWERT – Designsystem „Gartenbuch“: ruhig, seriös, wenig Bewegung
   Mobile-first. Alle Farbwerte stehen NUR im :root-Block.
   Grün aus dem Logo, Signal-Orange vom Minibagger.
   ============================================================= */

@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  /* Markenfarben – die einzigen frei gewählten Werte */
  --brand:  #2f6b2c;
  --accent: #f26a1b;
  --ink:    #111a11;
  --paper:  #f3f0e7;
  --white:  #ffffff;
  --wa:     #25d366;

  /* Abgeleitete Stufen (gleicher Farbton über die ganze Skala) */
  --brand-900: color-mix(in oklch, var(--brand), black 62%);
  --brand-800: color-mix(in oklch, var(--brand), black 45%);
  --brand-700: color-mix(in oklch, var(--brand), black 22%);
  --brand-300: color-mix(in oklch, var(--brand), white 48%);
  --brand-100: color-mix(in oklch, var(--brand), white 86%);
  --accent-700: color-mix(in oklch, var(--accent), black 18%);
  --accent-100: color-mix(in oklch, var(--accent), white 85%);
  --paper-200: color-mix(in oklch, var(--paper), var(--ink) 7%);
  --line: color-mix(in oklch, var(--ink), transparent 86%);
  --line-light: color-mix(in oklch, var(--white), transparent 84%);
  --muted: color-mix(in oklch, var(--ink), var(--paper) 38%);
  --muted-light: color-mix(in oklch, var(--white), transparent 28%);
  --shade: color-mix(in oklch, var(--brand-900), transparent 20%);
  --shade-strong: color-mix(in oklch, var(--brand-900), transparent 6%);
  --shadow: 0 1px 0 var(--line), 0 18px 40px -24px color-mix(in oklch, var(--ink), transparent 55%);

  /* Typo */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --text-xs: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --text-sm: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --text-lg: clamp(1.12rem, 1.05rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --text-2xl: clamp(1.9rem, 1.45rem + 2vw, 3.1rem);
  --text-3xl: clamp(2.3rem, 1.6rem + 3.4vw, 4.4rem);
  --text-hero: clamp(2.6rem, 1.4rem + 6.2vw, 7rem);

  /* Raum (8px-Raster) */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s6: 3rem;
  --s8: clamp(3.5rem, 2.4rem + 4vw, 6.5rem);
  --s12: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --container: 76rem;
  --radius: 4px;
  --header-h: 68px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: 64px; /* Platz für die mobile Aktionsleiste */
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
p { text-wrap: pretty; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--brand-700); }
.on-dark h1 em, .on-dark h2 em { color: var(--brand-300); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--ink); padding: var(--s1) var(--s2); z-index: 200; }
.skip-link:focus { left: var(--s1); top: var(--s1); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.15em; height: 1.15em; flex: none; stroke-width: 2.1; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s8); position: relative; }

/* ---------- Bausteine ---------- */
.eyebrow, .section-subtitle {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--text-sm); font-weight: 700;
  letter-spacing: 0.01em; color: var(--brand-700);
  margin-bottom: var(--s2);
}
.on-dark .eyebrow, .on-dark .section-subtitle { color: var(--brand-300); }

.section-header { max-width: 46rem; margin-bottom: var(--s6); }
.section-header h2 { font-size: var(--text-2xl); }
.section-description, .section-header p { color: var(--muted); font-size: var(--text-lg); margin-top: var(--s2); max-width: 60ch; }
.on-dark .section-description, .on-dark .section-header p { color: var(--muted-light); }

h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

/* Buttons – kantig, kein Pillen-Look */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.85em 1.4em;
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); letter-spacing: 0;
  text-decoration: none; text-align: center; line-height: 1.15;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary, .btn-accent { background: var(--accent); color: var(--ink); }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-700); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--brand-800); }
.btn-secondary, .btn-outline, .btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-secondary:hover, .btn-outline:hover, .btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn-secondary:hover, .on-dark .btn-outline:hover, .on-dark .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-block { width: 100%; }
.btn-large { min-height: 58px; font-size: var(--text-lg); }
.btn-text { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--brand-700); text-decoration: none; }
.btn-text:hover { color: var(--accent-700); }

.on-dark { background: var(--brand-900); color: var(--paper); isolation: isolate; }
.on-dark::after, .grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.16; mix-blend-mode: overlay;
}

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s2); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; margin-right: auto; }
.brand img { width: 54px; height: auto; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1; color: var(--brand-800); }
.brand-sub { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); margin-top: 0.3rem; }

.main-nav ul { display: flex; flex-direction: column; }
.main-nav a { text-decoration: none; font-weight: 600; }
.header-call { min-height: 44px; padding: 0.55em 0.9em; font-size: var(--text-sm); }
.header-call .label { display: none; }

.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 2px solid var(--ink); border-radius: var(--radius); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobiles Menü als Vollfläche */
.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--brand-900); color: var(--paper);
  padding: var(--s4) var(--gutter) calc(var(--s8) + 64px);
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.main-nav.open { transform: none; opacity: 1; visibility: visible; }
.main-nav li { border-bottom: 1px solid var(--line-light); }
.main-nav li a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-family: var(--font-display); font-size: var(--text-xl); }
.main-nav li a[aria-current="page"] { color: var(--accent); }
.nav-extra { margin-top: var(--s4); display: grid; gap: var(--s2); }
.nav-extra p { font-size: var(--text-xs); color: var(--muted-light); letter-spacing: 0.1em; }
body.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  :root { --header-h: 80px; }
  .nav-toggle, .nav-extra { display: none; }
  .main-nav { position: static; inset: auto; background: none; color: inherit; padding: 0; opacity: 1; visibility: visible; transform: none; overflow: visible; }
  .main-nav ul { flex-direction: row; gap: 0.25rem; }
  .main-nav li { border: 0; }
  .main-nav li a { font-family: var(--font-body); font-size: var(--text-sm); padding: 0.55rem 0.8rem; position: relative; }
  .main-nav li a::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.25rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
  .main-nav li a:hover::after, .main-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav li a[aria-current="page"] { color: inherit; }
  .main-nav li a .icon { display: none; }
  .header-call .label { display: inline; }
  .brand img { width: 64px; }
}

/* =============================================================
   MOBILE AKTIONSLEISTE
   ============================================================= */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  background: var(--ink); border-top: 1px solid var(--line-light);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 64px; color: var(--paper); text-decoration: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
.action-bar a + a { border-left: 1px solid var(--line-light); }
.action-bar .icon { width: 22px; height: 22px; }
.action-bar .ab-call { background: var(--accent); color: var(--ink); font-size: 0.85rem; }
.action-bar .ab-wa .icon { color: var(--wa); }
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
}

/* =============================================================
   STARTSEITE – HERO
   ============================================================= */
.hero {
  display: grid; background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding-block: var(--s4) var(--s4); }
.hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.7rem); line-height: 1.06; max-width: 19ch; }
.hero-lead { font-size: var(--text-lg); max-width: 40ch; margin-top: var(--s3); color: var(--muted); }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: var(--s4); }
.hero-hours { margin-top: var(--s2); font-size: var(--text-sm); color: var(--muted); }
.hero-hours strong { color: var(--ink); font-weight: 600; }
.hero-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.25rem;
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line);
  font-size: var(--text-sm); font-weight: 600;
}
.hero-facts li { display: flex; align-items: flex-start; gap: 0.5em; }
.hero-facts .icon { color: var(--brand); margin-top: 0.15em; }
.hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-800); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.hero-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem var(--gutter) 0.9rem;
  font-size: var(--text-xs); color: var(--paper);
  background: linear-gradient(0deg, var(--shade-strong), transparent);
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(calc(100svh - var(--header-h)), 820px); }
  .hero .hero-inner { max-width: calc(var(--container) / 2); margin-inline: auto 0; padding: var(--s6) var(--s6) var(--s6) var(--gutter); align-self: center; }
  .hero-media { aspect-ratio: auto; }
  .hero-media img { position: absolute; inset: 0; }
  .hero-media figcaption { padding-inline: var(--s3); }
}

/* Versprechen */
.promise-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.promise { background: var(--paper); padding: var(--s3); display: grid; gap: 0.35rem; align-content: start; }
.promise h3 { font-size: var(--text-lg); }
.promise p { color: var(--muted); font-size: var(--text-sm); }
@media (min-width: 700px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } .promise { padding: var(--s4) var(--s3); } }

/* =============================================================
   LEISTUNGS-INDEX (Startseite)
   ============================================================= */
.services-head { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.services-head h2 { font-size: var(--text-3xl); }
.services-head p { color: var(--muted); max-width: 46ch; font-size: var(--text-lg); }
@media (min-width: 1000px) { .services-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }

.service-list { border-top: 2px solid var(--ink); counter-reset: svc; }
.service-row {
  position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 0.25rem 1rem; align-items: center;
  grid-template-areas: "thumb title go" "thumb desc go";
  padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background-color 0.3s;
}
.service-row > img, .service-row > .thumb-empty { grid-area: thumb; align-self: start; }
.service-row > div { grid-area: title; align-self: end; }
.service-row > p { grid-area: desc; align-self: start; }
.service-row > .go { grid-area: go; }
.service-row img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius); }
.service-row .thumb-empty { width: 76px; height: 76px; border-radius: var(--radius); display: grid; place-items: center; background: var(--brand-800); color: var(--brand-300); }
.service-row .thumb-empty .icon { width: 30px; height: 30px; }
.service-row h3 { font-size: var(--text-xl); }
.service-row p { color: var(--muted); font-size: var(--text-sm); margin-top: 0.25rem; }
.service-row .go { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: var(--radius); transition: background-color 0.2s, color 0.2s; }
.service-row:hover .go { background: var(--accent); border-color: var(--accent); }
@media (max-width: 420px) { .service-row .go { display: none; } .service-row { grid-template-columns: 64px 1fr; grid-template-areas: "thumb title" "thumb desc"; } .service-row img, .service-row .thumb-empty { width: 64px; height: 64px; } }
@media (min-width: 1000px) {
  .service-row { grid-template-columns: 120px 1fr 1.2fr auto; grid-template-areas: "thumb title desc go"; padding: 1.25rem 0; gap: 2rem; }
  .service-row > div, .service-row > p, .service-row > img, .service-row > .thumb-empty { align-self: center; }
  .service-row img, .service-row .thumb-empty { width: 120px; height: 90px; }
  .service-row h3 { font-size: var(--text-2xl); }
  .service-row p { margin: 0; font-size: var(--text-base); }
  .service-row:hover h3 { color: var(--brand-700); }
}

/* =============================================================
   VORHER / NACHHER
   ============================================================= */
.ba-section .container { display: grid; gap: var(--s4); }
.ba-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ba-tab {
  min-height: 44px; padding: 0.5rem 1rem; border: 1px solid var(--line-light); border-radius: var(--radius);
  font-size: var(--text-xs); letter-spacing: 0.01em; color: var(--muted-light);
}
.ba-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 4; max-height: 78svh; width: 100%; overflow: hidden; border-radius: var(--radius);
  user-select: none; touch-action: pan-y; background: var(--brand-800);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--accent); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); display: grid; place-items: center; background: var(--accent); color: var(--ink); border-radius: var(--radius); }
.ba-knob .icon { width: 26px; height: 26px; stroke-width: 2.4; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label {
  position: absolute; top: 1rem; padding: 0.35rem 0.7rem; border-radius: var(--radius);
  font-size: var(--text-xs); letter-spacing: 0.1em;
  background: var(--ink); color: var(--paper); pointer-events: none;
}
.ba-label.before { left: 1rem; }
.ba-label.after { right: 1rem; background: var(--accent); color: var(--ink); }
.ba-caption h3 { font-size: var(--text-xl); }
.ba-caption p { color: var(--muted-light); margin-top: 0.5rem; }
.ba-caption .meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: var(--s2); font-size: var(--text-xs); letter-spacing: 0.01em; color: var(--brand-300); }
@media (min-width: 1000px) {
  .ba-section .container { grid-template-columns: 1fr 1.25fr; align-items: center; gap: var(--s8); }
  .ba { aspect-ratio: 4 / 5; }
}

/* =============================================================
   ZIELGRUPPEN
   ============================================================= */
.audience-grid { display: grid; gap: var(--s3); }
.audience { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; }
.audience-media { aspect-ratio: 16 / 10; overflow: hidden; }
.audience-media img { width: 100%; height: 100%; object-fit: cover; }
.audience-body { padding: var(--s3); display: grid; gap: var(--s2); align-content: start; }
.audience-body h3 { font-size: var(--text-2xl); }
.check-list { display: grid; gap: 0.6rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.check-list .icon { color: var(--brand); margin-top: 0.2em; }
.audience.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.audience.dark .check-list .icon { color: var(--accent); }
.audience.dark p { color: var(--muted-light); }
@media (min-width: 900px) { .audience-grid { grid-template-columns: 1fr 1fr; } .audience-body { padding: var(--s4); } }

/* =============================================================
   ABLAUF
   ============================================================= */
.steps { display: grid; gap: var(--s4); counter-reset: step; }
.step { position: relative; padding-left: 4.5rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -0.15em;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 3rem; line-height: 1; color: var(--accent);
}
.step h3 { font-size: var(--text-xl); margin-bottom: 0.4rem; }
.step p { color: var(--muted-light); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .step { padding: var(--s6) 0 0; border-top: 2px solid var(--line-light); }
  .step::before { top: var(--s2); font-size: 1.6rem; }
}

/* =============================================================
   WERKPLATZ / INHABER
   ============================================================= */
.workshop { display: grid; gap: var(--s4); }
.workshop-media { position: relative; }
.workshop-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.workshop-media .tag {
  position: absolute; left: var(--s2); bottom: var(--s2); background: var(--accent); color: var(--ink); padding: 0.5rem 0.8rem; border-radius: var(--radius);
  font-size: var(--text-xs); letter-spacing: 0.01em;
}
.workshop-text h2 { font-size: var(--text-3xl); }
.workshop-text p { color: var(--muted); margin-top: var(--s2); max-width: 56ch; }
.workshop-text .btn { margin-top: var(--s4); }
.quote { margin-top: var(--s3); padding-left: var(--s3); border-left: 4px solid var(--accent); font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.25; letter-spacing: -0.02em; }
@media (min-width: 900px) { .workshop { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: var(--s8); } }

/* =============================================================
   BEWERTUNGS-BAND
   ============================================================= */
.review-band { border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s4) var(--s3); display: grid; gap: var(--s3); background: var(--white); }
.review-band h2 { font-size: var(--text-2xl); }
.review-band p { color: var(--muted); }
.stars { display: flex; gap: 4px; color: var(--accent); }
.stars .icon { fill: currentColor; width: 22px; height: 22px; }
@media (min-width: 900px) { .review-band { grid-template-columns: auto 1fr auto; align-items: center; padding: var(--s4); gap: var(--s4); } }

/* =============================================================
   FAQ
   ============================================================= */
.faq-layout { display: grid; gap: var(--s4); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); } .faq-layout .section-header { position: sticky; top: calc(var(--header-h) + var(--s4)); align-self: start; } }
.faq-grid { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.015em;
}
.faq-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: var(--radius); transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { padding-bottom: 1.2rem; color: var(--muted); max-width: 62ch; }

/* =============================================================
   EINSATZGEBIET + KARTE
   ============================================================= */
.area { display: grid; gap: var(--s4); }
.town-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.town-list li { padding: 0.5rem 0.9rem; border: 1px solid var(--line-light); border-radius: var(--radius); font-weight: 600; font-size: var(--text-sm); }
.town-list li.home { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.area p { color: var(--muted-light); }
.area a { color: var(--accent); }
@media (min-width: 1000px) { .area { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s8); } }

.map-container, .map-consent { position: relative; }
.map-consent {
  min-height: 340px; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; text-align: center;
  padding: var(--s4) var(--s3); background: var(--brand-800); color: var(--paper); isolation: isolate;
}
.map-consent::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.12; color: var(--brand-300); background-image: repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px); }
.map-consent p { font-size: var(--text-sm); color: var(--muted-light); max-width: 40ch; margin: 0.75rem auto var(--s2); }
.map-consent strong { font-family: var(--font-display); font-size: var(--text-lg); display: block; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-container .map-consent { border-radius: 0; min-height: 380px; }

/* =============================================================
   ABSCHLUSS-CTA
   ============================================================= */
.cta-section { position: relative; padding-block: var(--s12); background: var(--paper-200); color: var(--ink); overflow: hidden; isolation: isolate; }
.cta-content { max-width: 60rem; }
.cta-content h2 { font-size: var(--text-3xl); }
.cta-content p { font-size: var(--text-lg); margin-top: var(--s2); max-width: 50ch; color: var(--muted); }
.cta-phone { display: inline-block; margin-top: var(--s4); font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1rem + 6vw, 5.5rem); line-height: 1; letter-spacing: -0.02em; text-decoration: none; border-bottom: 3px solid var(--accent); }
.cta-phone:hover { color: var(--brand-700); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s4); }
.cta-buttons .btn-primary { background: var(--accent); color: var(--ink); }
.cta-buttons .btn-primary:hover { background: var(--accent-700); }
.cta-note { font-size: var(--text-sm); color: var(--muted); letter-spacing: 0.01em; margin-top: var(--s3); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--ink); color: var(--paper); padding-block: var(--s8) var(--s3); position: relative; isolation: isolate; }
.footer-top { display: grid; gap: var(--s4); padding-bottom: var(--s6); border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 88px; background: var(--white); padding: 6px; border-radius: var(--radius); }
.footer-brand p { color: var(--muted-light); margin-top: var(--s2); max-width: 36ch; font-size: var(--text-sm); }
.footer h4 { font-weight: 500; font-size: var(--text-xs); letter-spacing: 0.01em; color: var(--brand-300); margin-bottom: var(--s2); }
.footer ul { display: grid; gap: 0.4rem; }
.footer a { text-decoration: none; color: var(--paper); }
.footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 0.25em; }
.footer-contact li, .footer ul a { font-size: var(--text-sm); min-height: 32px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-top: var(--s3); font-size: var(--text-xs); color: var(--muted-light); }
.footer-wordmark { display: none; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* =============================================================
   UNTERSEITEN – Kopf
   ============================================================= */
.page-header {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--brand-900); color: var(--paper);
  padding-block: var(--s8) var(--s6);
}
.page-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.15; mix-blend-mode: overlay; pointer-events: none; }
.page-header h1 { font-size: var(--text-3xl); max-width: 16ch; }
.page-header p { font-size: var(--text-lg); color: var(--muted-light); margin-top: var(--s2); max-width: 46ch; }
.page-header .eyebrow { color: var(--brand-300); }

/* =============================================================
   LEISTUNGEN (Detailseite)
   ============================================================= */
.leistung-detail { padding-block: var(--s8); border-bottom: 1px solid var(--line); }
.leistung-detail:nth-of-type(even) { background: var(--paper-200); }
.leistung-detail-grid { display: grid; gap: var(--s4); align-items: center; }
.leistung-detail-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink); color: var(--accent); border-radius: var(--radius); margin-bottom: var(--s2); }
.leistung-detail-icon .icon { width: 26px; height: 26px; }
.leistung-detail h2 { font-size: var(--text-2xl); margin-bottom: var(--s2); }
.leistung-detail p { color: var(--muted); margin-bottom: var(--s2); max-width: 62ch; }
.leistung-detail ul { display: grid; gap: 0.55rem; margin: var(--s3) 0; }
.leistung-detail li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; }
.leistung-detail li .icon { color: var(--brand); margin-top: 0.2em; }
.leistung-detail-image { border-radius: var(--radius); overflow: hidden; }
.leistung-detail-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.leistung-detail-image.no-photo { aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: var(--s2); text-align: center; padding: var(--s4); background: var(--brand-800); color: var(--brand-300); position: relative; isolation: isolate; }
.leistung-detail-image.no-photo .icon { width: 72px; height: 72px; color: var(--accent); stroke-width: 1.5; }
.leistung-detail-image.no-photo span { font-size: var(--text-xs); letter-spacing: 0.1em; }
.price-info-box { display: grid; gap: 0.35rem; padding: var(--s2) var(--s3); border-left: 4px solid var(--accent); background: var(--white); }
.price-info { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.price-example { font-size: var(--text-sm); color: var(--muted); }
@media (min-width: 900px) {
  .leistung-detail-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s8); }
  .leistung-detail:nth-of-type(even) .leistung-detail-grid > :first-child { order: 2; }
}

/* =============================================================
   PROJEKTE
   ============================================================= */
.filter-bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.filter-buttons { display: flex; gap: 0.5rem; overflow-x: auto; padding-block: 0.75rem; scrollbar-width: none; }
.filter-buttons::-webkit-scrollbar { display: none; }
.filter-btn { flex: none; min-height: 44px; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: var(--text-sm); white-space: nowrap; }
.filter-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.projekte-section { padding-block: var(--s6) var(--s8); }
.projekte-masonry { display: grid; gap: var(--s3); }
@media (min-width: 700px) { .projekte-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projekte-masonry { grid-template-columns: repeat(3, 1fr); } }
.projekt-card-full { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.projekt-card-full.hidden { display: none; }
.vorher-nachher-simple { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); }
.vh-bild { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.vh-bild img, .projekt-img-full img { width: 100%; height: 100%; object-fit: cover; }
.vh-bild .label { position: absolute; left: 0.5rem; top: 0.5rem; padding: 0.25rem 0.55rem; border-radius: var(--radius); font-size: 0.7rem; letter-spacing: 0.01em; background: var(--ink); color: var(--paper); }
.vh-bild.nachher .label { background: var(--accent); color: var(--ink); }
.projekt-img-full { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.img-kategorie-badge { position: absolute; left: 0.75rem; top: 0.75rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; border-radius: var(--radius); background: var(--ink); color: var(--paper); font-size: 0.7rem; letter-spacing: 0.01em; }
.projekt-info { padding: var(--s3); display: grid; gap: 0.6rem; }
.projekt-info h3 { font-size: var(--text-lg); }
.projekt-info p { color: var(--muted); font-size: var(--text-sm); }
.projekt-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.projekt-tag { font-size: 0.7rem; letter-spacing: 0.01em; padding: 0.2rem 0.5rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--brand-700); }
.projekt-meta-full { display: flex; flex-wrap: wrap; gap: 1rem; font-size: var(--text-xs); color: var(--muted); }
.projekt-meta-full span { display: inline-flex; align-items: center; gap: 0.35rem; }
.referenz-section { padding-block: var(--s8); background: var(--paper-200); }
.referenz-grid { display: grid; gap: var(--s3); }
@media (min-width: 800px) { .referenz-grid { grid-template-columns: repeat(3, 1fr); } }
.referenz-item { background: var(--white); border-top: 4px solid var(--accent); padding: var(--s3); border-radius: var(--radius); }
.referenz-item > .icon, .referenz-item i { color: var(--brand); width: 32px; height: 32px; margin-bottom: var(--s2); }
.referenz-item p { color: var(--muted); font-size: var(--text-sm); margin-top: 0.4rem; }

/* =============================================================
   ÜBER UNS
   ============================================================= */
.ueber-section { padding-block: var(--s8); }
.ueber-section + .ueber-section { border-top: 1px solid var(--line); }
.story-grid { display: grid; gap: var(--s4); align-items: center; }
.story-image { position: relative; }
.story-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.story-badge { position: absolute; left: var(--s2); bottom: var(--s2); display: inline-flex; align-items: center; gap: 0.4rem; background: var(--accent); color: var(--ink); padding: 0.45rem 0.8rem; border-radius: var(--radius); font-size: var(--text-xs); letter-spacing: 0.01em; }
.story-text h2 { margin-bottom: var(--s2); }
.story-text p { color: var(--muted); margin-bottom: var(--s2); max-width: 60ch; }
.highlight-quote { margin-top: var(--s3); padding-left: var(--s3); border-left: 4px solid var(--accent); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.3; letter-spacing: -0.02em; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s8); } }
.werte-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .werte-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .werte-grid { grid-template-columns: repeat(3, 1fr); } }
.wert-card { background: var(--paper); padding: var(--s4) var(--s3); }
.wert-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: var(--radius); margin-bottom: var(--s2); }
.wert-icon .icon { width: 22px; height: 22px; }
.wert-card h3 { font-size: var(--text-lg); margin-bottom: 0.4rem; }
.wert-card p { color: var(--muted); font-size: var(--text-sm); }
.team-teaser { max-width: 46rem; display: grid; gap: var(--s3); justify-items: start; }
.team-teaser p { color: var(--muted); font-size: var(--text-lg); }

/* =============================================================
   KONTAKT
   ============================================================= */
.kontakt { padding-block: var(--s8); }
.kontakt-grid { display: grid; gap: var(--s4); }
@media (min-width: 950px) { .kontakt-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--s6); align-items: start; } }
.kontakt-info-card { background: var(--ink); color: var(--paper); padding: var(--s4) var(--s3); border-radius: var(--radius); display: grid; gap: var(--s3); }
.kontakt-info-card h3 { font-size: var(--text-xl); }
.kontakt-detail { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.kontakt-detail-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); color: var(--ink); border-radius: var(--radius); }
.kontakt-detail strong { display: block; font-weight: 500; font-size: var(--text-xs); letter-spacing: 0.1em; color: var(--brand-300); margin-bottom: 0.15rem; }
.kontakt-detail a { color: var(--paper); text-decoration: none; font-weight: 600; font-size: var(--text-lg); overflow-wrap: anywhere; }
.kontakt-detail a:hover { color: var(--accent); }
.social-links { display: flex; gap: 0.5rem; }
.social-links a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: var(--radius); color: var(--paper); }
.social-links a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.kontakt-form { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s4) var(--s3); display: grid; gap: var(--s2); }
.kontakt-form h3 { font-size: var(--text-2xl); }
.form-intro { color: var(--muted); }
.form-row { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .kontakt-form { padding: var(--s4); } }
.form-group { display: grid; gap: 0.4rem; }
.form-group label { font-weight: 600; font-size: var(--text-sm); }
.optional-hint { font-weight: 400; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 0.9rem; font-size: 1rem;
  background: var(--paper); border: 1px solid color-mix(in oklch, var(--ink), transparent 70%); border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px var(--brand-100); }
.form-group .error, .form-group input.error { border-color: var(--accent-700); }
.checkbox-label { display: grid !important; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-weight: 400 !important; }
.checkbox-label input { width: 22px; height: 22px; min-height: 0; margin-top: 0.1rem; accent-color: var(--brand); }
.checkbox-label a { color: var(--brand-700); }
.form-note { display: flex; align-items: center; gap: 0.5rem; font-size: var(--text-xs); color: var(--muted); }
.form-alternative { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--muted); }
.form-alt-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; }
.form-alt-link:hover { color: var(--accent-700); }
.success-message { display: none; text-align: center; padding: var(--s6) var(--s3); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); margin-bottom: var(--s4); }
.success-message.show { display: grid; gap: var(--s2); justify-items: center; }
.success-message > .icon { width: 56px; height: 56px; color: var(--brand); }

/* =============================================================
   RECHTSSEITEN + 404
   ============================================================= */
.legal-section { padding-block: var(--s6) var(--s8); }
.legal-card { max-width: 48rem; }
.legal-card h2 { font-size: var(--text-xl); margin: var(--s4) 0 var(--s1); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: var(--text-lg); margin: var(--s3) 0 var(--s1); }
.legal-card p, .legal-card li { color: color-mix(in oklch, var(--ink), var(--paper) 18%); margin-bottom: var(--s1); overflow-wrap: anywhere; }
.legal-card ul { list-style: disc; padding-left: 1.2rem; margin-bottom: var(--s2); }
.legal-card a { color: var(--brand-700); }

.error-page { min-height: 70svh; display: grid; place-items: center; padding: var(--s8) var(--gutter); background: var(--brand-900); color: var(--paper); position: relative; isolation: isolate; }
.error-content { max-width: 40rem; display: grid; gap: var(--s2); }
.error-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 3rem + 18vw, 14rem); line-height: 0.8; letter-spacing: -0.06em; color: var(--accent); }
.error-title { font-size: var(--text-2xl); }
.error-text { color: var(--muted-light); }
.error-buttons, .error-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.error-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--paper); text-decoration: none; font-weight: 600; }
.error-link:hover { color: var(--accent); }

/* =============================================================
   BEWEGUNG REDUZIEREN
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Ergänzungen */
.legal-stand { margin-top: var(--s4); font-size: var(--text-xs); color: var(--muted) !important; }
@media (max-width: 400px) { .audience-body .btn { width: 100%; padding-inline: 1rem; } .audience-body h3 { font-size: var(--text-xl); } }
figure.leistung-detail-image { position: relative; }
.leistung-detail-image .symbol { position: absolute; right: 0.6rem; bottom: 0.6rem; padding: 0.2rem 0.5rem; border-radius: var(--radius); background: var(--ink); color: var(--paper); font-size: 0.68rem; letter-spacing: 0.01em; }

/* Logo-Karte statt Inhaberfoto */
.logo-card { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; padding: var(--s4); background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.logo-card .logo-card-img { width: 86%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; }

/* Notdienst-Band */
.emergency { display: grid; gap: var(--s3); padding: var(--s4) var(--s3); border: 2px solid var(--ink); border-left: 10px solid var(--accent); border-radius: var(--radius); background: var(--white); }
.emergency h2 { font-size: var(--text-2xl); }
.emergency p:not(.eyebrow) { color: var(--muted); margin-top: 0.5rem; max-width: 52ch; }
.emergency .eyebrow { margin-bottom: 0.5rem; }
.emergency-icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: var(--accent); border-radius: var(--radius); }
.emergency-icon .icon { width: 28px; height: 28px; }
@media (min-width: 900px) { .emergency { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4); padding: var(--s4); } }

/* Formular: Honeypot und Fehlermeldung */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 0.8rem 1rem; border-left: 4px solid var(--accent); background: var(--accent-100); font-weight: 600; font-size: var(--text-sm); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
