:root {
    --dark-green: #1a3c2a; /* Das Grün aus deinen Tannen */
    --wine-red: #721c24;   /* Das Rot aus deinem Logo */
    --gold: #b5892e;       /* Goldton für Akzente */
    --warm-white: #fdfaf5; /* Hintergrund für Gemütlichkeit */
    --text-color: #333;
    --header-height: 80px; /* Hier kannst du die Gesamthöhe steuern */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--warm-white);
    color: var(--text-color);
    padding-top: var(--header-height) !important;
}

/* --- STABILER DESKTOP HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);

    /* Der Effekt: Weiß mit 70% Deckkraft + Weichzeichner */
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); /* Unterstützung für Safari */
    
    z-index: 10000; /* Muss über dem Slider liegen */
    border-bottom: 3px solid #b5892e;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Das ist die wichtigste Stelle gegen das "Zerschießen" */
.logo-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 60px; /* Begrenzt den Bereich für das Logo */
}

.logo-brand img {
    height: 100%; /* Das Bild darf maximal so hoch sein wie die logo-brand Box */
    width: auto;  /* Proportionen bleiben erhalten */
    display: block;
    object-fit: contain; /* Sorgt dafür, dass das Bild nicht verzerrt */
}

.brand-title {
    font-weight: bold;
    color: #1a3c2a;
    font-size: 1.5rem;
    margin-left: 15px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #b5892e; /* Goldton beim Drüberfahren */
}

/* --- PREMIUM HERO SLIDER STYLES --- */

/* Grundcontainer über die volle Breite */
.premium-hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    background: #000;
    margin-top: 0 !important;
}

/* Einzelne Slide */
.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; /* Sanfterer Übergang */
    z-index: 1;
}

.slider-item.active {
    opacity: 1;
    z-index: 2;
}

/* Das Hintergrundbild - volle Breite */
.slider-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left; /* Bildinhalt nach links rücken */
    transition: transform 15s linear; /* Subtiler Ken-Burns-Effekt */
    z-index: 1;
}

.slider-item.active .slider-bg-img {
    transform: scale(1.05); /* Dezentes Zoom beim Aktivieren */
}

/* Das Magische Overlay: Dunkler Verlauf von Rechts nach Links */
.slider-gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0) 20%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
}

/* Container-Steuerung für den Text */
.slider-content-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Text auf der rechten Seite */
    position: relative;
    z-index: 3; /* Über das Overlay legen */
}

.slider-text-wrapper {
    max-width: 550px; /* Begrenzt die Textbreite edel */
    text-align: right; /* Rechtsbündiger Text für mehr Premium-Feel */
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s; /* Verzögerter Texteinstieg */
}

.slider-item.active .slider-text-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* Typografie */
.premium-badge-gold {
    background-color: var(--gold, #b5892e);
    color: #fff;
    padding: 6px 16px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: bold;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 25px;
}

.premium-slider-title {
    font-size: clamp(2rem, 5vw, 3.8rem); /* Responsive Schriftgröße */
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.premium-slider-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 300;
    color: #f0f0f0;
}

/* Buttons */
.slider-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end; /* Rechtsbündige Buttons */
}

.premium-btn-primary {
    background-color: var(--wine-red, #801326);
    color: #fff;
    padding: 16px 35px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border: 2px solid transparent;
}

.premium-btn-primary span {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 5px;
}

.premium-btn-primary:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.premium-btn-primary:hover span {
    transform: translateX(5px);
}

.premium-btn-secondary {
    border: 2px solid #fff;
    color: #fff;
    padding: 16px 35px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.premium-btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

/* --- FIX FÜR SICHTBARE NAVIGATIONSPFEILE --- */

.slider-arrow {
    position: absolute;
    top: 50%; /* Genau in der vertikalen Mitte */
    transform: translateY(-50%);
    z-index: 100; /* Muss ÜBER dem Gradient-Overlay (z-index 2) liegen */
    background: rgba(255, 255, 255, 0.1); /* Ganz dezent sichtbarer Kreis */
    backdrop-filter: blur(5px); /* Schicker Glas-Effekt */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex; /* Zentriert das SVG im Button */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff !important; /* Erzwingt Weiß für die SVG-Pfeile */
    transition: all 0.3s ease;
    outline: none;
}

.slider-arrow:hover {
    background: var(--gold, #b5892e);
    border-color: var(--gold, #b5892e);
    opacity: 1;
    transform: translateY(-50%) scale(1.1); /* Kleiner Zoom beim Hover */
}

/* Positionierung Links/Rechts */
.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Sicherstellen, dass das SVG weiß ist */
.slider-arrow svg {
    width: 30px;
    height: 30px;
    stroke: #ffffff; /* Die Linienfarbe des SVG */
    display: block;
}

.section-title {
    text-align: center;
    margin: 50px 0 30px;
    color: #1a3c2a;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #b5892e;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

.link-more {
    color: #1a3c2a;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.link-more:hover {
    color: #b5892e;
}

/* Container für Abstände */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    background-color: var(--wine-red);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: var(--dark-green);
}

/* Der Behälter für das Raster (Grid) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* Die einzelne Karte */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden; /* WICHTIG: Alles was übersteht, wird abgeschnitten */
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Der feste Rahmen für das Bild */
.product-image {
    width: 100%;
    height: 250px; 
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative; /* Sicherer Anker */
}

/* Das eigentliche Bild im Rahmen - Jetzt mit !important gegen hartnäckige Fehler */
.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05); /* Kleiner Zoom-Effekt beim Drüberfahren */
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
}

/* Container für die gesamte Bewertungs-Sektion */
.rating-selection.amazon-style {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-selection span {
    font-weight: bold;
    color: var(--dark-green);
}

/* Der Container, der die Sterne hält */
.star-rating {
    display: flex;
    flex-direction: row-reverse; /* Wichtig für die CSS-Logik mit ~ */
    justify-content: flex-end;
}

/* Die Radio-Buttons komplett verstecken */
.star-rating input {
    display: none;
}

/* Die Sterne (Labels) */
.star-rating label {
    font-size: 35px; /* Größere Sterne */
    color: #ccc; /* Grauer Umriss im Standard */
    cursor: pointer;
    transition: color 0.1s; /* Schnelle Reaktion */
    padding: 0 2px;
}

/* Hover-Effekt: Der Stern unter der Maus und ALLE danach werden gold */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #b5892e; /* Helles Hover-Gold */
}

/* Gewählter Zustand: Der angeklickte Radio-Button färbt sein Label gold */
.star-rating input:checked ~ label {
    color: var(--gold, #b5892e); /* Dein spezifisches WPV ERZ Gold */
}

/* Fallback: Wenn ein Stern gewählt ist, sollen die davor beim Hover trotzdem reagieren */
.star-rating label:hover ~ input:checked ~ label {
    color: #b5892e;
}

.btn-whatsapp { background-color: #25D366; color: white; text-align: center; padding: 10px; text-decoration: none; border-radius: 4px; }
.btn-request { background-color: var(--dark-green); color: white; text-align: center; padding: 10px; text-decoration: none; border-radius: 4px; }

.detail-page { padding-top: 50px; }
.product-header-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.main-detail-img { 
    width: 100%; 
    height: 500px; 
    object-fit: contain; 
    background: #fff; 
    border: 1px solid #eee; 
}

.thumbnail-bar { display: flex; gap: 10px; margin-top: 15px; }
.thumbnail-bar img { width: 80px; height: 80px; object-fit: cover; cursor: pointer; border: 1px solid #ddd; }

.price-big { font-size: 2rem; color: var(--gold); font-weight: bold; margin: 20px 0; }

.tab-btn { padding: 10px 20px; cursor: pointer; border: none; background: #eee; }
.tab-btn.active { background: var(--dark-green); color: white; }

.tab-content {
    display: none; /* Standardmäßig alle Tabs weg */
    margin-top: 30px; /* Hier ist der gewünschte Abstand zum Button/Tab-Leiste */
    animation: fadeIn 0.4s ease;
}

/* Nur wenn die Klasse .active vorhanden ist, wird es gezeigt */
.tab-content.active {
    display: block !important;
    visibility: visible;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gold-divider { border: 0; height: 2px; background: var(--gold); margin: 40px 0; }

.img-placeholder {
    height: 150px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.buy-btn {
    background-color: var(--dark-green);
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
}

.Impressum {
    flex: 2;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold, #b5892e);
    margin-top: 60px;
}

.Impressum h2 {
    color: var(--dark-green);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.datenschutz-container {
    flex: 2;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold, #b5892e);
    margin-top: 60px;
}

.datenschutz-container h2 {
    color: var(--wine-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.datenschutz-container h3 {
    margin-top: 30px;
    color: var(--dark-green);
}

.datenschutz-container ul {
    padding-left: 20px;
}

.logo-link {
    display: inline-block;
    line-height: 0; /* Verhindert kleine Abstände unter dem Bild */
}

.logo {
    display: block; /* Macht das Bild innerhalb des Links stabil */
}

#backToTop {
    display: none; /* Erstmal unsichtbar */
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: var(--dark-green, #1a3c2a); /* Dein Grün */
    color: white; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 50%; /* Rundes Design */
    font-size: 20px;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
}

#backToTop:hover {
    background-color: var(--gold, #b5892e); /* Wechselt zu Gold beim Drüberfahren */
    transform: scale(1.1);
}

.main-footer {
    background-color: #1a3c2a; /* Dein Dunkelgrün */
    color: white;
    padding: 50px 0 20px 0;
    margin-top: 50px;
    border-top: 4px solid #b5892e; /* Goldene Linie oben */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap; /* Wichtig für Mobilgeräte */
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #b5892e; /* Goldene Überschriften */
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #b5892e;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #aaa;
}

.kontakt-section {
    padding: 60px 20px;
    background-color: var(--warm-white, #fdfaf5);
}

.kontakt-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.kontakt-form {
    flex: 2;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold, #b5892e);
}

.kontakt-info {
    flex: 1;
    min-width: 250px;
    background: #1a3c2a; /* Dein Dunkelgrün */
    color: white;
    padding: 30px;
    border-radius: 8px;
}

.kontakt-info h3 {
    color: #b5892e;
    margin-top: 0;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.btn-submit {
    background-color: #1a3c2a;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #b5892e;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.admin-main {
    padding: 100px 20px;
    background-color: #f4f4f4;
    min-height: 80vh;
}

.admin-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 5px solid #b5892e; /* Deine Goldleiste */
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #1a3c2a;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-save {
    background-color: #1a3c2a;
    color: white;
    border: none;
    padding: 12px 20px;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-save:hover {
    background-color: #b5892e;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}
.success { background: #d4edda; color: #155724; }
.error { background: #f8d7da; color: #721c24; }

.toast {
    position: fixed;
    top: 100px; /* Unterhalb des Headers */
    right: 20px;
    min-width: 300px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideIn 0.5s ease-out forwards;
}

.toast.success { border-left: 6px solid #28a745; }
.toast.error { border-left: 6px solid #dc3545; }

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Der kleine Ladebalken unten, der zeigt, wann die Nachricht verschwindet */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0,0,0,0.1);
}

.toast-progress::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor; /* Nimmt die Farbe vom Border */
    animation: progress 5s linear forwards;
}

.toast.success .toast-progress::after { background: #28a745; }
.toast.error .toast-progress::after { background: #dc3545; }

/* Animationen */
@keyframes slideIn {
    from { transform: translateX(120%); }
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0%; }
}

.reviews-list {
    margin-top: 30px;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 10px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.review-author {
    font-weight: bold;
    color: var(--dark-green);
}

.review-date {
    color: #888;
}

.review-stars {
    color: #b5892e; /* Amazon Gold */
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.star-empty {
    color: #ccc;
}

.review-text {
    line-height: 1.5;
    color: #444;
}

.no-reviews {
    font-style: italic;
    color: #777;
    padding: 20px 0;
}

/* Container für alle Bewertungen */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* Die einzelne Bewertungs-Karte */
.review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.review-card:hover {
    border-color: var(--gold); /* Dezenter Effekt beim Drüberfahren */
}

.product-card {
    background: #fff; 
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    transition: transform 0.3s;
}

.product-card:hover {
    border-color: var(--gold); /* Dezenter Effekt beim Drüberfahren */
}

.description-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.description-card:hover {
    border-color: var(--gold); /* Dezenter Effekt beim Drüberfahren */
}

/* Kopfzeile der Bewertung (Name, Datum, Sterne) */
.review-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 15px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

#openReviewBtn {
    margin-bottom: 20px;
}

.user-icon {
    font-size: 1.5rem;
    background: #f0f0f0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--dark-green);
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

/* Sterne-Styling in der Karte */
.review-stars-display {
    color: #ffc107; /* Amazon Gold */
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.star-empty {
    color: #ccc;
}

/* Der eigentliche Text */
.review-content {
    line-height: 1.6;
    color: #444;
}

.review-text {
    margin: 0;
}

/* Mobil-Optimierung */
@media (max-width: 500px) {
    .review-header-row {
        flex-direction: column;
        gap: 10px;
    }
    .review-stars-display {
        margin-left: 52px; /* Ausrichtung unter den Namen */
    }
}

.rating-summary-card {
    display: flex;
    align-items: center;
    background: #fdfaf5; /* Dein Warm-White */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
    gap: 30px;
}

.average-score {
    text-align: center;
    border-right: 1px solid #ddd;
    padding-right: 30px;
}

.score-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-green);
    display: block;
    line-height: 1;
}

.score-max {
    color: #888;
    font-size: 1rem;
}

.stars-display {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.score-details p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Mobil-Optimierung */
@media (max-width: 480px) {
    .rating-summary-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .average-score {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
    }
}

/* --- MODAL (POPUP) STYLES --- */

/* Der dunkle Hintergrund, der die ganze Seite überdeckt */
.modal {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 10000; /* Sehr hoch, damit es über Header und Content liegt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Abdunkelung */
    backdrop-filter: blur(5px); /* Macht den Hintergrund unscharf (modern!) */
    overflow-y: auto; /* Erlaubt Scrollen, falls das Handy-Display zu klein ist */
}

/* Das eigentliche weiße Fenster in der Mitte */
.modal-content {
    background-color: #fff;
    margin: 5% auto; /* 5% Abstand von oben, mittig zentriert */
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px; /* Maximale Breite am PC */
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease-out; /* Sanftes Einblenden */
}

/* Schließen-Buttons (X) */
.close-modal, .close-qa {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover, .close-qa:hover {
    color: var(--wine-red, #721c24); /* Färbt sich rot beim Drüberfahren */
}

/* Container für alle Fragen */
.qa-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Abstand zwischen den einzelnen Karten */
    margin-top: 20px;
}

/* Die einzelne Frage-Antwort-Karte */
.qa-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

.qa-card:hover {
    border-color: var(--gold); /* Dezenter Effekt beim Drüberfahren */
}

/* Eine Zeile (entweder Frage oder Antwort) */
.qa-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.question-row {
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 15px;
}

/* Die Buchstaben-Badges (F und A) */
.qa-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.q-badge {
    background-color: var(--dark-green);
    color: white;
}

.a-badge {
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
}

/* Der Textbereich */
.qa-text {
    flex-grow: 1;
    line-height: 1.5;
    color: #333;
}

.qa-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 8px;
}

.no-data {
    text-align: center;
    color: #888;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Formular-Elemente innerhalb des Modals */
.full-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box; /* WICHTIG: Damit Padding das Feld nicht breiter macht */
}

.full-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-green, #1a3c2a);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.full-btn:hover {
    background-color: var(--gold, #b5892e);
}

.cookie-notice-overlay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 10000;
    padding: 20px;
    display: none; /* Wird per JS eingeblendet */
    border-left: 5px solid #801326; /* Dein Weinrot */
    max-width: 600px;
    margin: 0 auto;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text p {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.cookie-text a {
    color: #801326;
    text-decoration: underline;
}

.cookie-btn {
    background: #801326;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.3s;
}

.cookie-btn:hover {
    background: #b5892e; /* Ein schönes Gold/Messing beim Hover */
}

/* Mobil-Anpassung */
@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btn {
        width: 100%;
    }
}

/* --- RESPONSIVE START --- */

@media (max-width: 992px) {
    /* 1. Header-Höhe stabil halten */
    .main-header {
        height: 70px !important;
    }

    /* 2. LOGO-BREMSE: Das wichtigste gegen das "Zerschießen" */
    .logo-brand img {
        height: 40px !important; /* Hier begrenzen wir die Höhe knallhart */
        width: auto !important;
        object-fit: contain;
    }

    .brand-title {
        font-size: 1.1rem !important;
    }

.menu-toggle {
    display: none !important; /* Versteckt ihn auf Desktop, Laptop und TV */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}


    /* 4. Die Navigation verstecken (wird später per JS eingeblendet) */
    .main-nav {
        position: fixed;
        top: 70px; /* Genau unter dem Header */
        right: -100%; /* Außerhalb des Sichtfelds */
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        transition: 0.3s ease-in-out;
        z-index: 999;
    }

    /* Wenn die Klasse .active per JS hinzugefügt wird */
    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
    /* --- 1. Container-Logik ändern --- */
    .premium-hero-slider {
        height: auto !important; /* Aufhebung der 100vh Begrenzung */
        min-height: 450px;
        display: flex;
        flex-direction: column;
        background-color: #000; /* Schwarzer Hintergrund für den unteren Teil */
    }

    .slider-item {
        position: relative !important;
        display: none; /* Wir zeigen nur den aktiven */
        flex-direction: column;
        justify-content: flex-start !important;
    }

    .slider-item.active {
        display: flex;
    }

    /* --- 2. BILD-FOKUS UND PROPORTIONEN --- */
    .slider-bg-img {
        position: relative !important;
        /* Wir setzen keine feste Höhe (z.B. 300px), 
           sondern lassen das Bild natürlich skalieren */
        height: 280px !important; 
        width: 100% !important;
        max-height: 70vh; /* Begrenzung, damit es nicht zu hoch wird */
        
        /* WICHTIG: Das Motiv (das Paar) zentrieren und oben ausrichten */
        object-fit: cover !important; /* Zeigt das GANZE Bogenmotiv */
        object-position: center 20% !important; /* Zentriert das Paar horizontal, richtet den Bogen oben aus */
        
        /* Optional: Einen sehr weichen Schatten nach unten werfen */
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    }

    .slider-gradient-overlay {
        display: none; /* Den dunklen Verlauf brauchen wir mobil nicht */
    }

    /* --- 3. TEXTBEREICH UNTER DEM BILD --- */
    .slider-content-container {
        position: relative !important;
        background: #000; /* Schwarzer Hintergrund, der an das Bild anschließt */
        padding: 25px 15px !important;
        width: 100% !important;
        justify-content: center !important;
        margin: 0 !important; /* Entfernt Desktop-Ränder */
    }

    .slider-text-wrapper {
        max-width: 100% !important;
        text-align: center !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
    }

    .premium-slider-desc {
        display: none !important;
    }

    .premium-slider-title {
        font-size: 1.5rem !important; /* Knackiger Titel */
        color: #fff !important;
        margin-bottom: 15px !important;
        text-shadow: none !important; /* Schatten mobil entfernen */
    }

    /* --- 4. NAVIGATIONSPFEILE POSITIONIEREN --- */
    /* Die Pfeile sollen auf dem Bildbereich sitzen, nicht im Text */
    .slider-arrow {
        top: 140px !important; /* Mittig zum Bildbereich (max-height 70vh) */
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        color: #000 !important;
    }

.menu-toggle {
        display: flex !important; /* Bringt ihn auf dem Handy zurück */
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        
        /* Styling für die Striche */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .menu-toggle span, 
    .menu-toggle .bar {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--dark-green, #1a3c2a);
        border-radius: 3px;
    }

    .kontakt-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .kontakt-form {
        width: 100% !important;
        padding: 20px !important; /* Gibt den Feldern Luft zum Rand */
        box-sizing: border-box !important;
        overflow: hidden; /* Verhindert das Ausbrechen */
    }

    .input-group input, 
    .input-group textarea {
        width: 100% !important;
        max-width: 100% !important; /* Absolute Obergrenze */
        box-sizing: border-box !important; /* WICHTIG: Padding wird nach INNEN gerechnet */
        margin: 0 !important;
        padding: 12px !important;
    }

    .btn-submit {
        width: 100% !important;
        padding: 18px !important;
        font-size: 1.1rem !important;
    }

.checkbox-group {
        display: flex !important;
        flex-direction: row !important; /* Erzwingt Nebeneinander */
        align-items: flex-start !important; /* Richtet Checkbox oben am Text aus */
        justify-content: flex-start !important; /* Alles nach links schieben */
        gap: 12px !important;
        text-align: left !important; /* Verhindert das Zentrieren */
        margin-top: 20px !important;
        width: 100% !important;
    }

    /* 2. Die Checkbox selbst (das kleine Quadrat) */
    .checkbox-group input[type="checkbox"] {
        width: 22px !important; /* Feste Größe, damit sie nicht verschwindet */
        height: 22px !important;
        margin: 0 !important;
        flex-shrink: 0 !important; /* Verhindert, dass der Text die Box zusammendrückt */
        cursor: pointer;
    }

    /* 3. Das Label (der Text daneben) */
    .checkbox-group label {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        color: #333 !important;
        margin: 0 !important; /* Entfernt alle alten Abstände */
        padding: 0 !important;
        text-align: left !important;
        cursor: pointer;
        display: block !important;
    }
}