body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6; /* Improved readability */
}

/* Header-Styling mit Hintergrundbild */
header,
.site-header-with-background {
    color: #fff;
    text-align: center;
    background-image: url('images/header-bild.jpg'); /* Pfad zum Bild */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #333; /* Fallback */

    /* === WICHTIG === */
    position: relative; /* Basis für absolute Positionierung der Navigation */
    /* === WICHTIG === */

    /* Padding oben für Text, Padding unten MUSS Höhe der Nav + Abstand berücksichtigen */
    padding-top: 3rem; /* Abstand oben für Titel/Text - ANPASSEN */
    padding-bottom: 5rem; /* Platz unten für die Nav + etwas Luft - WERT ANPASSEN! */
    /* Beispiel: Wenn Nav ca. 3rem hoch ist, + 2rem Luft = 5rem padding-bottom */
    padding-left: 1rem;
    padding-right: 1rem;

    /* Verhindert, dass ::before über dem Inhalt liegt (war vorher schon) */
    z-index: 1;
}

/* Overlay für bessere Lesbarkeit (bleibt gleich) */
header::before,
.site-header-with-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Dunkler Overlay */
    z-index: -1; /* Hinter dem Inhalt, über dem background-image */
}

/* Titel und Text Styling (bleibt ähnlich) */
header h1,
.site-header-with-background h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

header p,
.site-header-with-background p {
    margin: 0;
    color: #eee;
    font-size: 1.1rem;
    margin-bottom: 1rem; /* Etwas Abstand nach unten, bevor die Nav kommt */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* === Navigation absolut positionieren === */
.main-nav {
    position: absolute; /* Aus dem normalen Fluss nehmen */
    bottom: 0; /* An den unteren Rand des Headers heften */
    left: 0; /* An den linken Rand des Headers heften */
    width: 100%; /* Volle Breite des Headers einnehmen */

    /* Optional: Gib der Nav wieder einen eigenen Hintergrund für bessere Lesbarkeit */
    background-color: rgba(0, 0, 0, 0.6); /* Halbtransparentes Schwarz */
    padding: 0.5rem 0; /* Inneres Padding der Nav-Leiste */
    margin: 0; /* Kein margin mehr nötig */
    z-index: 10; /* Sicherstellen, dass sie über dem Text-Schatten/Overlay liegt */
}

/* Navigationslinks (Bleiben ähnlich, ggf. Schatten entfernen/anpassen) */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.main-nav ul li {
    display: inline-block;
    margin: 0 10px; /* Kleinerer Abstand zwischen Items */
    position: relative;
}
.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px; /* Padding anpassen */
    display: block;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-shadow: none; /* Keinen Textschatten auf Links in der Leiste */
    border-radius: 3px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #ffc107; /* Highlight-Farbe */
    background-color: rgba(255, 255, 255, 0.15); /* Leichter heller Hintergrund beim Hovern */
}

/* Dropdown Menü (Hintergrund anpassen, wenn Nav Hintergrund hat) */
.dropdown .dropdown-menu {
    background-color: #444; /* Oder ein anderer dunkler, solider Farbton */
    /* Restliche Dropdown-Styles bleiben gleich */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
}
.dropdown-menu li a {
     color: #eee;
     text-shadow: none;
}
.dropdown-menu li a:hover {
     background-color: #555;
     color: #ffc107;
}


/* Die Navigation bleibt unverändert, sie hat ihren eigenen Hintergrund */
main-nav {
    background-color: #444;
    padding: 0.5rem 0;
    margin-top: 1rem; /* Abstand zum Text im Header */
}

main {
    padding: 1.5rem; /* More space */
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-table-container {
    display: none;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between product rows */
    margin-top: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: 5px; /* Slightly smaller radius */
    box-shadow: 0 1px 4px rgba(0,0,0,0.1); /* Subtle shadow */
    overflow: hidden; /* Crucial for expansion animation */
    border: 1px solid #e0e0e0; /* Light border */
}

.product-summary-row {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    padding: 15px;
    gap: 20px; /* Increased gap */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.product-image {
    flex: 0 0 120px; /* Fixed width, don't grow/shrink */
    align-self: center; /* Center image vertically */
    padding: 0; /* Remove padding if handled by summary row */
    background-color: transparent; /* Remove background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image svg {
    max-width: 100%; /* Ensure SVG scales within container */
    height: auto;
    display: block;
}

.product-main-info {
    flex: 1 1 auto; /* Allow growing and shrinking */
    padding: 0; /* Remove padding if handled by summary row */
    display: flex;
    flex-direction: column;
    gap: 8px; /* Space between title, specs, rating */
    min-width: 200px; /* Prevent excessive squeezing */
}

.product-main-info h3 {
    margin: 0 0 5px 0; /* Adjusted margin */
    font-size: 1.15rem; /* Slightly smaller */
    color: #333;
}

.quick-specs {
    font-size: 0.85rem; /* Smaller specs */
    color: #555; /* Darker grey */
    margin-bottom: 5px; /* Adjusted margin */
}

.quick-specs span {
    white-space: nowrap;
    margin-right: 8px; /* More space between spec items */
}

.spec-icon {
    display: inline-block;
    margin-right: 4px; /* Increased space */
    font-size: 0.9em; /* Slightly larger icon relative to text */
    opacity: 0.8;
    color: #007bff; /* Give icons a color */
}

.star-rating {
    margin-bottom: 8px; /* Adjusted margin */
}

.star-rating .stars {
    color: #ffc107; /* Gold color for stars */
    font-size: 1rem; /* Adjusted size */
    margin-right: 5px;
}

.star-rating .rating-value {
    font-size: 0.85em;
    color: #6c757d;
}

.product-action-col {
    flex: 0 0 160px; /* Fixed width */
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Stretch items horizontally */
    gap: 10px; /* Space between price/offer and button */
    justify-content: space-between; /* Push button down if space allows */
    align-self: stretch; /* Make column height match row */
    padding-left: 15px; /* Add some space from main info */
    border-left: 1px solid #eee; /* Separator line */
}

.price-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align price/offer to right */
    gap: 5px;
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    width: 100%;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    background-color: #A0791D; /* Updated: Darker Gold */
    color: #eee; /* Updated: Ensure good contrast */
    font-size: 0.9rem;
}

.main-nav {
    background-color: #444; /* Slightly different background */
    padding: 0.5rem 0;
    margin-top: 1rem; /* Add space below header text */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.main-nav ul li {
    display: inline-block;
    margin: 0 15px; /* Spacing between items */
    position: relative; /* Needed for dropdown positioning */
}

.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 5px;
    display: block;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active { /* Style for active link */
    color: #ffc107; /* Highlight color */
}

.dropdown .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the parent */
    left: 0;
    background-color: #555;
    min-width: 160px; /* Minimum width */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown .dropdown-menu.show {
    display: block; /* Need display: block to make it visible */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block; /* Stack items vertically */
    margin: 0;
}

.dropdown-menu li a {
    padding: 8px 15px; /* Padding for dropdown items */
    color: #eee; /* Lighter text for dropdown */
    font-size: 0.9rem;
    display: block; /* Ensure link takes full width */
    white-space: nowrap; /* Prevent text wrapping */
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #666;
    color: #ffc107; /* Highlight on hover */
}

.product-details {
    padding: 0 20px; /* Horizontal padding only when closed */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out, padding 0.5s ease-out;
    border-top: 1px solid transparent; /* Prevent border jump */
}

.product-details.expanded {
    padding: 15px 20px 20px 20px; /* Top, Right, Bottom, Left */
    max-height: 500px; /* Adjust if content is taller */
    opacity: 1;
    border-top: 1px solid #eee; /* Add separator when expanded */
    transition: max-height 0.5s ease-in, opacity 0.4s 0.1s ease-in, padding 0.5s ease-in; /* Adjusted timing */
}

.details-toggle {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
    transition: background-color 0.2s ease;
    width: 100%; /* Make button full width of its column */
    margin-top: auto; /* Push button to bottom if space available */
}

.details-toggle:hover {
    background-color: #e0e0e0;
}

.details-toggle .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.details-toggle.expanded .arrow {
    transform: rotate(180deg);
}

.full-details-link {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #007bff;
}

.full-details-link:hover {
    text-decoration: underline;
}

.product-detail-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
}

.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.product-info {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 2rem; /* Space between gallery and summary */
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.product-gallery {
    flex: 1 1 300px; /* Allow shrinking but base width 300px */
    min-width: 250px;
}

.product-image-placeholder svg {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.product-summary {
    flex: 2 1 400px; /* Take more space, base width 400px */
}

.product-summary h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    color: #333;
}

.product-summary .star-rating {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.product-short-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
}

.buy-now-banner {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.buy-now-banner .price {
    font-size: 1.6rem;
    font-weight: bold;
    color: #e44d26; /* Price color */
    margin-right: auto; /* Push button to the right */
}

.buy-button {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    display: inline-block;
    text-align: center;
}

.buy-button:hover {
    background-color: #0056b3;
}

.buy-now-banner small {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.product-features,
.product-description,
.product-specs {
    margin-bottom: 2rem;
}

.product-features h3,
.product-description h3,
.product-specs h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #444;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.key-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid; /* Use grid for better alignment */
    grid-template-columns: repeat(3, 1fr); /* Max 3 columns */
    gap: 1.5rem; /* Adjusted gap */
}

.key-features li {
    background-color: #f9f9f9;
    padding: 1rem; /* Unified padding */
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem; /* Unified gap */
}

.key-features li div {
    flex: 1; /* Allow the text container to take remaining space */
    line-height: 1.4; /* Improve text readability */
}

.key-features li div strong {
    display: block; /* Ensure strong tag is on its own line or starts the block */
    margin-bottom: 0.2em; /* Add a small space after the bold text */
    color: #333;
}

.feature-icon {
    font-size: 1.5rem; /* Unified size */
    color: #007bff;
    flex-shrink: 0;
    line-height: 1.4;
    margin-top: 2px;
}

.product-description p {
    margin-bottom: 1rem;
}

.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.tech-specs-table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.tech-specs-table td {
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.tech-specs-table td:first-child {
    font-weight: bold;
    color: #555;
    width: 40%;
}

#scrollToTopBtn,
#scrollToBottomBtn {
    display: none;
    position: fixed;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    z-index: 1000;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

#scrollToTopBtn {
    bottom: 70px;
}

#scrollToBottomBtn {
    bottom: 20px;
}

#scrollToTopBtn:hover,
#scrollToBottomBtn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

@media (max-width: 992px) { /* Tablet - 2 columns */
    .key-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem; /* Adjust gap */
    }
}

@media (max-width: 768px) {
    .product-summary-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .product-image {
        flex: 0 0 auto;
        width: 100px;
        margin: 0 auto 10px auto;
    }

    .product-main-info {
        min-width: 0;
        text-align: center;
    }
    .quick-specs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px 10px; /* Add vertical gap when wrapping */
    }
    .quick-specs span {
        margin-right: 0; /* Remove margin, rely on gap */
    }
    .star-rating {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-action-col {
        flex: 0 0 auto;
        border-left: none;
        padding-left: 0;
        align-items: center;
        margin-top: 10px;
        width: 100%;
    }

    .price-action {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .details-toggle {
        width: auto;
        padding: 8px 20px;
    }

    .product-info {
        flex-direction: column;
    }

    .buy-now-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .buy-now-banner .price {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) { /* Mobile - 1 column */
    .key-features {
        grid-template-columns: 1fr;
        gap: 0.8rem; /* Adjust gap */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    main {
        padding: 1rem;
    }

    .product-card {
        padding: 10px;
    }
    .product-summary-row {
        padding: 10px 0;
    }

    .price {
        font-size: 1.1rem;
    }
    .offer-link, .details-toggle {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    .product-details p {
        font-size: 0.9rem;
    }
    .full-details-link {
        font-size: 0.85rem;
    }

    .product-detail-container {
        padding: 1rem;
    }
    .product-summary h2 {
        font-size: 1.5rem;
    }
    .buy-now-banner .price {
        font-size: 1.4rem;
    }
    .buy-button {
        padding: 0.6rem 1rem;
    }
    .product-features h3,
    .product-description h3,
    .product-specs h3 {
        font-size: 1.2rem;
    }
    .key-features li {
        padding: 0.8rem;
    }
    .tech-specs-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}
.ratgeber-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
}
.ratgeber-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.6;
}
.ratgeber-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.ratgeber-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
/* Abschnittsüberschriften (H2) etwas hervorheben */
.ratgeber-section h2 {
    font-size: 1.7rem; /* Etwas größer als Produkt H3 */
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #A0791D; /* Akzentfarbe aus dem Header */
    display: flex; /* Für Icon Ausrichtung */
    align-items: center; /* Für Icon Ausrichtung */
    gap: 0.7rem; /* Abstand zwischen Icon und Text */
}
 /* Unterüberschriften (H3) für spezifischere Themen innerhalb eines Abschnitts */
 .ratgeber-section h3 {
    font-size: 1.3rem;
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}
.ratgeber-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #444;
}
.article-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}
.article-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem; /* Platz für Icon/Bullet */
    position: relative;
}
/* Einfacher Pfeil als Bullet Point */
.article-list li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: #A0791D; /* Akzentfarbe */
    font-weight: bold;
    font-size: 1.1em;
    top: 1px;
}
.article-list a {
    text-decoration: none;
    color: #007bff; /* Standard Linkfarbe */
    font-weight: 500; /* Etwas dicker als normaler Text */
    font-size: 1rem;
}
.article-list a:hover {
    text-decoration: underline;
    color: #0056b3; /* Dunklere Hover-Farbe */
}
/* Icons für Abschnittsüberschriften (ähnlich wie bei Quick Specs) */
.section-icon {
     font-size: 1.5rem; /* Größe des Icons */
     color: #A0791D; /* Akzentfarbe */
     opacity: 0.9;
}
 /* Wiederverwendung der Container-Klasse für Konsistenz */
 .article-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
}
.article-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}
/* Container für jedes einzelne Gadget */
.gadget-item {
    display: flex;
    flex-wrap: wrap; /* Umbruch auf kleinen Screens */
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}
.gadget-item:last-of-type { /* Letztes Element ohne Border unten */
    border-bottom: none;
    margin-bottom: 1rem;
}
.gadget-image {
    flex: 0 0 180px; /* Feste Breite für das Bild */
    align-self: flex-start; /* Oben ausrichten */
}
.gadget-image svg {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.gadget-info {
    flex: 1 1 300px; /* Flexibel, nimmt restlichen Platz ein */
}
.gadget-info h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #A0791D; /* Akzentfarbe für Gadget-Titel */
}
.gadget-info h3 { /* Für Unterpunkte wie "Highlights" */
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #444;
}
.gadget-info ul {
    list-style: disc;
    margin-left: 1.2rem;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}
.gadget-info li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}
.gadget-price {
    font-weight: bold;
    color: #333;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}
/* Wiederverwendung oder Anpassung der Button-Klasse */
.gadget-buy-link {
    display: inline-block; /* Wichtig für Padding etc. */
    background-color: #007bff;
    color: #fff;
    padding: 0.6rem 1.2rem; /* Etwas kleiner als Haupt-Buttons */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    text-align: center;
}
.gadget-buy-link:hover {
    background-color: #0056b3;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .gadget-image {
        flex-basis: 100%; /* Bild nimmt volle Breite ein */
        max-width: 250px; /* Maximale Breite begrenzen */
        margin: 0 auto 1rem auto; /* Zentrieren */
    }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* Optional: Etwas Abstand für den Intro-Text */
.intro-text {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background-color: #f9f9f9; /* Leichter Hintergrund zur Abhebung */
    border-radius: 5px;
    border: 1px solid #eee;
}
 .intro-text p {
    margin-bottom: 1em;
    line-height: 1.6;
 }
 .intro-text p:last-child {
    margin-bottom: 0;
 }
 .intro-text strong {
    color: #A0791D; /* Akzentfarbe für Keywords */
 }
 .product-pro-con { margin-bottom: 2rem; }
 .pro-con-container { display: flex; flex-wrap: wrap; gap: 1.5rem; }
 .pro-list, .con-list { flex: 1; min-width: 250px; background-color: #f9f9f9; padding: 1rem 1.5rem; border-radius: 5px; border: 1px solid #eee;}
 .pro-list h3, .con-list h3 { margin-top: 0; margin-bottom: 0.8rem; font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
 .pro-list h3 { color: #28a745; } /* Grün für Pro */
 .con-list h3 { color: #dc3545; } /* Rot für Con */
 .pro-con-icon { font-size: 1.3em; line-height: 1; }
 .pro-list ul, .con-list ul { list-style: none; padding: 0; margin: 0; }
 .pro-list li, .con-list li { margin-bottom: 0.5rem; padding-left: 1.3rem; position: relative; line-height: 1.5;}
 .pro-list li::before { content: '+'; position: absolute; left: 0; color: #28a745; font-weight: bold; }
 .con-list li::before { content: '–'; position: absolute; left: 0; color: #dc3545; font-weight: bold; }

 .product-faq details {
     margin-bottom: 0.8rem;
     border: 1px solid #eee;
     border-radius: 4px;
     background-color: #f9f9f9;
 }
 .product-faq summary {
     padding: 0.8rem 1rem;
     cursor: pointer;
     font-weight: bold;
     list-style: none; /* Standard-Pfeil entfernen */
     position: relative;
 }
  .product-faq summary::after { /* Eigener Pfeil */
     content: '▼';
     position: absolute;
     right: 1rem;
     transition: transform 0.2s ease;
 }
 .product-faq details[open] summary::after {
      transform: rotate(180deg);
 }
 .product-faq details p {
     padding: 0 1rem 1rem 1rem;
     margin: 0;
     line-height: 1.6;
 }
  /* Affiliate Hinweis deutlicher */
  .buy-now-banner small { font-size: 0.75rem; display: block; width: 100%; text-align: right; margin-top: 0.5rem; color: #6c757d;}


.amazon-price-note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff8e8;
    border-left: 4px solid #f0b400;
    color: #444;
}
.gadget-info .details-link {
    margin-left: 0.75rem;
}


/* Ergänzungen für lokale echte Produktbilder */
.product-image img,
.gadget-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.product-gallery.product-photo,
.product-photo img,
.product-image-placeholder.product-photo img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #fff;
    margin: 0 auto;
}
.card-excerpt {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}
.live-price strong {
    color: #b37a00;
}
.neutral-rating .rating-value {
    color: #666;
}
.detail-points {
    list-style: none;
    padding: 0;
    margin: 0;
}
.detail-points li {
    margin-bottom: 0.8rem;
}
.gadget-image img {
    width: 100%;
}



/* LIVE POLISH START */
.page-intro {
    margin: 0.75rem 0 1.75rem;
    font-size: 1.06rem;
    color: #555;
    line-height: 1.7;
}
.product-card {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.product-summary-row {
    display: grid;
    grid-template-columns: 280px minmax(0,1fr) 220px;
    gap: 28px;
    padding: 22px 24px;
    align-items: start;
}
.product-image {
    width: 280px;
    max-width: 100%;
    align-self: start;
}
.product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px;
}
.product-main-info {
    gap: 12px;
    min-width: 0;
}
.product-main-info h3 {
    margin: 0;
    font-size: 1.32rem;
    line-height: 1.32;
    color: #232323;
}
.quick-specs {
    font-size: 0.9rem;
    line-height: 1.6;
}
.card-excerpt {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4b4b4b;
}
.product-action-col {
    flex: none;
    border-left: none;
    padding-left: 0;
    gap: 14px;
    align-self: center;
}
.price-action {
    align-items: flex-start;
}
.price {
    font-size: 1.05rem;
    line-height: 1.4;
}
.offer-link,
.buy-button,
.gadget-buy-link {
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
}
.product-details.expanded {
    max-height: 900px;
    padding: 0 24px 22px 24px;
}
.product-details p {
    margin: 0 0 12px;
    line-height: 1.7;
}
.product-info {
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}
.product-photo img,
.product-image-placeholder.product-photo img {
    width: 100%;
    max-width: 100%;
    border: 1px solid #ececec;
    padding: 16px;
    background: #fff;
}
.product-summary h2 {
    font-size: 1.9rem;
    line-height: 1.24;
    margin-bottom: 0.75rem;
}
.product-short-description {
    font-size: 1.04rem;
    line-height: 1.75;
}
.buy-now-banner {
    gap: 0.85rem 1rem;
}
.key-features {
    grid-template-columns: repeat(2, minmax(0,1fr));
}
.tech-specs-table td:first-child {
    width: 28%;
}
.gadget-item {
    display: grid;
    grid-template-columns: 260px minmax(0,1fr);
    gap: 28px;
    align-items: start;
}
.gadget-image {
    width: 260px;
    max-width: 100%;
}
.gadget-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}
.gadget-info h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #232323;
}
@media (max-width: 1080px) {
    .product-summary-row {
        grid-template-columns: 220px minmax(0,1fr);
    }
    .product-action-col {
        grid-column: 2;
        align-self: start;
    }
    .product-image {
        width: 220px;
    }
}
@media (max-width: 760px) {
    .product-summary-row,
    .gadget-item,
    .product-info {
        grid-template-columns: 1fr;
    }
    .product-image,
    .gadget-image {
        width: min(320px, 100%);
        margin: 0 auto;
    }
    .product-action-col {
        grid-column: auto;
    }
    .key-features {
        grid-template-columns: 1fr;
    }
}
/* LIVE POLISH END */

/* FINAL EDITORIAL POLISH */
main > h2,
.article-container h1,
.ratgeber-container h1 {
    color: #232323;
    line-height: 1.22;
}

main > h2 {
    margin: 0;
    font-size: 2rem;
}

.page-intro,
.article-intro,
.ratgeber-intro {
    max-width: 880px;
    background: #fff8ef;
    border-left: 4px solid #A0791D;
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.2rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.article-container h1,
.ratgeber-container h1 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
}

.ratgeber-section {
    padding-bottom: 1.8rem;
}

.ratgeber-section p,
.gadget-info p,
.product-details p {
    line-height: 1.75;
}

.gadget-item {
    gap: 2rem;
    align-items: flex-start;
}

.gadget-image {
    flex: 0 0 220px;
}

.gadget-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 12px;
    display: block;
}

.gadget-info .details-link,
.full-details-link {
    font-weight: 600;
}

@media (max-width: 768px) {
    main > h2,
    .article-container h1,
    .ratgeber-container h1 {
        font-size: 1.7rem;
    }

    .gadget-image {
        flex-basis: 100%;
        max-width: 280px;
    }
}

/* ADMIN_AND_RELATIONS_STYLE */
.related-articles-box {
    background: #fffaf1;
    border: 1px solid #f1e1bf;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
}

.related-article-list li {
    margin-bottom: 0.7rem;
}

.partner-banner-section {
    margin-top: 2rem;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.partner-banner-card {
    background: #fff;
    border: 1px solid #ece3d1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.partner-banner-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #fff;
    border-bottom: 1px solid #f0ede6;
    padding: 12px;
}

.partner-banner-content {
    padding: 1rem 1rem 1.15rem;
}

.partner-banner-content h3 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    color: #232323;
}

.partner-banner-content p {
    margin: 0 0 1rem;
    line-height: 1.65;
}

.admin-page .article-intro {
    max-width: 1000px;
}

.admin-section {
    margin-top: 2rem;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
    align-items: center;
}

.admin-toolbar.right {
    justify-content: flex-end;
}

.static-btn {
    width: auto;
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.admin-status {
    margin: 0.5rem 0 0;
    font-weight: 600;
}

.admin-status[data-type="success"] { color: #1f7a37; }
.admin-status[data-type="error"] { color: #b42318; }

.admin-input,
.admin-select,
.admin-textarea {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    font: inherit;
    background: #fff;
    box-sizing: border-box;
}

.admin-textarea {
    min-height: 320px;
    resize: vertical;
}

.admin-textarea-small {
    min-height: 110px;
}

.admin-label {
    display: block;
    font-weight: 700;
    margin: 1rem 0 0.45rem;
    color: #333;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.admin-list {
    display: grid;
    gap: 0.9rem;
}

.admin-card,
.admin-banner-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.admin-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.admin-card-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-meta-row {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    color: #666;
}

.admin-open-link {
    display: inline-block;
    text-decoration: none;
}

.danger-btn {
    border-color: #d66;
    color: #9b1c1c;
}

.banner-admin-list {
    display: grid;
    gap: 1rem;
}

.admin-checkbox-row {
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.6rem;
}

@media (max-width: 768px) {
    .admin-card {
        flex-direction: column;
    }

    .admin-card-actions {
        justify-content: flex-start;
    }
}


/* Admin 2.0 */
.admin-page label {
  display:block;
  margin:0 0 .45rem;
  font-weight:600;
  color:#2d2d2d;
}
.wrap-toolbar {
  flex-wrap:wrap;
}
.admin-upload-label {
  display:inline-flex;
  align-items:center;
  gap:.8rem;
  background:#fff8ef;
  border:1px solid #ead9b4;
  border-radius:10px;
  padding:.75rem 1rem;
}
.admin-upload-label input[type="file"] {
  max-width:260px;
}
.admin-page-list {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1rem;
}
.admin-page-card {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  background:#fff;
  border:1px solid #ece4d2;
  border-radius:12px;
  padding:1rem 1.1rem;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
}
.admin-file-meta {
  margin-top:.35rem;
  color:#7b7b7b;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.admin-page-card-actions {
  flex:none;
}
.admin-preview-frame {
  width:100%;
  min-height:860px;
  border:1px solid #e4dcc9;
  border-radius:12px;
  background:#fff;
}
.banner-admin-list {
  display:grid;
  gap:1rem;
}
.admin-banner-card {
  background:#fff;
  border:1px solid #ece4d2;
  border-radius:12px;
  padding:1rem 1.1rem;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
}
.admin-hint {
  color:#666;
  line-height:1.65;
}
@media (max-width: 768px) {
  .admin-preview-frame {
    min-height:560px;
  }
  .admin-upload-label {
    width:100%;
    justify-content:space-between;
    flex-wrap:wrap;
  }
}


/* Legacy index alignment */
main > h1,
.legacy-home-intro h1 {
  margin: .3rem 0 1rem;
  font-size: 2.2rem;
  line-height: 1.18;
  color: #232323;
}
.legacy-home-intro h2,
.legacy-list-heading,
.ranking-headline {
  color: #232323;
}
.legacy-home-intro {
  max-width: 980px;
  margin: 0 auto 2rem;
}
.legacy-home-intro .legacy-hero-line {
  margin: 0 0 .7rem;
  font-size: 1.05rem;
  color: #7a5d22;
  font-weight: 600;
}
.legacy-home-intro p:not(.page-intro) {
  line-height: 1.75;
  color: #454545;
}
.legacy-list-heading {
  margin: 0 0 1.2rem;
  font-size: 1.7rem;
}
.ranking-headline {
  margin: 2rem 0 .9rem;
  padding: .9rem 1.1rem;
  background: linear-gradient(90deg, #fff8ef 0%, #ffffff 100%);
  border-left: 4px solid #A0791D;
  border-radius: 10px;
  font-size: 1.28rem;
}
.ranking-badge {
  display: inline-block;
  margin: 0 0 .55rem;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: #fff3d8;
  color: #8a6517;
  font-size: .84rem;
  font-weight: 700;
}


/* === LEGACY HEADER OVERRIDES === */
.top-brand-bar {
    background: #d97706;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.top-brand-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px 16px;
    text-align: center;
}

.top-brand-inner .brand-title {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 4px;
}

.top-brand-inner .brand-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.96);
    font-size: 1rem;
}

.main-nav.main-nav-inline {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    background: #2f2f2f;
    padding: 0;
    margin: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    z-index: 30;
}

.main-nav.main-nav-inline ul {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.main-nav.main-nav-inline ul li {
    display: block;
    margin: 0;
}

.main-nav.main-nav-inline ul li a {
    padding: 14px 16px;
    border-radius: 0;
}

.site-header-with-background.legacy-style-hero {
    position: relative;
    min-height: 320px;
    padding: 0;
    background-image: url('images/header-bild.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #3a3a3a;
    border-bottom: 1px solid rgba(0,0,0,0.10);
}

.site-header-with-background.legacy-style-hero::before {
    display: none;
}

.site-header-with-background.legacy-style-hero .header-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.14), rgba(0,0,0,0.22));
}

main {
    max-width: 1240px;
}

@media (max-width: 900px) {
    .top-brand-inner .brand-title {
        font-size: 1.25rem;
    }
    .top-brand-inner .brand-subtitle {
        font-size: 0.95rem;
    }
    .main-nav.main-nav-inline ul {
        justify-content: flex-start;
    }
    .main-nav.main-nav-inline ul li a {
        padding: 12px 12px;
        font-size: 0.95rem;
    }
    .site-header-with-background.legacy-style-hero {
        min-height: 250px;
    }
}

@media (max-width: 640px) {
    .top-brand-inner {
        padding: 12px 14px 14px;
    }
    .site-header-with-background.legacy-style-hero {
        min-height: 210px;
    }
}


/* === legacy redesign 2026 === */
:root {
    --legacy-gold: #a0791d;
    --legacy-gold-dark: #7e6013;
    --legacy-brown: #433015;
    --legacy-cream: #faf6ee;
    --legacy-shadow: 0 16px 36px rgba(55, 39, 15, 0.14);
}

body {
    background: linear-gradient(180deg, #f8f4ec 0%, #f4f4f4 220px);
    color: #2d2418;
}

#header.legacy-header-shell {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,246,238,0.96));
    border-bottom: 1px solid rgba(160,121,29,0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.legacy-branding {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px 16px;
}

#webname a {
    color: var(--legacy-brown);
    text-decoration: none;
    font-size: clamp(1.5rem, 2.7vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

#slogan {
    margin-top: 6px;
    color: #6f5a31;
    font-size: 1rem;
}

#nav {
    background: linear-gradient(90deg, var(--legacy-brown), #5a4218 55%, var(--legacy-gold-dark));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.legacy-nav {
    position: static;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
}

.legacy-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    padding: 0 10px;
}

.legacy-nav ul li {
    margin: 0;
}

.legacy-nav ul li a {
    padding: 14px 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 0;
}

.legacy-nav ul li a:hover,
.legacy-nav ul li a.active {
    background: rgba(255,255,255,0.11);
    color: #ffd775;
}

.legacy-slider {
    background: #ddd;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.3);
}

.legacy-slider-inner {
    --hero-image: none;
    position: relative;
    min-height: 260px;
    max-width: 1200px;
    margin: 0 auto;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.legacy-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28,20,9,0.74) 0%, rgba(28,20,9,0.48) 48%, rgba(28,20,9,0.28) 100%);
}

.legacy-slider-caption {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 38px 26px;
    color: #fffdf7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.legacy-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,215,117,0.18);
    border: 1px solid rgba(255,215,117,0.35);
    color: #ffe9b2;
    font-size: 0.9rem;
    font-weight: 700;
}

.legacy-slider-caption h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.08;
}

.legacy-slider-caption p {
    margin: 0;
    font-size: 1.08rem;
    max-width: 56ch;
    color: #fff7df;
}

main,
.container.article-container {
    max-width: 1200px;
    background: rgba(255,255,255,0.88);
    box-shadow: var(--legacy-shadow);
    border-radius: 18px;
    margin-top: 22px;
    margin-bottom: 28px;
}

.legacy-home-intro,
.product-detail-container,
.admin-section,
.admin-page .admin-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,246,238,0.95));
    border: 1px solid rgba(160,121,29,0.14);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(70,52,21,0.07);
}

.legacy-home-intro {
    padding: 24px;
    margin-bottom: 24px;
}

.legacy-list-heading,
.ranking-headline {
    color: var(--legacy-brown);
}

.product-card {
    border: 1px solid rgba(160,121,29,0.16);
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(55,39,15,0.06);
}

.product-card:hover {
    box-shadow: 0 14px 28px rgba(55,39,15,0.11);
}

.offer-link,
.buy-button,
button,
.admin-toolbar button,
label.admin-upload-label span {
    background: linear-gradient(180deg, #c69a2e, var(--legacy-gold));
    color: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(160,121,29,0.2);
}

.offer-link:hover,
.buy-button:hover,
button:hover,
.admin-toolbar button:hover,
label.admin-upload-label span:hover {
    filter: brightness(1.05);
}

.details-toggle {
    background: linear-gradient(180deg, #fff8e5, #f2e5be);
    border: 1px solid rgba(160,121,29,0.24);
    color: var(--legacy-brown);
    font-weight: 700;
}

footer {
    background: linear-gradient(180deg, #9d7720, #7f6117);
}

.footer-links a {
    color: #fff6da;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .legacy-branding {
        padding: 18px 16px 14px;
    }

    .legacy-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 6px;
    }

    .legacy-nav ul li a {
        white-space: nowrap;
        padding: 13px 12px;
        font-size: 0.95rem;
    }

    .legacy-slider-inner {
        min-height: 220px;
    }

    .legacy-slider-caption {
        padding: 24px 18px;
    }

    main,
    .container.article-container {
        border-radius: 0;
        margin-top: 0;
    }
}


/* Hero inline line */
.legacy-slider-caption {
    max-width: 100%;
    text-align: left;
}
.legacy-hero-title {
    display: block;
    font-size: clamp(1.15rem, 2vw, 1.75rem);
    font-weight: 800;
    color: #fffdf7;
}
.legacy-hero-meta {
    display: block;
    margin-top: 6px;
    font-size: .98rem;
    color: #fff1c8;
    white-space: normal;
}


/* Live Patch 2026 */
.legacy-slider-caption {
    max-width: min(1120px, calc(100% - 32px));
    width: max-content;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.legacy-hero-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.legacy-hero-row-main {
    background: rgba(18, 23, 34, 0.56);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 14px 36px rgba(0,0,0,.18);
}
.legacy-hero-row-sub {
    background: rgba(18, 23, 34, 0.46);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 10px 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.legacy-kicker.inline-kicker {
    margin: 0;
    white-space: nowrap;
}
.legacy-hero-title {
    display: inline-block;
    font-size: clamp(1.18rem, 2vw, 1.78rem);
    line-height: 1.15;
    font-weight: 800;
    color: #fffdf7;
    white-space: nowrap;
}
.legacy-hero-meta {
    display: inline-block;
    margin: 0;
    font-size: 1rem;
    color: #fff1c8;
    white-space: nowrap;
}
.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
}
.gift-card {
    background: #fff;
    border: 1px solid #ece3d4;
    border-radius: 14px;
    padding: 1rem 1rem 1.05rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.gift-card h3 {
    margin: 0 0 .55rem;
    font-size: 1.05rem;
}
.gift-card p {
    margin: 0 0 .8rem;
}
.gift-links {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.gift-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: .62rem .85rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}
.gift-links a.primary-link {
    background: linear-gradient(135deg, #f0a731, #d77a15);
    color: #fff;
}
.gift-links a.secondary-link {
    background: #f7f0e5;
    color: #70491e;
    border: 1px solid #e7d3b0;
}
.article-cta-list,
.topic-links {
    display: grid;
    gap: .75rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.topic-links a,
.article-cta-list a {
    display: block;
    padding: .95rem 1rem;
    background: #fffaf2;
    border: 1px solid #ecd9b9;
    border-radius: 12px;
    text-decoration: none;
    color: #50361a;
    font-weight: 700;
}
.muted-tip {
    color: #7b6450;
    font-size: .95rem;
}
@media (max-width: 980px) {
    .legacy-slider-caption,
    .legacy-hero-row,
    .legacy-hero-title,
    .legacy-hero-meta,
    .legacy-kicker.inline-kicker {
        white-space: normal;
    }
    .legacy-slider-caption,
    .legacy-hero-row {
        width: 100%;
        max-width: 100%;
    }
    .legacy-hero-row-main,
    .legacy-hero-row-sub {
        display: block;
    }
}


/* Final live polish 2026 */
body {
    background: linear-gradient(180deg, #f5efe6 0%, #fbf8f3 220px, #f8f4ee 100%);
    color: #2b251f;
}
#header.legacy-header-shell {
    box-shadow: 0 10px 28px rgba(40, 27, 12, 0.18);
}
main {
    max-width: 1200px;
    margin: -18px auto 48px;
    padding: 0 16px 10px;
}
.legacy-home-intro,
.comparison-lead,
.home-benefit-card,
.product-card,
.article-container,
.ratgeber-container {
    box-shadow: 0 14px 36px rgba(58, 39, 17, 0.08);
}
.legacy-home-intro {
    background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
    border: 1px solid #efdfc8;
    border-radius: 18px;
    padding: 28px 28px 24px;
}
.legacy-home-intro h1 {
    letter-spacing: -0.02em;
}
.legacy-home-intro .page-intro {
    font-size: 1.08rem;
    max-width: 900px;
}
.home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 18px 0 20px;
}
.home-benefit-card {
    background: linear-gradient(180deg, #fff7eb 0%, #ffffff 100%);
    border: 1px solid #ecd8b8;
    border-radius: 16px;
    padding: 20px 18px;
}
.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0b457, #d57c1c);
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.home-benefit-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}
.home-benefit-card p {
    margin: 0;
    color: #5f4b34;
}
.comparison-lead {
    background: #fff;
    border: 1px solid #efdfc8;
    border-radius: 16px;
    padding: 18px 22px;
    margin: 0 0 14px;
}
.comparison-lead-title {
    margin: 0 0 8px;
    font-size: 1.18rem;
    color: #5f3910;
}
.legacy-list-heading {
    margin-top: 24px;
}
.product-list {
    display: grid;
    gap: 18px;
}
.ranking-headline {
    margin: 12px 0 -6px;
    padding: 0 2px;
}
.product-card {
    border: 1px solid #eddcc4;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(63, 43, 19, 0.12);
}
.product-image img {
    border-radius: 16px;
}
.quick-specs {
    color: #6e5436;
}
.card-excerpt {
    color: #5f4b34;
    font-weight: 600;
}
.offer-link,
.details-toggle,
.details-link.full-details-link {
    border-radius: 12px;
    font-weight: 700;
}
.offer-link {
    background: linear-gradient(135deg, #efab35, #cf7616);
    box-shadow: 0 10px 20px rgba(207, 118, 22, 0.24);
}
.offer-link:hover {
    transform: translateY(-1px);
}
.details-toggle,
.details-link.full-details-link {
    background: #fff3dc;
    color: #6a4314;
    border: 1px solid #ebd0a5;
}
.details-link.full-details-link {
    display: inline-flex;
    padding: 11px 15px;
    text-decoration: none;
}
.article-container,
.ratgeber-container {
    background: #fff;
    border: 1px solid #efdfc8;
    border-radius: 18px;
    padding: 24px 24px 18px;
}
.breadcrumbs {
    background: #fff8ee;
    border: 1px solid #ecdcbf;
    border-radius: 12px;
    padding: 10px 14px;
}
footer {
    border-top: 1px solid #eadcc7;
    background: #fbf7f1;
}
@media (max-width: 760px) {
    main {
        margin-top: -8px;
        padding: 0 12px 12px;
    }
    .legacy-home-intro,
    .article-container,
    .ratgeber-container,
    .comparison-lead {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .product-card {
        border-radius: 16px;
    }
}


/* Gift cards visibility patch 2026 */
.gift-grid-rich {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.gift-card-rich {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gift-card-media {
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #fff7ee 0%, #f7eee2 100%);
    overflow: hidden;
}
.gift-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gift-card-body {
    padding: 1rem 1rem 1.05rem;
}
.gift-card-rich h3 {
    margin: 0 0 .55rem;
    font-size: 1.05rem;
    line-height: 1.3;
}
.gift-card-rich p {
    margin: 0 0 .75rem;
    color: #5f4b34;
}
.gift-mini-list {
    margin: 0 0 .9rem;
    padding-left: 1.05rem;
    color: #6a5338;
    display: grid;
    gap: .28rem;
}
.gift-mini-list li {
    margin: 0;
}
.gift-card-rich .gift-links {
    margin-top: auto;
}


/* Go live menu and herde patch 2026 */
#nav,
.main-nav,
.main-nav ul,
.dropdown {
    position: relative;
}
#nav,
.main-nav {
    z-index: 50;
}
.main-nav ul {
    overflow: visible;
}
.dropdown-toggle {
    cursor: pointer;
}
.dropdown .dropdown-menu {
    z-index: 120;
    min-width: 240px;
}
.dropdown.open > .dropdown-toggle,
.dropdown-toggle:hover {
    color: #ffd775;
}
.ueber-uns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
}
.ueber-uns-card {
    background: linear-gradient(180deg, #fff8ef 0%, #fff 100%);
    border: 1px solid #ecd8b7;
    border-radius: 14px;
    padding: 1rem 1rem 1.05rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.herd-overview-box {
    background: #fff8ee;
    border: 1px solid #ecd8b7;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 0 0 18px;
}
.herd-overview-box h2 {
    margin-top: 0;
}
.herd-overview-box ul {
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .dropdown .dropdown-menu {
        min-width: 100%;
        width: max-content;
        max-width: min(92vw, 340px);
    }
}


/* Mobile menu final patch 2026 */
.mobile-nav-toggle {
    display: none;
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: #fff7df;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.mobile-nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    margin: 3px 0;
}
.mobile-nav-toggle-text {
    margin-left: 6px;
    letter-spacing: .01em;
}
@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: inline-flex;
    }
    .legacy-nav {
        padding: 8px 0 10px;
    }
    .legacy-nav > ul,
    .legacy-nav #mainNavList {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 10px 10px;
    }
    .legacy-nav.mobile-open > ul,
    .legacy-nav.mobile-open #mainNavList {
        display: flex;
    }
    .legacy-nav ul li,
    .legacy-nav #mainNavList li {
        width: 100%;
    }
    .legacy-nav ul li a,
    .legacy-nav #mainNavList li a {
        display: block;
        padding: 13px 14px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .dropdown .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        margin: 0 0 6px;
        box-shadow: none;
        border-radius: 10px;
        background: rgba(255,255,255,0.08);
        transform: none;
        opacity: 1;
        visibility: visible;
        padding: 4px 0;
    }
    .dropdown .dropdown-menu.show {
        display: block;
    }
    .dropdown-menu li a {
        padding-left: 24px;
        font-size: 0.95rem;
    }
}


/* Header alignment and visible mobile menu fix 2026 */
.legacy-slider-caption {
    display: block;
    max-width: min(1120px, calc(100% - 32px));
    width: max-content;
    text-align: left;
}
.legacy-kicker.inline-kicker {
    display: inline-block;
    margin: 0 0 12px;
    white-space: nowrap;
}
.legacy-hero-title {
    display: block;
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.78rem);
    line-height: 1.14;
    font-weight: 800;
    color: #fffdf7;
    white-space: nowrap;
}
.legacy-hero-meta {
    display: block;
    margin: 10px 0 0;
    font-size: 1rem;
    color: #fff1c8;
    white-space: nowrap;
}
.mobile-nav-toggle {
    position: relative;
    z-index: 160;
}
@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: flex !important;
        width: calc(100% - 20px);
        margin: 10px auto 8px;
        background: rgba(255,255,255,0.16) !important;
        border: 1px solid rgba(255,255,255,0.28) !important;
        color: #fff8e6 !important;
        box-shadow: 0 8px 18px rgba(0,0,0,.18);
    }
    .legacy-nav {
        padding: 8px 0 12px;
    }
    .legacy-nav > ul,
    .legacy-nav #mainNavList {
        display: none !important;
    }
    .legacy-nav.mobile-open > ul,
    .legacy-nav.mobile-open #mainNavList {
        display: flex !important;
    }
    .legacy-slider-caption,
    .legacy-kicker.inline-kicker,
    .legacy-hero-title,
    .legacy-hero-meta {
        white-space: normal;
        width: 100%;
        max-width: 100%;
    }
}

/* Header overflow fix 2026-07 */
.legacy-slider-inner {
    min-height: clamp(220px, 28vw, 320px);
}
.legacy-slider-caption {
    width: auto !important;
    max-width: min(760px, calc(100% - 48px)) !important;
    padding: 28px 22px !important;
    display: block !important;
    text-align: left;
}
.legacy-kicker.inline-kicker {
    white-space: normal !important;
    font-size: 0.84rem;
    line-height: 1.35;
}
.legacy-hero-title {
    display: block;
    margin: 0;
    max-width: 24ch;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: clamp(1.02rem, 1.2vw + 0.72rem, 1.62rem) !important;
    line-height: 1.2 !important;
}
.legacy-hero-meta {
    margin-top: 10px;
    max-width: 56ch;
    white-space: normal !important;
    font-size: 0.95rem;
    line-height: 1.45;
}
@media (max-width: 900px) {
    .legacy-slider-caption {
        max-width: calc(100% - 28px) !important;
        padding: 20px 14px !important;
    }
    .legacy-hero-title {
        max-width: 100%;
        font-size: clamp(0.98rem, 4.2vw, 1.28rem) !important;
    }
    .legacy-hero-meta {
        font-size: 0.9rem;
    }
}


/* === FINAL MENU WIDTH + SEO POLISH OVERRIDES === */
/* Menübalken nur so breit wie der Bereich darunter und insgesamt schmäler */
#nav {
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 0 0 14px 14px;
    overflow: visible;
}

.legacy-nav {
    max-width: 1080px;
}

.legacy-nav ul {
    justify-content: center;
    padding: 0 8px;
}

.legacy-nav ul li a {
    padding: 13px 14px;
    font-size: 0.95rem;
}

.legacy-slider-inner {
    min-height: 300px;
    max-width: 1080px;
}

.legacy-slider-overlay {
    background: linear-gradient(90deg, rgba(28,20,9,0.62) 0%, rgba(28,20,9,0.38) 38%, rgba(28,20,9,0.16) 100%);
}

.legacy-slider-caption {
    max-width: 430px;
    padding: 22px 18px;
}

.legacy-kicker {
    font-size: 0.75rem;
    padding: 6px 10px;
}

.legacy-slider-caption h2 {
    font-size: clamp(1.18rem, 2vw, 1.75rem);
    line-height: 1.1;
}

.legacy-slider-caption p {
    font-size: 0.9rem;
    max-width: 38ch;
}

#webname a {
    font-size: clamp(1.16rem, 1.85vw, 1.55rem);
}

#slogan {
    font-size: 0.84rem;
}

.legacy-branding {
    padding: 14px 18px 10px;
}

.compact-page-intro {
    padding: 24px;
}

@media (min-width: 1200px) {
    #nav,
    .legacy-nav,
    .legacy-slider-inner {
        max-width: 1040px;
    }
}

@media (max-width: 900px) {
    #nav,
    .legacy-nav,
    .legacy-slider-inner {
        max-width: calc(100% - 24px);
    }
    .legacy-slider-caption {
        max-width: 86%;
    }
}
