/* ============================================================
   Deutsche Verkehrswacht – Gemeinsame Layout- & Komponenten-Styles
   Nutzt tokens.css + typography.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-fliesstext);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-standard);
  background: var(--hintergrund-standard);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
ol { list-style: disc inside; padding: 0; }
button { font: inherit; cursor: pointer; }
h4 a:hover {
  color: var(--text-marke);
  text-decoration: underline;
}

/* ---------- Layout-Container ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 80px;
  padding-top: 100px;
}
@media (max-width: 900px) { .container { padding-inline: 24px; } }

/* ---------- Header / Nav ---------- */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--rahmen-standard);
    background: var(--hintergrund-standard);
    z-index: 2000;
    height: 100px;
}

.site-header__inner {
    position: relative;

    display: flex;
    align-items: center;
    gap: var(--abstand-2xl);

    min-height: 80px;
    padding-block: var(--abstand-md);
}

.site-header__logo,
.site-header__marke {
    flex-shrink: 0;
}

.site-header__logo img,
.site-header__marke {
    display: block;
}


/* NAV */

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--abstand-xl);

    margin-inline: auto;
}

.site-nav a {
    padding-block: var(--abstand-xs);

    border-bottom: 2px solid transparent;

    font-family: var(--font-ueberschrift);
    font-weight: 600;
    font-size: 16px;

    color: var(--text-standard);
    text-decoration: none;

    transition:
        color 0.15s,
        border-color 0.15s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text-marke);
    border-color: var(--rahmen-marke);
}


/* BURGER */

.nav-toggle {
    display: none;

    padding: 0;

    border: 0;
    background: transparent;

    color: var(--text-standard);

    cursor: pointer;
}


/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;

        width: 100%;

        background: var(--hintergrund-standard);
    }

    .site-header__inner {
        gap: 16px;

        min-height: 70px;
        padding-block: 8px;
    }

    .site-header__logo img {
        width: 75px;
        height: auto;
    }

    /* rechtes Logo mobil ausblenden */
    .site-header__marke {
        display: none;
    }

    /* Burger übernimmt die rechte Position */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        margin-left: auto;

        padding: 0;
        border: 0;
        background: transparent;

        font-size: 27px;
        color: var(--text-standard);
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        margin: 0;
        padding: 10px 20px 18px;

        border-top: 1px solid var(--rahmen-standard);
        border-bottom: 1px solid var(--rahmen-standard);

        background: var(--hintergrund-standard);

        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;

        padding: 13px 4px;

        border-bottom: 0;

        font-size: 16px;
    }

    .site-nav a + a {
        border-top: 1px solid var(--rahmen-standard);
    }

    /* Platz für den fixed Header schaffen */
    body {
        padding-top: 70px;
    }
    
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex !important;
  align-items: center !important;
  gap: var(--abstand-sm) !important;
  color: var(--text-gedaempft) !important;
  font-size: 14px !important;
  padding-block: var(--abstand-md) !important;
  margin-bottom: 0 !important;
  position: sticky;
  top: 100px;
  z-index: 900;
  background: var(--hintergrund-standard);
}
.breadcrumb .ti { color: var(--farbe-primaer); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--abstand-sm);
  font-family: var(--font-ueberschrift);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: background .15s;
}
.btn--primaer { background: var(--farbe-primaer); color: var(--farbe-primaer-kontrast); }
.btn--primaer:hover { background: var(--farbe-primaer-hover); }
.btn--sekundaer {
  background: transparent;
  color: var(--text-marke);
  border-color: var(--rahmen-marke);
}

/* ---------- Kicker / Überzeile ---------- */
.kicker {
  font-family: var(--font-ueberschrift);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-marke);
}

/* ---------- Link mit Pfeil ---------- */
.link-arrow {
  color: var(--text-marke);
  font-weight: 600;
  font-size: 14px;
}
.link-arrow:hover { text-decoration: underline; color: var(--text-marke); }

/* ---------- Footer ---------- */

.site-footer {
    margin-top: var(--abstand-3xl);
    border-top: 3px solid var(--rahmen-standard);
    color: var(--text-gedaempft);
    font-size: 14px;
    /* background-color: var(--hintergrund-marke-zart); */
    /* background-color: var(--rahmen-marke); */
}

.site-footer__sitemap {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: var(--abstand-3xl);
    padding: 30px 10px 20px 5px;
}

.site-footer__bottom {
  background-color: var(--hintergrund-marke-zart);
}

.site-footer__marke{
  height: 180px;
  width: auto;
  flex: none;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: var(--abstand-md);
}

.center{
  justify-content: center;
}

.site-footer__title {
    font-family: var(--font-ueberschrift);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-standard);
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--abstand-sm);
}

.site-footer__row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--abstand-lg);
}

.site-footer__nav a, .site-footer__inner a {
    color: #000;
    /* text-decoration: underline; */
}

.site-footer__inner a {
    color: var(--text-marke);
    text-decoration: underline;
} 

.site-footer__nav a:hover, .site-footer__inner a:hover {
    color: var(--text-marke);
    text-decoration: underline;
}

@media (max-width: 700px) {

    .site-footer__sitemap {
        grid-template-columns: 1fr;
        gap: var(--abstand-xl);

        padding-block: var(--abstand-xl);
    }

}


/* unterer Bereich */
.site-footer__inner {
    padding-block: var(--abstand-xl);
}
/* ============================================================
   Modul 5 – Übersichtsseite (seitenspezifisch)
   Export aus Figma: „Modul 5 – Übersicht“ (node 142:40)
   Nutzt tokens.css + typography.css + app.css
   ============================================================ */

/* ---------- Header: echte Logos statt Wortmarke ---------- */
.site-header__logo { flex: none; }
.site-header__logo img { height: 70px; width: auto; }
.site-header__marke { height: 56px; width: auto; flex: none; }

/* ---------- Zwei-Spalten-Layout ---------- */
.modul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--abstand-3xl);
  padding-bottom: var(--abstand-3xl);
}
.modul__main { display: flex; flex-direction: column; gap: var(--abstand-2xl); min-width: 0; }
@media (max-width: 900px) {
  .modul { grid-template-columns: 1fr; gap: var(--abstand-xl); }
  .modul__sidebar { order: -1; }
}

/* ---------- Hero / Intro ---------- */
.intro { display: flex; flex-direction: column; gap: var(--abstand-lg); }
.intro__bild {
  position: relative;
  /* aspect-ratio: 928 / 360; */
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Ausschnitt wie in Figma */
.intro__bild img { position: absolute; max-width: none; width: 100%; height: 100%; }
.intro__titel {
  font-family: var(--font-ueberschrift); font-weight: 700;
  font-size: 42px; line-height: 1.1; letter-spacing: -0.01em;
}
.intro__titel__black{
  color: #000 !important;
}
.intro__titel span { color: var(--text-marke); }
@media (max-width: 600px) { .intro__titel { font-size: 30px; } }

/* ---------- Textblock (Kurzbeschreibung) ---------- */
.block { display: flex; flex-direction: column; gap: var(--abstand-sm); }
.block__titel {
  font-family: var(--font-ueberschrift); font-weight: 600;
  font-size: 22px; line-height: 1.3;
  color: var(--text-marke);
}
.block p { font-size: 18px; line-height: 1.5; color: var(--text-gedaempft); }

/* ---------- Klapp-Sektion (Akkordeon) ---------- */
.akkordeon { display: flex; flex-direction: column; gap: var(--abstand-sm); }
.akkordeon > summary {
  display: flex;
  align-items: center;
  gap: var(--abstand-sm);
  list-style: none;
  cursor: pointer;
  color: var(--text-marke);
  font-family: var(--font-ueberschrift);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
}
.akkordeon > summary::-webkit-details-marker { display: none; }
.akkordeon > summary .ti { transition: transform .2s; font-size: 24px; flex: none; }
.akkordeon[open] > summary .ti { transform: rotate(90deg); }
.akkordeon__inhalt {
  display: flex; flex-direction: column; gap: var(--abstand-md);
  border-left: 3px solid var(--rahmen-marke);
  padding-left: var(--abstand-md);
  color: var(--text-standard);
}
.akkordeon__inhalt--eng { gap: var(--abstand-sm); }
.akkordeon__gruppe { display: flex; flex-direction: column; gap: var(--abstand-xs); }
.akkordeon__gruppe h3 {
  font-family: var(--font-fliesstext); font-weight: 600; font-size: 16px;
  color: var(--text-standard);
}

/* ---------- Modulabschnitte Übersicht ---------- */
.abschnitte { display: flex; flex-direction: column; gap: var(--abstand-xl); }
.abschnitte__titel {
  font-family: var(--font-ueberschrift); font-weight: 700;
  font-size: 28px; line-height: 1.2;
}
.abschnitte__liste { display: flex; flex-direction: column; gap: var(--abstand-xl); }

/* ---------- Filter ---------- */
.filter {
  background: var(--hintergrund-gedaempft);
  border-radius: var(--radius-lg);
  padding: var(--abstand-lg);
  display: flex; flex-direction: column; gap: var(--abstand-md);
}
.filter__felder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--abstand-md);
}
@media (max-width: 700px) { .filter__felder { grid-template-columns: 1fr 1fr; } }
.feld { display: flex; flex-direction: column; gap: var(--abstand-xs); }
.feld > span { font-size: 14px; color: var(--text-gedaempft); }
.select {
  position: relative;
  background: var(--hintergrund-standard);
  border: 1px solid var(--rahmen-standard);
  border-radius: var(--radius-md);
}
.select select {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 8px 44px 8px 16px;
  font: inherit;
  line-height: 1.5;
  color: var(--text-gedaempft);
  cursor: pointer;
}
.select .ti {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--text-gedaempft); font-size: 20px;
}

/* ---------- Modulabschnitt-Karte ---------- */
.karte {
  background: var(--hintergrund-standard);
  border: 1px solid var(--rahmen-standard);
  border-radius: var(--radius-lg);
  padding: var(--abstand-lg);
  display: flex; flex-direction: column; gap: var(--abstand-md);
}
.karte a{
  color: var(--text-marke);  
}
.karte__kopf {
  display: flex; align-items: center;
  gap: var(--abstand-md); flex-wrap: wrap;
}
.karte__titel {
  flex: 1 0 0; min-width: 0;
  font-family: var(--font-ueberschrift); font-weight: 600; font-size: 22px; line-height: 1.3;
  color: var(--text-marke);
}
.karte__titel a{
  text-decoration: underline;
}
.karte__titel a:hover{
  color: var(--text-marke);
  text-decoration: underline;
}
.karte__meta {
  display: inline-flex; align-items: center; gap: var(--abstand-xs);
  color: var(--text-gedaempft); font-size: 14px; white-space: nowrap;
}
.karte__meta .ti { color: var(--farbe-primaer); font-size: 24px; }
.karte__intro { color: var(--text-standard); }

/* ---------- Bausteine-Tabelle ---------- */
.tabelle { display: flex; flex-direction: column; }
.tabelle__kopf,
.tabelle__zeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px 88px 88px;
  align-items: start;
}
.tabelle__kopf {
  padding-bottom: var(--abstand-sm);
  border-bottom: 2px solid var(--rahmen-marke);
}
.tabelle__kopf span {
  font-family: var(--font-ueberschrift); font-weight: 700;
  font-size: 14px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-gedaempft);
}
.tabelle__zeile {
  padding-block: var(--abstand-md);
  border-bottom: 1px solid var(--rahmen-standard);
}
.tabelle__zeile:last-child { border-bottom: 0; }
.tabelle__text {
  display: flex; flex-direction: column; gap: var(--abstand-xs);
  padding-right: var(--abstand-md);
}
.tabelle__text h4 {
  font-family: var(--font-fliesstext); font-weight: 600; font-size: 16px;
  color: var(--text-standard);
}
.tabelle__text p { font-size: 14px; color: var(--text-gedaempft); }
.tabelle__col { 
  font-size: 14px; 
  color: var(--text-gedaempft); 
  text-align: center; 
  display: flex;
  flex-direction: column;
}

.tabelle__col--zentriert { display: flex; justify-content: center; }
.tabelle__col .ti { color: var(--farbe-primaer); font-size: 35px; }
.col-header--zentriert { text-align: center; }

@media (max-width: 600px) {
  .tabelle__kopf { display: none; }
  .tabelle__zeile { grid-template-columns: 1fr auto; row-gap: var(--abstand-sm); }
  .tabelle__text { grid-column: 1 / -1; padding-right: 0; }
  .tabelle__col { text-align: left; margin-top: 10px;}
}

/* ---------- Sidebar ---------- */
.modul__sidebar { min-width: 0; }
.sidebar-box {
  position: sticky; top: var(--abstand-lg);
  border: 1px solid var(--rahmen-standard);
  border-radius: var(--radius-lg);
  padding: var(--abstand-lg);
  display: flex; flex-direction: column; gap: var(--abstand-md);
}
@media (max-width: 900px) { .sidebar-box { position: static; } }
.sidebar-box__titel {
  font-family: var(--font-ueberschrift); font-weight: 700;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-marke);
}
.sidebar-box ul { display: flex; flex-direction: column; }
.sidebar-box li a {
  display: flex; align-items: center; gap: var(--abstand-sm);
  padding-block: var(--abstand-sm);
  border-bottom: 1px solid var(--rahmen-standard);
  font-size: 14px; color: var(--text-standard);
  transition: color .15s;
}
.sidebar-box li:last-child a { border-bottom: 0; }
.sidebar-box li a:hover { color: var(--text-marke); }
.sidebar-box li a .ti { color: var(--farbe-primaer); font-size: 18px; flex: none; }
.sidebar-box li a b { color: var(--text-marke); font-weight: 700; }
/* ============================================================
   Modulabschnitt-Detailseite (seitenspezifisch)
   Export aus Figma: „Modul 5 – Seite“ (node 19:2)
   Nutzt tokens.css + typography.css + app.css
   ============================================================ */

/* ---------- Seitenraster ----------
   Der Figma-Rahmen hat 64px Innenabstand, app.css nutzt 80px.
   Nur auf dieser Seite auf den Figma-Wert gezogen.                */
.seite-abschnitt .container { padding-inline: var(--abstand-3xl); }

.seite-abschnitt__body {
  display: flex;
  flex-direction: column;
  gap: var(--abstand-lg);
  padding-block: var(--abstand-2xl) var(--abstand-3xl);
}

/* ---------- Header (Logos statt Wortmarken) ---------- */
.seite-abschnitt .site-header__inner {
  min-height: 0;
  padding-block: var(--abstand-lg);
}
.site-header__logo { flex: none; }
.site-header__logo img { height: 70px; width: auto; }
.site-header__marke { height: 56px; width: auto; flex: none; }
.seite-abschnitt .site-nav { margin-inline: 0; flex: 1 0 0; min-width: 0; }
.seite-abschnitt .site-nav a { padding-block: 0; border-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.seite-abschnitt .breadcrumb { padding-block: 0; }
.breadcrumb__icon {
  width: var(--groesse-icon-sm);
  height: var(--groesse-icon-sm);
  flex: none;
}
.breadcrumb strong { font-weight: 600; color: var(--text-standard); }
.breadcrumb a {
  color: var(--text-marke);
  text-decoration: underline;
}

/* ---------- Zwei-Spalten-Layout ---------- */
.spalten { display: flex; align-items: flex-start; gap: var(--abstand-3xl); }
.spalten__main {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--abstand-2xl);
}
.spalten__seitenleiste {
  flex: none;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--abstand-md);
  /* top: 20px; */
  top: calc(100px + var(--breadcrumb-height));
  position: sticky;
  align-self: start;
  overflow: auto;
  max-height: calc(100vh - 120px - var(--breadcrumb-height));
}

/* ---------- Hero ---------- */
.hero {
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Intro (Titel, Lead, Meta, Bausteine) ---------- */
.intro { display: flex; flex-direction: column; gap: var(--abstand-xl); }
.intro__kopf { display: flex; flex-direction: column; gap: var(--abstand-md); }
.intro__titel {
  font-family: var(--font-ueberschrift); font-weight: 700;
  font-size: 42px; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--text-marke);
}
.intro__lead {
  font-size: 18px; line-height: 1.5;
  color: var(--text-gedaempft);
}

/* ---------- Meta-Zeile ---------- */
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--abstand-xl);
}
.meta__item {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--abstand-sm);
}
.meta__icon {
  width: var(--groesse-icon-lg);
  height: var(--groesse-icon-lg);
  font-size: var(--groesse-icon-lg);
  flex: none;
}
.meta__icon {
  width: var(--groesse-icon-lg);
  height: var(--groesse-icon-lg);
  font-size: var(--groesse-icon-lg);
  flex: none;
}

/* ---------- Modulbausteine ---------- */
.bausteine {
  background: var(--hintergrund-gedaempft);
  border-radius: var(--radius-lg);
  padding: var(--abstand-lg);
  display: flex;
  flex-direction: column;
  gap: var(--abstand-sm);
}
.bausteine a{
  color: #000;
}
.bausteine__titel {
  font-family: var(--font-ueberschrift); font-weight: 600;
  font-size: 22px; line-height: 1.3;
  color: var(--text-marke);
}
.bausteine__item {
  display: flex;
  align-items: center;
  gap: var(--abstand-sm);
  padding-block: var(--abstand-xs);
}
.bausteine__icon {
  width: var(--groesse-icon-md);
  height: var(--groesse-icon-md);
  font-size: var(--groesse-icon-md);
  flex: none;
}
.bausteine__item img {
  width: var(--groesse-icon-md);
  height: var(--groesse-icon-md);
  flex: none;
}
.bausteine__item--aktiv { color: var(--text-marke); font-weight: 600; }
.bausteine__item:hover { color: var(--text-marke); }

/* ---------- Sektion (Kick-Off / Hands-On / Take-away) ---------- */
.sektion { display: flex; flex-direction: column; gap: var(--abstand-xl); }
.sektion__titel {
  font-family: var(--font-ueberschrift); font-weight: 700;
  font-size: 28px; line-height: 1.2;
  color: var(--text-marke);
}
.sektion__kopf { display: flex; flex-direction: column; gap: var(--abstand-xs); }
.sektion__meta { font-size: 14px; line-height: 1.5; color: var(--text-gedaempft); }
.sektion__inhalt { display: flex; flex-direction: column; gap: var(--abstand-xl); }

/* ---------- Banner-Bilder (Ausschnitte wie in Figma) ---------- */
.banner {
  position: relative;
  height: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.banner img { position: absolute; max-width: none; }
.banner--kickoff  img { width: 100%; height: 100%; }
.banner--handson  img { width: 100%;    height: 159.84%; left: 0;      top: -17.96%; }
.banner--takeaway img { width: 100%;    height: 156.31%; left: 0;      top:  -7.81%; }

/* ---------- Textbausteine ---------- */
.sub { display: flex; flex-direction: column; gap: var(--abstand-xs); }
.sub--gruppen { gap: var(--abstand-md); }
.sub--karten  { gap: var(--abstand-sm); }
.gruppe { display: flex; flex-direction: column; gap: var(--abstand-xs); }
.betont { font-weight: 600; }

.liste { list-style: disc; padding: 0; }
.liste li { margin-inline-start: 24px; line-height: 1.5; }

/* ---------- Material-Infobox ---------- */
.infobox {
  background: var(--hintergrund-marke-zart);
  border-radius: var(--radius-lg);
  padding: var(--abstand-lg);
  display: flex;
  flex-direction: column;
  gap: var(--abstand-sm);
}
.infobox--gruppiert { gap: var(--abstand-md); }
.infobox__kopf { display: flex; flex-direction: column; gap: var(--abstand-sm); }
.infobox__zeilen { display: flex; flex-direction: column; gap: var(--abstand-md); }
.infobox__zeile { display: flex; align-items: flex-start; gap: var(--abstand-lg); }
.infobox__kategorie {
  width: 220px;
  flex: none;
  font-weight: 600;
  color: var(--text-gedaempft);
}
.infobox__zeile .liste { flex: 1 0 0; min-width: 0; }
.infobox__hr { height: 1px; border: 0; background: var(--rahmen-marke); }
.infobox__hr--leer { background: transparent; }

.infobox a {
  color: var(--text-standard);
  text-decoration: underline;
}

.infobox a:hover,
.infobox a:focus,
.infobox a:focus-visible,
.infobox a:active,
.infobox a:visited {
    color: var(--text-marke);
}

/* ---------- Download- / Video-Karte ---------- */
.karte-medien {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: var(--abstand-md);
  padding: var(--abstand-md);
  background: var(--hintergrund-standard);
  border: 1px solid var(--rahmen-standard);
  border-radius: var(--radius-lg);
}
.karte-medien__tile {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hintergrund-marke-zart);
  border-radius: var(--radius-md);
}
.karte-medien__tile.simple{
  background: none !important;
}
.karte-medien__content{
  display: flex;
  flex-direction: row;
  gap: var(--abstand-md);
}
.karte-medien__tile img {
  width: var(--groesse-icon-md);
  height: var(--groesse-icon-md);
}
.karte-medien__meta {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--abstand-xs);
}
.karte-medien__icon {
  width: var(--groesse-icon-md);
  height: var(--groesse-icon-md);
  font-size: var(--groesse-icon-md);
  color: var(--primitiv-gruen-primaer);
  flex: none;
}
.karte-medien__titel { font-weight: 600; line-height: 1.5; color: #000; overflow-wrap: break-word;}
.karte-medien__sub { font-size: 14px; line-height: 1.5; color: var(--text-gedaempft); }

/* ---------- Seitenleiste ---------- */
.inhalt__titel {
  font-family: var(--font-ueberschrift); font-weight: 600;
  font-size: 22px; line-height: 1.3;
}
.anker { display: flex; flex-direction: column; gap: var(--abstand-sm); }
.anker a{
  color: #000;  
}
.anker__item {
  display: flex;
  align-items: flex-start;
  gap: var(--abstand-sm);
  font-size: 14px;
  line-height: 1.5;
}
.anker__item img {
  width: var(--groesse-icon-md);
  height: var(--groesse-icon-md);
  flex: none;
}
.anker__item--aktiv {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-marke);
}
.anker__item:hover {
  /* font-size: 16px; */
  /* font-weight: 600; */
  color: var(--text-marke);
}
.divider { height: 1px; border: 0; background: var(--rahmen-standard); }
.kicker--gedaempft { color: var(--text-gedaempft); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--abstand-sm);
  width: 277px;
}

.chips a:hover{
  color: var(--text-marke);
}
.chip {
  background: var(--hintergrund-gedaempft);
  border-radius: var(--radius-lg);
  padding: var(--abstand-xs) var(--abstand-md);
  font-size: 14px;
  line-height: 1.5;
  /* white-space: nowrap; */
  color: #000;
}
.chip--aktiv{
  background-color: var(--hintergrund-marke);
  color: var(--hintergrund-marke-zart);
}
.chip--aktiv:hover, .chip--aktiv:focus{
  background-color: var(--hintergrund-marke);
  color: #fff !important;
}

/* =========================================
   Sitemap
   ========================================= */

.sitemap {
    display: flex;
    flex-direction: column;
    gap: var(--abstand-xl);
    margin-top: 50px;
}

.sitemap > ul {
    display: flex;
    flex-direction: column;
    gap: var(--abstand-md);
}


/* ---------- Einträge ---------- */

.sitemap li {
    position: relative;
    line-height: 1.5;
}


/* ---------- Verschachtelte Ebenen ---------- */

.sitemap li > ul {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: var(--abstand-sm);

    margin-top: var(--abstand-sm);
    margin-left: 10px;
    padding-left: 28px;

    border-left: 1px solid var(--rahmen-standard);
}


/* ---------- Kleine Verbindungslinie ---------- */

.sitemap li > ul > li::before {
    content: "";

    position: absolute;
    top: 12px;
    left: -28px;

    width: 16px;
    height: 1px;

    background: var(--rahmen-standard);
}


/* ---------- Oberste Ebene ---------- */

.sitemap > ul > li {
    font-family: var(--font-ueberschrift);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-marke);
}


/* ---------- Ebene 2+ wieder normal ---------- */

.sitemap > ul > li li {
    font-family: var(--font-fliesstext);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-standard);
}


/* ---------- Modul-Ebene ---------- */

.sitemap > ul > li > ul > li {
    font-weight: 600;
}


/* ---------- Links ---------- */

.sitemap a {
    color: inherit;
    text-decoration: none;
}

.sitemap a:hover {
    color: var(--text-marke);
    text-decoration: underline;
}


/* ---------- Mobile ---------- */

@media (max-width: 700px) {

    .sitemap {
        gap: var(--abstand-lg);
    }

    .sitemap li > ul {
        margin-left: 6px;
        padding-left: 20px;
    }

    .sitemap li > ul > li::before {
        left: -20px;
        width: 12px;
    }

}


/* pdf-viewer */
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px;
}

.pdf-modal[hidden] {
    display: none;
}

.pdf-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);
}

.pdf-modal__content {
    position: relative;
    z-index: 1;

    width: min(1200px, calc(100% - 64px));
    height: min(90vh, 900px);

    /* Platz für den Close-Button */
    margin-top: 50px;

    background: #fff;
    border-radius: var(--radius-lg);
}

.pdf-modal__viewer {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
    border-radius: var(--radius-lg);
}

.pdf-modal__close {
    position: absolute;

    /* außerhalb des PDF-Bereichs */
    top: -40px;
    right: -40px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: var(--hintergrund-marke-zart);
    color: var(--text-marke);

    font-size: 24px;
    cursor: pointer;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.pdf-modal__close:hover,
.pdf-modal__close:focus {
    background: var(--hintergrund-marke);
    color: #fff;
}


/* ---------- Mobile ---------- */

@media (max-width: 700px) {

    .pdf-modal {
        padding: 0;
    }

    .pdf-modal__content {
        width: 100vw;
        height: 100dvh;

        border-radius: 0;
    }

    .pdf-modal__viewer {
        width: 100%;
        height: 100%;
    }

    .pdf-modal__close {
        top: 8px;
        right: 8px;
    }

}


/* video viewer */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.video-modal[hidden] {
    display: none;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.video-modal__content {
    position: relative;
    z-index: 1;

    width: min(1100px, 100%);

    margin-top: 50px;

    background: #000;
    border-radius: var(--radius-lg);

    /* overflow: hidden; entfernen! */
}

.video-modal__player {
    display: block;

    width: 100%;
    max-height: 85vh;

    background: #000;
    border-radius: var(--radius-lg);
}

.video-modal__close {
    position: absolute;

    /* außerhalb des Videos */
    top: -40px;
    right: -40px;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: var(--hintergrund-marke-zart);
    color: var(--text-marke);

    font-size: 24px;
    cursor: pointer;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.video-modal__close:hover,
.video-modal__close:focus {
    background: var(--hintergrund-marke);
    color: #fff;
}

@media (max-width: 700px) {

    .video-modal {
        padding: 12px;
    }

    .video-modal__content {
        width: 100%;
    }

}


/* =========================================================
   KONTAKTSEITE
========================================================= */

.kontaktseite {
    width: 100%;
    max-width: 1365px;
    margin: 70px auto 100px;
}

.kontaktseite__header {
    margin-bottom: 50px;
}

.kontaktseite__header .start__text {
    max-width: 750px;
}


/* GRID */

.kontaktseite__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 40px;
    align-items: stretch;
}


/* CARD BASIS */

.kontaktseite__card {
    background: #f9f9f9;
    border: 1px solid #dedede;
    border-radius: 48px;

    padding: 45px;

    color: #303030;
}

.kontaktseite__card h2 {
    margin: 0 0 30px;
    font-size: 28px;
    line-height: 1.2;
}

.kontaktseite__card h3 {
    margin: 0 0 30px;
    font-size: 19px;
    font-weight: 700;
}

.kontaktseite__card p {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 22px;
}


/* KONTAKTDATEN */

.kontaktseite__card--details {
    background: #e8f6ec;
    border-color: #b9e2c4;
}

.kontaktseite__item {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 28px;

    font-size: 16px;
    line-height: 1.6;
}

.kontaktseite__item:last-child {
    margin-bottom: 0;
}

.kontaktseite__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 42px;
    height: 42px;

    background: #fff;
    border-radius: 14px;

    color: var(--text-marke);
    font-size: 18px;
}

.kontaktseite__item a {
    color: var(--text-marke);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.kontaktseite__item a:hover {
    text-decoration: underline;
}


/* ÜBER DIE VERKEHRSWACHT */

.kontaktseite__card--about {
    display: flex;
    flex-direction: column;
}

.kontaktseite__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    align-self: flex-start;

    margin-top: auto;
    padding-top: 20px;

    color: var(--text-marke);

    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.kontaktseite__link:hover {
    text-decoration: underline;
}



/* ============================================================
   Responsive-Ergaenzungen / gemeinsame Mobile-Navigation
   ============================================================ */

/* Verhindert Kollisionen der in modul5.css und sections.css
   gemeinsam verwendeten Intro-Klassen. */
.modul .intro {
  gap: var(--abstand-lg);
}

.modul .intro__titel {
  color: var(--text-standard);
}

.modul .intro__titel span {
  color: var(--text-marke);
}

.modul .intro__bild {
  aspect-ratio: 928 / 360;
}

.modul .intro__bild img {
  object-fit: cover;
}

.seite-abschnitt .intro {
  gap: var(--abstand-xl);
}

.seite-abschnitt .intro__titel {
  color: var(--text-marke);
}

/* Button ist auf Desktop unsichtbar. */
.inhalt-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 34px;
  padding: 6px 14px;
  margin-left: auto;
  border: 1px solid var(--text-marke);
  border-radius: var(--radius-voll);
  background: var(--hintergrund-standard);
  color: var(--text-standard);
  font-size: 14px;
  line-height: 1;
}

.inhalt-toggle[aria-expanded="true"] {
  border-color: var(--farbe-primaer);
  background: var(--farbe-primaer);
  color: var(--farbe-primaer-kontrast);
}

@media (max-width: 900px) {
  .container,
  .seite-abschnitt .container {
    padding-inline: 24px;
  }

  .spalten {
    flex-direction: column;
    gap: var(--abstand-lg);
  }

  .spalten__main {
    width: 100%;
    order: 0;
  }

  .inhalt-toggle {
    display: inline-flex;
    order: -3;
  }

  .spalten__seitenleiste {
    display: none;
    position: static;
    order: -2;
    width: 100%;
    max-width: none;
    padding: var(--abstand-md);
    border: 1px solid var(--rahmen-standard);
    border-radius: var(--radius-lg);
    background: var(--hintergrund-standard);
  }

  .spalten__seitenleiste.is-open {
    display: flex;
  }

  .spalten__seitenleiste .inhalt__titel {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .spalten__seitenleiste .anker {
    gap: 4px;
  }

  .spalten__seitenleiste .anker__item {
    padding-block: 6px;
  }

  .spalten__seitenleiste .anker__item--aktiv {
    font-size: 14px;
  }

  .spalten__seitenleiste .chips {
    width: 100%;
  }

  .modul {
    grid-template-columns: 1fr;
    gap: var(--abstand-lg);
  }

  .modul__main,
  .modul__sidebar {
    width: 100%;
  }

  .sidebar-box {
    position: static;
  }

  .hero,
  .banner {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .banner img,
  .banner--kickoff img,
  .banner--handson img,
  .banner--takeaway img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .infobox__zeile {
    gap: var(--abstand-md);
  }

  .infobox__kategorie {
    width: 170px;
  }

  .kontaktseite__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kontaktseite__card {
        padding: 35px;
        border-radius: 32px;
    }
}

@media (max-width: 700px) {
  .container,
  .seite-abschnitt .container {
    padding-inline: 16px;
  }

  .seite-abschnitt__body {
    gap: var(--abstand-md);
    padding-block: var(--abstand-md) var(--abstand-2xl);
  }

  .breadcrumb {
    min-width: 0;
    padding-block: var(--abstand-md);
    font-size: 13px;
  }

  .spalten,
  .spalten__main,
  .modul,
  .modul__main {
    gap: var(--abstand-lg);
  }

  .hero {
    border-radius: var(--radius-md);
  }

  .intro,
  .seite-abschnitt .intro,
  .modul .intro {
    gap: var(--abstand-md);
  }

  .intro__titel,
  .seite-abschnitt .intro__titel,
  .modul .intro__titel {
    font-size: 30px;
    line-height: 1.08;
  }

  .intro__lead,
  .block p {
    font-size: 16px;
  }

  .meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: var(--abstand-md) var(--abstand-lg);
  }

  .meta__item {
    width: 100%;
    font-size: 13px;
  }

  .bausteine,
  .filter,
  .karte,
  .infobox {
    padding: var(--abstand-md);
  }

  .bausteine__titel,
  .block__titel,
  .akkordeon > summary,
  .karte__titel,
  .inhalt__titel {
    font-size: 20px;
  }

  .sektion__titel,
  .abschnitte__titel {
    font-size: 24px;
  }

  .filter__felder {
    grid-template-columns: 1fr;
  }

  .karte__kopf {
    align-items: flex-start;
  }

  .karte__meta {
    width: 100%;
  }

  .infobox__zeile {
    flex-direction: column;
    gap: var(--abstand-xs);
  }

  .infobox__kategorie {
    width: auto;
  }

  .karte-medien {
    width: 100%;
  }

  .chip {
    white-space: normal;
  }

  .site-footer {
    margin-top: var(--abstand-2xl);
  }

  .kontaktseite {
        margin-top: 40px;
        margin-bottom: 70px;
    }

    .kontaktseite__header {
        margin-bottom: 30px;
    }

    .kontaktseite__card {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .kontaktseite__card h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .kontaktseite__card h3 {
        font-size: 18px;
    }

    .kontaktseite__item {
        gap: 14px;
        margin-bottom: 22px;
    }

    .kontaktseite__icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
  .intro__titel,
  .seite-abschnitt .intro__titel,
  .modul .intro__titel {
    font-size: 28px;
  }

  .meta {
    gap: 14px 12px;
  }

  .meta__icon {
    width: var(--groesse-icon-md);
    height: var(--groesse-icon-md);
    font-size: var(--groesse-icon-md);
  }

  .spalten__seitenleiste {
    padding: 14px;
  }

  .karte-medien {
    align-items: flex-start;
  }
}
