/* Grundlayout */
.page-layout {
       flex: 1 0 auto;             /* nimmt restliche Höhe ein */
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
}
/* Page Hero für Unterseiten (falls noch nicht vorhanden) */
.page-hero {
    background: var(--color-light);
    border-radius: 1rem;
    padding: 2rem 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.page-hero h1 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--color-primary);
}

.page-hero p {
    max-width: 700px;
    margin-bottom: 1rem;
}

/* Schritt-Layout mit Screenshot + Text */

.step-block {
    margin-bottom: 1.5rem;
    padding: 0 0.75rem; 
     /* links und rechts etwas Innenabstand */
     
}

.step-grid.is-video-expanded{
  flex-wrap: wrap;
}
.step-grid.is-video-expanded .step-media{
  flex: 1 0 100%;
  padding-left: 0;            /* Dein padding-left würde sonst verschieben */
}

.step-grid.is-video-expanded .step-media figure{
  padding-left: 0;            /* dito */
}

.step-grid.is-video-expanded .step-content{
  flex: 1 0 100%;
}

.step-header {
    margin-bottom: 1rem;
}

.step-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--color-primary);
}

.step-header p {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: #555;
}

.step-grid {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-media {
    flex: 0 0 280px; /* Breite des Screenshot-Bereichs */
      padding-left: 0.75rem;
}

.step-media figure {
    margin: 0;
      padding-left: 0.75rem;
}

.step-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.step-media figcaption {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: #666;
}

.step-content {
    flex: 1;
    font-size: 0.95rem;
     line-height: 1.6rem;  
}

.step-content ol,
.step-content ul {
    margin-top: 0.25rem; 
}
.step-content ol li {
    margin-bottom: 1.5rem; 
 
 }

.step-content ul li {
    margin-bottom: 1.5rem;  /* hier kannst du „Luft“ zwischen den Punkten einstellen */
}


/* Sidebar */

.sidebar {
    flex: 0 0 220px;
    padding: 1.5rem 1rem 2.5rem 0;
}
.layout-shell {
    width: 100%;
}

/* Hauptbereich: Inhalt zentriert, max. Breite */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}
.main-nav.main-nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.main-nav.main-nav-vertical a {
    display: block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--color-primary);
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    
}

.main-nav.main-nav-vertical a:hover {
    background: rgba(0, 61, 102, 0.08);
    color: #00263d;
    transform: translateX(2px);
}

/* optional: aktive Seite später per Klasse markierbar */
.main-nav.main-nav-vertical a.is-active {
    background: var(--color-primary);
    color: #fff;
}

/* Mehrere Bilder im Step-Bereich */
.zoom-figure {
    margin: 0 0 1rem 0;
    cursor: zoom-in;
}

.zoom-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.zoom-figure figcaption {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #666;
}

/* Lightbox-Overlay */

.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.75);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

/* sichtbarer Zustand */
.img-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.img-lightbox-backdrop {
    position: absolute;
    inset: 0;
}

.img-lightbox-content {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 0.75rem 0.75rem 0.5rem;
    border-radius: 0.75rem;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.img-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.img-lightbox-content p {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #444;
}

/* Schließen-Button */
.img-lightbox-close {
    position: absolute;
    top: 0.25rem;
    right: 0.4rem;
    border: none;
    background: transparent;
    color: #333;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}



/* Hauptbereich rechts */


.logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}
.logo {
    max-width: 50%;
}
.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.logo-text {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--color-primary);
}
:root {
    --color-primary: #357A80;
    --color-accent:  #6B6767;
    --color-bg:      #f5f5f7;
    --color-text:    #333333;
    --color-light:   #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--color-bg);
    color: var(--color-text);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navigation */
.site-header {
    position: relative;
    background: var(--color-light);
    border-bottom: 1px solid #ddd;
     z-index: 1000;
    overflow: hidden; /* Bild sauber “abschneiden” */
    min-height: 90px; /* leicht erhöhte Mindesthöhe für mehr Fläche */
}

.header-inner {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    position: relative;
    z-index: 1; /* Inhalte über dem Hintergrundbild */
    justify-content: space-between;
}
.site-header::after {
    content: "";
    position: absolute;
    inset: 0; /* nimmt die komplette Headerfläche ein */
    pointer-events: none;

    /* ZWEI Hintergründe: Gradient (für Fade-out) + Bild */
   background-image:
        linear-gradient(to left,
            rgba(255, 255, 255, 0.0) 0%,     /* ganz rechts: durchsichtig */
            rgba(255, 255, 255, 0.85) 60%,   /* Mitte: stark aufgehellt */
            var(--color-light) 70%           /* Richtung Logo: Vollweiß / Headerfarbe */
        ),
        url("/assets/img/Teamsession.png"); /* hier Deinen Bildpfad eintragen */

    background-position: right center, right center;
    background-repeat: no-repeat, no-repeat;

    /* Bildgröße: an Höhe orientieren, nicht zu dominant */
    background-size: contain, cover;
    opacity: 0.9; 
}
.logo a {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-primary);
    
}
/* Horizontale Navigation unter dem Header */

.top-nav {
    width: 100%;
    background: var(--color-light);
    border-bottom: 1px solid #ddd;
}

.top-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.4rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* mittig im Viewport */
    align-items: center;
}

/* Links in der Top-Navi */

.top-nav-inner a {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    padding: 0.3rem 0.1rem;
    color: var(--color-primary);
    text-decoration: none;
}

/* Trenner | links und rechts vom Text, erster/letzter ohne Außenstrich */

.top-nav-inner a::before,
.top-nav-inner a::after {
    content: "|";
    color: #999999;
    font-weight: 400;
}

.top-nav-inner a::before {
    margin-right: 0.4rem;
}

.top-nav-inner a::after {
    margin-left: 0.4rem;
}

/* Ersten Link links außen ohne Strich */
.top-nav-inner a:first-child::before {
    content: "";
    margin-right: 0;
}

/* Letzten Link rechts außen ohne Strich */
.top-nav-inner a:last-child::after {
    content: "";
    margin-left: 0;
}

/* Hover-Effekt dezent */
.top-nav-inner a:hover {
    color: var(--color-accent);
}

.main-nav a {
    margin-left: 1rem;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--color-accent);
}



/* Hauptbereich */

.site-main {
    padding: 2rem 0 3rem;
}

.hero {
    position: relative;
   /*background: radial-gradient(circle at top left, #e0f2ff 0, #f5f5f7 45%, #fdfdfd 100%);*/
    border-radius: 1.25rem;
    padding: 2.5rem 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
   
}

/* leichtes “Pattern” im Hintergrund */
.hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    pointer-events: none;
}

   /* background:
        radial-gradient(circle at 10% 20%, rgba(128, 184, 35, 0.14) 0, transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(0, 61, 102, 0.18) 0, transparent 60%);
    opacity: 0.9;*/


.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-top: 0;
    font-size: 2rem;
    color: var(--color-primary);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* optional: “floating” Pills rechts */
.hero-aside {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    z-index: 1;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.hero-video-bg {
    position: absolute;
    inset: 0;
     z-index: 0;
    background: #000; /* falls geringe Ränder entstehen, sind sie dunkel */
     opacity: 0.30;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

Overlay für gute Lesbarkeit 
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
   /*  background: linear-gradient(
        135deg,
        rgba(53, 122, 128, 0.20) 5%,
        rgba(0, 0, 0, 0.15) 100%
    );*/
}

/* Inhaltsebene */
.hero-content {
    position: relative;
    
    z-index: 2;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 1.25rem;
    color: #0e0d0d;
     
}

.hero-content h1 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #357A80;
     
}
.hero-sub h1 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #357A80;
}
.hero-sub {
    max-width: 620px;
    font-size: 1.0rem;
    margin-bottom: 1rem;
     font-weight: 500;
    line-height: 1.2;
    
}

/* Karten / Kacheln */

.card-grid {
    display: grid;
    grid-template-columns:  repeat(2, minmax(0, 1fr));
    gap: 2.0rem;             /* vorher war z. B. 1.5rem – hier etwas großzügiger */
    margin: 2.5rem 0 3rem;   /* oben/unten auch etwas mehr Luft */
}


.card {
    background: var(--color-light);
    border-radius: 1rem;
    padding: 1.6rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, translate 0.18s ease;
    position: relative;
     margin-bottom: 0.5rem;
    display: flex;              /* NEU: Flex-Layout in der Card */
    flex-direction: column;     /* Inhalte von oben nach unten */
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 61, 102, 0.04), rgba(128, 184, 35, 0.04));
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-6px) scale(1.1); /* <– hier: Anheben + Vergrößerung */
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.card:hover::before {
    opacity: 1;
}

.card ul li {
 margin-bottom: 0.5rem;
}

.card h2,
.card h3 {
    margin-top: 0;
      margin-bottom: 0.3rem;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.card p {
    margin-bottom: 0.5rem;
}

.card-actions {
    margin-top: auto;           /* schiebt den Bereich nach unten */
    padding-top: 1rem;          /* Abstand zum Text darüber */
    text-align: center;         /* Button horizontal zentrieren */
}

.card-actions .btn {
    min-width: 60%;             /* optional: Buttons etwas breiter wirken lassen */
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: #6B6767;
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
}

.btn-accent:hover {
    filter: brightness(0.9);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;      /* zentriert die Buttons */
    margin-top: 0.75rem;
}



/* Standard-Buttons hast du ungefähr so */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    justify-content: center;  
}

/* Akzent-Button (Download) */
.btn-accent {
    background: var(--color-accent);
    color: #fff;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover-Farbe für Download-Buttons */
.btn-accent:hover {
    background: #555555; /* etwas dunkler als var(--color-accent) */

}

.btn-downloaded {
    background: #4CAF50;    /* Grün als Signal */
    color: #fff;
}

/* Hover im "downloading"-Zustand etwas abgedunkelt */
.btn-downloaded:hover {
    background: #449D48;
}

/* Footer */

.site-footer {
    width: 100%;
    border-top: 1px solid #ddd;
    background: #fafafa;
    padding: 1rem 0;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}


.video-frame {
    max-width: 800px;              /* maximale Breite des Videos */
    margin: 1.5rem auto;           /* zentriert, oben/unten etwas Luft */
    border-radius: 0.75rem;
    overflow: hidden;              /* Ecken auch für Video/Thumbnail „abschneiden“ */
    background: #595858;              /* Hintergrund, falls Video nicht ganz füllt */
    box-shadow: 0 10px 5px rgba(0, 0, 0, 0.12);
}
.video-wrapper {
    max-width: 100%;
/* Video vollständig in den Rahmen einpassen */

}

.video-frame video {
    display: block;
    width: 100%;
    height: auto;
   } 

.video-thumb {
    position: relative;
    display: block;
    cursor: pointer;
}

.video-thumb img {
    display: block;
    width: 100%;
    height: auto;
   
}

.video-play-btn {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    border: none;
    border-radius: 999px;
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
    line-height: 1;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
}

.video-player {
    display: none;    /* sicherheitshalber */
}

.video-player video {
    display: block;
    width: 100%;
    height: auto;
}

/* Optional: hübscher Rahmen/Shadow im Normalzustand */
.video-breakout{
    display:block; 
  border-radius:0.75rem;
  overflow:hidden;
  background:#000;
}

.video-frame figcaption{
  padding: .5rem .75rem;
  font-size: .85rem;
  color: #666;
  background: #fff; /* optional */
}

/* EXPAND: 100vw „Breakout“ aus dem Container heraus */
.video-figure.is-expanded .video-breakout{
  width: 100vw;
  margin-left: calc(50% - 50vw);  /* zentriert auf Viewport */
  max-width: 100vw;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}


.video-figure video{
  display:block;
  width:100%;
  height:auto;
  border-radius:0.75rem;
}
/* Optional: Animation */
.video-figure .video-breakout{
  transition: width .25s ease, margin-left .25s ease, box-shadow .25s ease;
}


/* -------------------
   Multiple-Choice-Blöcke
   ------------------- */

.quiz-form {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.quiz-group {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.quiz-group h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--color-primary);
}
.quiz-subheading {
    margin: 0.5rem 0 0.35rem;
    font-size: 0.98rem;
    color: #333;
}

.quiz-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.quiz-group .form-row {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.quiz-group .form-row label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.95rem;
}

.quiz-group .form-row input[type="text"],
.quiz-group .form-row input[type="email"],
.quiz-group textarea {
    width: 100%;
    max-width: 480px;
    padding: 0.45rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    font: inherit;
    resize: vertical;
}

/* WICHTIG: Alle Labels im Multiple-Choice-Block als eigene Zeile */
.quiz-options {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.quiz-options li {
    margin: 0.3rem 0;            /* Abstand zwischen den Antworten */
}


.quiz-options label {
    display: flex !important;       /* andere Label-Regeln übersteuern */
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.4;
     cursor: pointer;
}

.quiz-options input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Textfelder unten */
.quiz-group input[type="text"],
.quiz-group input[type="email"],
.quiz-group textarea {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    font: inherit;
    resize: vertical;
}

.quiz-group textarea {
    min-height: 3rem;
}

.quiz-actions {
    text-align: center;
    margin-top: 2rem;
}

.quiz-group .form-row label {
    display: flex;
    flex-direction: column;    /* Beschriftung über dem Feld */
    gap: 0.25rem;              /* kleiner Abstand Label -> Input */
    font-size: 0.95rem;
}
.quiz-options input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.quiz-actions {
    text-align: center;
    margin-top: 2rem;
}


.footer-marquee{
  border-top: 1px solid #ddd;
  background: #0070C0;
}

.footer-marquee__link{
  display: flex;
min-height: 64px;          /* Bandhöhe festlegen */
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  color: #fff;
  text-decoration: none;
}

.footer-marquee__icon{
  width:60px;
  height: 80px;
  border-radius: 18px;
  flex: 0 0 auto;
  /* box-shadow: 0 8px 6px rgba(0,0,0,.22);
   object-fit: contain;            wichtig, wenn das Icon sehr klein/transparent ist */
  /*background: rgba(255,255,255,.12); optional: hilft kleinen Icons sichtbar zu machen */
  /*  padding: 6px;                    optional: gibt „Rahmen“ um kleine Grafik */
}


.footer-marquee__viewport{
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  white-space: nowrap;
}

/* Track läuft von rechts nach links */
.footer-marquee__track{
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-left: 100%;                 /* Start außerhalb rechts */
  will-change: transform;
  animation: footerMarquee 30s linear infinite;
}

.footer-marquee__item{
  font-weight: 500;
  font-size: 0.85rem;
  color: #ffff
}

.footer-marquee__sep{
  color: rgba(255,255,255,.70);     /* Separator hell */
  font-weight: 400;
}


/* Pause on hover */
.footer-marquee:hover .footer-marquee__track{
  animation-play-state: paused;
}
/* Sichtbare Hauptnavigation (Desktop) */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.primary-nav a {
    font-size: 0.95rem;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.3rem 0;
}

.primary-nav a:hover {
    color: var(--color-accent);
}

/* Hamburger-Button */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 32px;
    border-radius: 99px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    padding: 4px 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 99px;
    background: var(--color-primary);
}

/* Panel für alle Links (Dropdown unter dem Header) */
.nav-panel {
    position: absolute;
    right: 1rem;
    top: 100%;
    margin-top: 0.3rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    padding: 0.35rem 0;
    min-width: 240px;

    display: none;          /* per JS toggeln */
}

.nav-panel.is-open {
    display: block;
}

.nav-panel a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.nav-panel a:last-child {
    border-bottom: none;
}

.nav-panel a:hover {
    background: rgba(0, 61, 102, 0.06);
    color: var(--color-accent);
}



/* Endposition: komplett nach links durch */
@keyframes footerMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce){
  .footer-marquee__track{ animation: none; padding-left: 0; }
}


/* Responsiv */
@media (max-width: 800px) {
    .page-layout {
        flex-direction: column;
        padding: 0 1rem 2rem;
    }
     .card-grid {
        grid-template-columns: 1fr; /* auf kleineren Screens 1 Spalte */
    }

    .sidebar {
        padding: 1rem 0 0.5rem;
        flex: 1 0 auto;
    }



    .step-grid {
        flex-direction: column;
    }

    .step-media {
        flex: 1 0 auto;
    }


    .site-main {
        padding: 1.5rem 0 2.5rem;
    }
 .primary-nav {
        display: none;
    }

    .nav-panel {
        position: static;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #ddd;
        width: 100%;
    }

}


@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }


     .hero {
        min-height: auto;   
        padding: 1.5rem 1.25rem 2rem;        /* Höhe voll vom Inhalt abhängig */
    }

    .hero-content {
        justify-content: flex-start;           /* nicht mehr zentriert, eher „oben“ */
        padding: 0;      /* etwas kompakter, aber mehr Platz nach unten */
    }
    .hero-content h1 {
         font-size: 1.7rem;     
        color: var(--color-primary);
    }
.page-hero {
    background: var(--color-light);
    border-radius: 2rem;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.page-hero h1 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--color-primary);
}
  .hero-sub {
        font-size: 1.0rem;                     /* minimal kleiner */
        line-height: 1.5;
    }
.page-hero p {
    max-width: 700px;
    margin-bottom: 1rem;

   
    }



    
    /* Navigation auf kleinen Screens: nebeneinander mit "|" getrennt */
    .sidebar {
        padding: 1rem 0 0.5rem;
    }

    .main-nav.main-nav-vertical {
        flex-direction: row;   /* horizontal statt Spalte */
        flex-wrap: wrap;       /* Zeilenumbruch zulassen */
        gap: 0;                /* Abstand über "|" steuern */
        justify-content: center;
    }

    .main-nav.main-nav-vertical a {
        padding: 0.25rem 0.1rem;
        border-radius: 0;
        background: transparent;
        font-size: 0.9rem;
        text-align: center;
    }

    /* Hover-Effekt auf Mobil etwas ruhiger halten */
    .main-nav.main-nav-vertical a:hover {
        background: transparent;
        color: var(--color-primary);
        transform: none;
    }

    /* Trennstrich "|" zwischen den Links */
      .main-nav.main-nav-vertical a::before,
    .main-nav.main-nav-vertical a::after {
        content: "|";
        color: #999999;
        font-weight: 400;
    }

    .main-nav.main-nav-vertical a::before {
        margin-right: 0.4rem;
    }

    .main-nav.main-nav-vertical a::after {
        margin-left: 0.4rem;
    }

    /* Optional: ersten/letzten Link außen ohne Strich,
       dann wirkt es weniger "eingezäunt" 
    .main-nav.main-nav-vertical a:first-child::before {
        content: "";
        margin-right: 0;
    }

    .main-nav.main-nav-vertical a:last-child::after {
        content: "";
        margin-left: 0;
    }*/
}