:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --line: #2a2a2a;
  --text: #f3f1ec;
  --muted: #9a9894;
  --red: #e10600;
  --red-hi: #ff3b30;
  --max: 1200px;
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.display {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .14em; color: var(--red-hi);
  margin: 0 0 18px;
}
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--red); transform: skewX(-30deg); }
h2.display { font-size: clamp(38px, 6vw, 72px); }
.lead { color: #d8d6d1; font-size: 18px; max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border: 2px solid var(--red);
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 800; font-stretch: 115%; text-transform: uppercase; letter-spacing: .06em; font-size: 14px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s, color .2s;
}
.btn:hover { background: #b80500; border-color: #b80500; }
.btn--ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Karo-Streifen */
.checker {
  height: 14px;
  background:
    repeating-conic-gradient(#f3f1ec 0 25%, #0a0a0a 0 50%) 0 0 / 14px 14px;
  opacity: .9;
}

/* Header */
.topbar { background: #000; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { text-decoration: none; color: var(--text); }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; text-transform: uppercase; font-weight: 700; font-stretch: 112%;
  font-size: 13px; letter-spacing: .08em; color: #d8d6d1; position: relative; padding: 6px 0;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red);
  transition: right .2s;
}
.nav a:not(.btn):hover::after { right: 0; }
.nav .btn { padding: 11px 18px; font-size: 12px; color: #fff; }
/* Rennstall-Logo rechts neben „Kontakt“ – Gegenstück zum NTF-Logo auf rennstall-by-ntf.de */
.nav .rs-mark {
  display: inline-flex; flex-direction: column; line-height: 1; padding: 4px 0 4px 22px;
  border-left: 1px solid var(--line); text-transform: none; letter-spacing: 0; transition: transform .25s;
}
.nav .rs-mark::after { content: none; }
.nav .rs-mark:hover, .nav .rs-mark:focus-visible { transform: translateY(-1px) scale(1.04); }
.rs-mark__row { display: flex; align-items: center; gap: 5px; }
.rs-mark__row svg { width: 30px; height: 14px; flex-shrink: 0; }
.rs-mark__word { font-style: italic; font-weight: 900; font-stretch: 100%; font-size: 19px; letter-spacing: .02em; color: #fff; }
.rs-mark__tag { margin: 3px 0 0 35px; font-style: italic; font-weight: 600; font-stretch: 100%; font-size: 7.5px; letter-spacing: .28em; color: #dcdad5; white-space: nowrap; }
.rs-mark__tag b { color: var(--red-hi); font-weight: 800; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; }

/* Hero */
.hero {
  position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate; border-bottom: 4px solid var(--red);
}
/* Foto in der rechten Hälfte, damit das Gesicht (im Bild links) nicht hinter der Überschrift liegt */
.hero__img {
  position: absolute; inset: 0 0 0 50%; z-index: -2;
  background: url("/img/hero.jpg") 0% 20% / cover no-repeat;
  filter: grayscale(1) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.75) 45%, rgba(10,10,10,.2) 68%, rgba(10,10,10,0) 100%),
    linear-gradient(0deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,0) 40%);
}
.hero__stripes {
  position: absolute; top: -10%; bottom: -10%; right: 16%; width: 120px; z-index: -1;
  background: linear-gradient(90deg, var(--red) 0 22px, transparent 22px 40px, var(--red) 40px 50px, transparent 50px);
  transform: skewX(-18deg); opacity: .9;
}
.hero .wrap { width: 100%; padding-top: 120px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(48px, 10vw, 128px); max-width: 11ch; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero p { max-width: 54ch; margin: 26px 0 32px; font-size: 18px; color: #e2e0db; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Ticker */
.ticker { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: ticker 40s linear infinite; }
.ticker span {
  padding: 13px 28px; font-weight: 800; font-stretch: 115%; text-transform: uppercase;
  letter-spacing: .08em; font-size: 13px;
}
.ticker span::after { content: "///"; margin-left: 56px; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

section { padding: 110px 0; }
.section--alt { background: var(--bg-2); }

/* Intro */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.intro__img { position: relative; }
.intro__img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: grayscale(.2); }
.intro__img::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%;
  border-left: 4px solid var(--red); border-bottom: 4px solid var(--red); z-index: -1;
}

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px; background: var(--line); border: 2px solid var(--line); }
.service {
  background: var(--bg-2); padding: 34px 26px 30px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative;
  transition: background .2s;
}
.service:hover { background: #1c0b0a; }
.service__no { font-weight: 900; font-stretch: 125%; font-size: 15px; color: var(--red-hi); letter-spacing: .1em; }
.service h3 {
  margin: 0; font-size: 21px; line-height: 1.15; font-weight: 800; font-stretch: 112%; text-transform: uppercase;
}
.service::after {
  content: ""; position: absolute; right: 22px; top: 30px; width: 18px; height: 18px;
  border-top: 3px solid var(--red); border-right: 3px solid var(--red); transform: skewX(-18deg);
  opacity: 0; transition: opacity .2s;
}
.service:hover::after { opacity: 1; }

/* Zufriedenheit + Vorteile */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.perks { display: grid; gap: 18px; margin-top: 8px; }
.perk {
  display: flex; gap: 22px; align-items: center; padding: 26px 28px;
  background: var(--bg-3); border-left: 4px solid var(--red);
}
.perk__icon { flex: 0 0 auto; width: 48px; height: 48px; color: var(--red-hi); }
.perk h3 { margin: 0; text-transform: uppercase; font-weight: 800; font-stretch: 115%; font-size: 22px; }
.perk p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* Bewertungen */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.rating { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.stars { color: #fbbc04; font-size: 22px; letter-spacing: 3px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.review { background: var(--bg-3); padding: 28px; border-top: 3px solid var(--red); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; color: #e2e0db; font-size: 16px; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.review footer strong { color: var(--text); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 10px; margin-top: 48px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--bg-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; filter: grayscale(.35); }
.gallery figure:hover img { transform: scale(1.05); filter: none; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Rennstall-Teaser */
.teaser { padding: 0; }
.teaser a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 54px 48px; text-decoration: none; position: relative; overflow: hidden;
  background: linear-gradient(110deg, #160404 0%, #3a0300 60%, var(--red) 100%);
}
.teaser a::before {
  content: ""; position: absolute; right: 210px; top: -20%; bottom: -20%; width: 70px;
  background: linear-gradient(90deg, rgba(255,255,255,.12) 0 16px, transparent 16px 30px, rgba(255,255,255,.12) 30px 38px, transparent 38px);
  transform: skewX(-18deg);
}
.teaser h2 { font-size: clamp(30px, 4.5vw, 54px); }
.teaser p { margin: 10px 0 0; color: #f0d7d5; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
.contact-card { background: var(--bg-3); padding: 34px; }
.contact-card h3 { margin: 0 0 14px; text-transform: uppercase; font-weight: 800; font-stretch: 115%; font-size: 18px; letter-spacing: .04em; }
.contact-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--red); }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: #d8d6d1; }
.hours tr.closed td:last-child { color: var(--muted); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line);
  transition: border-color .2s, color .2s;
}
.socials a:hover { border-color: var(--red); color: var(--red-hi); }
.socials svg { width: 20px; height: 20px; }

/* Footer */
.footer { background: #000; border-top: 4px solid var(--red); padding: 56px 0 30px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--text); text-transform: uppercase; font-stretch: 115%; letter-spacing: .08em; font-size: 13px; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer__bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Rechtstexte */
.legal { padding: 80px 0 110px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(40px, 7vw, 76px); margin-bottom: 40px; }
.legal h2 { font-size: 24px; font-weight: 800; font-stretch: 112%; margin: 44px 0 12px; text-transform: uppercase; }
.legal h3 { font-size: 19px; margin: 30px 0 8px; }
.legal p, .legal li { color: #d8d6d1; }
.legal a { color: var(--red-hi); }

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .intro, .split, .contact { grid-template-columns: 1fr; gap: 44px; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .hero__img { left: 42%; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 3px solid var(--red); padding: 8px 24px 24px;
    transform: translateY(-120%); transition: transform .25s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .btn { margin-top: 18px; padding: 15px; }
  .nav .rs-mark { align-self: center; margin-top: 22px; padding: 0; border: 0; }
  .nav .rs-mark__word { font-size: 24px; }
  .nav .rs-mark__row svg { width: 38px; height: 18px; }
  .nav .rs-mark__tag { margin-left: 43px; font-size: 9px; }
  .topbar .addr { display: none; }
  section { padding: 76px 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .hero__stripes { right: -30px; opacity: .55; }
  .hero .kicker { text-shadow: 0 1px 12px rgba(0,0,0,.9); }
  .hero__img { inset: 0 0 auto 0; height: 47%; background-position: 0% 30%; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 40%); mask-image: linear-gradient(0deg, transparent 0%, #000 40%); }
  .hero::before { background: linear-gradient(0deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.7) 45%, rgba(10,10,10,0) 70%); }
  .teaser a { grid-template-columns: 1fr; padding: 40px 26px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .services, .reviews { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .footer .wrap { grid-template-columns: 1fr; }
  .logo img { height: 44px; }
  .contact-card { padding: 26px 20px; }
}

/* Schutz gegen Überlauf langer deutscher Wörter */
.intro > *, .split > *, .contact > *, .services > *, .reviews > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 560px) { .perk h3 { font-size: 18px; } .perk { padding: 22px 18px; gap: 16px; } }
.rating { flex-wrap: wrap; } .reviews-head > * { min-width: 0; }

/* AGB: nummerierte Abschnittsüberschriften aus WordPress */
.legal .wrap { counter-reset: agb; }
.legal ol { list-style: none; padding: 0; margin: 40px 0 10px; }
.legal ol li {
  color: var(--text); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 20px;
}
.legal ol li::before { counter-increment: agb; content: counter(agb) ". "; color: var(--red-hi); }

/* Ghost-Buttons: Rahmen nicht abschneiden */
.btn--ghost { clip-path: none; }
