/* ==========================================================================
   D&W TYRES – Design System
   Style: "Industrial Clean" – reduziert, präzise, mit einer Akzentfarbe.
   Detail-Regeln siehe: style-guide.md
   ========================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  /* Farben */
  --color-ink:        #17171b;   /* nahezu Schwarz (Header/Footer, Dark Sections) */
  --color-ink-2:      #232329;   /* aufgehelltes Ink (Cards auf Dark) */
  --color-text:       #2e2e33;   /* Fließtext */
  --color-muted:      #6c6c73;   /* zweitrangiger Text */
  --color-bg:         #f6f6f4;   /* Seitenhintergrund (warmes Off-White) */
  --color-surface:    #ffffff;   /* Karten, Panels */
  --color-border:     #e5e5e1;   /* Trennlinien */
  --color-border-2:   #d5d5d0;   /* stärkere Trennlinien */
  --color-accent:     #e2007d;   /* EFR-Magenta (Markenfarbe) */
  --color-accent-dk:  #b50064;   /* Hover/Dark */
  --color-accent-tint:#fdeaf5;   /* Akzent-Licht (Hintergründe) */
  --color-white:      #ffffff;
  --color-on-dark:    #f2f2f0;   /* Text auf Ink */
  --color-on-dark-mut:#a8a8b0;   /* zweitrangiger Text auf Ink */

  /* Typografie */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --fs-hero:   clamp(2.4rem, 5.4vw, 4.1rem);
  --fs-h1:     clamp(2rem, 3.6vw, 2.9rem);
  --fs-h2:     clamp(1.6rem, 2.6vw, 2.2rem);
  --fs-h3:     1.3rem;
  --fs-h4:     1.05rem;
  --fs-lead:   1.15rem;
  --fs-body:   1rem;
  --fs-small:  0.875rem;
  --fs-tiny:   0.78rem;

  --lh-tight: 1.15;
  --lh-base:  1.65;

  /* Spacing (4er-Skala) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* Layout */
  --container: 1240px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --header-h: 84px;
  --topbar-h: 40px;
  --section-pad: clamp(4rem, 9vw, 7.5rem);

  /* Form */
  --radius: 6px;
  --radius-sm: 3px;
  --shadow-card: 0 1px 2px rgba(23,23,27,.05), 0 10px 30px rgba(23,23,27,.07);
  --shadow-pop:  0 12px 40px rgba(23,23,27,.16);
  --ease: cubic-bezier(.25,.6,.3,1);
}

/* ---------- 2. Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.015em;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0; padding: 0; }
li { margin: 0; }

a { color: var(--color-accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent-dk); }

::selection { background: var(--color-accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-ink); color: #fff;
  padding: .75rem 1.25rem; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--surface { background: var(--color-surface); }
.section--ink { background: var(--color-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tint { background: var(--color-accent-tint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-tiny); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--color-accent); flex: none;
}
.section--ink .eyebrow { color: #fff; opacity: .85; }
.section--ink .eyebrow::before { background: var(--color-accent); }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head .section-sub {
  color: var(--color-muted); font-size: var(--fs-lead);
  line-height: 1.6; margin-top: var(--sp-3);
}
.section--ink .section-head .section-sub { color: var(--color-on-dark-mut); }

.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--color-text); }
.prose p { max-width: 70ch; }
.prose > p:last-child { margin-bottom: 0; }
.muted { color: var(--color-muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  line-height: 1;
  padding: .95rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }

.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(226,0,125,.28); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--dark { background: var(--color-ink); color: #fff; }
.btn--dark:hover { background: var(--color-ink-2); color: #fff; transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-border-2); }
.btn--ghost:hover { border-color: var(--color-ink); color: var(--color-ink); transform: translateY(-1px); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; transform: translateY(-1px); }

.btn--sm { padding: .65rem 1.15rem; font-size: .85rem; }
.btn--lg { padding: 1.15rem 2.2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Link mit Unterstrich-Animation (Navigation & Textlinks) */
.link-underline {
  position: relative; display: inline-block;
  color: inherit; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left calc(100% - 2px);
  transition: background-size .25s var(--ease);
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; }

/* ---------- 5. Topbar ---------- */
.topbar {
  background: var(--color-ink);
  color: var(--color-on-dark-mut);
  font-size: var(--fs-tiny);
  line-height: 1.4;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--topbar-h);
}
.topbar a { color: var(--color-on-dark-mut); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar a svg { width: 14px; height: 14px; flex: none; }
.topbar-addr { margin: 0; display: flex; align-items: center; gap: .45rem; }
.topbar-addr svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.topbar-right { display: flex; align-items: center; gap: 1.25rem; }
.topbar-shop { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: #fff; }
.topbar-shop svg { width: 14px; height: 14px; }
.topbar-shop:hover { color: var(--color-accent); }
@media (max-width: 720px) {
  .topbar-addr { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ---------- 6. Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23,23,27,.08); }

.header-inner {
  display: flex; align-items: center; gap: 2rem;
  min-height: var(--header-h);
}

.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { height: 56px; width: auto; }
@media (max-width: 560px) { .brand img { height: 46px; } }

.main-nav { margin-left: auto; }
.nav-list {
  display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  color: var(--color-ink);
  padding: .5rem 0;
  position: relative;
  text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2.5px; background: var(--color-accent);
  transition: right .25s var(--ease);
}
.nav-list a:hover::after,
.nav-list li.is-active > a::after { right: 0; }
.nav-list a:hover { color: var(--color-ink); }

/* Dropdown (Desktop) */
.nav-list .has-sub > a { padding-right: .15rem; }
.nav-list .has-sub > a .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.sub-list {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: 0; top: calc(100% + 10px);
  min-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 120;
}
.has-sub { position: relative; }
.has-sub > a { position: relative; }
@media (hover: hover) {
  .has-sub:hover .sub-list,
  .has-sub:focus-within .sub-list { opacity: 1; visibility: visible; transform: translateY(0); }
  .has-sub:hover > a .chev, .has-sub:focus-within > a .chev { transform: rotate(180deg); }
}
.sub-list a {
  display: block; padding: .7rem 1.1rem; font-size: .9rem;
  border-bottom: 1px solid var(--color-bg);
  white-space: nowrap;
}
.sub-list a::after { display: none; }
.sub-list li:last-child a { border-bottom: 0; }
.sub-list a:hover { background: var(--color-accent-tint); color: var(--color-accent-dk); }
.sub-list a.is-active { color: var(--color-accent); font-weight: 700; }

.header-cta { display: inline-flex; align-items: center; gap: .5rem; flex: none; }
@media (max-width: 900px) { .header-cta { display: none; } }

/* Burger (mobil) */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  background: none; border: 0; cursor: pointer;
  position: relative; z-index: 130;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-ink); margin: 5.5px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span { background: #fff; }

/* Mobile Navigation */
@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; top: 0;
    width: min(88vw, 380px);
    background: var(--color-ink);
    color: var(--color-on-dark);
    transform: translateX(102%);
    transition: transform .35s var(--ease);
    z-index: 125;
    padding: calc(var(--topbar-h) + var(--header-h) + var(--sp-4)) var(--sp-5) var(--sp-5);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-list a {
    font-size: 1.15rem; font-weight: 600; color: #fff;
    padding: 1rem 0; display: flex; justify-content: space-between; align-items: center;
  }
  .nav-list a::after { display: none; }
  .nav-list a:hover { color: var(--color-accent); }
  .nav-list .has-sub > a .chev { width: 16px; height: 16px; }
  .sub-list {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; background: none; border: 0; box-shadow: none;
    display: none; padding-left: 1rem;
  }
  .sub-list.is-open { display: block; }
  .sub-list a { color: var(--color-on-dark-mut); font-size: 1rem; padding: .65rem 0; border-bottom: 0; }
  .sub-list a:hover, .sub-list a.is-active { color: var(--color-accent); background: none; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(23,23,27,.55);
    z-index: 120; opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1024px) { .nav-backdrop { display: none; } }

/* ---------- 7. Hero / Seitenkopf mit Slideshow ---------- */
.hero {
  position: relative;
  height: clamp(320px, 44vw, 640px);
  background: var(--color-ink);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero--slim { height: clamp(240px, 30vw, 420px); }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,23,27,.78) 0%, rgba(23,23,27,.25) 45%, rgba(23,23,27,.08) 100%);
}
@media (max-width: 720px) {
  .hero-slide::after { background: linear-gradient(to top, rgba(23,23,27,.82) 0%, rgba(23,23,27,.4) 55%, rgba(23,23,27,.18) 100%); }
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-top: 6rem;
}
.hero-content .eyebrow { color: #fff; opacity: .9; }
.hero-content .eyebrow::before { background: var(--color-accent); }
.hero-title {
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 0;
  text-wrap: balance;
}
.hero--slim .hero-title { font-size: var(--fs-h1); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* Slide-Punkte */
.hero-dots {
  position: absolute; z-index: 3;
  right: clamp(1rem, 4vw, 2rem); bottom: clamp(1.25rem, 3vw, 2rem);
  display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.hero-dots button:hover { background: rgba(255,255,255,.8); }
.hero-dots button.is-active { background: var(--color-accent); transform: scale(1.25); }

/* Hero ohne Bild (Flachkopf) */
.hero--flat {
  background: var(--color-ink);
  height: auto; padding-block: clamp(3rem, 6vw, 4.5rem);
}
.hero--flat .hero-title { max-width: 30ch; }
.hero--flat .hero-sub { color: var(--color-on-dark-mut); font-size: var(--fs-lead); max-width: 60ch; margin: 0; }

/* ---------- 8. Karten & Grids ---------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card--body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.card--flush { overflow: hidden; }
.card--flush .card--body { padding-top: var(--sp-5); }
.card h3 { font-size: var(--fs-h3); font-weight: 700; }
.card h4 { font-size: var(--fs-h4); font-weight: 600; color: var(--color-muted); margin-bottom: var(--sp-4); }
.card p { margin-bottom: 0; }

.card-img { aspect-ratio: 3 / 1; overflow: hidden; background: var(--color-bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }

/* Teaser-Karten (Startseite) */
.teaser h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.teaser .card-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--color-accent); margin-top: 1rem;
}
.teaser .card-link svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.teaser .card-link:hover { color: var(--color-accent-dk); }
.teaser .card-link:hover svg { transform: translateX(4px); }

/* Feature-Strip (Zahlen/Merkmale) */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  overflow: hidden;
}
.stat {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 1px solid var(--color-border);
}
.stat:first-child { border-left: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800; color: var(--color-ink);
  line-height: 1.05; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: .15em;
}
.stat-value small { font-size: .5em; font-weight: 700; color: var(--color-accent); }
.stat-label { color: var(--color-muted); font-size: var(--fs-small); margin-top: .4rem; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--color-border); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--color-border); }
  .stat:first-child { border-top: 0; }
}

/* Service-/Leistungs-Listen */
.checklist { list-style: none; display: grid; gap: .85rem; }
.checklist li {
  position: relative; padding-left: 2rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .22em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--color-accent-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e2007d" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/70% no-repeat;
}
.checklist--dark li::before {
  background: rgba(226,0,125,.16) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/70% no-repeat;
}

/* Zweispaltiger Textblock mit Überschriften */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Bild-Text-Wechsel (Reifenlabel) */
.media-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--color-border);
}
.media-row:first-of-type { border-top: 0; padding-top: 0; }
.media-row--reverse .media-fig { order: 2; }
@media (max-width: 760px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row--reverse .media-fig { order: 0; }
}
.media-fig {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.media-fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 9. Marken-Wand (Logo-Grid) ---------- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.brand-wall a, .brand-wall span {
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface);
  padding: 1.4rem 1rem;
  min-height: 96px;
  transition: background .2s var(--ease);
}
.brand-wall a:hover { background: var(--color-accent-tint); }
.brand-wall img {
  max-height: 44px; width: auto; max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%); opacity: .8;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.brand-wall a:hover img { filter: grayscale(0%); opacity: 1; }

/* ---------- 10. Dark CTA-Band (EFR / Benefits) ---------- */
.band {
  position: relative;
  background: var(--color-ink);
  color: var(--color-on-dark);
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 120%, rgba(226,0,125,.22), transparent 70%),
    repeating-linear-gradient(-55deg, rgba(255,255,255,.028) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.band-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.band h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.band p { color: var(--color-on-dark-mut); margin-bottom: 0; max-width: 60ch; }
.band-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (max-width: 900px) {
  .band-inner { grid-template-columns: 1fr; }
}

/* ---------- 11. Action-Band (Onlineshop / Bewertung) ---------- */
.action-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 700px) { .action-tiles { grid-template-columns: 1fr; } }
.action-tile {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-ink);
}
.action-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transition: transform .6s var(--ease);
}
.action-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,23,27,.55), transparent 45%);
}
.action-tile:hover img { transform: scale(1.05); }
.action-tile-label {
  position: absolute; z-index: 2; left: 0; bottom: 0;
  display: flex; align-items: center; gap: .6rem;
  padding: 1.1rem 1.4rem;
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.action-tile-label svg { width: 1.2em; height: 1.2em; transition: transform .25s var(--ease); }
.action-tile:hover .action-tile-label svg { transform: translateX(5px); }
.action-tile:hover { color: #fff; }

/* ---------- 12. Job-Karten ---------- */
.job-card { display: flex; flex-direction: column; }
.job-card .job-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 1.6rem; border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.job-card .job-logo img { height: 64px; width: auto; }
.job-card .card--body { flex: 1; display: flex; flex-direction: column; }
.job-card .card--body p { flex: 0; }
.job-card .job-contact {
  margin-top: auto; padding-top: 1.25rem;
  font-size: var(--fs-small); color: var(--color-muted);
  border-top: 1px dashed var(--color-border);
  line-height: 1.7;
}
.job-card .job-apply { margin-top: 1.25rem; }

/* ---------- 13. Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-stack { display: grid; gap: 1.25rem; }
.info-card { padding: clamp(1.5rem, 3vw, 2rem); }
.info-card h3 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; color: var(--color-ink); display: flex; align-items: center; gap: .6rem; }
.info-card h3 svg { width: 1.2em; height: 1.2em; color: var(--color-accent); flex: none; }
.info-card address { font-style: normal; line-height: 1.8; }
.info-card p { margin: 0; line-height: 1.8; }
.info-card a { color: var(--color-accent); }
.info-card a:hover { color: var(--color-accent-dk); }

.map-frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Formulare */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 600; color: var(--color-ink);
  letter-spacing: .02em;
}
.field label .req { color: var(--color-accent); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a5a5ab; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(226,0,125,.14);
}
.field textarea { resize: vertical; min-height: 140px; }
.field .field-error { font-size: var(--fs-tiny); color: #c0262d; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #c0262d; }
.field.has-error .field-error { display: block; }
.form .btn { justify-self: start; }

.form-note { font-size: var(--fs-tiny); color: var(--color-muted); margin: 0; }

.form-success {
  display: none;
  align-items: flex-start; gap: 1rem;
  background: #f2fbf4; border: 1px solid #bfe8c6;
  color: #1d6b2e;
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 1.5rem; height: 1.5rem; flex: none; }
.form-success p { margin: 0; }

/* ---------- 14. Reifenlexikon ---------- */
.glossary {
  columns: 2; column-gap: clamp(2.5rem, 6vw, 4.5rem);
}
@media (max-width: 860px) { .glossary { columns: 1; } }
.glossary-item {
  break-inside: avoid;
  padding: 1.4rem 0;
  border-top: 1px solid var(--color-border);
}
.glossary-item:first-child { border-top: 0; padding-top: 0; }
.glossary-item h3 {
  font-size: 1.02rem; font-weight: 700; color: var(--color-ink);
  margin-bottom: .5rem;
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 1rem);
}
.glossary-item h3 .term-mark { color: var(--color-accent); margin-right: .4em; font-weight: 800; }
.glossary-item p { margin: 0; color: var(--color-text); font-size: .95rem; line-height: 1.65; }
.glossary-item p + p { margin-top: .6rem; }

/* ---------- 15. Konfigurator ---------- */
.config-layout { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.config-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 480px;
}
.config-widget iframe { display: block; width: 100%; border: 0; }

.conf-summary .conf-row {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}
.conf-summary .conf-row:first-child { border-top: 0; }
.conf-thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  object-fit: contain; padding: .35rem;
}
.conf-row h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--color-muted); margin: 0 0 .25rem; font-weight: 600; }
.conf-row .conf-text { font-size: 1rem; color: var(--color-ink); font-weight: 500; }

/* ---------- 16. Success-Page ---------- */
.success-wrap { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.success-icon {
  width: 84px; height: 84px; margin: 0 auto var(--sp-6);
  border-radius: 50%;
  background: var(--color-accent-tint);
  display: grid; place-items: center;
  color: var(--color-accent);
  box-shadow: 0 0 0 10px rgba(226,0,125,.06);
}
.success-icon svg { width: 42px; height: 42px; }
.success-wrap h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.success-wrap p { max-width: 52ch; margin-inline: auto; color: var(--color-muted); font-size: var(--fs-lead); }
.success-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: var(--sp-6); }

/* ---------- 17. Legal (Impressum / Datenschutz) ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: var(--fs-h1); }
.legal h3 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 .6rem; }
.legal p, .legal li { line-height: 1.75; font-size: .98rem; }
.legal ol { padding-left: 1.4rem; display: grid; gap: 1rem; margin-top: var(--sp-4); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .5rem; }

/* ---------- 18. Footer ---------- */
.brand-strip { background: var(--color-surface); border-top: 1px solid var(--color-border); }
.brand-strip-label {
  text-align: center;
  font-size: var(--fs-tiny); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-muted);
  margin: var(--sp-6) 0 var(--sp-4);
}
.brand-row {
  list-style: none;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: var(--sp-6);
}
.brand-row img {
  height: 34px; width: auto; max-width: 130px; object-fit: contain;
  filter: grayscale(100%); opacity: .65;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.brand-row a:hover img { filter: grayscale(0%); opacity: 1; }

.partner-strip { background: var(--color-bg); border-top: 1px solid var(--color-border); }
.partner-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: var(--sp-5);
}
.partner-row img { height: 48px; width: auto; max-width: 180px; object-fit: contain; }

.footer-main { background: var(--color-ink); color: var(--color-on-dark-mut); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo-chip {
  display: inline-flex;
  background: #fff; border-radius: var(--radius);
  padding: .8rem 1.1rem; margin-bottom: var(--sp-4);
}
.footer-logo-chip img { height: 44px; width: auto; }
.footer-claim { font-size: var(--fs-small); line-height: 1.7; max-width: 34ch; }

.footer-heading {
  font-family: var(--font-display);
  color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-main ul { list-style: none; }
.footer-main ul li { margin-bottom: .55rem; }
.footer-main a { color: var(--color-on-dark-mut); text-decoration: none; font-size: .95rem; }
.footer-main a:hover { color: var(--color-accent); }
.footer-main address { font-style: normal; line-height: 1.9; margin: 0 0 1rem; }
.footer-main p { margin: 0 0 1rem; line-height: 1.9; }

.social-row { display: flex; gap: .6rem; margin-top: var(--sp-4); }
.social-row a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  color: var(--color-on-dark-mut);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.social-row a:hover { border-color: var(--color-accent); color: var(--color-accent); background: rgba(226,0,125,.08); }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom { background: #101013; border-top: 1px solid rgba(255,255,255,.07); color: #77777f; font-size: var(--fs-tiny); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; padding-block: 1.1rem;
}
.footer-bottom-inner p { margin: 0; }
.legal-links { list-style: none; display: flex; gap: 1.25rem; }
.legal-links a { color: #77777f; }
.legal-links a:hover { color: #fff; }

/* ---------- 19. Cookie-Hinweis ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--color-ink);
  color: var(--color-on-dark);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
  box-shadow: 0 -10px 40px rgba(23,23,27,.25);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.cookie-inner p { margin: 0; font-size: var(--fs-small); color: var(--color-on-dark-mut); max-width: 65ch; }
.cookie-inner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-inner a:hover { color: var(--color-accent); }
.cookie-ok {
  font: inherit; font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  color: #fff; background: var(--color-accent);
  border: 0; border-radius: var(--radius-sm);
  padding: .7rem 1.3rem; cursor: pointer;
  transition: background .2s var(--ease);
}
.cookie-ok:hover { background: var(--color-accent-dk); }

/* ---------- 20. Back-to-Top ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--color-ink); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--color-accent); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 21. Diverses ---------- */
.divider { border: 0; border-top: 1px solid var(--color-border); margin: 0; }

/* Konfigurator-Widget: Rahmen-Überschreibung, falls der Provider Styles setzt */
#tire-configurator { min-height: 420px; background: #fff; border-radius: var(--radius); }
#tire-configurator-summary { scroll-margin-top: calc(var(--header-h) + 2rem); }

/* Externe Konfigurator-Formular-Styles (Bootstrap-ähnlich) harmonisieren */
#reifenkonfigurator-form .form-control {
  width: 100%; padding: .8rem 1rem;
  font: inherit; color: var(--color-text);
  border: 1px solid var(--color-border-2); border-radius: var(--radius-sm);
  background: var(--color-surface);
  margin-bottom: 1rem;
}
#reifenkonfigurator-form .form-control:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(226,0,125,.14);
}
#reifenkonfigurator-form label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .85rem; margin-bottom: .4rem; color: var(--color-ink); }
#reifenkonfigurator-form .btn.btn-primary {
  background: var(--color-accent) !important; border: 0;
  font-family: var(--font-display); font-weight: 700;
  padding: .9rem 1.8rem; border-radius: var(--radius-sm);
}
#reifenkonfigurator-form .btn.btn-primary:hover { background: var(--color-accent-dk) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 22. Ergänzungen: Hero-Caption, Sub-Toggle, Action-Tiles, Pillars ---------- */
.hero-slide-caption {
  position: absolute; z-index: 2;
  left: 0; right: 0;
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  pointer-events: none;
}
.hero-slide-caption p {
  display: inline-block;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  font-weight: 700; color: #fff;
  letter-spacing: -0.01em; line-height: 1.25;
  background: linear-gradient(to top, rgba(23,23,27,.55), rgba(23,23,27,0));
  padding: 1.4rem 0 0.35rem;
  max-width: 22ch;
}
.hero-dots { bottom: clamp(1rem, 2.5vw, 1.5rem); }

/* Sub-Menü-Toggle nur mobil sichtbar */
.sub-toggle {
  display: none;
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  background: none; border: 0; cursor: pointer;
  padding: 0;
}
.sub-toggle::before {
  content: "";
  display: block; width: 10px; height: 10px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 5px auto;
  transition: transform .25s var(--ease);
}
.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
@media (max-width: 1023px) {
  .sub-toggle { display: block; }
  .nav-list .has-sub > a { padding-right: 2.5rem; }
  .nav-list .has-sub > a .chev { display: none; }
}
@media (min-width: 1024px) { .sub-toggle { display: none; } }

/* Action-Tiles: Original-Grafiken (1:1) mit Text oben einpassen */
.action-tile { aspect-ratio: 4 / 3; }
.action-tile img { object-position: center 20%; }
.action-tile-label {
  background: rgba(23,23,27,.72);
  backdrop-filter: blur(2px);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  font-size: .95rem;
}
@media (max-width: 700px) { .action-tile { aspect-ratio: 16 / 9; } }

/* Säulen (Zufriedenheitsgarantie) */
.pillar { position: relative; padding-top: .5rem; }
.pillar .pillar-num {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  display: block; margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.35rem; }
.cert-grid { margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid var(--color-border); }
.cert-grid h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); font-weight: 700; margin-bottom: var(--sp-4); }
.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
@media (max-width: 620px) { .cert-list { grid-template-columns: 1fr; } }

/* Konfigurator-Intro */
.config-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: var(--sp-7); }
@media (max-width: 760px) { .config-intro { grid-template-columns: 1fr; } }
.config-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.25rem;
}
.config-step .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-accent-tint); color: var(--color-accent);
  font-family: var(--font-display); font-weight: 800;
  display: grid; place-items: center; font-size: .95rem;
}
.config-step p { margin: 0; font-size: var(--fs-small); color: var(--color-muted); }
.config-step strong { display: block; font-family: var(--font-display); color: var(--color-ink); font-size: .95rem; margin-bottom: .2rem; }

/* Legal-Kopf */
.page-intro { background: var(--color-ink); padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-intro .eyebrow { color: #fff; opacity: .85; }
.page-intro h1 { color: #fff; font-size: var(--fs-h1); margin: 0; }

/* Home-Teaser-Überschneidung optional: kein Extra nötig */

/* ---------- 23. Final Ergänzungen ---------- */
.media-text h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-4); }
.media-text p { color: var(--color-text); }

.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 1023px) {
  .config-layout { grid-template-columns: 1fr; }
  .config-layout .card { position: static !important; }
}
