/*
 * r26-crew.css — Crew-Landing /opener/ des Relaunch 2611 (SPEC-2611).
 * Vorlage: design/source/Seite-Crew.dc.html; alle Masse und Farben wortgetreu
 * aus dem Board. Geladen nur auf b2b/r26-opener.php (Enqueue in der Vorlage,
 * laeuft hinter relaunch.css); alle anderen Seiten bekommen es nie.
 * Handyregeln nach SPEC 8 (einspaltig, Trenner oben mit 24 px, nie links;
 * H1 52 px / H2 38 px uebernimmt relaunch.css). Wo die Boards das Handy nicht
 * abdecken (SPEC 8 praembel), regelt diese Datei: unten vermerkt.
 */

/* ---------- Held (Seite-Crew: Boden 120 px, h1 18 px unter dem Kicker) ---------- */

/* Held: Boden 120 px wie im Crew-Board (relaunch.css setzt 112 px generisch).
   Unter 860 px gilt wieder die Schale (64/72, SPEC 8.4) — deshalb min-width. */
@media ( min-width: 861px ) {
	body.ccc-rl-opener .rl-held { padding-bottom: 120px; }
}
body.ccc-rl .rl-held .h1 { margin-top: 18px; max-width: 1100px; }
body.ccc-rl .rl-held-einleitung { margin: 32px 0 0 0; font-size: 21px; line-height: 1.5; color: #b7c4c8; max-width: 660px; }
body.ccc-rl .rl-held-aktionen { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 40px; }
body.ccc-rl .rl-held-note { font-size: 15px; color: #8fa3aa; }
body.ccc-rl .rl-held-fussnote { font-size: 13px; color: #8fa3aa; margin-top: 48px; }
/* Kleintexte ohne Zeilenhoehe im Board: zurueck auf normal (bundle.css vererbt
   dem body 28 px, die Boards rechnen normal). Texte MIT Board-Zeilenhoehe
   (1.5/1.55/1.25/1.6) tragen sie oben schon. */
body.ccc-rl .rl-kicker,
body.ccc-rl .rl-held-note,
body.ccc-rl .rl-held-fussnote { line-height: normal; }

/* ---------- Zahlenreihe (Kosten, Lektionen, Zertifikat) ---------- */

body.ccc-rl .rl-stat { padding-top: 120px; padding-bottom: 120px; }
body.ccc-rl .rl-stat-raster { display: grid; grid-template-columns: repeat( 3, minmax( 0, 1fr ) ); border-top: 2px solid var(--ink); }
body.ccc-rl .rl-stat-zelle { padding: 26px 26px 0 0; }
body.ccc-rl .rl-stat-zelle-mitte { border-left: 1px solid rgba( 11, 38, 48, .14 ); padding: 26px 26px 0 26px; }
body.ccc-rl .rl-stat-n { font-size: 88px; font-weight: 850; line-height: 0.85; letter-spacing: -0.04em; }
/* Wortkachel (Zertifikat) statt Zahl: 10 Buchstaben passen in die Drittelspalte. */
body.ccc-rl .rl-stat-n-wort { font-size: clamp( 40px, 4.4vw, 64px ); line-height: 0.95; letter-spacing: -0.02em; }
body.ccc-rl .rl-stat-n-link { color: var(--signal-ink); }
body.ccc-rl .rl-stat-label { font-size: 22px; font-weight: 750; margin-top: 18px; }
body.ccc-rl .rl-stat-text { font-size: 17px; color: var(--ink-muted); line-height: 1.55; margin-top: 8px; }
body.ccc-rl .rl-stat-label { line-height: normal; }

/* ---------- Haken-Vergleich (Ink, durchgestrichen) ---------- */

body.ccc-rl .rl-haken-titel { margin: 16px 0 0 0; font-size: 72px; line-height: 0.96; font-weight: 850; letter-spacing: -0.03em; }
body.ccc-rl .rl-haken-text { margin: 28px 0 48px 0; font-size: 19px; line-height: 1.55; color: #b7c4c8; max-width: 720px; }
body.ccc-rl .rl-vergleich-kopf,
body.ccc-rl .rl-vergleich-zeile {
	display: grid;
	grid-template-columns: 200px minmax( 0, 1fr ) minmax( 0, 1fr );
	gap: 28px;
}
body.ccc-rl .rl-vergleich-kopf { padding-bottom: 14px; font-size: 14px; font-weight: 700; color: #8fa3aa; }
body.ccc-rl .rl-vergleich-wir-kopf { color: var(--signal); }
body.ccc-rl .rl-vergleich-zeile { padding: 24px 0; border-top: 1px solid rgba( 246, 248, 248, .16 ); align-items: baseline; }
body.ccc-rl .rl-vergleich-label { font-size: 15px; font-weight: 700; color: #8fa3aa; }
body.ccc-rl .rl-vergleich-markt { font-size: 19px; color: #8fa3aa; text-decoration: line-through; text-decoration-color: rgba( 143, 163, 170, .6 ); }
body.ccc-rl .rl-vergleich-wir { font-size: 20px; font-weight: 750; color: var(--paper); }
body.ccc-rl .rl-vergleich-kopf div,
body.ccc-rl .rl-vergleich-label,
body.ccc-rl .rl-vergleich-markt,
body.ccc-rl .rl-vergleich-wir { line-height: normal; }

/* ---------- Ausbildung (0.85/1.15 mit Gate-Bild) ---------- */

body.ccc-rl .rl-ausbildung { display: grid; grid-template-columns: minmax( 0, .85fr ) minmax( 0, 1.15fr ); gap: 72px; align-items: center; }
body.ccc-rl .rl-ausbildung-text { display: flex; flex-direction: column; gap: 20px; }
body.ccc-rl .rl-ausbildung-text .rl-kicker { color: var(--signal-ink); }
body.ccc-rl .rl-h56 { margin: 0; font-size: 56px; line-height: 1.0; font-weight: 800; letter-spacing: -0.03em; }
body.ccc-rl .rl-ausbildung-liste { display: flex; flex-direction: column; border-top: 1px solid rgba( 11, 38, 48, .14 ); }
body.ccc-rl .rl-ausbildung-punkt { padding: 16px 0; border-bottom: 1px solid rgba( 11, 38, 48, .14 ); font-size: 18px; line-height: normal; }
body.ccc-rl .rl-ausbildung-punkt-letzter { border-bottom: 0; }
body.ccc-rl .rl-ausbildung-bild { display: block; width: 100%; height: auto; }

/* ---------- Verdienstrechner (SPEC 2b, Hintergrund #e9eef0) ---------- */

body.ccc-rl .rl-rechner-band { background: #e9eef0; }
body.ccc-rl .rl-rechner-band .rl-kicker { color: var(--signal-ink); }
body.ccc-rl .rl-rechner-titel { margin: 16px 0 0 0; }
body.ccc-rl .rl-rechner { display: grid; grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr ); gap: 56px; margin-top: 48px; align-items: center; }
body.ccc-rl .rl-rechner-eingaben { display: flex; flex-direction: column; gap: 28px; }
body.ccc-rl .rl-presets { display: flex; gap: 10px; flex-wrap: wrap; }
body.ccc-rl .rl-preset {
	border-radius: 4px; padding: 12px 16px;
	font-family: inherit; font-size: 15px; font-weight: 700; line-height: normal;
	cursor: pointer; min-height: 48px; box-sizing: border-box;
	border: 1px solid #9fb0b6; background: #ffffff; color: var(--ink);
	transition: background .18s;
}
body.ccc-rl .rl-preset:hover { background: #eef3f4; }
body.ccc-rl .rl-preset.ist-aktiv { border-color: var(--ink); background: var(--ink); color: #ffffff; }
body.ccc-rl .rl-regler { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 700; line-height: normal; }
body.ccc-rl .rl-regler-wert { font-size: 22px; }
body.ccc-rl .rl-regler input { accent-color: var(--signal); width: 100%; }
body.ccc-rl .rl-rechner-karte { border-radius: 10px; padding: 48px 44px; display: flex; flex-direction: column; gap: 12px; }
body.ccc-rl .rl-rechner-label { font-size: 15px; font-weight: 600; color: #8fa3aa; line-height: normal; }
/* Ergebnis skaliert mit der Karte (relaunch.css setzt container-type), nie mit
   dem Fenster: „≈ 5.200 €“ passt von 320 bis 1920 px in eine Zeile. */
body.ccc-rl .rl-summe { font-size: clamp( 34px, 8vw, 96px ); font-size: clamp( 34px, 17cqi, 96px ); font-weight: 850; letter-spacing: -0.04em; line-height: 0.95; white-space: nowrap; }
body.ccc-rl .rl-hinweis { font-size: 16px; color: #b7c4c8; line-height: normal; }
body.ccc-rl .rl-rechner-fein { font-size: 13px; color: #8fa3aa; margin-top: 12px; line-height: normal; }

/* ---------- Von der Bewerbung bis zum ersten Auftrag (7 + tuerkise Kachel) ---------- */

body.ccc-rl .rl-weg { padding-top: 136px; padding-bottom: 112px; }
body.ccc-rl .rl-weg > .rl-h56 { margin: 0 0 24px 0; }
body.ccc-rl .rl-weg-raster { display: grid; grid-template-columns: repeat( 4, minmax( 0, 1fr ) ); column-gap: 28px; row-gap: 40px; margin-top: 24px; }
body.ccc-rl .rl-weg-schritt { padding: 28px 24px 32px 0; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
body.ccc-rl .rl-weg-n { font-size: 64px; font-weight: 850; line-height: 0.9; letter-spacing: -0.03em; }
body.ccc-rl .rl-weg-n-link { color: var(--signal-ink); }
body.ccc-rl .rl-weg-titel { font-size: 21px; font-weight: 750; }
body.ccc-rl .rl-weg-text { font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
body.ccc-rl .rl-weg-kachel {
	background: var(--signal); color: var(--ink); text-decoration: none;
	border-radius: 6px; padding: 28px 24px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
	/* Board rechnet content-box: 200 px Inhalt + 56 px Polster = 256 px
	   Gesamthoehe — sie traegt die zweite Rasterreihe (Messung b4). */
	min-height: 200px; box-sizing: content-box;
}
body.ccc-rl .rl-weg-kachel:hover { background: #12b3cb; color: var(--ink); }
body.ccc-rl .rl-weg-kachel-titel { font-size: 30px; font-weight: 850; line-height: 1.05; letter-spacing: -0.02em; }
body.ccc-rl .rl-weg-kachel-cta { font-size: 17px; font-weight: 700; }
body.ccc-rl .rl-weg-titel,
body.ccc-rl .rl-weg-kachel-cta { line-height: normal; }

/* ---------- Passt das zu dir (weiss, Strichlisten, Bedarfskasten) ---------- */

body.ccc-rl .rl-passt { background: #ffffff; }
body.ccc-rl .rl-passt-innen { padding-top: 120px; padding-bottom: 120px; }
body.ccc-rl .rl-passt-text { margin: 18px 0 40px 0; font-size: 19px; color: var(--ink-muted); }
body.ccc-rl .rl-passt-raster { display: grid; grid-template-columns: repeat( 3, minmax( 0, 1fr ) ); gap: 40px; }
body.ccc-rl .rl-passt-tile { display: flex; flex-direction: column; gap: 16px; padding-top: 26px; border-top: 2px solid var(--ink); }
body.ccc-rl .rl-passt-tile svg { flex: none; }
body.ccc-rl .rl-passt-frage { font-size: 24px; font-weight: 750; line-height: 1.25; }
body.ccc-rl .rl-passt-tag { font-size: 15px; font-weight: 700; color: var(--signal-ink); }
body.ccc-rl .rl-passt-text,
body.ccc-rl .rl-passt-tag { line-height: normal; }
body.ccc-rl .rl-brauchst { display: grid; grid-template-columns: 96px minmax( 0, 1fr ); gap: 28px; align-items: center; margin-top: 72px; background: #e9eef0; border-radius: 6px; padding: 30px 36px; }
body.ccc-rl .rl-brauchst svg { display: block; }
body.ccc-rl .rl-brauchst-titel { font-size: 20px; font-weight: 750; }
body.ccc-rl .rl-brauchst-text { font-size: 17px; line-height: 1.6; color: #2f4a54; margin-top: 6px; }
body.ccc-rl .rl-brauchst-titel { line-height: normal; }

/* ---------- CTA-Band (.rl-band aus relaunch.css; Crew: Marke 460/30) ---------- */

body.ccc-rl .rl-band-marke { top: 30px; width: 460px; }
body.ccc-rl .rl-band .h2l { font-weight: 850; max-width: 900px; }
body.ccc-rl .rl-band-aktionen { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 40px; }
body.ccc-rl .rl-band-note { font-size: 15px; color: #8fa3aa; line-height: normal; }

/* ---------- Handy (SPEC 8.2/8.4; Trenner oben mit 24 px, nie links) ---------- */

@media ( max-width: 860px ) {

	body.ccc-rl .rl-stat { padding-top: 72px; padding-bottom: 72px; }
	body.ccc-rl .rl-stat-raster { grid-template-columns: minmax( 0, 1fr ); }
	body.ccc-rl .rl-stat-zelle,
	body.ccc-rl .rl-stat-zelle-mitte { padding: 24px 0 0 0; border-left: 0; }
	body.ccc-rl .rl-stat-raster > * + * { border-top: 1px solid rgba( 11, 38, 48, .14 ); }

	body.ccc-rl .rl-haken-titel { font-size: 38px; line-height: 1.02; }
	body.ccc-rl .rl-h56 { font-size: 38px; }

	/* Vergleichszeilen untereinander; Kopfzeile ohne leere Marksspalte. */
	body.ccc-rl .rl-vergleich-kopf,
	body.ccc-rl .rl-vergleich-zeile { grid-template-columns: minmax( 0, 1fr ); gap: 6px; padding: 24px 0; }

	body.ccc-rl .rl-ausbildung { grid-template-columns: minmax( 0, 1fr ); gap: 48px; }

	body.ccc-rl .rl-rechner { grid-template-columns: minmax( 0, 1fr ); gap: 48px; }
	body.ccc-rl .rl-rechner-karte { padding: 40px 28px; }

	body.ccc-rl .rl-weg { padding-top: 72px; padding-bottom: 72px; }
	body.ccc-rl .rl-weg-raster { grid-template-columns: minmax( 0, 1fr ); row-gap: 40px; }

	body.ccc-rl .rl-passt-innen { padding-top: 72px; padding-bottom: 72px; }
	body.ccc-rl .rl-passt-raster { grid-template-columns: minmax( 0, 1fr ); gap: 24px; }
	body.ccc-rl .rl-brauchst { grid-template-columns: minmax( 0, 1fr ); gap: 24px; margin-top: 48px; padding: 24px 24px; }
}

/* ---------- Bewegung ---------- */

@media ( prefers-reduced-motion: reduce ) {
	body.ccc-rl .rl-preset,
	body.ccc-rl .rl-weg-kachel { transition: none !important; }
}

/* ---------- Kurzer Handy-Erstbildschirm (Auftrag 1.12., Punkt 4) ----------
 * /opener/ DE schob „Jetzt bewerben“ bei 320x568 auf 653 px: Kicker, H1,
 * Einleitung und der 32-px-Abstand darueber waren fuer 568 px zu hoch. Unter
 * 860 px Breite UND 700 px Hoehe folgen sie der Fensterhoehe (min(...,vh)).
 * Desktop (1366x657, 1920x960) liegt ueber 860 px Breite und bleibt unberuehrt. */
@media (max-width: 860px) and (max-height: 700px) {
	body.ccc-rl .rl-held { padding-top: 12px; padding-bottom: 28px; }
	body.ccc-rl .rl-held .rl-kicker { font-size: 13px; }
	body.ccc-rl .rl-held .h1 { margin-top: 8px; font-size: min( clamp( 28px, 9vw, 44px ), 7vh ); line-height: 0.98; }
	body.ccc-rl .rl-held .rl-held-einleitung { margin-top: 10px; font-size: 15px; line-height: 1.35; }
	body.ccc-rl .rl-held-aktionen { margin-top: 14px; gap: 10px; }
	body.ccc-rl .rl-held-note { font-size: 13px; }
	body.ccc-rl .rl-held-fussnote { margin-top: 16px; font-size: 12px; }
}
