@font-face {
  font-family: Abel; /* set name */
  src: url(../fonts/Abel-Regular.ttf); /* url of the font */
}

body, html {
  font-family: Abel, sans-serif;
  font-size: 24px!important;
}

:root{
  --bg-content: #a36009;
  --bg-footer: #3b4f73;
  --bg-nav-item: #3b4f73;
  --border-color-nav-item: #a36009;
  --main-text-color: #ffffff;
  --nav-link-color: #ffffff;
  --nav-link-hover-color: #a36009;
  --bg-headline-color: #3b4f73;
  --font-scale: 1.5rem; /* Basis für relative Schriftgrößen */
  --bg-base: #a36009;
  --bg-color: #ffffff;
  --text-color: #ffffff;
  --accent-color: #0056b3;
}

.darkmode {
  --bg-content: #000000;
  --bg-footer: #363636;
  --bg-nav-item: #363636;
  --border-color-nav-item: #000000;
  --main-text-color: #ffffff;
  --nav-link-color: #ffffff;
  --nav-link-hover-color: #666666;
  --bg-headline-color: #666666;
  --bg-base: #000000;
  --bg-color: #000000;
}

#theme-switch {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--bg-base);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 20px;
  right: 20px;
}

#theme-switch svg {
  fill: var(--main-text-color);
}

#theme-switch svg:last-child {
  display: none;
}

.darkmode #theme-switch svg:first-child {
  display: none;
}

.darkmode #theme-switch svg:last-child {
  display: block;
}

body {
  font-size: var(--font-scale);
  color: var(--main-text-color);
  font-size: var(--font-scale);
}

.site-header {
  position: relative; /* Mobil scrollt der Header normal mit nach oben */
  padding: 15px 20px;
  box-sizing: border-box;
  z-index: 900;
  /* Leicht transparente Hintergrundfarbe (75% deckend für guten Kontrast) */
  background-color: rgba(59, 79, 115, 0.75); 
  
  /* Der Verschwommenheits-Effekt für den Inhalt dahinter */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Für ältere Safari-Browser */
  
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 20px;

}

/* Diese Klasse schiebt den Header nach oben aus dem sichtbaren Bereich */
.site-header.scroll-down {
  transform: translateY(-100%);
}

/* Wenn reduzierte Animationen aktiv sind, direkt ausblenden ohne Verzögerung */
body.reduced-motion .site-header {
  transition: none;
}

.navbar-brand img {
  max-width:280px;
}

.navbar-toggler {
  border-color: #ffffff!important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(255, 255, 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* DESKTOP-STYLING (Greift erst ab z.B. 768px Bildschirmbreite) */
@media (min-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 900; /* Unter dem A11y-Overlay (1000), aber über dem Inhalt */
    
    /* Leicht transparente Hintergrundfarbe (75% deckend für guten Kontrast) */
    background-color: rgba(59, 79, 115, 0.75); 
    
    /* Der Verschwommenheits-Effekt für den Inhalt dahinter */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Für ältere Safari-Browser */
    
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    box-sizing: border-box;
  }
  #content {
    margin-top: 200px;
  }

  .navbar-brand img {
    max-width:400px;
}
}
.bg-index {
    background-image: url('../images/backgrounds/index/BB-Movietrip-20171-1024x683.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: none;
}


#content {
    background-color: var(--bg-content);
    color: var(--main-text-color);
    padding: 1rem;
}

/* AUTOMATISCHE ANPASSUNG AN DEN HOCHKONTRAST-MODUS */
#content.contrast-high {
  background-color: #000000; /* Kein Transparenz-Effekt im Hochkontrast */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 2px solid #ffff00;
}

footer {
    background-color: var(--bg-footer)!important;
    color: var(--main-text-color);
    padding: 10px;
    margin-top: 25px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Abel, sans-serif;
}

.h1-bg {
    font-size: clamp(1.5rem, 5vw, 2.23rem);
    padding: .5rem;
    color: var(--main-text-color);
    background-color: var(--bg-headline-color);
}

p {
  font-size: var(--font-scale)!important;
}

.partner-footer {
   height: 100px;
   width: 180px;
}

/*--------------------------------------------------------------
## Header Menu
--------------------------------------------------------------*/

a.nav-link {
  color: var(--nav-link-color)!important;
}

a.nav-link:hover {
  color: var(--nav-link-hover-color)!important;
}

a.text-link {
  font-size: 1.31rem;
  font-weight: bold;
  color: var(--main-text-color);
  letter-spacing: .1rem;
  text-decoration: underline;
}

a.text-link:hover {
  font-size: 1.31rem;
  font-weight: bold;
  color: var(--main-text-color);
  letter-spacing: .1rem;
  text-decoration: none;
}

a.text-link-title {
  font-size: 1rem;
  color: var(--main-text-color);
  letter-spacing: .12rem;
  text-decoration: underline;
}

a.text-link-title:hover {
  font-size: 1rem;
  color: var(--main-text-color);
  letter-spacing: .12rem;
  text-decoration: none;
}

img.aside-text {
  height: 250px;
  width:auto;
}

img.aside-text-quer {
  height: 180px;
  width:300;
}

img.media-gallery {
  width: 300px;
  height: 200px;
   width: 100%;
  height: 100%;
  object-fit: cover; /* Schneidet das Bild passend zu */
  object-position: center; /* Zentriert den sichtbaren Ausschnitt */
}

figure {
  display: inline-block;
}

figcaption {
  font-size: 0.75rem;
}

figure.figure-presse {
  display: inline-block;
  width: 300px;
  height: 200px;
  margin-bottom: 80px;
}
figure.figure-presse img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Schneidet das Bild passend zu */
  object-position: 0% 0%; /* Zentriert den sichtbaren Ausschnitt */
}

figure.figure-presse figcaption {
  font-size: 0.75rem;
  Padding-bottom: 20px;
}

@media (min-width: 992px) {
  .header-navigation {
    height: auto;
    width: 100%;
    /* display: inline-block;*/
    font-size: 0.8em;
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px; 
    font-weight: bold;
    z-index: 2;
    /* float: right; */
    margin: 0px 5% 0 0;
  }

  .has-header-media .header-navigation {
    position: absolute;
    top: 4em;
    right: 5%;
    margin: 0;
  }

  .header-navigation ul {	
    list-style: none;
    margin: auto;
    padding: 0;
    padding-right: 26px;
    float: right;
  }

  .header-navigation li {
    float: left;
    position: relative;
    margin: 0 -20px 0 0;
    text-align: left;
    padding: 0 14px 14px 14px;
  }

  .header-navigation a:not(.navbar-brand) {
    text-decoration: none;
    transition: all 1.1s ease;
      display: inline-block;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 2px transparent;
    position: relative;
    z-index: 1;
    -webkit-transition: color 0.70s;
    transition: color 0.70s;
    border: 1px solid transparent;
    transition: all 1.1s ease;
    background: var(--bg-nav-item);
  }

  .header-navigation a::before, 
  .header-navigation a::after {
    box-sizing: border-box;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .header-navigation a::before, 
  .header-navigation a::after {
    border: 2px solid transparent;
    width: 0;
    height: 0;
  }

  .header-navigation a::before {
    top: 0;
    left: 0;
  }

  .header-navigation a::after {
    bottom: 0;
    right: 0;
  }

  .header-navigation a:hover {
    color: var(--nav-link-hover-color);
  }

  .header-navigation a:focus {
    border: 2px solid var(--nav-link-hover-color);
    outline-offset: 6px;
  }

  .header-navigation a:hover::before, 
  .header-navigation a:hover::after {
    width: 100%;
    height: 100%;
  }

  .header-navigation a:hover::before {
    border-top-color: var(--border-color-nav-item);
    border-right-color: var(--border-color-nav-item);
    -webkit-transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
    transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
  }

  .header-navigation a:hover::after {
    border-bottom-color: var(--border-color-nav-item);
    border-left-color: var(--border-color-nav-item);
    -webkit-transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
    transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
  }

  .header-navigation a.navbar-brand:hover::before, .header-navigation a.navbar-brand:hover::after {
    border: none!important;
  }

  .header-navigation .menu-item-description {
    font-size: 0.7em;
  }
}

/*--------------------------------------------------------------
## Barrierefreiheit Formate
--------------------------------------------------------------*/
  *:focus-visible {
      outline: 4px solid #ffcc00 !important;
      outline-offset: 2px;
    }

    /* Skip-Link */
    .skip-link {
      position: absolute;
      top: -100px;
      left: 10px;
      background: #ffcc00;
      color: #000;
      padding: 10px;
      z-index: 1000;
    }
    .skip-link:focus { top: 10px; }

    /* 2. SCHWEBENDER TRIGGER-BUTTON (ZUGÄNGLICH) */
    .a11y-trigger {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: var(--accent-color);
      color: white;
      border: none;
      padding: 12px 18px;
      border-radius: 50px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      z-index: 999;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* 3. OVERLAY (MODAL) STYLING */
    .a11y-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: flex-end; /* Öffnet sich als seitliches Panel */
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    /* Wenn das Overlay aktiv ist */
    .a11y-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .a11y-modal {
      background: #f9f9f9;
      color: #222;
      width: 100%;
      max-width: 400px;
      height: 100%;
      padding: 30px;
      box-box-sizing: border-box;
      box-shadow: -5px 0 15px rgba(0,0,0,0.3);
      transform: translateX(100%);
      transition: transform 0.3s ease;
      overflow-y: auto;
    }

    .a11y-overlay.open .a11y-modal {
      transform: translateX(0);
    }

    /* Modal-Header */
    .a11y-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 2px solid #ccc;
      padding-bottom: 15px;
      margin-bottom: 20px;
    }
    .a11y-header h2 { margin: 0; font-size: 1.4rem; }

    .close-btn {
      background: #cc0000;
      color: white;
      border: none;
      padding: 8px 12px;
      cursor: pointer;
      font-weight: bold;
    }

    /* Einstellungs-Optionen */
    .a11y-group { margin-bottom: 20px; }
    .a11y-group label { display: block; font-weight: bold; margin-bottom: 8px; }
    
    .a11y-modal button.opt-btn {
      padding: 10px 14px;
      margin: 0 5px 5px 0;
      border: 1px solid #555;
      background: #fff;
      color: #222;
      cursor: pointer;
    }
    .a11y-modal button.opt-btn.active {
      background: #222;
      color: #fff;
    }

    /* 4. DESIGN-ANPASSUNGEN FÜR HOCHKONTRAST */
    body.contrast-high {
      --bg-color: #000000;
      --text-color: #ffff00;
      --accent-color: #00ffff;
    }
    body.contrast-high .a11y-modal {
      background: #000;
      color: #ffff00;
      border-left: 2px solid #ffff00;
    }
    body.contrast-high button.opt-btn {
      background: #000;
      color: #ffff00;
      border-color: #ffff00;
    }
    body.contrast-high button.opt-btn.active {
      background: #ffff00;
      color: #000;
    }
    body.contrast-high .close-btn {
      background: #ffff00;
      color: #000;
      border: 2px solid #ffff00;
    }

    /* Reduzierte Animationen */
    body.reduced-motion *,
    body.reduced-motion *::before,
    body.reduced-motion *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0s !important;
      scroll-behavior: auto !important;
    }


/*--------------------------------------------------------------
## COOKIE BANNER STYLING
--------------------------------------------------------------*/

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 15px 20px;
  box-sizing: border-box;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}

/* Sichtbarer Zustand */
.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
  min-width: 280px;
}

.cookie-btn {
  background: var(--accent-color, #0056b3);
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}

/* Automatische Anpassung an den Hochkontrast-Modus */
body.contrast-high #cookie-notice {
  background: #000;
  color: #ffff00;
  border-top: 3px solid #ffff00;
}
body.contrast-high .cookie-btn {
  background: #000;
  color: #ffff00;
  border: 2px solid #ffff00;
}
body.contrast-high .cookie-btn:focus-visible {
  outline: 4px solid #00ffff !important;
}