/*
 * r26-seiten.css — Abschnittstile der drei Kundenseiten des Relaunch 2611
 * (SPEC-2611, Abschnitte 4 und 8): /so-arbeiten-wir/ (Seite-Ablauf),
 * /unsere-opener/ (Seite-Opener), /einblick/ (Seite-Einblick).
 *
 * Geladen nur auf diesen drei Vorlagen (Enqueue in den Vorlagen selbst, laeuft
 * nach relaunch.css); Startseite, Crew-Seiten und Bewerbung bekommen es nie.
 * Alle Masse und Farben wortgetreu aus den Boards; Handyregeln nach SPEC 8
 * (einspaltig, Trenner oben mit 24 px, nie links; H1/H2-Groessen uebernimmt
 * relaunch.css). Ergaenzungen zu relaunch.css stehen hier absichtlich nochmal,
 * damit die Datei fuer sich lesbar bleibt.
 */

/* ---------- Held mit Einleitung (alle drei Seiten) ---------- */

body.ccc-rl .rl-einleitung { margin: 32px 0 0 0; font-size: 20px; line-height: 1.55; color: #b7c4c8; max-width: 640px; }

/* Held der Einblick-Seite: kein Bodenabstand, das Bild ragt in den naechsten
   Abschnitt hinein (Board: margin-bottom -96 px, Folgabschnitt 200 px oben). */
body.ccc-rl .rl-held-ohne-boden { padding-bottom: 0; }
body.ccc-rl .rl-held-bild { position: relative; margin-top: 72px; margin-bottom: -96px; }
body.ccc-rl .rl-held-bild img { display: block; width: 100%; max-width: 992px; height: auto; margin-left: auto; }
body.ccc-rl .rl-einblick-folg { padding-top: 200px; }

/* ---------- Zeilenhoehen der kleinen Texte ----------
   Die Boards setzen fuer diese Texte keine Zeilenhoehe (Rendern auf normal).
   bundle.css gibt aber dem body line-height 28 px, und die vererbt bis hierher.
   Zurueck auf normal, damit die Seiten rendert wie die Boards. */

body.ccc-rl .rl-kicker,
body.ccc-rl .rl-band-note,
body.ccc-rl .rl-nummer,
body.ccc-rl .rl-nummer-text,
body.ccc-rl .rl-zahl-label,
body.ccc-rl .rl-pruefung-titel,
body.ccc-rl .rl-kliste-titel,
body.ccc-rl .rl-kliste-text,
body.ccc-rl .rl-bild-text,
body.ccc-rl .rl-bild-text-ink,
body.ccc-rl .zeile-marke { line-height: normal; }

/* ---------- Schritte mit Strichliste (Seite-Ablauf) ---------- */

body.ccc-rl .rl-pad-b112 { padding-bottom: 112px; }
body.ccc-rl .rl-schritt {
	display: grid;
	grid-template-columns: 120px 380px minmax( 0, 1fr );
	gap: 32px;
	padding: 36px 0;
	border-top: 1px solid rgba( 11, 38, 48, .14 );
	align-items: start;
}
body.ccc-rl .rl-schritt-titel { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
body.ccc-rl .rl-schritt-text { font-size: 18px; line-height: 1.6; color: #2f4a54; max-width: 58ch; }

/* ---------- Recherche, optional (Seite-Ablauf) ---------- */

body.ccc-rl .rl-optional { background: #e9eef0; }
body.ccc-rl .rl-optional-grid { display: grid; grid-template-columns: minmax( 0, .9fr ) minmax( 0, 1.1fr ); gap: 72px; align-items: center; }
body.ccc-rl .rl-optional-text { display: flex; flex-direction: column; gap: 20px; }
body.ccc-rl .rl-optional .rl-kicker { color: var(--signal-ink); }
body.ccc-rl .rl-optional-text p { margin: 0; font-size: 18px; line-height: 1.6; color: #2f4a54; }
body.ccc-rl .rl-h56 { font-size: 56px; }
body.ccc-rl .rl-nummern { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
body.ccc-rl .rl-nummer-zeile { padding: 22px 0; border-bottom: 1px solid rgba( 11, 38, 48, .14 ); display: flex; gap: 18px; align-items: baseline; }
body.ccc-rl .rl-nummer-zeile-letzter { border-bottom: 0; }
body.ccc-rl .rl-nummer { font-size: 40px; font-weight: 800; color: var(--signal-ink); }
body.ccc-rl .rl-nummer-text { font-size: 20px; font-weight: 700; }

/* ---------- Zahlung nach Ergebnis (Seite-Ablauf) ---------- */

body.ccc-rl .rl-zahl-titel { margin: 0 0 40px 0; max-width: 900px; }
body.ccc-rl .rl-zahlen { display: grid; grid-template-columns: repeat( 4, minmax( 0, 1fr ) ); gap: 0; border-top: 2px solid var(--ink); }
body.ccc-rl .rl-zahl { padding: 24px 22px 0 0; }
body.ccc-rl .rl-zahl-mitte { padding: 24px 22px 0 22px; border-left: 1px solid rgba( 11, 38, 48, .14 ); }
body.ccc-rl .rl-zahl-letzter { padding: 24px 0 0 22px; border-left: 1px solid rgba( 11, 38, 48, .14 ); }
body.ccc-rl .rl-zahl-n { font-size: 72px; font-weight: 800; line-height: 0.9; }
body.ccc-rl .rl-zahl-n-offen { color: var(--signal-ink); }
body.ccc-rl .rl-zahl-label { font-size: 20px; font-weight: 700; margin-top: 14px; }
body.ccc-rl .rl-zahl-text { margin: 40px 0 0 0; font-size: 18px; line-height: 1.6; color: #2f4a54; max-width: 62ch; }

/* ---------- CTA-Band (alle drei Seiten; .rl-band kommt aus relaunch.css) ---------- */

/* Boards der Unterseiten: Marke 460 px breit, 30 px oben (relaunch.css: 520/40
   fuer die Startseite). */
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; }

/* ---------- Zeilen 320 px + Text (Seite-Opener, Seite-Einblick; .zeile aus relaunch.css) ---------- */

body.ccc-rl .rl-zeilen-titel { margin: 0 0 24px 0; max-width: 900px; }
body.ccc-rl .zeile-marke { font-size: 22px; font-weight: 750; color: var(--ink); }
body.ccc-rl .rl-zeile-text { font-size: 18px; line-height: 1.6; color: #2f4a54; max-width: 62ch; }

/* ---------- Pruefung in drei Teilen (Seite-Opener) ---------- */

body.ccc-rl .rl-pruefungen { display: grid; grid-template-columns: repeat( 3, minmax( 0, 1fr ) ); gap: 0; border-top: 2px solid var(--ink); }
body.ccc-rl .rl-pruefung { padding: 26px 26px 0 26px; border-left: 1px solid rgba( 11, 38, 48, .14 ); }
body.ccc-rl .rl-pruefung-erst { padding-left: 0; border-left: 0; }
body.ccc-rl .rl-pruefung-letzter { padding-right: 0; }
body.ccc-rl .rl-pruefung-n { font-size: 120px; font-weight: 800; line-height: 0.85; letter-spacing: -0.04em; }
body.ccc-rl .rl-pruefung-n-offen { color: var(--signal-ink); }
body.ccc-rl .rl-pruefung-titel { font-size: 24px; font-weight: 750; margin-top: 18px; }
body.ccc-rl .rl-pruefung-text { font-size: 17px; color: #4f6570; line-height: 1.55; margin-top: 8px; }

/* ---------- Bildbloecke (Seite-Opener) ---------- */

body.ccc-rl .rl-bild img { display: block; width: 100%; height: auto; }
body.ccc-rl .rl-bild-gate { margin-top: 80px; }
body.ccc-rl .rl-bild-gate img { max-width: 980px; margin-left: auto; }
body.ccc-rl .rl-bild-trainer { margin-top: 56px; }
body.ccc-rl .rl-bild-trainer img { max-width: 900px; }
body.ccc-rl .rl-bild-text { font-size: 14px; color: #6b7f87; margin-top: 12px; }

/* ---------- Academy, Bildstapel (Seite-Opener, Ink-Abschnitt) ---------- */

body.ccc-rl .rl-akademie { display: grid; grid-template-columns: minmax( 0, .85fr ) minmax( 0, 1.15fr ); gap: 72px; align-items: center; }
body.ccc-rl .rl-akademie-text { display: flex; flex-direction: column; gap: 20px; }
body.ccc-rl .rl-akademie-text p { margin: 0; font-size: 18px; line-height: 1.6; color: #b7c4c8; }
/* Zwei ueberlappende Screenshots wie im Board: Stapel 340 px hoch, Karten 78 %
   oben links, Anrufe 82 % unten rechts. */
body.ccc-rl .rl-stapel { position: relative; height: 340px; }
body.ccc-rl .rl-stapel img { position: absolute; display: block; height: auto; }
body.ccc-rl .rl-stapel img.rl-stapel-karten { left: 0; top: 0; width: 78%; }
body.ccc-rl .rl-stapel img.rl-stapel-sims { right: 0; bottom: 0; width: 82%; }

/* ---------- Werkzeuge (Seite-Einblick, Ink-Abschnitt) ---------- */

/* Titel ohne Bodenabstand (der Abstand sitzt im Raster darunter), Messung 900 px. */
body.ccc-rl .rl-werkzeuge-titel { max-width: 900px; }
body.ccc-rl .rl-werkzeuge { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; margin-top: 56px; align-items: start; }
body.ccc-rl .rl-werkzeuge img { display: block; width: 100%; height: auto; }
body.ccc-rl .rl-kliste { display: flex; flex-direction: column; border-top: 1px solid rgba( 246, 248, 248, .16 ); }
body.ccc-rl .rl-kliste-zeile { padding: 20px 0; border-bottom: 1px solid rgba( 246, 248, 248, .16 ); }
body.ccc-rl .rl-kliste-zeile-letzter { border-bottom: 0; }
body.ccc-rl .rl-kliste-titel { font-size: 20px; font-weight: 700; }
body.ccc-rl .rl-kliste-text { font-size: 16px; color: #b7c4c8; margin-top: 6px; }
body.ccc-rl .rl-bild-text-ink { font-size: 14px; color: #8fa3aa; margin-top: 18px; }

/* ---------- Handy (SPEC 8.2/8.3): einspaltig, Trenner oben, nie links ---------- */

@media ( max-width: 860px ) {

	/* Schritte: eine Spalte, 24 px Abstand oben/unten (SPEC 8.2). */
	body.ccc-rl .rl-schritt { grid-template-columns: minmax( 0, 1fr ); gap: 12px 0; padding: 24px 0; }

	/* Raster der Ablauf- und Openerseite: eine Spalte; Zellen 24 px oben,
	   Trennerlinie oben statt links, erste Zelle ohne (der Block hat schon
	   seine 2-px-Linie). */
	body.ccc-rl .rl-optional-grid,
	body.ccc-rl .rl-akademie { grid-template-columns: minmax( 0, 1fr ); gap: 48px; }
	body.ccc-rl .rl-zahlen,
	body.ccc-rl .rl-pruefungen { grid-template-columns: minmax( 0, 1fr ); }
	body.ccc-rl .rl-zahl,
	body.ccc-rl .rl-zahl-mitte,
	body.ccc-rl .rl-zahl-letzter,
	body.ccc-rl .rl-pruefung { padding: 24px 0 0 0; border-left: 0; }
	body.ccc-rl .rl-zahlen > * + *,
	body.ccc-rl .rl-pruefungen > * + * { border-top: 1px solid rgba( 11, 38, 48, .14 ); }

	/* Academy-Bildstapel: untereinander, 16 px Abstand (Auftrag SPEC 2). */
	body.ccc-rl .rl-stapel { height: auto; }
	body.ccc-rl .rl-stapel img.rl-stapel-karten,
	body.ccc-rl .rl-stapel img.rl-stapel-sims { position: static; width: 100%; }
	body.ccc-rl .rl-stapel img.rl-stapel-sims { margin-top: 16px; }

	/* SPEC 8.4: H2 38 px — auch fuer die 56-px-Variante der Unterseiten. */
	body.ccc-rl .rl-h56 { font-size: 38px; }

	/* Einblick-Heldbild: 160 % Breite im linksbuendigen Rahmen mit
	   overflow hidden, nie unter 100 % schrumpfen (SPEC 8.3). Kein Ueberlauf
	   in den Folgabschnitt; der steht dann im normalen 72-px-Abstand. */
	body.ccc-rl .rl-held-bild { overflow: hidden; margin-bottom: 0; }
	body.ccc-rl .rl-held-bild img { width: 160%; max-width: none; margin-left: 0; }
	body.ccc-rl .rl-einblick-folg { padding-top: 72px; }

	/* Werkzeuge: Bild ueber die Liste, Spaltenabstand 24 px. */
	body.ccc-rl .rl-werkzeuge { grid-template-columns: minmax( 0, 1fr ); gap: 24px; }
}

/* ---------- CR-002 (Joerg 1.12.): App-Ansichten statt Raster-Screenshots ----------
 * /unsere-opener/ und /einblick/ zeigen dieselben HTML-Nachbauten wie die
 * Startseite (teile/app-ansichten.php, r26-app.css): scharf in jeder Aufloesung.
 * Hier nur die Rahmen je Platz. */
body.ccc-rl .rl-bild-gate .rl-app { max-width: 980px; margin-left: auto; border-radius: 10px; }
body.ccc-rl .rl-bild-trainer .rl-app { max-width: 900px; border-radius: 10px; }
body.ccc-rl .rl-stapel { height: 440px; }
body.ccc-rl .rl-stapel > .rl-stapel-karten,
body.ccc-rl .rl-stapel > .rl-stapel-sims { position: absolute; }
body.ccc-rl .rl-stapel > .rl-stapel-karten { left: 0; top: 0; width: 78%; z-index: 1; }
body.ccc-rl .rl-stapel > .rl-stapel-sims { right: 0; bottom: 0; width: 82%; z-index: 2; }
body.ccc-rl .rl-stapel .rl-app { border-radius: 10px; box-shadow: 0 1px 0 rgba( 255, 255, 255, .06 ) inset, 0 40px 80px -24px rgba( 0, 0, 0, .55 ); }
body.ccc-rl .rl-held-bild .rl-app { max-width: 992px; margin-left: auto; border-radius: 10px; box-shadow: 0 1px 0 rgba( 255, 255, 255, .06 ) inset, 0 40px 80px -24px rgba( 0, 0, 0, .55 ); }
body.ccc-rl .rl-werkzeuge-app .rl-app { border-radius: 10px; box-shadow: 0 1px 0 rgba( 255, 255, 255, .06 ) inset, 0 40px 80px -24px rgba( 0, 0, 0, .55 ); }
@media ( max-width: 860px ) {
	body.ccc-rl .rl-stapel { height: auto; }
	body.ccc-rl .rl-stapel > .rl-stapel-karten,
	body.ccc-rl .rl-stapel > .rl-stapel-sims { position: static; width: 100%; }
	body.ccc-rl .rl-stapel > .rl-stapel-sims { margin-top: 16px; }
	body.ccc-rl .rl-held-bild .rl-app { max-width: none; }
}
