/* =============================================================
   Bigfoot Performance – Gestaltung
   Dunkel-first, Bebas Neue Display, Barlow Body, Amber-Akzent.
   ============================================================= */

/* Schriften lokal gehostet – keine externe Verbindung */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bebas-neue-latin-400.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: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-latin-400.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: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-latin-600.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: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-latin-700.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;
}

/* ---------- Tokens (dunkel zuerst) ---------- */
:root {
  --bg:        #090908;
  --surface:   #111110;
  --card:      #161614;
  --card-h:    #1e1e1b;
  --fg:        #ede9e3;
  --fg-2:      #857f78;
  --fg-3:      #302e2b;
  --rule:      #222120;
  --accent:    #d97706;
  --accent-on: #090908;
  --accent-h:  #f59e0b;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 9999px;

  --m: clamp(16px, 3vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 64px;

  --fs-display: clamp(72px, 13vw, 180px);
  --fs-h2:      clamp(42px, 7vw, 100px);
  --fs-h3:      20px;
  --fs-lead:    clamp(15px, 1.4vw, 18px);
  --fs-body:    15px;
  --fs-small:   13px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-hover:  180ms;
  --t-press:  120ms;

  color-scheme: dark;
}

/* Heller Modus – für Nutzer mit light-preference */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:        #f4f2ef;
    --surface:   #ebebea;
    --card:      #ffffff;
    --card-h:    #f7f6f4;
    --fg:        #0d0d0c;
    --fg-2:      #6b6762;
    --fg-3:      #c8c4be;
    --rule:      #dddad5;
    --accent:    #c06d00;
    --accent-on: #ffffff;
    --accent-h:  #d97706;
    color-scheme: light;
  }
}
:root[data-theme="dark"] {
  --bg:        #090908;
  --surface:   #111110;
  --card:      #161614;
  --card-h:    #1e1e1b;
  --fg:        #ede9e3;
  --fg-2:      #857f78;
  --fg-3:      #302e2b;
  --rule:      #222120;
  --accent:    #d97706;
  --accent-on: #090908;
  --accent-h:  #f59e0b;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--accent-on); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

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

.section { padding-block: var(--section); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-on);
  padding: 10px 20px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Typografie ---------- */
.display {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.h2 {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.h2--dark { color: var(--accent-on); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--fg-2); }
.label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.label--dark { color: color-mix(in srgb, var(--accent-on) 60%, transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-on);
  font: inherit; font-size: var(--fs-small); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background var(--t-hover) ease, transform var(--t-press) ease;
}
.btn:hover { background: var(--accent-h); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 38px; padding: 8px 18px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-outline {
  background: transparent;
  border-color: var(--fg-3);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--fg-2); background: var(--card); }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { background: #ffffff; }
.btn-outline-dark {
  background: transparent;
  border-color: color-mix(in srgb, var(--fg) 20%, transparent);
  color: var(--fg-2);
}
.btn-outline-dark:hover { border-color: var(--fg-2); color: var(--fg); background: transparent; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-hover) ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h);
}
.brand { display: block; margin-right: auto; }
.brand img { height: 40px; width: auto; }

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; padding: 0;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--fg);
  transition: transform var(--t-hover) ease, opacity var(--t-hover) ease;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}
.nav {
  display: flex; align-items: center; gap: 24px;
}
.nav a {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none;
  transition: color var(--t-hover) ease;
}
.nav a:hover { color: var(--fg); }

/* ---------- Hero-Banner ---------- */
.hero-banner {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.hero-banner img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.12;
}
.hero { position: relative; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(56px, 8vw, 96px);
  position: relative; overflow: hidden;
}
.hero-bg-word {
  position: absolute;
  font-family: "Bebas Neue", sans-serif;
  font-size: min(32vw, 380px);
  line-height: 1;
  color: var(--fg-3);
  right: -2%; top: 50%;
  transform: translateY(-50%);
  pointer-events: none; user-select: none;
  letter-spacing: 0.02em;
  opacity: 0.5;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.hero-stripe {
  display: block; width: 28px; height: 2px;
  background: var(--accent); flex-shrink: 0;
}
.hero-lead { max-width: 46ch; margin-top: 24px; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
}
.hero-meta {
  margin-top: 20px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-2);
}
.hero-side { align-self: start; }

/* Steckbrief-Karte */
.stat-card {
  border: 1px solid var(--rule); border-radius: var(--r-md);
  overflow: hidden; background: var(--card);
  min-width: 192px;
}
.stat-card-accent { height: 3px; background: var(--accent); }
.stat-card-body { padding: 20px 22px; }
.stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 52px; color: var(--fg); line-height: 1; margin-bottom: 4px;
}
.stat-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.stat-rule { height: 1px; background: var(--rule); margin-block: 14px; }

/* ---------- Abschnitts-Kopf ---------- */
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .h2 { margin-top: 10px; }
.section-head .lead { max-width: 54ch; margin-top: 14px; }
.eyebrow-row { display: flex; align-items: center; gap: 10px; }
.eyebrow-tick {
  display: block; width: 20px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}
.eyebrow-tick--dark { background: color-mix(in srgb, var(--accent-on) 40%, transparent); }

/* ---------- Service-Karten ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  gap: 1px;
  background: var(--rule);
}
.card {
  background: var(--card);
  padding: clamp(20px, 3vw, 32px);
  transition: background var(--t-hover) ease;
}
.card:hover { background: var(--card-h); }
.card-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 56px; line-height: 1;
  color: var(--fg-3);
  margin-bottom: 14px;
  transition: color var(--t-hover) ease;
}
.card:hover .card-num { color: var(--accent); }
.card-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 19px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 10px; color: var(--fg);
}
.card-desc { font-size: 14px; line-height: 1.55; color: var(--fg-2); }

/* ---------- Karten mit Foto ---------- */
.card-with-img { padding: 0; overflow: hidden; }
.card-with-img .card-pic { margin: 0; }
.card-with-img .card-pic img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  display: block;
}
.card-with-img .card-body { padding: clamp(16px, 2.5vw, 28px); }

/* ---------- Über uns ---------- */
.band-mid { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-text .h2 { margin-top: 10px; margin-bottom: 20px; }
.about-text .lead { margin-bottom: 24px; }
.check-list {
  display: flex; flex-direction: column; gap: 10px;
  font-size: var(--fs-small); color: var(--fg-2);
}
.check-list li {
  display: flex; align-items: start; gap: 10px;
}
.check-list li::before {
  content: "";
  display: block; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 1px;
  border: 1px solid var(--accent); border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.about-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border: 1px dashed var(--rule);
  border-radius: var(--r-md);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  color: var(--fg-2);
}

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.step {
  background: var(--card);
  padding: clamp(20px, 3vw, 32px);
  transition: background var(--t-hover) ease;
}
.step:hover { background: var(--card-h); }
.step-no {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px; line-height: 1;
  color: var(--accent); margin-bottom: 14px;
  opacity: 0.6;
}
.step h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 10px; color: var(--fg);
}
.step p { font-size: 14px; color: var(--fg-2); line-height: 1.55; }

/* ---------- Kontakt / Accent-Band ---------- */
.band-accent {
  background: var(--accent);
  color: var(--accent-on);
  transition: background var(--t-hover) ease;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-text .eyebrow-row { margin-bottom: 10px; }
.contact-text .h2 { line-height: 0.9; }
.contact-lines {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: var(--fs-lead); font-weight: 600;
  color: color-mix(in srgb, var(--accent-on) 70%, transparent);
}
.contact-lines a { color: inherit; text-decoration: none; }
.contact-lines a:hover { color: var(--accent-on); }

/* Formular */
.form-card {
  background: var(--accent-on);
  border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 16px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-2);
}
.field input, .field textarea, .field select {
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--fg);
  font: inherit; font-size: var(--fs-body);
  transition: border-color var(--t-hover) ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-note {
  font-size: 12px; color: var(--fg-2);
  line-height: 1.4; text-align: center;
}

/* ---------- Fusszeile ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(48px, 6vw, 80px);
}
.footer-brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.04em;
  color: var(--fg-3);
  line-height: 1;
  margin-bottom: clamp(24px, 3vw, 40px);
  user-select: none;
}
.footer-grid {
  display: flex; gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
}
.footer-links a {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none;
  transition: color var(--t-hover) ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p { font-size: 13px; color: var(--fg-2); line-height: 1.6; }
.footer-contact a { color: var(--fg-2); text-decoration: none; }
.footer-contact a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.footer-bottom p { font-size: 12px; color: var(--fg-2); }

/* About-Foto */
.about-pic { margin: 0; border-radius: var(--r-md); overflow: hidden; }
.about-pic img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }

/* ---------- GSAP Animations ---------- */
.js .js-reveal { opacity: 0; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-side { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 28px; padding: 32px;
    background: var(--bg);
    z-index: 49;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; letter-spacing: 0.06em; }
  .nav .btn { width: 100%; max-width: 280px; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .js-reveal { opacity: 1 !important; }
}
