/* Schmidtchen Land- & Baumaschinenservice – Haupt-Stylesheet */

/* Open Sans, selbst gehostet (OFL, siehe assets/fonts/OFL.txt), nur Subset "latin" inkl. Umlaute, ß, € */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --c-red:      #a72920; /* Primär: CTA "Service anfragen", Icons, Akzente */
  --c-yellow:   #facc00; /* Sekundär-Buttons ("Über uns", "Unser Team", "Unsere Leistungen") */
  --c-dark:     #3a3a3a; /* Fließtext, H2/H3, Button-Text auf Gelb, Button "Termin anfragen" */
  --c-black:    #000000; /* Topbar, Footer */
  --c-light:    #f6f8fa; /* helle Sektionsflächen */
  --c-white:    #ffffff;
  --font-base:  "Open Sans", system-ui, sans-serif;

  /* Ergänzungen Phase 4 (gemessen auf der Live-Seite, STRUKTUR.md) */
  --c-grey:      #e6e6e6; /* graue Sektionsflächen */
  --c-sky:       #f5fafd; /* sehr helle Sektionsflächen */
  --c-muted:     #b4b4b4; /* aktiver Menüpunkt (Desktop) */
  --c-ink:       #070707; /* Lead-Text */
  --c-red-light: #e05a4f; /* Rot für kleine Schrift/Icons auf Schwarz (Kontrast AA; #a72920 auf Schwarz nur ~3:1) */

  --container:   1232px;
  --gutter:      16px;
  --radius:      5px;
  --radius-l:    9px;
  --shadow-card: 0 4px 10px 2px color-mix(in srgb, var(--c-dark) 30%, transparent);
  --shadow-img:  0 10px 20px 0 color-mix(in srgb, var(--c-black) 20%, transparent);
  --shadow-soft: 0 8px 15px 0 color-mix(in srgb, var(--c-black) 12%, transparent);
  --header-h:    72px;
  --section-y:   clamp(2.5rem, 7vw, 5.625rem);

  /* Design-Überarbeitung 11.11.2026: einheitliche Bild-Rundung, Karten-Hover, Lesebreite, Overlays */
  --radius-img:  8px;
  --shadow-hover: 0 14px 28px -6px color-mix(in srgb, var(--c-black) 22%, transparent);
  --measure:     70ch;
  --ease:        cubic-bezier(.2, .7, .2, 1);
  /* Rote Verläufe für Hero und Seitenkopf. Unter Text ist die Deckkraft immer >= 80 %:
     selbst über reinem Weiß ergibt das mindestens #b8544c, Weiß darauf 4,7:1 (WCAG AA Fließtext). */
  --red-92: color-mix(in srgb, var(--c-red) 92%, transparent);
  --red-88: color-mix(in srgb, var(--c-red) 88%, transparent);
  --red-82: color-mix(in srgb, var(--c-red) 82%, transparent);
  --red-30: color-mix(in srgb, var(--c-red) 30%, transparent);
  --overlay-mobile:  linear-gradient(180deg, var(--red-88) 0%, var(--red-82) 45%, var(--red-92) 100%);
  --overlay-tablet:  linear-gradient(90deg, var(--red-92) 0%, var(--red-82) 100%);
  /* Desktop: kräftig bis kurz hinter die Textspalte (Container-Mitte + 220 px, mind. 880 px), dann transparenter */
  --overlay-desktop: linear-gradient(90deg, var(--red-92) 0%, var(--red-82) max(50% + 220px, 880px), var(--red-30) 100%);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 80px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-dark);
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word; /* nur für überlange Zeichenketten (URLs, E-Mails) */
}
body.menu-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--c-dark);
  font-weight: 800;
  line-height: 1.15;
  /* Keine Silbentrennung mitten im Wort (Live-Bug "Reparaturserv-ice"):
     Größen per clamp()/Container-Einheiten so gewählt, dass das längste Wort passt. */
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--c-red); text-underline-offset: .15em; }
a:hover { color: var(--c-dark); }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--c-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--c-yellow); }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0; left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--c-yellow);
  color: var(--c-dark);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(8px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  container-type: inline-size;
}
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.center { text-align: center; }

.icon { width: 1.5em; height: 1.5em; flex-shrink: 0; }

/* ==========================================================================
   Typografie
   ========================================================================== */
/* Überschriften skalieren mit der Breite ihres Containers (cqi), begrenzt per clamp().
   Live: H1 ~99 px, H2 ~72 px, H3 36 px (Desktop). */
.title { color: var(--c-dark); }
.title--xl { font-size: clamp(1.75rem, 11cqi, 4.5rem); line-height: 1.12; }
.title--l  { font-size: clamp(1.625rem, 7.5cqi, 4.5rem); line-height: 1.15; }
.title--m  { font-size: clamp(1.5rem, 4.5cqi, 2.25rem); line-height: 1.25; }
.title--center { text-align: center; }
.title--light { color: var(--c-white); }
.title--bar { padding-left: 16px; border-left: 4px solid var(--c-red); }
.accent { color: var(--c-red); }

.kicker {
  margin: 0 0 .75rem;
  color: var(--c-red);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.6;
  text-transform: uppercase;
}
.kicker--dark { color: var(--c-dark); }

.text { max-width: var(--measure); margin-bottom: 1.5rem; }
.text:last-child { margin-bottom: 0; }
.text--lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: var(--c-ink); }
.text--small { font-size: .9375rem; }
.text--center { max-width: 926px; margin-inline: auto; text-align: center; }

.hint {
  display: inline-block;
  margin-top: 0;
  padding: 8px 14px;
  border-left: 4px solid var(--c-red);
  background: var(--c-white);
  font-weight: 600;
}

/* ==========================================================================
   Buttons (live: 40 px hoch, 12 px, 600, uppercase, Radius 5 px, Rahmen 2 px)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.btn:active { box-shadow: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transform: none; }
}
.btn__icon { width: 14px; height: 14px; }
.btn--red    { background: var(--c-red);    border-color: var(--c-red);    color: var(--c-light); }
.btn--red:hover { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-white); }
.btn--yellow { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-dark); }
.btn--yellow:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-dark); }
.btn--dark   { background: var(--c-dark);   border-color: var(--c-dark);   color: var(--c-white); }
.btn--dark:hover { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.btn--outline { background: transparent; border-color: var(--c-dark); color: var(--c-dark); }
.btn--outline:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-dark); }
.btn--light  { background: var(--c-light);  border-color: var(--c-light);  color: var(--c-red); }
.btn--light:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-dark); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px 16px; }

/* ==========================================================================
   Topbar (schwarz) – auch mobil sichtbar (live fehlt sie mobil)
   ========================================================================== */
.topbar {
  background: var(--c-black);
  color: var(--c-light);
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  min-height: 44px;
  padding-block: 6px;
}
.topbar__slogan { display: none; margin: 0; font-style: italic; font-size: 1.125rem; }
.topbar__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; list-style: none; }
.topbar__item { display: flex; align-items: center; gap: 8px; }
.topbar__icon { width: 22px; height: 22px; color: var(--c-white); }
.topbar__icon--cal { display: none; }
.topbar__text { display: flex; flex-direction: row; gap: 6px; line-height: 1.3; }
.topbar__label { display: none; color: var(--c-red-light); font-size: .8125rem; text-transform: uppercase; text-decoration: none; }
.topbar__value { color: var(--c-white); text-decoration: none; }
a.topbar__label:hover, a.topbar__value:hover { color: var(--c-yellow); text-decoration: underline; }
/* Zielgröße ≥ 24 px (WCAG 2.5.8): Klickfläche per Padding vergrößern, der negative Margin hält das Layout unverändert */
a.topbar__value { padding-block: 4px; margin-block: -4px; }

@media (min-width: 768px) {
  .topbar__inner { justify-content: space-between; min-height: 76px; }
  .topbar__slogan { display: block; }
  .topbar__icon { width: 32px; height: 32px; }
  .topbar__icon--cal { display: block; }
  .topbar__icon--tel { display: none; }
  .topbar__text { flex-direction: column; gap: 0; }
  .topbar__label { display: block; }
  .topbar__value { font-size: 1rem; }
  /* übereinander: Label nach oben, Telefon nach unten vergrößern (keine Überlappung) */
  a.topbar__label { padding-top: 8px; margin-top: -8px; }
  a.topbar__value { padding-block: 0 4px; margin-block: 0 -4px; }
}

/* ==========================================================================
   Header (weiß, sticky) und Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: 0 0 5px 2px color-mix(in srgb, var(--c-black) 10%, transparent);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  container-type: normal;
}
.header__logo { display: block; flex-shrink: 0; border-radius: 2px; }
.header__logo-img { width: 141px; height: auto; }
.header__logo-text { color: var(--c-dark); font-weight: 800; text-decoration: none; }
.header__cta { display: none; }

.nav { display: none; }
.nav__list { display: flex; gap: 8px 28px; list-style: none; }
.nav__link {
  display: block;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--c-dark);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link:hover { border-bottom-color: var(--c-red); color: var(--c-dark); }
.nav__link.is-active { border-bottom-color: currentColor; color: color-mix(in srgb, var(--c-dark) 75%, var(--c-muted)); }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-dark);
  cursor: pointer;
}
.burger__icon { width: 32px; height: 32px; }

@media (min-width: 1100px) {
  .nav { display: block; margin-left: auto; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Mobilmenü (Offcanvas von rechts, rot; weiße Schrift für ausreichenden Kontrast) */
.mnav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: color-mix(in srgb, var(--c-black) 50%, transparent);
}
.mnav-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(320px, 88vw);
  padding: 16px 20px 24px;
  overflow-y: auto;
  background: var(--c-red);
  color: var(--c-white);
  box-shadow: -4px 0 20px color-mix(in srgb, var(--c-black) 30%, transparent);
}
.mnav-panel[hidden], .mnav-backdrop[hidden] { display: none; }
.mnav-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mnav-panel__logo { display: block; padding: 6px 8px; border-radius: var(--radius); background: var(--c-white); }
.mnav-panel__logo-img { width: 120px; }
.mnav-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 2px solid var(--c-white);
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
}
.mnav__list { list-style: none; border-top: 1px solid color-mix(in srgb, var(--c-white) 50%, transparent); }
.mnav__item { border-bottom: 1px solid color-mix(in srgb, var(--c-white) 50%, transparent); }
.mnav__link {
  display: block;
  padding: 14px 12px;
  color: var(--c-white);
  font-weight: 600;
  text-decoration: none;
}
.mnav__link:hover { background: color-mix(in srgb, var(--c-black) 15%, transparent); color: var(--c-white); }
.mnav__link.is-active { background: var(--c-dark); color: var(--c-white); }
.mnav-panel__cta { align-self: flex-start; }
.mnav-panel__tel { display: inline-flex; align-items: center; gap: 10px; color: var(--c-white); font-weight: 600; text-decoration: none; }
.mnav-panel__tel:hover { color: var(--c-white); text-decoration: underline; }
@media (min-width: 1100px) {
  .mnav-panel, .mnav-backdrop { display: none !important; }
}

/* ==========================================================================
   Sektionen
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section--white { background: var(--c-white); }
.section--light { background: var(--c-light); }
.section--grey  { background: var(--c-grey); }
.section--sky   { background: var(--c-sky); }

/* Schräge Übergänge wie live (Colibri "slanted"), rein dekorativ */
.section--slant-bottom { padding-bottom: calc(var(--section-y) + clamp(30px, 6vw, 90px)); }
.section--slant-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(30px, 6vw, 90px);
  background: var(--c-grey);
  clip-path: polygon(0 0, 74% 100%, 100% 0, 100% 100%, 0 100%);
}
.section--slant-red { padding-top: calc(var(--section-y) + clamp(30px, 6vw, 90px)); }
.section--slant-red::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: clamp(30px, 6vw, 90px);
  background: var(--c-red);
  clip-path: polygon(0 0, 100% 0, 100% 15%, 72% 100%, 0 30%);
}

/* Zweispaltig: Bild + Text */
.split { display: grid; gap: 32px; align-items: center; }
.split__body, .split__media { min-width: 0; container-type: inline-size; }
.split__media { order: -1; }
.cover-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); }
/* Hochformat-Fotos in Querformat-Slots: Ausschnitt etwas tiefer (Klasse aus snippet image) */
.is-portrait { object-position: 50% 60%; }
.split__media .cover-img { aspect-ratio: 4 / 3; height: auto; box-shadow: var(--shadow-img); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split--narrow-text { grid-template-columns: 2fr 3fr; }
  .split__media { order: 0; }
  .split--media-right .split__media { order: 2; }
  .split--media-left .split__media { order: -1; }
  .split--media-left .split__body { order: 1; }
  .split__media .cover-img { aspect-ratio: auto; min-height: 420px; max-height: 600px; }
}

/* Textbox überlappt Bild (Startseite Hydraulik/Team) */
.overlap { display: grid; }
.overlap__media .cover-img { aspect-ratio: 4 / 3; height: auto; box-shadow: var(--shadow-img); }
.overlap__box {
  position: relative;
  z-index: 1;
  margin: -32px 12px 0;
  padding: clamp(20px, 4vw, 36px);
  border-top: 4px solid var(--c-red);
  border-radius: var(--radius-l);
  background: var(--c-light);
  box-shadow: var(--shadow-soft);
  container-type: inline-size;
}
@media (min-width: 900px) {
  .overlap { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .overlap__box { margin: 0; grid-row: 1; }
  .overlap__media { grid-row: 1; }
  .overlap--media-right .overlap__media { grid-column: 7 / 13; }
  .overlap--media-right .overlap__box   { grid-column: 1 / 8; }
  .overlap--media-left .overlap__media  { grid-column: 1 / 7; }
  .overlap--media-left .overlap__box    { grid-column: 6 / 13; }
  .overlap__media .cover-img { aspect-ratio: 586 / 444; }
}
.cover-img--team { object-position: 90% 24%; }

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 80vh, 820px);
  padding-block: 56px 120px;
  overflow: hidden;
  background: var(--c-red);
  color: var(--c-white);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Rotes Verlaufs-Overlay (Hero und Seitenkopf): mobil gleichmäßig kräftig, ab Tablet links kräftig,
   ab Desktop zur Bildseite transparenter. Ohne Foto bleibt die Fläche rot (Hintergrund der Sektion). */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--overlay-mobile);
}
@media (min-width: 768px) {
  .hero::before, .page-hero::before { background: var(--overlay-tablet); }
}
@media (min-width: 1100px) {
  .hero::before, .page-hero::before { background: var(--overlay-desktop); }
}
.hero__inner { position: relative; }
.hero__inner > * { max-width: 820px; }
.hero__title {
  margin-bottom: 1rem;
  color: var(--c-white);
  font-size: clamp(2rem, 7.2cqi, 5.5rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero__subline {
  margin-bottom: 2rem;
  font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem);
  font-weight: 600;
}

/* ==========================================================================
   Seitenkopf der Unterseiten (kompakte Hero-Variante)
   ========================================================================== */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(260px, 38vh, 440px);
  padding-block: clamp(40px, 6vw, 72px);
  overflow: hidden;
  background: var(--c-red);
  color: var(--c-white);
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__inner > * { max-width: 820px; }
.page-hero__inner::before { /* gelber Akzentstrich, rein dekorativ */
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--c-yellow);
}
.page-hero__title {
  margin: 0;
  color: var(--c-white);
  font-size: clamp(1.875rem, 6.5cqi, 4rem);
  line-height: 1.1;
  text-wrap: balance;
}
.page-hero__subline {
  margin: 14px 0 0;
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem);
  font-weight: 600;
}
.page-hero__kicker,
.breadcrumb {
  margin: 0 0 10px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; }
.breadcrumb__list li + li::before {
  content: "/";
  margin-inline: 10px;
}
.breadcrumb a { padding-block: 4px; color: var(--c-white); text-decoration: underline; text-decoration-thickness: 1px; } /* Inline-Padding: Zielgröße ≥ 24 px ohne Layoutänderung */
.breadcrumb a:hover { color: var(--c-white); text-decoration-thickness: 2px; }

/* ==========================================================================
   Feature-Karten (überlappen den Hero wie live)
   ========================================================================== */
.features-section { position: relative; z-index: 2; margin-top: -72px; padding-bottom: var(--section-y); }
.features {
  display: grid;
  overflow: hidden;
  list-style: none;
  border-radius: var(--radius-l);
  background: var(--c-light);
  box-shadow: var(--shadow-card);
}
.feature {
  padding: 28px 20px;
  text-align: center;
  container-type: inline-size;
}
.feature__icon { transition: transform .25s var(--ease); }
.feature:hover .feature__icon { transform: translateY(-3px) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .feature:hover .feature__icon { transform: none; } }
.feature + .feature { border-top: 1px solid var(--c-grey); }
.feature__icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--c-red); }
.feature__title { margin-bottom: .5rem; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.feature__text { margin: 0; font-size: .9375rem; }
@media (min-width: 600px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature + .feature { border-top: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--c-grey); }
  .feature:nth-child(even) { border-left: 1px solid var(--c-grey); }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, 1fr); }
  .feature:nth-child(n+3) { border-top: 0; }
  .feature + .feature { border-left: 1px solid var(--c-grey); }
}

/* ==========================================================================
   Marken-Logos (statische Reihe, keine Links)
   ========================================================================== */
.brands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* minmax: kein Überlauf bei 320 px */
  gap: 16px;
  margin-top: 32px;
  list-style: none;
}
.brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 170 / 140;
  padding: 16px;
  border-radius: var(--radius-l);
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s, transform .2s var(--ease);
}
.brands__item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .brands__item:hover { transform: none; } }
.brands__item--red { background: var(--c-red); }
.brands__img { width: auto; max-width: 100%; max-height: 90px; object-fit: contain; }
@media (min-width: 600px)  { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .brands { grid-template-columns: repeat(5, 1fr); gap: 24px; } }

/* ==========================================================================
   Laufband (Marquee) – CSS-Animation
   ========================================================================== */
.marquee {
  position: relative;
  margin-block: 32px;
  overflow: hidden;
  background: var(--c-white);
  border-block: 1px solid var(--c-grey);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; list-style: none; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  white-space: nowrap;
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem);
  font-weight: 700;
}
.marquee__item a { color: var(--c-dark); text-decoration: none; }
.marquee__item a:hover { color: var(--c-red); text-decoration: underline; }
.marquee__icon { width: 26px; height: 26px; color: var(--c-red); }
.marquee__toggle {
  position: absolute;
  right: 8px; top: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  transform: translateY(-50%);
  border: 2px solid var(--c-dark);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-dark);
  cursor: pointer;
}
.marquee__toggle[hidden] { display: none; }
.marquee__toggle .icon { width: 18px; height: 18px; }
.marquee__toggle-play { display: none; }
.marquee.is-paused .marquee__toggle-play { display: block; }
.marquee.is-paused .marquee__toggle-pause { display: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { width: auto; animation: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; flex-shrink: 1; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__item { white-space: normal; padding: 12px 18px; }
  .marquee__toggle { display: none !important; }
}

/* ==========================================================================
   Über uns
   ========================================================================== */
.intro-split { display: grid; }
.intro-split__body { background: var(--c-grey); container-type: inline-size; }
.intro-split__inner { padding: var(--section-y) var(--gutter); }
.intro-split__media .cover-img { aspect-ratio: 4 / 3; height: auto; border-radius: 0; }
@media (min-width: 900px) {
  .intro-split { grid-template-columns: 1fr 1fr; }
  .intro-split__inner { max-width: calc(var(--container) / 2 + var(--gutter)); margin-left: auto; padding: 90px clamp(24px, 6vw, 124px) 90px var(--gutter); }
  .intro-split__media .cover-img { aspect-ratio: auto; height: 100%; }
}

.collage { padding-block: var(--section-y); }
.collage__inner { display: grid; gap: 16px; }
.collage__item .cover-img { aspect-ratio: 638 / 365; height: auto; box-shadow: var(--shadow-img); }
@media (min-width: 768px) {
  .collage__inner { grid-template-columns: repeat(12, 1fr); }
  .collage__item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
  .collage__item:nth-child(2) { grid-column: 6 / 13; grid-row: 1; margin-top: clamp(80px, 13vw, 165px); position: relative; }
  .collage__item:nth-child(2) .cover-img { aspect-ratio: 597 / 398; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 16px;
  margin-top: 40px;
  list-style: none;
}
.team-card {
  padding: 12px 12px 20px;
  border-radius: var(--radius-l);
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: box-shadow .2s, transform .2s var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .team-card:hover { transform: none; } }
.team-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius-img);
  container-type: inline-size;
  background: var(--c-grey);
}
.team-card__img { width: 100%; height: 100%; object-fit: cover; }
/* Platzhalter ohne Foto: ruhige Fläche in Markenfarbe, Zahnrad-Akzent, Initialen oder Werkzeug-Symbol */
.team-card__media--placeholder {
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c-white) 10%, transparent), transparent 60%),
    var(--c-red);
  color: var(--c-white);
}
.team-card__gear {
  position: absolute;
  right: -14%;
  bottom: -14%;
  width: 62%;
  height: 62%;
  color: color-mix(in srgb, var(--c-white) 22%, transparent);
  stroke-width: 1.2;
}
.team-card__initials {
  position: relative;
  font-size: clamp(2rem, 30cqi, 4.5rem);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}
.team-card__symbol { position: relative; display: flex; width: 100%; }
.team-card__symbol .icon { width: 34%; height: auto; min-width: 44px; margin-inline: auto; stroke-width: 1.5; }
.team-card__name { margin-bottom: .2rem; font-size: 1.0625rem; font-weight: 700; }
.team-card__role { margin: 0; color: var(--c-red); font-weight: 600; }
.team-card__text { margin-top: .5rem; font-size: .9375rem; }
@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
}
@media (max-width: 599px) {
  .team-card { padding: 8px 8px 14px; }
  .team-card__name { font-size: 1rem; }
  .team-card__text { font-size: .875rem; hyphens: auto; }
}

/* ==========================================================================
   Leistungen
   ========================================================================== */
.service { scroll-margin-top: calc(var(--header-h) + 16px); }
.service__center { max-width: 926px; margin-inline: auto; text-align: center; container-type: inline-size; }
.service__center .text { margin-inline: auto; }

/* Bild mit rotem Versatz-Rahmen (live) */
.framed { position: relative; max-width: 480px; margin: 0 16px 16px 0; }
.framed::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: 0;
  background: var(--c-red);
}
.framed--right { margin: 16px 16px 0 0; }
.framed--right::before { inset: -16px -16px 16px 16px; }
.framed::before { border-radius: var(--radius-img); }
.framed__img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-img); }
@media (min-width: 900px) {
  .framed { margin: 0 24px 24px 0; }
  .split--media-right .framed { margin-left: auto; }
  .framed::before { inset: 24px -24px -24px 24px; }
  .framed--right { margin-top: 24px; margin-bottom: 0; }
  .framed--right::before { inset: -24px -24px 24px 24px; }
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px 32px;
  margin-top: 28px;
  list-style: none;
}
.sub-title {
  margin-bottom: .4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.sub-title--l { font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
.sub-grid__item { padding-left: 14px; border-left: 3px solid var(--c-red); }

.rows { display: grid; gap: 40px; margin-top: 40px; list-style: none; }
.rows__item {
  display: grid;
  gap: 20px;
  align-items: center;
}
.rows__media { order: -1; padding: 10px; border-radius: calc(var(--radius-img) + 4px); background: var(--c-white); box-shadow: var(--shadow-soft); }
.rows__media .cover-img { aspect-ratio: 691 / 400; height: auto; border-radius: calc(var(--radius-img) - 2px); }
.rows__text { container-type: inline-size; }
@media (min-width: 900px) {
  .rows__item { grid-template-columns: 2fr 3fr; gap: 48px; }
  .rows__media { order: 0; }
  .rows__item--reverse { grid-template-columns: 3fr 2fr; }
  .rows__item--reverse .rows__media { order: -1; }
}

/* FAQ (Leistungen): <details>/<summary>, Pfeil per CSS, kein JS */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq__item { border-left: 3px solid var(--c-red); border-radius: var(--radius); background: var(--c-white); box-shadow: var(--shadow-soft); }
.faq__question {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--c-dark);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  flex-shrink: 0;
  width: .6em; height: .6em;
  border-right: 2px solid var(--c-red);
  border-bottom: 2px solid var(--c-red);
  transform: translateY(-25%) rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq__item[open] > .faq__question::after { transform: translateY(25%) rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .faq__question::after { transition: none; } }
.faq__answer { padding: 0 20px 20px; }

.cols3 { display: grid; gap: 32px; }
.cols3 > * { min-width: 0; container-type: inline-size; }
.cols3__item { display: flex; flex-direction: column; gap: 16px; }
.cols3__media .cover-img { aspect-ratio: 4 / 5; height: auto; box-shadow: var(--shadow-img); }
@media (min-width: 900px) {
  .cols3 { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .cols3__intro { align-self: center; }
  .cols3__item--reverse { flex-direction: column-reverse; }
}

/* CTA-Band */
.cta-band { padding-block: clamp(40px, 6vw, 64px); background: var(--c-red); color: var(--c-white); }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta-band__text { max-width: 760px; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 600; }
@media (min-width: 900px) {
  .cta-band__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-box {
  display: grid;
  gap: 32px;
  padding: clamp(16px, 3vw, 24px);
  border-radius: var(--radius-l);
  background: var(--c-light);
  box-shadow: var(--shadow-soft);
}
.contact-box__body { min-width: 0; container-type: inline-size; }
.contact-box__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-img); }
@media (min-width: 900px) {
  .contact-box { grid-template-columns: 5fr 6fr; gap: 48px; padding: 16px 24px 48px 16px; }
}
.contact-cards { display: grid; gap: 24px; margin-top: 32px; list-style: none; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; }
.contact-card__icon {
  transition: background-color .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 64px; height: 64px;
  border: 2px solid var(--c-red);
  border-radius: var(--radius-l);
  background: var(--c-white);
  color: var(--c-red);
}
.contact-card__icon .icon { width: 30px; height: 30px; }
.contact-card__title { margin: 4px 0 .25rem; font-size: 1rem; font-weight: 700; }
.contact-card p { margin: 0 0 .25rem; }
.contact-card:hover .contact-card__icon { background: var(--c-red); color: var(--c-white); }
.contact-card a { color: var(--c-dark); }
.contact-card a:not(.link-icon) { padding-block: 3px; } /* Inline-Padding: Zielgröße ≥ 24 px ohne Layoutänderung */
.contact-card a:hover { color: var(--c-red); }
.contact-card .hint { margin-top: 8px; }
.hours { list-style: none; }
.link-icon { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-icon .icon { width: 18px; height: 18px; color: var(--c-red); }
@media (min-width: 768px) {
  .contact-card__icon { width: 82px; height: 82px; }
  .contact-card__icon .icon { width: 36px; height: 36px; }
}

/* Kontakt-Buttons „So erreichst Du uns am schnellsten“ (statt Formular, 12.11.2026)
   Mobil untereinander und vollbreit, ab 768 px nebeneinander. Rot: Weiß-ähnlich (#f6f8fa) auf #a72920,
   Gelb: #3a3a3a auf #facc00, Dunkel: Weiß auf #3a3a3a – alle WCAG AA. */
.quick-contact { display: grid; gap: 16px; margin-top: 32px; list-style: none; }
@media (min-width: 768px) { .quick-contact { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; } }
.quick-contact li { min-width: 0; }
.quick-contact__btn {
  width: 100%;
  min-height: 76px;
  padding: 14px 20px;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
}
.quick-contact__icon { flex-shrink: 0; width: 32px; height: 32px; }
.quick-contact__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quick-contact__label { font-size: 1rem; font-weight: 700; }
.quick-contact__value { font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.quick-contact__hours { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 24px 0 0; text-align: center; }
.quick-contact__hours .icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--c-red); }

/* ==========================================================================
   Webshop
   ========================================================================== */
.shop-hero { margin-top: 36px; }
.shop-hero__img { width: 100%; max-height: 420px; margin-inline: auto; object-fit: contain; border-radius: var(--radius-img); }
.steps {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  list-style: none;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps__item {
  padding: 28px 24px;
  border-top: 4px solid var(--c-red);
  border-radius: var(--radius-l);
  background: var(--c-light);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s, transform .2s var(--ease);
}
.steps__item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .steps__item:hover { transform: none; } }
.steps__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.steps__icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-white);
}
.steps__icon .icon { width: 32px; height: 32px; }
.steps__num { display: block; color: var(--c-red); font-size: 3rem; font-weight: 800; line-height: 1; }
.steps__title { margin: 18px 0 .3rem; color: var(--c-red); font-size: .9375rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.steps__text { margin: 0; }

.app__inner { display: grid; }
.app__media .cover-img { aspect-ratio: 493 / 629; max-height: 520px; height: auto; box-shadow: var(--shadow-img); }
.cover-img--left { object-position: left center; }
.app__box {
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--radius-l);
  background: var(--c-red);
  color: var(--c-white);
  text-align: center;
  container-type: inline-size;
}
.app__box .title { font-weight: 300; }
.app__box .text--lead { color: var(--c-white); }
.app__box a:not(.btn) { color: var(--c-white); }
.checklist { display: grid; gap: 12px; margin: 24px 0; list-style: none; text-align: left; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist .icon { width: 20px; height: 20px; margin-top: 2px; }
.app__outro { margin-bottom: 24px; }
@media (min-width: 900px) {
  .app__inner { grid-template-columns: 4fr 5fr; align-items: center; }
  .app__media .cover-img { max-height: none; }
  .app__box { margin-left: -40px; position: relative; }
}

/* ==========================================================================
   Rechtstexte / Fehlerseite
   ========================================================================== */
.prose { max-width: var(--measure); line-height: 1.7; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem); }
.prose h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1em 1.4em; }

.error-page .text { margin-inline: auto; }
.error-page .btn { margin-top: 24px; }

/* ==========================================================================
   Footer (dunkel, Foto + schwarzes Overlay 0,71 wie live)
   ========================================================================== */
.footer { color: var(--c-light); }
.footer a { color: var(--c-light); text-decoration: none; }
.footer a:hover { color: var(--c-yellow); text-decoration: underline; }
.footer__main {
  position: relative;
  padding-block: 56px 32px;
  overflow: hidden;
  background: var(--c-black);
  isolation: isolate;
}
.footer__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-black);
  opacity: .71;
}
.fnav__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; }
.fnav__link { display: inline-block; padding: 6px 0; font-size: .875rem; font-weight: 600; text-transform: uppercase; }
.footer .fnav__link.is-active { color: var(--c-red-light); }
.footer__cols {
  display: grid;
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}
.footer__col { min-width: 0; }
.footer__logo { width: 198px; height: auto; margin: 0 auto 20px; padding: 6px 10px; border-radius: var(--radius); background: var(--c-white); }
.footer__main { border-top: 4px solid var(--c-red); }
.footer__title { margin-bottom: 18px; color: var(--c-light); font-size: 1.25rem; font-weight: 700; }
.footer__title::after { content: ""; display: block; width: 36px; height: 3px; margin: 10px auto 0; border-radius: 2px; background: var(--c-red-light); }
.footer .fnav { padding-bottom: 28px; border-bottom: 1px solid color-mix(in srgb, var(--c-white) 16%, transparent); }
.footer__list { display: grid; gap: 10px; list-style: none; }
.footer__list li { display: flex; justify-content: center; align-items: flex-start; gap: 10px; }
.footer__list .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--c-red-light); }
.footer__list--dash { width: fit-content; max-width: 100%; margin-inline: auto; }
.footer__list--dash li { justify-content: flex-start; text-align: left; }
.footer__list--dash li::before { content: ""; flex-shrink: 0; width: 12px; height: 2px; margin-top: 12px; background: var(--c-red-light); }
.footer__social { display: flex; justify-content: center; gap: 12px; margin-top: 20px; list-style: none; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.footer__social .icon { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); text-align: left; }
  .footer__logo { margin-left: 0; }
  .footer__title::after { margin-left: 0; }
  .footer__list li { justify-content: flex-start; }
  .footer__list--dash { margin-inline: 0; }
  .footer__social { justify-content: flex-end; }
}
.footer__bottom { padding-block: 20px; border-top: 1px solid color-mix(in srgb, var(--c-white) 12%, transparent); background: var(--c-black); font-size: .875rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; text-align: center; }
.footer__bottom p { margin: 0; color: color-mix(in srgb, var(--c-light) 82%, var(--c-black)); }
.footer__legal { display: flex; gap: 20px; list-style: none; }
.footer__legal a { display: inline-block; padding: 6px 0; text-decoration: underline; }
.footer__b2b, .footer__credit { flex-basis: 100%; }
.footer__credit a { display: inline-block; padding: 6px 0; color: inherit; text-decoration: underline; }
