/* FitnessTribute – Design-System
   Schwarz als Grundfarbe, kräftige Akzentfarbe je Sportart, kompakte Überschriften (Oswald). */

@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #17171a;
  --surface-2: #1f1f23;
  --line: #2a2a30;
  --text: #f3f3f1;
  --muted: #a3a3a8;
  --brand: #ff5a1f;          /* Kettlebell-Orange = Markenfarbe */
  --kettlebell: #ff5a1f;
  --crossfit: #ff2d55;
  --calisthenics: #c8f031;
  --gold: #ffc53d;
  --accent: var(--brand);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.theme-kettlebell   { --accent: var(--kettlebell); }
.theme-crossfit     { --accent: var(--crossfit); }
.theme-calisthenics { --accent: var(--calisthenics); }

*, *::before, *::after { box-sizing: border-box; }
/* hidden-Attribut immer respektieren – eigene display-Regeln dürfen es nicht überstimmen */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: .01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
.muted { color: var(--muted); }
.section { padding-top: 48px; padding-bottom: 48px; }
.section-sm { padding-top: 28px; }
.section-dark { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head .section-title { margin: 0; }
.section-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); text-transform: uppercase; margin-bottom: 20px; }
.section-title--sm { font-size: 1.35rem; }
.page-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); text-transform: uppercase; }
.link-more { font-weight: 600; white-space: nowrap; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 var(--body); padding: 13px 20px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0b0b0c; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.logo-mark { width: 32px; height: 32px; color: var(--brand); }
.logo-text { font: 500 1.35rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.logo-text strong { font-weight: 700; color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--text); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.site-nav a:hover, .site-nav a.is-active { background: var(--surface-2); }
.site-nav .nav-kettlebell.is-active { color: var(--kettlebell); }
.site-nav .nav-crossfit.is-active { color: var(--crossfit); }
.site-nav .nav-calisthenics.is-active { color: var(--calisthenics); }
.nav-search { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 861px) {
  .site-nav a { white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 1140px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 9px; font-size: .9rem; }
  .nav-search span { display: none; }   /* nur Lupe */
}
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; gap: 2px;
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav a { padding: 12px; border-radius: var(--radius-sm); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.82) 45%, rgba(11,11,12,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,11,12,0) 40%),
    var(--hero-img) center right / cover no-repeat;
}
.hero-inner { padding-top: 24px; padding-bottom: 64px; min-height: 520px; display: flex; flex-direction: column; justify-content: center; }
.hero .breadcrumbs ol { padding-top: 0; margin-bottom: 24px; }
.hero-title {
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.6rem); text-transform: uppercase; font-weight: 700;
  max-width: 14ch; margin-bottom: 18px; line-height: 1.02;
}
.hero-title::after { content: ""; display: block; width: 72px; height: 6px; background: var(--accent); margin-top: 18px; border-radius: 3px; }
.hero-intro { max-width: 620px; color: #d6d6d6; font-size: 1.08rem; }
.hero-intro p:last-child { margin-bottom: 0; }
.hero .search-form { margin-top: 28px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; padding: 0; }
.hero-stats strong { font: 700 1.6rem/1 var(--head); color: var(--accent); }
.hero-stats span { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.hero--compact .hero-inner { min-height: 340px; padding-bottom: 44px; }
.hero--compact .hero-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); max-width: 20ch; }

/* ---------- Suchformular ---------- */
.search-form {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; max-width: 880px;
  background: rgba(23, 23, 26, .9); border: 1px solid var(--line); border-radius: 18px; padding: 8px;
}
.search-form input, .search-form select {
  width: 100%; height: 48px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--text);
  font: 500 1rem var(--body); padding: 0 14px; appearance: none;
}
.search-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px;
}
.search-form .btn { height: 48px; border-radius: 12px; }
@media (max-width: 760px) {
  .search-form { grid-template-columns: 1fr 1fr; }
  .sf-q, .search-form .btn { grid-column: 1 / -1; }
}

/* ---------- Grids & Karten ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; color: var(--text); }
.card:hover { border-color: #3a3a42; transform: translateY(-2px); }
a.card:hover { text-decoration: none; }
.card-media { position: relative; display: block; aspect-ratio: 5 / 3; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--card-accent, var(--brand));
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--card-accent, var(--brand)) 22%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, #1b1b1f 0 12px, #18181b 12px 24px);
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; font-weight: 600; }
.card-title { font-size: 1.25rem; margin: 0; }
.card-title a { color: var(--text); }
.card-text { color: var(--muted); margin: 0; font-size: .95rem; }
.card-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 0; font-size: .92rem; }
.card-rating { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .92rem; }
.card-rating .icon { color: var(--gold); }
.card-rating span { color: var(--muted); }
.listing-card.is-featured { border-color: var(--card-accent, var(--brand)); box-shadow: 0 0 0 1px var(--card-accent, var(--brand)) inset; }
.accent-kettlebell { --card-accent: var(--kettlebell); }
.accent-crossfit { --card-accent: var(--crossfit); }
.accent-calisthenics { --card-accent: var(--calisthenics); }

.badge { display: inline-block; font: 700 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 6px 9px; border-radius: 6px; }
.badge-featured { background: var(--gold); color: #000; }
.card-media .badge { position: absolute; top: 12px; left: 12px; }

.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); display: inline-flex; align-items: center; gap: 4px; }
.chip a { color: inherit; }
.chip-kettlebell { border-color: color-mix(in srgb, var(--kettlebell) 60%, transparent); color: var(--kettlebell); }
.chip-crossfit { border-color: color-mix(in srgb, var(--crossfit) 60%, transparent); color: var(--crossfit); }
.chip-calisthenics { border-color: color-mix(in srgb, var(--calisthenics) 60%, transparent); color: var(--calisthenics); }
.chip-school { background: var(--surface-2); color: var(--text); }

/* ---------- Startseite: Sportart-Kacheln ---------- */
.tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 280px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text); text-decoration: none !important;
  --tile-accent: var(--brand);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .4s;
  background: linear-gradient(0deg, rgba(11,11,12,.95) 20%, rgba(11,11,12,.25) 100%), var(--tile-img) center / cover;
}
.tile:hover::before { transform: scale(1.04); }
.tile:hover { border-color: var(--tile-accent); }
.tile-kettlebell { --tile-accent: var(--kettlebell); }
.tile-crossfit { --tile-accent: var(--crossfit); }
.tile-calisthenics { --tile-accent: var(--calisthenics); }
.tile-icon { color: var(--tile-accent); }
.tile-name { font: 700 2rem/1 var(--head); text-transform: uppercase; }
.tile-desc { color: #cfcfcf; font-size: .95rem; }
.tile-count, .school-card .tile-count { color: var(--tile-accent, var(--card-accent)); font-weight: 700; margin: 4px 0 0; }
.discipline-tiles--sm .tile { min-height: 170px; }
.discipline-tiles--sm .tile-name { font-size: 1.4rem; }
.tile.is-empty { opacity: .55; }

/* ---------- Staaten-Liste ---------- */
.state-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.state-list a, .state-list li > span { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.state-list a:hover { border-color: var(--accent); text-decoration: none; }
.state-list em { font-style: normal; font-size: .8rem; color: #0b0b0c; background: var(--accent); border-radius: 999px; padding: 2px 9px; }
.state-list .is-empty > span { color: #5d5d64; background: transparent; }

/* ---------- Schulen ---------- */
.school-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.school-strip a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--text); height: 100%; }
.school-strip a:hover { border-color: var(--accent); text-decoration: none; }
.school-strip strong { font: 600 1.2rem/1.2 var(--head); text-transform: uppercase; }
.school-strip span { color: var(--muted); font-size: .85rem; }

/* ---------- Pillar-Seite ---------- */
.pillar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
@media (max-width: 960px) { .pillar-layout { grid-template-columns: minmax(0, 1fr); } }
.type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.type-tabs a { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .9rem; }
.type-tabs a:hover { border-color: var(--accent); text-decoration: none; }
.type-tabs a.is-active { background: var(--accent); border-color: var(--accent); color: #0b0b0c; }
.type-tabs em { font-style: normal; opacity: .7; margin-left: 4px; }
.pillar-side { display: flex; flex-direction: column; gap: 16px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side-title { font-size: 1.05rem; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.side-more { margin: 10px 0 0; font-weight: 600; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--text); border-bottom: 1px solid var(--line); }
.link-list li:last-child a { border-bottom: 0; }
.link-list a:hover { color: var(--accent); text-decoration: none; }
.link-list em { font-style: normal; color: var(--muted); }
.link-list .is-active a { color: var(--accent); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: #d0d0d0; }

/* ---------- Pager ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager .pager-current { background: var(--accent); border-color: var(--accent); color: #0b0b0c; }
.pager .pager-gap { background: none; border: 0; }

/* ---------- Detailseite ---------- */
.listing-detail { padding-bottom: 40px; --accent: var(--card-accent, var(--brand)); }
.ld-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.ld-title { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.4rem); text-transform: uppercase; margin: 6px 0 10px; }
.ld-loc { display: flex; align-items: center; gap: 6px; color: #d0d0d0; margin: 0 0 6px; }
.ld-rating { margin-bottom: 8px; }
.ld-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ld-image { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; }
.ld-image img { width: 100%; max-height: 480px; object-fit: cover; }
.ld-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-top: 32px; }
.ld-main > section + section { margin-top: 28px; }
.ld-side { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .ld-grid { grid-template-columns: minmax(0, 1fr); } }
.facts { margin: 0; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-top: 12px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.hours { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--muted); }

/* ---------- Fließtext ---------- */
.prose { color: #dcdcdc; font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; text-transform: uppercase; color: var(--text); margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; color: var(--text); margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1em 0; padding: .5em 1.2em; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 8px 8px 0; }
.seo-text { border-top: 1px solid var(--line); }
.post-image { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.cta-box { margin-top: 48px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cta-box h2 { text-transform: uppercase; }
.cta-box .btn { margin: 4px 4px 0 0; }
.notfound-code { font: 700 7rem/1 var(--head); color: var(--brand); margin: 0; }

/* ---------- Karte ---------- */
.map { position: relative; height: var(--map-h, 360px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #151518 0 14px, #121214 14px 28px); }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 20px; }
.map-consent p { max-width: 420px; color: var(--muted); font-size: .9rem; margin: 0; }
.map-remember { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.map.is-loaded .map-consent { display: none; }
.leaflet-container { background: #1a1a1d; font-family: var(--body); }
.leaflet-popup-content a { font-weight: 600; color: #c2410c; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 300px; }
.footer-title { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer li a { color: var(--muted); font-size: .9rem; }
.site-footer li a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 24px; color: #6b6b72; font-size: .85rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .hero-inner { min-height: 0; padding-top: 20px; padding-bottom: 40px; }
  .hero--compact .hero-inner { min-height: 0; }
  .hero-bg { background:
    linear-gradient(0deg, rgba(11,11,12,.97) 15%, rgba(11,11,12,.7) 100%),
    var(--hero-img) center / cover no-repeat; }
  .section { padding-top: 36px; padding-bottom: 36px; }
  .tile { min-height: 220px; }
  .card-media { aspect-ratio: 5 / 2; }
}
.ft-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #0b0b0c; box-shadow: 0 0 0 2px var(--accent); }

/* ---------- Guides ---------- */
.guide-card .card-title { color: var(--text); font: 600 1.25rem/1.2 var(--head); }
.guide-card .tile-count { color: var(--card-accent); margin-top: auto; padding-top: 6px; }
.guide-card .card-media, .guide-card .card-body, .guide-card .card-kicker, .guide-card .card-title, .guide-card .card-text { display: block; }
.guide-card .card-body { display: flex; }
.guide-teaser {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 16%, var(--surface)) 0%, var(--surface) 70%);
  border: 1px solid color-mix(in srgb, var(--card-accent) 45%, var(--line)); color: var(--text); text-decoration: none !important;
}
.guide-teaser:hover { border-color: var(--card-accent); }
.guide-teaser-icon { color: var(--card-accent); flex: none; margin-top: 2px; }
.guide-teaser-text { display: flex; flex-direction: column; gap: 4px; }
.guide-teaser-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--card-accent); font-weight: 700; }
.guide-teaser strong { font: 600 1.15rem/1.25 var(--head); }
.guide-teaser-desc { color: var(--muted); font-size: .92rem; }
.guide-teaser-more { color: var(--card-accent); font-weight: 700; font-size: .92rem; }
.guide-teaser--banner { align-items: center; padding: 20px 24px; }
.guide-teaser--banner strong { font-size: 1.35rem; }
.state-list--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin: 0 0 18px; }
.cta-box.accent-kettlebell, .cta-box.accent-crossfit, .cta-box.accent-calisthenics { --accent: var(--card-accent); border-color: color-mix(in srgb, var(--card-accent) 45%, var(--line)); }
.hero--compact .search-form { margin-top: 22px; }

/* ---------- Formulare (öffentlich) ---------- */
.wrap--auth { max-width: 520px; }
.lead { font-size: 1.1rem; color: #d6d6d6; }
.small { font-size: .88rem; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.form-card h2 { font-size: 1.3rem; text-transform: uppercase; }
.form .field, .form-card .field { display: block; margin-bottom: 16px; font-weight: 600; font-size: .92rem; }
.field-label { display: block; margin-bottom: 8px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid #34343b;
  background: var(--surface-2); color: var(--text); font: 400 1rem/1.4 var(--body);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.field input[type=file] { padding: 10px; }
.field-error { display: block; color: #ff8a8a; font-weight: 500; font-size: .85rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-row--3 { grid-template-columns: 2fr 1.4fr 1fr; }
@media (max-width: 640px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #34343b; border-radius: 10px; background: var(--surface-2); font-weight: 500; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); }
.choice input, .check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 16px; color: #d0d0d0; }
.check input { margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.alert { padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); margin: 0 0 18px; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert--error { border-color: #7f2a2a; background: #2a1212; color: #ffd0d0; }
.alert--success { border-color: #2f6b3c; background: #10251a; color: #c9f5d4; }
.alert--flash { margin-top: 18px; }
.thumb { max-width: 260px; border-radius: 10px; margin-bottom: 10px; }
.inline { display: inline; }
.link-btn { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.account-nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; font-weight: 600; }
.account-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.account-item h2 { margin-bottom: 4px; }
.account-item p { margin: 0; }
.account-actions { display: flex; gap: 8px; }
.side-box--claim .btn { margin-top: 6px; }
.ld-verified { display: inline-flex; align-items: center; gap: 6px; color: var(--calisthenics); font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.site-nav .nav-cta { background: var(--brand); color: #0b0b0c; margin-left: 6px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta.is-active { background: var(--brand); filter: brightness(1.1); }
@media (max-width: 860px) { .site-nav .nav-cta { margin-left: 0; text-align: center; } }

/* ---------- Cookie-Einwilligung ----------
   display nur auf :not([hidden]) setzen – sonst überschreibt die Regel das hidden-Attribut
   und das unsichtbare Overlay blockiert Klicks. */
.cookie-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .6); padding: 16px; overflow-y: auto; }
.cookie-overlay:not([hidden]) { display: flex; justify-content: center; }
/* margin statt align-items: bleibt scrollbar, wenn das Fenster höher als der Bildschirm ist */
.cookie-box { margin: auto 0 0; width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.cookie-box h2 { font-size: 1.5rem; text-transform: uppercase; }
.cookie-box p { color: #d0d0d0; font-size: .95rem; }
.cookie-options:not([hidden]) { display: flex; }
.cookie-options { flex-direction: column; gap: 8px; margin: 0 0 16px; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.cookie-opt input { accent-color: var(--brand); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.cookie-opt strong { display: block; }
.cookie-opt small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-actions .btn-consent { flex: 1 1 140px; background: var(--text); color: #0b0b0c; }
.cookie-actions .btn-consent:hover { filter: brightness(.9); }
.cookie-settings-toggle { flex-basis: 100%; text-align: center; padding: 6px; }
.cookie-links { margin: 12px 0 0; text-align: center; font-size: .82rem; }
.cookie-links a { color: var(--muted); }
.footer-link-btn { color: var(--muted); font-weight: 400; font-size: .9rem; }
.footer-link-btn:hover { color: var(--text); }

/* ---------- Werbeplätze ---------- */
/* Feste Banner-Stellen: Höhe reserviert (kein Springen beim Laden), Überstand wird abgeschnitten */
.ad-slot { margin: 32px 0; padding: 8px 10px 10px; border: 1px dashed var(--line); border-radius: var(--radius); overflow: hidden; max-width: 100%; }
.ad-slot .adsbygoogle { display: block; width: 100%; min-height: 90px; max-height: 280px; overflow: hidden; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 600px) { .ad-slot .adsbygoogle { min-height: 100px; } }
@media (min-width: 700px) { .cookie-box { margin: auto; } }
.more-cities summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: 10px 0 4px; }

/* ---------- Blog ---------- */
.post-meta { color: var(--muted); font-size: .95rem; margin: 0; }
.post-meta span { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.prose p.note { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); font-size: .98rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.post-card .card-kicker { color: var(--accent); }
.post-ph { place-items: end start; padding: 16px 18px; color: var(--text); --ph: var(--brand);
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--ph) 35%, transparent), transparent 60%),
              repeating-linear-gradient(135deg, #1b1b1f 0 12px, #18181b 12px 24px); }
.post-ph span { font: 700 1.6rem/1 var(--head); text-transform: uppercase; letter-spacing: .02em; opacity: .9; }
.post-ph--yoga { --ph: #8b7bff; }
.post-ph--cardio { --ph: #2ec5ff; }
.post-ph--nutrition { --ph: var(--calisthenics); }
.post-ph--strength { --ph: var(--crossfit); }
