/* Bikefit & Aero-Check – Gestaltung nach dem Brand Book (Entwurf A). Alles unter .plbf bzw. .plbf-seite. */

@font-face { font-family: "CS Santino"; src: url(fonts/cs-santino.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "CS Santino"; src: url(fonts/pl-sieben.ttf) format("truetype"); unicode-range: U+0037; font-display: swap; } /* eigene 7, siehe Theme basis.css */
@font-face { font-family: "Charleston"; src: url(fonts/charleston.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url(fonts/roboto-condensed.woff2) format("woff2"), url(fonts/roboto-condensed.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

.plbf-seite, .plbf {
	--schwarz: #000; --violett: #26214e; --lavendel: #aab0da; --rosa: #f39ea2; --gelb: #e7e45e;
	--hellblau: #d3dde7; --sand: #d7d3c9; --creme: #f4f6e9; --blau: #455795; --weiss: #fff;
	--f-titel: "CS Santino", "Arial Narrow", sans-serif;
	--f-hand: "Charleston", "Segoe Print", cursive;
	--f-text: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
.plbf-seite { margin: 0; background: var(--creme); color: var(--schwarz); font: 400 1.0625rem/1.55 var(--f-text); -webkit-font-smoothing: antialiased; }
.plbf-seite *, .plbf-seite *::before, .plbf-seite *::after, .plbf *, .plbf *::before, .plbf *::after { box-sizing: border-box; }
.plbf-seite img { max-width: 100%; height: auto; display: block; }
.plbf-seite a:not(.plbf-knopf) { color: inherit; }
.plbf-seite :focus-visible, .plbf :focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
.plbf-sprung { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--schwarz); color: var(--weiss); padding: 10px 16px; }
.plbf-sprung:focus { left: 8px; }

.plbf-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1040px; margin: 14px auto 0; padding: 12px 22px; background: var(--weiss); border-radius: 999px; box-shadow: 0 10px 40px rgb(0 0 0 / .08); width: calc(100% - 32px); }
.plbf-kopf__logo img { width: 170px; }
.plbf-kopf__zurueck { font: 700 .8rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
/* Hauptnavigation wie im Theme-Kopf (basis.css .kopf__nav), schmaler mit Menü-Knopf; das Menü klappt unter der Leiste auf */
.plbf-kopf { position: relative; z-index: 5; }
.plbf-kopf__nav ul { display: flex; gap: clamp(14px, 1.8vw, 26px); margin: 0; padding: 0; list-style: none; }
.plbf-kopf__nav a { display: block; padding: 8px 0; white-space: nowrap; font: 700 .82rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: color .15s ease; }
.plbf-kopf__nav a:hover, .plbf-kopf__nav a[aria-current="page"] { color: var(--blau); }
.plbf-kopf__nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.plbf-kopf__menue { display: none; }
@media (max-width: 900px) {
	.plbf-kopf__nav { display: none; }
	.plbf-kopf__nav.offen { display: block; position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px; background: var(--weiss); border-radius: 16px; box-shadow: 0 18px 50px rgb(0 0 0 / .18); }
	.plbf-kopf__nav.offen ul { flex-direction: column; gap: 4px; }
	.plbf-kopf__nav.offen a { padding: 12px 0; font-size: 1rem; }
	.plbf-kopf__menue { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; height: 34px; padding: 0 4px; background: none; border: 0; color: inherit; font: 700 .85rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
	.plbf-kopf__menue::before { content: ""; width: 22px; height: 12px; border-block: 2px solid currentColor; }
	.plbf-kopf__menue:hover { color: var(--blau); }
}

.plbf { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.plbf h1, .plbf h2, .plbf-seite h2 { margin: 0; font-family: var(--f-titel); font-weight: 400; line-height: .9; letter-spacing: .01em; text-wrap: balance; }
.plbf p, .plbf li { text-wrap: pretty; }
.plbf-etikett { display: inline-block; margin: 0 0 8px; font: 700 .78rem/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--blau); }
.plbf-unterzeile { margin: .15em 0 .8em; font: 400 clamp(1.1rem, 2vw, 1.5rem)/1.15 var(--f-hand); letter-spacing: -.03em; word-spacing: -.12em; text-transform: uppercase; color: var(--violett); text-wrap: balance; }
/* Charleston hat keine Umlaute und Akzente: Grundbuchstabe aus der Schrift, Punkte und Striche per CSS
   (PL_Bikefit::hand, die Schriftdatei bleibt unverändert). Werte gelten für Großbuchstaben. */
.plbf-zeichen { position: relative; }
.plbf-zeichen::before { content: attr(data-z); content: attr(data-z) / ""; }
.plbf-zeichen::after { content: ""; position: absolute; top: .2em; left: calc(50% + var(--x, .03em)); width: .08em; height: .08em; margin-left: calc(var(--abstand, .15em) / -2 - .04em); border-radius: 50%; background: currentColor; box-shadow: var(--abstand, .15em) 0 0 currentColor; }
.plbf-zeichen--a { --x: .035em; }
.plbf-zeichen--u { --abstand: .2em; }
.plbf-zeichen--akut::after { top: .05em; --x: .06em; width: .065em; height: .2em; margin-left: -.03em; border-radius: .04em; box-shadow: none; transform: rotate(38deg); }
.plbf-nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plbf-klein { font-size: .9rem; color: rgb(0 0 0 / .7); }

.plbf-start { padding: clamp(40px, 7vw, 80px) 0 28px; }
.plbf-start h1 { font-size: clamp(3.2rem, 9vw, 7rem); margin: 6px 0 .1em -.03em; }
.plbf-intro { max-width: 60ch; font-size: 1.15rem; }
.plbf-schutz { max-width: 70ch; margin-top: 20px; padding: 16px 18px; background: var(--lavendel); border-radius: 10px; }
.plbf-schutz strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }

.plbf-karte { margin: 0 0 22px; padding: clamp(20px, 3.5vw, 36px); background: var(--weiss); border-radius: 16px; box-shadow: 0 16px 50px rgb(0 0 0 / .05); }
.plbf-karte--leise { background: transparent; box-shadow: none; padding-inline: 0; }
.plbf-karte h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .1em; display: flex; align-items: baseline; gap: 12px; }
.plbf-nr { display: inline-grid; place-items: center; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--gelb); font-size: .6em; line-height: 1; }

.plbf-wahl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.plbf-wahl label { cursor: pointer; }
.plbf-wahl input { position: absolute; opacity: 0; }
.plbf-wahl span { display: inline-block; padding: 12px 18px; border: 2px solid var(--schwarz); border-radius: 999px; font: 700 .9rem/1 var(--f-text); letter-spacing: .06em; }
.plbf-wahl input:checked + span { background: var(--schwarz); color: var(--weiss); }
.plbf-wahl input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 3px; }

.plbf-anleitung { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; margin: 12px 0 18px; }
.plbf-skizze { width: 120px; color: var(--violett); }
.plbf-anleitung ul { margin: 0; padding-left: 1.1em; }
.plbf-anleitung li + li { margin-top: 4px; }

.plbf-knoepfe { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 0 0 12px; }
.plbf-knopf { position: relative; display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.4em; border: 2px solid var(--schwarz); background: var(--schwarz); color: var(--weiss); font: 700 .85rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.plbf-knopf--hell { background: transparent; color: var(--schwarz); }
.plbf-knopf:not(:disabled):hover { transform: translateY(-2px); }
.plbf-knopf--hell:not(:disabled):hover { background: var(--schwarz); color: var(--weiss); }
.plbf-knopf:disabled { opacity: .4; cursor: not-allowed; }
.plbf-datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.plbf-datei:focus-within { outline: 3px solid var(--blau); outline-offset: 3px; }
.plbf-feld { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.plbf-feld input { width: 5.5em; padding: 10px 8px; border: 2px solid var(--schwarz); font: 400 1rem/1 var(--f-text); }
.plbf-status { min-height: 1.4em; margin: 0 0 10px; color: var(--blau); font-weight: 700; }
.plbf-hinweis { font-size: .95rem; }

.plbf-bild { position: relative; margin: 8px 0 14px; border-radius: 10px; overflow: hidden; background: var(--sand); }
.plbf-bild--pinsel .plbf-punkte { touch-action: none; cursor: crosshair; }
.plbf-bild canvas { display: block; width: 100%; height: auto; }
.plbf-punkte { position: absolute; inset: 0; }
.plbf-griff { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 3px solid var(--weiss); border-radius: 50%; background: var(--blau); box-shadow: 0 2px 8px rgb(0 0 0 / .4); cursor: grab; touch-action: none; }
.plbf-griff:active { cursor: grabbing; transform: scale(1.15); }
.plbf-griff--marke { background: #e03a3e; }
.plbf-griff__text { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); padding: 3px 6px; border-radius: 4px; background: rgb(0 0 0 / .75); color: var(--weiss); font: 700 .7rem/1 var(--f-text); letter-spacing: .06em; white-space: nowrap; pointer-events: none; }
.plbf-pinsel { margin: 4px 0 10px; padding: 14px 16px; border-radius: 10px; background: var(--creme); }
.plbf-pinsel__text { margin: 0 0 10px; font-size: .95rem; }
.plbf-pinsel__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plbf-knopf--klein { padding: .7em 1em; font-size: .72rem; }
.plbf-knopf[aria-pressed="true"] { background: var(--schwarz); color: var(--weiss); }
.plbf-feld--klein { font-size: .9rem; }
.plbf-feld select { padding: 8px 6px; border: 2px solid var(--schwarz); background: var(--weiss); font: 400 .95rem/1 var(--f-text); }
.plbf-warnung { padding: 12px 14px; border-radius: 8px; background: var(--rosa); font-weight: 700; }

.plbf-werte { list-style: none; margin: 8px 0 12px; padding: 0; }
.plbf-wert, .plbf-werte--aero li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgb(0 0 0 / .12); }
.plbf-werte--aero li { grid-template-columns: minmax(0, 1fr) auto; }
.plbf-wert__name { font-weight: 700; }
.plbf-wert__zahl { font: 400 1.7rem/1 var(--f-titel); }
.plbf-wert__bereich { font-size: .85rem; color: rgb(0 0 0 / .65); }
.plbf-wert__ampel { padding: 5px 10px; border-radius: 999px; font: 700 .72rem/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.plbf-wert--gut .plbf-wert__ampel { background: #cfe8c9; color: #1d4d17; }
.plbf-wert--knapp .plbf-wert__ampel { background: var(--gelb); color: var(--schwarz); }
.plbf-wert--pruefen .plbf-wert__ampel { background: var(--rosa); color: var(--schwarz); }
.plbf-tipp { grid-column: 1 / -1; margin: 4px 0 0; font-size: .95rem; }

.plbf-cda { display: grid; gap: 2px; margin: 6px 0 10px; }
.plbf-cda strong { font: 400 clamp(2.6rem, 7vw, 4rem)/1 var(--f-titel); }
.plbf-vergleich { padding: 16px 18px; border-radius: 10px; }
.plbf-vergleich--besser { background: #cfe8c9; }
.plbf-vergleich--schlechter { background: var(--rosa); }

.plbf-mehr { max-width: 1040px; margin: 0 auto 22px; padding: clamp(24px, 4vw, 44px) 16px; }
.plbf-mehr h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.plbf-links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.plbf-links a { display: block; height: 100%; padding: 14px 16px; background: var(--weiss); border-radius: 10px; font-weight: 700; text-decoration: none; }
.plbf-links a:hover { text-decoration: underline; }
.plbf-links .plbf-etikett { display: block; }
.plbf-extern::after { content: " ↗"; }
.plbf-club { max-width: 1040px; width: calc(100% - 32px); margin: 0 auto 22px; padding: clamp(24px, 5vw, 56px); background: var(--gelb); border-radius: 16px; }
.plbf-club__raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.plbf-club h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 6px 0 .06em; }
.plbf-club .plbf-unterzeile { margin-bottom: 18px; }
.plbf-club__liste { list-style: none; margin: 0 0 26px; padding: 0; }
.plbf-club__liste li { position: relative; padding: 11px 0 11px 42px; border-top: 1.5px solid var(--schwarz); font-size: 1.05rem; line-height: 1.4; }
.plbf-club__liste li:last-child { border-bottom: 1.5px solid var(--schwarz); }
.plbf-club__liste li::before { content: ""; position: absolute; left: 0; top: 16px; width: 28px; height: 13px; background: currentColor; -webkit-mask: url(el-fast.svg) center / contain no-repeat; mask: url(el-fast.svg) center / contain no-repeat; }
.plbf-club__bild { position: relative; margin: 0; }
.plbf-club__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; border-radius: 10px; }
.plbf-club__bild figcaption { margin-top: 6px; font-size: .75rem; color: rgb(0 0 0 / .6); }
.plbf-smiley { position: absolute; left: -38px; bottom: 44px; width: 100px; aspect-ratio: 126 / 118; background: var(--schwarz); -webkit-mask: url(el-smiley.svg) center / contain no-repeat; mask: url(el-smiley.svg) center / contain no-repeat; transform: rotate(-12deg); }
.plbf-werbung { display: inline-block; margin-right: 8px; padding: 3px 6px; border: 1.5px solid currentColor; font-size: .62rem; vertical-align: 1px; color: var(--schwarz); }

.plbf-fuss { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; padding: 36px 16px 48px; font-size: .9rem; }

@media (max-width: 800px) {
	.plbf-club__raster { grid-template-columns: 1fr; }
	.plbf-club__bild img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
	.plbf-smiley { left: auto; right: 10px; bottom: auto; top: -36px; width: 76px; }
}
@media (max-width: 640px) {
	.plbf-anleitung { grid-template-columns: 1fr; }
	.plbf-skizze { width: 96px; }
	.plbf-wert { grid-template-columns: minmax(0, 1fr) auto; }
	.plbf-wert__bereich { grid-column: 1; }
	.plbf-wert__ampel { grid-column: 2; grid-row: 1; justify-self: end; }
	.plbf-wert__zahl { grid-column: 2; }
	.plbf-kopf__logo img { width: 140px; }
}
@media (prefers-reduced-motion: reduce) { .plbf * { transition: none !important; animation: none !important; } }
