/* Franz Marz – Stylesheet
   Design-Tokens siehe docs/konzept.md */

/* ---------- Fonts (lokal) ---------- */
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --green-950: #11301b;
  --green-800: #1a4d2a;
  --green-700: #1f6b35;
  --green-600: #2a7f3f;
  --green-100: #e6f0e4;
  --paper: #faf8f2;
  --sand: #f1ead8;
  --line: #ddd5c2;
  --ink: #1b201c;
  --muted: #4f5650;
  --ochre: #d9a21b;
  --white: #fff;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;

  --radius: 4px;
  --wrap: 72rem;
  --gutter: 1rem;
  --section: clamp(3rem, 6vw, 5.5rem);
  --focus: 0 0 0 3px var(--ochre);
}
@media (min-width: 48rem) { :root { --gutter: 1.5rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--green-950); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.375rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--green-950); color: var(--white); }
.section--dark a:not(.btn) { color: var(--white); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 40rem; }
.section--dark .lead { color: #d4ddd6; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.measure { max-width: 42rem; }

.kicker {
  display: block;
  font: 600 .8125rem/1.3 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .75rem;
}
.section--dark .kicker { color: var(--ochre); }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: .4em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: .5rem; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .6rem 1.25rem;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--green-700); border-radius: var(--radius);
  background: var(--green-700); color: var(--white);
}
.btn:hover { background: var(--green-950); border-color: var(--green-950); color: var(--white); }
.btn--ghost { background: transparent; color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--green-950); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--green-950); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--green-950); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--green-950); color: #d4ddd6; font-size: .8125rem; }
@media (min-width: 40rem) { .topbar { font-size: .875rem; } }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.25rem; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; color: var(--white); }

.status { display: inline-flex; align-items: center; gap: .5rem; }
.status::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: #9aa39c; flex: none;
}
.status[data-state="open"]::before { background: #4cc764; }
.status[data-state="closed"]::before { background: #e0703a; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; padding-block: .5rem; }
.brand__franz { font: 600 .875rem/1 var(--font-head); letter-spacing: .04em; margin-left: 1.6rem; color: var(--green-950); }
.brand__marz { font: italic 800 2.125rem/0.95 var(--font-head); color: var(--green-600); letter-spacing: -.01em; }
.brand__sub { font: 500 .6875rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.brand:hover .brand__marz { color: var(--green-700); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .5rem .9rem;
  font: 600 1rem var(--font-body); color: var(--ink);
  background: transparent; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(17,48,27,.08);
}
.site-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1rem; }
.site-nav a {
  display: block; padding: .8rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.site-nav a[aria-current="page"] { color: var(--green-700); font-weight: 600; }
.site-nav .nav-cta { display: none; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; align-items: center; gap: 1.5rem; position: static; box-shadow: none; border: 0; padding: 0; }
  .site-nav ul { display: flex; gap: .25rem; padding: 0; }
  .site-nav a { border: 0; padding: .6rem .75rem; border-bottom: 3px solid transparent; }
  .site-nav a:hover { color: var(--green-700); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--ochre); }
  .site-nav .nav-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { background: var(--sand); padding-block: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 4px solid var(--ochre); }
.hero__grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero h1 { margin-bottom: .5em; }
.hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.hero__caption { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
@media (min-width: 56rem) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
}

.page-hero { background: var(--sand); padding-block: clamp(2.25rem, 4.5vw, 3.75rem); border-bottom: 4px solid var(--ochre); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { margin-bottom: 0; }

.breadcrumb { font-size: .875rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--muted); }
.breadcrumb [aria-current] { color: var(--muted); }

/* ---------- Kennzahlen ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.facts li { padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid var(--line); }
.facts li:nth-last-child(-n+2) { border-bottom: 0; }
.facts strong { display: block; font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--font-head); color: var(--green-700); }
.facts li > span { color: var(--muted); font-size: .9375rem; }
@media (min-width: 56rem) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { border-bottom: 0; padding: 1.5rem 1.5rem 1.5rem 0; }
  .facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

/* ---------- Spalten mit Linie (statt Karten) ---------- */
.cols { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 56rem) { .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.col-item { border-top: 3px solid var(--ochre); padding-top: 1.25rem; }
.col-item h3 { margin-bottom: .4em; }
.col-item p:last-child { margin-bottom: 0; }

/* ---------- Medien + Text ---------- */
.split { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.split img { width: 100%; border-radius: var(--radius); }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split--media-right > :first-child { order: 2; }
}
.figure { margin: 0; }
.figure figcaption { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
.ratio-16-10 { aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Liste mit Pfeilen ---------- */
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a, .link-list span {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .85rem 0; color: var(--ink); text-decoration: none; font-weight: 500;
}
.link-list a::after { content: "→"; color: var(--green-700); }
.link-list a:hover { color: var(--green-700); }
.link-list small { color: var(--muted); font-weight: 400; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.check-list li::before {
  content: ""; position: absolute; left: .1rem; top: .45em;
  width: .7rem; height: .4rem; border-left: 2px solid var(--green-700); border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}
.section--dark .check-list li::before { border-color: var(--ochre); }

/* ---------- Produktgruppen ---------- */
.group { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); padding-block: 2.5rem; border-top: 1px solid var(--line); }
.group:first-of-type { border-top: 0; padding-top: 0; }
.group__media { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); align-content: start; }
.group__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.group h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.tags li { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: .3rem .65rem; font-size: .9375rem; font-weight: 500; }
@media (min-width: 56rem) {
  .group { grid-template-columns: 5fr 6fr; }
  .group:nth-of-type(even) .group__media { order: 2; }
}

/* ---------- Marken ---------- */
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.brands li { padding: .7rem .5rem .7rem 0; border-bottom: 1px solid var(--line); font: 600 1.125rem/1.3 var(--font-head); letter-spacing: .02em; }
@media (min-width: 40rem) { .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Dunkles Band ---------- */
.band { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.band h2 { margin-bottom: .35em; }
@media (min-width: 56rem) { .band { grid-template-columns: 1.4fr 1fr; } .band .btn-row { justify-content: flex-end; margin-top: 0; } }

.callout {
  border-left: 4px solid var(--ochre); background: var(--white);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.quote { font: 600 1.375rem/1.35 var(--font-head); color: var(--green-950); margin: 0; }
.quote cite { display: block; font: 400 .9375rem var(--font-body); color: var(--muted); margin-top: .5rem; }

/* ---------- Zeitleiste ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--ochre); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -.55rem; top: .35rem;
  width: .8rem; height: .8rem; border-radius: 50%; background: var(--green-700); border: 2px solid var(--paper);
}
.timeline time, .timeline .year { display: block; font: 700 1.5rem/1.1 var(--font-head); color: var(--green-700); }
.timeline p { margin: .25rem 0 0; }

/* ---------- Team ---------- */
.team { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .team--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team h3 { margin: .9rem 0 .2rem; }
.team p { margin: 0; color: var(--muted); }

.placeholder {
  display: grid; place-items: center; text-align: center; gap: .25rem;
  aspect-ratio: 4 / 5; padding: 1rem;
  border: 2px dashed #b9ae94; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(217,162,27,.07) 12px 24px), var(--sand);
  color: var(--muted); font-size: .875rem;
}
.placeholder strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; font: 600 1.25rem/1.3 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--green-700); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--green-700); }
.faq .answer { padding: 0 0 1.25rem; max-width: 46rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Kontakt / Öffnungszeiten ---------- */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.contact-list li > span:first-child { color: var(--muted); }
.section--dark .contact-list li { border-color: rgba(255,255,255,.15); }
.section--dark .contact-list li > span:first-child { color: #b8c4bb; }
address { font-style: normal; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.hours caption { text-align: left; font: 600 1.375rem var(--font-head); margin-bottom: .5rem; }
.hours th, .hours td { text-align: left; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 500; width: 40%; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--green-700); }
.section--dark .hours th, .section--dark .hours td { border-color: rgba(255,255,255,.15); }
.section--dark .hours tr.is-today th, .section--dark .hours tr.is-today td { color: var(--ochre); }

.status-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .75rem;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: .9375rem; font-weight: 600; margin-bottom: 1rem;
}
.status-pill[data-state="open"] { background: var(--green-100); border-color: #b8d4b9; color: var(--green-950); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .hint { font-size: .875rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.75rem; padding: .6rem .75rem;
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #a9a18e; border-radius: var(--radius);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: var(--focus); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
.req { color: #b3261e; }
.form-note { font-size: .9375rem; color: var(--muted); }
.form-status { font-weight: 600; color: var(--green-700); min-height: 1.5em; margin: 0; }
.form-status.is-error { color: #b3261e; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.75rem; margin-top: 2.25rem; }
.legal h3 { margin-top: 1.5rem; }
.todo {
  background: #fff3cd; border: 1px dashed #b38600; color: #5c4400;
  padding: .05em .35em; border-radius: 3px; font-size: .9375em;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #d4ddd6; font-size: .9375rem; border-top: 4px solid var(--ochre); }
.site-footer a { color: var(--white); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-block: 3.5rem 2.5rem; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer__brand .brand__franz { color: #d4ddd6; }
.footer__brand .brand__marz { color: #7cc488; }
.site-footer h2 { font: 600 1.125rem/1.2 var(--font-head); color: var(--white); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer__hours dt { color: var(--white); font-weight: 600; }
.footer__hours dd { margin: 0 0 .5rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; padding-block: 1.25rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

.made-by {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--white) !important;
  font-size: .8125rem; text-decoration: none;
}
/* Logo ist dunkel, daher nur hier ein heller Hintergrund */
.made-by img {
  /* SVG hat viel Leerraum um das Logo: object-fit beschneidet ihn, so bleibt die Pille klein */
  width: 2.1rem; height: 1.5rem; object-fit: cover;
  background: var(--white); border-radius: 999px;
}
.made-by:hover img, .made-by:focus-visible img { animation: wiggle .5s ease-in-out; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(3deg); }
}

/* ---------- Druck ---------- */
@media print {
  .topbar, .site-nav, .nav-toggle, .btn-row, .site-footer .made-by { display: none !important; }
  body { background: #fff; }
}

/* =========================================================
   Bewegung (Revision 1) – dezent, alles mit prefers-reduced-motion abgesichert
   ========================================================= */
:root { --ease-out: cubic-bezier(.22, .61, .36, 1); }

/* Sticky Header mit Schatten nach dem Scrollen */
.site-header { position: sticky; top: 0; transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(17, 48, 27, .08); }

.section--tight-top { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Bilder: sanfter Zoom beim Hover */
.img-frame { overflow: hidden; border-radius: var(--radius); }
.img-frame img { border-radius: 0; transition: transform .6s var(--ease-out); }
.figure:hover .img-frame img, .group__media .img-frame:hover img { transform: scale(1.035); }

/* Buttons und Pfeile */
.btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.link-arrow::after { display: inline-block; transition: transform .2s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-list a::after { transition: transform .2s var(--ease-out); }
.link-list a:hover::after { transform: translateX(4px); }
.brands li { transition: color .2s ease; }
.brands li:hover { color: var(--green-700); }

/* Status-Punkt pulsiert, wenn geöffnet */
.status[data-state="open"]::before { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 199, 100, .55); }
  70%, 100% { box-shadow: 0 0 0 .5rem rgba(76, 199, 100, 0); }
}

/* FAQ: Plus dreht sich, Antwort blendet ein */
.faq summary::after { content: "+"; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details[open] .answer { animation: answer-in .3s var(--ease-out); }
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Hero: einmaliges Einblenden */
.hero__text > * { animation: rise .7s var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__media { animation: fade .9s .15s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Scroll-Reveal (Klassen setzt main.js; ohne JS bleibt alles sichtbar) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Aufsitzmäher-Band ---------- */
.mow {
  --grass-h: 2.25rem;
  --cut-h: .8rem;
  position: relative; height: clamp(6.5rem, 12vw, 8.5rem); overflow: hidden;
  background: var(--paper);
}
.mow__tag {
  position: absolute; top: .9rem; right: var(--gutter); margin: 0;
  font: 600 .8125rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.mow__grass, .mow__cut { position: absolute; left: 0; bottom: 0; height: var(--grass-h); }
.mow__grass {
  right: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cpath d='M2 36Q4 18 1 6Q8 20 7 36ZM10 36Q12 14 15 2Q15 20 14 36ZM17 36Q18 22 24 9Q21 24 22 36ZM23 36Q25 26 28 20Q27 28 27 36Z' fill='%23397f3e'/%3E%3C/svg%3E") repeat-x left bottom / 28px 100%,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='30' viewBox='0 0 22 30'%3E%3Cpath d='M3 30Q6 16 4 4Q10 18 8 30ZM12 30Q13 18 19 8Q16 20 17 30Z' fill='%234c9a4a'/%3E%3C/svg%3E") repeat-x 9px bottom / 22px 82%;
}
.mow__cut {
  width: 100%;
  background:
    linear-gradient(var(--paper), var(--paper)) left top / 100% calc(100% - var(--cut-h)) no-repeat,
    repeating-linear-gradient(90deg, #7dbb6c 0 3rem, #6cad5d 3rem 6rem) left bottom / 100% var(--cut-h) no-repeat;
}
.mow__rig {
  position: absolute; bottom: .25rem; right: 6%;
  width: clamp(8.5rem, 16vw, 12.5rem);
}
.mow__mower { display: block; width: 100%; height: auto; overflow: visible; }
.mow__wheel { transform-box: fill-box; transform-origin: center; transform: rotate(var(--rot, 0deg)); }
.mow__body { transform-box: fill-box; transform-origin: center bottom; }

/* Grasschnitt, der hinten herausfliegt – nur während der Fahrt */
.mow__clip {
  position: absolute; left: 34%; bottom: 12%;
  width: 5px; height: 3px; border-radius: 2px; background: #4c9a4a;
  opacity: 0;
}
.mow.is-moving .mow__clip { animation: clip .55s ease-out infinite; }
.mow.is-moving .mow__clip:nth-child(2) { animation-delay: .14s; background: #6cad5d; }
.mow.is-moving .mow__clip:nth-child(3) { animation-delay: .28s; }
.mow.is-moving .mow__clip:nth-child(4) { animation-delay: .42s; background: #8cc47a; }
.mow.is-moving .mow__body { animation: rumble .16s linear infinite alternate; }
@keyframes clip {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(-2.2rem, -1.6rem) rotate(160deg); }
}
@keyframes rumble { from { transform: translateY(0); } to { transform: translateY(-.6px); } }

/* Live-Modus (JS): Mäher folgt dem Scrollen, die gemähte Fläche wächst mit */
.mow--live .mow__rig { right: auto; left: 0; transform: translateX(var(--x, 0px)); will-change: transform; }
.mow--live .mow__cut { width: var(--cut, 0px); }

/* ---------- Marken: Logo-Slider ---------- */
.section--brands .section-head { margin-bottom: 2rem; }
.logo-slider {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-slider__track {
  display: flex; align-items: center; flex: none;
  list-style: none; margin: 0; padding: 0;
  animation: logo-scroll 45s linear infinite;
}
.logo-slider:hover .logo-slider__track,
.logo-slider:focus-within .logo-slider__track { animation-play-state: paused; }
.logo-slider li { flex: none; }
.logo-slider a {
  display: flex; align-items: center; justify-content: center;
  height: 6.5rem; padding: 0 clamp(1.5rem, 3vw, 2.75rem);
}
.logo-slider img {
  width: auto; height: auto; max-height: 2.6rem; max-width: 9.5rem;
  transition: transform .3s var(--ease-out);
}
.logo-slider a:hover img, .logo-slider a:focus-visible img { transform: scale(1.06); }
@keyframes logo-scroll { to { transform: translateX(-100%); } }
.brands-more { margin: 1.5rem 0 0; }

/* Marken als Linkliste */
.brands--links a {
  display: inline-flex; align-items: baseline; gap: .35rem;
  color: var(--ink); text-decoration: none;
}
.brands--links a::after { content: "↗"; font: 400 .875rem var(--font-body); color: var(--green-700); transition: transform .2s var(--ease-out); }
.brands--links a:hover { color: var(--green-700); }
.brands--links a:hover::after { transform: translate(2px, -2px); }
.brands--links span:not(.visually-hidden) { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .logo-slider { -webkit-mask-image: none; mask-image: none; }
  .logo-slider__track { flex-wrap: wrap; justify-content: center; flex: 1 1 auto; }
  .logo-slider__track[aria-hidden="true"] { display: none; }
}

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