/* ==========================================================================
   Seebauer Land- und Gartentechnik
   Gemeinsames Stylesheet fuer alle Seiten
   ========================================================================== */

/* Lokal eingebundene Schriften (Manrope, Inter) – variable Fonts, je eine
   Datei deckt den gesamten genutzten Schnittbereich ab. Kein Nachladen von
   einem CDN zur Laufzeit. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/manrope-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-var.woff2") format("woff2");
}

:root {
  /* Farben */
  --green-900: #12301d;
  --green-800: #173c25;
  --green-700: #1f5030;
  --green-600: #2a6a3f;
  --green-100: #e5efe6;

  --accent: #b4471c;
  --accent-dark: #93380f;

  --paper: #f8f6f1;
  --surface: #ffffff;
  --surface-alt: #f1eee6;

  --ink: #1b231e;
  --ink-muted: #57635b;
  --ink-faint: #636c65;
  --line: #e0dbd0;

  /* Typografie */
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(18, 48, 29, .06), 0 2px 8px rgba(18, 48, 29, .05);
  --shadow-md: 0 2px 4px rgba(18, 48, 29, .07), 0 8px 24px rgba(18, 48, 29, .08);
}

/* --- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-900);
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* --- Layout --------------------------------------------------------------- */

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

.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--surface-alt); }
.section--paper { background: var(--surface); }

.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9em;
}
/* Für längere Eyebrow-Texte (mehr als ein, zwei Wörter): Versalien auf langen
   Phrasen sind schwerer lesbar, daher hier ohne Groß-Tracking. */
.eyebrow--long {
  text-transform: none;
  letter-spacing: normal;
  font-size: .92rem;
}

.lead { font-size: 1.14rem; color: var(--ink-muted); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-900); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

.btn--outline { border-color: var(--line); background: var(--surface); color: var(--green-800); }
.btn--outline:hover { border-color: var(--green-700); }

/* --- Kopfzeile ------------------------------------------------------------ */

.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,.86);
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.topbar a:hover { text-decoration: underline; }
.topbar .topbar__item { display: inline-flex; align-items: center; gap: .5em; }
.topbar__icon {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform .22s ease;
}
.topbar__item:hover .topbar__icon { transform: translateY(-2px) scale(1.15); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo { height: 52px; width: auto; display: block; flex-shrink: 0; }
.brand__logo--footer {
  height: 46px;
  background: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, transform .18s ease, box-shadow .18s ease;
}
.nav a:hover { background: var(--green-100); color: var(--green-800); }
.nav a[aria-current="page"] { color: var(--green-800); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 10px; }

/* "Mehr"-Dropdown: fasst seltener genutzte Seiten zusammen, damit die
   Hauptnavigation nicht zu voll wirkt. Öffnet per Hover/Fokus (Desktop) und
   per Klick (siehe script.js, für Touch-Geräte ohne Hover). Auf schmalen
   Bildschirmen wird er in script.js gar nicht erst aufgebaut, siehe unten. */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: .94rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.nav-dropdown__trigger:hover { background: var(--green-100); color: var(--green-800); }
.nav-dropdown__chevron { width: 13px; height: 13px; transition: transform .16s ease; }
.nav-dropdown:hover .nav-dropdown__chevron,
.nav-dropdown:focus-within .nav-dropdown__chevron,
.nav-dropdown.is-open .nav-dropdown__chevron { transform: rotate(180deg); }
.nav-dropdown:has(a[aria-current="page"]) > .nav-dropdown__trigger {
  color: var(--green-800);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}

.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-dropdown__panel a { padding: 10px 12px; font-size: .94rem; }
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block; position: relative;
  width: 20px; height: 2px; background: var(--green-900);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--green-900);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--green-900);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 460px at 78% 8%, rgba(42,106,63,.55), transparent 62%),
    linear-gradient(180deg, rgba(18,48,29,.15), rgba(18,48,29,.75));
  pointer-events: none;
}
.hero__media {
  position: absolute; inset: 0;
  background: var(--green-800);
  background-size: cover;
  background-position: center;
  opacity: .5;
}
.hero .container { position: relative; z-index: 2; }

.hero--home .container { padding-block: 108px 96px; }
.hero__inner { max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.16rem; max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .eyebrow { color: #f0b48f; }

.hero--page .container { padding-block: 66px 58px; }
.hero--page h1 { margin-bottom: .25em; }
.hero--page p { font-size: 1.08rem; max-width: 62ch; }

.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Vertrauensleiste ----------------------------------------------------- */

.trustbar { background: var(--green-800); color: #fff; }
.trustbar .grid { gap: 0; }
.trustbar__item {
  padding: 26px 30px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.trustbar__item:first-child { border-left: 0; padding-left: 0; }
.trustbar__item strong { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.trustbar__item span { color: rgba(255,255,255,.75); font-size: .92rem; }

/* --- Karten --------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card--link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #cfc9bb; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-muted); font-size: .98rem; }

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }

.card__more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--accent);
  text-decoration: none;
  transition: transform .18s ease;
}
.card__more:hover { text-decoration: underline; transform: translateX(3px); }

/* --- Bildplatzhalter ------------------------------------------------------ */

.imgslot {
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, #eeeae0 0 12px, #e8e3d7 12px 24px);
  border: 1px dashed #c9c2b2;
  border-radius: var(--radius);
  color: var(--ink-faint);
  font-size: .84rem;
  text-align: center;
  padding: 20px;
  min-height: 220px;
}
.imgslot span { max-width: 26ch; }
/* Bildplatz ohne Foto: Kamera-Symbol, „Foto folgt“ und das Thema darunter */
.imgslot--folgt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.imgslot--folgt::before {
  content: ""; flex: none; width: 40px; height: 40px; margin-bottom: 8px;
  background: var(--ink-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 1 2-2h2.2l1.5-2h6.6l1.5 2H19a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 1 2-2h2.2l1.5-2h6.6l1.5 2H19a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.imgslot--folgt strong { font-size: 1.05rem; font-weight: 700; color: var(--ink-muted); }
.imgslot--folgt span { font-size: .84rem; }
.imgslot--tall { min-height: 380px; }
.imgslot--wide { min-height: 300px; }
.imgslot--filled {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}
.imgslot--filled img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: var(--radius);
  object-fit: cover;
  transition: transform .4s ease;
}
.imgslot--filled:hover img { transform: scale(1.04); }

/* --- Split-Abschnitt ------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split--narrow { gap: 44px; }

/* --- Listen --------------------------------------------------------------- */

.ticklist { list-style: none; padding: 0; margin: 0; }
.ticklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--ink-muted);
}
.ticklist li::before {
  content: "";
  position: absolute; left: 4px; top: .55em;
  width: 9px; height: 9px;
  background: var(--green-600);
  border-radius: 1px;
  transform: rotate(45deg);
}
.ticklist strong { color: var(--ink); font-weight: 600; }

/* --- Leistungsdetail ------------------------------------------------------ */

.service {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
/* Bild links über die volle Höhe, rechts Nummer + Überschrift und darunter
   der Text. So hat die Überschrift die ganze Textbreite und lange Wörter
   ("Schleifservice", "TÜV-Hauptuntersuchung/SP") laufen nicht ins Bild. */
.service__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-areas:
    "media head"
    "media text";
  grid-template-rows: auto 1fr;
  column-gap: 48px;
  row-gap: 14px;
}
.service__grid > :first-child { grid-area: head; }
.service__grid > .service__media { grid-area: media; }
.service__grid > :last-child { grid-area: text; max-width: 68ch; }
.service__grid h2 { overflow-wrap: break-word; hyphens: auto; }
.service__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: #cfc9bb;
  line-height: 1;
  margin-bottom: 10px;
}
.service__media { min-height: 220px; }

/* --- Marken --------------------------------------------------------------- */

.brandgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brandtile {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 18px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--green-800);
  text-align: center;
  letter-spacing: .02em;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.brandtile:hover { border-color: var(--green-600); box-shadow: var(--shadow-sm); }
.brandtile small {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 5px;
}
.brandtile__logo {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .2s ease, opacity .2s ease;
}
.brandtile:hover .brandtile__logo { filter: grayscale(0); opacity: 1; }

/* --- Markenlogos (Im-Fokus-Sektion) ----------------------------------------
   Echte Markenlogos statt Farb-Sonderbehandlung – hält die Seite bei
   Grün/Orange als durchgehendem Farbsystem. */
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  margin-bottom: 18px;
  transition: transform .22s ease, filter .22s ease;
}
.brand-logo:hover { transform: scale(1.08); }
.brand-logo-row { display: flex; align-items: center; gap: 28px; margin-bottom: 18px; }
.brand-logo-row .brand-logo { margin-bottom: 0; }
.brand-logo--hakkipilke:hover { filter: drop-shadow(0 6px 14px rgba(251, 58, 41, .35)); }
.brand-logo--hisun:hover { filter: drop-shadow(0 6px 14px rgba(23, 60, 37, .35)); }

/* --- Hinweisbox ----------------------------------------------------------- */

.callout {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 36px;
}
.callout h3 { color: #fff; margin-bottom: .35em; }
.callout p { color: rgba(255,255,255,.85); }
.callout__badge {
  flex: none;
  display: grid; place-items: center;
  width: 74px; height: 74px;
  background: var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  text-align: center;
}
.callout__badge small { display: block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.callout__badge--logo {
  background: #fff;
  padding: 8px;
  gap: 2px;
}
.callout__badge--logo img { width: 100%; height: auto; }
.callout__badge--logo small { color: var(--ink-muted); }
.callout__badge--soft {
  background: var(--paper);
  color: var(--accent);
}
.callout__badge--soft small { color: var(--ink-muted); }

.callout--best { align-items: center; }
.callout__nolist { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.callout__nolist li {
  padding: 6px 14px 6px 32px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 600;
  font-size: .94rem;
  position: relative;
}
.callout__nolist li::before {
  content: "✕";
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: #f0b48f;
  font-size: .82rem;
}

.notice {
  background: #fdf6ec;
  border: 1px solid #eddcc2;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: .95rem;
  color: #6b4a2c;
}
.notice strong { color: #4d3319; }

/* --- Infoboxen Kontakt ---------------------------------------------------- */

.infobox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.infobox h2 { font-size: 1.1rem; }

.deflist { margin: 0; }
.deflist dt {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 16px;
}
.deflist dt:first-child { margin-top: 0; }
.deflist dd { margin: 3px 0 0; font-size: 1.02rem; }
.deflist dd a { text-decoration: none; }
.deflist dd a:hover { text-decoration: underline; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 11px 0; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { text-align: right; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .is-highlight th, .hours .is-highlight td { color: var(--accent); font-weight: 600; }

/* --- Formular ------------------------------------------------------------- */

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green-600);
  outline-offset: 1px;
  border-color: var(--green-600);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 11px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--ink-muted); }
.form__hint { font-size: .84rem; color: var(--ink-faint); }

.form__status {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--green-100);
  border: 1px solid #c9dfcd;
  color: var(--green-900);
  font-size: .92rem;
}
.form__status a { color: var(--green-800); font-weight: 600; }
.form__status--error {
  background: #fdf1ec;
  border-color: #f0c7b4;
  color: var(--accent-dark);
}
.form__status--error a { color: var(--accent-dark); }

/* --- Eingebettete Inhalte mit Einwilligung (Karte, Technikbörse) ---------- */

.consentbox {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
}
.consentbox__gate {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center;
  padding: 30px;
  background: repeating-linear-gradient(135deg, #eeeae0 0 12px, #e8e3d7 12px 24px);
}
.consentbox__gate[hidden] { display: none; }
.consentbox__gate p { max-width: 42ch; color: var(--ink-muted); font-size: .95rem; }
.consentbox__widerruf { margin-top: 10px; font-size: .86rem; color: var(--ink-muted); }
.consentbox__widerruf button {
  padding: 0; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.consentbox__widerruf button:hover { color: var(--accent-dark); }
.consentbox iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.consentbox--tall { min-height: 520px; }

/* --- CTA-Band ------------------------------------------------------------- */

.ctaband {
  background: var(--green-800);
  color: #fff;
  text-align: center;
  padding: 66px 0;
}
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.85); max-width: 56ch; margin-inline: auto; }
.ctaband .hero__actions { justify-content: center; }

/* --- Fusszeile ------------------------------------------------------------ */

.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,.75);
  padding: 62px 0 0;
  font-size: .95rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}

/* --- Kennzahlen-Leiste ------------------------------------------------------ */

.statsbar { background: var(--green-900); }
.statsbar .grid { gap: 0; }
.statsbar__item {
  padding: 30px 30px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.14);
}
.statsbar__item:first-child { border-left: 0; }
.statsbar__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.statsbar__num--star { color: #f0b48f; }
.statsbar__label {
  display: block;
  margin-top: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.72);
}

/* --- Maschinen-Karten (Highlights) ------------------------------------------ */

.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.machine-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.machine-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #cfc9bb; }

.machine-card__media { position: relative; height: 200px; }
.machine-card__media img { width: 100%; height: 100%; object-fit: cover; }
.machine-card__media .imgslot { position: absolute; inset: 0; border: 0; border-radius: 0; min-height: 0; }

.machine-card__condition {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  color: var(--green-800);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
}

.machine-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.machine-card__category {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.machine-card__body h3 { margin: .2em 0 .3em; }

.machine-card__specs { list-style: none; margin: 6px 0 14px; padding: 0; font-size: .92rem; color: var(--ink-muted); }
.machine-card__specs li { padding: 4px 0; border-top: 1px solid var(--line); }
.machine-card__specs li:first-child { border-top: 0; }

.machine-card__price { margin-top: auto; padding-top: 10px; }
.machine-card__price strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--green-900);
}
.machine-card__price span { font-size: .82rem; color: var(--ink-faint); }

.machine-card__actions { display: flex; gap: 10px; margin-top: 16px; }
.machine-card__actions .btn { flex: 1; justify-content: center; }

/* --- Aktions-Karte (z.B. Schlepper-Check) ----------------------------------- */

.promo-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}
.promo-card:has(.promo-card__bild) { grid-template-columns: 240px 1fr auto; gap: 32px; }
.promo-card__bild { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.promo-card__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.promo-card h3 { color: #fff; margin-bottom: .3em; }
.promo-card p { color: rgba(255,255,255,.82); }
.promo-card .ticklist {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
}
.promo-card .ticklist li { color: rgba(255,255,255,.85); }
.promo-card .ticklist li::before { background: var(--accent); }
.promo-card .ticklist strong { color: #fff; }

.promo-card__price { flex: none; text-align: center; padding: 22px 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); }
.promo-card__price strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
}
.promo-card__price small { display: block; margin-top: 6px; font-size: .78rem; color: rgba(255,255,255,.62); }
.promo-card__price .btn { margin-top: 18px; width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .promo-card,
  .promo-card:has(.promo-card__bild) { grid-template-columns: 1fr; text-align: left; }
  .promo-card__bild { max-width: 320px; }
  .promo-card .ticklist { grid-template-columns: 1fr; }
  .promo-card__price { justify-self: start; }
}

/* --- Bewertungen ------------------------------------------------------------ */

.reviews-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
}
.reviews-summary__score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--green-900);
  line-height: 1;
}
.reviews-summary__stars { color: var(--accent); font-size: 1.1rem; letter-spacing: .1em; }
.reviews-summary__meta { color: var(--ink-muted); font-size: .92rem; }
.reviews-summary__meta strong { color: var(--ink); }
.reviews-summary .btn { margin-left: auto; }
@media (max-width: 680px) {
  .reviews-summary .btn { margin-left: 0; width: 100%; justify-content: center; }
}

.review-card__stars { display: block; color: var(--accent); font-size: .95rem; letter-spacing: .12em; margin-bottom: 14px; }
.review-card blockquote { margin: 0 0 16px; padding: 0; font-size: .98rem; color: var(--ink); }
.review-card__author { margin: 0; font-size: .86rem; font-weight: 600; color: var(--ink); }
.review-card__author span { font-weight: 400; color: var(--ink-faint); }

/* --- FAQ --------------------------------------------------------------- */

.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 52px 20px 24px;
  position: relative;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "▶";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: .78rem;
  color: var(--accent);
  transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-item__body { padding: 0 22px 20px; color: var(--ink-muted); font-size: .96rem; }

@media (max-width: 900px) {
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .machine-grid { grid-template-columns: 1fr; }
  .statsbar__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; }
  .statsbar__item:first-child { border-top: 0; }
  .reviews-summary { flex-direction: column; align-items: flex-start; }
}

/* --- Spezifikationstabelle (Hisun-Produktseiten) --------------------------- */

.spec-group { margin-bottom: 8px; }
.spec-group h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 28px 0 10px;
}
.spec-group:first-child h3 { margin-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.spec-table th { font-weight: 500; color: var(--ink-muted); width: 55%; }
.spec-table td { color: var(--ink); font-weight: 600; text-align: right; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.model-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.model-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius); }

@media (max-width: 680px) {
  .model-gallery { grid-template-columns: 1fr 1fr; }
}

/* --- Rechtstexte ---------------------------------------------------------- */

.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-muted); font-size: .98rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* --- Hilfsklassen --------------------------------------------------------- */

.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.visually-hidden {
  position: absolute; 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: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* --- Responsiv ------------------------------------------------------------ */

@media (max-width: 1000px) {
  .brandgrid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

/* Menü klappt schon unter 1140px aufs Mobil-Icon um (statt erst bei 900px):
   Bei 900–1140px reicht der Platz für Logo + 7 Nav-Punkte + Button nicht
   mehr aus, ohne das Logo zu stauchen oder den Button abzuschneiden – dann
   lieber das aufgeräumte Klappmenü zeigen. */
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }

  /* "Mehr" gibt es nur auf breiten Bildschirmen – im aufgeklappten
     Mobilmenü stehen Ratgeber und FAQ einfach wie alle anderen Punkte
     untereinander, kein zusätzliches Aufklappen nötig. */
  .nav-dropdown { position: static; }
  .nav-dropdown__trigger { display: none; }
  .nav-dropdown__panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-dropdown__panel a { padding: 13px 12px; }
  .nav-dropdown__panel a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
}

@media (max-width: 900px) {
  .site-header .container { min-height: 72px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .service__grid { grid-template-columns: 1fr; grid-template-areas: "head" "media" "text"; grid-template-rows: auto; gap: 18px; }
  .service__media { min-height: 180px; }
  .trustbar__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; }
  .trustbar__item:first-child { border-top: 0; }
  .hero--home .container { padding-block: 76px 66px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brandgrid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .callout { flex-direction: column; gap: 18px; }
  .topbar { font-size: .8rem; }
  .topbar .container { justify-content: center; gap: 4px 16px; }
  .topbar .topbar__item:first-child { display: none; }
  .brand__name { font-size: 1.05rem; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* WhatsApp-Kontaktbutton */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: background-color .2s ease, transform .2s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--green-600);
  transform: translateY(-2px);
}
@media (max-width: 680px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}

/* Einzugsgebiet */
.areacard {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.areacard strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.areacard span { color: var(--ink-muted); font-size: .88rem; white-space: nowrap; }

/* Geöffnet-/Geschlossen-Anzeige in der Topbar (befüllt von script.js,
   ohne JavaScript bleibt sie verborgen und es zählen nur die festen Zeiten) */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-right: .35em;
  padding: 2px 9px 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.open-status[hidden] { display: none; }
.open-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa39d;
  flex: none;
}
.open-status--open::before {
  background: #5fd08a;
  box-shadow: 0 0 0 0 rgba(95, 208, 138, .6);
  animation: open-status-puls 2.4s ease-out infinite;
}
.open-status--soon::before { background: #f2b35a; }
@keyframes open-status-puls {
  0% { box-shadow: 0 0 0 0 rgba(95, 208, 138, .55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(95, 208, 138, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .open-status--open::before { animation: none; }
}

/* Mobile Schnellzugriff-Leiste unten: Anrufen, Route, WhatsApp. Ersetzt auf
   dem Handy den runden WhatsApp-Button, damit sich nichts überlappt. */
.quickbar { display: none; }
@media (max-width: 680px) {
  .quickbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(248, 246, 241, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(18, 48, 29, .08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .quickbar__btn {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    min-height: 48px;
    padding: 0 8px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--green-800);
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
  }
  .quickbar__btn svg { width: 18px; height: 18px; flex: none; }
  .quickbar__btn--primary { flex-grow: 1.4; }
  .quickbar__btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
  .quickbar__btn:active { transform: scale(.97); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .whatsapp-float { display: none; }
}
@media (max-width: 680px) {
  /* Mit Live-Status reicht auf dem Handy der Status, feste Zeiten stehen im Footer */
  .open-status:not([hidden]) + .topbar__hours { display: none; }
}

/* Ausgeblendete Kontaktknöpfe (z. B. WhatsApp, solange keine Nummer feststeht) */
.whatsapp-float[hidden],
.quickbar__btn[hidden] { display: none !important; }

/* Fotos auf der Leistungsseite: einheitliches Format, egal ob Hoch- oder
   Querformat geliefert wird (Desktop schmale Spalte hochkant, Handy quer) */
.service__media.imgslot--filled { aspect-ratio: 4 / 5; align-self: start; }
.service__media.imgslot--filled img { min-height: 0; }
/* Bildplatz mit Logo statt Foto */
.imgslot--logo { background: #fff; border: 1px solid var(--line); }
.imgslot--logo img { width: 55%; max-width: 200px; height: auto; }
/* Zwei Fotos übereinander in einem Bildplatz */
.service__media.imgslot--filled.imgslot--doppelt { aspect-ratio: auto; display: grid; gap: 10px; overflow: visible; }
.service__media.imgslot--doppelt img { height: auto; aspect-ratio: 16 / 10; }
@media (max-width: 900px) {
  .service__media.imgslot--filled { aspect-ratio: 4 / 3; }
}

/* Foto-Slider unter einer Leistung (echte Arbeiten aus der Werkstatt).
   Natives Scroll-Snap, Pfeile über das data-slider-Muster in script.js. */
.photo-slider { margin-top: 32px; }
.photo-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.photo-slider__track:focus-visible { outline: 2px solid var(--green-600); outline-offset: 4px; }
.photo-slider__track figure { margin: 0; scroll-snap-align: start; }
.photo-slider__track img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-slider__track figcaption {
  margin-top: 8px;
  font-size: .88rem;
  color: var(--ink-muted);
}
.photo-slider__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.photo-slider__nav[hidden] { display: none; }
.photo-slider__btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-800);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.photo-slider__btn:hover { border-color: var(--green-700); }
.photo-slider__btn:disabled { opacity: .35; cursor: default; }
.photo-slider__btn svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .photo-slider__track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 680px) {
  .photo-slider { margin-top: 24px; }
  .photo-slider__track { grid-auto-columns: 85%; gap: 14px; }
}

/* --- Mähroboter-Anfrage mit Luftbild-Karte -------------------------------- */
.container--form { max-width: 880px; }
.form__group {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.form__group legend {
  padding: 0 8px;
  margin-left: -8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.btn--klein { padding: 8px 14px; font-size: .86rem; }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }

.gartenkarte { min-height: 260px; }
.gartenkarte.is-geladen { min-height: 0; background: var(--surface); }
.gartenkarte__werkzeug { display: grid; gap: 10px; padding: 14px; }
.gartenkarte__werkzeug[hidden] { display: none; }
.gartenkarte__suche { display: flex; gap: 8px; }
.gartenkarte__suche input {
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
}
.gartenkarte__status { margin: 0; min-height: 1.3em; font-size: .86rem; color: var(--ink-muted); }
.gartenkarte__karte {
  height: 440px;
  border-radius: var(--radius);
  background: #dcd8cc;
  cursor: crosshair;
}
.gartenkarte__karte.leaflet-container { font: inherit; }
.gartenkarte__leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .92rem;
}
.gartenkarte__leiste span { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 680px) {
  .form__group { padding: 18px 16px; }
  .form__row--3 { grid-template-columns: 1fr; }
  .gartenkarte__karte { height: 360px; }
  .gartenkarte__suche { flex-direction: column; }
}
.gartenkarte__suche .btn { justify-content: center; }
.gartenkarte__karte .leaflet-control-attribution { font-size: .68rem; line-height: 1.3; }
.gartenkarte__treffer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; color: var(--ink-muted); }
.gartenkarte__treffer[hidden] { display: none; }
.field__hint { font-size: .82rem; color: var(--ink-muted); }
/* Hinweis-Kasten der Gartenkarte wächst mit dem Text (sonst wird der Knopf
   auf schmalen Handys im Hochformat abgeschnitten) */
.gartenkarte .consentbox__gate { position: relative; inset: auto; min-height: 260px; }

/* Handy: Karten-Kasten immer 80 % der Bildschirmhöhe (vor und nach dem
   Laden gleich groß), die Karte füllt den Platz unter Suche und Hinweisen.
   svh = sichtbare Höhe ohne ein-/ausfahrende Browserleisten; vh als Rückfall. */
@media (max-width: 680px) {
  .gartenkarte,
  .gartenkarte .consentbox__gate { min-height: 80vh; min-height: 80svh; }
  .gartenkarte__werkzeug:not([hidden]) {
    display: flex;
    flex-direction: column;
    height: 80vh;
    height: 80svh;
  }
  .gartenkarte__karte { flex: 1 1 auto; height: auto; min-height: 220px; }
}
@media (max-width: 680px) {
  /* Bedienelemente kompakt, damit möglichst viel Höhe für die Karte bleibt */
  .gartenkarte__werkzeug { gap: 8px; padding: 10px; }
  .gartenkarte__suche { flex-direction: row; }
  .gartenkarte__suche input { padding: 9px 11px; }
  .gartenkarte__suche .btn { padding: 9px 14px; }
  .gartenkarte__status { font-size: .8rem; min-height: 0; }
  .gartenkarte__status:empty { display: none; }
  .gartenkarte__leiste { font-size: .84rem; gap: 6px; }
  .gartenkarte__leiste .btn--klein { padding: 6px 10px; font-size: .8rem; }
}
/* Querformat auf dem Handy (niedriger Bildschirm): Karte ebenfalls 80 % hoch */
@media (orientation: landscape) and (max-height: 520px) {
  .gartenkarte__karte { height: 80vh; height: 80svh; }
}
@media (max-width: 680px) {
  .gartenkarte__leiste { flex-wrap: nowrap; }
  .gartenkarte__leiste span { flex-wrap: nowrap; flex-shrink: 0; }
}
.gartenkarte__pin { background: none; border: 0; }
.gartenkarte__pin svg { width: 28px; height: 38px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
/* Kartenrahmen: trägt die Ladeanzeige über der Karte */
.gartenkarte__kartenrahmen { position: relative; display: flex; flex-direction: column; }
.gartenkarte__kartenrahmen .gartenkarte__karte { flex: 1 1 auto; }
.gartenkarte__laedt {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  z-index: 500; pointer-events: none;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(18, 48, 29, .85); color: #fff; font-size: .82rem; white-space: nowrap;
}
.gartenkarte__laedt[hidden] { display: none; }
.gartenkarte__treffer select {
  flex: 1; min-width: 0; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font: inherit; font-size: .86rem;
}
.gartenkarte__treffer label { white-space: nowrap; }
@media (max-width: 680px) {
  .gartenkarte__kartenrahmen { flex: 1 1 auto; min-height: 220px; }
  .gartenkarte__treffer { flex-wrap: nowrap; }
}
@media (max-width: 680px) {
  /* Karte nie kleiner als 55 % der Bildschirmhöhe: bei längeren Hinweisen
     wächst der Kasten über 80 % hinaus, statt die Karte zu stauchen. */
  .gartenkarte__werkzeug:not([hidden]) { height: auto; min-height: 80vh; min-height: 80svh; }
  .gartenkarte__kartenrahmen { min-height: 55vh; min-height: 55svh; }
}
@media (max-width: 680px) {
  .gartenkarte__leiste { flex-wrap: wrap; }
  .gartenkarte__leiste strong { flex: 1 1 100%; }
}
.btn[hidden] { display: none; }

/* Kopfbereich der Unterseiten flacher – der Inhalt soll schneller sichtbar sein */
.hero--page .container { padding-block: 48px 42px; }
.hero--page .breadcrumb { margin-bottom: 12px; }
@media (max-width: 680px) {
  .hero--page .container { padding-block: 30px 28px; }
  .hero--page p { font-size: 1rem; }
}

/* Startseite: Kopfbereich kompakter, Knöpfe auf dem Handy nebeneinander */
.hero--home .container { padding-block: 84px 76px; }
@media (max-width: 680px) {
  .hero--home .container { padding-block: 44px 40px; }
  .hero--home p { font-size: 1.02rem; }
  .hero--home .hero__actions { margin-top: 22px; gap: 10px; }
  .hero--home .hero__actions .btn { flex: 1 1 0; padding: 12px 10px; font-size: .92rem; }
}
@media (max-width: 680px) {
  .hero--home .hero__actions .btn { white-space: nowrap; padding: 12px 6px; font-size: .88rem; }
}

/* Leiste unter dem Startbild: Punkt mit Logo (TÜV SÜD) */
.trustbar__item--logo { display: flex; align-items: center; gap: 14px; }
.trustbar__item--logo img { width: 48px; height: 48px; flex: none; }

/* TÜV-Punkt in der Leiste: Text links, Siegel rechts, anklickbar mit Hinweis */
.trustbar__tuev { position: relative; display: block; }
.trustbar__tuev-knopf {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer;
}
.trustbar__tuev-knopf img { width: 48px; height: 48px; flex: none; transition: transform .2s ease; }
.trustbar__tuev-knopf:hover img, .trustbar__tuev-knopf[aria-expanded="true"] img { transform: scale(1.08); }
.trustbar__tuev-knopf:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.trustbar__tuev-text { display: block; }
.trustbar__hinweis {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% - 6px);
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md);
}
.trustbar__hinweis[hidden] { display: none; }
.trustbar__hinweis p { margin: 0 0 10px; color: var(--ink); }
.trustbar__hinweis::before {
  content: ""; position: absolute; top: -7px; right: 30px;
  border: 7px solid transparent; border-top: 0; border-bottom-color: var(--surface);
}
.trustbar__tuev .trustbar__tuev-text { color: #fff; font-size: inherit; }
.trustbar { position: relative; z-index: 5; }

/* Startseite „Das machen wir für Sie“: vier schmalere, kompakte Kacheln pro Reihe */
.kacheln-kompakt { gap: 16px; }
.kacheln-kompakt .card { padding: 22px 20px; }
.kacheln-kompakt .card__icon { width: 38px; height: 38px; margin-bottom: 14px; }
.kacheln-kompakt .card__icon svg { width: 20px; height: 20px; }
.kacheln-kompakt .card h3 { font-size: 1.05rem; }
.kacheln-kompakt .card p { font-size: .9rem; line-height: 1.5; }
@media (max-width: 1000px) { .kacheln-kompakt { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .kacheln-kompakt { grid-template-columns: 1fr; } }

/* Mähroboter-Block auf der Startseite (gleiches Kästchen wie früher der Preis) */
.promo-card .eyebrow { color: #f0b48f; }
.promo-card__aktion strong { font-size: 1.35rem; }
.promo-card__aktion small { max-width: 24ch; margin-inline: auto; }
.promo-card__link { display: block; margin-top: 12px; color: rgba(255,255,255,.85); font-size: .9rem; text-decoration: none; }
.promo-card__link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 680px) {
  /* Dunkelgrüne Hinweis-Blöcke: weniger Innenabstand, mehr Platz für Text */
  .promo-card { padding: 26px 20px; gap: 20px; }
  .promo-card h3 { font-size: 1.2rem; }
  .promo-card__price { padding: 18px 16px; }
  .promo-card__aktion small { max-width: none; }
}
/* Mähroboter-Service-Kachel: längere Stichpunkte → zwei statt drei Spalten */
@media (min-width: 681px) { #service .ticklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Mähroboter: höheres Kopfbild ----------------------------------------- */

.hero--bild .hero__media { opacity: .72; }
.hero--bild .container { padding-block: 150px 120px; }
@media (max-width: 680px) {
  .hero--bild .container { padding-block: 96px 72px; }
}

/* --- Mähroboter: Gartenskizze (zeichnet sich beim Scrollen) --------------- */

.garden-sketch {
  margin: 8px 0 40px;
  padding: clamp(12px, 3vw, 28px);
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(31,80,48,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,80,48,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.garden-sketch svg { display: block; width: 100%; height: auto; }
.garden-sketch figcaption {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--ink-muted);
  text-align: center;
}
.garden-sketch .sk-lines { fill: none; stroke: var(--green-900); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.garden-sketch .sk-thin  { stroke-width: 2; }
.garden-sketch .sk-hatch { stroke-width: 1.4; opacity: .7; }
.garden-sketch .sk-fill  { fill: var(--surface); }
.garden-sketch .sk-bound { stroke-width: 3.5; stroke-dasharray: none; }
.garden-sketch .sk-tree .sk-draw { fill: rgba(42,106,63,.08); }
.garden-sketch .sk-conifer .sk-draw { fill: rgba(23,60,37,.16); }
.garden-sketch .sk-bush .sk-draw { fill: rgba(42,106,63,.14); }
.garden-sketch .sk-tree .sk-thin { fill: none; }
.garden-sketch .sk-apple { fill: #c8452b; stroke: none; }
.garden-sketch .sk-bed .sk-draw { fill: rgba(147,96,52,.14); }
.garden-sketch .sk-flower { stroke: none; }
.garden-sketch .sk-flower--0 { fill: #d9577a; }
.garden-sketch .sk-flower--1 { fill: #e8a93a; }
.garden-sketch .sk-flower--2 { fill: #9a6cc2; }
.garden-sketch .sk-pond .sk-draw { fill: rgba(70,140,190,.22); stroke: #2f6f99; }
.garden-sketch .sk-pond .sk-wave { fill: none; stroke-width: 1.6; }
.garden-sketch .sk-trunk { fill: var(--green-900); stroke: none; }
.garden-sketch .sk-wire  { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 10 7; stroke-linecap: round; }
.garden-sketch .sk-stripes rect { fill: rgba(42,106,63,.10); }
.garden-sketch .sk-station rect { fill: var(--green-800); }
.garden-sketch .sk-station path { fill: #ffd27a; }
.garden-sketch .sk-mower rect { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.garden-sketch .sk-mower circle { fill: var(--surface); }
.garden-sketch .sk-labels { font-size: 19px; font-style: italic; fill: var(--ink-muted); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.garden-sketch .sk-labels .sk-small { font-size: 15px; }
.garden-sketch .sk-labels .sk-accent { fill: var(--accent); font-weight: 600; }
@media (max-width: 600px) {
  .garden-sketch .sk-labels { display: none; }
}

/* --- Mähroboter: kompakte Ablauf-Kästen (Beratung, Installation, Service) - */

.steps-compact { gap: 18px; }
.steps-compact .card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 20px 22px;
}
.steps-compact .card__icon { width: 36px; height: 36px; margin: 0; }
.steps-compact .card__icon svg { width: 19px; height: 19px; }
.steps-compact .card h3 { margin: 0; font-size: 1.12rem; }
.steps-compact .card p,
.steps-compact .card .ticklist { grid-column: 1 / -1; }
.steps-compact .card p { margin: 12px 0 8px; font-size: .94rem; }
.steps-compact .ticklist li { margin-bottom: 4px; padding-left: 22px; font-size: .92rem; }
.steps-compact .ticklist li::before { left: 3px; width: 7px; height: 7px; }
@media (max-width: 680px) {
  .callout__nolist li { border-radius: 10px; font-size: .9rem; }
}
