/* Backyard Köln LakeLoop Fühlinger – Stylesheet
   Farben aus dem Logo: Rot #BE0926, Schwarz, Weiß; dazu Seeblau als Zweitfarbe. */

:root {
  --red: #be0926;
  --red-dark: #8f061c;
  --ink: #0e0f12;
  --ink-2: #16181d;
  --ink-3: #1f2229;
  --line: #2c3039;
  --paper: #f4f2ee;
  --white: #ffffff;
  --muted: #a7acb6;
  --muted-dark: #5b606b;
  --lake: #1f8fb4;
  --lake-soft: #d9eef5;
  --radius: 4px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ---------- Typografie ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; background: currentColor; vertical-align: middle; margin-right: 10px; transform: skewX(-20deg); }

.lead { font-size: 1.2rem; max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 18, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #000;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand img { height: 44px; width: auto; }

.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 12px;
  color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .nav-cta a { background: var(--red); color: var(--white); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-inline: 18px; }
.nav .nav-cta a:hover { background: var(--white); color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--white);
  width: 44px; height: 44px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 3px; background: currentColor; margin: 5px 0; transform: skewX(-20deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); border-bottom: 3px solid var(--red); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta a { clip-path: none; text-align: center; margin-top: 12px; border: 0; }
  .brand img { height: 36px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background .15s, color .15s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--red); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink) url("../img/hero.svg") center / cover no-repeat;
  color: var(--white);
  padding: clamp(56px, 10vw, 120px) 0 0;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 25%, 100% 100%);
}
.hero-inner { position: relative; z-index: 1; padding-bottom: 130px; }
.hero-logo { width: min(640px, 100%); height: auto; margin: 0 0 28px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)); }
.hero h1 { font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-style: normal; letter-spacing: 0.04em; max-width: 34ch; color: var(--white); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 34px; font-weight: 700; }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 20px; height: 20px; flex: none; color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.countdown { display: flex; gap: 10px; margin-top: 44px; flex-wrap: wrap; }
.countdown div {
  min-width: 84px; padding: 12px 10px 10px; text-align: center;
  background: rgba(255,255,255,0.07); border-top: 3px solid var(--red);
}
.countdown b { display: block; font-family: var(--font-display); font-style: italic; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .countdown div { min-width: 0; }
  .countdown b { font-size: 1.6rem; }
}
.countdown small { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead, .section-dark p { color: #d4d7dd; }
.section-white { background: var(--white); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Fakten-Leiste */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: -60px; position: relative; z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.fact { background: var(--white); padding: 26px 22px; border-right: 1px solid #e7e4de; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1; color: var(--red); margin: 6px 0; }
.fact span { display: block; font-size: 0.9rem; font-weight: 600; color: var(--muted-dark); }
.fact b { white-space: nowrap; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .fact { padding: 20px 16px; } .fact b { font-size: 1.5rem; } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid #e7e4de; } }

.titelbild { margin: 0; }
.titelbild img { width: 100%; height: auto; border-bottom: 6px solid var(--red); box-shadow: 0 20px 50px rgba(0,0,0,.18); }

#event { padding-top: 56px; }

/* Verkehrsfrei-Banner */
.usp {
  background: var(--red); color: var(--white);
  position: relative; overflow: hidden;
}
.usp::before {
  content: "VERKEHRSFREI VERKEHRSFREI VERKEHRSFREI VERKEHRSFREI";
  position: absolute; top: 50%; left: -2%; transform: translateY(-50%) rotate(-4deg);
  font-family: var(--font-display); font-style: italic; font-size: 11rem; line-height: 1;
  white-space: nowrap; color: rgba(0,0,0,0.12); pointer-events: none;
}
.usp .wrap { position: relative; }
.usp .kicker { color: var(--white); }
.usp h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.usp p { color: #ffe6ea; }
.usp-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.usp-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.usp-list svg { flex: none; width: 26px; height: 26px; margin-top: 1px; }

/* Formate */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
@media (max-width: 1020px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } }
.format {
  background: var(--ink-2); color: var(--white); padding: 30px 26px 26px;
  border-top: 5px solid var(--red); display: flex; flex-direction: column;
  text-decoration: none; transition: transform .15s, background .15s;
}
.format:hover { transform: translateY(-4px); background: var(--ink-3); color: var(--white); }
.format .num { font-family: var(--font-display); font-style: italic; font-size: 4.4rem; line-height: .9; color: var(--red); }
.format .num small { font-size: 1.1rem; color: var(--white); margin-left: 6px; }
.format h3 { margin: 14px 0 10px; font-size: 1.25rem; }
.format p { font-size: 0.95rem; color: var(--muted); margin: 0 0 18px; flex: 1; }
.format dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 14px; }
.format dt { color: var(--muted); }
.format dd { margin: 0; font-weight: 700; text-align: right; }
.format .more { margin-top: 18px; font-weight: 800; font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* Format-Detailblöcke */
.detail { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 56px); padding: 48px 0; border-top: 1px solid #ddd8cf; }
.detail:first-of-type { border-top: 0; }
.detail .badge {
  font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: 22px 18px; text-align: center; align-self: start;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}
.detail .badge b { display: block; font-size: 3.8rem; line-height: 1; color: var(--red); }
.detail .badge span { font-size: 0.85rem; letter-spacing: .08em; }
.detail h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.detail ul { padding-left: 1.2em; margin: 0 0 1em; }
.detail li { margin-bottom: 4px; }
@media (max-width: 700px) { .detail { grid-template-columns: 1fr; } .detail .badge { max-width: 200px; } }

.note {
  background: #fff7e1; border-left: 4px solid #e2a800; padding: 12px 16px; font-size: 0.92rem; margin: 16px 0 0;
}
.section-dark .note { background: rgba(226,168,0,0.12); color: #f3dfa6; }

/* So funktioniert's */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--ink-2); padding: 30px 26px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--red); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Strecke */
.course-figure { background: var(--white); border: 1px solid #e3dfd7; padding: 10px; }
.course-figure figcaption { font-size: 0.8rem; color: var(--muted-dark); padding: 8px 4px 2px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.stat-row div { border-left: 4px solid var(--red); padding: 4px 0 4px 14px; }
.stat-row b { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1.1; }
.stat-row span { font-size: 0.85rem; color: var(--muted-dark); }
.stat-row b.stat-small { font-size: 1.1rem; line-height: 1.25; padding-top: 4px; }

/* Teaser Ausschreibung */
.cta-band {
  background: var(--ink) url("../img/stripes.svg") right center / auto 100% no-repeat;
  color: var(--white); padding: 64px 0;
}
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { margin: 6px 0 0; color: var(--muted); }

/* Anreise */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--white); padding: 28px 24px; border-bottom: 4px solid var(--red); }
.info-card svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 12px; }
.info-card h3 { font-size: 1.2rem; }
.info-card p { margin: 0 0 8px; }
address { font-style: normal; }

/* Trainingstipps */
.tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
#training .tip-grid { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
@media (max-width: 960px) { #training .tip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tip-grid, #training .tip-grid { grid-template-columns: 1fr; } }
.tip { background: var(--white); border-top: 4px solid var(--red); padding: 22px 22px 18px; color: var(--ink); text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.section-white .tip { background: var(--paper); box-shadow: none; }
a.tip { transition: transform .15s; }
a.tip:hover { transform: translateY(-3px); color: var(--ink); }
.tip h3, .content .tip h3 { font-size: 1.15rem; margin: 0 0 8px; }
.tip p { margin: 0; font-size: 0.97rem; }

.section-dark .tip p { color: #3a3e47; }
.tiles-6 { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
@media (max-width: 860px) { .tiles-6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles-6 { grid-template-columns: 1fr; } }

/* Zeitplan */
.timeline { list-style: none; margin: 24px 0; padding: 0; border-left: 3px solid #ddd8cf; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 14px 0 14px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 22px; width: 15px; height: 15px; background: var(--paper); border: 3px solid var(--ink); border-radius: 50%; }
.timeline li.hl::before { background: var(--red); border-color: var(--red); }
.timeline time { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.1rem; color: var(--red); padding-top: 2px; }
.timeline .content h3, .content .timeline h3 { margin: 0 0 4px; font-size: 1.1rem; }
.timeline p { margin: 0; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* Packliste */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
@media (max-width: 700px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist { background: var(--white); border: 0; border-top: 4px solid var(--red); margin: 0; padding: 18px 20px; }
.checklist legend { float: left; width: 100%; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: 8px; }
.checklist label { clear: both; display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid #eee9e1; cursor: pointer; }
.checklist label:last-child { border-bottom: 0; }
.checklist input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }
.checklist input:checked + * , .checklist label:has(input:checked) { color: var(--muted-dark); text-decoration: line-through; }

/* Karten (Porträts, Shop) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards, .cards-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); display: flex; flex-direction: column; }
.card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 18px 20px 20px; border-top: 4px solid var(--red); }
.content .card h3, .card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0 0 6px; font-size: .95rem; }
.card-tag { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.content.content-wide .wrap { max-width: var(--max); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure { margin: 0; background: var(--white); }
.gallery img, .gallery .ph span { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery .ph span { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(-45deg, #e9e5de 0 14px, #f1eee8 14px 28px); color: var(--muted-dark); font-weight: 700; }
.gallery figcaption { font-size: .82rem; padding: 6px 10px; color: var(--muted-dark); }

.placeholder-box { display: flex; gap: 18px; align-items: flex-start; background: var(--ink); color: var(--white); padding: 22px 24px; margin: 20px 0; }
.placeholder-box svg { width: 36px; height: 36px; color: var(--red); flex: none; }

/* Partner */
.partner-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 30px 0; }
@media (max-width: 760px) { .partner-strip { grid-template-columns: 1fr 1fr; } }
.partner-logo { aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 2px dashed #cfc9bf; color: var(--muted-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.partner-logo small { font-weight: 600; text-transform: none; letter-spacing: 0; }

@media print {
  .site-header, .site-footer, .page-hero, .toc, .btn, .note { display: none !important; }
  body { background: #fff; }
}

/* FAQ */
.faq { max-width: 860px; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 800; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; font-weight: 400; color: var(--red); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: #c5c9d1; }

/* Instagram */
.insta { text-align: center; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 34px 0; }
.insta-grid img { aspect-ratio: 1; width: 100%; object-fit: cover; }
@media (max-width: 640px) { .insta-grid { grid-template-columns: 1fr 1fr; } }
.insta-handle { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--ink); text-decoration: none; }
.insta-handle:hover { color: var(--red); }

/* ---------- Unterseiten ---------- */
.page-hero {
  background: var(--ink) url("../img/hero.svg") center 30% / cover no-repeat;
  color: var(--white); padding: 70px 0 60px; border-bottom: 5px solid var(--red);
}
.page-hero h1 { font-size: clamp(2rem, 5.5vw, 3.8rem); margin: 0; }
.page-hero p { margin: 10px 0 0; color: #d4d7dd; font-weight: 600; }

.content { padding: 60px 0 90px; overflow-wrap: break-word; hyphens: auto; }
.content .wrap { max-width: 900px; }
.content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.content h3 { font-size: 1.15rem; font-style: normal; margin-top: 1.6em; }

.tender { width: 100%; border-collapse: collapse; background: var(--white); margin: 18px 0; }
.tender th, .tender td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid #ebe7e0; }
.tender th { width: 32%; font-weight: 800; font-size: 0.9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: #faf8f5; }
.tender thead th { background: var(--ink); color: var(--white); }
.tbd { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #fff1c2; color: #6b5200; padding: 2px 8px; margin-left: 4px; }
@media (max-width: 640px) {
  .tender, .tender tbody, .tender tr, .tender th, .tender td { display: block; width: 100%; }
  .tender th { border-bottom: 0; padding-bottom: 2px; background: none; }
  .tender thead { display: none; }
}

.toc { background: var(--white); padding: 18px 22px; border-left: 4px solid var(--red); margin: 0 0 30px; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; columns: 2; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: #08090b; color: var(--muted); padding: 56px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 46px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: var(--white); text-transform: uppercase; letter-spacing: .12em; font-size: 0.8rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid #1d2026; margin-top: 40px; padding-top: 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; align-items: center; font-size: 0.82rem; }
@media (max-width: 760px) { .footer-bottom { grid-template-columns: 1fr; gap: 14px; } }
.credit { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 16px 8px 14px; border: 1px solid #2c3039; border-left: 4px solid var(--red); background: #111317; transition: border-color .15s, background .15s; }
.credit small { color: var(--muted); font-size: .78rem; }
.credit b { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; color: var(--white); }
.credit span { color: var(--red); font-weight: 700; }
.site-footer a.credit:hover { border-color: var(--red); background: #1a0b0e; }
.site-footer a.credit:hover b { color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Kleine Überschriften stehen über dem Wert */
.countdown small { display: block; margin-bottom: 6px; }
.detail .badge span { display: block; margin-bottom: 6px; font-size: .74rem; white-space: nowrap; }
.stat-row span { display: block; margin-bottom: 2px; }
.stat-row b.stat-small { padding-top: 0; }
.partner-logo.has-logo { border-style: solid; border-color: #e3dfd7; background: var(--white); padding: 14px; transition: border-color .15s; }
.partner-logo.has-logo:hover { border-color: var(--red); }
.partner-logo.has-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

/* Tabellen mit Kopfzeile: Spalten gleichmäßig verteilen, keine Silbentrennung in Überschriften */
.tender thead th { width: auto; }
.tender:has(thead) { table-layout: fixed; }
.tender:has(thead) tbody th { width: auto; }
.tender th { hyphens: manual; }
