/* desktop columns */
.col-2to6  { grid-column: 2 / 7; }
.col-7to11 { grid-column: 7 / 12; }

/* mobile stack */
@media (max-width:1024px){
  .akademie-row {
    display:block;
  }
  .col-2to6,
  .col-7to11 {
    grid-column: auto;
    width:100%;
    padding:0 16px;
  }
  .akademie-col-right 
  { margin-top: 0; }
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* ===== Fix: Prevent horizontal scroll on Stiftung page ===== */
.page-stiftung,
.page-stiftung main,
.page-stiftung .stiftung-hero-section,
.page-stiftung .akademie-content,
.page-stiftung .stiftung-bg,
.page-stiftung .content-wrapper,
.page-stiftung .scroll-heading-wrapper,
.page-stiftung .scroll-heading {
  overflow-x: clip; /* avoid horizontal panning when children translateX */
}

/* Ensure images never exceed container width */
.page-stiftung .stiftung-hero-right img,
.page-stiftung .akademie-col-left img,
.page-stiftung img.akademie-hero-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Fix: Prevent horizontal scroll on Akademie page ===== */
.page-akademie,
.page-akademie main,
.page-akademie .c-home-hero,
.page-akademie .c-home-hero__wrapper,
.page-akademie .c-home-hero__content,
.page-akademie .c-home-hero__layer,
.page-akademie .akademie-content,
.page-akademie .akademie-standorte,
.page-akademie .standorte {
  overflow-x: clip; /* prevents horizontal panning from transforms / wide children */
}

/* Ensure images never exceed container width on Akademie */
.page-akademie img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Fix: Prevent horizontal scroll on proWIN heute page ===== */
.page-proWIN,
.page-proWIN main,
.page-proWIN .c-proWIN-hero,
.page-proWIN .c-proWIN-hero__wrapper,
.page-proWIN .c-proWIN-hero__content,
.page-proWIN .c-proWIN-hero__layer,
.page-proWIN .c-proWIN-hero__layer__background,
.page-proWIN .c-proWIN-hero__layer__content {
  overflow-x: clip; /* verhindert horizontales Panning durch breite/übersetzte Kinder */
}

/* Vollbreite erzwingen, damit aspect/position korrekt berechnet wird */
.page-proWIN .c-proWIN-hero,
.page-proWIN .c-proWIN-hero__wrapper,
.page-proWIN .c-proWIN-hero__content {
  width: 100%;
}

/* Sicherheitsnetz: Bilder nicht breiter als Container */
.page-proWIN img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Design System Variables */
:root {
  /* Timeline Brand Colors */
  --timeline-white: #ffffff;
  --timeline-Offwhite: #f3f1ee;
  --timeline-whitish: #F3F1EE;
  --timeline-black: hsl(0, 0%, 0%);
  --timeline-gray-light: hsl(0, 0%, 94%);
  --timeline-gray-medium: hsl(0, 0%, 50%);
  --timeline-gray-dark: hsl(240, 6%, 12%);
  --timeline-accent: hsl(214, 100%, 50%);
  --timeline-blue-500: hsl(217, 91%, 60%);
  --timeline-blue-400: hsl(214, 100%, 70%);
  --timeline-blue-300: hsl(212, 96%, 78%);
  --timeline-gray-subtle: #141a2280;

  /* Typography */
  --font-timeline:  "helvetica-neue-lt-pro", sans-serif;
  --font-serif: "georgiapro", sans-serif;


  
  /* Spacing */
  --container-max-width: 104rem;
 /* --container-padding: 1rem;*/
}

body {
  font-family: var(--font-timeline);
  line-height: 1.6;
  color: var(--timeline-black);
  background-color: var(--timeline-white);
  scroll-behavior: smooth;
}

@media (max-width: 767px) {
  .timeline-content-wrapper {
    padding-left: 24px;
    padding-right: 16px;
  }
  .header-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-description {
    padding-left: 24px;
    padding-right: 16px;
    text-align: center;
  }
}

/* Header Styles */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);  
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease-in-out;
  transform: translateY(0); /* default visible state */
}

/* Hide/Show classes controlled by JS */
.header.hide {
  transform: translateY(-100%);
}
.header.show {
  transform: translateY(0);
}



.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.header-content {
  min-height: 5rem;
  display: grid;
  align-items: center;
  padding-block: 0.5rem;

}

.logo { 
  line-height: 0; }

.logo-img {
  height: 3rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.desktop-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
      display: flex;
  }
}

.nav-link {
  font-family: var(--font-timeline);
  color: var(--timeline-black);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  line-height: 1;
}

.nav-link:hover {
  background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}
/* 12 Column Grid System für Header */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  justify-content: start;
  column-gap: 1rem;
  align-self: center;
}

/* Mobile-first Header: Flex, Desktop: Grid */
/* Default (Mobile): use Flex so Logo + Hamburger sitzen sauber in einer Linie */
.header-content.grid-12 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Ab Tablet/Desktop: wieder auf Grid umschalten */
@media (min-width: 768px) {
  .header-content.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1rem;
  }
}

.col-1 {
  grid-column: 1 / 2;
}

.col-2 {
  grid-column: 2 / 3;
}

.col-3to6 {
  grid-column: 3 / 7;
}

.col-7to10 {
  grid-column: 7 / 11;
}

.col-11to12 {
  grid-column: 11 / 13;
  justify-self: end;
}

/* Neue Spalten für den Header-Grid-Einsatz */
.col-2to3 {
  grid-column: 2 / 4;   /* Columns 2–3 */
}

.col-9to12 {
  grid-column: 9 / 12;  /* Columns 9–12 */
  justify-self: end;     /* Nav rechts ausrichten */
}

/* Grid helpers for hero layout */
.col-1to7  { grid-column: 2 / 7; }   /* columns 1–7 */
.col-8to12 { grid-column: 8 / 12; }  /* columns 8–12 */

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--timeline-black);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
      display: none;
  }
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--timeline-black);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--timeline-black);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.mobile-menu-btn.active .hamburger {
  background-color: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out;
}

.mobile-nav.active {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-nav {
      display: none !important;
  }
}

.mobile-nav-link {
  font-family: var(--font-timeline);
  color: var(--timeline-black);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--timeline-accent);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--timeline-white), hsla(0, 0%, 94%, 0.3));
}

.hero-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
  z-index: 25;
  background-color: var(--timeline-white);
  position: relative;
  z-index: 20;
}

.hero-title {
  font-family: var(--font-timeline);
  font-size: clamp(3rem, 10vw, 11rem);
  font-weight: 300;
  color: var(--timeline-black);
  margin-bottom: 0;
  margin-top: 6rem;
  line-height: 1.2;
  animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 768px) {
.hero-title {
  font-size: clamp(3rem, 20vw, 12rem);
}
}


.hero-accent {
    background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text
/* color: var(--timeline-gray-medium);*/
}

.hero-description {
  font-family: var(--font-timeline);
  font-size: 1.825rem;
  font-weight: 300;
  text-align: center;
  color: var(--timeline-black);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  position: relative;
  z-index: 20;
}

.timeline-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.timeline-indicator-line {
  width: 1px;
  height: 4rem;
  background-color: var(--timeline-black);
}


/* Scroll Band  */

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.scroll-content {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-left 40s linear infinite;
  gap: 5rem;
  margin-bottom: 5rem;
}

.item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2rem;
  white-space: nowrap;
  font-size: clamp(3rem, 10vw, 12rem);
  line-height: 1.4;
}

.item span {
  font-family: var(--font-timeline);
  font-size: clamp(3rem, 11vw, 12rem);
  font-weight: 300;
  color: var(--timeline-black);
  margin-bottom: 2rem;
  /*margin-top: 4rem;*/
  line-height: 1.4;
}

.item img {
  width: auto;
  height: 1.2em;
  object-fit: contain;
  vertical-align: middle;
}

@keyframes scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .scroll-wrapper {
    height: auto;
    overflow-x: hidden;
    width: 100%;
  }

  .scroll-content {
    animation-duration: 30s; /* langsamer auf kleinen Screens */
    gap: 1rem;
    height: auto;
  }

  .item {
    padding: 0 1rem;
  }

  .item span {
    font-size: clamp(3rem, 20vw, 12rem);
    margin: 0;  
  }

  .item img {
    width: auto;
    height: 2em;  /* statt 1em */
  }
  
}

/* Timeline Main */
.timeline-main {
  position: relative;
  margin-top: 5rem;
}

/* Year Headers */
.year-header {
  position: relative;
  padding: 2rem 0;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  overflow: hidden;
  /*left: 20px;
  width: calc(100% - 40px);*/
  height:max-content;
}

.year-text {
  font-family: var(--font-timeline);
  font-weight: 300;
  color: inherit;
  font-size: 40vw;        /* groß genug, damit wir immer schrumpfen */
  line-height: 1;
  padding: 0;             /* kein extra Rand, hilft beim Fit */
  white-space: nowrap;
  text-align: center;
  position: sticky;

  /* Fit + optionaler Scroll-Scale über CSS-Variablen */
  --year-fit-scale: 1;
  --year-scroll-scale: 1;
  transform: scale(calc(var(--year-fit-scale) * var(--year-scroll-scale)));
  transform-origin: center center;
  transition: transform 0.3s ease;
}



/* Timeline Sections */
.timeline-section {
  position: relative;
  padding: 0 0 140px 0;
  transition: all 1s ease-out;
  /*left: 20px;
  width: calc(100% - 40px);*/
}

/*.timeline-section.last-of-year {
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  overflow: visible;
}
*/

.timeline-row {
  display: grid;
  grid-template-columns: 49% 2% 49%;
  align-items:start;
}

@media (min-width: 1024px) {
  .timeline-row {
    justify-content: space-between;
  }
}

.timeline-circle {
  width: 15px;
  height: 15px;
  background-color: var(--timeline-blue-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--timeline-white);
  position: sticky;
  top: 50vh;
  justify-self: center;
  z-index: 20;
  grid-column: 2;
}

.timeline-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.timeline-video { 
  width: 100%; height: auto; max-height: 80vh; object-fit: cover;  
}

.timeline-text-col {
  transition: all 1s ease-out;
}

/* Seite-abhängige Positionierung */
/* ----- Left-aligned Rows ----- */
.timeline-row.left .timeline-text-col {
  grid-column: 1;
  margin-left: 7vw;
  display: flex;
  justify-content: flex-end;
}
.timeline-row.left .timeline-image-col {
  grid-column: 3;
}
.timeline-row.right .timeline-image-col {
  grid-column: 1;
}
.timeline-row.right .timeline-text-col {
  grid-column: 3;
  padding-left: 7vw;
}

.parallax-container {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  max-height: 80vh;
  width: 100%;            /* NEW: fixes 0×0 in responsive views */
  /*aspect-ratio: 13 / 10;*/
}
.timeline-row.left .parallax-container {
  margin-left: 0;
  /*margin-right: 7vw;*/
}
.timeline-row.right .parallax-container {
  margin-right: 0;
  /*margin-left: auto;*/
}

.parallax-container .timeline-image {
  display: block;
  width: 110%;
  min-height: 110%;
  max-width: none;
  max-height: 60vh;
  object-fit: contain;
  will-change: transform;
  transform: translateZ(0);
  transition: none;
  transform-origin: top center;
}
.parallax-container.aspect-16-9 {
  aspect-ratio: 16/ 9;
}
.parallax-container.aspect-10-13 {
  aspect-ratio: 10 / 13;
}
.parallax-container.aspect-1-1 {
  aspect-ratio: 1 / 1;
}
.parallax-container.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

/* Responsive iframe video embedding */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;            /* fill the parallax container */
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;                /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Position-based reveal: linke Spalte von links, rechte Spalte von rechts */
@media (min-width: 1024px) {
  /* Ausgangszustand für reveal animation nur für Kinder */
  .timeline-section .timeline-row > *:not(.timeline-circle) {
    opacity: 0;
    transform: translateY(2rem);
    transition: transform 1s ease-out, opacity 1s ease-out;
  }
  .timeline-section.visible .timeline-row > *:not(.timeline-circle) {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile/Tablet (gestapelt): beide von unten */
@media (max-width: 1023px) {
  .timeline-section .timeline-row > *:not(.timeline-circle) {
    opacity: 0;
    transform: translateY(2rem);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  }
  .timeline-section.visible .timeline-row > *:not(.timeline-circle) {
    opacity: 1;
    transform: translateY(0);
  }
}



.timeline-empty-col {
  display: none;
}

@media (min-width: 1024px) {
  .timeline-empty-col {
      display: block;
  }
}


.timeline-content {
  font-family: var(--font-timeline);
}

.timeline-year {
  color: var(--timeline-gray-medium);
  font-size: 0.875rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;

}

.timeline-title,
.timeline-description,
.timeline-details {
  color: inherit;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
  transform: translateY(2rem);
}
.timeline-description {
  font-size: 1.875rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.3;
  max-width: 480px;
  transform: translateY(1rem);
}

.timeline-details {
  font-size: 0.875rem;
  line-height: 1.6;
  transform: translateY(1rem);
}

@media (max-width: 767px) {
  .timeline-title {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  .timeline-description {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
}

@media (max-width: 1024px) {
  .timeline-row.left .parallax-container {
  margin-left: 0;
  margin-right: 0;
  }

.timeline-row.right .parallax-container {
margin-left: 0;
margin-right: 0;
}

.timeline-row.left .timeline-text-col {
  padding-right: 4vw;
}
.timeline-row.right .timeline-text-col {
  padding-right: 4vw;
}
}
/* Timeline text elements: initial hidden state and staggered reveal */
.timeline-section.visible .timeline-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--reveal-delay, 0.4s) + 0.3s);
}
.timeline-section.visible .timeline-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0.4s);
}
.timeline-section.visible .timeline-details {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--reveal-delay, 0.4s) + 0.6s);
}


/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  height: 100vh;
  width: 1px;
  background-color: white;
  z-index: 10;
  --scroll-progress: 0%;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: var(--scroll-progress);
    background-image: linear-gradient(to bottom, var(--timeline-gray-light),var(--timeline-blue-400));    
    transition: height 0.1s ease-out;
}

/* Carousel Styles */
.carousel-section {
  grid-column: 1 / -1;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .carousel-section {
      grid-column: 3 / 11;
  }
}

.carousel-container {
  position: relative;
  display: flex;
  gap: 1rem;
  /*padding-left: 10rem;*/
  max-width: 100%;
  box-sizing: border-box;
  z-index: 95;

}

.carousel-main {
  position: relative;
  height: 80vh;
  flex: 1;
  overflow: hidden;
}

.carousel-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: hsla(0, 0%, 100%, 0.9);
  color: var(--timeline-black);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
  background-color: var(--timeline-white);
}

.carousel-nav.prev {
  left: 1rem;
}

.carousel-nav.next {
  right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 0 auto;
    gap: 0.5rem;
    position: relative;
    z-index: 5;
}


.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 1px solid var(--timeline-black);
  background-color: var(--timeline-white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background-color: var(--timeline-black);
}

.carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: hsla(0, 0%, 0%, 0.7);
  color: var(--timeline-white);
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-family: var(--font-timeline);
}

.carousel-preview {
  width: calc(16.666667% - 1.5rem);
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.carousel-preview:hover {
  opacity: 0.9;
}

.carousel-preview.left {
  order: -1;
}

.carousel-preview.right {
  order: 1;
}


.timeline-section.fullwidth-carousel {
  padding-bottom: 40px; /* überschreibt das Standard 140px Padding nur für Carousels */
}

/* Footer */
.footer {
  background-color: var(--timeline-black);
  color: var(--timeline-white);
  padding: 4rem 0;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.footer-title {
  font-family: var(--font-timeline);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  font-family: var(--font-timeline);
  font-size: 1.125rem;
  color: var(--timeline-gray-light);
  margin-bottom: 2rem;
}

.footer-cta {
  display: inline-block;
  background-color: var(--timeline-accent);
  color: var(--timeline-white);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}


.footer-cta:hover {
  background-color: hsl(214, 100%, 45%);
}

/* Minimal Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--timeline-white);
  text-decoration: none;
  font-weight: 400;
}
.footer-link:hover {
  text-decoration: underline;
}
.footer-sep {
  opacity: 0.5;
}
.footer-copy {
  color: var(--timeline-gray-light);
  font-size: 0.875rem;
}


/* Animations */
@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(30px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 767px) {
  .carousel-preview {
      display: none;
  }
  
  .carousel-container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .carousel-section {
    margin: 0;
  }
  .carousel-main {
    width: 100%;
    max-width: 100%;
    height: 40vh;
  }

  .carousel-image {
    width: 100%;
    height: auto;
  }

  .timeline-row {
      gap: 2rem;
  }
  
  .hero {
      padding: 4rem 0;
  }
  
  .timeline-section {
      padding: 0 0 80px 0;
      left: 0%;
      width: auto;
  }
    
  .year-header {
    padding:1rem  0;
    left: 0%;
    width: auto;
}
  .scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .scroll-content {
    display: inline-flex;
    min-width: max-content;
    animation: scroll-left 30s linear infinite;
    gap: 1rem;
    height: auto;
  }
}

#partner-counter {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 8px;
  z-index: 1000;
  border-top: 2px solid var(--timeline-black);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);  
  padding: 0 10px 2px 10px;
  background: rgba(255, 255, 255, 0.25);
}

#partner-counter h4 {
  font-family: var(--font-timeline);
  margin: 0;
  font-size: 16px;
  font-weight: 300;
}

@media (max-width: 1024px) {
  #partner-counter {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 2px 20px 2px 20px;
    z-index: 1000;
    border-top: 0px solid var(--timeline-black);
    background-color: var(--timeline-white)90%,transparent;
    backdrop-filter: blur(24px);
    border-radius: 16px; 
  }
  #partner-counter h4 {
    font-family: var(--font-timeline);
    border-top: 1px solid var(--timeline-black);
    margin: 0;
    font-size: 12px;
    font-weight: 300;
  }
}
#partner-count {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 300;
}
#partner-counter {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 8px;
  z-index: 1000;
  border-top: 2px solid var(--timeline-black);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);  
  padding: 0 10px 2px 10px;
  background: rgba(255, 255, 255, 0.25);

}

#partner-counter h4 {
  font-family: var(--font-timeline);
  margin: 0;
  font-size: 16px;
  font-weight: 300;
}

@media (max-width: 1024px) {
  #partner-counter {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 2px 20px 2px 20px;
    z-index: 1000;
    border-top: 0px solid var(--timeline-black);
    background-color: var(--timeline-white)90%,transparent;
    backdrop-filter: blur(24px);
    border-radius: 16px; 
  }
  

  
  #partner-counter h4 {
    font-family: var(--font-timeline);
    border-top: 1px solid var(--timeline-black);
    margin: 0;
    font-size: 12px;
    font-weight: 300;
  }
}
#partner-count {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 300;
  /*font-family: "Geist Mono", monospace;*/
}

@media (max-width: 1024px) {
  .scroll-indicator {
    left: 12px;
    transform: none;
  }
  .timeline-row {
    display: flex;
    flex-direction: column;
    position: relative; /* wichtig für absolute/referenzielle Positionierung */
  }
  .timeline-circle {
    display: none;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 1px var(--timeline-white);
    order: -1;
    align-self: flex-start;
    margin-left: -10px; /* ← schiebt den Kreis über den Scroll-Indicator */
    z-index: 1000;
    position: sticky;
    left: 7px;
  }
  .timeline-image-col {
    order: 1;
  }
  .timeline-text-col {
    order: 2;
  }

  .carousel-container {
    padding-left: 0;
  }

}

/* Stagger: Ziffern nacheinander – nur vertikales Einschieben, kein Fading */
.year-text span {
  display: inline-block;
  transform: translateY(100%);
}
.year-text.animate span {
  animation: yearDigitSlideUp 0.28s ease-out forwards;
}
.year-text.animate span:nth-child(1) { animation-delay: 0s;    }
.year-text.animate span:nth-child(2) { animation-delay: 0.06s; }
.year-text.animate span:nth-child(3) { animation-delay: 0.12s; }
.year-text.animate span:nth-child(4) { animation-delay: 0.18s; }

@keyframes yearDigitSlideUp { to { transform: translateY(0); } }


/* Galerie unterhalb der Textzeile */
.timeline-gallery-row {
  margin-top: 2rem;
}

/* Galerie-Wrapper */
.timeline-gallery { width: 100%; }

/* Grid: 4 nebeneinander (Desktop), 2 (Tablet), 1 (Mobile) */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1023px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Items */
.gallery-item {
  margin: 0;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit:contain;       /* falls du fixe Höhen willst, ergänze height */
}
.gallery-item figcaption {
  font-size: 0.875rem;
  color: var(--timeline-gray-medium);
  margin-top: 0.25rem;
}





    /* Seite: Der Vertrieb */
/* Seite: Der Vertrieb */
.vertrieb-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 7rem 20px 4rem; /* Platz unter Header */

  /* 12er-Grid wie im Header */
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
}

/* Inhalt standardmäßig in Spalten 2–12 (links/rechts je 1 frei) */
.vertrieb-container > * {
  grid-column: 2 / 12;
}

/* Mobile: einspaltig, volle Breite */
@media (max-width: 767px) {
  .vertrieb-container {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .vertrieb-container > * {
    grid-column: 1 / -1;
  }


  .vertrieb-card .bild { min-height: 120px; }   /* für Karten (3:2) */
  .person-media       { min-height: 140px; }   /* für Detailseite (2:1) */
}
    .vertrieb-headline{
      font-size: clamp(3rem, 10vw, 11rem);      
      font-weight: 300;
      margin-bottom: 1rem;
        background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        background-clip: text
    }

    .vertrieb-subline{
      color: var(--timeline-gray-medium);
      margin-bottom: 1.8rem;
    }

    .vertrieb-search{
      top: 5rem; /* unter dem Header kleben */
      z-index: 5;
      background: var(--timeline-white);
      padding: 0.75rem 0;
      margin-bottom: 1.5rem;
      border-bottom: 1px solid var(--timeline-gray-light);
    }
    .vertrieb-search input[type="search"]{
      width: 100%;
      font: inherit;
      padding: 0.85rem 1rem;
      border: 1px solid var(--timeline-gray-medium);
      border-radius: 99px;
      outline: none;
    }

    .vertrieb-grid{
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Mobile & Tablet: 2 Spalten */
      gap: 1.25rem;
      align-items: start;
    }
    @media (min-width: 960px){
      .vertrieb-grid{ grid-template-columns: repeat(3, 1fr); } /* Desktop: 3 Spalten */
    }

    .vertrieb-card-link {
      display: block;
      text-decoration: none;
      color: inherit;
    }

    .vertrieb-card{
      background: var(--timeline-white);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform .2s ease, box-shadow .2s ease;
      align-self: start;
    }
    /* Hover-Effekt der gesamten Karte deaktiviert – nur Bild soll reagieren */
    /*
    .vertrieb-card:hover{
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(0,0,0,.08);
    }
    */

    .vertrieb-card .bild{
      width: 100%;
      aspect-ratio: 2 / 1;
      overflow: hidden;
      background: var(--timeline-gray-light);
      position: relative; /* für Overlay */
      display: block;
    }
    .vertrieb-card .bild img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .25s ease;
    }

    .vertrieb-card .bild::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      transition: opacity .25s ease;
    }

    /* Hover/Fokus auf Link: nur Bild dimmen & leicht skalieren */
    .vertrieb-card-link:hover .bild::after,
    .vertrieb-card-link:focus-visible .bild::after {
      opacity: 1;
    }
    .vertrieb-card-link:hover .bild img,
    .vertrieb-card-link:focus-visible .bild img {
      transform: scale(1.03);
    }

    .vertrieb-card .body{
      padding: 1rem;
      display: flex;
      flex-direction: column;
      gap: .5rem;
    }

    .vertrieb-name{
      font-weight: 300;
      font-size: 1.8rem;
      line-height: 1.2;
      color: var(--timeline-black);
    }
    .vertrieb-quote{
      font-style: italic;
      color: var(--timeline-gray-dark);
      font-weight: 200;
      line-height: 1.2;
      quotes: "„" "“" "‚" "‘";
    }
    .vertrieb-quote::before { content: "„"; }
    .vertrieb-quote::after  { content: "“"; }


    @media (max-width: 767px) {
      .vertrieb-quote {
        display: none;
      }
   
      .vertrieb-name{
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.2;
        color: var(--timeline-black);
      }

      .vertrieb-card .body{
        padding: 7px 0 0;
      }

      .vertrieb-subline {
        margin-bottom: 0;
      }
    }
    /* kleine Helfer */
    .is-hidden { display: none !important; }


/* ==========================================================
   VERTRIEB – DETAILSEITE (vertrieb-person.html)
   ========================================================== */

/* ========== Container & Grundlayout ========== */
.person-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 7rem 20px 4rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
}

/* Let dynamically injected children inside #personContent become direct grid items of .person-container */
#personContent { 
  display: contents; /* makes its children layout as if they were direct children of .person-container */
}

/* Standard-Spanne für generische Kinder (kann durch spezifische Klassen überschrieben werden) */
.person-container > * {
  grid-column: 2 / 12;
}

/* ========== Header, Name, Zitat ========== */
.person-breadcrumb { margin-bottom: 1rem; }
.person-breadcrumb a { text-decoration: none; }

.person-header {
  margin-bottom: 1.25rem;
  /* Platzierung rechts: Grid 9–11 (Spalte 8 bleibt frei) */
  grid-column: 9 / 12;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.person-name {
  font-family: var(--font-timeline);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.2;
  /* 
  background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text
  */
}

.person-quote {
  font-family: var(--font-timeline);
  font-weight: 300;  font-style: italic;
  color: var(--timeline-gray-dark);
  font-size: 1.25rem;
  line-height: 1.5;
  quotes: "„" "“" "‚" "‘";
}

.person-quote::before { content: "„"; }
.person-quote::after  { content: "“"; }

.person-meta {
  color: var(--timeline-gray-medium);
  margin-top: 0.5rem;
}

/* ========== Bildbereich ========== */
.person-media {
  /* Platzierung links: Grid 2–7 (Spalte 8 bleibt frei) */
  grid-column: 2 / 9;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;   /* hält 2:1 Fläche frei */
  background: var(--timeline-gray-light);
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 0 0 20px 20px;
  object-fit: cover;      /* falls Browser Höhe errechnet */
}

/* ========== Buttons / Aktionen ========== */
.person-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  grid-column: 2 / 12;
}
.btn {
  appearance: none;
  border: 1px solid var(--timeline-gray-light);
  background: var(--timeline-black);
  color: var(--timeline-white);
  padding: 0.6rem 0.9rem;
  border-radius: 99px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  background: var(--timeline-white);
  color: var(--timeline-black);
}

/* ========== Bericht-Layout (Report) ========== */
.report-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
  margin-top: 1rem;
  grid-column: 2 / 12; /* Report nutzt wieder die breite Mittelspalte */
}

.report-main {
  grid-column: 1 / 9;
  border-top: 1px solid var(--timeline-gray-light);
}
.report-aside {
  grid-column: 10 / 13;
}

/* ========== Fließtext / Typo ========== */
.report-main h2 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 400;
}
.report-main p {
  margin: 0.5rem 0;
  line-height: 1.5;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--timeline-gray-dark);
}

/* ========== Faktenboxen (rechte Spalte) ========== */
.report-aside {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  border-top: 1px solid var(--timeline-gray-light);
}
.report-aside-heading {
  font-size: 1rem;
  font-weight: 400;
  color: var(--timeline-gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 20px 0 8px 0;
}
.report-fact {
  background: var(--timeline-white);
  padding: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5rem;
}
.report-fact .label {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--timeline-gray-medium);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.report-fact .value {
  display: inline;
  font-weight: 400;
  color: var(--timeline-black);
  text-align: left;
  flex: 0 1 auto;
  overflow-wrap: anywhere;
}

/* ========== Responsive Anpassung ========== */
@media (max-width: 1024px) {
  .person-container {
    display: block; /* deactivate grid layout for mobile */
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  /* Stacking: Bild oben, Header darunter, dann Report */
  .person-media,
  .person-header,
  .report-grid {
    grid-column: 1 / -1 !important;
  }

.person-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  grid-column: 1 / 2;}
}

@media (max-width: 767px) {
  /* Reihenfolge auf Mobile: zuerst Bild, dann Header, dann Report */
  .report-main { grid-column: 1 / -1; }
  .report-aside { grid-column: 1 / -1; }
  .report-aside { grid-row: 1; padding-bottom: 0.75rem; margin-bottom: 1rem; }
  .report-main  { grid-row: 2; }
}

/* =============================
   iOS Safari: Bildgrößen-Fixes
   ============================= */
.vertrieb-card .bild img,
.person-media {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
}
@supports (-webkit-touch-callout: none) {
  .vertrieb-card .bild,
  .person-media { position: relative; }

  /* Kartenbilder: Bild absolut in den AR-Container einpassen */
  .vertrieb-card .bild img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Detailbild: als Element vollflächig nutzen (kein height:auto) */
  .person-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @media (max-width: 767px) {
    .vertrieb-card .bild { min-height: 140px; }
    .person-media       { min-height: 160px; }
  }
}




/* =======================================================
   proWIN heute – Grundlayout (Hero + Text-Artikel)
   (keine Buttons, kein Reveal, responsive)
   ======================================================= */

/* ---------- HERO ---------- */
.heute-hero {
  background: #efeeec;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.heute-hero .grid-12 {
  align-items: center;
  padding: clamp(2rem, 3vw, 3rem) 0;
}

.heute-hero-left { padding-right: clamp(1rem, 2vw, 2rem); }
.heute-hero-right { display: grid; align-content: start; padding: 0 0 0 7vw; }


.heute-hero-kicker {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--timeline-gray-medium);
  margin: 0 0 .75rem 0;
}
.heute-hero-title {
  font-family: var(--font-timeline);
  font-size: clamp(3rem, 6rem, 8rem);
  font-weight: 300;
  color: var(--timeline-black);
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease-out;
  font-weight: 300;
  margin-bottom: 1rem;
    background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text
}

.heute-hero-divider {
  border: 0;
  height: 1px;
  width: 100%;
  background: rgba(0,0,0,.2);
  margin: 1rem 0 1.25rem 0;
}
.heute-hero-lead {
  font-family: var(--font-timeline);
  font-size: 1.875rem;
  font-weight: 300;
  text-align: left;
  color: var(--timeline-black);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  position: relative;
  z-index: 20;
}
.heute-hero-figure { display: grid; place-items: center; padding: clamp(1rem, 2vw, 2rem) 0; }
.heute-hero-illustration { width: min(32rem, 90%); height: auto; display: block; }

/* ---------- INHALTSBEREICH ---------- */
.heute-list { padding: 3rem 0 6rem; background: #fff; }
.heute-list-title { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); margin: 0 0 1rem 0; }

/* Artikel im Timeline-Stil – 12er Grid wie Timeline */
.heute-article {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
  align-items: start;
  padding: 0 0 140px 0; /* orientiert an .timeline-section */
}

.heute-hero-img {
  max-width: 40vw;
  max-height: 80vh;
  display: block;
  object-fit: cover;   /* falls du gleichmäßige Ausschnitte willst */
}

/* Spalten-Spannen für Artikel: left = 2–6, right = 7–11 */
.heute-article.left  .heute-text-col  { grid-column: 2 / 7; }
.heute-article.right .heute-text-col  { grid-column: 7 / 12; }

/* Typo nutzt bestehende Timeline-Klassen */
.heute-article .timeline-title,
.heute-article .timeline-description { color: inherit; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .heute-hero .grid-12 { display: block; }
  .heute-hero-right { margin-top: 1rem; }
  .heute-hero-lead { max-width: 65ch; }

  .heute-article {
    display: block;
    padding: 0 0 80px 0;
  }
  .heute-text-col {
    margin: 0 16px;
    padding: 0;
    max-width: none;
  }
}

/* =======================================================
   Akademie – Grundlayout (Hero + Text-Artikel)
   ======================================================= */

/* ---------- HERO ---------- */
.akademie-hero {
  background: #efeeec;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.akademie-hero .grid-12 {
  align-items: center;
  padding: clamp(2rem, 3vw, 3rem) 0;
}

.akademie-hero-left { padding-right: clamp(1rem, 2vw, 2rem); }
.akademie-hero-right { display: grid; align-content: start; padding: 0 0 0 7vw; }


.akademie-hero-kicker {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--timeline-gray-medium);
  margin: 0 0 .75rem 0;
}
.akademie-hero-title {
  font-family: var(--font-timeline);
  font-size: clamp(3rem, 6rem, 8rem);
  font-weight: 300;
  color: var(--timeline-black);
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease-out;
  font-weight: 300;
  margin-bottom: 1rem;
    background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text
}

.akademie-hero-divider {
  border: 0;
  height: 1px;
  width: 100%;
  background: rgba(0,0,0,.2);
  margin: 1rem 0 1.25rem 0;
}
.akademie-hero-lead {
  font-family: var(--font-timeline);
  font-size: 1.25rem;
  font-weight: 300;
  text-align: left;
  color: var(--timeline-black);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  position: relative;
  z-index: 20;
}

.akademie-hero-figure { display: grid; place-items: center; padding: clamp(1rem, 2vw, 2rem) 0; }
.akademie-hero-illustration { width: min(32rem, 90%); height: auto; display: block; }

/* ---------- INHALTSBEREICH ---------- */

.akademie-list-title { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); margin: 0 0 1rem 0; }

/* Artikel im Timeline-Stil – 12er Grid wie Timeline */
.akademie-article {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
  align-items: start;
  padding: 0 0 140px 0; /* orientiert an .timeline-section */
}

.akademie-hero-img {
  max-width: 40vw;
  max-height: 80vh;
  display: block;
  border-radius: 0 0 20px 20px;
  object-fit: cover;   /* falls du gleichmäßige Ausschnitte willst */
}

/* Spalten-Spannen für Artikel: left = 2–6, right = 7–11 */
.akademie-article.left  .akademie-text-col  { grid-column: 2 / 7; }
.akademie-article.right .akademie-text-col  { grid-column: 7 / 12; }

/* Typo nutzt bestehende Timeline-Klassen */
.akademie-article .timeline-title,
.akademie-article .timeline-description { color: inherit; }


/* ==============================
   Text-right helper (Akademie)
   ============================== */
   .Text-right {
    display: block;
    max-width: 620px;
  }
  
  .Text-right h3,
  .Text-right .akademie-hero-subtitle {
    margin-bottom: 1.5rem;
  }
  
  .Text-right .akademie-hero-lead {
    max-width: 480px;
    line-height: 1.6;
  }
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .akademie-hero .grid-12 { display: block; }
  .akademie-hero-right { margin-top: 1rem; }
  .akademie-hero-lead { max-width: 65ch; }

  .akademie-article {
    display: block;
    padding: 0 0 80px 0;
  }
  .akademie-text-col {
    margin: 0 16px;
    padding: 0;
    max-width: none;
  }
}
/* ==============================
   proWIN heute – Hero Spalten (scoped)
   Linke Spalte: 2–6, rechte: 7–11
   ============================== */
#proWIN-heute .heute-hero .grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
}

#proWIN-heute .heute-hero-left  { grid-column: 2 / 7 !important; }  /* 2–6 */
#proWIN-heute .heute-hero-right { grid-column: 7 / 12 !important; } /* 7–11 */

/* Mobile: stacken ohne Grid, nur auf dieser Seite */
@media (max-width: 1024px) {
  #proWIN-heute .heute-hero .grid-12 { display: block; }
}


/* ===== proWIN heute – zentrierter Hero-Titel (scoped) ===== */
#proWIN-heute .heute-hero .grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
}

/* Titel volle Breite zentriert */
#proWIN-heute .heute-hero-title-wrapper {
  grid-column: 1 / 13;
  text-align: center;
  margin: 0 0 clamp(1rem, 2.5vw, 2.5rem) 0;
}
#proWIN-heute .heute-hero-title {
  margin-top: 112px;
  margin-bottom: 112px;
  text-align: center;
}

/* proWIN-heute: Unterüberschrift im Hero-Bereich */
#proWIN-heute .heute-hero-subtitle {
  font-family: var(--font-timeline);
  font-size: clamp(1.5rem, 2rem + 1vw, 6rem); /* fließend zwischen 24–40px */
  font-weight: 300;
  color: var(--timeline-gray-dark);
  margin: 0 0 1rem 0;                           /* Abstand zum darauffolgenden Text */
  line-height: 1.3;
}

/* Text in 2–6, Bild in 7–11 (nur diese Seite) */
#proWIN-heute .heute-hero-left  { grid-column: 2 / 7; }
#proWIN-heute .heute-hero-right { grid-column: 7 / 12; }

/* Mobile: stacken */
@media (max-width: 1024px) {
  #proWIN-heute .heute-hero .grid-12 { display: block; }
}

#proWIN-heute .heute-hero-quote {
  display: block;                    /* Zitat auf eigene Zeile */
  margin-top: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--timeline-gray-dark);
  font-size: 1.825rem;
  line-height: 1.4;
  text-align: left;                /* oder left/right, je nach Design */
}

/*
#proWIN-heute h3 {
  font-family: var(--font-timeline);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 1.75rem 0;
  color: inherit;                 
  display: block;                 
  box-sizing: border-box;
  transform: translateX(-7vw);    
  width: calc(100% + 7vw);      hts komplett
}*/

@media (max-width: 600px) {
  #proWIN-heute h3 {    
   transform: none !important;}

}

/* Optional: enger mit dem Fließtext im Hero/Artikel abstimmen */
#proWIN-heute .heute-article h3,
#proWIN-heute .heute-hero-left h3 {
  letter-spacing: 0.01em;
}

#proWIN-heute ul[role="list"] li {
  position: relative;
  list-style:inside;
  margin-top: 0.5rem;
  font-family: var(--font-timeline);
  font-size: 1.875rem;
  font-weight: 300;
}

/* ==============================
   akademie-heute – Hero Spalten (scoped)
   Linke Spalte: 2–6, rechte: 7–11
   ============================== */
   #akademie-heute .heute-hero .grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1rem;
  }
  
  #akademie-heute .heute-hero-left  { grid-column: 2 / 7; }   /* visuell 2–6 */
  #akademie-heute .heute-hero-right { grid-column: 7 / 12; }  /* visuell 7–11 */
  
  /* Mobile: stacken ohne Grid, nur auf dieser Seite */
  @media (max-width: 1024px) {
    #akademie-heute .heute-hero .grid-12 { display: block; }
  }


/* ===== akademie-heute – zentrierter Hero-Titel (scoped) ===== */
#akademie-heute .heute-hero .grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
}

/* Titel volle Breite zentriert */
#akademie-heute .heute-hero-title-wrapper {
  grid-column: 1 / 13;
  text-align: center;
  margin: 0 0 clamp(1rem, 2.5vw, 2.5rem) 0;
}
#akademie-heute .heute-hero-title {
  margin-top: 112px;
  margin-bottom: 112px;
  text-align: center;
}

/* akademie-heute: Unterüberschrift im Hero-Bereich */
#akademie-heute .heute-hero-subtitle {
  font-family: var(--font-timeline);
  font-size: clamp(1.5rem, 2rem + 1vw, 6rem); /* fließend zwischen 24–40px */
  font-weight: 300;
  color: var(--timeline-gray-dark);
  margin: 0 0 1rem 0;                           /* Abstand zum darauffolgenden Text */
  line-height: 1.3;
}

/* Text in 2–6, Bild in 7–11 (nur diese Seite) */
#akademie-heute .heute-hero-left  { grid-column: 2 / 7; }
#akademie-heute .heute-hero-right { grid-column: 7 / 11; }

/* Mobile: stacken */
@media (max-width: 1024px) {
  #akademie-heute .heute-hero .grid-12 { display: block; }
}

#akademie-heute .heute-hero-quote {
  display: block;                    /* Zitat auf eigene Zeile */
  margin-top: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--timeline-gray-dark);
  font-size: 1.825rem;
  line-height: 1.4;
  text-align: left;                /* oder left/right, je nach Design */
}

#akademie-heute h3 {
  font-family: var(--font-timeline);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 1.75rem 0;
  color: inherit;                 /* übernimmt ggf. gesetzte Themenfarben */
  display: block;                 /* sicherstellen, dass width greift */
  box-sizing: border-box;
  transform: translateX(-7vw);    /* visuell nach links schieben */
  width: calc(100% + 7vw);        /* Breite ausgleichen → füllt Spalte nach rechts komplett */
}

/* Spalte darf volle Grid-Breite nutzen */
#akademie-heute .heute-text-col {
  max-width: none;
}

/* Optional: enger mit dem Fließtext im Hero/Artikel abstimmen */
#akademie-heute .heute-article h3,
#akademie-heute .heute-hero-left h3 {
  letter-spacing: 0.01em;
}

#akademie-heute ul[role="list"] li {
  position: relative;
  list-style:inside;
  margin-top: 0.5rem;
  font-family: var(--font-timeline);
  font-size: 1.875rem;
  font-weight: 300;
}


/* =====================================
#    Header Navigation – Dropdown Styles
 ===================================== */
.nav-dropdown,
.mobile-dropdown {
  position: relative;
  display: inline-block;
}

/* trigger behaves like a link */
.dropdown-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

.dropdown-toggle:focus-visible {
  outline: 2px solid var(--timeline-blue-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* menu panel */
.dropdown-menu {
  position: absolute;
  inset: auto auto auto 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--timeline-white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  border-radius: 10px;
  padding: 0.4rem;
  display: none;               /* default hidden */
  z-index: 100;                /* above header blur */
}

/* items */
.dropdown-item {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--timeline-black);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: var(--timeline-gray-light);
  text-decoration: none;
  background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text
}

/* open on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown > .dropdown-menu:hover {
    display: block;
  }
}
/* Ensure theme color cascades into all descendants in hero layers */
.u-theme-primary, .u-theme-primary * { color: #ffffff; }
.u-theme-white,   .u-theme-white   * { color: #111111; }

/* Description blocks inherit color from their parent layer */
.c-home-hero__desc p,
.c-proWIN-hero__desc p { color: inherit; }


/* open on click/tap (mobile & keyboard): add .open via JS OR use :focus-within fallback */
.nav-dropdown.open > .dropdown-menu,
.mobile-dropdown.open > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu,
.mobile-dropdown:focus-within > .dropdown-menu {
  display: block;
}

/* Mobile nav: full-width dropdown panel inside column layout */
.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown .dropdown-toggle {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
}

.mobile-dropdown .dropdown-menu {
  position: static;
  inset: auto;
  top: auto;
  min-width: 0;
  width: 100%;
  margin-top: 0.25rem;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.mobile-dropdown .dropdown-item {
  padding: 0.55rem 0.5rem;
  font-size: 0.95rem;
}
/* ===== Header Nav: Ausrichtung fix (kein zentriertes Flex) ===== */
.header-content .desktop-nav {
  justify-content: flex-start;     /* Links ausrichten */
  align-items: center;             /* nur vertikal mittig */
}

/* Dropdown-Trigger und Links klar linksbündig ausrichten */
.desktop-nav .nav-dropdown,
.desktop-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;     /* nicht center */
  text-align: left;
}

/* Speziell für „proWIN heute“ Dropdown-Button */
.desktop-nav .nav-dropdown > .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;     /* nicht center */
  text-align: left;
  width: auto;                     /* keine erzwungene volle Breite */
  min-width: 0;
}

/* Verhindere erzwungenes Zentrieren aus Elternzellen */
.header-content .desktop-nav * {
  text-align: left;
}



/* ============================================
   proWIN-heute – Bild-Effekt: Soft Fade + Scale + Blur
   ============================================ */
#proWIN-heute .heute-hero-img {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  filter: blur(8px);
  transition: opacity .8s ease, transform .8s ease, filter .9s ease;
  will-change: opacity, transform, filter;
}

#proWIN-heute .heute-hero-img.inview {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  #proWIN-heute .heute-hero-img,
  #proWIN-heute .heute-hero-img.inview {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}


/* Extra: Platz falls die fixe Header-Leiste Inhalte überlagert –
   nur nötig, wenn du die Headline NICHT exakt mittig willst. */
@media (min-width: 768px) {
  .hero-akademie { 
   padding-top: 5rem;
  }
}


.header.transparent-header {
  background: none !important;
  border: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid #ffffff !important;
}

.header.transparent-header .nav-link,
.header.transparent-header .dropdown-toggle,
.header.transparent-header .dropdown-item,
.header.transparent-header .mobile-nav-link {
  color: #fff !important;
}

.header.transparent-header .nav-link:hover,
.header.transparent-header .dropdown-toggle:hover,
.header.transparent-header .dropdown-item:hover {
  background-image: none;
  background-image: none;
  -webkit-text-fill-color: var(--timeline-white) !important;
  color: #fff !important;
}

.header.transparent-header .mobile-nav-link:hover {
  background-image: none;
  -webkit-text-fill-color: var(--timeline-accent) !important;
  color: #fff !important;
}


.header.transparent-header .hamburger,
.header.transparent-header .hamburger::before,
.header.transparent-header .hamburger::after {
  background-color: #fff !important;
}


/* ==============================
   c-home-hero – -
   ============================== */

.c-home-hero { 
  position: relative; 
  height: 200vh;                       /* 100vh Bild + 100vh Fläche darunter */
  background: var(--timeline-white)
}

/* Absoluter Wrapper  inkl. historischer Clip-API */
.c-home-hero__wrapper { 
  position: absolute; 
  inset: 0; 
  clip: rect(0, auto, auto, 0);        /* wie im Screenshot */
}

/* Sticky-Viewport: hält die Layer an Ort und Stelle */
.c-home-hero__content { 
  position: sticky; 
  top: 0; 
  height: 100vh; 
}

/* ==============================
   Front-Layer (weiß auf Bild)
   – liegt im Fluss, begrenzt auf Bildhöhe
   – Hintergrund ist größer (100vh) und sitzt „am Boden“
   – Content klebt, verschwindet wenn Front-Layer endet
   ============================== */
.c-home-hero__layer { width: 100%; }

.c-home-hero__layer.-front { 
  position: relative; 
  max-height: 100vh;      /* wird per JS dynamisch verkleinert */
  overflow: hidden; 
  margin-left: 20px; 
  width: calc(100% - 40px); 
  border-radius: 0 0 40px 40px; 
  z-index: 10;                          /* über Back-Layer */
}
@media (max-width: 900px) {
  .c-home-hero__layer.-front {
    position: relative; 
    max-height: 100vh;      /* wird per JS dynamisch verkleinert */
    overflow: hidden; 
    margin: 0; 
    width: 100%; 
    border-radius: 0 0 40px 40px; 
    z-index: 10;      
  }
} 


.c-home-hero__layer.-front .c-home-hero__layer__background {
  position: absolute; 
  left: 0; right: 0; bottom: 0;        /* am Boden andocken */
  height: 100vh;                        /* größer als die Front-Hülle */
  background-size: cover; 
  background-position: 50% 100%;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('Pics/akademie_aussen_logos_WEB.jpg');
}

/* Bildquelle per data-Attribut */
/* .c-home-hero__layer__background[data-hero="AKAD_HERO"] {
  background-image: url('Pics/akademie_aussen_logos_WEB.jpg');
} */

.c-home-hero__layer.-front .c-home-hero__layer__content { 
  position: sticky; 
  top: 0; 
  height: 100vh; 
  z-index: 2; 
  pointer-events: none;                 /* nur Anzeige; Interaktionen ggf. im Back-Layer */
}

/* ==============================
   Back-Layer (dunkler Text)
   – klebt unter dem Front-Layer
   – wird sichtbar, sobald Front-Layer „weg“ ist
   ============================== */
.c-home-hero__layer.-back {
  position: absolute;
  top: 0;
  margin-left: 20px;
  width: calc(100% - 40px);
  z-index: 5;
  background-color: var(--timeline-Offwhite);
  border-radius: 0 0 40px 40px;
}
@media (max-width: 900px) {
  .c-home-hero__layer.-back {
    position: absolute;
    top: 0;
    margin: 0;
    width: 100%;
    z-index: 5;
    background-color: var(--timeline-Offwhite);
    border-radius: 0 0 40px 40px;
  }
} 

/* ==============================
   Typo & Positionierung
   ============================== */
.c-home-hero__layer__content { position: relative; height: 100%; }

/* Make back-layer content sticky the same way as front content */
.c-home-hero__layer.-back .c-home-hero__layer__content {
  position: sticky;
  top: 0;
  height: 100vh;
  will-change: transform;
}

.c-multiline-title { 
  position: absolute; inset: 0; 
  display: grid; place-items: center; 
  margin: 0; text-align: center; 
  letter-spacing: 2px; 
  font-family: var(--font-timeline, sans-serif); 
  font-weight: 300; 
  font-size: clamp(2.5rem, 8vw, 6rem); 
  line-height: 1; 
}

@media (max-width: 900px) {
  .c-multiline-title { 
  position: absolute; 
  inset: 0 0 100px 0; 
  display: grid; place-items: center; 
  margin: 0; text-align: center; 
  letter-spacing: 2px; 
  font-family: var(--font-timeline, sans-serif); 
  font-weight: 300; 
  font-size: clamp(2.5rem, 8vw, 6rem); 
  line-height: 1; 
  }
} 

.c-home-hero__desc { 
  position: absolute; 
  left: 40px; bottom: 40px; 
  max-width: 600px; 
  font-family: var(--font-timeline, sans-serif); 
  font-size: 1.25rem; line-height: 1.5; 
}

@media (max-width: 900px) {
  .c-home-hero__desc { 
    position: absolute; 
    left: 20px; bottom: 40px; 
    width: calc(100% - 40px);
    font-family: var(--font-timeline, sans-serif); 
    font-size: 1rem; line-height: 1.5; 
  }

  .c-home-hero__layer__background {
    position: absolute; 
    height: 100vh;                        /* größer als die Front-Hülle */
    background-size: cover; 
    background-position: 50% 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('Pics/akademie_aussen_logos_WEB.jpg');
  }
} 

/* Farb-Themes wie auf deiner Seite */
.u-theme-primary .c-multiline-title,
.u-theme-primary .c-home-hero__desc { color: #fff; }

.u-theme-white .c-multiline-title,
.u-theme-white .c-home-hero__desc { color: var(--timeline-black); }

/* ==============================
   c-proWIN-hero – (Kopie der c-home-hero Styles)
   ============================== */

.c-proWIN-hero { 
  position: relative; 
  height: 200vh;                       /* 100vh Bild + 100vh Fläche darunter */
  background: var(--timeline-white)
}

/* Absoluter Wrapper  inkl. historischer Clip-API */
.c-proWIN-hero__wrapper { 
  position: absolute; 
  inset: 0; 
  clip: rect(0, auto, auto, 0);        /* wie im Screenshot */
}

/* Sticky-Viewport: hält die Layer an Ort und Stelle */
.c-proWIN-hero__content { 
  position: sticky; 
  top: 0; 
  height: 100vh; 
}

/* ==============================
   Front-Layer (weiß auf Bild)
   ============================== */
.c-proWIN-hero__layer { width: 100%; }

.c-proWIN-hero__layer.-front { 
  position: relative; 
  max-height: 100vh;      /* kann per JS dynamisch verkleinert werden */
  overflow: hidden; 
  margin-left: 20px; 
  width: calc(100% - 40px); 
  border-radius: 0 0 40px 40px; 
  z-index: 10;                          /* über Back-Layer */
}
@media (max-width: 900px) {
  .c-proWIN-hero__layer.-front {
    position: relative; 
    max-height: 100vh;      /* kann per JS dynamisch verkleinert werden */
    overflow: hidden; 
    margin: 0; 
    width: 100%; 
    border-radius: 0 0 40px 40px; 
    z-index: 10;      
  }
}

.c-proWIN-hero__layer.-front .c-proWIN-hero__layer__background {
  position: absolute; 
  left: 0; right: 0; bottom: 0;        /* am Boden andocken */
  height: 100vh;                        /* größer als die Front-Hülle */
  background-size: cover; 
  background-position: 50% 100%;
  /* Standard-Image (kann via data-hero überschrieben werden) */
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('Pics/headerproWIN.jpg');
}

.c-proWIN-hero__layer.-front .c-proWIN-hero__layer__content { 
  position: sticky; 
  top: 0; 
  height: 100vh; 
  z-index: 2; 
  pointer-events: none;                 /* nur Anzeige; Interaktionen ggf. im Back-Layer */
}

/* ==============================
   Back-Layer (dunkler Text)
   ============================== */
.c-proWIN-hero__layer.-back {
  position: absolute;
  top: 0;
  margin-left: 20px;
  width: calc(100% - 40px);
  z-index: 5;
  background-color: var(--timeline-Offwhite);
  border-radius: 0 0 40px 40px;
}
@media (max-width: 900px) {
  .c-proWIN-hero__layer.-back {
    position: absolute;
    top: 0;
    margin: 0;
    width: 100%;
    z-index: 5;
    background-color: var(--timeline-Offwhite);
    border-radius: 0 0 40px 40px;
  }
}

/* Positionierungshilfen für die Content-Container */
.c-proWIN-hero__layer__content { position: relative; height: 100%; }

/* Back-Layer Content ebenfalls sticky */
.c-proWIN-hero__layer.-back .c-proWIN-hero__layer__content {
  position: sticky;
  top: 0;
  height: 100vh;
  will-change: transform;
}

/* Titel/Desc können die bestehenden Utility-Klassen weiter nutzen:
   .c-multiline-title und .u-theme-*
*/

.c-proWIN-hero__desc { 
  position: absolute; 
  left: 40px; bottom: 40px; 
  max-width: 600px; 
  font-family: var(--font-timeline, sans-serif); 
  font-size: 1.25rem; line-height: 1.5; 
}

@media (max-width: 900px) {
  .c-proWIN-hero__desc { 
    position: absolute; 
    left: 20px; bottom: 40px; 
    width: calc(100% - 40px);
    font-family: var(--font-timeline, sans-serif); 
    font-size: 1rem; line-height: 1.5; 
  }

  .c-proWIN-hero__layer__background {
    position: absolute; 
    height: 100vh;                        /* größer als die Front-Hülle */
    background-size: cover; 
    background-position: 50% 100%;
  }
}

/* ==============================
   Text-left Section (Akademie)
   ============================== */
   .Text-left {
    display: block;
    max-width: 620px;
  }
  
  .Text-left h3 {
    font-size: clamp(1.75rem, 1vw + 1.5rem, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
  }
  
  .akademie-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .akademie-list li {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--timeline-black, #000);
  }


  
 /* ===========================================
   proWIN Akademie – Standorte Scroll Slider (Variante B)
   =========================================== */

.cards {
  position: relative;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 8rem auto;
  padding: 0 2rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
  align-items: start;
}

/* großer Wrapper, der die Scroll-Höhe definiert */
.c-scroll-slider__wrapper {
  position: relative;
  width: 100%;
}

/* desktop columns */
.col-2to6  { grid-column: 2 / 7; }
.col-7to11 { grid-column: 7 / 12; }


/* =====================================
#    Header Navigation – Dropdown Styles
 ===================================== */
.nav-dropdown,
.mobile-dropdown {
  position: relative;
  display: inline-block;
}

/* trigger behaves like a link */
.dropdown-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

.dropdown-toggle:focus-visible {
  outline: 2px solid var(--timeline-blue-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* menu panel */
.dropdown-menu {
  position: absolute;
  inset: auto auto auto 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--timeline-white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  border-radius: 10px;
  padding: 0.4rem;
  display: none;               /* default hidden */
  z-index: 100;                /* above header blur */
}

/* items */
.dropdown-item {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--timeline-black);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: var(--timeline-gray-light);
  text-decoration: none;
  background-image: linear-gradient(45deg,var(--timeline-blue-500), var(--timeline-blue-300));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text
}

/* open on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* open on click/tap (mobile & keyboard): add .open via JS OR use :focus-within fallback */
.nav-dropdown.open > .dropdown-menu,
.mobile-dropdown.open > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu,
.mobile-dropdown:focus-within > .dropdown-menu {
  display: block;
}



/* ============================
   proWIN Akademie – Standorte Liste (Flex-Version)
   ============================ */

   .akademie-standorte {
    width: 100%;
    max-width: var(--container-max-width, 1400px);
    margin: 8rem auto;
    padding: 0 2rem;

  }
  
  .akademie-standorte h3 {
    font-family: var(--font-timeline);
    font-weight: 300;
    font-size: 5rem;
    line-height: 1.2;
    margin: 0 0 1.75rem 0;
    display: block;      
    box-sizing: border-box;
    width: calc(100% + 7vw);        
  }


  .standorte {
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 0 0 40px;  
    max-width: 1400px;

  }
  
  .standort {
    border-top: 1px solid var(--timeline-gray-subtle);
    padding-top: 40px;;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
  
  /* Textspalte */
  .standort-text {
    flex: 0 0 45%;
  }
  
  .standort-text h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .standort-text p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--timeline-black, #222);
  }
  
  /* Bildspalte */
.standort-image {
  flex: 0 0 420px; /* feste Breite */
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  height: 300px;
}

.standort-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
  /* ============================
     Responsive
     ============================ */
  @media (max-width: 900px) {
    .standort {
      flex-direction: column;
      gap: 1rem;
    }
  

   .standorte {
    width: 100%;
    max-width: var(--container-max-width, 1400px);
    margin: 8rem auto;
    padding: 0;
  }

    .standort-text, .standort-image {
      flex: 1 1 100%;
    }
     
    .akademie-standorte h3{
      font-family: var(--font-timeline);
      font-weight: 300;
      font-size: 3rem;
      line-height: 1.2;
      margin: 0 0 1.75rem 0;
      display: block;      
      box-sizing: border-box;
     }

     .akademie-standorte h2{
      font-family: var(--font-timeline);
      font-weight: 300;
      font-size: 1.875rem;
      line-height: 1.2;
      margin: 0;
      display: block;      
      box-sizing: border-box;
     }

    .standort-text {
      text-align: center;
    }
  
    .standort-image img {
      height: auto;
      border-radius: 0 0 20px 20px;
    }
  
    .standort-image {
      flex: 1 1 100%;
      max-width: none;
    }
  }
/* ===========================================
   Akademie Content – Bild- und Textspalte im Flex-Layout
   =========================================== */
   .akademie-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 4vw;
    padding: 120px 0;
  }
  
  /* Bildspalte */
  .akademie-col-left {
    flex: 0 0 50%;
    padding: 0 0 0 120px;
    justify-content: center;
    align-items: center;
  }
  
  .akademie-hero-img {
    width: 100%;
    height: auto;
    border-radius: 0 0 20px 20px;
    object-fit: cover;
    display: block;
  }
  
  /* Textspalte */
  .akademie-col-right {
    flex: 0 0 50%;
    padding: 0 0 0 7vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }
  
  .Text-right {
    max-width: 620px;
    transform: translateX(calc(-7vw + -40px));
  }
  
  .Text-right p {
    padding-right: 40px;
    max-width: 480px;
    line-height: 1.6;
  }

  /* ==============================
   Akademie – Text-right (rechte Spalte)
   ============================== */

.Text-right h3 {
  font-family: var(--font-timeline);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 1.75rem 0;
  display: block;      
  box-sizing: border-box;
  transform: translateX(calc(-7vw + -40px));
  width: calc(100% + 7vw);        
}

.Text-right p {
  font-family: var(--font-timeline);
  font-size: 1.25rem;
  font-weight: 300;
  text-align: left;
  color: var(--timeline-black);
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  position: relative;
}

.Text-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.Text-right li {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--timeline-black, #000);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}



/* Mobile */
@media (max-width: 1024px) {
  .Text-right {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    max-width: 100%;
  }
}
/* ============================================
   Responsive Anpassungen – .akademie-content
   ============================================ */

/* Tablet (bis 1024px): Bild oben, Text darunter */
@media (max-width: 1024px) {
  .akademie-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 6rem 4vw;
  }

  .akademie-col-left,
  .akademie-col-right {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
  }

  /* Bildspalte */
  .akademie-col-left {
    order: 1;
    width: 100%;
  }

  .akademie-hero-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 20px;
  }

  /* Textspalte */
  .akademie-col-right {
    order: 2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Text-right {
    max-width: 90%;
    margin: 0 auto;
    transform: none;
  }

  .Text-right h3 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
  }

  .Text-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    padding-right: 0;
  }
}

/* Mobile (bis 600px): volle Breite, kompakte Abstände */
@media (max-width: 600px) {
  .akademie-content {
    padding: 3rem 1rem;
    gap: 1rem;
  }

  .akademie-col-left {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  .akademie-hero-img {
    width: 100%;
    height: auto;
    border-radius: 0; /* volles Bild, ohne runde Ecken */
  }

  .akademie-col-right {
    order: 2;
    text-align: left;
    align-items: flex-start;
  }

  .Text-right {
    max-width: 100%;
  }

  .Text-right h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transform: translateX(0);
  }

  .Text-right p {
    font-size: 1rem;
  }
}

/* ==============================
   Text-left Section (Akademie)
   ============================== */
   .Text-left {
    display: block;
    max-width: 620px;
  }
  
  .Text-left h3 {
    font-size: clamp(1.75rem, 1vw + 1.5rem, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
  }
  
  .akademie-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .akademie-list li {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--timeline-black, #000);
  }

  
  .akademie-img-right {
    flex: 0 0 50%;
    padding: 0 0 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }

  /* ==============================
   Akademie – Text-right (rechte Spalte)
   ============================== */

.Text-left h3 {
  font-family: var(--font-timeline);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 1.75rem 0;
  display: block;      
  box-sizing: border-box;
  width: calc(100% + 7vw);        
}

.Text-left p {
  font-family: var(--font-timeline);
  font-size: 1.25rem;
  font-weight: 300;
  text-align: left;
  color: var(--timeline-black);
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  position: relative;
}

.Text-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.Text-left li {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--timeline-black, #000);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}


/* Mobile */
@media (max-width: 1024px) {
  .Text-right {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    max-width: 100%;
  }
  .Text-left li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 300;
    color: var(--timeline-black, #000);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
  }
  
  .Text-left h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transform: translateX(0);
  }
}
/* ===========================================
   Header Zustand beim Hochscrollen
   =========================================== */
   .header.scrolled-up {
    background-color: var(--timeline-gray-subtle) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: none; /* Falls du irgendwo blur/transparent hast */
  }
  
  /* Navigation & Logo im weißen Header */
  .header.scrolled-up .nav-link,
  .header.scrolled-up .dropdown-toggle,
  .header.scrolled-up .mobile-nav-link {
    color: #000 !important;
  }
  
  .header.scrolled-up .nav-link:hover,
  .header.scrolled-up .dropdown-toggle:hover,
  .header.scrolled-up .mobile-nav-link:hover {
    color: #0077b6 !important; /* Akzentfarbe optional */
  }
 
  /* Falls du noch einen transparent-header Modifikator nutzt */
  .header.transparent-header.scrolled-up {
    background-color: var(--timeline-Offwhite) !important;
    backdrop-filter: none;
  }



  .akademie-content.special-bg {
    background-color: #f7f7f7;
  }

/* ===========================================
   Akademie – Special2-Bereich (2 Spalten)
   =========================================== */
  .akademie-content.special2-bg {
    display: flex;
    flex-wrap: wrap;                /* Überschrift darf eigene Zeile nehmen */
    justify-content: space-between;
    align-items: flex-start;
    background-color: #0D3937;
    color: #fff;
    padding: 6rem 0;
    row-gap: 4rem;                  /* Abstand Headline -> Spalten */
    column-gap: 0;
  }

  .akademie-content.special2-bg .section-heading {
    flex: 0 0 100%;                 /* nimmt volle Breite oberhalb der zwei Spalten */
    margin: 0;
    padding-left: 120px;            /* bündig mit linker Spalte */
    box-sizing: border-box;
  }
  
  /* Linke & rechte Spalten */
  .akademie-content.special2-bg .akademie-col-left,
  .akademie-content.special2-bg .akademie-col-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  
  /* Unterschiedliche Innenabstände */
  .akademie-content.special2-bg .akademie-col-left {
    padding-left: 120px;
    padding-right: 3vw;
  }
  
  .akademie-content.special2-bg .akademie-col-right {
    padding-right: 120px;
    padding-left: 3vw;
  }
  
  /* Bild mit 3:2 Verhältnis */
  .akademie-content.special2-bg .akademie-hero-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
  }
  
  /* Texte */
  .akademie-content.special2-bg h3 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1.25rem 0;
  }
  
  .akademie-content.special2-bg p {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: #eaeaea;
    max-width: 520px;
  }

  /* ===========================================
   Section Headline für .special2-bg
   =========================================== */
.akademie-content.special2-bg .section-heading {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  padding-left: 120px;
  margin: 0 0 1rem 0;
  text-align: left;
}
  
  /* ===========================
     Responsive Anpassungen
     =========================== */
  @media (max-width: 1024px) {
    .akademie-content.special2-bg {
      flex-direction: column;
      padding: 6rem 5vw;
    }
  
    .akademie-content.special2-bg .section-heading {
      font-size: 3rem;
      font-weight: 300;
      line-height: 1.2;
      color: #fff;
      padding-left: 0;
      margin: 0 0 1rem 0;
      text-align: left;
    }

    .akademie-content.special2-bg .akademie-col-left,
    .akademie-content.special2-bg .akademie-col-right {
      flex: 1 1 100%;
      padding: 0;
      margin-bottom: 4rem;
    }
  
    .akademie-content.special2-bg .akademie-hero-img {
      aspect-ratio: 16 / 9;
    }

      /* Bild mit 3:2 Verhältnis */
  .akademie-content.special2-bg .akademie-hero-img {
    width: 100%;
    aspect-ratio: 2 / 2;
    object-fit: cover;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
  }
  }
  
  @media (max-width: 600px) {
    .akademie-content.special2-bg {
      padding: 4rem 1.5rem;
    }
  
    .akademie-content.special2-bg h3 {
      font-size: 2rem;
    }
  
    .akademie-content.special2-bg p {
      font-size: 1.1rem;
    }
  }

/* ===========================================
   Mobile-Dropdown Styling auf .page-akademie und .page-stiftung
   =========================================== */
   .page-akademie .mobile-dropdown .dropdown-menu,
   .page-stiftung .mobile-dropdown .dropdown-menu {
    background-color: #0D3937 !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  
  .page-akademie .mobile-dropdown .dropdown-item,
  .page-stiftung .mobile-dropdown .dropdown-item {
    color: #fff !important;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .page-akademie .mobile-dropdown .dropdown-item:last-child,
  .page-stiftung .mobile-dropdown .dropdown-item:last-child {
    border-bottom: none;
  }
  
  .page-akademie .mobile-dropdown .dropdown-item:hover,
  .page-akademie .mobile-dropdown .dropdown-item:focus,
  .page-stiftung .mobile-dropdown .dropdown-item:hover,
  .page-stiftung .mobile-dropdown .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff !important;
  }
  
  /* Optional: der Button "proWIN heute" selbst, wenn aufgeklappt */
  .page-akademie .mobile-dropdown .dropdown-toggle[aria-expanded="true"],
  .page-stiftung .mobile-dropdown .dropdown-toggle[aria-expanded="true"] {
    background-color: #0D3937;
    color: #fff;
  }

  .page-akademie .nav-dropdown .dropdown-menu,
  .page-stiftung .nav-dropdown .dropdown-menu,
  .page-proWIN .nav-dropdown .dropdown-menu {
    
    background-color: #0D3937 !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  }
  
  .page-akademie .nav-dropdown .dropdown-item,
  .page-stiftung .nav-dropdown .dropdown-item,
  .page-proWIN .nav-dropdown .dropdown-item  {
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  
  .page-akademie .nav-dropdown .dropdown-item:last-child,
  .page-stiftung .nav-dropdown .dropdown-item:last-child,
  .page-proWIN .nav-dropdown .dropdown-item:last-child {
    border-bottom: none;
  }
  
  .page-akademie .nav-dropdown .dropdown-item:hover,
  .page-akademie .nav-dropdown .dropdown-item:focus-visible,
  .page-stiftung .nav-dropdown .dropdown-item:hover,
  .page-stiftung .nav-dropdown .dropdown-item:focus-visible {
    background-color: rgba(255,255,255,0.08);
    -webkit-text-fill-color: #fff !important;
    background-image: none;
    color: #fff !important;
  }

  /* Scroll Reveal for all h3 (subtle slide-in from left) */
.h3-reveal {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.h3-reveal.in-view {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .h3-reveal,
  .h3-reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ===========================================
   Scroll Reveal for all h3 (subtle slide-in from left)
   =========================================== */
.h3-reveal {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.h3-reveal.in-view {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .h3-reveal,
  .h3-reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==============================
   c-stiftung-hero
   (ehemals c-home-hero)
   ============================== */

   .c-stiftung-hero { 
    position: relative; 
    height: 200vh;                       /* 100vh Bild + 100vh Fläche darunter */
    background: var(--timeline-white);
  }
  
  /* Absoluter Wrapper inkl. historischer Clip-API */
  .c-stiftung-hero__wrapper { 
    position: absolute; 
    inset: 0; 
    clip: rect(0, auto, auto, 0);        /* verhindert Scroll-Jank / Safari-Fix */
  }
  
  /* Sticky-Viewport: hält die Layer an Ort und Stelle */
  .c-stiftung-hero__content { 
    position: sticky; 
    top: 0; 
    height: 100vh; 
  }
  
  /* beide Layer benutzen dieselbe Basis-Klasse */
  .c-stiftung-hero__layer { 
    width: 100%; 
  }
  
  /* ---------- FRONT-LAYER (weiß auf Bild) ---------- */
  .c-stiftung-hero__layer.-front { 
    position: relative; 
    max-height: 100vh;                   /* wird per JS dynamisch verkleinert */
    overflow: hidden; 
    margin-left: 20px; 
    width: calc(100% - 40px); 
    border-radius: 0 0 40px 40px; 
    z-index: 10;                         /* über Back-Layer */
  }
  
  @media (max-width: 900px) {
    .c-stiftung-hero__layer.-front {
      position: relative; 
      max-height: 100vh;
      overflow: hidden; 
      margin: 0; 
      width: 100%; 
      border-radius: 0 0 40px 40px; 
      z-index: 10;      
    }
  }
  
  /* Das Bild unter dem Front-Layer */
  .c-stiftung-hero__layer.-front .c-stiftung-hero__layer__background {
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 0;                          /* am unteren Rand andocken */
    height: 100vh;                      /* größer als die Front-Hülle */
    background-size: cover; 
    background-position: 50% 100%;
    background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.3)
    ), url('Pics/header_stiftung.jpg');
  }
  
  /* Sticky Content im Front-Layer */
  .c-stiftung-hero__layer.-front .c-stiftung-hero__layer__content { 
    position: sticky; 
    top: 0; 
    height: 100vh; 
    z-index: 2; 
    pointer-events: none; /* nur Anzeige; Interaktionen passieren erst darunter */
  }
  
  /* ---------- BACK-LAYER (dunkler Text auf heller Fläche) ---------- */
  .c-stiftung-hero__layer.-back {
    position: absolute;
    top: 0;
    margin-left: 20px;
    width: calc(100% - 40px);
    z-index: 5;
    background-color: #C46551;
    border-radius: 0 0 40px 40px;
  }
  
  @media (max-width: 900px) {
    .c-stiftung-hero__layer.-back {
      position: absolute;
      top: 0;
      margin: 0;
      width: 100%;
      z-index: 5;
      background-color: #C46551;
      border-radius: 0 0 40px 40px;
    }
  }
  
  /* Back-Layer-Content ist auch sticky */
  .c-stiftung-hero__layer.-back .c-stiftung-hero__layer__content {
    position: sticky;
    top: 0;
    height: 100vh;
    will-change: transform;
  }
  
  /* ---------------------------------
     Shared Content-Wrapper
  ---------------------------------- */
  .c-stiftung-hero__layer__content { 
    position: relative; 
    height: 100%; 
  }
  
  /* Headline */
  .c-multiline-title { 
    position: absolute; 
    inset: 0; 
    display: grid; 
    place-items: center; 
    margin: 0; 
    text-align: center; 
    letter-spacing: 2px; 
    font-family: var(--font-timeline, sans-serif); 
    font-weight: 300; 
    font-size: clamp(2.5rem, 8vw, 6rem); 
    line-height: 1; 
    padding: 0 10px;
  }
  
  @media (max-width: 900px) {
    .c-multiline-title { 
      position: absolute; 
      inset: 0 0 100px 0; 
      display: grid; 
      place-items: center; 
      margin: 0; 
      text-align: center; 
      letter-spacing: 2px; 
      font-family: var(--font-timeline, sans-serif); 
      font-weight: 300; 
      font-size: clamp(2.5rem, 8vw, 6rem); 
      line-height: 1; 
    }
  }
  
  /* Fließtext / Beschreibung unten links (Front-Layer: weißer Text über Bild) */
  .c-stiftung-hero__desc { 
    position: absolute; 
    left: 40px; 
    bottom: 40px; 
    max-width: 600px; 
    font-family: var(--font-timeline, sans-serif); 
    font-size: 1.25rem; 
    line-height: 1.5; 
  }
  
  @media (max-width: 900px) {
    .c-stiftung-hero__desc { 
      position: absolute; 
      left: 20px; 
      bottom: 120px; 
      width: calc(100% - 40px);
      font-family: var(--font-timeline, sans-serif); 
      font-size: 1rem; 
      line-height: 1.5; 
    }
  
    .c-stiftung-hero__layer__background {
      position: absolute; 
      height: 100vh;
      background-size: cover; 
      background-position: 50% 100%;
      background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.3)
      ), url('Pics/AdobeStock_1587229618_Preview.jpeg');
    }
  }
  
  /* Farb-Themes (wie bei dir schon genutzt) */
  .u-theme-primary .c-multiline-title,
  .u-theme-primary .c-stiftung-hero__desc { 
    color: #fff;
  }
  
  .u-theme-white .c-multiline-title,
  .u-theme-white .c-stiftung-hero__desc { 
    color: var(--timeline-black);
  }




  .content-wrapper {
    display: flex;
    gap: 7.5rem;
    min-height: 100vh;
    position: relative;
    padding-left: 120px ;
}

.image-container {
    flex: 1;
    position: sticky;
    top: 50px;
    height: 60vh;
    overflow: visible;
    align-self: flex-start;
    padding: 0 0 0 120px;
    justify-content: center;
    align-items: center;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-layer[data-image="0"] {
    z-index: 3;
}

.image-layer[data-image="1"] {
    z-index: 2;
}

.image-layer[data-image="2"] {
    z-index: 1;
}

.image-layer[data-image="3"] {
  z-index: 6;
}

.image-layer[data-image="4"] {
  z-index: 5;
}

.image-layer[data-image="5"] {
  z-index: 4;
}

.image-layer[data-image="6"] {
  z-index: 3;
}


.image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-container {
    flex: 1;
    padding: 0 60px;
}

.text-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*padding: 80px 0;*/
}

.text-section h2 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.text-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
}

/* Placeholder Bilder Styles */
.placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 20px 20px;
}

.placeholder-image.img1 {
  background-image: url("Pics/fvt.png");
  background-size: cover;
  background-position: center;
}

.placeholder-image.img2 {
  background-image: url("Pics/indien.jpg");
  background-size: cover;
  background-position: center;
}

.placeholder-image.img3 {
  background-image: url("Pics/2018-spendengala-sos-kinderdorf.webp");
  background-size: cover;
  background-position: center;}


.placeholder-image.img4 {
  background-image: url("Pics/junger-seehund-martin-stock-lkn.sh_-1024x683-x800-q80.webp");
  background-size: cover;
  background-position: center;
}

.placeholder-image.img5 {
  background-image: url("Pics/tiwiturtlepolice_action.jpg");
  background-size: cover;
  background-position: center;
}

.placeholder-image.img6 {
  background-image: url("Pics/ecoDive.jpg");
  background-size: cover;
  background-position: center;
}

.placeholder-image.img7 {
  background-image: url("Pics/bienenwagen-01-600x400-crop-q70.webp");
  background-size: cover;
  background-position: center;
}
  
    
  


/* Default für alle Bilder */
.image-layer .placeholder-image {
  width: 100%;
  height: 60vh;         /* Beispiel: Grundhöhe */
  border-radius: 0 0 20px 20px;
  background-size: cover;
  background-position: center;
}




/* Tablet & kleiner: wir zeigen eine mobile Version (.mobile-stack) statt der Desktop-Logik */
@media (max-width: 1024px) {

  .content-wrapper {
    display: block;
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  /* Desktop-Spalten ausblenden */
  .image-container,
  .text-container {
    display: none;
  }

  /* NEU: der gestapelte Mobile-Flow (Bild1->Text1->Bild2->Text2...) */
  .mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .mobile-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Bild im Block */
  .mobile-block .image-layer {
    position: relative;
    width: 100%;
    height: 80vh;             /* füllt 80% der Bildschirmhöhe */
    min-height: 400px;        /* für kleine Geräte */
    max-height: 90vh;
    overflow: hidden;
    margin: 0;
    border-radius: 0 0 20px 20px;
  }

  .mobile-block .placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Bild füllt Fläche */
    object-position: center;
    background-size: cover;
    background-position: center;
  }

  /* Text im Block */
  .mobile-block .text-section {
    min-height: auto;
    padding: 0;
    margin: 0;
  }

  .mobile-block .text-section h2 {
    font-size: clamp(2rem, 2vw + 1.5rem, 2.5rem);
    line-height: 1.2;
    margin: 0 0 1rem 0;
    font-weight: 300;
  }

  .mobile-block .text-section p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
    color: #333;
    margin: 0;
  }
}

/* Extra kompakt auf sehr kleinen Screens */
@media (max-width: 600px) {

  .content-wrapper {
    padding: 2rem 1rem;
  }

  .mobile-stack {
    gap: 2rem;
  }

  .mobile-block .image-layer {
    min-height: 40vh;
  }

  .mobile-block .text-section h2 {
    font-size: 1.75rem;
  }

  .mobile-block .text-section p {
    font-size: 1rem;
  }
}

.scroll-heading-wrapper {
  position: relative;
  padding: 120px 0 40px 0; /* Abstand oben/unten steuerbar */
  background: transparent; /* oder z. B. var(--timeline-gray-light) */
}

.scroll-heading {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.scroll-heading__title {
  font-size: clamp(2.25rem, 6vw, 6rem);
  font-weight: 300;
  color: var(--timeline-black, #111);
  transform: translateX(-200px);
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Reverse-Version */
.scroll-heading--reverse {
  justify-content: flex-end;
}

.scroll-heading--reverse .scroll-heading__title {
  transform: translateX(200px);
}


/* ===============================
   Stiftung: Spezial-Hintergrund
   =============================== */
   .akademie-content.stiftung-bg {
    background-color: #0D3937; /* z. B. proWIN Dunkelgrün */
    color: #fff;               /* weiße Schrift auf dunklem Hintergrund */
    padding-top: 6rem;
    padding-bottom: 6rem;
    margin: 10rem 0;
  }
  
  @media (max-width: 1024px) {
    .akademie-content.stiftung-bg {
      padding-top: 2rem;
      padding-bottom: 6rem;
      margin: 2rem 0;
    }
  }

  .akademie-content.stiftung-bg h3,
  .akademie-content.stiftung-bg h4,
  .akademie-content.stiftung-bg p,
  .akademie-content.stiftung-bg li {
    color: #fff;
  }
  
  .akademie-content.stiftung-bg ul li {
    margin-bottom: 0.75rem;
  }


  .akademie-content.stiftung {
    background-color: #C46551;
    padding-top: 6rem;
    padding-bottom: 6rem;
    margin: 10rem 0;
  }

  @media (max-width: 1024px) {
    .akademie-content.stiftung {
      padding-top: 2rem;
      padding-bottom: 6rem;
      margin: 2rem 0;
    }
  }

  /* ==========================================================
   MOBILE STACK FOR .content-wrapper
   – hides desktop columns and shows stacked clones
   – images fill viewport height and keep cover crop
   ========================================================== */
@media (max-width: 1024px) {
  /* nur aktiv, wenn Wrapper .is-mobile trägt (per JS gesetzt) */
  .content-wrapper.is-mobile .image-container,
  .content-wrapper.is-mobile .text-container {
    display: none !important;
  }
  .content-wrapper.is-mobile .mobile-stack {
    display: block !important;
  }

  .content-wrapper.is-mobile {
    display: block;
    padding: 0 0 40px 0;
  }

  .mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
  }

  .mobile-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* geklonte image-layers: keine Desktop-Transforms/Sticky */
  .mobile-block .image-layer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    height: calc(100svh - 120px); /* groß, unter dem Header */
    min-height: 360px;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
  }

  .mobile-block .placeholder-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: block;
  }

  .mobile-block .text-section {
    margin: 8px 0 0 0;
    padding: 0 0 24px 0;
  }

  .mobile-block .text-section h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
  }

  .mobile-block .text-section p {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
  }
}


/* ==========================================================
   STIFTUNG – HERO SECTION (Text links, Bild rechts, flexibles Layout)
   ========================================================== */
.stiftung-hero-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
  align-items: start;
  background-color: var(--timeline-Offwhite);
}
.stiftung-hero-left {
  grid-column: 2 / 7;
  padding-left: 120px;
}
.stiftung-hero-right {
  grid-column: 7 / 12;
}
.stiftung-hero-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin: 0 0 1.5rem 0;
  color: #0D3937;
}
.stiftung-hero-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}
.stiftung-hero-text-col {
  flex: 1 1 55%;
}
.stiftung-hero-text-col p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 1rem;
  font-weight: 300;
}
.stiftung-hero-inline-img {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stiftung-hero-inline-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
@media (max-width: 1024px) {
  .stiftung-hero-section {
    display: block;
  }
  .stiftung-hero-left {
    padding-left: 0;
  }
  .stiftung-hero-right {
    margin-top: 1.25rem;
  }
  .stiftung-hero-right img {
    max-height: 50vh;
  }
  .stiftung-hero-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .stiftung-hero-inline-img {
    width: 100%;
  }
}
/* =======================================================
   Stiftung – Hero Section (viewport split 50/50, .page-stiftung)
   ======================================================= */
.page-stiftung .stiftung-hero-section {
  position: relative;
  width: 100vw;
  height: auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  margin: 6rem 0;
}
.page-stiftung .stiftung-hero-left {
  flex: 0 0 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vw 60px 0 120px;
  box-sizing: border-box;
  color: #111;
  background-color: transparent;
}
.page-stiftung .stiftung-hero-right {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}
.page-stiftung .stiftung-hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-stiftung .stiftung-hero-text h2 {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 300;
  border-bottom: 2px solid #ccc;
  padding-bottom: 1rem;
  margin: 3rem 0 1.5rem 0;
  color: #0D3937;
}
.page-stiftung .stiftung-hero-p2 {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.page-stiftung .stiftung-hero-p2 p {
  margin: 0;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
}
/* einzelne Text-Bild-Blöcke */
.page-stiftung .stiftung-hero-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}
.page-stiftung .stiftung-hero-block-text {
  flex: 1;
}
.page-stiftung .stiftung-hero-block-text p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
}
.page-stiftung .stiftung-hero-block-img {
  flex: 0 0 25%;
  max-width: 220px;
}
.page-stiftung .stiftung-hero-block-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
@media (max-width: 1024px) {
  .page-stiftung .stiftung-hero-section {
    height: auto;
    min-height: 100svh;
    flex-direction: column;
  }
  .page-stiftung .stiftung-hero-left,
  .page-stiftung .stiftung-hero-right {
    flex: 0 0 auto;
    width: 100%;
    padding: 0 24px;
  }
  .page-stiftung .stiftung-hero-right {
    order: 2;
    padding: 0;
  }
  .page-stiftung .stiftung-hero-right img {
    position: relative;
    height: 50vh;
  }
  .page-stiftung .stiftung-hero-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-stiftung .stiftung-hero-block-img {
    max-width: 100%;
    width: 100%;
    margin-top: 1rem;
  }
}
/* page-akademie – H3 "Klapp"-Reveal (von unten nach oben) MIT Offset */
.page-akademie h3 {
  opacity: 0;
  transform: perspective(800px) rotateX(75deg);
  transform-origin: bottom center; /* <-- Drehpunkt nach unten */
  transition: transform 1s cubic-bezier(.22,.61,.36,1), opacity 0.6s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.page-akademie h3.visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg);
}

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  .page-akademie h3,
  .page-akademie h3.visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}


.page-akademie .Text-right h3 {
  opacity: 0;
  transform-origin: bottom center;
  /* Position + 3D: Offset bleibt erhalten */
  transform: translateX(calc(-7vw + -40px)) perspective(800px) rotateX(75deg);
  transition: transform 0.7s cubic-bezier(.22,.61,.36,1), opacity 0.6s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.page-akademie .Text-right h3.visible {
  opacity: 1;
  /* Offset weiterhin anwenden, nur Rotation auf 0 */
  transform: translateX(calc(-7vw + -40px)) perspective(800px) rotateX(0deg);
}

/* Optional: gleiche Logik für .Text-left h3, falls benötigt
.page-akademie .Text-left h3 { ... }
.page-akademie .Text-left h3.visible { ... }
*/

@media (prefers-reduced-motion: reduce) {
  .page-akademie .Text-right h3,
  .page-akademie .Text-right h3.visible {
    transition: none;
    transform: translateX(calc(-7vw + -40px));
    opacity: 1;
  }
}
/* =========================================
   STIFTUNG – H3 "Klapp"-Reveal (von unten nach oben)
   – gleiche Logik wie auf der Akademie-Seite
   – mit dauerhaftem X-Offset
   ========================================= */
.page-stiftung .Text-right h3,
.page-stiftung .Text-left h3 {

  opacity: 0;
  transform-origin: bottom center;
  /* Position + 3D: Offset bleibt erhalten */
  transform: translateX(calc(-7vw + -40px)) perspective(800px) rotateX(75deg);
  transition: transform 0.7s cubic-bezier(.22,.61,.36,1), opacity 0.6s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.page-stiftung .Text-right h3.visible,
.page-stiftung .Text-left h3.visible {
  opacity: 1;
  /* Offset weiterhin anwenden, nur Rotation auf 0 */
  transform: translateX(calc(-7vw + -40px)) perspective(800px) rotateX(0deg);
}


@media (prefers-reduced-motion: reduce) {
  .page-stiftung .Text-right h3,
  .page-stiftung .Text-right h3.visible,
  .page-stiftung .Text-left h3,
  .page-stiftung .Text-left h3.visible {
    transition: none;
    transform: translateX(calc(-7vw + -40px));
    opacity: 1;
  }
}

/* =========================================
   STIFTUNG – H2 "Klapp"-Reveal (von unten nach oben)
   Für .stiftung-hero-left h2 und .text-section h2
   ========================================= */
.page-stiftung .stiftung-hero-left h2,
.page-stiftung .text-section h2 {
  opacity: 0;
  transform-origin: bottom center;
  transform: perspective(800px) rotateX(75deg);
  transition: transform 1s cubic-bezier(.22,.61,.36,1), opacity 0.6s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.page-stiftung .stiftung-hero-left h2.visible,
.page-stiftung .text-section h2.visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg);
}

@media (prefers-reduced-motion: reduce) {
  .page-stiftung .stiftung-hero-left h2,
  .page-stiftung .stiftung-hero-left h2.visible,
  .page-stiftung .text-section h2,
  .page-stiftung .text-section h2.visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* =====================================================
   Mobile: Klapp-Effekt behalten, Positionierung entfernen
   ===================================================== */
   @media (max-width: 768px) {
    /* Gemeinsame Basis – Flip um die Unterkante */
    .page-stiftung .Text-right h3,
    .page-stiftung .Text-left h3,
    .page-stiftung .stiftung-hero-left h2,
    .page-stiftung .text-section h2,
    .page-akademie h3 {
      /* Positionierung neutralisieren (keine translateX / Offsets) */
      transform: perspective(800px) rotateX(90deg) !important;
      transform-origin: bottom center !important;
      opacity: 0 !important;
    }
  
    /* Sichtbar-Zustand: klappt nach vorne ein */
    .page-stiftung .Text-right h3.visible,
    .page-stiftung .Text-left h3.visible,
    .page-stiftung .stiftung-hero-left h2.visible,
    .page-stiftung .text-section h2.visible,
    .page-akademie h3.visible {
      transform: perspective(800px) rotateX(0deg) !important;
      transform-origin: bottom center !important;
      opacity: 1 !important;
    }
  }


/* =====================================================
   Header: solid background + logo-swap when scrolling up
   Reason: JS adds .scrolled-up (not .scrolled). We swap
   the logo purely in CSS using a pseudo-element so the
   <img> in the markup can stay as-is.
   ===================================================== */

/* When header is revealed on upward scroll, give it a solid background */
.header.scrolled-up {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

/* Switch nav/hamburger colors for the solid header */
.header.scrolled-up .nav-link,
.header.scrolled-up .dropdown-toggle,
.header.scrolled-up .dropdown-item,
.header.scrolled-up .mobile-nav-link {
  color: var(--timeline-black) !important;
}
.header.scrolled-up .nav-link:hover,
.header.scrolled-up .dropdown-toggle:hover,
.header.scrolled-up .dropdown-item:hover {
  -webkit-text-fill-color: var(--timeline-black) !important;
}
.header.scrolled-up .hamburger,
.header.scrolled-up .hamburger::before,
.header.scrolled-up .hamburger::after {
  background-color: var(--timeline-black) !important;
}

/* ---------- Logo swap (CSS-only, scoped to .transparent-header) ---------- */
/* Keep the logo box globally so layout doesn't shift */
.logo {
  position: relative;
  width: clamp(140px, 12vw, 220px);
  height: 48px; /* matches previous .logo-img height */
  line-height: 0;
}
.logo > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Render the logo via ::before ONLY on transparent headers */
.header.transparent-header .logo > a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Pics/logo_white.png") no-repeat left center; /* default: white logo */
  background-size: contain;
}

/* When header is revealed on upward scroll, swap to the colored logo */
.header.transparent-header.scrolled-up .logo > a::before {
  background-image: url("Pics/logo.png");
}

/* Visually hide the <img> ONLY within transparent headers so other pages keep their <img> logos */
.header.transparent-header .logo .logo-img {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}



/* ============================
   proWIN Marken –  Liste (Flex-Version)
   ============================ */

   .proWIN-Marken {
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    background-color: var(--timeline-Offwhite);
  }
  
  .proWIN-Marken h3 {
    font-family: var(--font-timeline);
    font-weight: 300;
    font-size: 5rem;
    line-height: 1.2;
    margin: 0 0 1.75rem 0;
    display: block;      
    box-sizing: border-box;
    width: calc(100% + 7vw);        
  }


  .marken {
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 0 0 40px;  
    max-width: 80vw;

  }
  
  .marke {
    padding-top: 40px;;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items:flex-start;
    justify-content: space-between;
    gap: 3rem;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
  }
  
  /* Textspalte */
  .marke__heading {
    width: 50%;   
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 20px 0 0;
    margin: 0 0 30px;
    flex-grow: 0;
    flex-shrink: 0;
  }

  .marke-text {
    white-space: normal;   /* erlaubtes Umbrechen statt erzwungenem Einzeiler */
    flex: 1 1 auto;        /* Kind darf innerhalb der 50%-Box schrumpfen/wachsen */
    min-width: 0;          /* wichtig in Flex-Containern, verhindert Overflow */
  }
  
  .marke-text h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: anywhere;  
    word-break: break-word; 
  }
 
  .marke__content {
    flex: 1 1 100%;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--timeline-black, #222);
}

  /* Bildspalte */
.marke-image {
  flex: 0 0 120px; /* feste Breite */
  overflow: hidden;
  margin: 0 40px 0 }

.marke-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
   Responsive – proWIN Marken
   ============================ */
@media (max-width: 1200px) {
  .proWIN-Marken h3 { font-size: 4rem; }
  .marken { max-width: 90vw; padding-left: 20px; }
  .marke { gap: 2rem; }
  .marke__heading { width: 55%; }
  .marke-image { flex: 0 0 100px; }
  .marke-text h2 { font-size: 2.5rem; }
}

@media (max-width: 900px) {
  /* Karten look: Heading-Teil über Content, Bild + Titel in einer Zeile */
  .marke { flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 32px 0; }
  .marke__heading { width: 100%; flex-wrap: wrap; align-items: center; margin: 0; padding-right: 0; }
  .marken { max-width: 100%; padding-left: 0; }
  .marke-image { flex: 0 0 84px; margin: 0 16px 0 0; }
  .marke-text { flex: 1 1 auto; min-width: 0; }
  .marke-text h2 { font-size: 2.25rem; }
  .marke__content { font-size: 1.1rem; line-height: 1.65; }
  .marke__content p { overflow-wrap: anywhere; word-break: break-word; }
}

@media (max-width: 600px) {
  .proWIN-Marken { padding: 0 1rem; }
  .proWIN-Marken h3 { font-size: 2.2rem; margin-bottom: 1rem; width: 100%; }
  .marke { gap: 1rem; padding: 24px 0; }
  .marke-image { flex: 0 0 64px; margin: 0 12px 0 0; }
  .marke-text h2 { font-size: 1.75rem; line-height: 1.25; }
  .marke__content { font-size: 1rem; }
}
  /* ============================
     Responsive
     ============================ */
  @media (max-width: 900px) {
    .standort {
      flex-direction: column;
      gap: 1rem;
    }
  

   .standorte {
    width: 100%;
    max-width: var(--container-max-width, 1400px);
    margin: 8rem auto;
    padding: 0;
  }

    .standort-text, .standort-image {
      flex: 1 1 100%;
    }
     
    .akademie-standorte h3{
      font-family: var(--font-timeline);
      font-weight: 300;
      font-size: 3rem;
      line-height: 1.2;
      margin: 0 0 1.75rem 0;
      display: block;      
      box-sizing: border-box;
     }

     .akademie-standorte h2{
      font-family: var(--font-timeline);
      font-weight: 300;
      font-size: 1.875rem;
      line-height: 1.2;
      margin: 0;
      display: block;      
      box-sizing: border-box;
     }

    .standort-text {
      text-align: center;
    }
  
    .standort-image img {
      height: auto;
      border-radius: 0 0 20px 20px;
    }
  
    .standort-image {
      flex: 1 1 100%;
      max-width: none;
    }
  }



/* ===========================================
   proWIN content (Feld + 2 Spalten)
   =========================================== */
.proWIN-content {
  display: flex;
  flex-wrap: wrap;                 /* Überschrift darf eigene Zeile nehmen */
  justify-content: space-between;
  align-items: flex-start;
  background-color: #C46551;
  padding: 6rem 0;
  row-gap: 1rem;                   /* Abstand Headline -> Spalten */
  column-gap: 0;
}

/* Section-Headline und -Einleitung nehmen volle Breite oberhalb der Spalten */
.proWIN-content .section-heading,
.proWIN-content .section-content {
  flex: 0 0 100%;
  margin: 0;
  padding-left: 120px;            /* bündig mit linker Spalte */
  box-sizing: border-box;
}

/* Zwei Spalten darunter */
.proWIN-content .proWIN-col-left,
.proWIN-content .proWIN-col-right {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Innenabstände links/rechts */
.proWIN-content .proWIN-col-left {
  padding-left: 120px;
  padding-right: 3vw;
}
.proWIN-content .proWIN-col-right {
  padding-right: 120px;
  padding-left: 3vw;
}

/* Typo */
.proWIN-content h3 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--timeline-black);
  margin: 0 0 1.25rem 0;
}
.proWIN-content p {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--timeline-black);
  max-width: 520px;
}

/* Bilder in den Spalten */
.proWIN-content .proWIN-hero-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
  margin-bottom: 2rem;
  display: block;
}

/* ===========================================
   Field/Card oberhalb der Spalten
   =========================================== */
.proWIN-field {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  border-radius: 16px;
  margin: 0 120px 2rem;            /* bündig mit Spaltenrändern */
}
.proWIN-field__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
}
.proWIN-field__title {
  font-size: 3rem;
  font-weight: 300;
  margin: 0;
  color: var(--timeline-black);
}
.proWIN-field__text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--timeline-black);
  margin: 0;
}

/* ===========================================
   Responsive Anpassungen
   =========================================== */
@media (max-width: 1024px) {
  .proWIN-content {
    flex-direction: column;
    padding: 6rem 5vw;
  }
  .proWIN-content .section-heading {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    padding-left: 0;
    margin: 0 0 1rem 0;
    text-align: left;
  }
  .proWIN-content .proWIN-col-left,
  .proWIN-content .proWIN-col-right {
    flex: 1 1 100%;
    padding: 0;
    margin-bottom: 4rem;
  }
  .proWIN-content .proWIN-hero-img {
    aspect-ratio: 16 / 9;
  }
  .proWIN-field {
    flex-direction: column;
    padding: 1rem;
    border-radius: 12px;
    margin: 0 0 2rem;               /* Seitenränder über Padding des Sections */
  }
  .proWIN-field__title { font-size: 1.4rem; }
  .proWIN-field__text  { font-size: 1rem; }
}

@media (max-width: 600px) {
  .proWIN-content {
    padding: 4rem 1.5rem;
  }
  .proWIN-content h3 {
    padding-top: 1rem;
    font-size: 2rem;
    font-weight: 300;
   transform: none !important;

  }
  .proWIN-content p {
    font-size: 1.1rem;
  }
}
/* ======================================================
   Flip-Reveal – Section Headline (h2)
   ====================================================== */
.Flip-reveal-wrapper {
  position: relative;
  padding: 10rem 0 8rem 0;
  margin: 0;
  background-color: var(--timeline-Offwhite);

}

.flip-heading__title {
  display: block;
  margin: 0;
  text-align: center;
  font-family: var(--font-timeline, sans-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.15;
  color: var(--timeline-black, #111);
  /* Flip-Basis */
  opacity: 0;
  transform-origin: bottom center;
  transform: perspective(900px) rotateX(75deg);
  transition: transform 0.9s cubic-bezier(.22,.61,.36,1), opacity 0.5s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.flip-heading__title.is-revealed {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg);
}

@media (max-width: 768px) {
  .Flip-reveal-wrapper { padding: 4rem 0 1.25rem 0; }
  .flip-heading__title { font-size: clamp(3rem, 8vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  .flip-heading__title,
  .flip-heading__title.is-revealed {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ======================================================
   Flip-Reveal – Dark Variante
   ====================================================== */
   .Flip-reveal-wrapper-dark {
    position: relative;
    padding: 6rem 0 2rem 0;
    margin: 0;
    background-color: #738776;
    color: var(--timeline-light, #f5f5f5);
    overflow: hidden;
  }
  
  /* Überschrift (Flip-Effekt wie helles Pendant) */
  .Flip-reveal-wrapper-dark .flip-heading__title {
    display: block;
    margin: 0;
    text-align: center;
    font-family: var(--font-timeline, sans-serif);
    font-weight: 300;
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    line-height: 1.15;
    color: var(--timeline-light, #f5f5f5);
    opacity: 0;
    transform-origin: bottom center;
    transform: perspective(900px) rotateX(75deg);
    transition: transform 0.9s cubic-bezier(.22,.61,.36,1), opacity 0.5s ease-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
  }
  
  .Flip-reveal-wrapper-dark .flip-heading__title.is-revealed {
    opacity: 1;
    transform: perspective(900px) rotateX(0deg);
  }
  

  
  /* Responsive Anpassungen */
  @media (max-width: 768px) {
    .Flip-reveal-wrapper-dark {
      padding: 4rem 0 1.25rem 0;
    }
    .Flip-reveal-wrapper-dark .flip-heading__title {
      font-size: clamp(3rem, 8vw, 3rem);
    }
  }
  
  /* Bewegungsreduktion */
  @media (prefers-reduced-motion: reduce) {
    .Flip-reveal-wrapper-dark .flip-heading__title,
    .Flip-reveal-wrapper-dark .flip-heading__title.is-revealed {
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
    }
  }
/* ===========================================
   Management – Fullscreen (100vh) Flex Layout
   =========================================== */
.management-content {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 4vw;
  padding-left: 120px;     /* gewünschter Innenabstand links */
  height: 100vh;           /* volle Viewport-Höhe */
  min-height: 700px;       /* Fallback für mittlere Screens */
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--timeline-Offwhite);
  overflow: hidden;        /* verhindert Scrollbars bei minimalem Overflow */
}

.management-col-left {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.management-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* Bild vollständig anzeigen */
  object-position: center;   /* mittig ausrichten */
  border-radius: 0 0 20px 20px;
  display: block;
  max-height: 100vh;         /* niemals größer als Viewport */
}

.management-col-right {
  flex: 0 0 50%;
  padding-left: 7vw;       /* analog Akademie rechte Spalte */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.management-content .Text-right {
  max-width: 620px;
}

.management-content .management-quote {
  display: block;                    /* Zitat auf eigene Zeile */
  margin-top: 2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--timeline-gray-dark);
  font-size: 1.25rem;
  line-height: 1.4;
  text-align: left;  
  border-top: #000 1px solid ;        
  border-bottom: #000 1px solid ;
  padding: 2rem 0;
}

/* ==============================
   Responsive – .management-content
   ============================== */
   @media (max-width: 1024px) {
    .management-content {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      height: auto;          /* nicht 100vh erzwingen */
      min-height: unset;
      padding: 6rem 4vw;     /* kompaktere Abstände */
      padding-left: 4vw;     /* linker Abstand reduzieren */
    }
  
    .management-col-left,
    .management-col-right {
      flex: 1 1 100%;
      max-width: 100%;
      padding: 0;
    }
  
    .management-col-right {
      align-items: center;
      text-align: center;
      padding-left: 0;
    }
  
    .management-hero-img {
      width: 100%;
      height: auto;          /* natürliche Höhe */
      max-height: 60vh;      /* begrenzen, damit nichts rausläuft */
      border-radius: 20px;   /* weiche Ecken wie bei Akademie */
      object-fit: contain;   /* vollständiges Bild sichtbar lassen */
    }
  }
  
  @media (max-width: 600px) {
    .management-content {
      padding: 3rem 1rem;
      gap: 1.25rem;
    }
  
    .management-col-left,
    .management-col-right {
      flex: 1 1 100%;
      max-width: 100%;
    }
  
    .management-hero-img {
      border-radius: 0;      /* auf sehr kleinen Screens flächig */
      max-height: 50vh;
    }
  
    /* Mobile-Optimierung für Headlines in dieser Section */
    .management-content h3 {
      font-size: 1.8rem !important;
      transform: none !important;
    }
  }
  
/* ===========================================
 Management – Variante: Text links, Bild rechts
=========================================== */
  .management-content--text-left {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 4vw;
    background-color: var(--timeline-Offwhite);

    padding-left: 120px;
    padding-right: 120px;
  
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    }
  
  .management-content--text-left .management-col-left,
  .management-content--text-left .management-col-right {
    flex: 0 0 50%;
  }
  
  /* Textspalte (links) */
  .management-content--text-left .management-col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 7vw; /* analog zur Standard-Variante */
  }

  .management-content--text-left h3 {
  transform: none !important;
  margin: 0 auto;
  border-top: 1px solid black;
  padding-top: 5rem;
  }
  
  /* Bild rechts: Komplett sichtbar (nicht abschneiden) */
  .management-content--text-left .management-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;       /* ganzes Bild sichtbar lassen */
    object-position: center;
    display: block;
    border-radius: 0 0 20px 20px;
    max-height: 100vh;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .management-content--text-left {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      height: auto;
      min-height: unset;
      padding: 6rem 4vw;
      padding-right: 4vw;
    }
    .management-content--text-left .management-col-left,
    .management-content--text-left .management-col-right {
      flex: 1 1 100%;
      max-width: 100%;
      padding: 0;
    }
    .management-content--text-left .management-col-right {
      align-items: center;
      text-align: center;
      padding-left: 0;
    }
  }
  
  @media (max-width: 600px) {
    .management-content--text-left { padding: 3rem 1rem; gap: 1.25rem; }
    .management-content--text-left .management-hero-img { border-radius: 0; }
    .management-content--text-left .Text-right { max-width: 100%; text-align: left; }
    .management-content--text-left h3 {
  transform: none !important;
  font-size: 1.8rem !important;
  margin: 0 auto;
}
.management-content--text-left p {
  transform: none !important;
  font-size: 1rem !important;
  margin: 0 auto;
  }

}

/* ===========================================
   prowin – Special2-Bereich (2 Spalten)
   =========================================== */
   .prowin-content.special2-bg {
    display: flex;
    flex-wrap: wrap;                /* Überschrift darf eigene Zeile nehmen */
    justify-content: space-between;
    align-items: flex-start;
    background-color: #738776;
    color: #fff;
    padding: 6rem 0;
    row-gap: 4rem;                  /* Abstand Headline -> Spalten */
    column-gap: 0;
  }

  .prowin-content.special2-bg .section-heading {
    flex: 0 0 100%;                 /* nimmt volle Breite oberhalb der zwei Spalten */
    margin: 0;
    padding-left: 120px;            /* bündig mit linker Spalte */
    box-sizing: border-box;
  }
  
  /* Linke & rechte Spalten */
  .prowin-content.special2-bg .prowin-col-left,
  .prowin-content.special2-bg .prowin-col-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  
  /* Unterschiedliche Innenabstände */
  .prowin-content.special2-bg .prowin-col-left {
    padding-left: 120px;
    padding-right: 3vw;
  }
  
  .prowin-content.special2-bg .prowin-col-right {
    padding-right: 120px;
    padding-left: 3vw;
  }
  
  /* Bild mit 3:2 Verhältnis */
  .prowin-content.special2-bg .prowin-hero-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit:contain;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
  }
  
  /* Texte */
  .prowin-content.special2-bg h3 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1.25rem 0;
    transform: none !important;
  }
  
  .prowin-content.special2-bg p {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: #eaeaea;
    max-width: 520px;
  }

  /* ===========================================
   Section Headline für .special2-bg
   =========================================== */
.prowin-content.special2-bg .section-heading {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  padding-left: 120px;
  margin: 0 0 1rem 0;
  text-align: left;
}

  /* ===========================
     Responsive Anpassungen
     =========================== */
  @media (max-width: 1024px) {
    .prowin-content.special2-bg {
      flex-direction: column;
      padding: 6rem 5vw;
    }
  
    .prowin-content.special2-bg .section-heading {
      font-size: 3rem;
      font-weight: 300;
      line-height: 1.2;
      color: #fff;
      padding-left: 0;
      margin: 0 0 1rem 0;
      text-align: left;
    }

    .prowin-content.special2-bg .prowin-col-left,
    .prowin-content.special2-bg .prowin-col-right {
      flex: 1 1 100%;
      padding: 0;
      margin-bottom: 4rem;
    }
  
    .prowin-content.special2-bg .prowin-hero-img {
      aspect-ratio: 16 / 9;
    }

      /* Bild mit 3:2 Verhältnis */
  .prowin-content.special2-bg .prowin-hero-img {
    width: 100%;
    aspect-ratio: 2 / 2;
    margin-bottom: 2rem;
  }
  }
  
  @media (max-width: 600px) {
    .prowin-content.special2-bg {
      padding: 4rem 1.5rem;
    }
  
    .prowin-content.special2-bg h3 {
      font-size: 1.8rem !important;
    }
  
    .prowin-content.special2-bg p {
      font-size: 1.1rem;
    }
  }

  /* proWIN – Content Layout */
.proWIN-content {
  margin: 0 auto;
  padding: 6rem 20px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
  row-gap: 2.5rem;               /* Abstand zwischen Zeilen */
}

/* Intro-Block belegt Zeile 1 über die Mittelspalten */
.proWIN-field { grid-column: 2 / 12; }
.proWIN-field__content { max-width: 48rem; }

/* Linke/rechte Kachel starten in einer neuen Zeile darunter */
.proWIN-col-left  { grid-column: 2 / 7;  align-self: start; }
.proWIN-col-right { grid-column: 7 / 12; align-self: start; }

/* Sicherheitsnetz: keine Floats/Wraps */
.proWIN-field, .proWIN-col-left, .proWIN-col-right { float: none; }

/* Bilder */
.proWIN-hero-img { width: 100%; height: auto; display: block; border-radius: 20px; }

/* Mobile: stacken */
@media (max-width: 1024px) {
  .proWIN-content { display: block; padding: 4rem 16px; }
  .proWIN-field, .proWIN-col-left, .proWIN-col-right { grid-column: 1 / -1; }
}

.timeline-description {
  white-space: pre-line;
}
/* ===== Dropdown: structure & open state (click + hover) ===== */
.header, .header-container, .desktop-nav { overflow: visible; }
.desktop-nav .nav-dropdown { position: relative; }

.desktop-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  z-index: 1000;
}

/* Open when JS toggles .open on the parent */
.nav-dropdown.open > .dropdown-menu { display: block; }

/* Also open on hover for real hover devices (desktop) */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover > .dropdown-menu { display: block; }
}
/* =========================
   Cookie Consent (Banner + Modal)
   ========================= */
.cc-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(20, 22, 26, 0.98);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  backdrop-filter: saturate(140%) blur(4px);
}
.cc-banner.is-hidden { display: none; }

.cc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.cc-title { margin: 0 0 6px; font-weight: 700; font-size: 1rem; }
.cc-desc { margin: 0; font-size: .95rem; line-height: 1.4; }
.cc-desc a { color: #fff; text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cc-btn {
  appearance: none;
  border: 0; border-radius: 6px;
  padding: 10px 14px;
  font-size: .95rem; line-height: 1;
  cursor: pointer;
  transition: transform .06s ease, opacity .2s ease;
}
.cc-btn:active { transform: translateY(1px); }
.cc-primary { background: #00a3ff; color: #0b1020; font-weight: 700; }
.cc-secondary { background: #2c3241; color: #fff; }
.cc-link { background: transparent; color: #fff; text-decoration: underline; padding-left: 0; padding-right: 0; }

/* Modal */
.cc-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: rgba(0,0,0,0.55); }
.cc-modal.is-hidden { display: none; }
.cc-modal__dialog {
  width: min(640px, calc(100vw - 32px));
  background: #111420; color: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  overflow: hidden;
}
.cc-modal__header, .cc-modal__footer { padding: 16px 18px; background: #0d1120; }
.cc-modal__body { padding: 18px; }
.cc-switches { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cc-switch { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cc-switch:last-child { border-bottom: 0; }
.cc-switch__meta small { color: #cbd5e1; display: block; margin-top: 2px; font-size: .85rem; }
.cc-switch__control input[type="checkbox"] { width: 22px; height: 22px; accent-color: #00a3ff; }

/* Responsive */
@media (max-width: 800px) {
  .cc-container { grid-template-columns: 1fr; }
  .cc-actions { justify-content: flex-start; }
}