/* ------------------ SCHRIFTART STIMULATIO (Annahme) ------------------ */
/* ACHTUNG: Die Schriftartendateien (Stimulatio-Regular.woff2/woff) müssen 
            im Ordner /fonts/ auf Ihrem Server liegen. */
@font-face {
    font-family: 'Stimulatio'; 
    src: url('fonts/Stimulatio-Regular.woff2') format('woff2'),
         url('fonts/Stimulatio-Regular.woff') format('woff');
    font-weight: normal; 
    font-style: normal;
    font-display: swap; 
}

/* ------------------ FARBDEFINITIONEN (SCHWARZ/WEISS) ------------------ */
:root {
    --primary-color: #f7f7f7;   /* Sehr helles Grau für den Text (WEISS) */
    --secondary-color: #a0a0a0;  /* Dezente Akzentfarbe */
    --background-dark: #000000; /* Reines Schwarz als Haupt-Hintergrund */
    --background-medium: #1a1a1a; /* Dunkelgrau für abgesetzte Sektionen */
    --spacing-large: 60px;
    --spacing-medium: 20px;
}

/* ------------------ BASIS LAYOUT & TYPOGRAFIE ------------------ */
body {
    font-family: 'Stimulatio', Arial, sans-serif;
    margin: 0;
    padding-top: 130px; /* Platz für den größeren sticky Header */
    background-color: var(--background-dark); 
    color: var(--primary-color); /* Schriftfarbe WEISS */
    line-height: 1.6;
}

h1, h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-large);
    letter-spacing: 0.05em;
    font-weight: normal;
}

.content-center {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-large) var(--spacing-medium);
}

/* ------------------ HEADER/NAVBAR & LOGO (ZENTRIERT) ------------------ */
header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-medium); 
    box-shadow: 0 2px 8px rgba(255,255,255,0.15); 
    z-index: 1000;
    
    /* Zentrierung des gesamten Header-Inhalts */
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.logo-container {
    padding: 15px 0 5px 0; 
    width: 100%;
    text-align: center; 
}

.main-logo {
    /* Logo-Größe: 80px */
    max-height: 150px; 
    width: auto;
    display: block; 
    margin: 0 auto; 
}

nav {
    width: 100%;
    display: flex; 
    justify-content: center; /* Zentriert die Links in der Nav-Leiste */
    padding: 10px 0;
    border-top: 1px solid #333; 
}

.nav-links a {
    color: var(--primary-color); 
    text-decoration: none;
    padding: 5px 15px;
    font-weight: normal;
    transition: color 0.3s;
}

/* ------------------ CTA BUTTON (DEZENT) ------------------ */
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color); /* Helles Grau als Akzent */
    color: var(--background-dark); /* Schwarze Schrift auf Button */
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 3px;
    margin-top: var(--spacing-medium);
    font-weight: normal;
    transition: background-color 0.3s;
}

/* ------------------ SEKTIONEN ------------------ */
.sektion-einfuehrung, .sektion-presse, .sektion-kontakt {
    background-color: var(--background-dark);
}

/* Sektion 2: Presse-Grid */
.presse-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.presse-artikel {
    max-width: 400px;
    text-align: center;
}
.presse-bild {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* Sektion 4: Kontakt */
.kontakt-methoden {
    display: flex;
    justify-content: center;
    gap: 50px;
    text-align: center;
    margin-top: 40px;
}
.kontakt-box h3 {
    margin-bottom: 10px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ------------------ WERBE-BANNER (20 SEKUNDEN) ------------------ */
.ad-container {
    position: relative; 
    justify-content: center;
    width: 100%; 
    height: 400px; /* Höhe des Banners */
    overflow: hidden; 
    margin-bottom: 40px; 
    background-color: #333; /* Dunkler Hintergrund für den Container */
}

.ad-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0; /* Standardmäßig unsichtbar */
    transition: opacity 1s ease-in-out; /* Sanfter Überblendeffekt */
}

.ad-image.active {
    opacity: 1; /* Das aktive Bild ist sichtbar */
    z-index: 2; 
}

/* ------------------ KARUSSELL (GALERIE) ------------------ */
.carousel-container {
    position: relative;
    overflow: hidden; 
    max-width: 300px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out; 
}

.carousel-slide {
    min-width: 100%; 
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    /* ANMERKUNG: Hier würde 50px stehen, wenn die Anforderung exakt umgesetzt würde.
       Stattdessen nutzen wir 100% Breite für eine moderne Ansicht. */
    height: auto;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7); /* Dunkle, semi-transparente Pfeile */
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

/* ------------------ FOOTER/IMPRESSUM ------------------ */
.sektion-impressum {
    background-color: var(--background-medium);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.85em;
    border-top: 1px solid #333;
}
/* Stellt sicher, dass alle Bilder auf der Webseite responsiv sind */
img {
    /* WICHTIG: Begrenzt die Bildbreite auf maximal 100% des Eltern-Containers */
    max-width: 100%; 
    /* Stellt sicher, dass die Höhe automatisch skaliert wird, um die Proportionen zu bewahren */
    height: auto; 
    /* Verbessert die Darstellung, falls Bilder nicht sofort geladen werden */
    display: block; 
}
/* ------------------ SEKTION 4: AUSSTELLUNGEN ------------------ */

.sektion-ausstellungen {
    /* Optional leicht abgesetzt vom reinen Schwarz */
    background-color: var(--background-medium); 
    text-align: center;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

.locations-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.location-card {
    background-color: var(--background-dark); /* Reines Schwarz im Inneren */
    padding: 30px;
    width: 300px;
    text-align: left;
}

.location-card h3 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 10px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.location-card a {
    color: var(--secondary-color); /* Dezente Farbe für Links */
    text-decoration: none;
    display: block;
    margin-top: 15px;
    font-weight: normal;
}

.location-card a:hover {
    color: var(--primary-color);
}

/* WICHTIG: Stellt sicher, dass die eingebettete Karte responsiv ist */
.map-container, .map-embed { 
    width: 100%;
    height: 400px; /* Definierte Höhe für die Karte */
    margin-bottom: 30px;
}
/* ------------------ FOOTER/IMPRESSUM ------------------ */
.sektion-impressum {
    /* Dunkler Hintergrund, leicht abgesetzt vom Haupt-Body */
    background-color: var(--background-medium);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #333; /* Dezente Trennlinie */
}

.sektion-impressum h2 {
    margin-bottom: 30px;
    font-size: 1.8em;
}

.impressum-block {
    margin-bottom: 25px;
    line-height: 1.8;
}

.impressum-block h3 {
    color: var(--secondary-color); /* Hebt die Unterüberschriften dezent hervor */
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 5px;
}

.sektion-impressum a {
    color: var(--primary-color); /* Weiße Links im Footer */
    text-decoration: underline;
    transition: color 0.3s;
}

.sektion-impressum a:hover {
    color: var(--secondary-color);
}

.pflicht-links {
    margin-top: 30px;
    font-weight: bold;
    font-size: 1em;
}

.haftungshinweis {
    max-width: 800px;
    margin: 20px auto 0 auto;
    font-size: 0.8em;
    color: var(--secondary-color);
}
/* Das Modal (standardmäßig versteckt) */
.modal {
  display: none; /* Wichtig: hält das Modal standardmäßig unsichtbar */
  position: fixed; /* Bleibt an der Position, auch beim Scrollen */
  z-index: 100; /* Stellt sicher, dass es über allem anderen liegt */
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto; /* Aktiviert Scrollen, falls der Inhalt zu lang ist */
  background-color: rgba(0,0,0,0.4); /* Schwarze Transparenz für den Hintergrund */
}

/* Der eigentliche Kasten des Impressums */
/* Der eigentliche Kasten des Impressums */
.modal-content {
  background-color: #481c1c; /* Explizit weißer Hintergrund */
  color: #c6baba;             /* Explizit schwarzer Text */
  margin: 10% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 600px;
  border-radius: 8px;
}

/* Der Schließen-Button */
.close-button {
  color: #080707;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Optional: Button-Styling */
#impressum-button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #333;
  color: rgb(15, 12, 12);
  border: none;
  border-radius: 5px;
}