/* BTS Braun Truck Service — built on the "Industry" design system tokens. */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700&family=Barlow+Condensed:wght@400;600&display=swap');

/* ── Tokens (design system, with BTS brand accent) ─────────────────────── */
:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;

  --color-accent: #2459c9;
  --color-accent-100: #e9f0ff;
  --color-accent-600: #1d4bad;
  --color-accent-700: #1a4199;
  --color-accent-800: #143278;
  --color-accent-900: #0e2457;

  --bts-red: #e5484d;
  --bts-yellow: #f2c230;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section-pad: clamp(48px, 7vw, 80px);
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
p { margin: 0; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* ── Blueprint frame with registration-mark corners ────────────────────── */
.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
}
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  pointer-events: none;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }
.corners-light > .corner { color: #fff; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2; color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-divider);
  padding: 13px 22px;
}
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-white { background: #fff; color: var(--color-accent-800); border-color: #fff; }
.btn-white:hover { background: var(--color-accent-100); color: var(--color-accent-800); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-sm { font-size: 15px; padding: 11px 18px; }

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; flex-wrap: wrap; gap: 13.6px 20px;
  padding: 14px var(--gutter);
  background: var(--color-bg);
  border-bottom: 4px solid var(--color-accent);
}
.nav-brand { margin-right: auto; }
.nav-brand img { height: 48px; width: auto; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:not(.btn):hover { color: var(--color-accent); }
.nav .btn { font-size: 15px; padding: 9px 14px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-accent); color: #fff;
}
.hero-stripes {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg,
    transparent 0 62%,
    var(--bts-red) 62% 66.5%,
    #fff 66.5% 68%,
    var(--bts-yellow) 68% 71%,
    transparent 71%);
}
.hero-inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) var(--gutter) clamp(56px, 8vw, 96px);
  display: grid; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-kicker { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.hero h1 {
  font-size: clamp(48px, 7vw, 92px); line-height: 1.02;
  letter-spacing: 0.01em; margin-left: -0.04em;
}
.hero h1 span { display: block; }
.hero-lead { font-size: 18px; line-height: 1.5; max-width: 50ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; }
.hero-photo { aspect-ratio: 16 / 10; border-color: rgba(255, 255, 255, 0.5); background: var(--color-bg); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; scroll-margin-top: 80px; }
.section-label {
  display: block; margin-bottom: 12px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  color: var(--color-accent-700);
}
.section-rule {
  height: 4px; margin-bottom: 40px;
  background: linear-gradient(90deg,
    var(--color-accent) 0 64px,
    var(--bts-red) 64px 80px,
    var(--bts-yellow) 80px 96px,
    var(--color-divider) 96px);
}
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.meta-label {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  color: var(--color-neutral-700);
}
.big-number {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 56px; line-height: 1; color: var(--color-accent);
}

/* Photos */
.photo { min-width: 0; width: 100%; }
.photo > img { width: 100%; height: 100%; object-fit: cover; }

/* Leistungen */
.service { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.service h3 { font-size: 24px; }
.service p { font-size: 15px; line-height: 1.55; color: var(--color-neutral-800); }

/* Betrieb */
.betrieb { align-items: start; }
.betrieb-copy { display: flex; flex-direction: column; gap: 20px; }
.betrieb-copy h2 { font-size: clamp(32px, 4vw, 44px); }
.betrieb-copy p { font-size: 17px; line-height: 1.6; color: var(--color-neutral-800); max-width: 54ch; }
.people {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px;
  padding-top: 20px; border-top: 1px solid var(--color-divider);
}
.person-name { font-family: var(--font-heading); font-weight: 600; font-size: 22px; }
.betrieb-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; min-width: 0; }
.betrieb-photos .wide { grid-column: 1 / span 2; aspect-ratio: 16 / 9; }
.betrieb-photos .square { aspect-ratio: 1 / 1; }

/* Bewertungen */
.rating-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.stars { color: var(--color-accent); letter-spacing: 3px; font-size: 18px; }
.rating-count { font-size: 15px; color: var(--color-neutral-700); }
.review { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-head .stars { font-size: 16px; }
.review-date { font-size: 13px; color: var(--color-neutral-700); }
.review blockquote {
  margin: 0; flex: 1;
  font-family: var(--font-heading); font-weight: 600; font-size: 21px; line-height: 1.35;
}
.review figcaption { font-size: 14px; color: var(--color-neutral-700); }
.reviews-more { margin-top: 32px; }

/* Kontakt */
.kontakt-copy { display: flex; flex-direction: column; gap: 28px; }
.kontakt-copy h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.contact-grid .meta-label { margin-bottom: 4px; }
.contact-grid .full { grid-column: 1 / -1; }
.contact-phone { font-family: var(--font-heading); font-weight: 600; font-size: 26px; text-decoration: none; }
.contact-text { font-size: 17px; line-height: 1.5; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 4px 24px; font-size: 17px; line-height: 1.5; }
.muted { color: var(--color-neutral-700); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.map { min-height: 320px; }
.map > img { position: absolute; inset: 0; }

/* Footer / Impressum */
.footer {
  padding: 48px 0 56px;
  border-top: 4px solid var(--color-accent);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
  font-size: 13px; line-height: 1.6; color: var(--color-neutral-700);
}
.footer img { height: 56px; width: auto; margin-bottom: 16px; }
.footer strong { color: var(--color-text); }
