/*
  Variante 'rene' des Redesigns (2026-11-20) - nach dem Designvorschlag DesignVorschlagRene.png.
  QUELLE, kein Bauschritt. Geladen NUR bei '?design=rene' (DesignSchalter::VARIANTE_RENE), nach
  busbaer-redesign.css. Gilt fuer body.es-rene.

  Merkmale des Vorschlags: Blau als Akzent, helle Startflaeche mit Bergen und Laptop,
  Kennzahlenleiste, drei getoente Spalten (Plattform / Werkzeuge / Loesungen) mit weissen
  Eintragskarten, drei Karten unten, dunkelblauer Fuss.
*/

/* ---------- Farben ---------- */
body.es-rene {
  --akzent:        #1d5fa6;
  --akzent-dunkel: #164c86;
  --akzent-schwach:rgba(29,95,166,.08);
  --rn-ink:        #14263c;
  --rn-ink2:       #3b4a5c;
  --rn-mut:        #5d6b7b;
  --rn-flaeche:    #ffffff;
  --rn-grund:      #ffffff;
  --rn-band:       #f4f8fc;
  --rn-linie:      #dfe7f0;
  --rn-spalte-1:   #eef4fb;
  --rn-spalte-2:   #edf3fa;
  --rn-spalte-3:   #ecf6f1;
  --rn-gruen:      #1f8f5a;
  --rn-fuss:       #1b2f47;
  --rn-schatten:   0 6px 22px rgba(20,38,60,.07);
  --rn-rund:       14px;
}
html[data-theme="dunkel"] body.es-rene {
  --akzent:        #6ea8e6;
  --akzent-dunkel: #93bff0;
  --akzent-schwach:rgba(110,168,230,.12);
  --rn-ink:        #e8eef5;
  --rn-ink2:       #c3ccd7;
  --rn-mut:        #9aa6b4;
  --rn-flaeche:    #1a2330;
  --rn-grund:      #111821;
  --rn-band:       #141d28;
  --rn-linie:      #2a3644;
  --rn-spalte-1:   #16212e;
  --rn-spalte-2:   #16202c;
  --rn-spalte-3:   #15231f;
  --rn-gruen:      #4cc48a;
  --rn-fuss:       #0c1520;
  --rn-schatten:   0 6px 22px rgba(0,0,0,.4);
}

/* ---------- Kopf ---------- */
body.es-rene .es-kopf { background: color-mix(in srgb, var(--rn-grund) 94%, transparent); border-bottom-color: var(--rn-linie); }
body.es-rene .es-marke .b1 { color: var(--rn-ink) !important; }
body.es-rene .es-marke .b2 { color: var(--akzent) !important; }
body.es-rene .es-navi .es-punkt > a,
body.es-rene .es-navi .es-menue-knopf { color: var(--rn-ink) !important; font-weight: 500; }
body.es-rene .es-navi .es-punkt > a:hover,
body.es-rene .es-navi .es-menue-knopf:hover { color: var(--akzent) !important; }
body.es-rene .es-knopf { border-radius: 8px; }

/* ---------- Fuss: dunkelblau in beiden Modi ---------- */
body.es-rene .es-fuss { background: var(--rn-fuss); border-top: 0; color: #b9c6d6; }
body.es-rene .es-fuss a:not(.es-knopf) { color: #ffffff !important; font-weight: 500; }
body.es-rene .es-fuss a:not(.es-knopf):hover { color: #9cc6f2 !important; }
body.es-rene .es-fuss .es-fuss-titel { color: #ffffff; }
body.es-rene .es-fuss .es-marke .b1, body.es-rene .es-fuss .es-marke .b2 { color: #ffffff !important; }
body.es-rene .es-fuss .es-fuss-logo { filter: invert(1) brightness(2); }
body.es-rene .es-fuss input { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }

/* ---------- Startseite ---------- */
.rn-start { color: var(--rn-ink2); font-family: "Roboto","Segoe UI",system-ui,sans-serif; background: var(--rn-grund); }
.rn-start * { box-sizing: border-box; }
.rn-start a { text-decoration: none !important; }
.rn-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.rn-eyebrow { color: var(--akzent); font: 700 13px/1.2 inherit; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.rn-start h1, .rn-start h2, .rn-start h3 { color: var(--rn-ink); margin: 0; letter-spacing: -.01em; }

/* Startflaeche */
.rn-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #e9f1f9 0%, #f6f9fc 100%); padding: 64px 0 56px; border-bottom: 1px solid var(--rn-linie); }
html[data-theme="dunkel"] .rn-hero { background: linear-gradient(180deg, #13202e 0%, #111821 100%); }
.rn-berge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html[data-theme="dunkel"] .rn-berge { opacity: .12; }
.rn-hero-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.rn-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; font-weight: 400; }
.rn-hero h1 strong { display: block; font-weight: 800; font-size: 1.18em; }
.rn-hero h1 span { display: block; max-width: 13ch; }
.rn-lead { font-size: 18px; line-height: 1.6; margin: 22px 0 30px; max-width: 520px; color: var(--rn-ink2); }
.rn-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.rn-knopf { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 8px; font: 600 16px/1.2 inherit; border: 1.5px solid var(--akzent); transition: background .2s, color .2s, transform .15s; }
.rn-knopf-voll { background: var(--akzent); color: #fff !important; }
.rn-knopf-voll:hover { background: var(--akzent-dunkel); transform: translateY(-1px); }
.rn-knopf-leer { background: var(--rn-flaeche); color: var(--akzent) !important; }
.rn-knopf-leer:hover { background: var(--akzent-schwach); }
html[data-theme="dunkel"] .rn-knopf-voll { color: #0c1520 !important; }

/* Laptop mit Programmansicht (HTML/CSS, Beispielwerte) */
.rn-laptop { position: relative; filter: drop-shadow(0 30px 40px rgba(20,38,60,.22)); }
.rn-bildschirm { background: #1b1f24; border-radius: 18px 18px 6px 6px; padding: 12px; border: 2px solid #3a4048; }
.rn-tastatur { height: 16px; margin: 0 -6%; background: linear-gradient(180deg, #d9dde2, #a8aeb6); border-radius: 0 0 16px 16px; }
.rn-app { display: grid; grid-template-columns: 130px 1fr; min-height: 290px; background: #121b26; border-radius: 6px; overflow: hidden; color: #dfe7f0; font-size: 12px; }
.rn-app-leiste { background: #0e1620; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.rn-app-marke { font-weight: 700; font-size: 15px; color: #fff; margin: 0 0 12px 6px; }
.rn-app-punkt { padding: 7px 8px; border-radius: 5px; color: #b6c3d1; }
.rn-app-punkt.aktiv { background: #1d5fa6; color: #fff; }
.rn-app-haupt { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.rn-app-kopf { align-self: flex-end; color: #b6c3d1; }
.rn-app-inhalt { flex: 1; display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.rn-app-bild { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: 6px; }
.rn-app-werte { display: grid; gap: 10px; }
.rn-wert { background: #1a2633; border-radius: 6px; padding: 10px; display: flex; align-items: center; gap: 8px; color: #6ea8e6; }
.rn-wert.rn-gruen { color: #4cc48a; }
.rn-wert b { color: #fff; font-size: 14px; font-weight: 600; }
.rn-wert small { display: block; color: #b6c3d1; font-size: 10px; }

/* Kennzahlen */
.rn-zahlen { background: var(--rn-band); border-bottom: 1px solid var(--rn-linie); padding: 26px 0; }
.rn-zahlen-raster { display: grid; grid-template-columns: repeat(4, 1fr); }
.rn-zahl { display: flex; align-items: flex-start; gap: 16px; padding: 4px 22px; color: var(--akzent); }
.rn-zahl + .rn-zahl { border-left: 1px solid var(--rn-linie); }
.rn-zahl .rn-icon, .rn-zahl .es-shop-icon { flex: none; margin-top: 2px; }
.rn-zahl b { display: block; color: var(--rn-ink); font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.rn-zahl span { display: block; color: var(--rn-mut); font-size: 14px; line-height: 1.4; }

/* Abschnitte */
.rn-sek { padding: 56px 0; }
.rn-sek h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; line-height: 1.15; }
.rn-unter { font-size: 17px; margin: 10px 0 30px; color: var(--rn-ink2); }

/* Oekosystem: drei Spalten */
.rn-oeko { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rn-spalte { border-radius: var(--rn-rund); padding: 18px 14px 14px; display: grid; gap: 10px; border: 1px solid var(--rn-linie); }
.rn-spalte-plattform { background: var(--rn-spalte-1); }
.rn-spalte-werkzeuge { background: var(--rn-spalte-2); }
.rn-spalte-loesungen { background: var(--rn-spalte-3); }
.rn-spalte-kopf { display: flex; align-items: center; gap: 12px; color: var(--akzent); padding: 2px 8px 8px; }
.rn-spalte-loesungen .rn-spalte-kopf { color: var(--rn-gruen); }
.rn-spalte-kopf h3 { font-size: 24px; font-weight: 600; color: var(--akzent); }
.rn-spalte-loesungen .rn-spalte-kopf h3 { color: var(--rn-ink); }
.rn-eintrag { display: grid; grid-template-columns: 44px 1fr 20px; gap: 14px; align-items: center; background: var(--rn-flaeche); border-radius: 10px; padding: 14px 14px; box-shadow: var(--rn-schatten); border: 1px solid transparent; transition: border-color .2s, transform .15s; }
.rn-eintrag:hover { border-color: var(--akzent); transform: translateY(-1px); }
.rn-eintrag-icon { color: var(--akzent); display: flex; justify-content: center; }
.rn-eintrag-text b { display: block; color: var(--rn-ink); font-size: 16px; font-weight: 700; }
.rn-eintrag-text span { display: block; color: var(--rn-ink2); font-size: 14px; line-height: 1.4; margin-top: 3px; }
.rn-pfeil { color: var(--akzent); }

/* Drei Karten unten */
.rn-sek-unten { padding-top: 8px; }
.rn-drei { display: grid; grid-template-columns: 0.85fr 1fr 1.15fr; gap: 18px; }
.rn-karte { position: relative; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, var(--rn-spalte-2), var(--rn-flaeche)); border: 1px solid var(--rn-linie); border-radius: var(--rn-rund); padding: 22px; color: var(--rn-ink2); min-height: 230px; box-shadow: var(--rn-schatten); }
.rn-karte-kopf { display: flex; align-items: center; gap: 12px; color: var(--akzent); margin-bottom: 8px; }
.rn-karte-kopf h3 { font-size: 22px; font-weight: 700; }
.rn-karte p { margin: 0; }
.rn-textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--akzent) !important; font-weight: 600; margin-top: auto; padding-top: 10px; }
.rn-karte-hw { padding-right: 46%; }
.rn-hw-bild { position: absolute; right: 14px; top: 50%; transform: translateY(-46%); width: 44%; max-height: 72%; object-fit: contain; }
.rn-karte-hw:hover .rn-textlink { text-decoration: underline !important; }
.rn-klein { color: var(--rn-ink); font-weight: 500; }
.rn-datum { display: flex; align-items: center; gap: 8px; color: var(--rn-ink); font-size: 16px; }
.rn-datum .rn-icon { color: var(--akzent); }
.rn-kurs { color: var(--rn-ink); font-size: 18px; font-weight: 700; }
.rn-news { display: grid; grid-template-columns: 64px 1fr 18px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rn-linie); color: var(--rn-ink2) !important; }
.rn-news img, .rn-news-platz { width: 64px; height: 48px; border-radius: 6px; object-fit: cover; }
.rn-news-platz { display: flex; align-items: center; justify-content: center; background: var(--akzent-schwach); color: var(--akzent); }
.rn-news b { display: block; color: var(--rn-ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.rn-news small { color: var(--rn-mut); font-size: 12px; }
.rn-news:hover b { color: var(--akzent); }

/* ---------- Schmal ---------- */
@media (max-width: 1000px) {
  .rn-hero-raster { grid-template-columns: 1fr; }
  .rn-laptop { max-width: 620px; }
  .rn-zahlen-raster { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .rn-zahl:nth-child(3) { border-left: 0; }
  .rn-oeko, .rn-drei { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rn-hero { padding: 40px 0; }
  .rn-app { grid-template-columns: 1fr; }
  .rn-app-leiste { display: none; }
  .rn-app-inhalt { grid-template-columns: 1fr; }
  .rn-app-werte { grid-template-columns: repeat(3, 1fr); }
  .rn-zahlen-raster { grid-template-columns: 1fr; }
  .rn-zahl + .rn-zahl { border-left: 0; }
  .rn-karte-hw { padding-right: 22px; }
  .rn-hw-bild { position: static; transform: none; width: 60%; }
}

/* ---------- Nachbesserung 1 (2026-11-20) ---------- */
.rn-oeko { align-items: stretch; }
.rn-spalte { align-content: start; }
.rn-spalte-alle { margin-top: 4px; padding: 4px 8px 0; font-size: 15px; }
.rn-spalte:not(.rn-spalte-werkzeuge) .rn-spalte-alle { display: none; }
.rn-weitere { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 4px 0; font-size: 13px; color: var(--rn-mut); }
.rn-weitere span { width: 100%; font-weight: 600; color: var(--rn-ink2); }
.rn-weitere a { background: var(--rn-flaeche); color: var(--akzent) !important; border: 1px solid var(--rn-linie); border-radius: 6px; padding: 4px 9px; font-weight: 600; }
.rn-weitere a:hover { border-color: var(--akzent); }
.rn-app-bild { display: block; }
.rn-plaetze { color: var(--rn-mut); font-size: 14px; }
.rn-karte-schulung { background: linear-gradient(180deg, var(--rn-spalte-2), var(--rn-flaeche)), var(--rn-flaeche); }
.rn-karte-hw { padding-right: 22px; }
.rn-karte-hw p { max-width: 48%; }
.rn-hw-bild { width: 52%; max-height: 64%; right: 10px; top: auto; bottom: 46px; transform: none; }
/* Fuss: Firmenname sichtbar, Logo ganz weiss */
body.es-rene .es-fuss .es-fuss-firma, body.es-rene .es-fuss .es-fuss-firma * { color: #dbe5f0 !important; }
body.es-rene .es-fuss .es-fuss-logo { filter: brightness(0) invert(1); opacity: .92; }
html[data-theme="dunkel"] body.es-rene .es-fuss .es-fuss-logo { filter: brightness(0) invert(1); }
/* Berge kraeftiger */
.rn-berge path:nth-child(2) { opacity: 1; }

/* =================================================================================================
   GESAMTE WEBSEITE (2026-11-22) - nach den Screenshots "neues Design René_20261122".
   Kopf/Fuss: layout/rene/_kopf|_fuss.html.twig. Kopfband, Kennzahlen, Abschnitt und Abschluss
   setzt App\Site\ReneKopfband in die erste Kopfzeile jeder Seite ein (layout/rene/_kopfband).
   ================================================================================================= */

/* ---------- Farbsatz des Redesigns fuer alle Seiten umstellen ---------- */
body.es-rene {
  --es-ink:        var(--rn-ink);
  --text:          var(--rn-ink);
  --es-ink2:       var(--rn-ink2);
  --es-mut:        var(--rn-mut);
  --es-linie:      var(--rn-linie);
  --es-grund:      #f7fafd;
  --es-grund2:     var(--rn-band);
  --es-flaeche:    var(--rn-flaeche);
  --es-kopf-grund: rgba(255,255,255,.95);
  --es-schatten:   0 14px 38px rgba(20,38,60,.08);
  --es-schatten-k: var(--rn-schatten);
  --es-rund:       14px;
  --es-breite:     1240px;
  --auf-akzent:    #ffffff;
}
html[data-theme="dunkel"] body.es-rene { --es-grund: var(--rn-grund); --es-kopf-grund: rgba(17,24,33,.95); --auf-akzent: #0c1520; }
body.es-rene .rn-start { background: transparent; }

/* ---------- Kopf ---------- */
.rn-kopf { position: sticky; top: 0; z-index: 1000; background: var(--es-kopf-grund); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rn-linie); font-family: var(--es-schrift); }
.rn-kopf a { text-decoration: none !important; }
.rn-kopf-zeile { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.rn-marke { display: inline-flex; align-items: center; gap: 10px; color: var(--rn-ink) !important; flex: none; text-decoration: none !important; }
.rn-marke img { height: 40px; width: auto; }
html[data-theme="dunkel"] .rn-kopf .rn-marke img { filter: invert(1); }
.rn-marke span { display: flex; flex-direction: column; line-height: 1; }
.rn-marke b { font-size: 27px; font-weight: 700; letter-spacing: -.01em; color: var(--rn-ink); }
.rn-marke sup { font-size: 10px; font-weight: 600; vertical-align: top; margin-left: 1px; top: 0; }
.rn-marke small { font-size: 15px; font-weight: 400; color: var(--rn-ink2); letter-spacing: .02em; margin-top: 3px; }
.rn-navi { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.rn-aktionen { display: flex; align-items: center; gap: 2px; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--rn-linie); }
.rn-punkt { position: relative; }
.rn-punkt > a, .rn-menue-knopf { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font: 500 15px/1.2 var(--es-schrift); color: var(--rn-ink) !important; cursor: pointer; }
.rn-punkt > a:hover, .rn-menue-knopf:hover, .rn-hat-menue.offen > .rn-menue-knopf { color: var(--akzent) !important; background: var(--akzent-schwach); }
.rn-symbol { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0 !important; border: 0; background: none; border-radius: 8px; color: var(--rn-ink) !important; cursor: pointer; position: relative; }
.rn-symbol:hover { color: var(--akzent) !important; background: var(--akzent-schwach); }
.rn-korb span { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--akzent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.rn-sprache .rn-menue-knopf { font-weight: 600; }
.rn-menue { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--rn-flaeche); border: 1px solid var(--rn-linie); border-radius: 12px; box-shadow: 0 18px 40px rgba(20,38,60,.14); padding: 8px; display: none; z-index: 20; }
.rn-menue-rechts { left: auto; right: 0; }
.rn-hat-menue.offen > .rn-menue { display: block; }
@media (hover: hover) and (min-width: 1181px) {
  .rn-navi .rn-hat-menue:hover > .rn-menue { display: block; }
  .rn-navi .rn-hat-menue:hover > .rn-menue-breit { display: grid; }
  .rn-navi .rn-hat-menue:hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
}
.rn-menue a, .rn-menue button[type=submit] { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font: 500 14.5px/1.3 var(--es-schrift); color: var(--rn-ink) !important; cursor: pointer; }
.rn-menue a:hover, .rn-menue button[type=submit]:hover { background: var(--akzent-schwach); color: var(--akzent) !important; }
.rn-menue form { margin: 0; }
.rn-menue-breit { grid-template-columns: 1fr 1fr; gap: 0 18px; width: 560px; padding: 12px; }
.rn-hat-menue.offen > .rn-menue-breit { display: grid; }
.rn-menue-titel { color: var(--akzent); font: 700 11.5px/1.2 var(--es-schrift); letter-spacing: .12em; text-transform: uppercase; padding: 12px 12px 4px; }
.rn-menue-fuss { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; border-top: 1px solid var(--rn-linie); margin-top: 6px; padding-top: 8px; }
.rn-menue-fuss a { width: auto; color: var(--akzent) !important; font-weight: 600; }
.rn-suchfeld { min-width: 340px; padding: 10px; }
.rn-suchfeld form { display: flex; gap: 8px; }
.rn-suchfeld input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--rn-linie); border-radius: 8px; font: 15px var(--es-schrift); background: var(--rn-grund); color: var(--rn-ink); }
.rn-suchfeld .rn-knopf { padding: 10px 16px; }
.rn-burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--rn-ink); border-radius: 8px; cursor: pointer; }
.rn-kopf .es-themaknopf .es-icon-sonne { display: none; }
html[data-theme="dunkel"] .rn-kopf .es-themaknopf .es-icon-mond { display: none; }
html[data-theme="dunkel"] .rn-kopf .es-themaknopf .es-icon-sonne { display: inline; }

@media (max-width: 1180px) {
  .rn-kopf-zeile { flex-wrap: wrap; gap: 8px; min-height: 68px; }
  .rn-burger { display: inline-flex; align-items: center; justify-content: center; order: 2; }
  .rn-aktionen { order: 1; margin-left: auto; border-left: 0; padding-left: 0; }
  .rn-navi { order: 3; display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 14px; margin: 0; }
  .rn-kopf.rn-navi-offen .rn-navi { display: flex; }
  .rn-navi .rn-punkt > a, .rn-navi .rn-menue-knopf { width: 100%; justify-content: space-between; padding: 12px; }
  .rn-navi .rn-menue, .rn-navi .rn-menue-breit { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 10px; grid-template-columns: 1fr; }
  .rn-marke b { font-size: 22px; } .rn-marke img { height: 32px; } .rn-marke small { font-size: 13px; }
}
@media (max-width: 480px) { .rn-suchfeld { min-width: 0; width: calc(100vw - 32px); position: fixed; left: 16px; right: 16px; top: 64px; } .rn-aktionen .es-themaknopf { display: none; } }

/* ---------- Fuss ---------- */
.rn-fuss { background: var(--rn-fuss); color: #b9c6d6; font: 14px/1.5 var(--es-schrift); }
.rn-fuss a { color: #ffffff !important; text-decoration: none !important; }
.rn-fuss a:hover { color: #9cc6f2 !important; }
.rn-fuss-zeile { display: flex; align-items: center; gap: 32px; padding-top: 30px; padding-bottom: 26px; flex-wrap: wrap; }
.rn-marke-hell img { filter: brightness(0) invert(1); height: 42px; }
.rn-marke-hell b, .rn-marke-hell small { color: #ffffff; }
.rn-fuss-links { display: flex; flex-wrap: wrap; gap: 8px 44px; margin: 0 auto; font-size: 15px; font-weight: 500; }
.rn-sozial { display: flex; gap: 14px; }
.rn-sozial a { display: inline-flex; padding: 4px; }
.rn-fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.rn-fuss-unten a { color: #dbe5f0 !important; font-weight: 400; }
.rn-fuss-recht { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rn-fuss-design { width: 100%; text-align: right; }

/* ---------- Kopfband (auf allen Seiten) ---------- */
.rn-hero, .es-shop-kopf.rn-kb { background: url('/design/rene/berge.svg') right bottom / cover no-repeat, linear-gradient(180deg, #e9f1f9 0%, #f6f9fc 100%); }
.rn-berge { display: none; }
html[data-theme="dunkel"] .rn-hero, html[data-theme="dunkel"] .es-shop-kopf.rn-kb { background: linear-gradient(180deg, #13202e 0%, #111821 100%); }
.es-shop-kopf.rn-kb::after { display: none; }
.es-shop-kopf.rn-kb { border-bottom: 1px solid var(--rn-linie); }
.rn-kb-voll { padding: 60px 0 56px !important; }
.rn-kb-kompakt { padding: 38px 0 32px !important; }
.rn-kb .rn-kb-raster { position: relative; }
.rn-kb-voll .rn-kb-raster { min-height: 330px; padding-right: 52%; display: flex; flex-direction: column; justify-content: center; }
.rn-kb-bild { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 48%; }
.rn-kb-voll .es-shop-krume { display: none; }
.rn-kb .rn-kb-eyebrow { margin-bottom: 12px; }
.rn-kb-kompakt .rn-kb-eyebrow { margin-bottom: 6px; }
.rn-kb .es-shop-krume { font-size: 13px; margin-bottom: 8px; }
.rn-kb .es-shop-kopf-zeile { align-items: flex-end; }
.rn-kb h1 { color: var(--rn-ink) !important; letter-spacing: -.02em !important; }
.rn-kb-voll h1 { font-size: clamp(36px, 4.6vw, 58px) !important; line-height: 1.06 !important; font-weight: 800 !important; }
.rn-kb-kompakt h1 { font-size: clamp(28px, 3.4vw, 42px) !important; line-height: 1.1 !important; font-weight: 800 !important; }
.rn-kb-unter { display: block; font-weight: 400; font-size: .7em; line-height: 1.18; margin-top: 6px; letter-spacing: -.01em; }
.rn-kb .es-shop-lead, .rn-kb-lead { margin-top: 18px; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--rn-ink2); }
.rn-kb-kompakt .es-shop-lead { font-size: 16.5px; margin-top: 12px; max-width: 760px; }
.rn-kb .es-shop-lead p { margin: 0 0 8px; }
.rn-kb-knoepfe { margin-top: 26px; }
.rn-kb a.rn-knopf { text-decoration: none !important; }
.rn-kb .rn-laptop { max-width: 640px; margin-left: auto; }
.rn-kb .rn-app { min-height: 250px; grid-template-columns: 140px 1fr; }
.rn-kb .rn-app.rn-app-schmal { grid-template-columns: 48px 1fr; }
.rn-app-schmal .rn-app-leiste { padding: 12px 6px; align-items: center; gap: 10px; }
.rn-app-schmal .rn-app-marke { display: none; }
.rn-app-schmal .rn-app-punkt { padding: 7px; }
.rn-app-marke { display: flex; align-items: center; gap: 7px; }
.rn-app-marke img { width: 22px; height: auto; filter: brightness(0) invert(1); }
.rn-app-punkt { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.rn-kb .rn-app-haupt { padding: 14px; justify-content: center; }
.rn-screen-gebaeude .rn-app-bild, .rn-screen-showroom .rn-app-bild { min-height: 220px; height: 100%; }
.rn-scr-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rn-scr-kacheln span { aspect-ratio: 1.25; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: linear-gradient(180deg, #2a4a6f, #1f3a59); color: #e6f0fb; border: 1px solid #36597f; }
.rn-scr-download { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; border-radius: 8px; background: linear-gradient(180deg, #24425f, #1b3450); color: #fff; }
.rn-scr-balken { width: 70%; height: 8px; border-radius: 4px; background: #31516f; overflow: hidden; }
.rn-scr-balken i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, #6ea8e6, #b7d7f6); border-radius: 4px; }
.rn-scr-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rn-scr-artikel { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 8px; background: #1d3049; color: #cfe2f5; }
.rn-scr-artikel i { display: block; height: 6px; border-radius: 3px; background: #3a5878; }
.rn-scr-artikel i.kurz { width: 60%; }
.rn-scr-artikel b { display: block; height: 18px; width: 70%; border-radius: 4px; background: #1d5fa6; margin-top: 4px; }
.rn-scr-korb { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #1a2633; color: #6ea8e6; }
.rn-scr-korb i { flex: 1; height: 6px; border-radius: 3px; background: #33506d; }
.rn-scr-kalender { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.rn-scr-kalender span { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.3; border-radius: 6px; background: #1b2b3e; color: #9fb4ca; font-size: 11px; }
.rn-scr-kalender span.belegt { background: #1d5fa6; color: #fff; font-weight: 700; }
.rn-scr-news { display: grid; gap: 10px; }
.rn-scr-meldung { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px; border-radius: 8px; background: #1b2b3e; }
.rn-scr-meldung b { display: block; height: 48px; border-radius: 6px; background: linear-gradient(135deg, #3a6c9e, #e9a86a); }
.rn-scr-meldung span { display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.rn-scr-meldung i, .rn-scr-hilfe i { display: block; height: 6px; border-radius: 3px; background: #3a5878; }
.rn-scr-meldung i.kurz, .rn-scr-hilfe i.kurz { width: 55%; }
.rn-scr-hilfe { display: flex; flex-direction: column; gap: 10px; }
.rn-scr-hilfe > span { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 10px; max-width: 70%; background: #1b2b3e; }
.rn-scr-hilfe > span.rechts { align-self: flex-end; background: #1d5fa6; }
.rn-scr-hilfe > span.rechts i { background: rgba(255,255,255,.55); }

/* Kennzahlen und Abschnittskopf nach dem Kopfband */
body.es-rene .rn-zahlen { background: var(--rn-flaeche); }
.rn-abschnitt { padding: 46px 0 4px; }
.rn-abschnitt h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; color: var(--rn-ink); letter-spacing: -.02em; }
.rn-abschnitt .rn-unter { margin: 10px 0 0; }
body.es-rene .rn-abschnitt ~ .es-shop-sek.oben { padding-top: 24px; }
#rn-inhalt { scroll-margin-top: 90px; display: block; }

/* Abschlussblock */
.rn-cta-sek { padding: 34px 0 48px; }
.rn-cta { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 28px 34px; border-radius: 16px; border: 1px solid var(--rn-linie);
  background: url('/design/rene/berge.svg') right bottom / auto 150% no-repeat, linear-gradient(90deg, #eef4fb, #e4eef8); }
html[data-theme="dunkel"] .rn-cta { background: linear-gradient(90deg, #16212e, #13202e); }
.rn-cta-mit-bild { grid-template-columns: 340px 1fr; }
.rn-cta-bild { display: flex; justify-content: center; color: var(--akzent); }
.rn-cta-bild img { max-width: 100%; max-height: 150px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(20,38,60,.2)); }
.rn-cta-text h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--rn-ink); }
.rn-cta-text p { margin: 0 0 18px; color: var(--rn-ink2); max-width: 640px; }
.rn-cta a.rn-knopf { text-decoration: none !important; }

/* ---------- Inhalt: Liste links und Karten (Produkte, Shop, Download, News ...) ---------- */
body.es-rene .es-eyebrow { color: var(--akzent) !important; letter-spacing: .12em; font-weight: 700; }
body.es-rene .es-shop-navi { background: var(--rn-flaeche); border: 1px solid var(--rn-linie); border-radius: 14px; box-shadow: var(--rn-schatten); padding: 18px 12px; }
body.es-rene .es-shop-navi > summary { color: var(--akzent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; padding: 0 10px 10px; }
body.es-rene .es-shop-navi-punkt { border-radius: 8px; color: var(--rn-ink) !important; }
body.es-rene .es-shop-navi-punkt.aktiv, body.es-rene .es-shop-navi-punkt[aria-current] { background: var(--akzent-schwach); color: var(--akzent) !important; font-weight: 600; }
body.es-rene .es-shop-navi-punkt:hover { background: var(--akzent-schwach); color: var(--akzent) !important; }
body.es-rene .es-shop-anzahl { background: var(--akzent-schwach); color: var(--akzent); border-radius: 999px; font-weight: 700; padding: 2px 11px; }
body.es-rene .es-shop-kat, body.es-rene .es-news-karte, body.es-rene .es-sr-kachel, body.es-rene .es-schulung-kurs { border-radius: 14px; border-color: var(--rn-linie); box-shadow: var(--rn-schatten); background-color: var(--rn-flaeche); }
body.es-rene .es-shop-kat:hover, body.es-rene .es-news-karte:hover { border-color: var(--akzent); }
body.es-rene .es-shop-kat-icon { background: var(--akzent-schwach); color: var(--akzent); border-radius: 50%; }
body.es-rene .es-shop-kat-name { color: var(--rn-ink); }
body.es-rene .es-shop-pfeil { color: var(--akzent); }
body.es-rene .es-knopf-voll { background: var(--akzent) !important; border-color: var(--akzent) !important; color: #fff !important; border-radius: 8px; }
body.es-rene .es-knopf-voll:hover { background: var(--akzent-dunkel) !important; }
body.es-rene .es-knopf-leer { border-color: var(--akzent) !important; color: var(--akzent) !important; border-radius: 8px; }
html[data-theme="dunkel"] body.es-rene .es-knopf-voll { color: #0c1520 !important; }
/* Showroom: die drei Kacheln als getoente Spalten wie im Screenshot */
body.es-rene .es-sr-kachel { background: linear-gradient(180deg, var(--rn-spalte-1), var(--rn-flaeche) 55%); padding: 26px; }
body.es-rene .es-sr-kachel:nth-child(3) { background: linear-gradient(180deg, var(--rn-spalte-3), var(--rn-flaeche) 55%); }
body.es-rene .es-sr-kachel-icon { color: var(--akzent); }

/* ---------- Schmal ---------- */
@media (max-width: 1000px) {
  .rn-kb-voll .rn-kb-raster { padding-right: 24px; min-height: 0; }
  .rn-kb-bild { position: static; transform: none; width: 100%; max-width: 560px; margin-top: 30px; order: 99; }
  .rn-cta, .rn-cta-mit-bild { grid-template-columns: 1fr; }
  .rn-cta-bild { justify-content: flex-start; }
  .rn-fuss-links { margin: 0; gap: 8px 24px; }
}
@media (max-width: 560px) {
  .rn-kb-voll { padding: 36px 0 !important; }
  .rn-kb .rn-app { grid-template-columns: 1fr; }
  .rn-kb .rn-app-leiste { display: none; }
  .rn-cta { padding: 22px; }
}

/* Schmal, Nachbesserung (2026-11-22): Berge nur unten, Laptop auf dem Telefon weglassen
   (reine Illustration, kostet sonst einen ganzen Bildschirm). */
@media (max-width: 1000px) {
  .rn-hero, .es-shop-kopf.rn-kb { background: url('/design/rene/berge.svg') right bottom / auto 42% no-repeat, linear-gradient(180deg, #e9f1f9 0%, #f6f9fc 100%); }
}
@media (max-width: 700px) {
  .rn-kb-bild { display: none; }
  .rn-kb-voll { padding: 32px 0 40px !important; }
}

/* ===== BILDER AUS RENES VORLAGEN (2026-11-22) ============================================
   Ausgeschnitten mit muster/rene-bilder-schneiden.py aus 'neues Design René_20261122'.
   Hell: das Vorlagenbild (Berge + Laptop) reicht bis an den rechten Rand, der gebaute Laptop
   ist aus. Dunkel: umgekehrt - die hellen Vorlagenbilder passen nicht auf dunklen Grund. */
.rn-hero, .es-shop-kopf.rn-kb { overflow: hidden; }
.rn-hero-raster, .rn-kb .rn-kb-raster { z-index: 0; }
.rn-kb-foto { position: absolute; top: -64px; bottom: -56px; right: calc(50% - 50vw); left: auto; z-index: -1; pointer-events: none; }
.rn-kb-foto img { display: block; height: 100%; width: auto; max-width: none; }
.rn-kb-voll .rn-kb-foto { top: -60px; bottom: -56px; }
.rn-hero:has(.rn-kb-foto), .es-shop-kopf.rn-kb:has(.rn-kb-foto) { background: linear-gradient(180deg, #e9f1f9 0%, #f6f9fc 100%); }
.rn-kb-foto ~ .rn-kb-bild, .rn-kb-foto ~ .rn-laptop { display: none; }
html[data-theme="dunkel"] .rn-kb-foto { display: none; }
html[data-theme="dunkel"] .rn-kb-foto ~ .rn-kb-bild { display: block; }
html[data-theme="dunkel"] .rn-kb-foto ~ .rn-laptop { display: block; }
/* Schulungskarte: Raum aus der Vorlage rechts */
.rn-karte-schulung.rn-mit-raum { background: url('/design/rene/vorlage/schulung.webp') right bottom / auto 100% no-repeat, linear-gradient(180deg, var(--rn-spalte-2), var(--rn-flaeche)); }
html[data-theme="dunkel"] .rn-karte-schulung.rn-mit-raum { background: linear-gradient(180deg, var(--rn-spalte-2), var(--rn-flaeche)); }
/* Abschlussbaender: Berge aus der Vorlage */
.rn-cta { background: url('/design/rene/vorlage/band-berge.webp') right bottom / auto 100% no-repeat, linear-gradient(90deg, #eef4fb, #e4eef8); }
.rn-cta-bild img { display: block; max-width: 100%; height: auto; }
@media (max-width: 1000px) {
  .rn-kb-foto { position: relative; inset: auto; right: auto; order: 99; margin: 26px 0 -40px; height: 300px; overflow: hidden; z-index: 0; }
  .rn-kb-foto img { height: 100%; margin-left: auto; }
  .rn-kb-voll .rn-kb-foto { top: auto; bottom: auto; }
  .rn-hero:has(.rn-kb-foto), .es-shop-kopf.rn-kb:has(.rn-kb-foto) { padding-bottom: 0 !important; }
}
@media (max-width: 700px) { .rn-kb-foto { height: 220px; } }
