/* ========== Variablen ========== */
:root {
  --background-color: rgba(50, 50, 50, 1);
  --header-color: rgba(50, 50, 50, 0.95);
  --footer-color: rgba(150, 150, 150, 0.95);
  --menu-color: rgba(100, 100, 100, 1);
  --menu-item-color: rgba(127, 127, 127, 1);
  --menu-dropdown: rgba(100, 100, 100, 0.95);
  --font-family-name: "Montserrat";
}

/* ========== Grundlayout ========== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-family-name), 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: var(--background-color);
  color: #fff;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ========== Header ========== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: rgba(50, 50, 50, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  margin-left: 1rem;
  margin-right: 1rem;
}

/* ========== Navigation ========== */
nav {
  position: relative;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 0.5rem 0.5rem;
  transition: background-color 0.3s ease;
}

.nav-list a:hover,
.dropdown-content a:hover {
  background-color: var(--menu-item-color);
  border-radius: 4px;
}

.nav-list a.active {
  background-color: var(--menu-item-color);
  border-radius: 4px;
}

/* ========== Dropdown-Menü ========== */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateX(-20px);
  background-color: rgba(100, 100, 100, 0.9);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 20;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content a {
  color: #fff;
  padding: 0.75rem 1rem;
  display: block;
  text-decoration: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ========== Hero-Bereich ========== */
.hero {
  position: relative;
  margin-top: 110px;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  position: absolute;
  bottom: 30%;
  left: 10%;
  background-color: #ffffff;
  color: rgba(41, 103, 165, 0.95);
  padding: 1rem 2rem;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-startseite {
  height: 100vh;
  background-image: url("../images/startbild.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 110px; /* Abstand für den absolut positionierten Header */
}

/* ========== Hauptbereich ========== */
main {
  flex: 1;
  background-color: #ffffff;
  color: var(--header-color);
  font-size: 16px;
  line-height: 2rem;
}

.content-container {
  padding-left: 15%;
  padding-right: 15%;
}

/* ========== Standard-Hyperlinks außerhalb Navigation & Footer ========== */
main a,
.content-container a {
  color: #009fe3; /* confobis-Blau */
  text-decoration: none;
  transition: color 0.3s ease;
}

main a:hover,
.content-container a:hover {
  color: #00b4d8; /* helleres Blau beim Hover */
  text-decoration: none;
}

/* ========== Überschriften-Stil ========== */
h1, h2, h3 {
  /*font-family: 'Poppins', 'Segoe UI', 'Helvetica Neue', sans-serif;*/
  font-family: var(--font-family-name), 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: rgba(50, 50, 50, 1); 
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  /*border-bottom: 2px solid rgba(50, 50, 50, 1);*/
  padding-bottom: 0.5rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 300;
  padding-bottom: 0.1rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 200;
  padding-bottom: 0.1rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--footer-color);
  margin: 1.0em 0;
}

/* ========== Clean-Table für Sounds ========== */

table.clean {
  width:100%;
  border-collapse: collapse;
  border: none;
}

table.clean img {
  display: block;
}

table.clean td,
table.clean th {
  border: none;
}

table.clean tr.highlight {
  background-color: #f0f0f0;
}

audio {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}

/* ========== GLightbox-Gallery ========== */

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

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

table a.glightbox {
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

/* ========== Footer ========== */
.site-footer {
  background-color: var(--footer-color);
  color: white;
  padding: 2rem 0;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 10%;
  padding-right: 10%;
  gap: 2rem;
}

/* Linker Bereich */
.footer-left {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.footer-left p {
  margin: 0; 
  line-height: 1.5;
}

/* Rechter Bereich */
.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: right;
}

/* Linkliste */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover-Farbe wie .nav-list a.active */
.footer-links a:hover {
  background-color: var(--menu-item-color);
  border-radius: 4px;
}

.footer-center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.insta-icon {
  width: 28px;
  height: 28px;
  
  transition: opacity 0.3s ease;
}

.insta-icon:hover {
  opacity: 0.7;
}

/* Responsive Anpassung */
@media (max-width: 980px) {
  .footer-wrapper {
    flex-direction: column;
    padding-left: 5%;
    padding-right: 5%;
  }

  .footer-right {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ========== contact-block ========== */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  fill: #009fe3; /* confobis-Blau */
  flex-shrink: 0;
}

.contact-item a {
  color: #00b4d8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #00b4d8; /* Hover-Farbe wie .nav-list a.active */
}

/* ========== Responsive Anpassungen ========== */
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--menu-dropdown);
    width: 200px;
    display: none;
    padding: 1rem;
    border-radius: 6px;
  }

  .nav-list.show {
    display: flex;
  }

  .nav-list li {
    margin-bottom: 1rem;
  }

  .dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    backdrop-filter: none;
    background-color: var(--menu-dropdown);
  }

  .hero-text {
    bottom: 10%;
    left: 5%;
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    max-width: 90%;
  }
}


/* CSS: Grundlayout */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.tile {
  display: block;
  color: white; 
  text-decoration: none;
  font-size: 1.4rem;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  background: var(--tile-bg, #1e2a38);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
  border: none;
  outline: none;
}

.tile:link,
.tile:visited,
.tile:hover,
.tile:active,
.tile:focus {
  color: white !important;
  text-decoration: none;
}

.tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* ========== scrollToTop ========== */

#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: rgba(100,100,100,0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

#scrollToTop:hover {
  background-color: rgba(127,127,127,0.95);
  transform: translateY(-4px);
}

/* poppins-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/poppins-v24-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/poppins-v24-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* geist-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/geist-v4-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/geist-v4-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/geist-v4-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/geist-v4-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/geist-v4-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/geist-v4-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/geist-v4-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* special-elite-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/special-elite-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/montserrat-v31-latin-100.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/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/montserrat-v31-latin-200.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/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat-v31-latin-300.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/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-regular.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/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat-v31-latin-500.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/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v31-latin-600.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/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}