:root {
  --color-h1: #ff0000;
  --color-h2: #ff0000;
  --color-h3: #ff0000;

  --bg-color: #00008b;
  --text-main: #ffffff;
  --text-muted: #ffffff;
  --accent-color: #ffffff;
  --border-color: #E6E4DE;
}

/* ID mit # und class mit .punkt */

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Tahoma", "Times New Roman", Times, serif;
  height: 100%;
  margin: 0;
  line-height: 1.5;
  background-color: var(--bg-color);
  color: var(--text-main);
  padding: 0;
}


a:link
  {
  text-decoration: none;
  color: #ffffff;
  font-weight: normal;
  font-size: 1.0rem;
  }

a:visited 
  {
    color: #ffffff;
  }

a:hover 
  {
    color: #ffffff;
  }

a:active 
  {
    color: #ffffff;
  }



a.dslinks {
  color: #00ffff;
  font-weight: normal;
  font-size: 100%;
}



a.dslinks:link, 
a.dslinks:visited {
    color: #00ffff;
}


a.dslinks:hover {
    color: #ff0000;
}



h1 {
  color: var(--color-h1);
  font-size: 2rem;
}

h2 {
  color: var(--color-h2);
  font-size: 1.5rem;
}

h3 {
  color: var(--color-h3);
  font-size: 1.25rem;
}




.tooltip {
  position: relative;
  display: inline-block;
/*  cursor: help; */
color: #98F5FF;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: yellow;
  color: #000000;
  text-align: center;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the element */
  left: 50%;
  margin-left: -10vH;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 20px;
  width: 50vH;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}





.fixiert-oben-links {
  position: fixed; /* Fixiert das Element im Browser-Fenster */
  top: 0;          /* Ganz oben am Bildschirmrand */
  left: 0;         /* Ganz links am Bildschirmrand */
  z-index: 1000;   /* Stellt sicher, dass das Div vor anderen Inhalten liegt */
  padding: 5px 5px 5px 5px;   /* Optional: Etwas Innenabstand für den Text */
  border-radius: 0 13px 13px 0; 
}

/*
.fixiert-oben-links:hover {
  background-color: darkred;
  color: #ffffff;
}

.fixiert-oben-links:active {
  background-color: darkred;
  color: #ffffff;
}

.fixiert-oben-links:visited {
  background-color: darkred;
  color: #ffffff;
}
*/


.fixiert-oben-rechts {
  position: fixed; /* Fixiert das Element im Browser-Fenster */
  top: 0;          /* Ganz oben am Bildschirmrand */
  right: 0;         /* Ganz links am Bildschirmrand */
  z-index: 1000;   /* Stellt sicher, dass das Div vor anderen Inhalten liegt */
  padding: 5px 10px 5px 15px;
  color: #ffffff;
  font-size: 110%;
  cursor: pointer;
  background-color: darkblue; /* Optional: Hintergrundfarbe zur besseren Sichtbarkeit */
  border-radius: 13px 0px 0px 13px; 
}


.fixiert-oben-rechts:hover {
  background-color: darkred;
  color: #ffffff;
}

.fixiert-oben-rechts:active {
  background-color: darkred;
  color: #ffffff;
}

.fixiert-oben-rechts:visited {
  background-color: darkred;
  color: #ffffff;
}




/* Gilt nur für Bildschirme bis 480 Pixel Breite (Smartphones im Hochformat) */
@media screen and (max-width: 480px) {
  .fixiert-oben-rechts {
    font-size: 90%;              /* Verkleinert die Schrift */
    padding: 3px 5px 3px 8px;    /* Verringert den Platzbedarf */
    border-radius: 8px 0px 0px 8px;  /* Passt die Rundung harmonisch an */
  }
}






.button-link {
  display: flex;
  justify-content: center; /* Zentriert horizontal */
  align-items: center; /* Zentriert vertikal */
  background-color: #c0c0c0;
  color: white;
  text-decoration: none; /* Entfernt den Unterstrich */
  border-radius: 5px;
  text-align: center;
  width: 110px;
  height: 35px;
}

.button-link:hover {
  background-color: darkred; /* Dunklerer Ton beim Drü berfahren */
}


.button-link-fotos {
  display: inline-flex; /* Flexbox für Inline-Elemente */
  justify-content: center; /* Zentriert horizontal */
  align-items: center; /* Zentriert vertikal */
  background-color: #4876FF;
  color: #ffffff;
  text-decoration: none; /* Entfernt den Unterstrich */
  border-radius: 5px;
  text-align: center;
  width: 180px;
  height: 50px;
  line-height:1.2;
  padding: 3px;
}

.button-link-fotos:hover {
  background-color: darkred
  
  ; /* Dunklerer Ton beim Drü berfahren */
}


.button-link-fotos:active {
  background-color: darkred
  
  ; /* Dunklerer Ton beim Drü berfahren */
}


/* 1. Der Container steuert die Anordnung nebeneinander */
.videos-container {
  display: flex;          /* Reiht die Elemente nebeneinander auf */
  justify-content: center; /* Zentriert die Button-Gruppe horizontal */
  gap: 10px;              /* Erzeugt einen sauberen Abstand zwischen den Buttons */
  flex-wrap: wrap;     /* Erlaubt automatische Zeilenumbrüche, wenn der Platz fehlt */
}


/* 2. Ihre angepassten Buttons */
.button-link-videos {
  display: inline-flex; /* Flexbox für Inline-Elemente */
  justify-content: center; /* Zentriert Text horizontal */
  align-items: center; /* Zentriert Text vertikal */
  width: 180px;
  height: 50px; /* Definiert die feste Höhe */
  background-color: #63b8ff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
}


.button-link-videos:hover {
  background-color: darkred;
}

.button-link-videos:active {
  background-color: darkred;
}




.scroll-to-top {
  position: fixed;
  bottom: 5px;
  right: 5px;


  padding: 0px;
  text-decoration: none;
  font-family: sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

/* Diese Klasse wird per JavaScript hinzugefügt */
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



p, h1, h2, h3 {
  hyphens: auto;
}

img {
  max-width: 100%;
  height: auto;
}




/* Hauptcontainer für alles */
.container 
{
  display: flex;
  flex-direction: column;
}


/* Oberes div */
.div-oben 
  {
  display: flex;
  background-color: #007bff;
  justify-content: center; /* Zentriert horizontal */
  align-items: center; /* Zentriert vertikal */
  border: 0px solid yellow;
  color: #ffffff;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  font-weight: bold;
  font-size: 30px;
  height: 72px;
  margin: 0px 0px 20px 0px;
  }


/*@media (max-width: 768px) and (orientation: portrait) {*/
@media only screen and (max-width: 932px) {
  .div-oben {
    font-size: 20px; 
    align-items: flex-end; /* Richtet den Inhalt unten aus */
    padding-bottom: 10px;   /* 3px Abstand zum Boden */
    box-sizing: border-box; 
    text-align: center;
  }

  /* Setzt Abstände von enthaltenen Textelementen zurück */
  .div-oben * {
    margin: 0;
    padding: 0;
    line-height: 1; /* Verhindert, dass eine große Zeilenhöhe den Text nach oben drückt */
  }
}



/* Wrapper für die drei Spalten darunter */
.alle-drei-spalten
{
  display: grid;
  grid-template-columns: 14.5% 82.3% 2%;
}



.spalte-links 
{
  border: 0px solid red;
  position: sticky;
  top: 91.4px; /* Abstand zum Banner (60px Höhe + 15px Puffer) */
  align-self: start; /* Verhindert, dass sich die Sidebar über die ganze Höhe dehnt */
  color: #ffffff;
 }


.spalte-mittig 
{
  padding: 20px 0px 20px 0px;
  width: 100%;
  border: 0px solid red;
}


.spalte-rechts 
{
  border: 0px solid red;
}


@media (max-width: 768px) {
  .alle-drei-spalten {
    /* Ändert das Grid auf eine einzige Spalte auf Smartphones */
    grid-template-columns: 100%;
    /* Fügt den gewünschten Abstand von 5px an den Rändern hinzu */
    padding-left: 10px;
    padding-right: 10px;
    /* WICHTIG: Damit sich die Breite nicht durch das Padding erhöht: */
    box-sizing: border-box; 
  }
  
  
  .spalte-links {
    position: static; /* Hebt den Sticky-Effekt auf dem Handy auf */
    margin-bottom: 15px;
  }
  
  .spalte-rechts {
    display: none; /* Blendet die 2%-Spalte auf dem Handy meist aus */
  }
}




.div-unten-container 
{
  display: flex;
  justify-content: center; /* Zentriert horizontal */
  align-items: center; /* Zentriert vertikal */
  width: 100%;
  padding: 40px 0px 20px 0px;
  border: 0px solid red;
}



.wrapper-imp-container {
  display: flex;
  flex-direction: row;
  align-items: center;    /* Zentriert die Container horizontal */
  width: 100%;
}


.imp-container 
{
  display: flex;
  gap: 1px;     /* Abstand zwischen den Spalten */
  border: 0px solid red;
  flex-direction: row;
  flex-wrap: wrap;       /* Erlaubt das automatische Umbrechen auf Smartphones */
  width: 100%;
}



.imp-spalte 
{
/*  justify-content: center; */
/*  align-items: center; */
  text-align: left;
  padding: 8px 0 8px 0;	
  display: flex;
  flex-direction: column;
  border-bottom: 0px solid grey;
  
  flex: 1 1 90%;         /* 4 Spalten auf großen Bildschirmen */
  box-sizing: border-box; /* Verhindert Layout-Fehler durch Padding/Border */
}


@media screen and (min-width: 1024px) {
  .imp-spalte {
    flex: 1 1 48%;       /* 4 Spalten auf dem PC */
  }
}



.imp-spalte-fotos 
{
  justify-content: center;
  align-items: center;
  text-align: left;

  display: flex;
  flex-direction: column;
  text-align: center;
  border-bottom: 0px solid grey;
  
  flex: 1 1 45%;         /* 4 Spalten auf großen Bildschirmen */
  box-sizing: border-box; /* Verhindert Layout-Fehler durch Padding/Border */
}


@media screen and (min-width: 1024px) {
  .imp-spalte-fotos {
    flex: 1 1 24%;       /* 4 Spalten auf dem PC */
  }
}

.imp-breites-div 
{
  border: 0px solid red;
  padding: 8px 0 8px 0;
}



.fancy-div 
{
text-align: center;
border: 0px solid red;
}



/* <<< ------------------ nur Livestreaming ---------------- */

.zentrieren
{
  display: flex;
  justify-content: center; /* Horizontal */
  height: 100%;            /* Beispiel: Volle Bildschirmhö he */
  margin-top:2vH;
}



/* Erzwingt, dass jede Tabellenzeile untereinander steht */
.ip-spalten-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    clear: both; /* Verhindert ungewollte CSS-Überlagerungen */
}

/* Richtet die Zellen korrekt aus */
.ip-spalte {
    display: block;
    flex-shrink: 0; /* Verhindert, dass die fixen Breiten schrumpfen */
    box-sizing: border-box; /* Verhindert Breitenfehler bei Paddings */
}


.vorherh {
	font-size: 130%;
	font-weight: bold;
	color: #00bfff;
	padding: 10px 0 10px 0;
}



a.mapslinks {
  color: #ffff00;
  font-weight: bold;
  font-size: 100%;
}



a.mapslinks:link, 
a.mapslinks:visited {
    color: lawngreen;
}


a.mapslinks:hover {
    color: #ff0000;
}


.mapslinks:hover {
	color: #ff0000;
}

.hyper-link::after {
    content: " \1F517"; /* Hexadezimal-Code mit Backslash */
    font-size: 0.8em;   /* Macht das Symbol minimal kleiner als den Text */
    padding-left: 2px;  /* Erzeugt einen kleinen Abstand zum Text */
}

.unten-links {
  position: fixed;
  bottom: 5px; /* Abstand zum unteren Bildschirmrand */
  left: 10px;  /* Abstand zum linken Bildschirmrand */
  z-index: 9999; /* Stellt sicher, dass es über anderen Elementen liegt */
}


.hyperlinks {
   overflow-wrap: break-word;
   color: #00ff00;
}	


.links-intern {
color: #0000ff;
}


.text-ds-uix {
	font-weight: bold;
	font-size: 120%;
	text-decoration: none;
	color: #0000ff;
}


.text-ds-uix:hover {
  color: #ff0000;
}


.text-ds-uix:active {
  color: #0000ff;
}

