/* Globale Variablen f&uuml;r ein einheitliches Marken-Layout */
:root {
    --primary-gold: #d9a74a;
    --dark-slate: #2c3e50;
    --light-bg: #f8f9fa;
    --text-color: #333;
	--gray:  #979797;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* Header & Hero-Bereich */
header {
    background-color: var(--dark-slate);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: var(--primary-gold);
}

header vs {
    margin: 0;
    font-size: 2.5em;
    color: var(--primary-gold);
}

header p {
    margin: 10px 0 0 0;
    font-size: 1.2em;
    opacity: 0.9;
}

/* Navigations-Bar (Bleibt beim Scrollen am oberen Rand fixiert, falls gew&uuml;nscht) */
nav {
    background: #1a252f;
    padding: 10px;
    text-align: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 0.95em;
}

nav a:hover {
    color: var(--primary-gold);
}

/* Inhalts-Layout */
.wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

h2 {
    color: var(--dark-slate);
    border-left: 4px solid var(--primary-gold);
    padding-left: 17px;
    margin-top: 0;
}

h3 {
    color: var(--dark-slate);
    border-left: 4px solid var(--dark-slate);
    padding-left: 15px;
    margin-top: 0;
}

ul, ol {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Verkaufstaktische Infoboxen (CTA) */
.cta-box {
    background-color: var(--light-bg);
    border-left: 4px solid var(--gray);
    padding: 20px;
    margin-top: 25px;
    border-radius: 0 4px 4px 0;
}

.cta-box a {
    color: var(--dark-slate);
    font-weight: bold;
    text-decoration: underline;
}

.cta-box a:hover {
    color: var(--primary-gold);
}

/* Footer-Design */
footer {
    background-color: var(--dark-slate);
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    font-size: 0.9em;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Optimierung f&uuml;r Smartphones (Responsive Design) */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
   header vs {
        font-size: 2em;
    }	
    nav a {
        display: block;
        margin: 10px 0;
    }
    .wrapper {
        margin: 20px auto;
    }
/* ==========================================================================
   Zusätzliche responsive Optimierung für den Mittelteil (Mobil-Ansicht)
   ========================================================================== */

/* Verhindert, dass Bilder oder eingebettete Medien den Rahmen sprengen */
img, table, div, section {
    max-width: 100%;
    box-sizing: border-box;
}

/* Macht die Tabellen auf dem Smartphone lesbar (bricht Spalten untereinander um) */
@media (max-width: 768px) {
    
    /* Verhindert horizontales Scrollen im Mittelteil */
    .wrapper {
        padding: 0 15px;
        overflow-x: hidden;
    }

    /* Das responsive Tabellen-Wunder (Verwandelt Zeilen in Blöcke) */
    .responsive-table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mw-leather-table, 
    .mw-leather-table thead, 
    .mw-leather-table tbody, 
    .mw-leather-table th, 
    .mw-leather-table td, 
    .mw-leather-table tr { 
        display: block; 
    }
    
    /* Versteckt den Tabellenkopf auf Smartphones, da wir data-label nutzen */
    .mw-leather-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .mw-leather-table tr { 
        border: 1px solid #ccc; 
        margin-bottom: 15px;
        background: #fff;
        border-radius: 4px;
        padding: 5px;
    }
    
    .mw-leather-table td { 
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 45% !important; 
        text-align: left;
        min-height: 28px;
    }
    
    .mw-leather-table td:last-child {
        border-bottom: none;
    }
    
    /* Nutzt das data-label Attribut aus dem HTML, um die Spaltenüberschrift links anzuzeigen */
    .mw-leather-table td:before { 
        position: absolute;
        top: 12px;
        left: 12px;
        width: 40%; 
        padding-right: 10px; 
        white-space: nowrap;
        font-weight: bold;
        color: var(--dark-slate);
        content: attr(data-label);
    }
    
    /* Optimierung für Listen im Mittelteil auf Mobilgeräten */
    ul, ol {
        padding-left: 20px;
    }
    
    /* Verkleinert Überschriften auf kleinen Bildschirmen für bessere Lesbarkeit */
    main h2 {
        font-size: 1.4em;
    }
    main h3 {
        font-size: 1.2em;
    }
}
	
}
/* ==========================================================================
   Full-Width Hero-Banner direkt unter dem Menü
   ========================================================================== */
.hero-banner-container {
    width: 100%;
    max-height: 500px; /* Begrenzt die maximale Höhe auf großen Monitoren */
    overflow: hidden;
    background-color: var(--dark-slate); /* Verhindert ein weißes Aufblitzen beim Laden */
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Schneidet das Bild bei extremen Auflösungen sauber ab, statt es zu quetschen */
    object-position: center; /* Hält den Fokus des Bildes immer in der Mitte */
}

/* Optimierung für Mobilgeräte */
@media (max-width: 768px) {
    .hero-banner-container {
        max-height: 250px; /* Macht das Banner auf dem Smartphone flacher, damit der Text schneller sichtbar ist */
    }
}
