/* ==========================================================================
   1. FARBEN & VARIABLEN (Das Wech24 Branding)
   ========================================================================== */
:root {
    /* Action-Farbe für Buttons und Links (z.B. ein aggressives Orange für Klicks) */
    --action-color: #ff6b00; 
    
    /* Hintergrundfarbe für den Header (z.B. ein tiefes, seriöses Dunkelblau) */
    --header-bg: #1a1a2e;    
    
    /* Hintergrund der Webseite (leichtes Grau, damit weiße Tabellen hervorstechen) */
    --site-bg: #f4f5f7;      
    
    /* Textfarben */
    --text-main: #333333;
    --text-light: #ffffff;
}

/* ==========================================================================
   2. GRUND-RESET (Bloat entfernen)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--site-bg);
    color: var(--text-main);
    line-height: 1.6;
    /* Ein eleganter, dreifacher Verlauf für maximale Tiefe ohne Muster */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    
    background-attachment: fixed; /* Der Hintergrund bleibt beim Scrollen stehen */
    background-size: cover;
    
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}



/* ==========================================================================
   ALLGEMEINE EINSTELLUNGEN (Ergänzung)
   ========================================================================== */
/* 1. Aktiviert das geschmeidige, weiche Scrollen für alle Anker-Links */
html {
    scroll-behavior: smooth;
}

/* 2. Sagt dem Browser, wie viel Abstand er oben lassen soll, wenn er zu #angebote springt */
#angebote {
    scroll-margin-top: 110px; /* Dieser Wert entspricht in etwa der Höhe deines fixierten Headers */
}

/* ==========================================================================
   3. LAYOUT (Kopfbereich & Inhalt)
   ========================================================================== */
/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
/* ==========================================================================
   2. HEADER & NAVIGATION (Hamburger auf allen Geräten)
   ========================================================================== */
.site-header {
    background-color: var(--header-bg);
    border-bottom: 5px solid var(--action-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Zwingend nötig, damit das Dropdown-Menü weiß, wo es andocken muss */
}

/* Das Text-Logo */
.logo-text {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: #aaaaaa;
}

/* Das Bild-Logo (von WordPress als .custom-logo eingebunden) */
.site-branding .custom-logo {
    max-height: 60px; /* Passt perfekt in unseren dunklen Header */
    width: auto;      /* Behält die originalen Proportionen bei */
    display: block;
    transition: transform 0.3s ease;
}

.site-branding .custom-logo:hover {
    transform: scale(1.05); /* Kleiner, schicker Zoom-Effekt beim Drüberfahren */
}

/* ==========================================================================
   HEADER TOOLS (Rechte Seite: Buttons & Menü)
   ========================================================================== */
.header-tools {
    display: flex;
    align-items: center;
    gap: 25px; /* Perfekter Abstand zwischen Anmelden-Button und Strichen */
}

/* Der neue Anmelden / Newsletter Button */
.btn-login {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--action-color); /* Zarter Rahmen in Wech24-Orange */
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--action-color); /* Füllt sich beim Drüberfahren aus */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 136, 0, 0.3);
}

/* ==========================================================================
   HAMBURGER BUTTON (Immer sichtbar)
   ========================================================================== */
.menu-toggle {
    display: flex; /* Jetzt auf allen Geräten sichtbar! */
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
}

.menu-toggle .strich {
    width: 35px;
    height: 4px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hover-Effekt für den Button auf dem PC */
.menu-toggle:hover .strich {
    background-color: var(--action-color);
}

/* ==========================================================================
   DAS AUFKLAPP-MENÜ (Als Dropdown-Panel)
   ========================================================================== */
.hauptnavigation {
    display: none; /* Standardmäßig zu */
    position: absolute;
    top: 100%; /* Setzt das Menü exakt an die Unterkante des Headers */
    right: 20px; /* Rechtsbündig unter den Button */
    background-color: var(--header-bg);
    border: 2px solid var(--action-color);
    border-top: none;
    border-radius: 0 0 8px 8px; /* Unten abgerundet */
    min-width: 250px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    margin-top: 5px; /* Minimaler Abstand zur orangenen Linie */
}

/* Wird durch Klick aktiviert */
.hauptnavigation.ist-offen {
    display: block;
    animation: einblenden 0.3s ease;
}

.hauptnavigation .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.hauptnavigation .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hauptnavigation .nav-list li:last-child {
    border-bottom: none;
}

.hauptnavigation a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 15px 25px;
    transition: all 0.3s ease;
}

/* Cooler Einrück-Effekt beim Drüberfahren (PC) */
.hauptnavigation a:hover {
    color: var(--action-color);
    background-color: rgba(255,255,255,0.02);
    padding-left: 35px; 
}

@keyframes einblenden {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Anpassung: Auf dem Handy geht das Menü über die volle Breite */
@media (max-width: 768px) {
    .hauptnavigation {
        right: 0;
        left: 0;
        width: 100%;
        border-left: none;
        border-right: none;
        border-radius: 0;
        margin-top: 5px;
    }
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

main {
    max-width: 1200px; /* Die maximale Breite deines Portals */
    margin: 40px auto; /* Zentriert die Seite auf großen Bildschirmen */
    padding: 0 20px;
}

h2 {
    color: var(--header-bg);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--action-color);
    padding-left: 10px;
}

/* ==========================================================================
   3. HERO BEREICH (Startseite - MIT NOCH MEHR PEP!)
   ========================================================================= */
.hero-bereich {
    /* Der Pfad zeigt nun auf deine lokale Datei im images-Ordner */
    /* Wir behalten das dunkle Overlay (rgba) bei, damit der Text lesbar bleibt */
    background: linear-gradient(rgba(18, 25, 43, 0.85), rgba(18, 25, 43, 0.85)), 
                url('images/hero-backgroundv1.jpg') no-repeat;
    
    /* POSITIONIERUNG DER FIGUR: */
    /* Falls deine Figur LINKS im Bild ist: Nutze 'left center' */
    /* Falls deine Figur RECHTS im Bild ist: Nutze 'right center' */
    background-position: left top; 
    
    background-size: cover; /* Das Bild füllt immer den ganzen Bereich aus */
    color: #ffffff;
    text-align: center;
    padding: 70px 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 12px; 
    overflow: hidden; 
}

.hero-inhalt {
    max-width: 950px;
    margin: 0 auto;
}

.hero-inhalt h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Der generelle text-shadow wurde hier entfernt, damit er nicht durch den Text scheint */
}

/* --- ALLGEMEINER VERLAUF-STYLE FÜR DIE VERLÄUFE --- */
.wech, 
.zweiundzwanzig, 
.hero-inhalt h1 > span:last-child {
    -webkit-background-clip: text;
    background-clip: text; /* Standard-Befehl zur Sicherheit hinzugefügt */
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Der filter: drop-shadow wurde hier entfernt, damit es gestochen scharf bleibt */
}

/* --- 1. WECH (Silber) --- */
.wech {
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 40%, #c0c0c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- 2. 24 (Gold/Orange) --- */
.zweiundzwanzig {
    background: linear-gradient(180deg, #ffd700 0%, var(--action-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- 3. DER SLOGAN-SPAN (Gold-Verlauf) --- */
.hero-inhalt h1 > span:last-child {
    background: linear-gradient(90deg, #ffd700, var(--action-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-inhalt p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn-hero {
    display: inline-block;
    background-color: var(--action-color);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3);
}

.btn-hero:hover {
    background-color: #e67a00;
    transform: translateY(-2px); /* Hebt den Button beim Drüberfahren leicht an */
    box-shadow: 0 6px 20px rgba(255, 136, 0, 0.5);
}

/* ==========================================================================
   HERO BEREICH MOBILE ANPASSUNG
   ========================================================================== */
@media (max-width: 768px) {
    .hero-bereich {
        padding: 50px 15px; /* Etwas weniger Platzverbrauch auf dem Handy */
        margin-bottom: 30px;
        /* Hier kannst du den Fokus auf dem Handy fixieren, z.B. auf die Figur links */
        background-position: center top;
    }

    .hero-inhalt h1 {
        font-size: 1.8rem;
    }

    .hero-inhalt p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   FOOTER BEREICH (Premium Redesign)
   ========================================================================== */
.site-footer {
    background-color: var(--header-bg); /* Das tiefe Dunkelblau */
    color: #ffffff;
    padding: 60px 20px 20px;
    text-align: center;
    border-top: 4px solid var(--action-color); /* Ein scharfer orangener Abschluss nach oben */
    margin-top: 60px;
}

/* Die Warnhinweis-Box im edlen Look */
.footer-warning {
    background: rgba(255, 255, 255, 0.03); /* Ganz leichte Aufhellung */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Zarter Rand */
    border-radius: 12px;
    padding: 35px 20px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* Das 18+ Icon (bleibt als starker Warnhinweis rot) */
.age-limit {
    background: #e74c3c;
    color: #fff;
    font-weight: bold;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

/* Die Behörden-Links als edle Umrandungen */
.trust-badge {
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    border-color: var(--action-color);
    color: var(--action-color);
    background: rgba(230, 96, 0, 0.05); /* Zarter orangener Hintergrund beim Drüberfahren */
}

.footer-warning p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.help-link {
    color: var(--action-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.help-link:hover {
    color: #fff;
}

/* Die Impressum / Datenschutz Links clean und modern */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.footer-copyright p {
    color: #444; /* Etwas dunkler, da es nicht im Fokus stehen muss */
    font-size: 0.85rem;
    margin: 0;
}

/* ==========================================================================
   5. CASINO TABELLE (Desktop)
   ========================================================================== */
.casino-tabelle {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    margin-top: 30px;
}

.casino-zeile {
    position: relative; /* Zwingend notwendig für das Platz 1 Badge */
    display: grid;
    /* Das 5-Spalten-Raster für den PC */
    grid-template-columns: 1.5fr 2fr 1.5fr 1fr 1.5fr; 
    align-items: center;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 5px solid var(--action-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 20px;
    margin-bottom: 0 !important; /* Entfernt die Lücke ZWISCHEN Reihe und Aufklapp-Menü */
}

.casino-zeile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.casino-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.casino-logo img {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    display: block;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
}

.casino-info h3 {
    margin: 0;
    color: #777;
    font-size: 1rem;
    text-align: center;
}

.casino-bonus, .casino-bewertung {
    text-align: center;
    padding: 0 15px;
}

.bonus-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.casino-bonus strong {
    font-size: 1.4rem;
    color: var(--action-color);
}

.casino-bewertung .rating-zahl {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--header-bg);
}

/* ==========================================================================
   FEATURES (Bulletpoints)
   ========================================================================== */
.casino-features {
    padding: 0 15px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.casino-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.casino-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.3;
}

.casino-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn-action {
    display: inline-block;
    background-color: var(--action-color);
    color: var(--text-light);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-action:hover {
    background-color: #e65c00;
    color: #ffffff;
}

/* ==========================================================================
   8. TOP BADGE (Platz 1)
   ========================================================================== */
.top-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #ffd700;
    color: #333;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    z-index: 10;
}

/* ==========================================================================
   CASINO DETAILS (ACCORDION)
   ========================================================================== */
.casino-wrapper {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.casino-details {
    border-top: 1px solid #f0f0f0;
}

.casino-details summary {
    padding: 15px 25px;
    list-style: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.casino-details summary:hover {
    background: #fafafa;
    color: var(--action-color);
}

/* Der kleine Pfeil am Ende */
.casino-details summary span::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 10px;
}

.casino-details[open] summary span::after {
    content: ' ▲';
}

.details-content {
    padding: 25px;
    background: #fdfdfd;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei Spalten: Links Zahlungen, rechts Text */
    gap: 30px;
    /* NEU: Damit es unten nicht eckig übersteht */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* Minimal weniger Abstand, da die Logos jetzt kleiner sind */
    align-items: center; 
    margin-top: 10px;
}

.payment-icons img {
    height: 20px; /* Deutlich kleiner und eleganter (vorher 28px) */
    max-width: 65px; /* Verhindert, dass sehr breite Logos wie Paysafecard zu dominant werden */
    object-fit: contain; 
    transition: transform 0.3s ease; 
}

.payment-icons img:hover {
    transform: scale(1.1); /* Zoomt beim Drüberfahren minimal heran (10% größer) */
}

@media (max-width: 768px) {
    .details-content {
        grid-template-columns: 1fr; /* Auf dem Handy untereinander */
    }
}

/* Bonus Specs Liste */
.bonus-specs {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.bonus-specs li {
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
}

/* Pro & Contra Container */
.pro-con-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pro-con-container h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #888;
}

.pro-list ul, .con-list ul {
    list-style: none;
    padding: 0;
}

.pro-list li, .con-list li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

/* Icons für Vorteile (Grüner Haken) */
.pro-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Icons für Nachteile (Rotes X) */
.con-list li::before {
    content: '✖';
    position: absolute;
    left: 0;
    color: #e74c3c;
}

@media (max-width: 480px) {
    .pro-con-container {
        grid-template-columns: 1fr; /* Auf ganz kleinen Handys untereinander */
    }
}

/* ==========================================================================
   KATEGORIE-TITEL & BUTTONS (Startseite)
   ========================================================================== */
.kategorie-titel {
    text-align: center;
    margin: 60px 0 30px;
    font-size: 2rem;
    color: var(--header-bg);
}

.alle-ansehen-wrapper {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 80px; /* Macht eine schöne große Lücke zum nächsten Block */
}

.btn-alle {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--header-bg); /* Dunkelblau wie dein Header */
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-alle:hover {
    background-color: var(--action-color); /* Wird beim Drüberfahren Orange */
    transform: translateY(-2px);
}

/* ==========================================================================
   STERNE BEWERTUNG (Star Rating 1-5)
   ========================================================================== */
.star-rating {
    /* Berechnet automatisch, wie viel Prozent der Sterne gold sein sollen */
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 1.8rem; /* Größe der Sterne */
    font-family: Arial, sans-serif;
    line-height: 1;
    margin-bottom: 5px;
}

.star-rating::before {
    content: '★★★★★';
    letter-spacing: 2px;
    /* Der clevere Verlauf: Gold bis zum berechneten Prozentwert, danach Grau */
    background: linear-gradient(90deg, #ffd700 var(--percent), #e0e0e0 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   SCHNELLNAVIGATION (Quick Nav)
   ========================================================================== */
.quick-nav-bereich {
    /* Zieht die Box leicht über den unteren Rand des dunklen Hero-Bereichs */
    margin-top: -50px; 
    margin-bottom: -10px;
    position: relative;
    z-index: 10;
}

.quick-nav-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten exakt nebeneinander */
    overflow: hidden; /* Wichtig für die Ränder beim Hover-Effekt */
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 15px;
    text-decoration: none;
    border-right: 1px solid #f0f0f0; /* Zarter Trennstrich */
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.quick-nav-item:last-child {
    border-right: none; /* Beim letzten Item keinen Strich rechts */
}

/* Der Hover-Effekt (Orangener Balken unten + sanftes Anheben) */
.quick-nav-item:hover {
    background-color: #fafafa;
    box-shadow: inset 0 -4px 0 var(--action-color); 
}

/* ==========================================================================
   ANIMATION: Sanftes Schweben für die Icons
   ========================================================================== */

/* 1. Wir definieren die Bewegung (Keyframes) */
@keyframes floatIcon {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); } /* Wandert 8 Pixel nach oben */
    100% { transform: translateY(0px); }  /* Und wieder zurück */
}

/* 2. Wir weisen die Bewegung den Icons zu */
.qn-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: inline-block; /* Wichtig, damit transform bei Text-Elementen funktioniert */
    
    /* Die Animation: 3 Sekunden Dauer, weicher Verlauf, Endlosschleife */
    animation: floatIcon 3s ease-in-out infinite; 
    transition: transform 0.3s ease;
}

/* 3. Der Trick: Versetzte Startzeiten für jedes Icon (Organischer Look) */
.quick-nav-item:nth-child(1) .qn-icon { animation-delay: 0s; }
.quick-nav-item:nth-child(2) .qn-icon { animation-delay: 0.7s; }
.quick-nav-item:nth-child(3) .qn-icon { animation-delay: 1.4s; }
.quick-nav-item:nth-child(4) .qn-icon { animation-delay: 2.1s; }

/* 4. Was passiert, wenn man mit der Maus drüberfährt? */
.quick-nav-item:hover .qn-icon {
    /* Die Schwebe-Animation wird pausiert, damit es nicht "zuckt" */
    animation-play-state: paused; 
    /* Das Icon wird beim Hovern stattdessen etwas vergrößert */
    transform: scale(1.2) translateY(-5px); 
}

.qn-text {
    font-weight: 900;
    font-size: 1.05rem;
    text-transform: uppercase;
    color: var(--header-bg);
    line-height: 1.2;
}

.qn-text small {
    display: block;
    font-size: 0.75rem;
    color: #888888;
    font-weight: 400;
    margin-top: 4px;
    text-transform: none;
}

/* ==========================================================================
   NEWSLETTER / REGISTRIERUNG
   ========================================================================== */
.newsletter-bereich {
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden; /* Damit die runden Ecken das Bild abschneiden */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Teilt den Bereich exakt 50:50 */
    background-color: var(--header-bg); /* Das dunkle Blau deines Headers */
}

/* Linke Seite: Bild */
.newsletter-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verhindert, dass das Bild verzerrt wird */
    display: block;
}

/* Rechte Seite: Formular */
.newsletter-formular {
    padding: 40px 50px;
    color: #ffffff;
}

.newsletter-formular h2 {
    color: #ffffff;
    border-left: none;
    padding-left: 0;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

/* Google Button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: #333333;
    text-decoration: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 25px;
    transition: background 0.3s;
}

.btn-google img {
    width: 20px;
}

.btn-google:hover {
    background-color: #f1f1f1;
}

/* Der "oder" Trenner mit den Linien */
.trenner {
    text-align: center;
    position: relative;
    margin-bottom: 25px;
}

.trenner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.2);
    z-index: 1;
}

.trenner span {
    background-color: var(--header-bg);
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* Formular Felder & Checkboxen */
.newsletter-formular label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.newsletter-formular input[type="email"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: inherit;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px; /* Rrückt die Box auf Höhe der ersten Textzeile */
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #dddddd;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group label a {
    color: #ffffff;
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: var(--action-color);
}

/* Macht den Button so breit wie das Formular */
.w-100 {
    width: 100%;
    margin-top: 15px;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: #aaaaaa;
}

.login-link a {
    color: #ffffff;
    text-decoration: underline;
}

.login-link a:hover {
    color: var(--action-color);
}

/* Der Button nutzt deine globale .btn-action Klasse */
.newsletter-submit {
    width: 100%; /* Macht ihn im Formular breit */
    display: block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    padding: 15px; /* Etwas mehr Klickfläche */
    margin-top: 20px;
}

/* Hover-Effekt wie bei den anderen Buttons */
.newsletter-submit:hover {
    background-color: #e66000; /* Etwas dunkleres Orange beim Hover */
    transform: translateY(-2px);
}

/* ==========================================================================
   SEO TEXT BEREICHE (Volle Breite & Newsletter-Look)
   ========================================================================== */
.seo-section {
    margin: 60px 0;
}

/* Einschränkung entfernen, damit es exakt so breit wird wie der Rest */
.seo-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Die weiße Box im 50:50 Layout */
.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exakt 50:50 wie beim Newsletter */
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden; /* WICHTIG: Schneidet die Ecken des Bildes rund ab */
    box-shadow: 0 10px 30px rgba(26, 37, 75, 0.08), 
                0 4px 15px rgba(230, 96, 0, 0.05);
}

.seo-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

/* Das Bild formatieren, dass es wie beim Newsletter abschließt */
.seo-image {
    width: 100%;
    height: 100%;
    min-height: 400px; /* Garantiert eine schöne Höhe für den PC */
}

.seo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verhindert Verzerrungen, füllt Kanten aus */
    display: block;
    border-radius: 0; /* Die Abrundung übernimmt jetzt die äußere Box */
}

/* Der Text bekommt den Innenabstand, nicht mehr die ganze Box */
.seo-text {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.seo-text h2 {
    color: var(--header-bg);
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    border-left: none;
    padding-left: 0;
}

.seo-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--action-color);
    margin-top: 10px;
}

.seo-text p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

/* ==========================================================================
   SINGLE CASINO PAGE (Testbericht Layout)
   ========================================================================== */
.single-content-bereich {
    background-color: var(--site-bg);
}

.content-text {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 37, 75, 0.08);
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-text h2, .content-text h3 {
    color: var(--header-bg);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-text p {
    margin-bottom: 20px;
    color: #444;
}

/* Die Sidebar mit den ACF-Daten */
.content-sidebar {
    position: relative;
}

.sidebar-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 37, 75, 0.08);
    /* Der "Sticky"-Effekt: Die Box bleibt beim Scrollen im Blick! */
    position: sticky;
    top: 120px; 
}

/* Die Liste für Mindesteinzahlung & Co. */
.bonus-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.bonus-specs li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bonus-specs li:last-child {
    border-bottom: none;
}

.bonus-specs li strong {
    color: var(--header-bg);
}

/* Mobile Anpassungen für den Testbericht */
@media (max-width: 768px) {
    .single-container {
        grid-template-columns: 1fr !important; /* Untereinander auf dem Handy */
        gap: 30px !important;
    }
    
    .single-hero-bereich .single-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-quick-facts {
        width: 100%;
        min-width: auto !important;
    }
    
    .content-text {
        padding: 25px;
    }
}

/* ==========================================================================
   KONTAKTSEITE (Premium Layout)
   ========================================================================== */
.kontakt-content-bereich {
    background-color: var(--site-bg);
    padding: 60px 0;
}

.kontakt-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

/* Die beiden weißen Boxen */
.kontakt-info-box, .kontakt-form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 37, 75, 0.08), 
                0 4px 15px rgba(230, 96, 0, 0.05);
}

.kontakt-info-box h2, .kontakt-form-box h2 {
    color: var(--header-bg);
    margin-bottom: 25px;
    font-size: 1.6rem;
    position: relative;
}

.kontakt-info-box h2::after, .kontakt-form-box h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--action-color);
    margin-top: 8px;
}

.kontakt-info-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Info Details Liste */
.info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--header-bg);
}

.info-item strong {
    display: block;
    color: var(--header-bg);
    margin-bottom: 5px;
}

.info-item span {
    color: #444;
    font-size: 0.95rem;
}

/* Automatische Premium-Formatierung für JEDES WordPress-Formular-Plugin */
.kontakt-form-box input[type="text"],
.kontakt-form-box input[type="email"],
.kontakt-form-box textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fdfdfd;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.kontakt-form-box input:focus,
.kontakt-form-box textarea:focus {
    border-color: var(--action-color);
    outline: none;
    box-shadow: 0 0 8px rgba(230, 96, 0, 0.15);
}

.kontakt-form-box input[type="submit"],
.kontakt-form-box button {
    background: var(--action-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.kontakt-form-box input[type="submit"]:hover,
.kontakt-form-box button:hover {
    background: #cc5500;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .kontakt-info-box, .kontakt-form-box {
        padding: 25px;
    }
}

/* ==========================================================================
   ÜBER UNS SEITE (Premium Layout)
   ========================================================================== */
.ueber-box {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 37, 75, 0.08);
    margin-bottom: 40px;
}

.ueber-box h2 {
    color: var(--header-bg);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--action-color);
    display: inline-block;
    padding-bottom: 8px;
    font-size: 2rem;
}

.ueber-box p {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Die 3 Karten für die Grundwerte */
.werte-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wert-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(26, 37, 75, 0.08);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.wert-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--action-color);
    box-shadow: 0 15px 35px rgba(230, 96, 0, 0.1);
}

.wert-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.wert-card h4 {
    color: var(--header-bg);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.wert-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Anpassung */
@media (max-width: 900px) {
    .werte-grid {
        grid-template-columns: 1fr;
    }
    .ueber-box {
        padding: 30px 20px;
    }
    .ueber-hero h1 {
        font-size: 2.2rem !important;
    }
}

/* ==========================================================================
   7. MOBILE ANSICHT (Alle Handys)
   ========================================================================== */
@media (max-width: 768px) {
    /* --- Header & Logo --- */
    .header-container {
        padding: 0 10px;
    }
    .site-branding .custom-logo {
        max-height: 35px;
    }
    .header-tools {
        gap: 15px;
    }
    .btn-login {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* --- Aufklapp-Navigation --- */
    .hauptnavigation {
        right: 0;
        left: 0;
        width: 100%;
        border-left: none;
        border-right: none;
        border-radius: 0;
        margin-top: 5px;
    }

    /* --- Hero Bereich --- */
    .hero-bereich {
        padding: 40px 15px; /* Weniger klobiger Abstand oben und unten */
        margin-bottom: 25px;
    }
    .hero-inhalt h1 {
        font-size: 1.5rem; /* Deutlich kleiner, damit es nicht den halben Screen füllt */
        margin-bottom: 15px;
    }
    .hero-inhalt p {
        font-size: 0.95rem; /* Besser lesbare, kompaktere Textgröße */
        line-height: 1.4;
        margin-bottom: 20px;
    }
    .btn-hero {
        padding: 12px 25px; /* Button etwas dezenter machen */
        font-size: 0.95rem;
    }
    /* Mobile Schnellnavigation */
    .quick-nav-bereich {
        margin-top: -40px;
        margin-bottom: -10px;
    }

    .quick-nav-container {
        grid-template-columns: 1fr 1fr; /* 2x2 Raster */
    }
    
    .quick-nav-item:nth-child(1),
    .quick-nav-item:nth-child(2) {
        border-bottom: 1px solid #f0f0f0; /* Trennstrich waagerecht */
    }
    
    .quick-nav-item:nth-child(2) {
        border-right: none;
    }
    
    .quick-nav-item {
        padding: 20px 10px;
    }
    
    .qn-icon {
        font-size: 1.8rem;
    }
    
    .qn-text {
        font-size: 0.9rem;
    }

    /* Mobile Ansicht für den Newsletter */
    .newsletter-grid {
        grid-template-columns: 1fr; /* Stapelt Bild und Formular untereinander */
    }
    
    .newsletter-bild img {
        height: 350px; /* Begrenzt die Höhe des Bildes auf dem Handy */
    }
    
    .newsletter-formular {
        padding: 25px 20px;
    }
    /* --- Casino Tabelle --- */
    .top-badge {
        /* Zieht das Badge über den Rand nach oben (ca. die Hälfte seiner eigenen Höhe) */
        top: -20px; 
        
        /* Zentriert das Badge perfekt in der Mitte */
        left: 50%;
        transform: translateX(-50%);
        
        /* Optional: Etwas kleiner auf dem Handy, damit es nicht zu wuchtig wirkt */
        font-size: 0.8rem; 
        padding: 5px 15px;
    }
    .casino-zeile {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        /* Oben 45px, rechts 20px, unten 20px, links 20px */
        padding: 45px 20px 20px 20px;
    }
    .casino-info, 
    .casino-features, 
    .casino-bonus, 
    .casino-bewertung {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        border-left: none; 
        border-right: none;
        margin: 0;
    }
    .casino-features {
        text-align: left;
        display: flex;
        justify-content: center;
    }
    .casino-features ul {
        display: inline-block;
    }
    .btn-action {
        width: 100%;
        padding: 20px;
    }
    /* Mobile Anpassung für SEO Bereiche */
    .seo-grid, .seo-grid.reverse {
        grid-template-columns: 1fr; /* Auf dem Handy untereinander */
    }
    
    .seo-image {
        min-height: 250px; /* Auf dem Handy etwas flacher */
    }
    
    .seo-text {
        padding: 30px 20px;
    }
    
    .seo-grid.reverse .seo-image {
        order: -1; /* Zwingt das Bild beim 2. Block auch auf dem Handy nach oben */
    }
    
}