:root {
--primary-blue: #0057b7;
--primary-yellow: #ffd700;
--bg-light:   #eaeaea;
--text-color: #2c2c2c;
--menu-font-size: 0.95rem; /* oder 14px */
--font-family-main: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
--button-farbe: #212529F2;
--box-farbe: #dce3ea;
--desktop-font-size: 1.06rem;
--mobile-font-size: 1rem;
  --timeline-line: rgba(255,215,0,.45);  /* weiches Gelb */
  --timeline-line-width: 1px;            /* dünner */
}


.section{ padding: 48px 0; }
.section + .section{ padding-top: 32px; }          /* engerer Übergang */
.section-header{ max-width: 760px; margin: 0 auto 28px; }
.section-header p{ margin: 8px 0 0; opacity:.85; }



/* General Styles */
body {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color:  #dce3ea;
    padding-top: 80px;
}

/* 1) Die zusätzlich eingefügten "connector"-Divs komplett abschalten */
section#timeline .timeline > .connector {
  display: none !important;
}

/* 2) Die eigentliche Mittellinie (Pseudo-Element) dünner machen */
section#timeline .timeline::before {
  /* dünn: 2px (nach Wunsch anpassen) */
  width: 2px !important;

  /* optional: etwas dezenter machen (statt Vollgelb) */
  background: var(--primary-yellow) !important;
  /* oder zarter:
  background: rgba(255, 215, 0, .85) !important;
  */

  /* falls irgendwo ein Border reinfunkt */
  border: 0 !important;
}

/* 3) Sicherheitsnetz: keine andere Linie/Tint im Timeline-Container */
section#timeline .timeline {
  background: transparent !important;
  border: 0 !important;
}



/*Unsere Aufgaben-Sektion*/  

.features{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 992px){ .features{ grid-template-columns:1fr; } }




/* Typewriting effect on text */
.minimal-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  font-family: var(--font-family-main);
  opacity: 0; /* Initially hidden */
  width: 0; /* Hide text initially */
  overflow: hidden; /* Hide overflow to manage typewriter effect */
  white-space: nowrap; /* Ensure the text stays on one line */
  transition: opacity 0.3s ease, width 3s steps(30, end) 0.5s; /* Transition for typewriting */
}

.minimal-icon{ height: 64px; margin-bottom:.75rem; }


/* Effekt, wenn Hover */
.minimal-card:hover {
  transform: scale(1.05);
  opacity: 1; /* Fade-in on hover */
}


/* Typewriting Animation */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Fade-in effect after typing */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* Zustand „geöffnet“ – wird auf Mobile per Tap gesetzt */
.minimal-card.is-open .minimal-icon{ display:none; }
.minimal-card.is-open .minimal-hover-text{ display:block; opacity:1; }
.minimal-card.is-open { /* Alternative Ansicht für Klick auf mobile Geräte */
  transform: scale(1.05);
}



h2.fw-bold {
  margin-bottom: 5rem !important; /* ca. 24px */
}


.hr-soft{
  height: 10px;
  margin: 28px auto;
  max-width: 820px;
  border-radius: 1px;
}

/* ===== Flip-Card Basis ===== */
.card-3d{
  position: relative;          /* <- nötig, damit .card-face (absolute) im Card-Rahmen liegt */
  perspective: 1000px;
  overflow: hidden;            /* runde Ecken bleiben beim Flip erhalten */
  padding: 0;                  /* Padding machen die Faces */
}

/* Vorder- & Rückseite */
.card-3d .card-face{
  position: absolute; inset: 0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 1.25rem;
  background: #f1f3f5;         /* oder var(--box-farbe) */
  border-radius: inherit;
  backface-visibility: hidden;         /* Flip sauber, kein „Durchscheinen“ */
  -webkit-backface-visibility: hidden; /* Safari */
  transform: translateZ(0);            /* Safari/GPU-Kick */
}
.card-3d .card-front{ transform: rotateY(0deg); }
.card-3d .card-back { transform: rotateY(180deg); }

/* Hover-Flip nur auf Desktop-Geräten */
@media (hover:hover) and (pointer:fine){
  .card-3d:hover .card-front{ transform: rotateY(180deg); }
  .card-3d:hover .card-back { transform: rotateY(360deg); }
}

/* Tap/Keyboard-Flip: wird per JS als .flipped gesetzt */
.card-3d.flipped .card-front{ transform: rotateY(180deg); }
.card-3d.flipped .card-back { transform: rotateY(360deg); }

/* Animation (separat, damit Reduced-Motion greifen kann) */
.card-3d .card-front,
.card-3d .card-back{ transition: transform .6s ease; }

@media (prefers-reduced-motion: reduce){
  .card-3d .card-front,
  .card-3d .card-back{ transition: none; }
}

/* Alte Hover-Logik für Nicht-Flip-Karten aktiv lassen, aber 3D-Cards ausnehmen */
@media (hover:hover) and (pointer:fine){
  .minimal-card:not(.card-3d):hover .minimal-icon{ display:none; }
  .minimal-card:not(.card-3d):hover .minimal-hover-text{ display:block; opacity:1; }
}



/* Hintergrundfarbe und Card-Effekte */
.minimal-card {
  background: var(--box-farbe);
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 240px;
  opacity: 0.9;  /* Slight fade effect */
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer; /* Make it clickable */
}


/* Hover-Effekt: Karten wachsen und Schrift wird sichtbar */
.minimal-card:hover {
  transform: scale(1.05);
  opacity: 1; /* Fade-in on hover */
}


.minimal-icon {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}
/* Grunddesign für bessere Lesbarkeit */
.minimal-title {
  font-size: 1.2rem;              /* etwas größer */
  font-weight: 600;               /* kräftiger */
  color: #1a1a1a;                 /* dunkler, mehr Kontrast */
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-top: 0.8rem;
  letter-spacing: 0.3px;          /* kleine Laufweite → ruhiger */
  -webkit-font-smoothing: antialiased;
}

.typing-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--text-color); /* Cursor */
  animation: typing 3s steps(30, end) infinite alternate;
  font-family: 'Inter', sans-serif; /* deine vorhandene Schrift */
  font-weight: 600;
  font-size: 1.1rem;
}

.cursor {
  display: none; /* Falls du den extra <span class="cursor"> verwendest */
}

@keyframes typing {
  from { width: 0 }
  to   { width: 100% }
}



/*Boxen für Projektdarstellung*/

/* === Neue Timeline-Grid-Logik: links | Linie | rechts === */
.timeline{
  position: relative;
  display: grid;
  grid-template-columns: 1fr var(--timeline-line-width) 1fr; /* 2px Mittelspalte */
  gap: 2rem 2rem;
  align-items: start;
  padding: 2rem 0 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}




/* Cards links/rechts verankern */
.timeline-item { position: relative; }
.timeline-item.left  { grid-column: 1; }
.timeline-item.right { grid-column: 3; }



/* OVERRIDE – ans ENDE der CSS setzen */
.timeline-content{
  background:#fff;                 /* statt var(--box-farbe) */
  border-radius:16px;
  padding:1rem 1rem 1.1rem;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease;
  max-width:unset; margin:0;
}
.timeline-content:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}

/* Datums-Badge in der Karte */
.badge-date{
  display:inline-block;
  margin:.6rem 0 .35rem;
  background:var(--primary-yellow);
  color:#1a1a1a; font-weight:600; font-size:.92rem;
  padding:.35rem .6rem; border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

/* Meta-Zeile unten */
.meta-list{
  display:flex; flex-wrap:wrap; gap:1rem 1.25rem;
  list-style:none; padding:0; margin:.35rem 0 0;
  font-size:.92rem; color:#9b5b8f;
}
.meta-list li{ display:flex; align-items:center; gap:.35rem; }
.meta-list li span{ color:#6b7280; }


/* Timeline Section Hintergrund */
/* Timeline Section Hintergrund */
#timeline {
  background-color: #dce3ea;  /* exakt wie der Screenshot */
  padding-top: 16px;
}


/* Einheitliche Media-Box (16:9 + Crop für Bild & Video) */
.media{
  position: relative;         /* <— wichtig */
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .75rem;
  background: #000;
}
.media img, .media iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

/* nur für Items mit .media--contain */
.media--contain img {
  object-fit: contain;   /* kein Beschnitt, Balken möglich */
}


.media-container {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--box-farbe);
}




.timeline-title,
.timeline-text,
.date {
    text-align: center;
    max-width: 90%;
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font-family-main)
}






/* Titel/Datum/Text – deine Werte, nur minimal getuned */
.timeline-meta-row{
  display:flex; justify-content:space-between; align-items:baseline;
  gap: 1rem; margin:.25rem 0 .5rem;
}





.timeline-date { font-size: .95rem; opacity: .85; white-space: nowrap; }



.timeline-title{ font-size: clamp(1.05rem, 1vw + .8rem, 1.2rem); font-weight: 600; text-align:left; }


.timeline-text { text-align:left; font-size: clamp(.98rem,.4vw + .9rem,1.05rem); line-height:1.6; margin: .5rem 0 0; }



/* Play-Button sicher über dem Bild/Poster */
.play-button{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;                 /* über img/thumbnail */
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
  cursor: pointer;
}



.play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}


.play-button:hover {
    background: rgba(0, 0, 0, 0.6);
}








@media (max-width: 991.98px) {
  .navbar .container {
    flex-direction: column !important;
    text-align: center;
  }


  .navbar-brand {
    order: 1;
  }


  .navbar-toggler {
    order: 2;
    align-self: center;
  }


  #mainNavbar {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
}



.media { aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#000; }
.media img, .media iframe { width:100%; height:100%; display:block; border:0; object-fit:cover; }

/* nur bei Bedarf: kein Beschnitt */
.media--contain img { object-fit: contain; }   /* Balken sichtbar */





@media (max-width: 768px) {


 .timeline-item.left, .timeline-item.right{ grid-column: 1 / 4; }

  .container {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
    .timeline-content p.timeline-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
    overflow-wrap: break-word;
    margin-bottom: 1.2rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }




  .download-item {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }


  .download-grid {
    gap: 1rem;
    flex-direction: column;
  }


  .download-links h4 {
    font-size: 1.1rem;
    margin-top: 2rem;
  }


}










@media (max-width: 600px) {
  .timeline-content {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }






}




/* Floating Donation Button */
.floating-donate {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}


.donate-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--button-farbe);
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
                0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    /*cursor: pointer;*/
}




.donate-button1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--button-farbe);
  color: white;
  
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              0 1px 3px rgba(0, 0, 0, 0.08);
  text-decoration: none; /* ✅ WICHTIG */
  transition: all 0.3s ease;
}



.donate-button1:hover {
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.6),
              0 0 16px rgba(255, 204, 0, 0.5),
              0 0 24px rgba(255, 204, 0, 0.3);
  transform: translateY(-2px) scale(1.05);
}




.donate-button:hover {
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.6),   /* Blau */
    0 0 16px rgba(255, 204, 0, 0.5),  /* Gelb */
    0 0 24px rgba(255, 204, 0, 0.3);  /* Weicher gelber Glow */
    transform: translateY(-2px) scale(1.05);
}




.donate-icon {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}


.donate-button:hover .donate-icon {
    transform: rotate(10deg);
}











/*Farben der a links im Menü*/


.farbe-button {
    display: inline-block;
    padding-top: 10px;
    padding-bottom:10px;
    padding-right: 10px;
    color: white;
    font-family: var(--font-family-main);
    font-size: var(--menu-font-size);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
}


.farbe-button1 {
  color: white; 
  font-family: var(--font-family-main);
  font-size: var(--menu-font-size);
  text-decoration: none; /* ✅ UNTERSTREICHUNG WEG */
}



.farbe-button1 {
  color: black; 
  font-family: var(--font-family-main);
  font-size: var(--menu-font-size);
  text-decoration: none; /* ✅ UNTERSTREICHUNG WEG */
}




.donate-button2 {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
  padding: .45rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: all .25s ease;
}





.donate-button2:hover {
  background: var(--primary-yellow);
  color: #1a1a1a;
}





/*Trysub Symbol für die Ukraine*/


.trysub-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto 4rem;
  }
 
  .trysub-label {
    margin-bottom: 0.5rem;
   padding-top: 1.5rem;
    text-align: center;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-top: 16px;
  }
 


             
/*animierte Ukrainekarte*/


 .logoRahmen-mobile{
  display:block;
  }




  .trigger-image-mobile {
  cursor: pointer;
   }
         
  .figures-mobile {
  height: 60px;
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto auto;
  pointer-events: none;
  padding-top: 50px;
  width: 320px;
  }
         
         
.figure-mobile {
height: 10px;
border-radius: 50%;
opacity: 1;
transition: transform 1s ease, opacity 1s ease;
display: none;
margin:3px;
}
         
         
.figure-mobile:first-child{
rotate: 45deg;
}          
         
.figure-mobile:nth-child(2){
rotate: 3.1416rad;
}
.figure-mobile:nth-child(3){
 rotate: 45deg;
 }
.figure-mobile:nth-child(4){
 rotate: -50grad;
}
.figure-mobile:nth-child(5){
rotate: 45deg;
}
.figure-mobile:nth-child(6){
rotate: 1.75turn;
}
.figure-mobile:nth-child(7){
  rotate: 3.1416rad;
}
.figure-mobile:nth-child(8){
 rotate: -50grad;
}
         
.logoRahmen{
display: none;            
}                  
         
         
@keyframes fall {
0% {
transform: translateY(0);
 transform: rotate(400deg);
opacity: 1;
}          
100% {
transform: translateY(100px);
opacity: 0;
}
 }
         
.trigger-image-mobile:hover ~ .figures-mobile .figure-mobile{
animation: fall 3s forwards;
}
         
         
.logoRahmen-mobile .trigger-image-mobile{
height: 200px;
position: absolute;
 top: 15%;
 left: 2,5%;
opacity: .8;
transition: all .3s linear;
display: block;
}          
         
               
.logoRahmen-mobile .russischerSol-mobile{
  height: 36px;
  position: absolute;
  top: 15%;
  left: 2.5%;
  opacity: .8;
  transition: all .9s steps (steps, step-end);
}
         
       


.logoRahmen-mobile {
  display: flex;
  justify-content: center; /* Horizontale Zentrierung */
  align-items: center;     /* Vertikale Zentrierung (optional) */
  position: relative;      /* wichtig für positionierte Kinder */
  height: 150px;           /* oder passend zur Bildhöhe */
}
       
.trigger-image-mobile {
    position: relative; /* statt absolute */
    height: 200px;
    opacity: 0.8;
    transition: all 0.3s linear;
}
     


  /* Define rotate animation */
  @keyframes rotateAnimation {
    0% {
        opacity: 0.8;
        transform: rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: rotate(-45deg);
    }
  }
         
/* Apply rotate animation on hover and reset automatically */
.logoRahmen-mobile .trigger-image-mobile:hover {
  animation: rotateAnimation 0.5s alternate 2; /* 0.5s per direction, total 1s */
}


.header-image .trigger-image-mobile{
  height: 100vh;
  float: right;
}
.header-image{
  float: right;
  height: auto;
  background-size: cover;
  background-position: center;
  width: 40%;
  height: 100vh;
  margin: 10px;
}




.nav-trident {
height: 22px;
width: auto;
opacity: 0.85;
display: inline-block;
vertical-align: middle;
transform: translateY(-2px); /* leicht zentriert zur Schriftlinie */
}
 
.nav-item{
  white-space: nowrap; /* ebenfalls gegen Umbruch */
}
 




/* Menü-Links im Offcanvas */
.offcanvas .nav-link {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
  }
 
.offcanvas .nav-link:hover {
  color: var(--primary-blue);
  transform: translateX(5px);
  transition: 0.3s ease;
}
 




.navbar {
  /* background-color: var(--dark-light);*/
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 1rem auto;
  width: calc(100% - 2rem);
  max-width: 1140px;
  padding: 1rem 0;
  transition: all 0.3s ease-in-out;
}


.navbar-nav {
padding-left: 0; /* Menü-Links nicht nach rechts schieben */
flex-wrap: nowrap; /* verhindert Umbruch */
gap: 1rem; /* Abstand zwischen Menüpunkten */
white-space: nowrap; /* ebenfalls gegen Umbruch */
}


.navbar.scrolled {
    padding: 3rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}


.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    color: var(--text-color);
    font-size: var(--menu-font-size); /* NEU */
    font-family: var(--font-family-main); /* NEU */
    transition: all 0.3s ease;
}




.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}


.nav-link:hover::after {
    width: 100%;
}


         
.head-container {
padding-top: 0rem;
padding-bottom: 5rem;              
display: flex;
justify-content: center; /* horizontal */
align-items: center;     /* vertikal */
}
           
         



/*Navigator bis zum Anfang*/


.trysub-up {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #212529;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
  }
 
  .trysub-up:hover {
    background-color: #333;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }


/* === Footer im Header-Look (ohne CTA) === */
.footerbar{
  margin: 3rem auto 0;
  background:#f1f3f5;               /* wie Header */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  width: calc(100% - 2rem);
  max-width: 1140px;
}

.footerbar-inner{
  display:flex; align-items:center; gap:1rem;
  padding: 1rem 1.25rem;
}



/* Links wie im Header – dezente gelbe Hover-Underline */
.footernav{ display:flex; gap:1.25rem; margin-left:auto; flex-wrap:wrap; }
.footernav a{
  position:relative; text-decoration:none; color:var(--text-color);
  font-size: var(--menu-font-size); font-family: var(--font-family-main);
  padding:.35rem .25rem;
}
.footernav a::after{
  content:""; position:absolute; left:50%; bottom:0; height:2px; width:0;
  background: var(--primary-yellow);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.footernav a:hover::after{ width:100%; }

.footerbar-bottom{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: .75rem 1.25rem 1rem;
  text-align:center;
  color: var(--text-color);
  font-size:.95rem;
  border-radius: 0 0 12px 12px;
}

/* Footer-Text & Links wie Header-Menü */
.footerbar,
.footerbar a,
.footerbar-bottom {
  font-size: var(--menu-font-size);
  font-family: var(--font-family-main);
  color: var(--text-color);
}

/* Footer-Links Hover-Effekt wie Header */
.footerbar a {
  position: relative;
  text-decoration: none;
  transition: color .25s ease;
}
.footerbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-yellow);
  transition: width .25s ease;
  transform: translateX(-50%);
}
.footerbar a:hover::after {
  width: 100%;
}

/* Copyright dezenter */
.footerbar-bottom small {
  opacity: .7;              /* leicht ausgegraut */
  font-size: var(--menu-font-size);
}


/* Responsive: untereinander + zentriert */
@media (max-width: 768px){
  .footerbar-inner{ flex-direction:column; align-items:center; gap:.5rem; }
  .footernav{ margin-left:0; justify-content:center; }
}

   








/* Responsive Design */
@media (max-width: 768px) {




.navbar-toggler {
  margin-left: auto;
  margin-right: auto;
  display: block;
}




.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
}




.timeline-content{
  background-color: #dce3ea;
}


.farbe-button{
    font-size: 15px;


}


.farbe-button:hover {
    color: var(--primary-yellow);
}




.donate-icon-small{
    display: none;
}






.logoRahmen {
  padding-left: 0;
  height: 80px;
  margin-top: 0;
}
 
.logoRahmen .trigger-image {
  height: 60px;
  position: static;
  display: block;
  margin: 0 auto;
}
 
.figures {
  display: none; /* Optional auf kleineren Geräten */
}


.navbar-brand {
  margin-left: 0;
}
 


/* Standard-Position rechts unten + Safe-Area */
.floating-donate{
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));   /* iPhone-Notch etc. */
  z-index: 1000;
}


/* Wenn Footer sichtbar: höher setzen */
.floating-donate.avoid-footer{
  bottom: 120px;  /* Abstand zum Footer (bei Bedarf anpassen) */
}

.donate-button {
    padding: 8px 16px;
}


.navbar {
    padding: 0.5rem 0;
}


.donate-icon{
    height: 35px;


}




.footer-content {
  grid-template-columns: 1fr; /* 1 Spalte bei kleiner Breite */
}


.footer-column {
  align-items: center;
  text-align: center;
}




.timeline-title {
  font-size: 1.1rem;
}


.timeline-text {
  font-size: 0.95rem;
}


.footer-title::after {
    left: 50%;
    transform: translateX(-50%);
}
 }


 /*über uns page*/
/* über uns page */
.info-quote-box {
  background-color: #f1f3f5;
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--font-family-main);
  color: var(--text-color);
  font-size: var(--desktop-font-size);
  position: relative;
  overflow: hidden;
}


.info-quote-box:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}


.cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
}


@keyframes blink {
  50% { opacity: 0; }
}


  .quote-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}




.quote-icon img {
  width: 36px; /* etwas kleiner für Mobilgeräte */
  height: auto;
  opacity: 0.85;
}


.quote-content ul {
  padding-left: 1rem;
  list-style: disc;
  margin: 0.5rem 0;
}


.quote-content li {
  margin: 0.4rem 0;
  line-height: 1.5;
}


.quote-content p {
  margin: 0.4rem 0;
  line-height: 1.5;
}


.animated-title {
  font-size: 1.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--text-color);
  width: 0;
  animation: typing 2.4s steps(30, end) forwards, blink 0.75s step-end infinite;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-right: none !important;
}


@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}


@keyframes blink {
  50% { border-color: transparent }
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}


.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background-color: #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}


.gallery-item:hover {
  transform: scale(1.02);
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.1rem;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}


.gallery-item:hover .overlay {
  opacity: 1;
}


@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


.download-links {
  margin-top: 2rem;
}


.download-links h4 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-color);
  font-family: var(--font-family-main);
  margin-bottom: 1rem;
}


.download-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}


.download-item {
  padding: 0.75rem 1.2rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-family-main);
  font-size: 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}


.download-item:hover {
  color: var(--text-color);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transform: translateY(-2px) scale(1.05);
}


/* Mobile Optimierungen */
@media (max-width: 768px) {
  .info-quote-box {
    flex-direction: column;
    padding: 1.5rem 1rem;
    font-size: var(--mobile-font-size);
    margin-bottom: 3rem;
  }


 
  .quote-content p,
  .quote-content li {
    font-size: 1.05rem;
    line-height: 1.5;        /* Reduzierter Zeilenabstand */
    text-align: left;        /* Kein Blocksatz mehr */
    hyphens: auto;           /* Automatische Silbentrennung */
    word-break: normal;      /* Kein unnatürlicher Umbruch */
    overflow-wrap: break-word;
  }


  .quote-content ul {
    padding-left: 1.2rem;
  }


  .gallery-grid {
    margin-bottom: 4rem;
  }


  #typing, .cursor {
    display: none;
  }


  .animated-title::before {
    content: "Was wir tun und warum";
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 0 auto 1rem auto;
  }


  .quote-icon {
    align-self: center;
  }


  .animated-title {
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }
}




/*css für Vereinsatzungsdownloads*/
.download-links {
  margin-top: 2rem;
}


.download-links h4 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-color);
  font-family: var(--font-family-main);
  margin-bottom: 1rem;
}


.download-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}


.download-item {
  padding: 0.75rem 1.2rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-family-main);
  font-size: 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}


.download-item:hover {
  color: var(--text-color);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transform: translateY(-2px) scale(1.05);
}

/* DESKTOP */
@media (min-width: 992px){
  .timeline{
    grid-template-columns: 1fr var(--timeline-line-width) 1fr;
  }
  .timeline::before{
    content:"";
    position:absolute;
    inset:0 auto 0 50%;
    width: var(--timeline-line-width);
    transform: translateX(-50%);
   background: linear-gradient(#0000, var(--timeline-line) 8%, var(--timeline-line) 92%, #0000);
    border-radius: 1px;
    z-index:0;
  }
}

@media (max-width: 768px) {

  .timeline{
    grid-template-columns: 1fr 6px 1fr;
    gap: 1.25rem 1rem;
    padding: 1rem 0 2rem;
  }

   .info-quote-box {
    flex-direction: column;
    padding: 1.5rem 1rem; /* weniger Innenabstand */
    font-size: var(--mobile-font-size);
    margin-bottom: 3rem;
  }


  .quote-content p {
    margin-bottom: 0.8rem;
    line-height: 1.4; /* engerer Zeilenabstand */
  }


  .quote-content li {
    margin-bottom: 0.4rem;
    line-height: 1.4;
  }


  .gallery-grid {
    margin-bottom: 4rem; /* Abstand zum Button */
  }


  #typing, .cursor {
    display: none;
  }


  .animated-title::before {
    content: "Was wir tun und warum";
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: auto;
  } /* ← Diese Klammer hat gefehlt */


  .quote-icon {
    align-self: center;
  }


  .animated-title {
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
  }
}




/*layout für Spendenseite*/
.donation-hero {
  background: url("media/spenden-hero.jpg") center center / cover no-repeat;
  height: 60vh;
  padding: 3rem 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}


.donation-box {
  max-width: 500px;
  background-color: #f1f3f5;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.donation-box h5 {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}


.btn-primary {
  background-color: var(--primary-yellow);
  border: none;
  color: #000;
  font-weight: 600;
}


.btn-primary:hover {
  background-color: #fada2a;
  color: #000;
}


.donate-card {
  background-color: #f1f3f5;
  border-radius: 12px;
  transition: transform 0.3s ease;
}


.donate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}




/*transparenz-page*/
.responsive-sheet {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.responsive-sheet iframe {
  border: none;
  width: 100%;
  height: 500px;
}


@media (max-width: 768px) {
  .responsive-sheet iframe {
    height: 400px;
  }
}


/* Optional: auf sehr kleinen Screens Button etwas kleiner */
@media (max-width: 420px){
  .donate-button1{ padding: 10px 16px; }
  .donate-icon{ height: 32px; }
}


/*Datenschutz page*/
/* Datenschutz page */
/* Datenschutz-Layout */
.privacy-section {
  background-color: var(--bg-light);
}


.privacy-text {
  max-width: 700px;
  margin: 0 auto;
}


.privacy-text p,
.privacy-text li {
  color: var(--text-color);
  font-family: var(--font-family-main);
  font-size: 1.05rem;
  line-height: 1.6;
}


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


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


.privacy-icon {
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
  opacity: 0.85;
}


/*Impressum Page*/
.impressum-section {
  background-color: var(--bg-light);
}


.impressum-text {
  max-width: 700px;
  margin: 0 auto;
}


.impressum-text p,
.impressum-text li {
  color: var(--text-color);
  font-family: var(--font-family-main);
  font-size: 1.05rem;
  line-height: 1.6;
}


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


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


.privacy-icon {
  height: 22px;
  width: auto;
  opacity: 0.7;
}

/* ===========================
   Cookie Banner – Card Style
   =========================== */
.cookie-banner{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(960px, calc(100% - 32px));
  padding: 1rem 1.25rem;
  background: rgba(33,37,41,.92);                /* var(--button-farbe) aber leicht transparent */
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .28s ease, opacity .28s ease;
}
.cookie-banner.hidden{ opacity:0; transform: translateX(-50%) translateY(14px); }

/* Akzent-Kante oben im Vereinsgelb */
.cookie-banner::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:100%;
  border-radius:16px;
  box-shadow: 0 -3px 12px rgba(255,215,0,.55) inset;
  pointer-events:none;
}


/* Inhalt */
.cb-icon img{ height: 28px; width:auto; display:block; opacity:.95; }
.cb-title{
  margin: 0 0 .125rem 0;
  font-family: var(--font-family-main);
  font-weight: 600;
  letter-spacing:.2px;
  color:#fff;
}
.cb-text{
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  opacity:.95;
}

/* Aktionen */
.cb-actions{
  margin-top:.6rem;
  display:flex; gap:.75rem; flex-wrap:wrap;
}
.cb-link{
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(255,215,0,.6);
}
.cb-link:hover{ opacity:.9; }

.cb-btn{
  appearance:none; border:0;
  background: var(--primary-yellow);
  color:#1c1c1c;
  font-weight: 700;
  padding: .45rem .9rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(255,215,0,.25);
  cursor:pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.cb-btn:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,215,0,.35); }
.cb-btn:active{ transform: translateY(0); filter: brightness(.96); }

/* Kollision mit Floating-Button vermeiden */
body.has-cookie-banner .floating-donate{ bottom: 100px; }

/* Mobile stacken */
@media (max-width: 576px){
  .cookie-banner{
    grid-template-columns: 1fr;
    text-align: left;
    gap: .75rem;
    padding: .9rem 1rem;
  }
  .cb-icon img{ height: 24px; }
  .cb-text{ font-size: .98rem; }
  body.has-cookie-banner .floating-donate{ bottom: 110px; }
}




/* ===================== */
/* DESKTOP Timeline Plus */
/* ===================== */
@media (min-width: 992px) {
  /* Mittellinie */
  .timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 6px 1fr;   /* links | Linie | rechts */
    gap: 2.25rem 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
  }
  .timeline::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 50%;
    width: 4px;
    transform: translateX(-50%);
    background: var(--primary-yellow);
    border-radius: 2px;
    z-index: 0;                           /* hinter Cards */
  }

  /* Kartenpositionen links/rechts der Linie */
  .timeline-item { position: relative; }
  .timeline-item.left  { grid-column: 1; }
  .timeline-item.right { grid-column: 3; }

  /* Card über Linie */
  .timeline-content { z-index: 1; }

  /* Gelber Punkt + Datums-Badge an der Linie */
  .milestone {
    position: absolute;
    top: 18px;                            /* Höhe des Punktes relativ zur Card */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
  }
  .milestone .dot {
    width: 14px; height: 14px;
    background: var(--primary-yellow);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
  }
.milestone .date-badge {
  background: #000; 
  border: 2px solid var(--primary-yellow);
  color: var(--primary-yellow);
  font-weight: 600;
  font-size: 1rem;
  padding: .35rem .65rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

  .timeline-item.left  .milestone .date-badge { left: 18px; }   /* rechts vom Punkt */
  .timeline-item.right .milestone .date-badge { right: 18px; }  /* links vom Punkt */

  /* Datum in der Card auf Desktop ausblenden (steht ja am Punkt) */
  .timeline-date { display: none; }
}

/* ===================== */
/* MOBILE: 1 Spalte, kein Mittelstrich/Punkt, Datum in Card */
/* ===================== */
@media (max-width: 991.98px) {
  .timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem 0 2rem;
  }
  .timeline-item.left,
  .timeline-item.right { grid-column: 1; }
  /* keine Mittellinie, keine Milestones nötig */
}


/* Mobile: Karten bekommen links/rechts Luft */
@media (max-width: 768px){
  /* nur der Bereich mit den Karten */
  .section .container--narrow{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .features{ gap: 16px; }           /* optional: etwas engeres Grid */
}


/* Wenn Cookie-Banner versteckt ist, nicht anklickbar machen */
.cookie-banner.hidden{
  opacity: 0;
  transform: translateX(-50%) translateY(14px);
  pointer-events: none; /* <— wichtig */
}


/*mobile Lesbarkeit*/
.timeline-text,
.section-header .lead {
  text-align: justify;
  hyphens: auto;
  overflow-wrap: anywhere;
}

/* Standard-Position */
.floating-donate{
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1000;
}

/* Wenn Footer sichtbar → Button anheben */
.floating-donate.avoid-footer{
  bottom: calc(120px + env(safe-area-inset-bottom)); /* ggf. 140–160px testen */
}

@media (max-width: 420px){
  .floating-donate.avoid-footer{ bottom: calc(140px + env(safe-area-inset-bottom)); }
}
