:root {
    --main-color: #087484;          /*--main-color: #087484;*/
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    scroll-behavior: smooth; /* Smooth scrolling */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 2;
}




/* montserrat-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/montserrat-v29-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-100italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 100;
    src: url('fonts/montserrat-v29-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-200 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/montserrat-v29-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-200italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 200;
    src: url('fonts/montserrat-v29-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-300 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/montserrat-v29-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-300italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/montserrat-v29-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/montserrat-v29-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v29-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    src: url('fonts/montserrat-v29-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/montserrat-v29-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-v29-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/montserrat-v29-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/montserrat-v29-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-800italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 800;
    src: url('fonts/montserrat-v29-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-900 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/montserrat-v29-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-900italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 900;
    src: url('fonts/montserrat-v29-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  



.language-dropdown {
    position: relative; /* Wichtig! Damit das Menü relativ dazu platziert wird */
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    align-items: center;
    justify-content: right;
}
.dropdown-toggle:hover {
    cursor: pointer;
    transform: scale(1.2); 
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Menü erscheint direkt unter dem Button */
    right: 0; /* Menü rechtsbündig unterhalb des Buttons */
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    min-width: 150px;
    z-index: 9999; /* Über andere Elemente legen */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.226);
    font-family: 'Montserrat', sans-serif;
}

.dropdown-menu button {
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.dropdown-menu button:hover {
    background: #eee;
}

/* Navbar */
/* Desktop Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20%;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    padding-top: 4px;
    color: #858585;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: color 0.5s;
}

.nav-links a:hover {
    color: #087484;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links.open {
    width: 180px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 0px;

}



.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #1d1d1d;
    margin: 4px 0;
}

.logo img {
    width: 125px;
    padding: 5%;
}

.backlink img {
    width: 50px;
    padding: 1%;
}

.nav-links a.active {
    color: #151515; /* Schwarzer Text für den aktiven Link */
    font-weight: 500;
}

.image-overlay{
    color: #087484;
}

/* Parallax Section */
.parallax {
    position: relative;
    background-image: url('/assets/images/parallax-mit-news.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}
.parallax-products {
    position: relative;
    background-image: url('/assets/images/display_products.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 30vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}
.parallax-production {
    position: relative;
    background-image: url('/assets/images/parallax-production.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 30vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}
.parallax-news {
    position: relative;
    background-image: url('/assets/images/Messestand.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}


 
.parallax-inner {
  display: flex;
  align-items: stretch;              /* macht beide Kinder gleich hoch (Höhe des höchsten Elements) */
  justify-content: space-between;
  width: 100%;
  column-gap: clamp(16px, 3vw, 32px); /* "Padding" zwischen den Karten */
}

.parallax-content {
  position: relative;
  z-index: 2;
    background: rgba(255, 255, 255, 0.623);
  border: 1px solid rgba(0, 133, 151, 0);
  box-shadow: 0 10px 30px rgba(190, 131, 131, 0.18), inset 0 1px 1px rgba(194, 186, 186, 0.2);
  backdrop-filter: blur(4px) saturate(300%);
  -webkit-backdrop-filter: blur(14px) saturate(100%);
  padding: 3%;
  width: clamp(200px, 30%, 400px);
  margin-left: 20%;                  /* Linke Kante bündig mit Logo (Navbar hat 20% Padding) */
  flex: 0 0 auto;                    /* nicht schrumpfen */
  display: flex;                     /* optional: für konsistentes Innenlayout */
  flex-direction: column;
  
}
.glass-panel {
    display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;

  margin-right: 30%;              /* Rechte Kante bündig mit Sprach/Flaggen-Auswahl (Navbar-Padding) */
  width: clamp(280px, 30%, 520px);   /* symmetrische Breite zur Company Card */
  padding:2%;
  

  /* Glassmorph */
  background: hsla(0, 0%, 41%, 0.288); /* leicht getöntes Glas */
  border: 1px solid rgba(0, 133, 151, 0);
  box-shadow: 0 10px 30px rgba(190, 131, 131, 0.18), inset 0 1px 1px rgba(194, 186, 186, 0.2);
  backdrop-filter: blur(4px) saturate(300%);
  -webkit-backdrop-filter: blur(14px) saturate(100%);

  /* Höhe automatisch an linke Karte angepasst via align-items:stretch am Parent */
  flex: 0 0 auto;
  display: flex;                     /* Innenlayout */
  flex-direction: column;
  justify-content: space-between;    /* Header/Body/Footer sauber verteilen */
}

/* Optionale Typo im Panel */
.glass-panel h3 {
  margin-bottom: 3px;
  font-size: 1.7rem;
  color: #ffffff;   
  font-weight: 400;                    /* besserer Kontrast auf Glas */
}

.glass-panel p {
  font-size: 0.9rem;
  color: #f3f7f9;
  line-height: 1.6;
  margin-bottom: 8px;
    margin: 0;
  line-height: 1.6;
}

.glass-media {
  min-height: 0;                 /* wichtig, damit die 1fr-Zeile schrumpfen darf */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;              /* saubere Ränder */
  
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
  margin-bottom: 8px;
}
.glass-panel-footer {
  display: flex;
  justify-content: flex-start;
}

.glass-panel-footer a {
    background-color: rgba(58, 175, 204, 0);
    border-color: #ffffff;
    color: white;
}

/* Bild bleibt strikt 16:9 und skaliert in Breite/Höhe, je nach verfügbarem Platz */
.glass-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;                   /* 16:9 wird durch das Bild selbst gewahrt */
  height: auto;
  display: block;
  opacity: 0.7;
}

/* Ghost-Button-Variante fürs Glas */
.button-ghost {
  background-color: rgba(255,255,255,0.18);
  color: #000;
  border: 1px solid rgba(0,0,0,0.5);
}

/* Responsives Verhalten: auf Mobil übereinander stapeln */
@media (max-width: 992px) {
  .parallax-inner {
    flex-direction: column;
    row-gap: 16px;
  }
  .parallax-content,
  .glass-panel {
    margin-left: auto;
    margin-right: auto;
    width: min(90%, 720px);
  }
}

/* Extra-Feinschliff: falls sehr kleine Höhen/Bildschirme, nicht zu groß wirken */
@media (max-height: 680px) and (min-width: 993px) {
  .parallax-content,
  .glass-panel {
    padding: 4%;
  }
}
  

.parallax-content.centered {
    margin-left: auto;
    margin-right: auto;
}

.parallax-logo {
    width: 150px;
    margin-bottom: 5%;
}

.parallax-content h1 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 7%;
    color: var(--main-color);
    text-align: left;
    line-height: 1.25;
}

.parallax-content p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 7%;
    text-align: left;
    line-height: 2;
}

.button {
    background-color: #ffffffdc;
    color: rgb(0, 0, 0);
    padding: 12px 7%;
    text-decoration: none;
    font-weight: 500;
    font-size: 70%;
    transition: background-color 0.3s;
    border: 2px solid #000;
}

.button:hover {
    background-color: #e4e4e4;
}

.sponsors {
  --gap: 4rem;
  --speed: 60s;          /* größere Zahl = langsamer */
  overflow: hidden;

}

.sponsors h1 {
    margin-top: 1%;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 400;
    color: rgba(70, 70, 70, 0.678);
}
.sponsors .track {
    margin-top: 2%;
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;
  animation: scroll var(--speed) linear infinite;
}
.sponsors img {
  height: 72px;          /* passe an */
  width: auto;
  opacity: .85;

  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.sponsors img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* der eigentliche Endlos-Scroll */
@keyframes scroll {
  to { transform: translateX(-50%); } /* da wir die Liste dupliziert haben */
}

/* pauses on hover */
.sponsors:hover .track { animation-play-state: paused; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .sponsors .track { animation: none; }
}



/* Hauptinhalt */
main {
    padding: 40px 0;
    text-align: justify;
}



/* Templates */
.template {
    margin: 0 auto;
    padding: 20px 0;
    width: 60%; /* Standardbreite für größere Viewports */
    max-width: 1000px; /* Begrenzung für sehr breite Bildschirme */
    min-width: 200px; /* Mindestbreite für schmale Bildschirme */
    background-color: #ffffff;
}

@media screen and (max-width: 1200px) {
    .template {
        width: 90%; /* Bei kleineren Viewports mehr Platz nutzen */
    }
}

@media screen and (max-width: 768px) {
    .template {
        width: 90%; /* Für Mobilgeräte fast die gesamte Breite verwenden */
    }
}

.banners {
    max-width: 100%;
    display: inline-block; /* Optional, damit der Hover-Bereich genau um das Bild passt */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Für sanfte Animation */
}

.banners:hover {
    transform: scale(1.05); /* Leichte Vergrößerung */
    opacity: 0.9; /* Leichte Transparenz */
}

.banners img {
    min-height: 50px;
    max-width: 150px;
    transition: transform 0.3s ease; /* Für sanfte Animation des Bildes */
}

.banners:hover img {
    transform: scale(1.0001); /* Zusätzliches Wachstum nur beim Bild */
}

/* Allgemeiner Untertitel-Stil für Überschriften */
h6 {
    font-size: 1.2rem;   /* Kleinere Schriftgröße als h1/h2 */
    font-weight: 300;      /* Leichtere Schriftart für den Untertitel */
    color: #087484;        /* Verwendung der Hauptfarbe */
    margin-top: -10px;     /* Optional: Verringerter Abstand zum oberen Element */
    margin-bottom: 1rem;   /* Angemessener Abstand zum folgenden Element */
        /* Kursiv als optisches Merkmal */
    text-align: left; 
    line-height: 110%;     /* Standardausrichtung (kann je nach Template überschrieben werden) */
  }
  
  /* Spezifische Anpassungen in den Überschriften-Templates */
  
  /* Falls der Untertitel in einem zentrierten Template genutzt wird */
  .template.heading-only h6 {
    text-align: center;
  }
  
  /* Bei linksbündigen Überschriften */
  .template.heading-left h6 {
    text-align: left;
  }
  
  /* Bei rechtsbündigen Überschriften */
  .template.heading-right h6 {
    text-align: right;
  }
  

/* Linke Spalte Template */
.template.left-column .container {
    display: flex;
    justify-content: flex-start;
}

.template.left-column .column {
    width: 50%;
}

.template.left-column .column h1 {
    text-align: left;
    color: var(--main-color);
    margin-bottom: 20px;
}

.template.left-column .column p {
    text-align: justify;
}

/* Rechte Spalte Template */
.template.right-column .container {
    display: flex;
    justify-content: flex-end;
}

.template.right-column .column {
    width: 50%;
}

.template.right-column .column h2 {
    text-align: left;
    color: var(--main-color);
    margin-bottom: 20px;
}

.template.right-column .column p {
    text-align: justify;
}

/* Volle Breite Template */
.template.full-width .container {
    width: 100%;
}

.template.full-width .sr-only {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.template.full-width h2,
.template.full-width h1 {
    text-align: left;
    color: var(--main-color);
    margin-bottom: 20px;
    line-height: 110%;
}

.template.full-width p {
    text-align: justify;
}

.template.template.full-width img,
.responsive-img {
  display: block;       /* vermeidet Inline-Gaps */
  max-width: 100%;      /* nie breiter als der Container */
  width: 100%;          /* füllt die verfügbare Breite */
  height: auto;         /* hält Seitenverhältnis */
  object-fit: contain;  /* zeigt alles vom Bild */
}

/* In deinem full-width-Template soll die Textspalte die volle Breite nutzen */
.template.full-width .text-column {
  width: 100%;
}


/* Bild links, Text rechts Template */
.template.image-left-text-right .container {
    display: flex;
    justify-content: space-between;
}

.template.image-left-text-right .image-column {
    width: 48%;
}

.template.image-left-text-right .text-column {
    width: 48%;
}

.template.image-left-text-right img {
    width: 100%;
    height: auto;
}

.template.image-left-text-right h2 {
    text-align: left;
    color: var(--main-color);
    line-height: 110%;
    margin-bottom: 20px;
    font-size: 2rem;
}

.template.image-left-text-right p {
    text-align: justify;
}

/* Bild rechts, Text links Template */
.template.image-right-text-left .container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.template.image-right-text-left .image-column,
.template.image-right-text-left .text-column {
    width: 48%;
}

.template.image-right-text-left img {
    width: 100%;
    height: auto;
}

.template.image-right-text-left h2 {
    text-align: justify;
    color: var(--main-color);
    margin-bottom: 2px;
    font-size: 2rem;
}

.template.image-right-text-left p {
    text-align: justify;
}

/* Nur Überschrift Template */
.template.heading-only {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.template.heading-only h1,
.template.heading-only h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    text-align: center;
}

.template.heading-only p {
    display: none;
}

/* Überschrift links Template */
.template.heading-left {
    width: 100%;
    padding: 20px 0;
    
}

.template.heading-left h1,
.template.heading-left h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    text-align: left;
    margin-left: 0; /* Gleicher Abstand wie die Absätze */
}

.template.heading-left p {
    display: none;
}

/* Überschrift rechts Template */
.template.heading-right {
    width: 100%;
    padding: 20px 0;
}

.template.heading-right h1,
.template.heading-right h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    text-align: right;
    margin-right: 0; /* Gleicher Abstand wie die Absätze */
}

.template.heading-right p {
    display: none;
}

/* Zwei Texte nebeneinander Template */
.template.two-text-blocks .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}

.template.two-text-blocks .text-block {
    width: 48%;
}

.template.two-text-blocks .text-block h2 {
    text-align: justify;
    color: var(--main-color);
}

.template.two-text-blocks .text-block p {
    text-align: justify;
    color: #333;
}

/* Zwei Bilder nebeneinander Template */
.template.two-images .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.template.two-images .image-block {
    width: 48%;
}

.template.two-images .image-block img {
    width: 100%;
    height: auto;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .template.left-column .container,
    .template.right-column .container,
    .template.image-left-text-right .container,
    .template.image-right-text-left .container,
    .template.two-text-blocks .container,
    .template.two-images .container {
        flex-direction: column;
        align-items: center;
    }

    .template.left-column .column,
    .template.right-column .column,
    .template.image-left-text-right .image-column,
    .template.image-left-text-right .text-column,
    .template.image-right-text-left .image-column,
    .template.image-right-text-left .text-column,
    .template.two-text-blocks .text-block,
    .template.two-images .image-block {
        width: 100%;
    }

    /* Reihenfolge für Bild rechts, Text links Template anpassen */
    .template.image-right-text-left .container {
        flex-direction: column;
    }

    .template.image-right-text-left .image-column {
        order: 2;
    }

    .template.image-right-text-left .text-column {
        order: 1;
    }

    /* Überschrift Templates Anpassung */
    .template.heading-left h1,
    .template.heading-left h2,
    .template.heading-right h1,
    .template.heading-right h2 {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .parallax-content {
        margin: 0 auto;
        max-width: 90%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #333;
        padding: 10px;
        border-radius: 8px;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links a {
        color: #fff;
        font-size: 16px;
    }

    .nav-links a:hover {
        color: #ddd;
    }
}

.footer {
    background: linear-gradient(90deg, rgba(16, 129, 146, 0.974), #055e6c);
    color: #ffffff;
    padding: 40px 20%;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer-left {
    width: 40%;
    text-align: left;
}

.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    font-size: 10px;
    width: 200px;
}

.footer-right {
    display: flex;
    justify-content: space-between;
    width: 55%;
    font-size: 10px;
}

.footer-column {
    width: 45%;
}

.footer-column h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column p {
    line-height: 1.8;
    font-weight: 300;
    font-size: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #cce7ff;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-left, .footer-right {
        width: 100%;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Initialer Zustand: Elemente sind unsichtbar und leicht nach unten versetzt */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 1s ease-out;
  }
  
  /* Sobald die Klasse 'appear' hinzugefügt wird, fahren die Werte hoch */
  .appear {
    opacity: 1;
    transform: translateY(0);
  }
  