/*
Theme Name: Martin Marino
Theme URI: https://martinmarino.de
Author: Martin Marino
Description: Eigenes Theme für martinmarino.de – Schaufenster für „Martin Marino machts“ und „Martin Marino unterwegs“. Mit festen Inhaltstypen für Projekte, Downloads, Touren und Produkte.
Version: 2.2.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: marino
*/

/* ---------- Schriften (lokal, keine Google-Server) ---------- */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 900; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Bebas Neue"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }

/* ---------- Farben ---------- */
:root {
  --bg: #0C0E12;
  --bg2: #11141A;
  --card: #161A20;
  --card2: #1C2027;
  --line: #23272E;
  --line2: #3A3D42;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.78);
  --soft: rgba(255, 255, 255, 0.68);
  --gold: #F5C450;
  --gold-hover: #FFD97A;
  --radius: 18px;
}

/* Kanalfarben (aus dem Marino Einblender) */
.k-machts    { --k-accent: #E3061B; --k-on: #FFFFFF; --k-label: #F28B87; --k-font: "Bebas Neue", Inter, sans-serif; }
.k-unterwegs { --k-accent: #F5C450; --k-on: #0C0E12; --k-label: #F5C450; --k-font: Inter, sans-serif; }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 80px; }
.section--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 36px; }
.overline { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.more { font-weight: 700; font-size: 15px; padding-block: 10px; text-decoration: none; }
.grid { display: flex; flex-wrap: wrap; gap: 24px; }
.grid > * { flex: 1 1 320px; min-width: 0; }
.sport-icon { display: inline-block; vertical-align: -2px; flex-shrink: 0; }
.row strong { display: inline-flex; align-items: center; gap: 8px; }
.dabei { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; background: var(--card); border: 2px solid var(--line2); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 56px; color: var(--text); text-decoration: none; }
.dabei:hover, .dabei:focus-visible { color: var(--text); background: #1C2027; border-color: var(--gold); }
.dabei__label { background: var(--gold); color: var(--bg); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; }
.dabei strong { font-size: 18px; font-weight: 800; }
.dabei span:not(.dabei__label) { color: var(--soft); font-size: 15px; }
.dabei .dabei__mehr { margin-left: auto; color: var(--gold); font-weight: 700; }
.zonen { display: flex; flex-direction: column; gap: 8px; }
.zone { display: grid; grid-template-columns: 34px minmax(0, 1fr) 76px; align-items: center; gap: 10px; font-size: 13px; }
.zone b { font-weight: 800; }
.zone__bar { height: 12px; background: var(--card2); border-radius: 6px; overflow: hidden; }
.zone__bar i { display: block; height: 100%; border-radius: 6px; }
.zone small { color: var(--soft); text-align: right; font-variant-numeric: tabular-nums; }
.zone__range { grid-column: 2 / 4; margin-top: -6px; font-size: 12px; color: var(--soft); }
/* Lightbox */
.lb-offen, .lb-offen body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100000; background: rgba(8, 9, 12, .97); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb__img { max-width: 100%; max-height: calc(100vh - 240px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb__cap { color: var(--muted); font-size: 15px; text-align: center; max-width: 70ch; }
.lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb__btn:hover { background: var(--gold); color: var(--bg); }
.lb__btn[hidden] { display: none; }
.lb__zu { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb__zahl { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: var(--soft); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gallery a, .content .wp-block-image img { cursor: zoom-in; }
@media (max-width: 700px) {
  .lb { padding: 64px 12px 96px; }
  .lb__prev, .lb__next { top: auto; bottom: 24px; transform: none; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); transform: scaleX(-1); }
}

/* Fotos auf der Karte */
.kartenfoto { background: none; border: 0; }
.leaflet-container .kartenfoto img { box-sizing: border-box; width: 44px !important; height: 44px !important; object-fit: cover; border-radius: 50%; border: 3px solid #F5C450; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); cursor: zoom-in; display: block; }
.leaflet-container .kartenfoto:hover img, .leaflet-container .kartenfoto:focus img { border-color: #fff; transform: scale(1.12); }
.archiv-hinweis { font-size: 15px; color: var(--soft); }
.empty { color: var(--soft); background: var(--card); border-radius: var(--radius); padding: 28px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 16px/1.2 Inter, sans-serif; text-decoration: none; padding: 15px 26px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; }
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--gold-hover); color: var(--bg); }
.btn--ghost { border-color: var(--line2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--soft); color: var(--text); }
.pill { display: inline-flex; align-items: center; background: #23272E; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; padding: 12px 16px; border-radius: 12px; }
.pill:hover { background: #2C3139; color: var(--text); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { font-size: 13px; font-weight: 700; color: var(--bg); background: var(--gold); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }

/* ---------- Kopf ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.logo { color: var(--text); text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: .04em; }
.logo:hover { color: var(--text); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.main-nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; font-weight: 500; display: inline-block; padding-block: 10px; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--gold); }

/* ---------- Startseite ---------- */
.hero { padding-block: 96px 88px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; font-weight: 900; max-width: 15ch; }
.hero p { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }

/* Startseite mit Foto */
.hero--foto { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 40px 56px; padding-bottom: 0; }
.hero--foto .hero__text { flex: 999 1 520px; min-width: 0; align-self: center; padding-bottom: 88px; }
.hero__foto { flex: 1 1 340px; max-width: 480px; min-width: 0; margin-inline: auto; position: relative; }
.hero__foto img { position: relative; z-index: 1; width: 100%; height: auto; }
/* freigestellt: goldener Schein dahinter, unten weich ausgeblendet */
.hero--frei .hero__foto::before { content: ""; position: absolute; inset: 8% -6% 0; z-index: 0; background: radial-gradient(closest-side, rgba(245, 196, 80, .30), rgba(245, 196, 80, 0)); }
.hero--frei .hero__foto img { max-height: 620px; object-fit: contain; object-position: bottom; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
/* mit Rahmen: wie die Karten weiter unten */
.hero--rahmen { align-items: center; padding-bottom: 88px; }
.hero--rahmen .hero__text { padding-bottom: 0; }
.hero--rahmen .hero__foto img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

.channel { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.channel__head { background: var(--k-accent); color: var(--k-on); padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.channel__head small { font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.channel__head h3 { font-family: var(--k-font); font-weight: 400; font-size: 30px; line-height: 1.05; }
.k-machts .channel__head h3 { font-size: 44px; letter-spacing: .02em; text-transform: uppercase; }
.k-unterwegs .channel__head h3 { font-weight: 900; font-size: 32px; }
.channel__body { padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.channel__body p { color: rgba(255, 255, 255, .82); }
.channel__body .pills { margin-top: auto; }

.card { color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.card:hover { color: var(--text); }
.card:hover .card__title { color: var(--gold); }
.card__img { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--card2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--k-label, var(--gold)); }
.card__title { font-size: 20px; font-weight: 800; line-height: 1.3; }
.card__text { font-size: 15px; color: var(--soft); }

.panel { background: var(--card); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.panel h2 { font-size: 32px; font-weight: 900; }
.panel .more { margin-top: auto; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; background: var(--card2); border-radius: 12px; padding: 14px 16px; color: var(--text); text-decoration: none; }
a.row:hover { background: #242932; color: var(--text); }
.row strong { font-size: 15px; }
.row span { font-size: 13px; color: var(--soft); }

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.about__img { flex: 0 1 300px; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--card2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Übersichten ---------- */
.page-head { padding-block: 72px 32px; display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; }
.filter a { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--text); background: var(--card); border: 2px solid var(--line2); padding: 10px 16px; border-radius: 12px; }
.filter a[aria-current="true"] { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.pagination { margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 14px; border-radius: 10px; background: var(--card); color: var(--text); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--gold); color: var(--bg); }

.list { display: flex; flex-direction: column; gap: 14px; }
.item { background: var(--card); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.item__main { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.item__main h2, .item__main h3 { font-size: 20px; font-weight: 800; }
.item__meta { font-size: 14px; color: var(--soft); }
.item__img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--card2); }
.item__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Einzelseiten ---------- */
/* Einzelseiten: Inhalt links, Daten rechts. (Nicht „.single“ nennen – so heißt bei WordPress der ganze Seitenkörper.) */
.detail { display: flex; flex-direction: column; gap: 32px; padding-bottom: 80px; }
.detail__main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.detail__side { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 960px) {
  .detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .detail__main { grid-column: 1; grid-row: 1; }
  .detail__side { grid-column: 2; grid-row: 1; }
  .detail__side--sticky { position: sticky; top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); max-height: calc(100vh - 48px - var(--wp-admin--admin-bar--height, 0px)); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3A3D42 transparent; }
}
.facts--kompakt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts--kompakt .fact { padding: 12px 14px; }
.facts--kompakt .fact strong { font-size: 17px; }
.gpx-knopf { margin: 0; }
.gpx-knopf .btn { width: 100%; }
.content .baustein { margin-block: 1.6em; }
.content .baustein .gpx-knopf .btn { width: auto; }
.box { background: var(--card); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.box h2 { font-size: 20px; font-weight: 800; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { background: var(--card2); border-radius: 12px; padding: 14px 16px; }
.fact small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.fact strong { font-size: 22px; font-weight: 800; }
.content { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .86); }
.content > * + * { margin-top: 1em; }
.content h2 { font-size: 26px; font-weight: 800; margin-top: 1.6em; }
.content h3 { font-size: 20px; font-weight: 800; margin-top: 1.4em; }
.content ul, .content ol { padding-left: 1.3em; }
.content img { border-radius: 12px; }
.prewrap { white-space: pre-line; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* Zwei-Klick-Einbettungen (Datenschutz) */
.consent { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--card2); display: flex; align-items: center; justify-content: center; }
.consent > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.consent__box { position: relative; max-width: 460px; text-align: center; padding: 24px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.consent__box p { font-size: 14px; color: var(--muted); }
.consent iframe, .consent .map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent--map { aspect-ratio: 16 / 10; }

.affiliate-note { font-size: 13px; color: var(--soft); }

/* ---------- Linkseite ---------- */
.links-page { max-width: 560px; margin: 0 auto; padding: 56px 20px 72px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.links-page .avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; background: var(--card2); }
.links-page .avatar img { width: 100%; height: 100%; object-fit: cover; }
.links-page h1 { font-size: 28px; font-weight: 900; letter-spacing: .04em; }
.links-page .group { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.link-btn { display: block; background: var(--card); color: var(--text); text-decoration: none; font-weight: 800; padding: 17px 20px; border-radius: 16px; border: 2px solid var(--line); }
.link-btn:hover { border-color: var(--gold); color: var(--text); }
.link-btn--accent { background: var(--k-accent, var(--gold)); color: var(--k-on, var(--bg)); border-color: transparent; }
.link-btn--accent:hover { color: var(--k-on, var(--bg)); filter: brightness(1.08); border-color: transparent; }

/* ---------- Fuß ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; font-size: 14px; color: var(--soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer a { color: rgba(255, 255, 255, .8); display: inline-block; padding-block: 10px; }
.site-footer .version { font-size: 13px; color: rgba(255, 255, 255, .6); }

@media (max-width: 600px) {
  .section { padding-block: 56px; }
  .hero { padding-block: 56px; }
  .hero--frei { padding-bottom: 0; }
  .panel { padding: 24px; }
  .facts:not(.facts--kompakt) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .hero--foto .hero__text { padding-bottom: 0; }
  .hero__foto { max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
 * Tour-Seite (v1.7): alles auf einer Breite, Text gut lesbar
 * ======================================================= */
.tourseite { max-width: 928px; } /* 880 px Inhalt + Rand */
.tour { display: flex; flex-direction: column; gap: 28px; padding-bottom: 64px; }
.abschnitt { scroll-margin-top: calc(76px + var(--wp-admin--admin-bar--height, 0px)); }
.lesen { font-size: 19px; line-height: 1.7; }

/* Datenleiste */
.datenleiste { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.datenleiste .fact { padding: 14px 16px; }
.datenleiste .fact strong { font-size: 22px; }
.fact__zusatz { display: block; font-size: 13px; color: var(--soft); margin-top: 2px; }

/* Veranstaltungs-Leiste */
.vstreifen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; background: var(--card); border: 2px solid var(--gold); border-radius: var(--radius); padding: 14px 20px; }
.vstreifen__termin { color: var(--soft); }
.vstreifen__termin b { color: var(--text); white-space: nowrap; }
.vstreifen a { margin-left: auto; font-weight: 700; text-decoration: none; }

/* Sprungleiste */
.sprung { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; background: rgba(12, 14, 18, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-inline: -24px; padding: 10px 24px; }
.sprung::-webkit-scrollbar { display: none; }
.sprung a { flex: 0 0 auto; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.sprung a:hover { color: var(--text); background: var(--card); }
.sprung a[aria-current="true"] { background: var(--gold); color: var(--bg); }

/* Kästen */
.tour .box h2 { font-size: 22px; }
.label-klein { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.nachmachen p { margin: 0; }
.nachmachen .ort { font-size: 18px; font-weight: 700; }
.nachmachen .koord { font-size: 14px; margin-top: 6px; }
.nachmachen .klein { font-size: 13px; }
.link-knopf { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; text-decoration: underline; cursor: pointer; }
.details { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.details dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.details dd { margin: 0; font-weight: 700; }
.knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.knoepfe .btn { width: 100%; }

/* Training */
.tws { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tw { background: var(--card2); border-radius: 12px; padding: 12px 14px; }
.tw small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.tw strong { font-size: 19px; }
.tw .kurz { display: none; }
.zbalken { display: flex; height: 22px; border-radius: 11px; overflow: hidden; gap: 2px; }
.zbalken i { display: block; min-width: 4px; }
.zlegende { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.zl { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--soft); white-space: nowrap; }
.zl b, .zl strong { color: var(--text); }
.zl strong { font-size: 15px; }
.zl__bpm { font-size: 12px; }
.zl__farbe { width: 10px; height: 10px; border-radius: 3px; margin-top: 4px; flex-shrink: 0; }

/* Fotos und Hinweis */
.tourseite .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fusshinweis { font-size: 13px; color: var(--soft); border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }

/* Stufe „Für wen?“ */
.stufe { display: inline-flex; gap: 3px; vertical-align: 1px; }
.stufe i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; }
.stufe i.an { background: currentColor; opacity: 1; }
.stufe--1 { color: #4ADE80; } .stufe--2 { color: #A3E635; } .stufe--3 { color: #FDE68A; } .stufe--4 { color: #FB923C; } .stufe--5 { color: #F87171; }
.stufe-abz { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .08); color: #fff; border-radius: 999px; padding: 3px 10px 3px 8px; letter-spacing: .1em; }
.filter--klein { margin-top: 2px; align-items: center; }
.filter--klein a { font-size: 13px; padding: 7px 12px; display: inline-flex; align-items: center; gap: 6px; }
.filter__titel { font-size: 13px; font-weight: 700; color: var(--soft); margin-right: 2px; }

/* Eingefügte Fremdformatierung im Text ignorieren (gleichmäßige Zeilen) */
.content p, .content li { line-height: 1.7 !important; }
.content span, .content font { font-size: inherit !important; line-height: inherit !important; font-family: inherit !important; }
.content p[style], .content li[style], .content h2[style], .content h3[style] { font-size: inherit; font-family: inherit !important; }
.content [style*="background"] { background: none !important; }
.content [style*="color"]:not(.has-text-color) { color: inherit !important; }

/* Lightbox: Infozeile, Mini-Strecke, Höhenprofil */
.lb__info { color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-align: center; font-variant-numeric: tabular-nums; }
.lb__bild { position: relative; display: flex; justify-content: center; }
.lb__mini { position: absolute; right: 10px; bottom: 10px; width: 120px; height: 120px; background: rgba(12, 14, 18, .72); border-radius: 12px; padding: 8px; }
.lb__mini[hidden], .lb__profil[hidden], .lb__info[hidden] { display: none; }
.lb__profil { width: min(640px, 100%); height: 52px; }

@media (max-width: 760px) {
  .lesen { font-size: 18px; }
  .datenleiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .datenleiste .fact strong { font-size: 19px; }
  .sprung { margin-inline: -16px; padding-inline: 16px; }
  .vstreifen a { margin-left: 0; }
  .tws { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw .lang { display: none; }
  .tw .kurz { display: inline; }
  .zlegende { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tourseite .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lb__mini { width: 84px; height: 84px; right: 6px; bottom: 6px; }
}

.kartenpark { background: none; border: 0; }
.kartenpark span { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: #2563EB; color: #fff; font: 800 16px/1 Inter, sans-serif; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }

/* Kartenstile (Marino → Karte) */
.karte--hell .leaflet-tile-pane { filter: saturate(.35) brightness(1.06) contrast(.92); }
.karte--dunkel .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.6); }
.karte--dunkel { background: #1C2027; }

/* Kasten „Fragen? Schreib's unter das Video“ */
.yt-kasten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--card); border-radius: var(--radius); border-left: 4px solid #FF0033; padding: 22px 24px; }
.yt-kasten h2 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.yt-kasten p { margin: 0; color: var(--muted); }
.btn--yt { background: #FF0033; color: #fff; }
.btn--yt:hover { background: #E0002D; color: #fff; }

/* =========================================================
   v1.9.0 – Handy-Menü, Filter, „Für wen“
   ========================================================= */
.menu-knopf { display: none; }
.filterblock { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.filterblock .filter--klein { margin-top: 0; }
.filterblock .filter__titel { min-width: 64px; }
.filter--klein a .sport-icon { width: 15px; height: 15px; }
.filter a[aria-current="true"] .stufe { color: var(--bg); }
.fuerwen__stufe { margin: 2px 0 6px !important; }
.fuerwen__stufe .stufe-abz { font-size: 14px; letter-spacing: 0; padding: 5px 12px 5px 10px; }

@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  /* Menü als Knopf */
  .site-header .wrap { flex-wrap: wrap; padding-block: 14px; gap: 0; }
  .js .menu-knopf { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; background: var(--card); color: var(--text); border: 2px solid var(--line2); border-radius: 12px; padding: 9px 14px; font: 700 15px/1 Inter, sans-serif; cursor: pointer; }
  .menu-knopf__striche { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
  .menu-knopf__striche i { height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-offen .menu-knopf__striche i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-offen .menu-knopf__striche i:nth-child(2) { opacity: 0; }
  .menu-offen .menu-knopf__striche i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .js .main-nav { display: none; width: 100%; }
  .js.menu-offen .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding-top: 10px; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding-block: 14px; font-size: 17px; }

  /* Übersichten kompakter */
  .page-head { padding-block: 40px 20px; gap: 10px; }
  .page-head .lead { font-size: 16px; }

  /* Filter: eine Zeile je Gruppe, seitlich wischen */
  .filter { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; gap: 8px; scroll-padding-inline: 16px; }
  .filter::-webkit-scrollbar { display: none; }
  .filter a { flex: none; white-space: nowrap; font-size: 13px; padding: 7px 12px; border-radius: 10px; }
  .filter__titel { flex: none; align-self: center; font-size: 12px; }
  .filterblock { gap: 8px; }
  .filterblock .filter__titel { min-width: 0; }
}

/* =========================================================
   v2.0.0 – Trainingstagebuch
   ========================================================= */
.tagebuch { padding-bottom: 80px; display: flex; flex-direction: column; gap: 24px; }
.tagebuch .page-head { padding-bottom: 8px; }
.tb-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.tb-kopf h2 { font-size: 22px; font-weight: 800; margin: 0; }
.tb-kopf--diagramm { align-items: flex-start; }
.tb-kopf--diagramm > div:first-child { display: flex; flex-direction: column; }
.tb-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tb-klein { font-size: 14px; margin: 0; }
.tb-klein b { color: var(--text); }
.tb-auswahlwerte { display: flex; gap: 18px; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.tb-balken { height: 200px; display: flex; align-items: flex-end; gap: 3px; border-bottom: 1px solid var(--line2); }
.tb-balken button { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; background: none; border: 0; padding: 0; cursor: pointer; }
.tb-balken button i { display: block; width: 100%; background: var(--gold); border-radius: 3px 3px 0 0; min-height: 2px; }
.tb-balken button:hover i { background: var(--gold-hover); }
.tb-balken button[aria-pressed="true"] i { background: #fff; }
.tb-balken--monat { gap: 10px; }
.tb-achse { display: flex; gap: 3px; font-size: 12px; color: var(--soft); height: 18px; margin-top: -8px; }
.tb-achse span { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: visible; }
.tb-achse--monat { gap: 10px; }
.tb-achse--monat span { text-align: center; }
.tb-schalter { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; }
.filter button { flex: none; white-space: nowrap; font: 700 14px/1.2 Inter, sans-serif; color: var(--text); background: var(--card); border: 2px solid var(--line2); padding: 9px 14px; border-radius: 12px; cursor: pointer; }
.filter--klein button { font-size: 13px; padding: 7px 12px; }
.filter button[aria-pressed="true"] { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.tb-zweier { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tb-zahlen { flex: 1 1 340px; min-width: 0; }
.tb-zuletzt { flex: 999 1 520px; min-width: 0; }
.tb-zahlen h2 { font-size: 22px; font-weight: 800; margin: 0; }
.tb-zahlen table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tb-zahlen th[scope="colgroup"] { text-align: left; padding: 16px 0 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tb-zahlen tbody tr:first-child th { padding-top: 4px; }
.tb-zahlen td { padding: 8px 0; border-top: 1px solid var(--line); }
.tb-zahlen td:first-child { color: var(--muted); }
.tb-zahlen td:last-child { text-align: right; font-weight: 700; }
.tb-zahlen select { font: 700 14px Inter, sans-serif; background: var(--card2); color: var(--text); border: 2px solid var(--line2); border-radius: 8px; padding: 3px 8px; margin-left: 8px; letter-spacing: 0; }
.tb-liste { display: flex; flex-direction: column; }
.tb-zeile { display: flex; align-items: center; gap: 14px; padding: 10px; margin: 0 -10px; border-radius: 12px; color: var(--text); text-decoration: none; }
a.tb-zeile:hover { background: var(--card2); color: var(--text); }
.tb-zeile + .tb-zeile { border-top: 1px solid var(--line); }
.tb-zeile__bild { flex: none; width: 64px; height: 64px; border-radius: 10px; background: var(--card2); display: flex; align-items: center; justify-content: center; color: var(--soft); }
.tb-zeile__bild .sport-icon { width: 24px; height: 24px; }
.tb-zeile__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tb-zeile__text strong { font-weight: 800; }
.tb-zeile__text .badge { font-size: 11px; padding: 2px 7px; vertical-align: 2px; }
.tb-zeile__text small { color: var(--soft); font-size: 13px; }
.tb-zeile__werte { display: grid; grid-template-columns: repeat(3, 76px); gap: 6px; text-align: right; font-variant-numeric: tabular-nums; font-size: 15px; color: var(--muted); }
.tb-zeile__werte b { color: var(--text); }
.tb-tabelle-box { overflow-x: auto; }
.tb-tabelle { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 560px; }
.tb-tabelle th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); padding: 6px 8px 6px 0; }
.tb-tabelle td { padding: 8px 8px 8px 0; border-top: 1px solid var(--line); }
.tb-tabelle .r { text-align: right; }

/* Leiste auf /touren/ */
.tb-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; background: var(--card); border-radius: var(--radius); padding: 16px 22px; margin-top: 6px; color: var(--text); text-decoration: none; }
.tb-leiste:hover { color: var(--text); background: var(--card2); }
.tb-leiste__titel { display: flex; flex-direction: column; line-height: 1.3; }
.tb-leiste__titel b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tb-leiste__titel small { color: var(--soft); font-size: 13px; }
.tb-leiste__werte { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--soft); font-variant-numeric: tabular-nums; flex: 1 1 auto; }
.tb-leiste__werte b { color: var(--text); font-size: 20px; font-weight: 800; }
.tb-leiste__balken { display: flex; align-items: flex-end; gap: 3px; height: 36px; }
.tb-leiste__balken i { width: 6px; background: var(--gold); border-radius: 2px; }
.tb-leiste__balken i.jetzt { background: #fff; }
.tb-leiste__mehr { font-size: 14px; font-weight: 700; color: var(--gold); }

/* Startseite: Kanal „unterwegs“ */
.tb-kanal { display: flex; flex-direction: column; gap: 2px; background: var(--card2); border-radius: 12px; padding: 12px 14px; color: var(--text); text-decoration: none; }
.tb-kanal:hover { color: var(--text); outline: 2px solid var(--gold); }
.tb-kanal small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.tb-kanal span { font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .tb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-balken { height: 150px; gap: 2px; }
  .tb-balken--monat { gap: 6px; }
  .tb-achse { gap: 2px; font-size: 10px; }
  .tb-achse--monat { gap: 6px; }
  .tb-auswahlwerte { font-size: 17px; gap: 12px; }
  .tb-zeile__bild { width: 48px; height: 48px; }
  .tb-zeile__bild .skizze { width: 48px; height: 48px; }
  .tb-zeile__werte { grid-template-columns: auto; gap: 0; font-size: 13px; }
  .tb-zeile__werte span { display: none; }
  .tb-leiste__balken, .tb-leiste__mehr { display: none; }
  .tb-leiste__werte b { font-size: 17px; }
}

/* v2.0.1 – Leiste auf der Startseite */
.tb-start { margin-bottom: 20px; }
.tb-leiste--start { margin-top: 0; border: 2px solid var(--line2); }
.tb-leiste--start:hover, .tb-leiste--start:focus-visible { border-color: var(--gold); }
@media (max-width: 760px) {
  .tb-leiste--start .tb-leiste__balken { display: flex; height: 28px; margin-left: auto; }
  .tb-leiste--start .tb-leiste__titel { flex-direction: row; align-items: baseline; gap: 8px; }
}

/* =========================================================
   v2.1.0 – Piktogramme, Veranstaltungen
   ========================================================= */
.pikto { display: block; flex: none; }
.tb-zeile__bild { position: relative; color: var(--text); }
.tb-zeile__bild .pikto { color: var(--gold); }
.tb-zeile__pikto { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--card); display: flex; align-items: center; justify-content: center; }
.tb-zeile__pikto .pikto { color: var(--gold); }
.tb-tabelle__name { display: flex; align-items: center; gap: 10px; }
.tb-tabelle__name .pikto { color: var(--gold); }

.dabei__label--termin, .badge--termin { background: transparent; color: var(--text); border: 2px solid var(--line2); }
.dabei__label--termin { padding: 3px 8px; }
.dabei__hinweis { color: var(--gold) !important; font-weight: 700; }

.reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--card); border-radius: var(--radius); padding: 16px 20px; margin-top: 8px; }
.reihe__titel { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-right: 6px; }
.reihe__punkt { font-size: 14px; padding: 7px 12px; border-radius: 10px; border: 2px solid var(--line2); color: var(--text); text-decoration: none; white-space: nowrap; }
a.reihe__punkt:hover { border-color: var(--gold); color: var(--text); }
.reihe__punkt[aria-current] { background: var(--gold); border-color: var(--gold); color: var(--bg); }
@media (max-width: 760px) {
  .tb-zeile__bild .pikto[width="30"] { width: 24px; height: 24px; }
  .tb-zeile__pikto { width: 20px; height: 20px; }
  .tb-zeile__pikto .pikto { width: 13px; height: 13px; }
}
.vstreifen--ruhig { border-color: var(--line2); }
.vstreifen a + a { margin-left: 0; }

/* ---------- 2.2: Kanal-Piktogramme, Fahrradpendeln, Fragen ---------- */
.channel__head { flex-direction: row; align-items: center; gap: 16px; }
.channel__name { display: flex; flex-direction: column; gap: 6px; }
.channel__pikto { width: 60px; height: 60px; flex: none; border-radius: 16px; background: rgba(0, 0, 0, .16); display: flex; align-items: center; justify-content: center; color: var(--k-on); }
.channel__body .pills { margin-top: 0; }
.channel__mehr { margin-top: auto; padding-bottom: 0; }
.channel--pendeln { color: var(--text); text-decoration: none; }
.channel--pendeln:hover, .channel--pendeln:focus-visible { color: var(--text); }
/* 2.2.1: ganze Kachel klickbar, Rahmen in Kanalfarbe, Köpfe gleich hoch */
.channel { position: relative; transition: box-shadow .15s; }
.channel:has(.channel__ziel):hover, .channel:has(.channel__ziel:focus-visible), .channel.channel__ziel:hover, .channel.channel__ziel:focus-visible { box-shadow: 0 0 0 2px var(--k-accent); }
.channel .channel__ziel::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.channel .pills, .channel .pill, .channel__body a:not(.channel__ziel) { position: relative; z-index: 2; }
.channel__ziel--still { position: static; }
.channel__head { min-height: 124px; box-sizing: border-box; }
.channel--pendeln .channel__mehr { color: var(--gold); }
.channel--pendeln .channel__head h3 { font-size: 30px; }
.pendel-mini { display: flex; flex-wrap: wrap; gap: 6px 14px; background: var(--card2); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-variant-numeric: tabular-nums; }

.vorschau-hinweis { margin-top: 24px; background: #2A2312; border-left: 4px solid var(--gold); border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.pendeln__kopf { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.pendeln__kopf > div { display: flex; flex-direction: column; gap: 14px; }
.pendeln__overline { display: flex; align-items: center; gap: 10px; }
.pendeln > section, .pendeln > .pendeln__zweier { margin-bottom: 24px; }
.pendeln__facts .fact strong { display: block; font-variant-numeric: tabular-nums; }
.fact__unter { display: block; margin-top: 2px; font-size: 13px; color: var(--soft); }
.fact .fact__unter { letter-spacing: 0; text-transform: none; font-weight: 400; }
.fact--gold strong { color: var(--gold); }
@media (min-width: 960px) { .pendeln__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pendeln__monate { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-top: 6px; }
.pendeln__monat { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.pendeln__monat i { display: block; width: 100%; max-width: 46px; min-height: 2px; background: var(--gold); border-radius: 6px 6px 2px 2px; }
.pendeln__wert { font-size: 12px; font-weight: 700; color: var(--soft); font-variant-numeric: tabular-nums; }
.pendeln__mname { font-size: 12px; color: var(--soft); }
.pendeln__zweier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pendeln__zweier--faq { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.pendeln__zweier--faq > :only-child { grid-column: 1 / -1; }
.pendeln__text { display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.box > p:not(.muted):not(.tb-klein) { color: var(--muted); }
.pendeln__notiz { display: flex; align-items: center; gap: 12px; background: var(--card2); border-radius: 12px; padding: 12px 14px; color: var(--gold); }
.pendeln__notiz span { color: var(--text); font-weight: 600; }
.pendeln__abschnitt { display: flex; flex-direction: column; gap: 18px; margin-top: 48px; }
.pendeln__h2 { font-size: 26px; font-weight: 900; }
.pendeln__setup { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.setup-karte { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 2px solid transparent; border-radius: var(--radius); padding: 14px; color: var(--text); text-decoration: none; }
.setup-karte:hover { color: var(--text); border-color: var(--gold); }
.setup-karte__bild { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--card2); }
.setup-karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.setup-karte strong { font-size: 17px; line-height: 1.3; }
.setup-karte .muted { font-size: 14px; }
.setup-karte__mehr { margin-top: auto; color: var(--gold); font-weight: 700; }

.rechner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-top: 48px; scroll-margin-top: 24px; }
.rechner__eingabe { display: flex; flex-direction: column; gap: 20px; }
.regler { display: flex; flex-direction: column; gap: 8px; }
.regler__kopf { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.regler__kopf b { color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.regler input[type="range"] { width: 100%; accent-color: var(--gold); }
.rechner__auto { display: flex; flex-direction: column; gap: 16px; background: var(--card); border-radius: 14px; padding: 16px; }
.rechner__ergebnis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.rechner__gross { grid-column: 1 / -1; background: var(--gold); color: var(--bg); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.rechner__gross small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rechner__gross strong { font-size: clamp(34px, 5vw, 48px); font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; }
.rechner__ergebnis .fact strong { font-variant-numeric: tabular-nums; }
.rechner__ergebnis p { grid-column: 1 / -1; }

.pendeln__videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.video-karte { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; }
.video-karte:hover { color: var(--gold); }
.video-karte__bild { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; background: linear-gradient(135deg, #1C2027, #2A2E36); display: flex; align-items: center; justify-content: center; }
.video-karte__bild .badge { position: absolute; left: 12px; top: 12px; }

.faq-liste { display: flex; flex-direction: column; }
.faq { border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.faq summary, .frage-stellen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker, .frage-stellen summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] > summary .faq__plus { transform: rotate(45deg); }
.faq__antwort { padding-bottom: 16px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.faq__von { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.faq:target { background: rgba(245, 196, 80, .06); }
.frage-stellen { margin-top: 8px; background: var(--card2); border-radius: 14px; padding: 0 16px; scroll-margin-top: 24px; }
.frage-stellen summary { font-weight: 500; }
.frage-stellen summary b { color: var(--gold); }
.frage-form { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; }
.frage-form__feld { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.frage-form__feld small { font-weight: 400; color: var(--soft); font-size: 13px; }
.frage-form input[type="text"], .frage-form input[type="email"], .frage-form textarea { font: 400 16px/1.5 Inter, sans-serif; color: var(--text); background: var(--bg); border: 2px solid var(--line2); border-radius: 10px; padding: 10px 12px; width: 100%; }
.frage-form input:focus, .frage-form textarea:focus { border-color: var(--gold); outline: none; }
.frage-form__zweier { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.frage-form__haken { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.frage-form__haken input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.frage-form__honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.frage-form .btn { align-self: flex-start; }
.frage-meldung { border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-weight: 600; }
.frage-meldung--ok { background: #17301F; color: #9BE3B0; }
.frage-meldung--fehler { background: #3A1A1A; color: #F5A3A3; }
.fragen-block { margin-block: 1.6em; }

.zeitleiste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.zeitleiste li { position: relative; padding: 0 0 18px 26px; display: flex; flex-direction: column; gap: 2px; color: var(--muted); }
.zeitleiste li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line2); }
.zeitleiste li::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.zeitleiste li:last-child::after { display: none; }
.zeitleiste li.ist-neu::before { background: var(--gold); }
.zeitleiste__wann { font-size: 13px; font-weight: 700; color: var(--gold); }

@media (max-width: 860px) {
  .pendeln__zweier, .pendeln__zweier--faq, .rechner { grid-template-columns: minmax(0, 1fr); }
  .rechner { padding: 20px; gap: 24px; }
  .frage-form__zweier { grid-template-columns: 1fr; }
  .pendeln__monate { gap: 4px; height: 120px; }
}

/* ---------- 2.2.4: Kopf beim Hochscrollen, Zurück-Links, Karten-Kopf, Selbst hin zweispaltig ---------- */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; background: rgba(12, 14, 18, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .25s ease; }
.kopf-weg .site-header { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }
.sprung { top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--kopf-h, 0px)); transition: top .25s ease; }
.kopf-weg .sprung { top: var(--wp-admin--admin-bar--height, 0px); }
.abschnitt, [id] { scroll-margin-top: calc(var(--kopf-h, 0px) + 70px); }
.sprung .sprung__zurueck { color: var(--gold); border-right: 1px solid var(--line); border-radius: 999px 0 0 999px; margin-right: 4px; }
.zurueck-link { margin: 8px 0 0; }

.card__datum { min-height: 1.4em; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--soft); font-variant-numeric: tabular-nums; margin-bottom: -6px; }

.selbst { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 32px; }
.selbst__spalte { display: flex; flex-direction: column; gap: 16px; }
.selbst__knopf { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.selbst__knopf .btn { width: 100%; }
@media (max-width: 720px) { .selbst__knopf p[aria-hidden] { display: none; } }
