/* ==========================================================================
   Reifennotdienst Penev
   Gestaltung aus der Sache: Werkstatt- und Straßenbeschilderung.
   Die Rufnummer ist das größte Element der Seite – bei einem Notdienst
   ist sie das eigentliche Produkt.
   ========================================================================== */

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

:root {
  /* Marke (verbindlich) */
  --red: #b90b0b;
  --red-dark: #970909;
  --ink: #242629;
  --ink-deep: #17191b;
  --wa: #15883c;
  --wa-dark: #0f7b38;

  /* Umfeld: Asphalt- und Betontöne, kühl statt cremig */
  --paper: #ffffff;
  --asphalt: #ebeceb;
  --asphalt-deep: #dfe1e0;
  --line: #cfd2d1;
  --line-dark: rgba(255, 255, 255, 0.16);
  --text: #242629;
  --text-soft: #54595d;
  --text-on-dark: rgba(255, 255, 255, 0.72);

  /* Der Winkel stammt aus der Kursivneigung der Wortmarke */
  --slant: -13.734deg;

  --measure: 1200px;
  --pad-y: clamp(3.5rem, 2.4rem + 4.4vw, 7rem);
  --bar-h: 66px;
  --header-h: 63px;
  --callbar-h: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));

  --sans: "Barlow", "Segoe UI", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --press: 150ms;
  --fade: 190ms;
}

/* ---------- Grundlagen ---------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--callbar-h);
  overflow-wrap: break-word;
}

@media (min-width: 900px) {
  :root {
    --header-h: 93px;
    --callbar-h: 0px;
  }

  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
}

/* Author display rules must never override the HTML hidden state. */
[hidden] {
  display: none !important;
}

:where(.hero__text, .fact, .flow__step, .register > *, .foot__grid > *, .closing__grid > *, .area-top > *, .cost-after > *) {
  min-width: 0;
}

h1,
h2,
h3 {
  font-family: var(--cond);
  font-weight: 700;
  margin: 0 0 0.45em;
  color: var(--ink);
  letter-spacing: -0.003em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.25rem, 1.5rem + 3.3vw, 4.75rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 1.5rem + 2.1vw, 3.25rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.15;
}

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

/* ---------- Gerüst ---------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 700px) {
  .wrap {
    padding-inline: 40px;
  }
}

.band {
  padding-block: var(--pad-y);
}

.band--grey {
  background: var(--asphalt);
}

.band--ink {
  background: var(--ink);
  color: var(--text-on-dark);
}

.band--ink h2,
.band--ink h3 {
  color: #fff;
}

[id] {
  scroll-margin-top: 0.5rem;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 54ch;
}

.band--ink .lede {
  color: var(--text-on-dark);
}

.head {
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}

.head h2 {
  max-width: 18ch;
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--fade) ease;
}

@media (hover: hover) and (pointer: fine) {
  .link:hover {
    color: var(--red);
  }
}

.band--ink .link {
  color: #fff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.band--ink :focus-visible,
.helper :focus-visible,
.hero :focus-visible,
.foot :focus-visible,
.callbar :focus-visible,
.closing :focus-visible {
  outline-color: #fff;
}

.callbar :focus-visible {
  outline-offset: -4px;
}

.skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 900;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--fade) var(--ease);
}

.skip:focus {
  top: 1rem;
}

.sr,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  min-width: 0;
  max-width: 100%;
  padding: 0.8em clamp(0.65rem, 2.2vw, 1.5rem);
  background: none;
  border: 2px solid transparent;
  border-radius: 3px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: background-color var(--fade) ease, border-color var(--fade) ease,
    color var(--fade) ease, transform var(--press) var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--ink);
}

/* WhatsApp in seiner eigenen Farbe – aber so weit abgedunkelt,
   dass weißer Text auch bei Sonne am Straßenrand lesbar bleibt. */
.btn--whatsapp {
  background: var(--wa);
  color: #fff;
  border-color: var(--wa);
  border-radius: 8px;
  font-size: 1.05rem;
}

.btn--whatsapp svg {
  width: 1.3em;
  height: 1.3em;
}

/* Zweitrangige Aktion auf der roten Fläche */
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: none;
}

.btn[disabled] {
  opacity: 0.8;
  cursor: progress;
}

/* Während der Standort ermittelt wird, dreht sich das Symbol –
   die einzige Dauerbewegung der Seite, und nur solange gewartet wird. */
[data-geo][disabled] svg {
  animation: locating 900ms linear infinite;
}

@keyframes locating {
  to {
    transform: rotate(360deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn--red:hover {
    background: var(--red-dark);
  }
  .btn--outline:hover {
    background: var(--ink);
    color: #fff;
  }
  .btn--ghost:hover,
  .btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
  }
  .btn--white:hover {
    background: var(--asphalt);
  }
  .btn--whatsapp:hover {
    background: var(--wa-dark);
    border-color: var(--wa-dark);
  }
  .callbar__alt:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Die Rufnummer als Hauptaktion: bewusst das größte Element der Seite */
.dial {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1em;
  max-width: 100%;
  padding: 0.7rem 1.6rem 0.85rem;
  background: var(--red);
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color var(--fade) ease, transform var(--press) var(--ease);
}

.dial:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .dial:hover {
    background: var(--red-dark);
  }
}

.dial__label {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.dial__label svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.dial__number {
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0.005em;
}

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--fade) ease;
}

.masthead[data-lifted="true"] {
  box-shadow: 0 1px 12px rgba(36, 38, 41, 0.12);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 62px;
  padding-block: 0.6rem;
}

@media (min-width: 900px) {
  .masthead__inner {
    min-height: 92px;
  }
}

.brand {
  min-width: 0;
  max-width: calc(100% - 62px);
  margin-right: auto;
}

.brand img {
  height: 30px;
  width: auto;
}

@media (min-width: 900px) {
  .brand img {
    height: 46px;
  }

}

.nav {
  display: none;
}

@media (min-width: 1060px) {
  .nav {
    display: flex;
    flex: 1 1 20rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.25rem;
    font-size: 1.02rem;
    font-weight: 500;
  }

  .nav a {
    position: relative;
    padding: 0.3rem 0;
    text-decoration: none;
    transition: color var(--fade) ease;
  }

  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--fade) var(--ease);
  }

  .nav a:hover::after {
    transform: scaleX(1);
  }
}

.masthead__contact {
  display: none;
}

@media (min-width: 900px) {
  .masthead__contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .masthead__number {
    display: block;
    font-family: var(--cond);
    font-weight: 700;
    font-size: 1.62rem;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color var(--fade) ease;
  }

  .masthead__number small {
    display: block;
    margin-top: 0.25rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-soft);
  }

  .masthead__number:hover {
    color: var(--red);
  }

  .masthead__contact .btn {
    min-height: 46px;
    padding: 0.6em 1.25em;
  }
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform var(--press) var(--ease);
}

.burger:active {
  transform: scale(0.94);
}

.burger svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 1060px) {
  .burger {
    display: none;
  }
}

.drawer {
  position: fixed;
  inset: var(--header-h) 0 var(--callbar-h) 0;
  z-index: 280;
  background: var(--paper);
  padding: 1.25rem 20px 2.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--fade) var(--ease), visibility 0s linear var(--fade);
}

.drawer[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

@media (min-width: 1060px) {
  .drawer {
    display: none;
  }
}

.drawer a {
  text-decoration: none;
}

.drawer nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.5rem;
}

.drawer .dial {
  margin-top: 1.5rem;
  width: 100%;
  align-items: center;
}

/* ---------- Hero ----------
   Mobil stehen Foto und Text separat. Kontakt bleibt über die feste Leiste
   erreichbar; der Verlauf wird nur für die Desktop-Bildbühne verwendet. */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0;
}

.hero__text {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 1.8rem + 3vw, 4.75rem) 20px clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  align-self: center;
}

@media (min-width: 700px) {
  .hero__text {
    padding-inline: 40px;
  }
}

/* Der Satzspiegel sitzt auf derselben Kante wie der übrige Inhalt.
   Begrenzt wird die Textbreite, nicht die Gesamtbreite samt Einzug –
   sonst bleibt auf breiten Bildschirmen zu wenig für die Zeile übrig. */
@media (min-width: 1000px) {
  .hero__inner {
    /* Das Bild endet am Textbereich. Die nachfolgenden Facts gehören
       nicht zum Positionierungsrahmen und bleiben vollständig frei. */
    padding-inline: max(40px, calc((100% - var(--measure)) / 2 + 40px));
  }

  .hero__text {
    max-width: 36rem;
    padding-inline: 0;
    padding-block: clamp(2.75rem, 1.8rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
  }
}

.hero__availability {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.5em;
}


.hero__sub {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin-bottom: 2rem;
}

.hero__sub.hero__sub--rating {
  margin-bottom: 0.75rem;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  min-height: 32px;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

.hero-rating__stars {
  display: flex;
  flex: none;
  gap: 1px;
  color: #fbbc04;
}

.hero-rating__stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-rating__google {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}

.hero-rating__google img {
  width: 18px;
  height: 18px;
}

.hero-rating:hover .hero-rating__text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-rating:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Anrufen bleibt die Hauptaktion, WhatsApp und Standort stehen daneben */
.actions {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.actions__alt {
  display: grid;
  gap: 0.6rem;
}

.actions__alt .btn {
  padding-inline: 1rem;
  text-align: center;
}

.actions .dial {
  align-items: center;
  text-align: center;
}

@media (min-width: 620px) {
  .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: start;
  }

  .actions .dial {
    flex: 1 1 20rem;
    align-items: flex-start;
    text-align: left;
  }

  .actions__alt {
    flex: 1 1 12rem;
    max-width: 24rem;
  }

  .actions__alt .btn {
    height: 100%;
  }
}

/* Inhalte und Fotos sind sofort sichtbar, ohne automatische Einblendung. */

/* Bewertung: knapp gehalten, damit sie den Anrufknopf nicht nach unten drückt */
.rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  margin: -0.5rem 0 1.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.97rem;
}

.rating__stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b301;
}

.rating__stars svg {
  width: 17px;
  height: 17px;
}

.rating__text strong {
  color: #fff;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .rating:hover .rating__text {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* Beantwortet den größten Einwand bei Notdiensten, noch vor dem ersten Scrollen */
.hero__trust {
  margin: 0 0 0.6rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--red);
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}

.hero__trust strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 899px) {
  .hero__text {
    padding-block: 1.25rem 1.5rem;
  }

  .hero__sub {
    margin-bottom: 1rem;
  }

  .hero__trust {
    margin-bottom: 0;
    font-size: 1.15rem;
  }
}

.payment-methods {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.payment-methods h2 {
  font-size: clamp(1.9rem, 1.55rem + 1.3vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.payment-methods > .wrap > p {
  color: var(--text-soft);
  max-width: 65ch;
}

.payment-methods__list {
  display: grid;
  gap: 1rem 2rem;
  margin: 1.25rem 0 0;
}

.payment-methods__list > div {
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  min-width: 0;
}

.payment-methods__list dt { font-weight: 600; }
.payment-methods__list dd { margin: 0.3rem 0 0; color: var(--text-soft); }
@media (min-width: 700px) {
  .payment-methods__list { grid-template-columns: 0.85fr 1.3fr 1fr; }
}

.hero__note {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 48ch;
  margin: 0;
}

/* Rückmeldung der Standortermittlung, leer bis etwas passiert */
.geo-status {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffd9d9;
  max-width: 46ch;
}

.geo-status:empty {
  display: none;
}

.geo-status--light {
  color: #fff;
}

/* Der Bildausschnitt umfasst den gesamten Reifen samt Auflagefläche.
   Ohne Verlauf bleibt der platte Reifen auf kleinen Geräten erkennbar. */
.hero__media {
  position: relative;
  order: -1;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
}

@media (min-width: 1000px) {
  .hero__media {
    position: absolute;
    inset: 0 0 0 max(46%, calc(50% - var(--measure) / 2 + 38rem));
    order: 0;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    z-index: 0;
  }

  /* Der Verlauf folgt exakt der Neigung der Wortmarke */
  .hero__media::after {
    background: linear-gradient(
      calc(90deg + var(--slant) * -1),
      var(--ink) 0%,
      var(--ink) 44%,
      rgba(36, 38, 41, 0.78) 62%,
      rgba(36, 38, 41, 0.22) 86%,
      rgba(36, 38, 41, 0.05) 100%
    );
  }
}

/* ---------- Ein früher, persönlicher Einblick in den Betrieb ---------- */

.trust-strip {
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}

.trust-strip__image {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  height: 8rem;
  margin: 0;
  object-fit: cover;
  object-position: center 35%;
}

.trust-strip__image img {
  min-width: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.trust-strip__text h2 {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
  line-height: 1.1;
}

.trust-strip__text p {
  color: var(--text-soft);
  margin-bottom: 0.35rem;
  max-width: 65ch;
}

.trust-strip__text a {
  text-underline-offset: 3px;
}

@media (min-width: 700px) {
  .trust-strip__inner {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 380px) {
  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .trust-strip__image {
    width: 10rem;
  }
}

/* ---------- Betriebsangaben ---------- */

.facts {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  color: #fff;
}

.facts__grid {
  display: grid;
  gap: 0;
}

@media (min-width: 620px) {
  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .facts__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.fact:last-child {
  border-bottom: 0;
}

@media (min-width: 620px) {
  .fact {
    padding: 1.6rem 1.75rem 1.6rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--line-dark);
  }

  .fact:nth-child(even) {
    border-right: 0;
    padding-right: 0;
    padding-left: 1.75rem;
  }
}

@media (min-width: 1040px) {
  .fact {
    padding: 1.9rem 1.6rem;
    border-right: 1px solid var(--line-dark);
  }

  .fact:first-child {
    padding-left: 0;
  }

  .fact:nth-child(even) {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    border-right: 1px solid var(--line-dark);
  }

  .fact:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.fact b {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

/* Der Preisvorteil ist das stärkste Argument – er bekommt die Markenfarbe */
.fact--price b {
  color: #ff6b6b;
}

.fact span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-on-dark);
  max-width: 34ch;
}

/* ---------- Sicherheit zuerst ---------- */

.safety {
  background: var(--asphalt);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 1.6rem + 1.6vw, 3rem);
}

.safety__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  margin-bottom: 1.5rem;
}

.safety__title svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  color: var(--red);
}

.safety__grid {
  display: grid;
  gap: 1.1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

@media (min-width: 820px) {
  .safety__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.safety__grid b {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.safety__grid span {
  display: block;
  font-size: 0.97rem;
  color: var(--text-soft);
}

.safety__note {
  margin: 1.5rem 0 0;
  font-size: 1.02rem;
  font-weight: 500;
}

/* ---------- Ablauf ----------
   Die Schrittzahl trägt den Abschnitt als Bildmarke, wie eine Kilometrierung. */

.flow {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 840px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.flow__step {
  position: relative;
  padding-top: 1.75rem;
}

.flow__step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--red);
}

.flow__num {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(3.75rem, 2.5rem + 4vw, 6.5rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.13;
  margin-bottom: -0.12em;
}

.flow__step h3 {
  position: relative;
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  margin-bottom: 0.4em;
  max-width: 18ch;
}

.flow__step p {
  color: var(--text-soft);
  margin: 0;
  font-size: 1.02rem;
}

/* ---------- Pannenhelfer ----------
   Kein Formular, sondern ein Gerät: antippen, sofort die Einordnung
   und eine fertige Nachricht. Nimmt dem Panikmoment die Denkarbeit ab. */

.helper {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem);
}

.helper__title {
  color: #fff;
  font-size: clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  margin-bottom: 0.3em;
}

.helper__lead {
  color: rgba(255, 255, 255, 0.75);
  max-width: 54ch;
  margin-bottom: 1.75rem;
}

.helper__choices {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .helper__choices {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .helper__choices {
    grid-template-columns: repeat(4, 1fr);
  }
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 64px;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: #fff;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.15;
  text-align: left;
  transition: background-color var(--fade) ease, border-color var(--fade) ease,
    transform var(--press) var(--ease);
}

.choice:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .choice:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
  }
}

.choice__mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: background-color var(--fade) ease, border-color var(--fade) ease;
}

.choice__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease);
}

.choice[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
}

.choice[aria-pressed="true"] .choice__mark {
  border-color: #fff;
}

.choice[aria-pressed="true"] .choice__mark::after {
  opacity: 1;
  transform: scale(1);
}

.helper__result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: answer-in 240ms var(--ease);
}

.helper__result[hidden] {
  display: none;
}

.helper__answer {
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  line-height: 1.25;
  color: #fff;
  max-width: 58ch;
  margin-bottom: 0.6rem;
}

.helper__ask {
  color: rgba(255, 255, 255, 0.78);
  max-width: 58ch;
  margin-bottom: 1.5rem;
}

.helper__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.helper__actions .btn {
  min-height: 0;
}

@media (max-width: 560px) {
  .helper__actions {
    display: grid;
  }
  .helper__actions .btn {
    min-height: 52px;
  }
}

.dial--compact {
  padding: 0.55rem 1.3rem 0.7rem;
}

.dial--compact .dial__number {
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem);
}

/* ---------- Der Mensch hinter dem Dienst ----------
   Hell und offen: Ein Gesicht schafft Vertrauen nur, wenn man es erkennt. */

.person {
  background: var(--asphalt);
}

.person__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .person__grid {
    grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.person__photo {
  margin: 0;
  max-width: 24rem;
  background: var(--paper);
  padding: 0.65rem;
  box-shadow: 0 1px 2px rgba(36, 38, 41, 0.08), 0 14px 32px rgba(36, 38, 41, 0.12);
}

.person__photo img {
  width: 100%;
  height: auto;
}

.person__role {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--red);
  margin-bottom: 0.15rem;
}

.person__name {
  font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
  line-height: 0.95;
  margin-bottom: 0.35em;
}

.person__claim {
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
  line-height: 1.2;
  color: var(--ink);
  max-width: 24ch;
  margin-bottom: 1.1rem;
}

.person__body > p {
  color: var(--text-soft);
}

.person__body {
  min-width: 0;
}

.person__body a {
  overflow-wrap: anywhere;
}

.person__facts {
  margin: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.person__facts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 560px) {
  .person__facts dt {
    flex: 0 1 9rem;
  }

  .person__facts dd {
    flex: 1 1 12rem;
  }
}

.person__facts dt {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.person__facts dd {
  min-width: 0;
  margin: 0;
  color: var(--text-soft);
}

/* ---------- Bildbühne ----------
   Für den Moment, an dem aus einem Betrieb ein Mensch wird. */

.stage {
  position: relative;
  isolation: isolate;
  background: var(--ink-deep);
  color: #fff;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 8rem);
  overflow: hidden;
}

.stage__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.stage__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
}

/* Auf schmalen Geräten deckt der Verlauf von unten, auf breiten seitlich */
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    var(--ink-deep) 0%,
    rgba(23, 25, 27, 0.94) 55%,
    rgba(23, 25, 27, 0.7) 100%
  );
}

@media (min-width: 900px) {
  .stage::after {
    background: linear-gradient(
      calc(90deg + var(--slant) * -1),
      var(--ink-deep) 0%,
      var(--ink-deep) 34%,
      rgba(23, 25, 27, 0.9) 52%,
      rgba(23, 25, 27, 0.55) 78%,
      rgba(23, 25, 27, 0.3) 100%
    );
  }
}

.stage__body {
  max-width: 32rem;
}

.stage .link {
  color: #fff;
}

.stage h2 {
  color: #fff;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  margin-bottom: 0.3em;
}

.stage blockquote {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--red);
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.15rem);
  line-height: 1.12;
  color: #fff;
}

.stage > .wrap > .stage__body p {
  color: rgba(255, 255, 255, 0.82);
}

.stage ul {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stage li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.stage li strong {
  color: #fff;
  font-weight: 600;
}

.aside {
  margin-top: 2.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--ink);
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 70ch;
}

.aside p:last-child {
  margin-bottom: 0;
}

/* ---------- Reifenpannen: Bild bis an den Bildschirmrand ---------- */

.damage {
  background: var(--asphalt);
}

@media (min-width: 1000px) {
  .damage {
    display: grid;
    grid-template-columns: 42vw minmax(0, 1fr);
    align-items: center;
  }
}

.damage__media {
  min-height: 300px;
}

@media (min-width: 1000px) {
  .damage__media {
    height: 100%;
    min-height: 620px;
  }
}

.damage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.damage__body {
  padding: var(--pad-y) 20px;
}

@media (min-width: 700px) {
  .damage__body {
    padding-inline: 40px;
  }
}

@media (min-width: 1000px) {
  .damage__body {
    padding: clamp(3.5rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 4vw, 5rem);
    max-width: 44rem;
  }
}

.cases {
  border-top: 1px solid var(--line);
}

.cases > div {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.cases h3 {
  font-size: 1.22rem;
  margin-bottom: 0.2em;
}

.cases p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

/* ---------- Einsatzgebiet als Ortsregister ---------- */

.register {
  display: grid;
  gap: 2.5rem 3rem;
}

@media (min-width: 760px) {
  .register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .register {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.register h3 {
  font-size: 1.18rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--ink);
}

/* Preisverzeichnis: Ort links, Betrag rechts, dazwischen eine Führungslinie */
.prices {
  font-size: 1rem;
}

.prices li {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0.25rem, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.prices li > i {
  border-bottom: 1px dotted #b9bdbc;
  transform: translateY(-0.3em);
}

.prices li > span {
  color: var(--text);
}

.prices li > a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .prices li > a:hover {
    color: var(--red);
  }
}

.prices b {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.prices b.ask {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.area-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

@media (min-width: 900px) {
  .area-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: end;
  }
}

.area-top p:last-child {
  margin-bottom: 0;
}

/* Die ungekürzte Ortsliste bleibt ohne JavaScript im Dokument lesbar. */
.area-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.65rem;
  max-width: 40rem;
  margin-bottom: 1rem;
}

.area-search label {
  flex: 1 0 100%;
  font-weight: 600;
}

.area-search input {
  flex: 1 1 16rem;
  min-width: 0;
  min-height: 52px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #767b7e;
  border-radius: 3px;
  color: var(--ink);
  background: var(--paper);
}

.area-search button {
  min-height: 52px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

.area-search__status {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
}

.area-empty {
  padding: 1.5rem 0;
  border-block: 1px solid var(--line);
}

.area-empty p:last-child {
  margin-bottom: 0;
}

/* Der Kontaktweg steht bereits auf dem Standortbutton. */
.geo-trigger__label {
  display: grid;
  gap: 0.2rem;
  text-align: center;
  line-height: 1.2;
}

.geo-trigger__label small {
  font-size: 0.8em;
  font-weight: 400;
}

/* ---------- Standort ermitteln, anschließend über WhatsApp senden ---------- */
.geo-dialog {
  position: fixed;
  width: min(calc(100% - 2rem), 29rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  scroll-padding-top: 5rem;
  scroll-padding-bottom: 1rem;
  border-top: 5px solid var(--red);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.geo-dialog::backdrop {
  background: rgba(23, 25, 27, 0.75);
}

.geo-dialog h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.1;
}

.geo-dialog__close {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  margin: 0 0 1rem auto;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}

.geo-dialog__close svg {
  width: 24px;
  height: 24px;
}

.geo-dialog__actions {
  display: grid;
  margin-block: 1rem;
}

.geo-dialog__actions .btn {
  width: 100%;
  min-height: 52px;
}

.geo-dialog__status {
  margin-block: 0.75rem;
  font-weight: 600;
}

.geo-dialog__status:empty {
  display: none;
}

.geo-dialog__preview {
  font-size: 0.9rem;
  margin-block: 0.5rem;
}

.geo-dialog__preview a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.3em;
  min-height: 44px;
  overflow-wrap: anywhere;
}

.geo-dialog__fallback {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-block: 1.25rem 0.5rem;
}

.geo-dialog__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 600;
  text-underline-offset: 3px;
}

.geo-dialog__note {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Bestehende Arbeitsfotos, ohne Textüberlagerung oder zusätzliche Bedienung. */
.work-gallery {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.work-gallery h2 {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  margin-bottom: 0.65rem;
}

.work-gallery__intro {
  max-width: 60ch;
  margin-bottom: 1.75rem;
  color: var(--text-soft);
}

.work-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

.work-gallery figure {
  margin: 0;
  min-width: 0;
}

.work-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.work-gallery figcaption {
  padding-top: 0.65rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (min-width: 560px) {
  .work-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 1000px) {
  .work-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Kosten ---------- */

.sheet {
  width: 100%;
  border-top: 2px solid var(--ink);
  font-size: 1rem;
}

.sheet th,
.sheet td {
  text-align: left;
  vertical-align: top;
  padding: 1.05rem 1.5rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.sheet th {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.2rem;
  width: 22%;
}

.sheet td {
  color: var(--text-soft);
  padding-right: 0;
}

@media (max-width: 640px) {
  .sheet,
  .sheet tbody,
  .sheet tr,
  .sheet th,
  .sheet td {
    display: block;
    width: auto;
  }

  .sheet th {
    border-bottom: 0;
    padding: 1.1rem 0 0.2rem;
    white-space: normal;
  }

  .sheet td {
    padding: 0 0 1.1rem;
  }
}

.cost-after {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
  align-items: center;
}

@media (min-width: 820px) {
  .cost-after {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.5rem;
  }
}

.cost-after p {
  margin: 0;
  font-size: 1.08rem;
}

/* ---------- Anbieter ---------- */

.operator {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 980px) {
  .operator {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 4rem;
  }
}

.operator__media img {
  width: 100%;
  height: auto;
}

.operator blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 20ch;
}

.operator ul {
  border-top: 1px solid var(--line);
}

.operator li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  max-width: 60ch;
}

/* ---------- Häufige Fragen ---------- */

.qa {
  max-width: 54rem;
  border-top: 1px solid var(--line);
}

.qa details {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.2;
  transition: color var(--fade) ease;
}

.qa summary::-webkit-details-marker {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .qa summary:hover {
    color: var(--red);
  }
}

.qa summary i {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform var(--fade) var(--ease);
}

.qa summary i::before,
.qa summary i::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.qa summary i::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.qa summary i::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}

.qa details[open] summary i {
  transform: rotate(45deg);
}

.qa__body {
  padding-bottom: 1.35rem;
}

/* Die Antwort blendet auf, damit sichtbar ist, was sich geändert hat.
   Bewegung ausschließlich als Antwort auf eine Nutzeraktion. */
.qa details[open] .qa__body {
  animation: answer-in 200ms var(--ease);
}

@keyframes answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.qa__body p {
  margin: 0;
  color: var(--text-soft);
}

/* Der Reifencode als eigenes Element: das ist die Angabe, die am Telefon zählt */
.code {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--asphalt);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* ---------- Abschluss ---------- */

.closing {
  background: var(--red);
  color: #fff;
}

.closing h2 {
  color: #fff;
  max-width: 15ch;
}

.closing__grid {
  display: grid;
  gap: 2.25rem;
  align-items: end;
}

@media (min-width: 900px) {
  .closing__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }
}

.closing__number {
  display: inline-block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(3rem, 1.6rem + 6.4vw, 7rem);
  line-height: 0.9;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.005em;
  transition: transform var(--press) var(--ease);
}

.closing__number:active {
  transform: scale(0.99);
}

.closing__meta {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0.75rem 0 0;
}

.closing__side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  justify-items: start;
}

.closing__side .btn {
  width: 100%;
  max-width: 20rem;
}

.closing__side p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 0.3rem 0 0;
}

/* ---------- Fußzeile ---------- */

.foot {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: 3.5rem 2rem;
  font-size: 0.97rem;
}

.foot__preferred-source {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.foot__preferred-source > div { min-width: 0; }
.foot__preferred-source h2 {
  margin: 0 0 0.6rem;
  max-width: 26ch;
  color: var(--paper);
  font-size: clamp(1.75rem, 2.5vw, 2.15rem);
  line-height: 1.15;
}
.foot__preferred-source p { max-width: 55ch; margin: 0; }

.foot__preferred-button {
  display: block;
  justify-self: start;
  min-width: 0;
  width: 338px;
  max-width: 100%;
  border-radius: 16px;
  transition: box-shadow 180ms ease;
}
.foot__preferred-button img { display: block; width: 100%; height: auto; }
.foot__preferred-button:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18); }
.foot__preferred-button:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }

@media (min-width: 800px) {
  .foot__preferred-source { grid-template-columns: minmax(0, 1fr) auto; }
}

.foot__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .foot__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.foot__plate {
  display: inline-block;
  background: #fff;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.2rem;
}

.foot__plate img {
  height: 34px;
  width: auto;
}

.foot h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.foot ul li {
  padding: 0.35rem 0;
}

.foot a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color var(--fade) ease;
}

.foot a:hover {
  color: #fff;
  text-decoration: underline;
}

.foot__number {
  display: inline-block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.foot__areas {
  margin-top: 2rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.foot__areas > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding-block: 1rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.foot__areas > summary::-webkit-details-marker { display: none; }
.foot__areas > summary:hover { color: #ddd; }

.foot__areas-icon {
  width: 10px;
  height: 10px;
  margin: 0 5px 5px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.foot__areas[open] .foot__areas-icon { transform: rotate(225deg); margin-bottom: -5px; }

.foot__regions {
  display: grid;
  gap: 1.5rem 2rem;
  padding-block: .5rem 1.5rem;
}

.foot__regions h3 { margin-bottom: .35rem; color: #fff; }
.foot__regions ul li { padding: 0; }
.foot__regions a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
.foot__all-areas { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-bottom: 1rem; }

@media (min-width: 540px) {
  .foot__regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .foot__regions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.58);
}

.foot__bottom a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: underline;
}

/* ---------- Feste Kontaktleiste (mobil) ---------- */

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink);
  box-shadow: 0 -4px 18px rgba(36, 38, 41, 0.22);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Erst nach den Hero-Kontaktbuttons einblenden; ohne JavaScript erreichbar. */
html.js .callbar {
  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: transform 220ms ease-out, opacity 220ms ease-out, visibility 0s 220ms;
}

html.js .callbar[data-visible="true"] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  html.js .callbar {
    transition: none;
  }
}

@media (min-width: 900px) {
  .callbar {
    display: none;
  }
}

.callbar a,
.callbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: var(--bar-h);
  min-width: 0;
  padding: 0.6rem 0.3rem;
  border: 0;
  background: none;
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform var(--press) var(--ease), background-color var(--fade) ease;
}

.callbar a:active,
.callbar button:active {
  transform: scale(0.97);
}

.callbar svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.callbar .callbar__call {
  background: var(--red);
  gap: 0.1rem;
}

.callbar__call em {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.callbar__call strong {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.24rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.callbar .callbar__alt {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.callbar button[disabled] {
  opacity: 0.6;
}

/* Ohne Skript sind Navigation, Telefonnummern und Ortsregister nutzbar.
   Nur Bedienelemente, die JavaScript voraussetzen, werden ausgeblendet. */
html:not(.js) .burger,
html:not(.js) [data-geo],
html:not(.js) .helper__choices,
html:not(.js) .area-search {
  display: none;
}

html:not(.js) .masthead {
  position: static;
}

html:not(.js) .nav {
  display: flex;
  flex: 1 0 100%;
  order: 2;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

html:not(.js) .nav a {
  padding-block: 0.5rem;
}

html:not(.js) .callbar {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
}

/* ---------- Gut lesbare Anbieter- und Datenschutzhinweise ---------- */
.legal-page {
  padding-bottom: 0;
}

.legal-copy {
  max-width: 78ch;
}

.legal-copy h1 {
  font-size: clamp(2.25rem, 1.75rem + 2vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.legal-copy h2 {
  margin-top: 2rem;
  font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2rem);
  line-height: 1.15;
}

.legal-copy a {
  overflow-wrap: anywhere;
}

.legal-page .masthead__inner {
  gap: 0.75rem 1rem;
}

@media (max-width: 380px) {
  .wrap,
  .hero__text,
  .damage__body {
    padding-inline: 16px;
  }

  .dial {
    padding-inline: 1rem;
  }

  .callbar a,
  .callbar button {
    font-size: 0.75rem;
  }
}

@media print {
  .masthead,
  .drawer,
  .callbar,
  .geo-dialog,
  [data-enhance] {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}
