/* Google Fonts */
@font-face {
   font-family:'Open Sans';
   font-style: normal;
   font-weight: 400;
   src: local('Open_Sans'),
   url(/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf) format('ttf'),
   url(/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf) format('ttf');
}
body {
  font-family: 'Open Sans', sans-serif;
}

/* Material Icons (Google) */

/* MATERIAL SYMBOLS - OUTLINED */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url('/fonts/Material_Symbols/Material_Symbols_Outlined/MaterialSymbolsOutlined-VariableFont_FILL,GRAD,opsz,wght.ttf') format('truetype');
}
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
}


/* MATERIAL SYMBOLS - ROUNDED */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 100 700;
  src: url('/fonts/Material_Symbols/Material_Symbols_Rounded/MaterialSymbolsRounded-VariableFont_FILL,GRAD,opsz,wght.ttf') format('truetype');
}
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
}


/* MATERIAL SYMBOLS - SHARP */
@font-face {
  font-family: 'Material Symbols Sharp';
  font-style: normal;
  font-weight: 100 700;
  src: url('/fonts/Material_Symbols/Material_Symbols_Sharp/MaterialSymbolsSharp-VariableFont_FILL,GRAD,opsz,wght.ttf') format('truetype');
}
.material-symbols-sharp {
  font-family: 'Material Symbols Sharp';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
}




/* Global Styles */
a {
  color: #31487A;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  color: #22335a;
}
a:visited {
  color: #31487A; /* Use the same color for visited links */
}
html {
  scroll-behavior: smooth;
}
table {
  width: 100%;
  text-align: left;
}
td, th {
  padding: 0.75rem;
  background-color: #f0f0f0;
}
.text-font-size {
  font-size: 32px;
}



/* Header Grid */
.header-container {
  position: relative;
  background-image: url("images/bg3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  padding: 2rem;
  color: #000;
}

/* Grid-Layout */
.inner-header-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: space-between;
}

/* Linke Spalte mit Logo und Name */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

/* Elementbereiche */
.header-logo {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 20px;
  /*width: fit-content;*/
  max-width: 100%;
}
.header-logo img {
  width: 150%;
  max-width: 100%;
  height: auto;
}

.header-logo-datenschutz-impressum {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 20px;
  /*width: fit-content;*/
  max-width: 30rem; /* Wichtig im vergleich zum Logo iauf index.html - sonst zu breit */
}
.header-logo-datenschutz-impressum img {
  width: 150%;
  max-width: 100%;
  height: auto;
}

.header-name {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1rem 2rem;
  border-radius: 20px;
  text-align: left;
}

.header-name h1 {
  margin: 0;
  font-size: 2rem;
}
.header-name h2 {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
}

/* Rechter Textbereich */
.header-txt {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1rem 2rem;
  border-radius: 20px;
  text-align: left;
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.header-txt h3 {
  text-align: center;
  font-size: 1.35rem;
}

/* Padding nicht zur Breite hinzufügen */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Responsive Layout für kleine Bildschirme */
@media (max-width: 768px) {
  .inner-header-container {
    flex-direction: column;
    padding: 0 1rem; /* Einheitlicher Seitenabstand */
  }

  .left-column {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .header-logo,
  .header-name,
  .header-txt {
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
    background-clip: padding-box; /* verhindert visuelles Überlaufen bei rgba */
  }

  .header-txt {
    margin-bottom: 0;
  }
}



/*Header Design*/
.scroll-buttons {
  display: flex;
  flex-wrap: wrap; /* ← wichtig */
  gap: 10px;        /* Abstand zwischen Buttons */
  justify-content: center; /* Optional: zentriert */
  margin-top: 1rem;
}

.scroll-button {
  padding: 10px 15px;
  background-color: #31487A;
  color: white;
  border-radius: 10px;
  font-weight: normal;
  white-space: nowrap; /* Verhindert Zeilenumbruch im Text */
  text-align: center;
}
.scroll-button:hover {
  background-color: #22335a;
  color: white;
}
.scroll-button:visited {
  color: white;
}

/*Aktuelles*/
.aktuelles-box {
  background-color: #DEE2E6;
  padding: 20px;
  border-radius: 20px;
  position: relative;
}
.aktuelles-box .info-warning{
  background-color: #f1cece !important;
}

.aktuelles-label {
  position: absolute;
  top: 0;                /* Obere Kante der Box */
  left: 1.5rem;          /* Abstand vom linken Rand */
  transform: translateY(-50%); /* Label halb über den oberen Rand heben */
  background-color: #31487A;  /* Beispiel Farbe */
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  user-select: none;
  pointer-events: none; /* verhindert Interaktion */
}

.info-box {
  display: inline-flex;
  align-items: center; /* oder center für zentriert */
  gap: 0.5rem;
  background-color: #f0f0f0;
  padding: 0.75rem;
  border-radius: 10px;
  width: 100%;                 /* ← volle Breite */
  box-sizing: border-box;      /* ← verhindert Überlauf durch Padding */
}
.info-box .material-symbols-outlined {
  font-size: 28px;
  color: #31487A; /* z. B. dein Farbton */
}
.info-warning .material-symbols-outlined {
  color: #a8202c !important; /* Rotes Warnsymbol */
}
.info-box p, td, th {
  margin: 0;
  font-size: 1.2rem;
}
.info-box-symbol {
  padding: 10px;
}


/* Öffnungszeiten */
.table-wrapper {
  overflow-x: auto;
  width: 100%;
  padding: 1rem;
  box-sizing:border-box;
}

/* Adresse */
.gmaps-consent-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  width: 100%;
}
#unsichtbar-element {
  display: none;
}
.gmaps-button {
  all: unset; /* Setzt ALLE Browser-Defaults zurück */
  display: inline-block;
  padding: 10px 10px;
  background-color: #31487A;
  color: white;
  border-radius: 10px;
  font-weight: normal;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
}


/* Über uns */
.leistungen-box-symbol{
  padding-right: 5px;
}


/* Bottom / Copyright */
.copyright-div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-button {
  display: inline-block;
  padding: 0 0.75rem 0.5rem 0.75rem; 
  margin: 0 0.5rem; 
  text-decoration: none;
}

