/*
Theme Name: Ran an den Fuchs v137
Theme URI: https://ran-an-den-fuchs.de
Description: v137 (2026-03-23) — Desktop-Dropdown heller + Glaseffekt. Child-Theme auf Storefront-Basis.
Author: Anne Lindner / Ran an den Fuchs
Author URI: https://ran-an-den-fuchs.de
Template: storefront
Version: 137.0.0
Text Domain: ran-an-den-fuchs

WICHTIG: STOREFRONT PARENT-THEME ERFORDERLICH
Dieses Child-Theme benötigt das vollständige Storefront Parent-Theme.
Storefront muss über WordPress Admin > Design > Themes installiert werden.
Ohne vollständiges Storefront funktioniert das Child-Theme nicht korrekt.

LOKALE ENTWICKLUNG - STOREFRONT VOLLSTÄNDIG INSTALLIEREN:
1. WordPress Admin > Design > Themes > Theme hinzufügen
2. Nach "Storefront" suchen und installieren
3. NICHT aktivieren - nur installieren
4. Child-Theme "Ran an den Fuchs" aktivieren
5. Prüfen: /wp-content/themes/storefront/ muss vollständig vorhanden sein

WOOCOMMERCE TEMPLATES:
WooCommerce-Templates werden automatisch vom Parent-Theme Storefront geladen.
Template-Overrides werden bei Bedarf über functions.php registriert.
Custom Styling erfolgt über CSS.
*/

:root{--radf-warm:#d99962;--radf-warm-dark:#c08049;--radf-warm-light:#f0d5b8;--radf-earth:#8b6f47;--radf-cream:#faf6f1;--radf-cream-dark:#f0e8dd;--radf-text:#3a3a3a;--radf-text-light:#6d6d6d;--radf-white:#ffffff;--radf-dark:#2c2118;--radf-shadow:0 8px 32px rgba(0,0,0,0.08);--radf-shadow-lg:0 16px 64px rgba(0,0,0,0.12);--radf-radius:12px;--radf-radius-lg:20px;--font-body:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;--font-heading:Georgia,'Times New Roman',Times,serif;--font-mono:'SF Mono',Monaco,'Cascadia Code','Roboto Mono',Consolas,'Courier New',monospace;--bp-xs:480px;--bp-sm:576px;--bp-md:768px;--bp-lg:992px;--bp-xl:1200px;--bp-xxl:1400px}



/* ============================================================
   CRITICAL FIX: Storefront .col-full hat max-width: ~1064px.
   Auf der Startseite muss das aufgehoben werden, damit Hero,
   Bekannt-aus, Sektionen und Kontakt volle Breite haben.
   Jede Sektion regelt ihre eigene max-width intern.
   ============================================================ */
/* Startseite: komplett randlos (Sektionen regeln max-width intern) */
body.radf-transparent-header #content > .col-full {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
/* ALLE Unterseiten: volle Breite, dezenter Rand */
#content > .col-full {
    max-width: 1400px !important;
    width: 100% !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}

/* ============================================================
   SKIP LINKS (WCAG 2.4.1)
   ============================================================ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
    z-index: 999999;
    padding: 0.5rem 1rem;
    background: var(--radf-dark);
    color: var(--radf-cream);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}
.skip-link:focus {
    position: absolute;
    left: 6px;
    top: 6px;
    outline: 2px solid var(--radf-warm);
    outline-offset: 2px;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
body {
    font-family: 'Inter', sans-serif !important;
    color: var(--radf-text);
    background: var(--radf-cream) !important;
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
    color: var(--radf-text);
    line-height: 1.2;
}
a { transition: all 0.3s ease; }
img { border-radius: 0; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 999;
    background: rgba(250, 246, 241, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0.4rem 2rem !important;
    border-bottom: none !important;
    transition: all 0.4s ease;
}
/* Alle Seiten: padding-top damit Inhalt nicht hinter fixem Header verschwindet */
.site-content {
    padding-top: 180px;
}
/* Startseite: KEIN padding-top, Hero geht bis ganz oben */
body.radf-transparent-header .site-content {
    padding-top: 0 !important;
}

/* === TRANSPARENT HEADER AUF STARTSEITE (Standard = transparent) === */
/* WICHTIG: Storefront setzt inline background-color via storefront_header_styles().
   !important ueberschreibt inline styles zuverlaessig. */
body.radf-transparent-header .site-header,
body.radf-transparent-header #masthead {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
}
/* Alle Header-Elemente weiss auf der Startseite */
body.radf-transparent-header .site-header .site-title a,
body.radf-transparent-header .site-header .site-title a:hover,
body.radf-transparent-header .site-header .custom-logo-link img {
    color: #fff !important;
    filter: brightness(10); /* Logo-Bild weiss machen */
}
body.radf-transparent-header .site-header .main-navigation a {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.radf-transparent-header .site-header .main-navigation a:hover {
    color: var(--radf-warm-light) !important;
}
body.radf-transparent-header .site-header .site-header-cart .cart-contents,
body.radf-transparent-header .site-header .site-header-cart .amount {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.radf-transparent-header .site-header .site-header-cart .count {
    background: var(--radf-warm) !important;
    color: #fff !important;
}
/* Sub-Menus bleiben dunkel */
body.radf-transparent-header .site-header .sub-menu {
    background: rgba(250, 246, 241, 0.98) !important;
}
body.radf-transparent-header .site-header .sub-menu a {
    color: var(--radf-text) !important;
    text-shadow: none !important;
}

/* === WENN GESCROLLT: Header wird wieder solid === */
body.radf-transparent-header .site-header.is-scrolled,
body.radf-transparent-header #masthead.is-scrolled {
    background: rgba(250, 246, 241, 0.97) !important;
    background-color: rgba(250, 246, 241, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}
body.radf-transparent-header .site-header.is-scrolled .site-title a {
    color: var(--radf-warm) !important;
    filter: none !important;
}
body.radf-transparent-header .site-header.is-scrolled .custom-logo-link img {
    filter: none !important;
}
body.radf-transparent-header .site-header.is-scrolled .main-navigation a {
    color: var(--radf-text) !important;
    text-shadow: none !important;
}
body.radf-transparent-header .site-header.is-scrolled .site-header-cart .cart-contents,
body.radf-transparent-header .site-header.is-scrolled .site-header-cart .amount {
    color: var(--radf-text) !important;
    text-shadow: none !important;
}

.site-header .col-full {
    max-width: 1400px;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}

/* Logo / Site Title */
.site-branding {
    padding: 0 !important;
}
.site-title {
    font-family: 'Caveat', cursive !important;
    font-size: 1.6rem !important;
    font-weight: 600;
}
.site-title a {
    color: var(--radf-warm) !important;
    text-decoration: none !important;
}
.site-title a:hover { opacity: 0.8; }
.site-description { display: none; }
.custom-logo-link img {
    max-height: 50px !important;
}

/* Navigation */
.main-navigation {
    padding: 0 !important;
}
/* Navigation: Hauptmenue horizontal in einer Zeile */
.main-navigation ul.menu,
.main-navigation ul.nav-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.main-navigation ul.menu > li {
    position: relative !important;
}
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: var(--radf-text) !important;
    padding: 0.8rem 0 !important;
    letter-spacing: 0.02em;
    position: relative;
    text-transform: none !important;
    white-space: nowrap;
}
.main-navigation ul.menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--radf-warm);
    transition: width 0.3s ease;
}
.main-navigation ul.menu > li > a:hover::after,
.main-navigation ul.menu > li.current-menu-item > a::after {
    width: 100%;
}
.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a {
    color: var(--radf-warm) !important;
}
.main-navigation ul li { margin: 0 1rem !important; }

/* Dropdown: Untermenues als Flyout (NICHT inline!) */
.main-navigation ul.menu ul,
.main-navigation ul.nav-menu ul {
    display: none !important;
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    z-index: 9999 !important;
    min-width: 200px;
    background: var(--radf-white) !important;
    border: none !important;
    box-shadow: var(--radf-shadow-lg) !important;
    border-radius: var(--radf-radius) !important;
    padding: 0.5rem 0 !important;
    flex-direction: column !important;
}
/* Dropdown oeffnen bei Hover (ALLE Ebenen, nicht nur erste) */
.main-navigation ul.menu > li:hover > ul,
.main-navigation ul.nav-menu > li:hover > ul,
.main-navigation ul.menu ul li:hover > ul,
.main-navigation ul.nav-menu ul li:hover > ul {
    display: block !important;
}
/* Sub-Sub-Menues: nach rechts aufklappen statt nach unten */
.main-navigation ul.menu ul ul,
.main-navigation ul.nav-menu ul ul {
    left: 100% !important;
    top: 0 !important;
}
/* Dropdown-Items vertikal anordnen */
.main-navigation ul.menu ul li,
.main-navigation ul.nav-menu ul li {
    margin: 0 !important;
    width: 100%;
}
.main-navigation ul.menu ul li a {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
}
.main-navigation ul.menu ul li a:hover {
    background: var(--radf-cream) !important;
    color: var(--radf-warm) !important;
}
/* Storefront Dropdown-Pfeile komplett verstecken:
   1) button.dropdown-toggle (JS-generiert)
   2) ::after Pseudo-Elemente auf menu-item-has-children (CSS-generiert) */
.main-navigation .dropdown-toggle,
.main-navigation button.dropdown-toggle,
.storefront-primary-navigation .dropdown-toggle,
.site-header .dropdown-toggle,
#site-navigation .dropdown-toggle,
button[aria-expanded].dropdown-toggle {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    position: absolute !important;
}
/* Storefront CSS-Pfeile (::after auf Links mit Untermenus) */
.main-navigation li.menu-item-has-children > a::after,
.main-navigation li.page_item_has_children > a::after,
.storefront-primary-navigation li.menu-item-has-children > a::after,
.site-header .menu-item-has-children > a::after,
.main-navigation li.menu-item-has-children > a::before,
.main-navigation li.page_item_has_children > a::before {
    display: none !important;
    content: none !important;
}

/* CRITICAL FIX: Storefront header uses float layout (branding float:left, cart float:right,
   nav clear:both). Override with flexbox so logo/nav/cart sit in one row properly. */
.site-header .col-full {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}
.site-header .site-branding {
    float: none !important;
    flex-shrink: 0;
}
.site-header .main-navigation {
    clear: none !important;
    flex: 1;
    display: flex !important;
    justify-content: center !important;
}
/* Cart icon — always far right */
.site-header-cart {
    float: none !important;
    margin-left: auto !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
}
.site-header-cart .cart-contents {
    color: var(--radf-text) !important;
    font-size: 0.85rem;
    white-space: nowrap;
}
.site-header-cart .count {
    background: var(--radf-warm-dark) !important;
    color: white !important;
    border-radius: 50px;
    padding: 0.25rem 0.7rem !important;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
    margin-left: 0.3rem;
    letter-spacing: 0.01em;
}

/* Search bar */
.storefront-product-search {
    display: none !important;
}

/* ============================================================
   HOMEPAGE HERO SECTION
   ============================================================ */
.radf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.radf-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.radf-hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(20,15,10,0.65) 0%,
        rgba(40,30,20,0.4) 50%,
        rgba(20,15,10,0.55) 100%);
}
.radf-hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}
.radf-hero-badge {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: var(--radf-warm-light);
    margin-bottom: 1rem;
    opacity: 0; transform: translateY(20px);
    animation: radfFadeUp 0.8s 0.3s forwards;
}
.radf-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.15 !important;
    margin-bottom: 0.5rem !important;
    opacity: 0; transform: translateY(30px);
    animation: radfFadeUp 0.8s 0.5s forwards;
}
.radf-hero h1 em {
    font-style: italic;
    color: var(--radf-warm-light);
}
.radf-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0; transform: translateY(20px);
    animation: radfFadeUp 0.8s 0.7s forwards;
}
.radf-hero-btns {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
    opacity: 0; transform: translateY(20px);
    animation: radfFadeUp 0.8s 0.9s forwards;
}

@keyframes radfFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.radf-btn,
.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
}
.radf-btn-primary,
.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.button:not(.btn-outline),
.woocommerce button.button:not(.btn-outline) {
    background: var(--radf-warm) !important;
    color: var(--radf-white) !important;
    box-shadow: 0 4px 20px rgba(217,153,98,0.4) !important;
}
.radf-btn-primary:hover,
.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--radf-warm-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(217,153,98,0.5) !important;
}
.radf-btn-outline {
    background: transparent !important;
    border: 2px solid var(--radf-warm) !important;
    color: var(--radf-warm) !important;
}
.radf-btn-outline:hover {
    background: var(--radf-warm) !important;
    color: white !important;
}
.radf-btn-white {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    color: white !important;
}
.radf-btn-white:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: white !important;
}
.radf-btn-lg {
    padding: 1.1rem 2.5rem !important;
    font-size: 1.05rem !important;
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */
.radf-section {
    padding: 6rem 2rem;
}
.radf-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.radf-section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.radf-section-label {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: var(--radf-warm);
    margin-bottom: 0.5rem;
}
.radf-section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    margin-bottom: 1rem !important;
}
.radf-section-header p {
    font-size: 1.05rem;
    color: var(--radf-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Bekannt aus */
.radf-bekannt {
    background: var(--radf-white);
    padding: 3rem 2rem;
    text-align: center;
}
.radf-bekannt-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--radf-text-light);
    margin-bottom: 1.5rem;
}
.radf-bekannt-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.radf-bekannt-logos span,
.radf-bekannt-logos a {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--radf-text-light);
    opacity: 0.6;
    transition: opacity 0.3s;
    white-space: nowrap;
    text-decoration: none;
}
.radf-bekannt-logos span:hover,
.radf-bekannt-logos a:hover { opacity: 1; }
/* Logos als Bilder */
.radf-bekannt-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}
.radf-bekannt-logo img {
    max-height: 45px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    object-fit: contain;
}
.radf-bekannt-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Karten-Platzhalter wenn kein Bild */
.radf-card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--radf-cream) 0%, var(--radf-cream-dark) 100%);
    border-radius: var(--radf-radius) var(--radf-radius) 0 0;
}

/* About centered (wenn kein Bild) */
.radf-about-centered {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Card Grid */
.radf-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Tier-Cards */
.radf-card {
    background: var(--radf-white);
    border-radius: var(--radf-radius-lg);
    overflow: hidden;
    box-shadow: var(--radf-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
    color: inherit !important;
}
.radf-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--radf-shadow-lg);
}
.radf-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.radf-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 0 !important;
}
.radf-card:hover .radf-card-img img { transform: scale(1.05); }
.radf-card-body {
    padding: 1.5rem;
}
.radf-card-body h3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem !important;
}
.radf-card-body p {
    font-size: 0.92rem;
    color: var(--radf-text-light);
    margin-bottom: 1rem;
}
.radf-card-link {
    color: var(--radf-warm);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.3s;
}
.radf-card:hover .radf-card-link { gap: 0.6rem; }

/* Two Column (Ueber mich) */
.radf-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.radf-two-col-img {
    position: relative;
    border-radius: var(--radf-radius-lg);
    overflow: hidden;
    box-shadow: var(--radf-shadow-lg);
}
.radf-two-col-img img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 0 !important;
}
.radf-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--radf-cream-dark);
}
.radf-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--radf-warm);
}
.radf-stat-label {
    font-size: 0.85rem;
    color: var(--radf-text-light);
}

/* Kurs-Cards */
.radf-kurs-card {
    background: var(--radf-white);
    border-radius: var(--radf-radius-lg);
    padding: 2rem;
    box-shadow: var(--radf-shadow);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}
.radf-kurs-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--radf-warm);
}
.radf-kurs-card:hover { transform: translateY(-4px); }
.radf-kurs-icon {
    width: 56px; height: 56px;
    background: rgba(217,153,98,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--radf-warm);
}
.radf-kurs-tag {
    display: inline-block;
    background: var(--radf-cream);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--radf-earth);
    margin-right: 0.4rem;
    margin-bottom: 0.5rem;
}
.radf-kurs-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--radf-warm-dark);
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Blog Cards */
.radf-blog-card {
    background: var(--radf-cream);
    border-radius: var(--radf-radius-lg);
    overflow: hidden;
    transition: transform 0.3s;
    text-decoration: none !important;
    color: inherit !important;
}
.radf-blog-card:hover { transform: translateY(-4px); }
.radf-blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.radf-blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 0 !important;
}
.radf-blog-card:hover .radf-blog-card-img img { transform: scale(1.05); }
.radf-blog-card-body { padding: 1.5rem; }
.radf-blog-date {
    font-size: 0.8rem;
    color: var(--radf-warm);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Kontakt */
.radf-kontakt {
    background: linear-gradient(135deg, #2c2118 0%, #3d2e20 100%) !important;
    color: white;
}
.radf-kontakt h2 { color: white !important; }
.radf-kontakt p { color: rgba(255,255,255,0.7); }
.radf-kontakt .radf-section-label { color: var(--radf-warm-light); }
.radf-kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.radf-kontakt-icon {
    width: 48px; height: 48px;
    background: rgba(217,153,98,0.12);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--radf-warm);
}
.radf-kontakt-item {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.2rem;
}
.radf-kontakt-item a { color: white !important; }
.radf-kontakt-item a:hover { color: var(--radf-warm-light) !important; }
.radf-kontakt-form input,
.radf-kontakt-form textarea,
.radf-kontakt-form select {
    width: 100%; padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: var(--radf-radius) !important;
    color: white !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s, background 0.3s;
    margin-bottom: 1rem;
}
.radf-kontakt-form input::placeholder,
.radf-kontakt-form textarea::placeholder {
    color: rgba(255,255,255,0.4) !important;
}
.radf-kontakt-form input:focus,
.radf-kontakt-form textarea:focus {
    outline: none;
    border-color: var(--radf-warm) !important;
    background: rgba(255,255,255,0.12) !important;
}
.radf-kontakt-form textarea { min-height: 140px; resize: vertical; }
.radf-kontakt-form .radf-form-field { margin-bottom: 1rem; }
.radf-kontakt-form label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

/* ============================================================
   WOOCOMMERCE SHOP
   ============================================================ */

/* Product grid */
.woocommerce ul.products,
ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
}
/* CRITICAL FIX: Storefront clearfix pseudo-elements become invisible grid cells.
   Without this, the first grid slot is an empty ::before, pushing all products by one. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products.columns-3::before,
ul.products.columns-3::after {
    display: none !important;
    content: none !important;
}
.woocommerce ul.products li.product,
ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
    background: var(--radf-cream);
    border-radius: var(--radf-radius-lg) !important;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
/* Override Storefront .first/.last classes that add margins/clear in float layouts */
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
    margin: 0 !important;
    clear: none !important;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--radf-shadow-lg);
}
.woocommerce ul.products li.product a img {
    border-radius: 0 !important;
    margin: 0 !important;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s;
}
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.06);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important;
    padding: 0.8rem 1.5rem 0 !important;
    color: var(--radf-text) !important;
}
.woocommerce ul.products li.product .price {
    padding: 0.3rem 1.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--radf-warm-dark) !important;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
    margin: 0.8rem 1.5rem 1.5rem !important;
    width: calc(100% - 3rem) !important;
    justify-content: center;
    background: var(--radf-warm) !important;
    color: white !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background: var(--radf-warm) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 0.3rem 0.8rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
}

/* Single Product */
.woocommerce div.product {
    max-width: 1200px;
    margin: 0 auto;
}
.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-product-gallery {
    border-radius: var(--radf-radius-lg);
    overflow: hidden;
}
.woocommerce div.product div.images img {
    border-radius: 0 !important;
    width: 100% !important;
    height: auto !important;
}
/* Galerie: volle Breite INNERHALB des images-Containers.
   In modernem WC ist div.images == .woocommerce-product-gallery (gleiche Klasse).
   Trotzdem sicherheitshalber auch als Kind-Selektor: */
.woocommerce div.product div.images .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}
.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
}
/* Summary oben buendig mit Bild, eigener Hintergrund damit Text nie ueber Bild laeuft */
.woocommerce div.product div.summary,
.woocommerce #content div.product div.summary {
    margin-top: 0 !important;
    padding: 2rem !important;
    background: var(--radf-cream) !important;
    border-radius: var(--radf-radius-lg) !important;
    position: relative !important;
    z-index: 1 !important;
}
.woocommerce div.product .product_title {
    font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
    margin-bottom: 0.5rem !important;
}
.woocommerce div.product p.price {
    font-size: 1.8rem !important;
    color: var(--radf-warm-dark) !important;
    font-weight: 700 !important;
}
.woocommerce div.product .variations {
    margin-bottom: 1rem;
}
.woocommerce div.product .variations td {
    padding: 0.5rem 0;
}
.woocommerce div.product .variations select {
    padding: 0.8rem 1rem !important;
    border: 2px solid var(--radf-cream-dark) !important;
    border-radius: var(--radf-radius) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    background: var(--radf-white) !important;
    transition: border-color 0.3s;
}
.woocommerce div.product .variations select:focus {
    border-color: var(--radf-warm) !important;
    outline: none;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1rem;
    color: var(--radf-text-light);
    margin-bottom: 1.5rem;
    max-height: 12em;
    overflow-y: auto;
    line-height: 1.7;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    border-radius: 50px !important;
    margin-right: 0.5rem !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 0.6rem 1.2rem !important;
    color: var(--radf-text-light) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--radf-warm) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: white !important;
}

/* Cart */
.woocommerce-cart .woocommerce table.cart {
    border-radius: var(--radf-radius-lg);
    overflow: hidden;
    border: none !important;
}
.woocommerce-cart .woocommerce table.cart th,
.woocommerce-cart .woocommerce table.cart td {
    border: none !important;
    padding: 1rem !important;
}
.woocommerce-cart .woocommerce table.cart th {
    background: var(--radf-cream) !important;
}

/* Checkout */
.woocommerce-checkout #payment {
    background: var(--radf-white) !important;
    border-radius: var(--radf-radius-lg) !important;
    border: none !important;
}

/* ============================================================
   BLOG / POSTS
   ============================================================ */
.hentry {
    background: var(--radf-white);
    border-radius: var(--radf-radius-lg);
    overflow: hidden;
    box-shadow: var(--radf-shadow);
    margin-bottom: 2rem;
    border: none !important;
}
.hentry .entry-header {
    padding: 2rem 2rem 0 !important;
}
.hentry .entry-content {
    padding: 0 2rem 2rem !important;
}
.hentry .post-thumbnail img {
    border-radius: 0 !important;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Blog-Vorschau: Titel-Overlay auf Bildern lesbar machen */
/* NUR auf Blog-Seiten, NICHT auf normalen Seiten (sonst verdeckt es Videos etc.) */
.rt-holder .rt-detail,
.post-grid-item .entry-title-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
}
.rt-holder .rt-detail *,
.rt-holder .rt-detail a {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    font-weight: 600 !important;
}

.entry-title,
.entry-title a {
    font-size: 1.8rem !important;
    color: var(--radf-text) !important;
}

/* Footer Links Overflow Fix - Mobile Responsive */
@media (max-width: 768px) {
    .site-footer .widget ul,
    .site-footer .widget-area ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        list-style: none !important;
        padding: 0 !important;
    }
    .site-footer .widget li,
    .site-footer .widget-area li {
        flex: none !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .site-footer .widget a,
    .site-footer .widget-area a {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        display: block !important;
        padding: 0.25rem 0 !important;
        line-height: 1.4 !important;
    }
}
        hyphens: auto !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        display: block !important;
        padding: 0.25rem 0 !important;
    }
}
.entry-title a:hover { color: var(--radf-warm) !important; }

/* Footer Links Overflow Fix */
.site-footer .widget ul,
.site-footer .widget-area ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem 1rem !important;
    list-style: none !important;
    padding: 0 !important;
}
.site-footer .widget li,
.site-footer .widget-area li {
    flex: 0 0 auto !important;
    margin: 0 !important;
}
.site-footer .widget a,
.site-footer .widget-area a {
    word-break: break-word !important;
    hyphens: auto !important;
}

@media (max-width: 576px) {
    .site-footer .widget ul,
    .site-footer .widget-area ul {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .site-footer .widget a,
    .site-footer .widget-area a {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

/* ============================================================
   SIDEBAR / WIDGETS
   ============================================================ */
.widget {
    background: var(--radf-white);
    border-radius: var(--radf-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--radf-shadow);
    margin-bottom: 1.5rem;
    border: none !important;
}
.widget-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--radf-cream-dark) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--radf-dark) !important;
    color: rgba(255,255,255,0.85) !important;
    padding: 3rem 2rem 1.5rem !important;
    border-top: none !important;
}
.site-footer .col-full {
    max-width: 1400px !important;
    width: 100% !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}
/* Footer-Links: auf schmalen Screens umbrechen lassen */
.site-footer a,
.site-footer .textwidget a {
    word-break: break-word !important;
    white-space: normal !important;
}
.site-footer h4,
.site-footer .widget-title {
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}
.site-footer a {
    color: rgba(255,255,255,0.75) !important;
}
.site-footer a:hover {
    color: var(--radf-warm) !important;
}
/* Footer-Logos: monochrom weiss, beim Hover Originalfarben */
.site-footer .widget img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.7;
    transition: all 0.4s ease;
}
.site-footer .widget img:hover {
    filter: none !important;
    opacity: 1;
}
/* DHL + PayPal: mehrfarbige Logos immer in Originalfarben zeigen */
.site-footer .widget img[src*="dhl" i],
.site-footer .widget img[alt*="DHL"],
.site-footer .widget img[src*="paypal" i],
.site-footer .widget img[alt*="PayPal"] {
    filter: none !important;
    opacity: 0.85;
}
.site-footer .widget img[src*="dhl" i]:hover,
.site-footer .widget img[alt*="DHL"]:hover,
.site-footer .widget img[src*="paypal" i]:hover,
.site-footer .widget img[alt*="PayPal"]:hover {
    opacity: 1;
}
.site-footer .widget {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.site-info {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding-top: 1.5rem !important;
    margin-top: 2rem !important;
    font-size: 0.8rem !important;
}

/* Footer logo */
.radf-footer-logo {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--radf-warm);
    margin-bottom: 0.5rem;
}
.radf-footer-social {
    display: flex; gap: 0.8rem; margin-top: 1rem;
}
.radf-footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08) !important;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    transition: background 0.3s !important;
}
.radf-footer-social a:hover {
    background: var(--radf-warm) !important;
    color: white !important;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.radf-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.radf-fade-in.radf-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   PAGES
   ============================================================ */
.page .entry-header,
.page .page-header {
    padding: 2rem 2rem 0 !important;
    max-width: 100%;
}
.page .entry-content,
.single .entry-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}
/* Hauptcontainer auf allen Unterseiten zentrieren */
#primary {
    margin: 0 auto !important;
}
.hentry {
    max-width: 100%;
}
/* Beitragsbild auf Seiten: wird per PHP in functions.php entfernt
   (storefront_page_header durch radf_page_header_title_only ersetzt) */
.page .entry-content blockquote {
    border-left: 4px solid var(--radf-warm);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--radf-cream-dark);
    border-radius: 0 var(--radf-radius) var(--radf-radius) 0;
    font-style: italic;
    color: var(--radf-earth);
}
.page .entry-content img {
    border-radius: var(--radf-radius) !important;
    box-shadow: var(--radf-shadow);
}

/* ============================================================
   iOS / TOUCH OPTIMIERUNGEN
   ============================================================ */
a, button, input[type="submit"], .button, [role="button"] {
    -webkit-tap-highlight-color: rgba(217, 153, 98, 0.15);
    touch-action: manipulation;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .radf-two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .radf-kontakt-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
    .radf-section { padding: 4rem 1.2rem; }
    .radf-card-grid { grid-template-columns: 1fr !important; }
    .radf-stats-row { grid-template-columns: repeat(3, 1fr); }
    .woocommerce ul.products,
    ul.products.columns-3 {
        grid-template-columns: 1fr 1fr !important;
    }
    /* Single product: Stack statt nebeneinander */
    .woocommerce div.product > div.images,
    .woocommerce div.product > div.summary,
    .woocommerce div.product > .woocommerce-product-gallery,
    .woocommerce #content div.product div.images,
    .woocommerce #content div.product div.summary,
    .woocommerce #content div.product .woocommerce-product-gallery {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* Storefront Sorting stacken */
    .storefront-sorting {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start !important;
    }

    /* ===== MOBILE HAMBURGER MENU =====
       Storefront's navigation.js is dequeued (dropdown arrows).
       We handle the mobile toggle via radf.js instead.
       Storefront shows button.menu-toggle at <=768px.
       We must override our desktop flex layout for mobile. */

    /* Header: allow wrapping so nav drops below branding row */
    .site-header .col-full {
        flex-wrap: wrap !important;
    }

    /* Show hamburger button (Storefront renders it, we just ensure visibility) */
    .main-navigation .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-width: 48px !important;
        min-height: 48px !important;
        padding: 0.5rem 1rem !important;
        background: rgba(255,255,255,0.06) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: var(--radf-radius) !important;
        color: var(--radf-text) !important;
        font-size: 0.9rem;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        touch-action: manipulation;
    }
    .main-navigation .menu-toggle::before {
        content: '\2630';
        font-size: 1.3rem;
        line-height: 1;
    }

    /* Hide the menu by default on mobile */
    .main-navigation ul.menu,
    .main-navigation ul.nav-menu,
    .main-navigation div.menu {
        display: none !important;
    }

    /* Show the menu when .toggled is active */
    .main-navigation.toggled ul.menu,
    .main-navigation.toggled ul.nav-menu,
    .main-navigation.toggled div.menu {
        display: block !important;
        width: 100%;
    }

    /* Mobile menu: vertical stacked layout */
    .main-navigation.toggled ul.menu,
    .main-navigation.toggled ul.nav-menu {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        padding: 1rem 0 !important;
    }

    /* Mobile nav takes full row width */
    .site-header .main-navigation {
        flex: 0 0 100% !important;
        order: 10 !important;
    }

    /* Mobile menu items: full width, stacked */
    .main-navigation.toggled ul.menu > li,
    .main-navigation.toggled ul.nav-menu > li {
        margin: 0 !important;
        width: 100% !important;
    }
    .main-navigation.toggled ul.menu > li > a,
    .main-navigation.toggled ul.nav-menu > li > a {
        padding: 0.75rem 1rem !important;
        white-space: normal !important;
        display: block !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    /* Remove underline animation on mobile */
    .main-navigation.toggled ul.menu > li > a::after {
        display: none !important;
    }

    /* Mobile submenus: show inline (no flyout) */
    .main-navigation.toggled ul.menu ul,
    .main-navigation.toggled ul.nav-menu ul {
        position: static !important;
        display: block !important;
        box-shadow: none !important;
        background: rgba(255,255,255,0.03) !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    .main-navigation.toggled ul.menu ul li a {
        padding: 0.6rem 1rem 0.6rem 2rem !important;
        font-size: 0.85rem !important;
        display: block !important;
        min-height: 44px;
        line-height: 1.5;
    }
    .main-navigation.toggled ul.menu ul ul li a {
        padding: 0.6rem 1rem 0.6rem 3rem !important;
    }
}
@media (max-width: 640px) {
    .radf-section { padding: 3rem 1rem; }
    .site-header { padding: 0.4rem 1rem !important; }
    .site-header .col-full { padding: 0 1rem !important; }
    .radf-section-header h2 { font-size: 1.6rem !important; }
    .woocommerce ul.products,
    ul.products.columns-3 {
        grid-template-columns: 1fr !important;
    }
    .radf-hero h1 { font-size: clamp(1.8rem, 5vw, 2.5rem) !important; }
}
@media (max-width: 480px) {
    .radf-hero h1 { font-size: 1.8rem !important; }
    .radf-section { padding: 2.5rem 0.8rem; }
    .woocommerce ul.products,
    ul.products.columns-3 {
        grid-template-columns: 1fr !important;
    }
    .radf-stats-row { grid-template-columns: 1fr; text-align: center; }
    .radf-hero-content { padding: 0 0.8rem; }
    .site-footer { padding: 2rem 1rem 1rem !important; }
}

/* ============================================================
   STOREFRONT OVERRIDES
   Storefront nutzt float-basiertes Layout mit Clearfix-Hacks.
   Hier werden alle Kollisionen mit unserem Flexbox/Grid-System
   explizit neutralisiert.
   ============================================================ */

/* --- Globale Clearfix-Neutralisierung --- */
/* Storefront setzt ::before/::after {display:table} auf viele Container.
   In Grid/Flex-Layouts werden diese zu unsichtbaren Zellen. */
.site-header .col-full::before,
.site-header .col-full::after,
.storefront-sorting::before,
.storefront-sorting::after {
    display: none !important;
    content: none !important;
}

/* --- #primary / #secondary Layout (Shop & Blog) --- */
/* Storefront: #primary {float:left; width:73%} #secondary {float:right; width:25%}
   Wir wollen volle Breite ohne Sidebar. */
#primary {
    float: none !important;
    width: 100% !important;
}
#secondary {
    display: none !important;
}
/* Shop-Seite: volle Breite fuer Produkt-Container */
.woocommerce-page #primary.content-area,
.woocommerce-page .site-main {
    width: 100% !important;
    float: none !important;
}

/* --- Storefront Sorting (Ergebnisse + Sortierung ueber Produktraster) --- */
.storefront-sorting {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem !important;
}
.storefront-sorting::before,
.storefront-sorting::after {
    display: none !important;
    content: none !important;
}
.woocommerce .storefront-sorting select {
    border-radius: 50px !important;
    padding: 0.6rem 1rem !important;
    border: 2px solid var(--radf-cream-dark) !important;
    background: var(--radf-white) !important;
}
.woocommerce-result-count {
    float: none !important;
    margin: 0 !important;
    font-size: 0.9rem;
    color: var(--radf-text-light);
}
.woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
}

/* --- Versteckte Storefront-Elemente --- */
.storefront-breadcrumb { display: none !important; }
.storefront-product-section { display: none !important; }
.site-header .secondary-navigation { display: none !important; }
.storefront-handheld-footer-bar { display: none !important; }

/* --- Storefront setzt box-sizing: content-box auf .col-full --- */
/* Das verursacht Breitenprobleme bei padding. Normalisieren: */
.col-full {
    box-sizing: border-box !important;
}

/* --- Storefront Product Image Container --- */
/* Storefront setzt margin-bottom auf Produktbilder + spezifische Breiten */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 0 !important;
}

/* --- Storefront Single Product: Flexbox-Layout --- */
/* CRITICAL: Storefront uses selectors with #content (high specificity):
   .woocommerce #content div.product div.images { float:left; width:48% }
   .woocommerce #content div.product div.summary { float:right; width:48% }
   We MUST match or exceed that specificity. Using !important on all layout props.
   Also: NICHT nur > (direct child) weil WC Germanized ggf. Wrapper einfuegt. */
.woocommerce div.product,
.woocommerce #content div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 2rem !important;
}
/* ALLE Kinder: volle Breite als Default (notices, extra Germanized-Elemente etc.) */
.woocommerce div.product > *,
.woocommerce #content div.product > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
}
/* Galerie + Summary nebeneinander.
   div.images und .woocommerce-product-gallery sind in modernem WC dasselbe Element.
   Sicherheitshalber alle Varianten targeten.
   calc(55% - 1rem) weil gap: 2rem den Platz schon zwischen den Items verteilt. */
.woocommerce div.product > div.images,
.woocommerce #content div.product > div.images,
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce #content div.product > .woocommerce-product-gallery {
    flex: 0 0 calc(55% - 1rem) !important;
    max-width: calc(55% - 1rem) !important;
    width: calc(55% - 1rem) !important;
}
.woocommerce div.product > div.summary,
.woocommerce #content div.product > div.summary {
    flex: 0 0 calc(45% - 1rem) !important;
    max-width: calc(45% - 1rem) !important;
    width: calc(45% - 1rem) !important;
}

/* Mobile: Stacked Layout */
@media (max-width: 768px) {
    .woocommerce div.product > div.images,
    .woocommerce #content div.product > div.images,
    .woocommerce div.product > .woocommerce-product-gallery,
    .woocommerce #content div.product > .woocommerce-product-gallery,
    .woocommerce div.product > div.summary,
    .woocommerce #content div.product > div.summary {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce div.product > div.images.woocommerce-product-gallery,
.woocommerce #content div.product > div.images,
.woocommerce #content div.product > .woocommerce-product-gallery,
.woocommerce #content div.product div.images,
.woocommerce #content div.product .woocommerce-product-gallery {
    flex: 0 0 55% !important;
    width: 55% !important;
    max-width: 55% !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
}
.woocommerce div.product > div.summary,
.woocommerce #content div.product > div.summary,
.woocommerce #content div.product div.summary {
    flex: 1 1 0% !important;
    width: auto !important;
    max-width: calc(45% - 2rem) !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin-top: 0 !important;
    position: relative !important;
}

/* ============================================================
   WOOCOMMERCE GERMANIZED KOMPATIBILITAET
   Alle Pflichtangaben bleiben sichtbar, werden nur gestylt.
   ============================================================ */
/* Lieferzeit-Hinweis */
.wc-gzd-additional-info,
.delivery-time-info,
p.delivery-time-info {
    font-size: 0.8rem !important;
    color: var(--radf-text-light) !important;
    margin-top: 0.3rem;
}
/* Versandkosten-Hinweis */
.shipping-costs-info,
.tax-info {
    font-size: 0.75rem !important;
    color: var(--radf-text-light) !important;
}
/* Grundpreis */
.price-unit {
    font-size: 0.8rem !important;
    color: var(--radf-text-light) !important;
}
/* Produktseite: Pflichtangaben */
.woocommerce div.product .wc-gzd-additional-info {
    font-size: 0.85rem !important;
    padding: 0.5rem 0;
    border-top: 1px solid var(--radf-cream-dark);
    margin-top: 0.5rem;
}
/* Warenkorb/Checkout: Germanized-Hinweise */
.woocommerce-checkout .wc-gzd-additional-info,
.woocommerce-cart .wc-gzd-additional-info {
    font-size: 0.8rem !important;
    color: var(--radf-text-light) !important;
}
/* Checkout: Rechtstexte-Checkboxen */
.wc-gzd-legal-checkbox-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

/* ============================================================
   FACEBOOK PIXEL / TRACKING (keine visuellen Aenderungen)
   ============================================================ */
/* Facebook Pixel bleibt aktiv, keine CSS-Aenderungen noetig */

/* ============================================================
   SMART SLIDER 3 KOMPATIBILITAET
   ============================================================ */
/* Smart Slider wird auf einzelnen Seiten genutzt - volle Breite */
.n2-section-smartslider {
    max-width: 100% !important;
}
#n2-ss-2, #n2-ss-1 {
    border-radius: var(--radf-radius) !important;
    overflow: hidden;
}

/* ============================================================
   ROBO GALLERY KOMPATIBILITAET
   ============================================================ */
/* Zoom-Effekt vom alten Theme beibehalten */
.rbs-img-thumbs {
    transition: transform 1s;
    border-radius: var(--radf-radius) !important;
    overflow: hidden;
}
.rbs-img-thumbs:hover {
    transform: scale(1.05);
}
/* Overlay entfernen wie im alten Theme */
.thumbnail-overlay {
    background: none !important;
    display: none !important;
}
/* Robo Gallery Container */
.robo-gallery-wrap {
    margin: 0 auto;
}

/* ============================================================
   COMPLIANZ GDPR COOKIE BANNER
   ============================================================ */
/* Cookie-Banner visuell ans Theme anpassen */
.cmplz-cookiebanner {
    font-family: 'Inter', sans-serif !important;
}
.cmplz-cookiebanner .cmplz-btn {
    border-radius: 999px !important;
}
.cmplz-cookiebanner .cmplz-accept {
    background-color: var(--radf-warm) !important;
    border-color: var(--radf-warm) !important;
}
.cmplz-cookiebanner .cmplz-accept:hover {
    background-color: var(--radf-warm-dark) !important;
    border-color: var(--radf-warm-dark) !important;
}

/* ============================================================
   CONTACT FORM 7 STYLING
   ============================================================ */
/* CF7 im Kontakt-Bereich (dunkler Hintergrund) */
.radf-kontakt .wpcf7 input[type="text"],
.radf-kontakt .wpcf7 input[type="email"],
.radf-kontakt .wpcf7 textarea,
.radf-kontakt .wpcf7 select {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0.75rem !important;
}
.radf-kontakt .wpcf7 input::placeholder,
.radf-kontakt .wpcf7 textarea::placeholder {
    color: rgba(255,255,255,0.5) !important;
}
.radf-kontakt .wpcf7 input:focus,
.radf-kontakt .wpcf7 textarea:focus {
    border-color: var(--radf-warm) !important;
    outline: none !important;
    background: rgba(255,255,255,0.15) !important;
}
.radf-kontakt .wpcf7 input[type="submit"] {
    background-color: var(--radf-warm) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 36px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.radf-kontakt .wpcf7 input[type="submit"]:hover {
    background-color: var(--radf-warm-dark) !important;
    transform: translateY(-2px) !important;
}
.radf-kontakt .wpcf7 label {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.9rem !important;
}
/* CF7 Erfolgsmeldung */
.radf-kontakt .wpcf7-response-output {
    border-color: var(--radf-warm) !important;
    color: #fff !important;
    border-radius: 8px !important;
}
/* CF7 auf normalen Seiten (heller Hintergrund) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
    border-radius: 8px !important;
    border: 1px solid var(--radf-cream-dark) !important;
    padding: 12px 16px !important;
    font-family: 'Inter', sans-serif !important;
}
.wpcf7 input[type="submit"] {
    background-color: var(--radf-warm) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.wpcf7 input[type="submit"]:hover {
    background-color: var(--radf-warm-dark) !important;
}

/* ============================================================
   PRINT INVOICE & DELIVERY NOTES (keine visuellen Aenderungen)
   ============================================================ */
/* Backend-Plugin, benoetigt kein Frontend-CSS */

/* ============================================================
   ██████╗  █████╗ ██████╗ ██╗  ██╗    ███╗   ███╗ ██████╗ ██████╗ ███████╗
   ██╔══██╗██╔══██╗██╔══██╗██║ ██╔╝    ████╗ ████║██╔═══██╗██╔══██╗██╔════╝
   ██║  ██║███████║██████╔╝█████╔╝     ██╔████╔██║██║   ██║██║  ██║█████╗
   ██║  ██║██╔══██║██╔══██╗██╔═██╗     ██║╚██╔╝██║██║   ██║██║  ██║██╔══╝
   ██████╔╝██║  ██║██║  ██║██║  ██╗    ██║ ╚═╝ ██║╚██████╔╝██████╔╝███████╗
   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝    ╚═╝     ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝

   Premium Photography Dark Mode
   Cineastischer Look — Fotos sind der Star.
   Aktiviert sich automatisch bei System-Dark-Mode.
   ============================================================ */
/* Dunkles Farbschema — bewusste Design-Entscheidung.
   Naturfotografien wirken auf dunklem Hintergrund optimal.
   Kein Toggle noetig, das IST das Design. */

    /* --- Dark Mode Custom Properties --- */
    :root {
        --radf-cream: #0d0b09;
        --radf-cream-dark: #161311;
        --radf-white: #1a1714;
        --radf-text: #e8e4df;
        --radf-text-light: #9a9590;
        --radf-dark: #f5f0ea;
        --radf-shadow: 0 8px 32px rgba(0,0,0,0.3);
        --radf-shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
        --radf-warm: #e0a56a;
        --radf-warm-dark: #c8904f;
        --radf-warm-light: #f0c896;
    }

    /* --- Body & Global --- */
    body {
        background: #0d0b09 !important;
        color: var(--radf-text) !important;
    }
    h1, h2, h3, h4, h5, h6 {
        color: #f5f0ea !important;
    }

    /* --- Header: dunkles Glas --- */
    .site-header {
        background: rgba(13, 11, 9, 0.92) !important;
        box-shadow: 0 1px 0 rgba(255,255,255,0.05) !important;
    }
    .site-header.is-scrolled,
    body.radf-transparent-header .site-header.is-scrolled,
    body.radf-transparent-header #masthead.is-scrolled {
        background: rgba(13, 11, 9, 0.95) !important;
        background-color: rgba(13, 11, 9, 0.95) !important;
        box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4) !important;
    }
    .main-navigation ul.menu > li > a,
    .main-navigation ul.nav-menu > li > a {
        color: rgba(232, 228, 223, 0.85) !important;
    }
    .main-navigation ul.menu > li > a:hover,
    .main-navigation ul.menu > li.current-menu-item > a {
        color: var(--radf-warm) !important;
    }
    body.radf-transparent-header .site-header.is-scrolled .main-navigation a {
        color: rgba(232, 228, 223, 0.85) !important;
        text-shadow: none !important;
    }
    body.radf-transparent-header .site-header.is-scrolled .main-navigation a:hover {
        color: var(--radf-warm) !important;
    }
    .site-title a {
        color: var(--radf-warm) !important;
    }
    body.radf-transparent-header .site-header.is-scrolled .site-title a {
        color: var(--radf-warm) !important;
    }
    .site-header-cart .cart-contents {
        color: var(--radf-text) !important;
    }
    body.radf-transparent-header .site-header.is-scrolled .site-header-cart .cart-contents,
    body.radf-transparent-header .site-header.is-scrolled .site-header-cart .amount {
        color: var(--radf-text) !important;
    }
    /* Logo im Dark Mode invertieren */
    .site-header .custom-logo-link img {
        filter: invert(1) brightness(1.8) !important;
    }
    body.radf-transparent-header .site-header.is-scrolled .custom-logo-link img {
        filter: invert(1) brightness(1.8) !important;
    }

    /* Dropdowns — heller als Seitenhintergrund damit sie sich abheben */
    .main-navigation ul.menu ul,
    .main-navigation ul.nav-menu ul {
        background: rgba(45, 38, 30, 0.97) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 16px 48px rgba(0,0,0,0.6) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }
    .main-navigation ul.menu ul li a:hover {
        background: rgba(255, 255, 255, 0.08) !important;
    }
    body.radf-transparent-header .site-header .sub-menu {
        background: rgba(45, 38, 30, 0.97) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    body.radf-transparent-header .site-header .sub-menu a {
        color: var(--radf-text) !important;
    }

    /* --- Content-Bereich auf Unterseiten --- */
    .site-content,
    #content {
        background: #0d0b09 !important;
    }

    /* --- Bekannt-aus --- */
    .radf-bekannt {
        background: #111 !important;
    }
    .radf-bekannt-logos span,
    .radf-bekannt-logos a {
        color: rgba(232, 228, 223, 0.5) !important;
    }
    .radf-bekannt-logo img {
        filter: grayscale(100%) invert(1) !important;
        opacity: 0.3 !important;
    }
    .radf-bekannt-logo:hover img {
        filter: grayscale(0%) !important;
        opacity: 1 !important;
    }

    /* --- Cards: dunkle Glasflaechen --- */
    .radf-card {
        background: #161311 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08) !important;
    }
    .radf-card:hover {
        box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(224,165,106,0.15) !important;
    }
    .radf-card-body p {
        color: var(--radf-text-light) !important;
    }

    /* --- Kurs-Cards --- */
    .radf-kurs-card {
        background: #161311 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08) !important;
    }
    .radf-kurs-icon {
        background: #221f1a !important;
    }
    .radf-kurs-tag {
        background: #221f1a !important;
        color: var(--radf-warm-light) !important;
    }

    /* --- Blog-Cards --- */
    .radf-blog-card {
        background: #161311 !important;
    }

    /* --- Zwei-Spalten (Ueber mich) --- */
    .radf-stats-row {
        border-top-color: rgba(255,255,255,0.08) !important;
    }

    /* --- Bilder: subtiler Glow statt Shadow --- */
    .radf-two-col-img {
        box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
    }
    .page .entry-content img {
        box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
    }

    /* --- Seiten-Content (Pages) --- */
    .hentry {
        background: #131110 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.03) !important;
    }
    .entry-title,
    .entry-title a {
        color: #f5f0ea !important;
    }
    .page .entry-content blockquote {
        background: #1a1714 !important;
        border-left-color: var(--radf-warm) !important;
        color: var(--radf-warm-light) !important;
    }

    /* --- WooCommerce Shop --- */
    .woocommerce ul.products li.product,
    ul.products li.product {
        background: #161311 !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08) !important;
    }
    .woocommerce ul.products li.product:hover {
        box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(224,165,106,0.12) !important;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product h2 {
        color: #f5f0ea !important;
    }

    /* Product page */
    .woocommerce div.product .variations select {
        background: #1a1714 !important;
        border-color: rgba(255,255,255,0.1) !important;
        color: var(--radf-text) !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        background: transparent !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        color: var(--radf-text-light) !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
        background: var(--radf-warm) !important;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
        color: white !important;
    }
    .woocommerce div.product .woocommerce-tabs .panel {
        color: var(--radf-text) !important;
    }

    /* Cart */
    .woocommerce-cart .woocommerce table.cart th {
        background: #1a1714 !important;
        color: var(--radf-text) !important;
    }
    .woocommerce-cart .woocommerce table.cart td {
        color: var(--radf-text) !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    .woocommerce table.cart,
    .woocommerce-cart table.cart {
        background: #131110 !important;
    }

    /* Checkout */
    .woocommerce-checkout #payment {
        background: #161311 !important;
    }

    /* Sorting */
    .woocommerce .storefront-sorting select {
        background: #1a1714 !important;
        border-color: rgba(255,255,255,0.1) !important;
        color: var(--radf-text) !important;
    }

    /* --- Sidebar / Widgets --- */
    .widget {
        background: #161311 !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
    }
    .widget-title {
        border-bottom-color: rgba(255,255,255,0.08) !important;
    }

    /* --- Footer: noch dunkler --- */
    .site-footer {
        background: #080706 !important;
    }

    /* --- Kontakt-Sektion (ist schon dunkel, nur leicht anpassen) --- */
    .radf-kontakt {
        background: linear-gradient(135deg, #0d0b09 0%, #161311 100%) !important;
    }

    /* --- Formulare auf normalen Seiten --- */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 textarea,
    .wpcf7 select {
        background: #1a1714 !important;
        border-color: rgba(255,255,255,0.1) !important;
        color: var(--radf-text) !important;
    }
    .wpcf7 input::placeholder,
    .wpcf7 textarea::placeholder {
        color: rgba(232,228,223,0.3) !important;
    }

    /* --- WooCommerce Germanized (dunkler Hintergrund) --- */
    .wc-gzd-additional-info,
    .delivery-time-info,
    p.delivery-time-info,
    .shipping-costs-info,
    .tax-info,
    .price-unit {
        color: var(--radf-text-light) !important;
    }
    .woocommerce div.product .wc-gzd-additional-info {
        border-top-color: rgba(255,255,255,0.06) !important;
    }

    /* --- Smart Slider: dunkler Rahmen --- */
    #n2-ss-2, #n2-ss-1 {
        box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
    }

    /* --- Cookie Banner --- */
    .cmplz-cookiebanner {
        background: #1a1714 !important;
    }

    /* --- Scrollbar (Webkit) --- */
    ::-webkit-scrollbar {
        width: 8px;
        background: #0d0b09;
    }
    ::-webkit-scrollbar-thumb {
        background: #2a2520;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--radf-warm-dark);
    }

    /* --- Selection --- */
    ::selection {
        background: var(--radf-warm);
        color: white;
    }

    /* --- Fokus fuer Accessibility --- */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible {
        outline: 2px solid var(--radf-warm) !important;
        outline-offset: 2px;
    }

    /* --- Storefront WooCommerce Notices --- */
    .woocommerce-info,
    .woocommerce-message {
        background: #1a1714 !important;
        color: var(--radf-text) !important;
        border-top-color: var(--radf-warm) !important;
    }
    .woocommerce-error {
        background: #1a1714 !important;
        color: #f5a0a0 !important;
        border-top-color: #e05555 !important;
    }

    /* --- Storefront Pagination --- */
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        background: #1a1714 !important;
        color: var(--radf-text) !important;
        border-color: rgba(255,255,255,0.08) !important;
    }
    .woocommerce nav.woocommerce-pagination ul li span.current {
        background: var(--radf-warm) !important;
        color: white !important;
    }

    /* --- Blog Overlay (Post Grid) --- */
    .rt-holder .rt-detail {
        background: rgba(0, 0, 0, 0.8) !important;
    }

    /* --- Produktbilder: cineastischer Rahmen --- */
    .woocommerce div.product div.images,
    .woocommerce div.product .woocommerce-product-gallery {
        box-shadow: 0 12px 48px rgba(0,0,0,0.5) !important;
    }
    /* Summary: dunkler Hintergrund, subtiler Rand */
    .woocommerce div.product div.summary,
    .woocommerce #content div.product div.summary {
        background: #0d0b09 !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
    }

    /* --- Links im Content --- */
    .page .entry-content a:not(.button):not(.radf-btn),
    .single .entry-content a:not(.button):not(.radf-btn) {
        color: var(--radf-warm) !important;
    }
    .page .entry-content a:not(.button):not(.radf-btn):hover,
    .single .entry-content a:not(.button):not(.radf-btn):hover {
        color: var(--radf-warm-light) !important;
    }

    /* --- Storefront Product Pagination --- */
    .storefront-product-pagination a img {
        box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
        border-radius: var(--radf-radius) !important;
    }

    /* --- WooCommerce Tabs Panel-Hintergrund --- */
    .woocommerce div.product .woocommerce-tabs {
        border-bottom: none !important;
    }
    .woocommerce div.product .woocommerce-tabs .panel {
        background: transparent !important;
    }

    /* --- Storefront: Mini-Cart Dropdown --- */
    .site-header-cart .widget_shopping_cart {
        background: #1a1714 !important;
        box-shadow: 0 16px 48px rgba(0,0,0,0.6) !important;
        border: 1px solid rgba(255,255,255,0.06) !important;
    }
    .site-header-cart .widget_shopping_cart * {
        color: var(--radf-text) !important;
    }

    /* --- Sale Badge anpassen --- */
    .woocommerce span.onsale {
        background: var(--radf-warm) !important;
        box-shadow: 0 4px 12px rgba(224,165,106,0.3) !important;
    }

    /* --- Related Products Ueberschrift --- */
    .related.products > h2,
    .upsells.products > h2 {
        color: #f5f0ea !important;
    }

/* v40: Featured Product Block Fix */
.wc-block-featured-product__background-image {
    object-fit: cover !important;
}
.wc-block-featured-product .background-dim__overlay {
    opacity: 0.6 !important;
}

/* v41: Hamburger Menu Styling */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-height: 48px !important;
    min-width: 48px !important;
    padding: 0.5rem 1rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    color: var(--radf-cream, #f5f0eb) !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
  }
  .menu-toggle::before {
    content: '\2630' !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
  }
}

/* v42: Hamburger Menu Layout + Menu Background */
@media (max-width: 768px) {
  /* Problem 1: Icon und Text nebeneinander statt uebereinander */
  .menu-toggle,
  .main-navigation .menu-toggle {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  /* Problem 2: Geoeffnetes Menue braucht dunklen Hintergrund */
  .main-navigation.toggled {
    background: rgba(30, 23, 16, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    margin-top: 0.5rem !important;
  }

  /* Menu-Links helle Farbe auf dunklem Hintergrund */
  .main-navigation.toggled ul.menu > li > a,
  .main-navigation.toggled ul.nav-menu > li > a {
    color: var(--radf-cream, #f5f0eb) !important;
  }

  /* Submenus ebenfalls dunkler Hintergrund */
  .main-navigation.toggled ul.menu ul {
    background: rgba(20, 15, 10, 0.6) !important;
    border-radius: 4px !important;
  }
  .main-navigation.toggled ul.menu ul li a {
    color: var(--radf-cream, #f5f0eb) !important;
  }

  /* Handheld-Navigation (Storefront Mobile-Menue) */
  nav.main-navigation .handheld-navigation {
    background: rgba(30, 23, 16, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
  }
  nav.main-navigation .handheld-navigation ul.menu li a {
    color: var(--radf-cream, #f5f0eb) !important;
    padding: 0.75rem 1rem !important;
    display: block !important;
    font-size: 1rem !important;
  }
}

/* v47: Responsive Breakpoints - Mobile First Approach (Fixed) */
/* Base Mobile Styles (up to 479px) - Optimized for very small screens */
.site-header,
#masthead,
header.site-header,
body .site-header {
  padding: 0.5rem 0.75rem !important;
}

/* Ensure header content has proper spacing - more specific selectors */
.site-header .col-full,
#masthead .col-full,
header.site-header .col-full,
body .site-header .col-full {
  padding: 0.3rem 0 !important;
  margin: 0 !important;
}

#content > .col-full {
  padding: 0 1rem !important;
}

.menu-toggle {
  width: 44px !important;
  height: 44px !important;
}

/* Extra Small Devices (480px and up) */
@media (min-width: 480px) {
  .site-header {
    padding: 0.35rem 1.2rem !important;
  }
  
  #content > .col-full {
    padding: 0 1.2rem !important;
  }
  
  .menu-toggle {
    width: 46px !important;
    height: 46px !important;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
  .site-header {
    padding: 0.4rem 1.5rem !important;
  }
  
  #content > .col-full {
    padding: 0 1.5rem !important;
  }
  
  .menu-toggle {
    width: 48px !important;
    height: 48px !important;
  }
}

/* Medium Devices - Tablets (768px and up) */
@media (min-width: 768px) {
  .site-header {
    padding: 0.4rem 2rem !important;
  }
  
  #content > .col-full {
    padding: 0 2rem !important;
  }
  
  /* Desktop navigation starts here */
  .menu-toggle {
    display: none !important;
  }
  
  .main-navigation {
    display: block !important;
  }
}

/* Large Devices - Small Desktops (992px and up) */
@media (min-width: 992px) {
  .site-header {
    padding: 0.5rem 2.5rem !important;
  }
  
  #content > .col-full {
    max-width: 1200px !important;
    padding: 0 2.5rem !important;
  }
}

/* Extra Large Devices - Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .site-header {
    padding: 0.5rem 3rem !important;
  }
  
  #content > .col-full {
    max-width: 1300px !important;
    padding: 0 3rem !important;
  }
}

/* Extra Extra Large Devices - Very Large Screens (1400px and up) */
@media (min-width: 1400px) {
  #content > .col-full {
    max-width: 1400px !important;
    padding: 0 3.5rem !important;
  }
}

/* v43: Hamburger Icon-Only + Full-Width Menu Background */
@media (max-width: 768px) {
  /* Hide "Menü" text visually but keep for screen readers */
  .menu-toggle span,
  .main-navigation .menu-toggle span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  /* Clean square icon button */
  .menu-toggle,
  .main-navigation .menu-toggle {
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Larger icon for better visibility */
  .menu-toggle::before,
  .main-navigation .menu-toggle::before {
    font-size: 1.6rem !important;
  }

  /* Full-width dark background for opened menu */
  .main-navigation.toggled {
    position: relative !important;
    width: 100% !important;
  }

  /* Warenkorb-Icon neben Hamburger: passend stylen */
  .site-header-cart {
    background: transparent !important;
  }
  .site-header-cart .cart-contents {
    color: var(--radf-cream, #f5f0eb) !important;
  }
}

/* v44: Dropdown-Buttons aria-label (WCAG 4.1.2) */
/* Ensure menu toggle has proper aria-label for screen readers */
.menu-toggle:not([aria-label]) {
  /* This will be handled via JavaScript to add aria-label dynamically */
}

/* v45: Fokus-Stile (WCAG 2.4.7) */
/* Consistent focus styles for all interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.menu-toggle:focus,
.cart-contents:focus,
.woocommerce-Button:focus,
.button:focus,
.wp-block-button__link:focus {
    outline: 2px solid var(--radf-warm) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(217, 153, 98, 0.2) !important;
    transition: all 0.2s ease !important;
}

/* High contrast focus for dark backgrounds */
body.radf-transparent-header a:focus,
body.radf-transparent-header button:focus,
body.radf-transparent-header .menu-toggle:focus,
body.radf-transparent-header .cart-contents:focus,
.main-navigation.toggled a:focus,
.main-navigation.toggled button:focus {
    outline: 2px solid var(--radf-cream) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(245, 240, 235, 0.3) !important;
}

/* Remove default browser focus styles to avoid double outlines */
*:focus {
    outline: none !important;
}

/* Restore focus styles for our custom elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--radf-warm) !important;
    outline-offset: 2px !important;
}

/* v46: Produkt-Grid Breakpoints - Responsive Product Layout */
/* Override Storefront's default flex layout with CSS Grid */
.woocommerce ul.products,
.woocommerce-page ul.products,
body.woocommerce ul.products,
body.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Small Phones (480px and up): Still 1 column but better spacing */
@media (min-width: 480px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    body.woocommerce ul.products,
    body.woocommerce-page ul.products {
        gap: 1.75rem !important;
    }
}

/* Large Phones (576px and up): 2 columns */
@media (min-width: 576px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    body.woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Tablets Portrait (768px and up): 2 columns with more space */
@media (min-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    body.woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

/* Tablets Landscape / Small Desktop (992px and up): 3 columns */
@media (min-width: 992px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    body.woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
}

/* Desktop (1200px and up): 3 columns with more space */
@media (min-width: 1200px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    body.woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
    }
}

/* Large Desktop (1400px and up): 4 columns */
@media (min-width: 1400px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    body.woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2.5rem !important;
    }
}

/* ============================================================
   BEKANNT-AUS LOGOS SEKTION
   ============================================================ */
.bekannt-aus-section {
    background: var(--radf-cream) !important;
    padding: 4rem 0 !important;
    text-align: center !important;
}

.bekannt-aus-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.bekannt-aus-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.5rem !important;
    color: var(--radf-text) !important;
    margin-bottom: 3rem !important;
    font-weight: 400 !important;
}

.bekannt-aus-logos {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    align-items: center !important;
    justify-items: center !important;
}

.bekannt-aus-logos img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 80px !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    filter: grayscale(20%) !important;
}

.bekannt-aus-logos img:hover {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
    transform: scale(1.05) !important;
}

/* Responsive Breakpoints für Bekannt-aus Logos */
@media (min-width: 576px) {
    .bekannt-aus-logos {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
    }
}

@media (min-width: 768px) {
    .bekannt-aus-logos {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 3rem !important;
    }
    
    .bekannt-aus-title {
        font-size: 3rem !important;
    }
}

@media (min-width: 992px) {
    .bekannt-aus-logos {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 3rem !important;
    }
    
    .bekannt-aus-logos img {
        max-height: 100px !important;
    }
}

@media (min-width: 1200px) {
    .bekannt-aus-logos {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 3.5rem !important;
    }
    
    .bekannt-aus-section {
        padding: 5rem 0 !important;
    }
}

/* ============================================================
   BLOG SEKTION
   ============================================================ */
.blog-section {
    background: var(--radf-cream);
    padding: 4rem 0;
}

.blog-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--radf-text);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--radf-white);
    border-radius: var(--radf-radius);
    overflow: hidden;
    box-shadow: var(--radf-shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--radf-shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--radf-text);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--radf-warm);
}

.blog-card .meta {
    font-size: 0.875rem;
    color: var(--radf-text-light);
    margin-bottom: 1rem;
}

.blog-card .excerpt {
    color: var(--radf-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card .read-more {
    display: inline-block;
    color: var(--radf-warm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--radf-warm-dark);
    text-decoration: underline;
}

/* Blog Archive & Single Post Styles */
body.blog #content,
body.single-post #content,
body.archive #content {
    background: var(--radf-cream);
}

.blog .site-main,
.single-post .site-main,
.archive .site-main {
    max-width: 800px;
    margin: 0 auto;
}

.blog article,
.single-post article,
.archive article {
    background: var(--radf-white);
    border-radius: var(--radf-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--radf-shadow);
}

.blog .entry-header,
.single-post .entry-header,
.archive .entry-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.blog .entry-title,
.single-post .entry-title,
.archive .entry-title {
    font-family: 'Playfair Display', serif;
    color: var(--radf-text);
    margin-bottom: 1rem;
}

.blog .entry-meta,
.single-post .entry-meta,
.archive .entry-meta {
    font-size: 0.875rem;
    color: var(--radf-text-light);
    margin-bottom: 1rem;
}

.blog .entry-content,
.single-post .entry-content,
.archive .entry-content {
    line-height: 1.7;
    color: var(--radf-text);
}

.blog .entry-content p,
.single-post .entry-content p,
.archive .entry-content p {
    margin-bottom: 1.5rem;
}

/* Blog Navigation */
.posts-navigation,
.post-navigation {
    margin: 2rem 0;
    text-align: center;
}

.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.posts-navigation a,
.post-navigation a {
    background: var(--radf-warm);
    color: var(--radf-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radf-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.posts-navigation a:hover,
.post-navigation a:hover {
    background: var(--radf-warm-dark);
    transform: translateY(-2px);
}

/* Responsive Blog Grid */
@media (min-width: 576px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .blog-card img {
        height: 220px;
    }
}

@media (min-width: 768px) {
    .blog-section h2 {
        font-size: 3rem;
    }
    
    .blog-grid {
        gap: 3rem;
    }
    
    .blog-card img {
        height: 240px;
    }
    
    .blog-card-content {
        padding: 2rem;
    }
    
    .blog-card h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-card img {
        height: 200px;
    }
}

@media (min-width: 1200px) {
    .blog-section {
        padding: 5rem 0;
    }
    
    .blog-card h3 {
        font-size: 1.75rem;
    }
    
    .blog .site-main,
    .single-post .site-main,
    .archive .site-main {
        max-width: 900px;
    }
    
    .blog article,
    .single-post article,
    .archive article {
        padding: 3rem;
    }
}

/* ============================================================
   KONTAKTDATEN SEKTION
   ============================================================ */
.kontakt-section {
    background: var(--radf-dark);
    color: var(--radf-cream);
    padding: 4rem 0;
    text-align: center;
}

.kontakt-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.kontakt-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--radf-cream);
    margin-bottom: 3rem;
    font-weight: 400;
}

.kontakt-section .kontakt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
}

.kontakt-section .kontakt-card {
    background: rgba(250, 246, 241, 0.05);
    padding: 2rem;
    border-radius: var(--radf-radius);
    border: 1px solid rgba(250, 246, 241, 0.1);
    transition: all 0.3s ease;
}

.kontakt-section .kontakt-card:hover {
    background: rgba(250, 246, 241, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--radf-shadow);
}

.kontakt-section .kontakt-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--radf-warm);
    margin-bottom: 1rem;
    font-weight: 600;
}

.kontakt-section .kontakt-card p {
    color: var(--radf-cream);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Gemeinsame Link-Styles für Kontakt und Footer */
.kontakt-section .kontakt-card a,
.site-footer .kontakt-info a {
    color: var(--radf-warm);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontakt-section .kontakt-card a:hover,
.site-footer .kontakt-info a:hover {
    color: var(--radf-warm-light);
    text-decoration: underline;
}

/* Footer Kontaktdaten */
.site-footer .kontakt-info {
    color: var(--radf-cream);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Media Queries */
@media (min-width: 576px) {
    .kontakt-section .kontakt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .kontakt-section h2 {
        font-size: 3rem;
    }
    
    .kontakt-section .kontakt-grid {
        gap: 3rem;
    }
    
    .kontakt-section .kontakt-card {
        padding: 2.5rem;
    }
}

@media (min-width: 992px) {
    .kontakt-section .kontakt-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .kontakt-section {
        padding: 5rem 0;
    }
    
    .kontakt-section .kontakt-card h3 {
        font-size: 1.75rem;
    }
    
    .kontakt-section .kontakt-card p {
        font-size: 1.1rem;
    }
}

/* ============================================================
   LIGHTBOX / PRODUKTBILD-ZOOM
   ============================================================ */
/* Produktbilder mit Zoom-Cursor */
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product .woocommerce-product-gallery__trigger,
.woocommerce div.product .flex-control-thumbs img {
    cursor: zoom-in !important;
    transition: all 0.3s ease !important;
}

.woocommerce div.product .woocommerce-product-gallery__image:hover img {
    transform: scale(1.02) !important;
    box-shadow: var(--radf-shadow-lg) !important;
}

/* Lightbox Overlay */
.radf-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 33, 24, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    cursor: zoom-out;
}

.radf-lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Lightbox Bild */
.radf-lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radf-radius);
    box-shadow: var(--radf-shadow-lg);
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.radf-lightbox.active .radf-lightbox-image {
    transform: scale(1);
}

/* Lightbox Schließen Button */
.radf-lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(250, 246, 241, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--radf-text);
    transition: all 0.3s ease;
    z-index: 100000;
}

.radf-lightbox-close:hover {
    background: var(--radf-cream);
    transform: scale(1.1);
}

.radf-lightbox-close::before {
    content: '×';
    font-weight: 300;
    line-height: 1;
}

/* Navigation Pfeile */
.radf-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(250, 246, 241, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--radf-text);
    transition: all 0.3s ease;
    z-index: 100000;
}

.radf-lightbox-nav:hover {
    background: var(--radf-cream);
    transform: translateY(-50%) scale(1.1);
}

.radf-lightbox-prev {
    left: 2rem;
}

.radf-lightbox-next {
    right: 2rem;
}

.radf-lightbox-prev::before {
    content: '‹';
    font-weight: bold;
    margin-right: 2px;
}

.radf-lightbox-next::before {
    content: '›';
    font-weight: bold;
    margin-left: 2px;
}

/* Lightbox Info */
.radf-lightbox-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(250, 246, 241, 0.95);
    padding: 1rem 2rem;
    border-radius: var(--radf-radius);
    color: var(--radf-text);
    font-size: 0.9rem;
    text-align: center;
    max-width: 80%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* WooCommerce PhotoSwipe Override */
.pswp {
    background: rgba(44, 33, 24, 0.95) !important;
}

.pswp__bg {
    background: rgba(44, 33, 24, 0.95) !important;
}

.pswp__ui--fit .pswp__top-bar {
    background: rgba(250, 246, 241, 0.1) !important;
}

.pswp__button {
    background: rgba(250, 246, 241, 0.9) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.pswp__button:hover {
    background: var(--radf-cream) !important;
    transform: scale(1.1) !important;
}

.pswp__caption {
    background: rgba(250, 246, 241, 0.95) !important;
    color: var(--radf-text) !important;
    border-radius: var(--radf-radius) var(--radf-radius) 0 0 !important;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .radf-lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .radf-lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .radf-lightbox-prev {
        left: 1rem;
    }
    
    .radf-lightbox-next {
        right: 1rem;
    }
    
    .radf-lightbox-info {
        bottom: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        max-width: 90%;
    }
    
    .radf-lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }
}

/* Zoom-Effekt für Produktgalerie Thumbnails */
.woocommerce div.product .flex-control-thumbs li {
    overflow: hidden !important;
    border-radius: var(--radf-radius) !important;
}

.woocommerce div.product .flex-control-thumbs img:hover {
    transform: scale(1.05) !important;
}

/* Produktgalerie Hauptbild Hover */
.woocommerce div.product .woocommerce-product-gallery__wrapper {
    overflow: hidden !important;
    border-radius: var(--radf-radius) !important;
}

/* Zoom Icon Overlay */
.woocommerce div.product .woocommerce-product-gallery__image::after {
    content: '🔍';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(250, 246, 241, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.woocommerce div.product .woocommerce-product-gallery__image:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================================
   FIX: Blog-/Archivseiten gleiche Breite wie andere Seiten
   Problem: .site-main war auf 800px/900px begrenzt,
   waehrend alle anderen Seiten 1400px ueber .col-full bekommen.
   Loesung: max-width auf 1200px erhoehen (breiterer Lesebereich,
   aber nicht volle 1400px da Fliesstext Zeilenlaenge braucht).
   ============================================================ */
body.blog .site-main,
body.single-post .site-main,
body.archive .site-main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

body.blog article,
body.single-post article,
body.archive article {
    max-width: 100% !important;
}

body.single-post .entry-content,
body.single-post .entry-content > * {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.single-post .entry-content p,
body.single-post .entry-content h1,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .entry-content blockquote {
    max-width: 100% !important;
    width: auto !important;
}

body.single-post .entry-content img,
body.single-post .entry-content .wp-block-image,
body.single-post .entry-content figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    body.blog .site-main,
    body.single-post .site-main,
    body.archive .site-main {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   HAMBURGER-MENU DEFINITIVE FIX (basierend auf Playwright DOM-Inspektion)
   Storefront setzt: background:white, border:#333, padding:0.618em, color:#333
   Alles muss mit hoher Spezifitaet + !important ueberschrieben werden.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 1. Button: sauberes 48px Quadrat, NUR das ☰ Icon */
    button.menu-toggle,
    button#site-navigation-menu-toggle,
    .storefront-primary-navigation button.menu-toggle,
    .main-navigation button.menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.30) !important;
        border-radius: 10px !important;
        color: #ffffff !important;
        overflow: hidden !important; /* Verhindert Span-Bleed auf iOS */
        box-shadow: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    /* 2. Span "Menü" KOMPLETT verstecken (nicht clip-Trick, iOS ignoriert das) */
    button.menu-toggle span,
    button#site-navigation-menu-toggle span,
    .menu-toggle > span {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        overflow: hidden !important;
    }

    /* 3. ☰ Icon via ::before — einziger sichtbarer Inhalt
       WICHTIG: Storefront setzt width:14px height:2px auf ::before (Hamburger-Linien-Trick).
       Muessen auf auto zurueckgesetzt werden damit der ☰ Character richtig rendert. */
    button.menu-toggle::before,
    button#site-navigation-menu-toggle::before {
        content: '\2630' !important;
        display: block !important;
        font-size: 1.6rem !important;
        line-height: 1 !important;
        color: #ffffff !important;
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.3) !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        border: none !important;
        position: static !important;
        transform: none !important;
        transition: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 4. Warenkorb auf Mobile verstecken */
    #site-header-cart,
    .site-header-cart,
    ul.site-header-cart {
        display: none !important;
    }

    /* 5. Storefront handheld-navigation: Default verstecken (das dunkle 32x32 Quadrat),
       aber SICHTBAR machen wenn Menue geoeffnet (.toggled) */
    .handheld-navigation,
    .main-navigation .handheld-navigation,
    nav .handheld-navigation,
    nav#site-navigation .handheld-navigation {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    .main-navigation.toggled .handheld-navigation,
    nav.main-navigation.toggled .handheld-navigation,
    nav#site-navigation.toggled .handheld-navigation {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        background: rgba(30, 23, 16, 0.97) !important;
        padding: 1rem !important;
        border-radius: 8px !important;
        margin-top: 0.5rem !important;
    }
    /* Menu-Links: helle Farbe auf dunklem Hintergrund, max. Spezifitaet */
    .main-navigation.toggled .handheld-navigation ul li a,
    .main-navigation.toggled .handheld-navigation ul.menu li a,
    nav.main-navigation.toggled .handheld-navigation a,
    nav#site-navigation.toggled .handheld-navigation a,
    .main-navigation.toggled .handheld-navigation li a:link,
    .main-navigation.toggled .handheld-navigation li a:visited {
        color: #f5f0eb !important;
        padding: 0.85rem 1rem !important;
        display: block !important;
        font-size: 1.05rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        text-decoration: none !important;
        font-weight: 400 !important;
    }
    .main-navigation.toggled .handheld-navigation ul.menu ul li a,
    nav#site-navigation.toggled .handheld-navigation ul ul a {
        padding-left: 2rem !important;
        font-size: 0.95rem !important;
        color: rgba(245, 240, 235, 0.75) !important;
    }
    .main-navigation.toggled .handheld-navigation ul li a:hover,
    .main-navigation.toggled .handheld-navigation ul li a:active {
        color: #d99962 !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    /* 6. Storefront's eigenes Hamburger-Icon (::before mit background-image) entfernen */
    button.menu-toggle::after,
    button#site-navigation-menu-toggle::after {
        display: none !important;
        content: none !important;
    }
}
