/* ==========================================================================
   Bas(s)ics of Sport – Stylesheet
   Farben aus dem Logo: Orange #E5762D · Navy #232A45
   Schrift: Poppins (lokal eingebunden, kein Google-Server-Aufruf)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0d12;
  --bg-2: #10131a;
  --surface: #161a23;
  --surface-2: #1c212c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f2ee;
  --muted: #a3a9b7;

  --orange: #e5762d;
  --orange-light: #f39149;
  --orange-deep: #c25d1b;
  --navy: #232a45;

  --paper: #f7f7f5;
  --paper-2: #efeeea;
  --paper-ink: #1b2036;
  --paper-muted: #5b6175;

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 10vw, 132px);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --octagon: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange-light);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.light .eyebrow { color: var(--orange-deep); }

.h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.light .lead { color: var(--paper-muted); }
.accent { color: var(--orange); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { margin: 18px 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; line-height: 1; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--orange-light), var(--orange) 55%, var(--orange-deep));
  box-shadow: 0 10px 30px -10px rgba(229, 118, 45, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(229, 118, 45, 0.85); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--orange-light); color: var(--orange-light); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-header.scrolled, .site-header.solid {
  background: rgba(11, 13, 18, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: var(--orange); clip-path: var(--octagon);
}
.brand-mark span { width: calc(100% - 4px); height: calc(100% - 4px); background: var(--paper); clip-path: var(--octagon); display: grid; place-items: center; }
.brand-mark img { width: 70%; height: auto; }
.brand-text { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-text b { font-weight: 700; color: var(--orange); }
.brand-text em { font-style: normal; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.nav-links a:not(.btn) { position: relative; font-size: 0.93rem; font-weight: 500; color: rgba(244, 242, 238, 0.82); padding: 6px 0; transition: color 0.2s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 520px at 88% 12%, rgba(229, 118, 45, 0.22), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(35, 42, 69, 0.75), transparent 65%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%);
}
.tri { position: absolute; z-index: -1; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0)); }
.tri-1 { width: 240px; height: 300px; right: 4%; top: 90px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tri-2 { width: 150px; height: 190px; right: 15%; top: 210px; clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: 0.7; }
.tri-3 { width: 320px; height: 400px; left: -170px; bottom: -120px; clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: 0.6; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin: 24px 0 26px; }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 .accent { background: linear-gradient(100deg, var(--orange-light), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 980px) { .hero h1 { font-size: clamp(2.2rem, 8.4vw, 3.6rem); } }
.hero .lead { margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.badge-wrap {
  position: relative; justify-self: center; width: min(100%, 460px);
  filter: drop-shadow(0 40px 70px rgba(229, 118, 45, 0.28));
}
/* Füllt die Anti-Aliasing-Saumpixel der Achteck-Kante mit Orange statt mit dem
   dunklen Seitenhintergrund – sonst zeichnet sich dort ein feiner dunkler Rand ab. */
.badge-wrap::before {
  content: ""; position: absolute; inset: 0; background: var(--orange); clip-path: var(--octagon);
}
.badge {
  position: relative; aspect-ratio: 1; background: var(--orange); clip-path: var(--octagon); padding: 7px;
  transform: translateZ(0); -webkit-transform: translateZ(0); will-change: transform;
}
.badge-inner {
  width: 100%; height: 100%; background: var(--paper); clip-path: var(--octagon); display: grid; place-items: center;
  transform: translateZ(0); -webkit-transform: translateZ(0); will-change: transform;
}
.badge-inner img { width: 80%; height: auto; }

.facts { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fact { padding: 26px 30px; display: flex; flex-direction: column; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-size: 1.05rem; font-weight: 600; }
.fact span { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.fact .k { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-light); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.light { background: var(--paper); color: var(--paper-ink); }
.dark-2 { background: var(--bg-2); }

/* Philosophie */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; padding: 38px 32px 36px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(27, 32, 54, 0.08);
  box-shadow: 0 24px 50px -32px rgba(27, 32, 54, 0.35); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(27, 32, 54, 0.45); }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.pillar .num { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: rgba(229, 118, 45, 0.16); }
.pillar h3 { font-size: 1.5rem; font-weight: 700; margin: 10px 0 12px; color: var(--navy); }
.pillar p { color: var(--paper-muted); margin: 0; font-size: 0.98rem; }

.quote { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 30px 34px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.quote .mark { font-size: 4.2rem; line-height: 0.6; font-weight: 800; color: var(--orange); }
.quote p { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em; }
.quote small { display: block; margin-top: 8px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-light); font-weight: 600; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 22px; position: relative; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; margin-bottom: 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease);
  background: radial-gradient(420px 220px at 100% 0%, rgba(229, 118, 45, 0.16), transparent 70%);
}
.card:hover, .card.is-open { border-color: rgba(229, 118, 45, 0.55); box-shadow: 0 30px 60px -34px rgba(229, 118, 45, 0.5); }
.card:hover::after, .card.is-open::after { opacity: 1; }
.icon {
  width: 56px; height: 56px; margin-bottom: 26px; display: grid; place-items: center; color: var(--orange-light);
  background: rgba(229, 118, 45, 0.1); clip-path: var(--octagon);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.28rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.015em; }
.card > .summary { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.tags { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.card.featured { background: linear-gradient(160deg, var(--orange), var(--orange-deep)); border-color: transparent; }
.card.featured .icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.card.featured > .summary { color: rgba(255, 255, 255, 0.9); }
.card.featured .tag { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.card.featured:hover, .card.featured.is-open { box-shadow: 0 34px 64px -30px rgba(229, 118, 45, 0.8); border-color: transparent; }
.card.featured::after { display: none; }

/* Mehr erfahren: Detail-Panel unter der Kachelreihe (Hover am Desktop, Tippen am Handy) */
.more-toggle {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; margin: 0;
  background: none; border: 0; cursor: pointer; font-size: 0.86rem; font-weight: 600; color: var(--orange-light);
}
.more-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.card.is-open .more-toggle svg { transform: rotate(180deg); }
.card.featured .more-toggle { color: #fff; }
html:not(.js) .more-toggle { display: none; }

/* Inhalte je Kachel: ohne JavaScript direkt sichtbar, mit JavaScript nur Quelle fürs Panel */
.more-body { padding-top: 22px; }
.js .card .more { display: none; }

.more-sub { font-style: italic; font-size: 1.1rem; color: var(--orange-light); margin: 0; }
.more-block { margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--orange); }
.more-block h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; margin-bottom: 8px; }
.more-block p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }
.more-block strong { color: #fff; font-weight: 600; }
.benefits { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.benefits li { font-size: 0.85rem; font-weight: 500; line-height: 1.35; padding: 7px 14px; border-radius: 999px; background: rgba(229, 118, 45, 0.12); color: var(--orange-light); border: 1px solid rgba(229, 118, 45, 0.3); }

.svc-panel { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; margin-top: -14px; transition: grid-template-rows 0.45s var(--ease); }
.svc-panel.open { grid-template-rows: 1fr; }
.svc-panel-inner { overflow: hidden; min-height: 0; }
.svc-panel-pad { padding: 10px 0 22px; }
.svc-panel-card {
  position: relative; padding: clamp(28px, 4vw, 52px); border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid rgba(229, 118, 45, 0.4);
  box-shadow: 0 30px 60px -34px rgba(229, 118, 45, 0.45);
}
.svc-panel-card::before { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(229, 118, 45, 0.26), transparent 65%); pointer-events: none; }
.svc-panel-card > * { position: relative; }
.svc-panel-card h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 6px; }
.svc-panel-card .more-sub { margin-bottom: 4px; }
.svc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 40px); }
.svc-body { transition: opacity 0.18s ease; }
.svc-body.swap { opacity: 0; }
.note { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* Über mich */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.portrait-wrap { position: relative; width: min(100%, 480px); justify-self: center; }
.portrait-wrap::before { content: ""; position: absolute; inset: -6% -8% -8% 6%; background: radial-gradient(circle at 60% 60%, rgba(229, 118, 45, 0.28), transparent 65%); z-index: -1; filter: blur(10px); }
.portrait { filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.55)); }
.portrait-frame { aspect-ratio: 1; background: var(--orange); clip-path: var(--octagon); padding: 8px; }
.portrait-frame div { width: 100%; height: 100%; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); background: #000; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-caption {
  position: absolute; left: -2%; bottom: 6%; z-index: 2; padding: 14px 20px; border-radius: 14px;
  background: rgba(16, 19, 26, 0.9); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px #000;
}
.portrait-caption strong { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.portrait-caption span { font-size: 0.78rem; color: var(--orange-light); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

.about-copy .h2 { margin: 18px 0 24px; }
.about-copy p { color: rgba(244, 242, 238, 0.82); }
.about-copy p strong { color: #fff; font-weight: 600; }
.pull { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); font-size: clamp(1.1rem, 1.9vw, 1.3rem); font-weight: 500; line-height: 1.5; color: #fff; letter-spacing: -0.01em; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.timeline div { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.timeline b { display: block; font-size: 1.1rem; color: var(--orange-light); font-weight: 700; letter-spacing: -0.01em; }
.timeline span { font-size: 0.82rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }

/* Kontakt */
.contact-panel {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 10px); border: 1px solid var(--line);
  padding: clamp(32px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  background: radial-gradient(700px 420px at 100% 0%, rgba(229, 118, 45, 0.3), transparent 65%), linear-gradient(135deg, #1a1f2c, #10131a);
}
.contact-panel .h2 { margin: 18px 0 20px; }
.claim { margin-top: 28px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.86rem; color: #fff; }
.claim span { color: var(--orange-light); }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); }
a.contact-item:hover { border-color: var(--orange); background: rgba(229, 118, 45, 0.1); transform: translateX(4px); }
.contact-item .icon { margin: 0; width: 48px; height: 48px; flex: none; }
.contact-item small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-item strong { font-size: 1.08rem; font-weight: 600; line-height: 1.4; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Social-Icons (Footer) */
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--muted); transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.social:hover { color: #fff; border-color: var(--orange); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.site-footer { background: #07090d; border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.site-footer h4 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 16px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: var(--orange-light); }
.footer-brand p { margin: 16px 0 0; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 0.82rem; }

/* ---------- Rechtstexte ---------- */
.legal { padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 var(--section-y); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 40px; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font-size: 1.35rem; font-weight: 600; margin: 44px 0 12px; letter-spacing: -0.015em; color: #fff; }
.legal h3 { font-size: 1.02rem; font-weight: 600; margin: 24px 0 8px; color: var(--orange-light); letter-spacing: 0; }
.legal p, .legal li { color: rgba(244, 242, 238, 0.8); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal a:not(.btn) { color: var(--orange-light); text-decoration: underline; text-underline-offset: 3px; }
.todo { background: rgba(229, 118, 45, 0.18); color: var(--orange-light); border: 1px dashed var(--orange); border-radius: 6px; padding: 1px 8px; font-weight: 500; }

/* ---------- Preise ---------- */
.pricing-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(12px, 4vw, 24px); }
.pricing-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 20px; text-wrap: balance; }
.price-group + .price-group { margin-top: clamp(72px, 11vw, 128px); }
.price-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.price-group-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
.price-group-head p { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 46ch; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.price-card:hover { border-color: rgba(229, 118, 45, 0.5); transform: translateY(-4px); }
.price-card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.price-card .amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 2px; }
.price-card .amount + .amount { margin-top: -6px; }
.price-card .amount .num { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--orange-light); }
.price-card .amount .unit { font-size: 0.85rem; color: var(--muted); }
.price-card p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

.price-wide { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 30px 32px; border-radius: var(--radius); background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.price-wide h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.price-wide p { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 52ch; }

.price-note { margin-top: 40px; font-size: 0.82rem; color: var(--muted); text-align: center; }
.price-cta { margin-top: clamp(56px, 8vw, 88px); text-align: center; padding: clamp(36px, 6vw, 60px); border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, #1a1f2c, #10131a); border: 1px solid var(--line); }
.price-cta h2 { margin-bottom: 14px; }
.price-cta p { color: var(--muted); max-width: 48ch; margin: 0 auto 26px; }
.price-cta .hero-cta { justify-content: center; }

@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-wide { flex-direction: column; align-items: flex-start; }
}

/* ---------- Referenzen & Erfolge ---------- */
.ref-group + .ref-group { margin-top: clamp(64px, 9vw, 104px); }
.ref-group-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.ref-group-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 10px; }
.ref-group-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.testimonial-card {
  display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
}
.testimonial-card .quote-mark { font-size: 2.6rem; font-weight: 800; line-height: 0.6; color: var(--orange); }
.testimonial-card .testimonial-text { margin: 0; font-size: 0.95rem; line-height: 1.65; font-style: italic; color: rgba(244, 242, 238, 0.88); }
.testimonial-card .who { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.testimonial-card .who.accent { color: var(--orange-light); }
.testimonial-card.placeholder { border-style: dashed; border-color: rgba(229, 118, 45, 0.55); background: rgba(229, 118, 45, 0.06); }
.testimonial-card.placeholder .quote-mark { color: rgba(229, 118, 45, 0.55); }
.testimonial-card.placeholder .testimonial-text { color: var(--orange-light); font-style: normal; }
.testimonial-card.placeholder .who { color: var(--orange-light); border-top-color: rgba(229, 118, 45, 0.3); }

/* Testimonial-Karussell */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track { display: flex; gap: 22px; align-items: stretch; transition: transform 0.7s var(--ease); }
.testimonial-track .testimonial-card {
  flex: 0 0 min(380px, 80vw); opacity: 0.35; transform: scale(0.9);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.testimonial-track .testimonial-card.is-active {
  opacity: 1; transform: scale(1); border-color: rgba(229, 118, 45, 0.55);
  box-shadow: 0 28px 54px -26px rgba(229, 118, 45, 0.45);
}
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.testimonial-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.testimonial-dots button.is-active { background: var(--orange); transform: scale(1.35); }

/* Ohne JavaScript: alle Kundenstimmen gestapelt anzeigen, kein Karussell */
html:not(.js) .testimonial-track { flex-wrap: wrap; transform: none !important; }
html:not(.js) .testimonial-track .testimonial-card { flex: 1 1 280px; opacity: 1; transform: none; }
html:not(.js) .testimonial-dots { display: none; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-card {
  display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 18px;
  border: 1px dashed rgba(229, 118, 45, 0.55); border-radius: var(--radius-sm); background: rgba(229, 118, 45, 0.06);
  color: var(--orange-light); font-weight: 600; font-size: 0.88rem; text-align: center; line-height: 1.4;
}
.partner-feature {
  display: flex; gap: 32px; align-items: stretch; padding: 28px; margin-bottom: 28px;
  border-radius: var(--radius); background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.partner-feature.reverse { flex-direction: row-reverse; }
.partner-feature-media {
  flex: 0 0 300px; border-radius: var(--radius-sm); overflow: hidden; display: flex;
  align-items: center; justify-content: center; background: var(--surface);
}
.partner-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.4s var(--ease); }
.partner-feature-media:hover img { transform: scale(1.04); }
.partner-feature-media.is-logo { background: #fff; }
.partner-feature-media.is-logo img { object-fit: contain; }
.partner-feature-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.partner-feature-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 0; }
.partner-feature-body .lead { margin: 0; font-size: 1rem; font-weight: 600; color: var(--text); }
.partner-feature-body p:not(.lead) { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

@media (max-width: 760px) {
  .partner-feature, .partner-feature.reverse { flex-direction: column; padding: 20px; }
  .partner-feature-media { flex-basis: auto; height: 260px; }
}

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

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .badge-wrap { order: -1; width: min(70%, 320px); justify-self: center; }
  .services, .pillars { grid-template-columns: repeat(2, 1fr); }
  .svc-cols { grid-template-columns: 1fr; }
  .about-grid, .contact-panel { grid-template-columns: 1fr; }
  .portrait-wrap { width: min(100%, 400px); justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px;
    background: rgba(11, 13, 18, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 20px; }
  .site-header.menu-open { background: rgba(11, 13, 18, 0.97); }
}

@media (max-width: 640px) {
  .services, .pillars { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; gap: 10px; padding: 26px; }
  .brand-text { font-size: 0.98rem; }
  .brand-mark { width: 42px; height: 42px; }
  .portrait-caption { left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
}

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