/* ==========================================================================
   Schrift — lokal eingebunden statt von Google geladen
   Figtree, SIL Open Font License 1.1 (Erik Kennedy / Erbs Type Foundry).
   Eine variable Schriftdatei deckt alle Schnitte von 300 bis 900 ab. Dadurch
   geht beim Aufruf der Seite keine Anfrage an fonts.googleapis.com oder
   fonts.gstatic.com — und damit auch keine IP-Adresse der Besucher.
   Aktualisieren: Datei bei Google Fonts neu ziehen und hier ersetzen.
   ========================================================================== */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin.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: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   BRAND RACING — brand.schneller.service
   Design System · Schwarz / Racing-Rot
   ========================================================================== */

:root {
  --red: #cf2e2e;
  /* Aufgehellte Variante für kleinen Text: #cf2e2e erreicht auf dem dunklen
     Grund nur 3,85:1, gefordert sind 4,5:1. #e04545 erreicht 4,81:1 und sieht
     neben dem Marken-Rot praktisch gleich aus. */
  --red-text: #e04545;
  --red-dark: #801b1b;
  --red-hover: #b02727;
  --black: #050505;
  --dark: #0a0a0a;
  --dark-2: #101010;
  --gray: #8a8a8a;
  --gray-light: #b8b8b8;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 104px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Das geschlossene Mobilmenü steht per transform rechts ausserhalb des Bildes.
   Weil es position: fixed hat, entkommt es der Abklammerung durch <body> und
   erzeugt am <html>-Element einen waagrechten Rollbalken von wenigen Pixeln.
   "clip" schneidet ab, ohne einen Rollbereich zu eroeffnen — anders als
   "hidden", das den klebenden Seitenkopf ausser Kraft setzen wuerde.
   Aeltere Browser ignorieren clip und verhalten sich wie bisher. */
html { overflow-x: clip; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; }
p { margin: 0 0 1rem; }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; position: relative; }
.section--tight { padding: 4rem 0; }
.section--dark { background: var(--black); }

/* Globales Karo-Muster im Hintergrund */
.checkered-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(45deg, #111 25%, transparent 25%),
    linear-gradient(-45deg, #111 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #111 75%),
    linear-gradient(-45deg, transparent 75%, #111 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px 20px, 20px 0;
}

.page-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; position: relative; z-index: 1; }

/* ---------- Typografie ------------------------------------------------ */

.display {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.88;
  /* Greift nur, wenn ein Wort ohnehin nicht in die Zeile passt — sonst würden
     lange Wörter wie "GESCHÄFTSBEDINGUNGEN" rechts aus dem Bild laufen. */
  overflow-wrap: break-word;
}

h1.display { font-size: clamp(2.9rem, 9vw, 7.5rem); }
h2.display { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h3.display { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.1; }

.text-red { color: var(--red); }
.text-muted { color: var(--gray); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--gray-light); line-height: 1.7; }

/* Eyebrow / Kicker über Überschriften */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-text);
}
.eyebrow::before { content: ''; width: 3rem; height: 1px; background: var(--red); flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 3rem; height: 1px; background: var(--red); flex: none; }

.rule { width: 6rem; height: 4px; background: var(--red); margin-top: 1.5rem; }
.rule--center { margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 3.5rem; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head--split p { max-width: 30rem; margin: 0; color: var(--gray); }
.section-head--center { text-align: center; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.15rem 2.4rem;
  border: 2px solid transparent;
  border-radius: 2px;
  font-weight: 900;
  font-style: italic;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: inherit;
}

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 30px rgba(207, 46, 46, 0.35); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.btn--ghost:hover { border-color: var(--red); color: var(--red-text); transform: translateY(-3px); }

.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #e9e9e9; transform: translateY(-3px) scale(1.03); }

.btn--black { background: #000; color: #fff; }
.btn--black:hover { background: #1c1c1c; transform: translateY(-3px) scale(1.03); }

.btn--block { width: 100%; }

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red-text);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.arrow-link .icon { transition: transform 0.3s var(--ease); }
.arrow-link:hover .icon { transform: translateX(6px); }

/* ---------- Header ---------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.85rem; flex: none; }
/* Breite UND Höhe fest angeben: Das Logo ist quadratisch (420x420). Mit
   "width: auto" kollabiert es in einem Flex-Container auf manchen WebKit-
   Versionen auf Breite 0 und verschwindet. flex: none verhindert zusätzlich,
   dass es auf schmalen Geräten zusammengedrückt wird. */
.logo img {
  width: 76px;
  height: 76px;
  flex: none;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}
.logo:hover img { transform: scale(1.08); }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-size: 1.25rem; font-weight: 900; font-style: italic; letter-spacing: -0.05em; line-height: 1; }
.logo__claim { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gray); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0;
  font-size: 0.87rem;
  font-weight: 700;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--red-text); }
.nav__link:hover::after,
.nav__item.is-active .nav__link::after { width: 100%; }
.nav__item.is-active > .nav__link { color: var(--red-text); }

/* Dropdown */
.nav__sub {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: -1.25rem;
  min-width: 15rem;
  padding: 0.6rem;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__sub a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-light);
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}
.nav__sub a:hover { color: #fff; background: rgba(207, 46, 46, 0.12); border-left-color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 1.25rem; flex: none; }

.header__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Auf Handys schrumpft der Knopf sonst auf die Größe des Symbols zusammen —
     zu klein zum sicheren Treffen mit dem Daumen. */
  min-height: 44px;
  gap: 0.5rem;
  font-size: 0.87rem;
  font-weight: 800;
  white-space: nowrap;
}
.header__phone .icon { color: var(--red); font-size: 1.05rem; }
.header__phone:hover { color: var(--red); }

.burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

/* Mobile-Menü */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(5, 5, 5, 0.985);
  backdrop-filter: blur(18px);
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  /* Ohne visibility bleiben die 18 Links auch bei geschlossenem Menü mit der
     Tabulatortaste erreichbar und werden Screenreadern vorgelesen — sie stehen
     nur ausserhalb des sichtbaren Bereichs. Die Verzögerung sorgt dafür, dass
     die Schließbewegung noch zu sehen ist. */
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s var(--ease), visibility 0s;
}
.mobile-nav__group { border-bottom: 1px solid var(--line-soft); }
.mobile-nav__group > a {
  display: block;
  padding: 1.15rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mobile-nav__group > a:hover { color: var(--red); }
.mobile-nav__sub { padding: 0 0 1rem 1.25rem; }
.mobile-nav__sub a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--gray-light);
  font-weight: 600;
}
.mobile-nav__sub a:hover { color: var(--red); }
.mobile-nav .btn { margin-top: 1.75rem; }

body.no-scroll { overflow: hidden; }

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

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.66) 50%, rgba(0,0,0,0.3) 100%),
    linear-gradient(0deg, var(--dark) 2%, transparent 55%);
}
.hero__glow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
  background: linear-gradient(0deg, rgba(207, 46, 46, 0.22), transparent);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 46rem; }
.hero__content p { max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero__speedlines {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  opacity: 0.5;
}
.hero__speedlines span { display: block; height: 4px; background: var(--red); }
.hero__speedlines span:nth-child(1) { width: 8rem; }
.hero__speedlines span:nth-child(2) { width: 6rem; }
.hero__speedlines span:nth-child(3) { width: 10rem; }

/* Kompakter Seitenkopf für Unterseiten */
.page-hero {
  position: relative;
  padding: 6rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.45) 100%),
              linear-gradient(0deg, var(--dark), transparent 70%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 46rem; }
.page-hero .lead { margin-top: 1.5rem; }

/* Brotkrumen */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.78rem; color: var(--gray); }
.crumbs a:hover { color: var(--red); }
.crumbs span { opacity: 0.5; }

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

.marquee { background: #fff; padding: 1rem 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span {
  padding: 0 2.75rem;
  color: #000;
  font-size: 1.45rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 0.45s var(--ease);
  overflow: hidden;
}
.card:hover {
  background: var(--glass-hover);
  border-color: var(--red);
  transform: translateY(-10px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(207, 46, 46, 0.12);
}
.card--flag { border-bottom: 4px solid var(--red); }
.card h2, .card h3 { margin-bottom: 0.9rem; }
.card p { color: var(--gray); margin-bottom: 1.75rem; }
.card > .arrow-link { margin-top: auto; }

.card__icon {
  width: 3.75rem;
  height: 3.75rem;
  flex: none;
  display: grid;
  place-items: center;
  margin-bottom: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-size: 1.6rem;
  color: #fff;
}

.card__media { margin: -2.5rem -2.5rem 1.75rem; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }

.card__price {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 1.6rem;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
}
.card__price small { display: block; font-size: 0.72rem; font-style: normal; font-weight: 600; color: var(--gray); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Split (Bild + Text) --------------------------------------- */

.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5rem; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: 2px; border: 1px solid var(--line); }
.split__media::after {
  content: '';
  position: absolute;
  inset: auto auto -1.25rem -1.25rem;
  width: 60%;
  height: 60%;
  z-index: -1;
  background: radial-gradient(circle, rgba(207, 46, 46, 0.28), transparent 70%);
  filter: blur(40px);
}
.split--reverse .split__media { order: 2; }

.quote-box {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: rgba(207, 46, 46, 0.1);
  border-left: 4px solid var(--red);
  border-radius: 2px;
}
.quote-box p {
  margin: 0;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

/* Häkchen-Liste */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin-top: 2rem; }
.check-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; font-weight: 700; }
.check-list .icon { color: var(--red); font-size: 1.15rem; flex: none; }

/* Nummerierte Schritt-Liste */
.steps { counter-reset: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.75rem 1.5rem 4.75rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.steps li:hover { border-color: var(--red); background: var(--glass-hover); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.35rem;
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
}
.steps strong { display: block; margin-bottom: 0.3rem; font-size: 1.02rem; }
.steps p { margin: 0; color: var(--gray); font-size: 0.93rem; }

/* ---------- Preistabellen --------------------------------------------- */

.price-block {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease);
}
.price-block:hover { border-color: rgba(207, 46, 46, 0.5); }

.price-block__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: rgba(207, 46, 46, 0.1);
  border-bottom: 1px solid var(--line);
}
.price-block__head .icon { font-size: 1.5rem; color: var(--red); flex: none; }
.price-block__head h2, .price-block__head h3 { font-size: 1.15rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; }
.price-block__head small { display: block; margin-top: 0.25rem; font-size: 0.75rem; font-style: normal; font-weight: 600; color: var(--gray); text-transform: none; letter-spacing: 0; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid var(--line-soft); transition: background 0.2s ease; }
.price-table tr:last-child { border-bottom: none; }
.price-table tr:hover { background: rgba(255, 255, 255, 0.03); }
.price-table td { padding: 1.05rem 1.75rem; vertical-align: middle; }
.price-table td:first-child { color: var(--gray-light); font-size: 0.95rem; }
.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 900;
  font-style: italic;
  font-size: 1.15rem;
  color: #fff;
}
.price-table .note { display: block; margin-top: 0.2rem; font-size: 0.78rem; color: var(--gray); }

.price-note {
  display: flex;
  gap: 0.9rem;
  padding: 1.5rem 1.75rem;
  background: rgba(207, 46, 46, 0.08);
  border: 1px solid rgba(207, 46, 46, 0.25);
  border-left: 4px solid var(--red);
  border-radius: 2px;
  color: var(--gray-light);
  font-size: 0.92rem;
}
.price-note .icon { color: var(--red); font-size: 1.2rem; flex: none; margin-top: 2px; }
.price-note p:last-child { margin-bottom: 0; }
.price-note strong { color: #fff; }

/* ---------- Info-Zeilen / Kontakt ------------------------------------- */

.info-list { display: grid; gap: 1.5rem; }
.info-row { display: flex; gap: 1.15rem; align-items: flex-start; }
.info-row .icon { color: var(--red); font-size: 1.3rem; flex: none; margin-top: 3px; }
.info-row dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.3rem; }
.info-row dd { margin: 0; font-size: 1.02rem; font-weight: 600; }
.info-row dd a:hover { color: var(--red); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--line-soft); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 1rem 0; }
.hours-table td:first-child { font-weight: 800; }
.hours-table td:last-child { text-align: right; color: var(--gray-light); }
.hours-table tr.is-open td:last-child { color: var(--red); font-weight: 800; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 2s ease-in-out infinite; }
.status-pill--open { background: rgba(46, 207, 92, 0.12); color: #2ecf5c; }
.status-pill--closed { background: rgba(207, 46, 46, 0.12); color: var(--red); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Formulare -------------------------------------------------- */

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #fff;
  font-family: inherit;
  /* Genau 16px: darunter zoomt iOS Safari beim Antippen in die Seite hinein
     und der Besucher muss danach von Hand wieder herauszoomen. */
  font-size: 1rem;
  transition: all 0.25s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(207, 46, 46, 0.15);
}
/* #5b5b5b erreichte nur 2,48:1 und war damit für viele kaum lesbar */
.field input::placeholder, .field textarea::placeholder { color: #8f8f8f; }
.field select option { background: var(--dark-2); color: #fff; }

/* Auswahlkacheln (Service-Wahl) */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: block;
  height: 100%;
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.choice__box .icon { font-size: 1.6rem; color: var(--red); }
.choice__box strong { display: block; margin: 0.8rem 0 0.35rem; font-weight: 900; font-style: italic; text-transform: uppercase; }
.choice__box span { font-size: 0.85rem; color: var(--gray); }
.choice input:checked + .choice__box { border-color: var(--red); background: rgba(207, 46, 46, 0.12); }
.choice input:focus-visible + .choice__box { box-shadow: 0 0 0 3px rgba(207, 46, 46, 0.3); }
.choice__box:hover { border-color: rgba(207, 46, 46, 0.6); }


/* ---------- Galerie ---------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 2px; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Statistik-Band --------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.stat { text-align: center; padding: 2rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: var(--glass); transition: all 0.35s var(--ease); }
.stat:hover { border-color: var(--red); transform: translateY(-6px); }
.stat__num { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 900; font-style: italic; color: var(--red); line-height: 1; }
.stat__label { margin-top: 0.65rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }

/* ---------- Sprachen ---------------------------------------------------- */

.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3.5rem; }
.lang { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; opacity: 0.65; transition: opacity 0.3s ease, transform 0.3s var(--ease); }
.lang:hover { opacity: 1; transform: translateY(-5px); }
.lang .icon { font-size: 2.4rem; }
.lang span { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }

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

.cta-band { position: relative; padding: 7rem 0; overflow: hidden; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: var(--red); opacity: 0.92; }
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(45deg, #111 25%, transparent 25%),
    linear-gradient(-45deg, #111 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #111 75%),
    linear-gradient(-45deg, transparent 75%, #111 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px 20px, 20px 0;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band p { max-width: 34rem; margin: 1.5rem auto 2.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.92); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; }

/* ---------- Footer ------------------------------------------------------ */

.footer { background: var(--black); border-top: 1px solid var(--line-soft); padding: 4.5rem 0 2rem; position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer img.footer__logo { width: 92px; height: 92px; object-fit: contain; margin-bottom: 1.5rem; }
.footer__head, .footer h4 { margin-bottom: 1.5rem; font-size: 0.95rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; }
.footer p, .footer li { color: var(--gray); font-size: 0.92rem; }
.footer ul { display: grid; gap: 0.85rem; }
.footer a:hover { color: var(--red); }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.7rem; }
.footer__contact .icon { color: var(--red); font-size: 1.05rem; flex: none; margin-top: 3px; }

.socials { display: flex; gap: 0.75rem; }
.socials a {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--gray);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- Scroll-Animationen ------------------------------------------ */

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: float 5s ease-in-out infinite; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(207, 46, 46, 0.28); }
  50% { box-shadow: 0 0 48px rgba(207, 46, 46, 0.55); }
}
.pulse-glow { animation: pulseGlow 3.5s ease-in-out infinite; }

/* Scroll-Hinweis im Hero */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
}
.scroll-hint .icon { font-size: 1.25rem; color: var(--red); animation: float 2.5s ease-in-out infinite; }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 3rem; }
}

@media (max-width: 900px) {
  .section { padding: 4.5rem 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .choice-grid { grid-template-columns: 1fr; }
  .hero__speedlines { display: none; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .logo__claim { display: none; }
  .header__inner { gap: 0.75rem; }
  .header__phone span { display: none; }
  .header__phone { min-width: 44px; }
  .header__phone .icon { font-size: 1.35rem; }
  .logo img { width: 58px; height: 58px; }
  .card { padding: 1.85rem; }
  .card__media { margin: -1.85rem -1.85rem 1.5rem; }
  .price-table td { padding: 0.9rem 1.15rem; }
  .price-block__head { padding: 1.25rem; }
  .btn { padding: 1rem 1.75rem; font-size: 0.85rem; }
  .cta-band { padding: 5rem 0; }
}

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

/* Polnische Flagge gehört zum Mechaniker, nicht zur Sprachliste des Chefs */
.lang-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin: 3rem auto 0;
  font-style: italic;
  color: var(--gray);
}
.lang-note p { margin-bottom: 0; }
.lang-note + .lang-note { margin-top: 1.75rem; }
/* erbt Größe, Deckkraft und Hover-Animation von .lang – nur Schriftschnitt und Farbe der
   Beschriftung müssen zurückgesetzt werden, weil .lang-note kursiv und grau ist */
.lang-note__lang span { font-style: normal; color: #fff; }

/* Auf schmalen Handys bleibt der Header kompakter */
@media (max-width: 620px) {
  :root { --header-h: 86px; }
}


/* ---------- Karte als lokales Bild -------------------------------------- */

.map {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.map__img {
  display: block;
  width: 100%;
  height: auto;
  /* Seitenverhältnis des Originals halten — der Marker darüber ist in Prozent
     positioniert und säße bei einem beschnittenen Bild an der falschen Stelle */
  aspect-ratio: 768 / 480;
  /* gleiche Anmutung wie früher die eingebettete Karte */
  filter: grayscale(1) invert(0.92) contrast(0.9);
}
/* Eigener Bezugsrahmen, damit sich die Prozentwerte des Markers auf das Bild
   beziehen und nicht auf den Rahmen samt Bildunterschrift */
.map__frame { position: relative; display: block; }

.map__pin {
  position: absolute;
  left: 39.24%;
  top: 49.96%;
  transform: translate(-50%, -100%);
  color: var(--red);
  font-size: 2.4rem;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.map__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 10, 10, 0.92);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--gray);
}
.map__caption a:not(.btn) { color: var(--gray-light); text-decoration: underline; text-underline-offset: 3px; }
.map__caption a:not(.btn):hover { color: #fff; }
.map__caption .btn { padding: 0.7rem 1.25rem; font-size: 0.75rem; }

/* ---------- Datenschutz-Hinweis (kein Einwilligungs-Banner) -------------- */

.notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.notice.is-open { opacity: 1; transform: none; }
.notice[hidden] { display: none; }

.notice__box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.15rem 1.35rem;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.6);
}
.notice__icon { color: var(--red); font-size: 1.4rem; flex: none; margin-top: 1px; }
.notice__box p { margin-bottom: 0; font-size: 0.85rem; color: var(--gray); }
.notice__box strong { color: #fff; }
.notice__box a { color: var(--gray-light); text-decoration: underline; text-underline-offset: 3px; }
.notice__box a:hover { color: #fff; }

.notice__close {
  flex: none;
  background: none;
  border: 0;
  color: var(--gray);
  cursor: pointer;
  padding: 0.35rem;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.notice__close:hover { color: #fff; }

@media (max-width: 620px) {
  .notice { padding: 0.65rem; }
  .notice__box { padding: 1rem; gap: 0.75rem; }
  .map__caption { flex-direction: column; align-items: flex-start; }
  .map__pin { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .notice { transition: none; }
  .notice__box { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Symbole sind jetzt eingebettete SVGs statt eines Web-Components */
.icon { display: inline-block; vertical-align: -0.125em; flex: none; }

/* Burger zeigt je nach Zustand Menü- oder Schließen-Symbol */
.burger [data-burger-close] { display: none; }
.burger[aria-expanded="true"] [data-burger-open] { display: none; }
.burger[aria-expanded="true"] [data-burger-close] { display: inline-block; }

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

.rechtstext__block { margin-bottom: 3.25rem; }
.rechtstext__block:last-child { margin-bottom: 0; }
.rechtstext__block h2.display { font-size: 1.35rem; margin-bottom: 1.25rem; }
.rechtstext__block h3.display { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.rechtstext__block p { font-size: 0.95rem; }
.rechtstext__block .check-list { grid-template-columns: 1fr; margin-top: 1.25rem; }
.rechtstext__block .hours-table td { font-size: 0.9rem; }

/* Offene Punkte, die der Betreiber selbst ergänzen muss — bewusst auffällig,
   damit sie vor dem Livegang nicht übersehen werden. */
.todo {
  display: inline-block;
  background: rgba(207, 46, 46, 0.14);
  border: 1px dashed var(--red);
  border-radius: 2px;
  padding: 0.3rem 0.6rem;
  color: #ff9c9c;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.5;
}

/* Spam-Falle im Kontaktformular: für Menschen unsichtbar, für Bots sichtbar */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}


/* Unter 380px reicht der Platz im Kopf nicht mehr für Logo plus Schriftzug.
   Dann bleibt das Logo — es ist die Marke, der Text steht ohnehin daneben. */
@media (max-width: 380px) {
  .logo__name { font-size: 1.05rem; }
  .logo { gap: 0.6rem; }
  .logo img { width: 50px; height: 50px; }
  :root { --header-h: 74px; }
}


/* Rückmeldung des Kontaktformulars, wenn kontakt-senden.php einen Fehler meldet */
.form-fehler {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.75rem;
  background: rgba(207, 46, 46, 0.12);
  border: 1px solid var(--red);
  border-radius: 2px;
  font-size: 0.9rem;
  color: var(--gray-light);
}
.form-fehler[hidden] { display: none; }
.form-fehler .icon { color: var(--red); font-size: 1.25rem; flex: none; margin-top: 2px; }
.form-fehler strong { color: #fff; }

/* ==========================================================================
   Nachbesserungen aus der Fehlerprüfung vom 20.08.2026
   ========================================================================== */

/* Solange das Mobilmenü offen ist, darf der Hinweisstreifen die Menüpunkte nicht
   überdecken. Er liegt als direktes Kind von <body> auf Ebene 200, das Menü steckt
   dagegen in .page-wrap und ist damit auf Ebene 1 gefangen — ein höherer z-index am
   Menü würde nichts helfen. Deshalb wird der Hinweis währenddessen ausgeblendet. */
body.no-scroll .notice { display: none; }

/* Sprungmarken landeten unter dem klebenden Seitenkopf, die Zielüberschrift war
   dadurch unsichtbar. Der Abstand entspricht der Kopfhöhe plus etwas Luft. */
:target,
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* Sichtbare Tastaturführung. Vorher gab es gar keine globale Regel, und an den
   Formularfeldern war die Umrandung sogar abgeschaltet. */
:focus-visible {
  outline: 3px solid var(--red-text);
  outline-offset: 3px;
  border-radius: 2px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--red-text);
  outline-offset: 2px;
}

/* Sprung zum Hauptinhalt — für alle, die mit der Tastatur navigieren. Sichtbar
   erst, wenn er den Fokus bekommt. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: 0.85rem 1.5rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Kennzahlen-Band und Hinweiskästen brachen auf schmalen Handys aus dem Bild */
.stat, .price-note > div, .info-row > div { min-width: 0; }
.stat__num { overflow-wrap: break-word; }
.price-note p, .info-row dd { overflow-wrap: break-word; }

/* Tabellen dürfen auf schmalen Geräten scrollen statt überzulaufen */
.hours-table, .price-table { width: 100%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}


/* Nur für Screenreader — sichtbar ist der Text nicht, vorgelesen schon.
   Wird für Tabellenbeschriftungen gebraucht, damit klar ist, was die Spalten
   bedeuten, ohne dass die Gestaltung sich ändert. */
.nur-vorlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Zeilenköpfe sollen aussehen wie die bisherigen Zellen — <th> ist im Browser
   sonst fett und zentriert. */
.price-table th[scope="row"],
.hours-table th[scope="row"] {
  font-weight: inherit;
  text-align: left;
}

/* Manche Karten-Überschriften stehen aus Gliederungsgründen auf Ebene 2 (sonst
   spränge die Seite von h1 direkt auf h3). Optisch sollen sie aber weiter wie
   Karten-Überschriften aussehen, nicht wie Abschnitts-Überschriften. */
.card h2.display,
.lang-note h2.display {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.1;
}
