/* Reset und Basis-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #FFF;
    color: #000;
    font-size: 1em;
    line-height: 1.8;
    margin: 0;
}

/* Header-Stil */
header {
    background-color: #08142C; /* Dunkelblau */
    padding: 10px 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    background-color: #08142C; /* Menü-Hintergrund dunkelblau */
}

header nav ul li {
    display: inline-block;
    margin-right: 20px;
}

header nav ul li a {
    color: #FFF; /* Weißer Text */
    text-decoration: none;
    font-size: 1.125em;
    background-color: #08142C; /* Dunkelblau */
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
	text-transform: uppercase;
}

/* Hover-Effekte */
header nav ul li a:hover {
    background-color: #FFF; /* Weißer Hintergrund im Hover */
    color: #08142C; /* Dunkelblauer Text im Hover */
}

/* Hamburger-Menü-Stile */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1000;
    background-color: #08142C; /* Hauptfarbe des Menüs */
    padding: 10px; /* Abstand für besseren Touchbereich */
    border-radius: 5px; /* Optional: für abgerundete Ecken */
}

.menu-toggle .bar {
    display: block;
    width: 30px; /* Breite der Streifen */
    height: 3px; /* Höhe der Streifen */
    margin: 6px auto; /* Abstand zwischen den Streifen */
    background-color: #FFF; /* Weiße Streifen */
    transition: all 0.3s;
}

.menu-toggle.active .bar {
    background-color: #08142C; /* Wenn das Menü aktiv ist, wird der Streifen dunkelblau */
}

/* Navigation */
.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #08142C; /* Dunkelblau für Navigation */
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #FFF; /* Weißer Text für Links */
    text-decoration: none;
    font-size: 1.125em;
    display: block;
    padding: 15px 20px;
    transition: background-color 0.3s, color 0.3s;
	text-transform: uppercase;
}

.nav-links a:hover {
    background-color: #FFF; /* Weißer Hintergrund im Hover */
    color: #08142C; /* Dunkelblauer Text im Hover */
}

/* Menü aktivieren */
.menu-active {
    display: block;
}

/* Responsivität - auf kleinen Bildschirmen das Hamburger-Menü anzeigen */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #08142C; /* Dunkelblauer Hintergrund für das Menü */
        text-align: center;
        padding: 20px;
        z-index: 999;
        transition: all 0.3s ease-in-out;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .menu-active {
        display: flex;
    }
}

/* Section Styling */
section {
    padding: 60px 20px;
    background-color: #FFF;
    color: #000;
    margin-bottom: 60px;
    text-align: left;
}

section:not(.full-width-section):not(.full-width-intro-cryosauna) {
    max-width: 70ch; 
    margin: 0 auto;
    padding: 40px 5px;
    border: 1px solid #FFF;
}

.full-width-section {
    width: 100%;
    position: relative;
    display: block;
    text-align: center;
    background: #08142C; /* Dunkelblau */
}

.full-width-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.full-width-section .content {
    position: relative;
    color: #FFF;
    padding: 20px 20px;
    text-align: center;
}

.full-width-section .content h1 {
    font-size: 3em;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Full Width Intro Section */
.full-width-intro-cryosauna {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.full-width-intro-cryosauna .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.full-width-intro-cryosauna .content {
    position: relative;
    color: #FFF;
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.full-width-intro-cryosauna .content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.full-width-intro-cryosauna .content p {
    font-size: 1.125em;
    margin-bottom: 20px;
}

/* Anpassungen für kleinere Geräte */
@media (max-width: 768px) {
    .full-width-intro-cryosauna {
        height: 100vh;
        min-height: 100vh;
    }

    .full-width-intro-cryosauna .content h1 {
        font-size: 2.25em;
    }

    .full-width-intro-cryosauna .content p {
        font-size: 1em;
    }
}

/* Überschriften-Stile */
h1, h2, h3, h4 {
    margin: 60px 0;
    text-align: left;
}

h1 {
    font-size: 2.2em;
	text-transform: uppercase;
	margin-top: 40px;
	margin-bottom: 80px;
}

h2 {
    font-size: 1.6em;
	text-transform: uppercase;
	margin-top: 80px;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.2em;
	margin-top: 60px;
    margin-bottom: 20px;
    text-align: left;
}

h4 {
    font-size: 1.125em;
	margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}

/* Zitierte Texte */
blockquote {
    font-size: 1.4em;
    font-style: italic;
    color: #FFF;
    margin: 20px 0;
    padding: 10px;
    border-left: 5px solid #FFF;
    background-color: #08142C; /* Dunkelblau */
    text-align: center;
}

/* Layouts für Spalten */
.two-column, .three-column {
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}

.two-column .column, .three-column .column {
    width: 100%;
    margin-bottom: 20px;
}

/* Bilder */
img.centered {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

video {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto;
}

/* Tabellen */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    background-color: #08142C; /* Dunkelblau */
    color: #fff;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Footer */
footer {
    background-color: #08142C; /* Dunkelblau */
    color: #FFF;
    text-align: center;
    padding: 20px 0;
    font-size: 1em; /* Kleinere Schrift für den Footer */
}

footer a {
    color: #FFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    display: inline-block;
    margin-right: 15px;
}

footer ul li a {
    color: #FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #FFFFFF; 
}

footer p {
    margin-top: 20px;
    font-size: 1em;
}

/* Boxen für mobile Ansicht */
.boxes {
    display: block;
    gap: 20px;
    justify-content: center;
}

.boxes .box {
    background-color: #FFF;
    color: #000;
    padding: 20px;
    border: 1px solid #DDD;
    text-align: center;
    width: 80%;
    margin: 20px auto;
    transition: all 0.3s ease;
}

.boxes .box:hover {
    background-color: #08142C; /* Dunkelblau */
    color: #FFF;
}

/* Spacer */
.spacer, .spacer-xl {
    margin-top: 20px;
    margin-bottom: 20px;
}

.spacer-xl {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Produktbilder */
.column-tankwagen {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.column-tankwagen figure {
    margin: 0;
    width: 48%;
    text-align: center;
}

.column-tankwagen img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Vollbild-Intro-Bereich (Cryosauna) */
.full-width-intro-cryo-sauna {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.full-width-intro-cryo-sauna .content {
    position: relative;
    color: #FFF;
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.full-width-intro-cryo-sauna .content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.full-width-intro-cryo-sauna .content p {
    font-size: 1.125em;
    margin-bottom: 20px;
}

/* Gallery */
.gallery {
	display: block;
	width: 100%;
	margin: 0;
}

.gallery figure {
	position: relative;
	width: 100%;
	margin: 0;
}

.gallery img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.gallery img:hover {
	transform: scale(1.05);
}

.gallery-caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #FFF;
	font-size: 1.5em;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Mobile-Optimierungen für Gallery */
@media (max-width: 768px) {
	.gallery {
		display: block;
	}
}

ul {
  list-style-type: disc; /* Standard Aufzählungszeichen (Punkte) für alle <ul>-Listen */
  padding-left: 20px;    /* Abstand zwischen dem Text und dem linken Rand */
  margin: 0;
}

/* Stil für Listenelemente <li> */
li {
  margin-bottom: 10px;   /* Abstand zwischen den Listenelementen */
}

.firmengeschichte-liste {
  list-style: none;
  padding-left: 0;
  border-left: 3px solid #ccc;
  margin: 2rem 0;
  position: relative;
}

.firmengeschichte-liste li {
  position: relative;
  padding: 1rem 1rem 1rem 2rem;
  margin-bottom: 1rem;
}

.firmengeschichte-liste li::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: -0.6rem;
  width: 1rem;
  height: 1rem;
  background-color: #08142C; /* oder deine Primärfarbe */
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #08142C;
}

.firmengeschichte-liste h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #08142C;
}

.firmengeschichte-liste p {
  margin: 0.3rem 0 0;
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
}

/* Styling für alle Links */
a {
    color: #08142C; 
    text-decoration: underline; 
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Sanfte Übergänge für Hover-Effekte */
}

/* Hover-Effekt: Verändert die Farbe und fügt eine Unterstreichung hinzu */
a:hover {
    color: #000000; /* Dunkleres Blau beim Hover */
    text-decoration: underline; /* Unterstreicht den Link beim Hover */
}

/* Aktiv Zustand (während des Klickens) */
a:active {
    color: #003366; /* Sehr dunkles Blau beim Klicken */
}

/* Fokussierung für Tastaturbenutzer */
a:focus {
    outline: 2px solid #ff9900; /* Füge eine Umrandung für den Fokus hinzu (z.B. für Tastaturnavigation) */
}

/* Grundlegendes Styling für Absätze */
p {
    margin-bottom: 20px;
	line-height: 1.8em;
}

/* Für spezielle Absätze, z. B. in einem bestimmten Abschnitt */
section .special-paragraph {
    margin-top: 50px;
	margin-bottom: 30px;
}

/* Für das figure-Element rund ums Logo */
.logo-figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 100%;
}

/* Für das Logo selbst */
.logo {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* Für barrierefreien figcaption (nur für Screenreader sichtbar) */
section .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-links {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.skip-links a {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  z-index: 9999;
}

.skip-links a:focus {
  position: static;
  top: auto;
  left: auto;
}

a:focus, button:focus, input:focus {
  outline: 3px solid #ffbf47; /* Custom focus outline */
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0); /* Clip the element to make it invisible */
  overflow: hidden;
}
