/* =========================================================
   GEMEINSAME BASIS  (Warenkorb + Kasse)
   ========================================================= */
html.mdfwk-html, body.mdfwk-page { background:#07050f !important; color:#f0e8d0 !important; }
body.mdfwk-page { font-family:"Cormorant Garamond",Georgia,serif !important; }

/* WoodMart-Header / Banner / Footer weg */
body.mdfwk-page #wd-sticky-header, body.mdfwk-page .wd-header-banner,
body.mdfwk-page .whb-header, body.mdfwk-page .whb-general-header,
body.mdfwk-page .site-header, body.mdfwk-page .wd-header-wrapp,
body.mdfwk-page header.whb-header, body.mdfwk-page .woodmart-navigation,
body.mdfwk-page .wd-nav, body.mdfwk-page .main-page-title-wrapper,
body.mdfwk-page .page-title, body.mdfwk-page .wd-page-title,
body.mdfwk-page .woocommerce-breadcrumb, body.mdfwk-page .wd-breadcrumbs,
body.mdfwk-page .footer-container, body.mdfwk-page #colophon,
body.mdfwk-page .site-footer, body.mdfwk-page .wd-footer,
body.mdfwk-page .copyrights-wrapper, body.mdfwk-page .woodmart-copyrights { display:none !important; }

/* WoodMart-Schrittleiste dunkel */
body.mdfwk-page .wd-checkout-steps, body.mdfwk-page .wd-checkout-steps-wrapp { background:transparent !important; }
body.mdfwk-page .wd-checkout-steps * { color:rgba(240,232,208,.5) !important; font-family:"Cinzel",serif !important; }
body.mdfwk-page .wd-checkout-steps .active * { color:#e8c060 !important; }

/* Nebel-Hintergrund */
body.mdfwk-page::before {
  content:""; position:fixed; inset:-20%; z-index:0; pointer-events:none;
  background:
    radial-gradient(60% 50% at 22% 18%, rgba(192,96,255,.18), transparent 60%),
    radial-gradient(55% 45% at 82% 12%, rgba(232,192,96,.14), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(255,90,31,.16), transparent 60%);
  filter:blur(8px); }
body.mdfwk-page .mdfwk-embers { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
body.mdfwk-page .mdfwk-ember { position:absolute; bottom:-12px; width:3px; height:3px; border-radius:50%;
  background:#e8c060; opacity:0; filter:blur(.3px); animation:mdfwkRise linear infinite; }
@keyframes mdfwkRise { 0%{transform:translateY(0) translateX(0);opacity:0} 10%{opacity:.9} 90%{opacity:.6}
  100%{transform:translateY(-104vh) translateX(var(--drift,20px));opacity:0} }

/* Inhalt ueber Nebel heben, Wrapper transparent */
body.mdfwk-page #main-page, body.mdfwk-page .main-page-wrapper,
body.mdfwk-page #wrapper, body.mdfwk-page .website-wrapper,
body.mdfwk-page .content-area, body.mdfwk-page .site-content,
body.mdfwk-page #main-content, body.mdfwk-page .container,
body.mdfwk-page .row.content-page-wrapper, body.mdfwk-page .col-wd-12 {
  position:relative; z-index:1; background:transparent !important; background-color:transparent !important; }
body.mdfwk-page .mdfwk-topwrap, body.mdfwk-page .woocommerce { position:relative; z-index:1; }

/* Topbar */
body.mdfwk-page .mdfwk-topwrap { background:#07050f; }
body.mdfwk-page .mdfwk-logobar { text-align:center; padding:22px 16px 8px; }
body.mdfwk-page .mdfwk-logo-img { height:60px !important; width:auto !important; max-width:320px !important;
  display:inline-block !important; }
body.mdfwk-page .mdfwk-topbar { border-bottom:1px solid rgba(232,192,96,.22); padding:0 18px 14px; }
body.mdfwk-page .mdfwk-topbar-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; gap:16px; }
body.mdfwk-page .mdfwk-back-link { font-family:"Cinzel",serif; font-size:16px; letter-spacing:.16em;
  text-transform:uppercase; color:#e8c060 !important; text-decoration:none; text-shadow:0 0 10px rgba(232,192,96,.4); padding:8px 4px; }
body.mdfwk-page .mdfwk-back-link:hover { color:#f5d57a !important; }
body.mdfwk-page .mdfwk-top-spacer { flex:1; }
body.mdfwk-page .mdfwk-top-right { display:flex; align-items:center; gap:14px; }
body.mdfwk-page .mdfwk-rune { position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%;
  background:radial-gradient(circle at center, rgba(20,12,40,.85) 0%, rgba(5,3,12,.95) 70%);
  border:1px solid rgba(232,192,96,.4); box-shadow:inset 0 0 14px rgba(232,192,96,.18),0 6px 20px rgba(0,0,0,.5);
  text-decoration:none; color:#e8c060; transition:transform .4s,box-shadow .4s,border-color .4s; }
body.mdfwk-page .mdfwk-rune svg { filter:drop-shadow(0 0 6px rgba(232,192,96,.6)); }
body.mdfwk-page .mdfwk-rune:hover { transform:translateY(-2px); border-color:#f5d57a;
  box-shadow:inset 0 0 20px rgba(232,192,96,.4),0 8px 24px rgba(0,0,0,.6),0 0 30px rgba(232,192,96,.55); }
body.mdfwk-page .mdfwk-rune-count { position:absolute; top:-4px; right:-4px; display:inline-flex; align-items:center;
  justify-content:center; min-width:18px; height:18px; padding:0 5px; font-family:Georgia,serif; font-size:10px;
  font-weight:700; line-height:1; color:#07050f; background:linear-gradient(135deg,#f5d57a,#c9952a);
  border:1.5px solid #07050f; border-radius:10px; box-shadow:0 0 10px rgba(232,192,96,.8); }
@media(max-width:760px){
  body.mdfwk-page .mdfwk-back-link { font-size:13px; letter-spacing:.12em; }
  body.mdfwk-page .mdfwk-rune { width:42px; height:42px; }
}

/* Buttons GOLDEN (gemeinsam) */
body.mdfwk-page .button, body.mdfwk-page .checkout-button,
body.mdfwk-page .wc-proceed-to-checkout .button, body.mdfwk-page #place_order,
body.mdfwk-page button.button, body.mdfwk-page input.button,
body.mdfwk-page button[name="update_cart"], body.mdfwk-page input[name="update_cart"],
body.mdfwk-page .actions .button, body.mdfwk-page .coupon .button, body.mdfwk-page .wp-element-button {
  position:relative; overflow:hidden;
  background:linear-gradient(135deg,#e8c060,#c9952a) !important; color:#1a1206 !important;
  -webkit-text-fill-color:#1a1206 !important;
  border:none !important; font-family:"Cinzel",serif !important; font-weight:700 !important;
  letter-spacing:.06em !important; text-shadow:none !important; font-size:16px !important; padding:14px 22px !important;
  box-shadow:0 10px 26px -12px rgba(201,149,42,.7) !important; border-radius:8px !important;
  transition:transform .15s ease, box-shadow .15s ease !important; }
body.mdfwk-page .button:hover, body.mdfwk-page .checkout-button:hover, body.mdfwk-page #place_order:hover {
  transform:translateY(-1px) !important; box-shadow:0 14px 32px -10px rgba(201,149,42,.9) !important; }
body.mdfwk-page .checkout-button, body.mdfwk-page #place_order { font-size:18px !important; }
body.mdfwk-page .checkout-button::after, body.mdfwk-page #place_order::after {
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform:skewX(-20deg); animation:mdfwkSheen 4s ease-in-out infinite; }
@keyframes mdfwkSheen { 0%{ left:-60%; } 55%{ left:140%; } 100%{ left:140%; } }
body.mdfwk-page a { color:#e8c060; } body.mdfwk-page a:hover { color:#f5d57a; }

/* Fliegende Sterne ueber Haupt-Button */
body.mdfwk-page .mdfwk-starfield { position:absolute; inset:-20px -6px -6px; z-index:2; pointer-events:none; overflow:visible; }
body.mdfwk-page .mdfwk-star { position:absolute; opacity:0; pointer-events:none; line-height:1;
  color:#f5d57a; text-shadow:0 0 8px rgba(245,213,122,.95),0 0 14px rgba(255,200,80,.6);
  animation:mdfwkStar linear forwards; will-change:transform,opacity; }
@keyframes mdfwkStar { 0%{ opacity:0; transform:translateY(8px) scale(.4) rotate(0deg);} 20%{ opacity:var(--op,.9);}
  80%{ opacity:var(--op,.9);} 100%{ opacity:0; transform:translateY(-42px) translateX(var(--d,0px)) scale(1) rotate(var(--r,30deg));} }

/* Formularfelder dunkel (gemeinsam) */
body.mdfwk-page .input-text, body.mdfwk-page input[type=text], body.mdfwk-page input[type=email],
body.mdfwk-page input[type=tel], body.mdfwk-page input[type=password], body.mdfwk-page textarea,
body.mdfwk-page select, body.mdfwk-page .select2-container--default .select2-selection--single {
  background:rgba(12,8,32,.9) !important; color:#f0e8d0 !important;
  border:1px solid rgba(201,149,42,.4) !important; border-radius:8px !important; font-size:16px !important; padding:13px 15px !important; }
body.mdfwk-page ::placeholder { color:rgba(240,232,208,.4) !important; }
body.mdfwk-page .select2-dropdown { background:#0c0820 !important; color:#f0e8d0 !important; border:1px solid rgba(201,149,42,.4) !important; }
body.mdfwk-page .select2-results__option--highlighted { background:rgba(201,149,42,.3) !important; }

/* Ueberschriften golden (gemeinsam) */
body.mdfwk-page h1, body.mdfwk-page h2, body.mdfwk-page h3 {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important; font-family:"Cinzel",serif !important;
  font-weight:700 !important; text-shadow:0 0 12px rgba(232,192,96,.4) !important; letter-spacing:.06em !important; }
body.mdfwk-page h1 { font-size:34px !important; }
body.mdfwk-page h2 { font-size:24px !important; }
body.mdfwk-page h3 { font-size:20px !important; }

/* =========================================================
   NUR RECHTSSEITEN
   ========================================================= */
body.mdfrl-page { font-size:17px !important; }

/* Navi-Menue der Rechtsseiten */
body.mdfrl-page .mdfrl-nav { position:relative; z-index:1; padding:18px 18px 0; }
body.mdfrl-page .mdfrl-nav-inner {
  max-width:1000px; margin:0 auto; display:flex; flex-wrap:wrap; gap:10px;
  justify-content:center; padding-bottom:18px; border-bottom:1px solid rgba(232,192,96,.18); }
body.mdfrl-page .mdfrl-nav-link {
  font-family:"Cinzel",serif !important; font-size:12px !important; letter-spacing:.14em !important;
  text-transform:uppercase !important; text-decoration:none !important;
  color:rgba(240,232,208,.7) !important; -webkit-text-fill-color:rgba(240,232,208,.7) !important;
  padding:8px 16px !important; border:1px solid rgba(201,149,42,.3) !important; border-radius:6px !important;
  background:rgba(15,9,28,.5) !important; transition:all .25s !important; }
body.mdfrl-page .mdfrl-nav-link:hover {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  border-color:#e8c060 !important; box-shadow:0 0 16px rgba(232,192,96,.25) !important; }
body.mdfrl-page .mdfrl-nav-link.mdfrl-active {
  color:#07050f !important; -webkit-text-fill-color:#07050f !important;
  background:linear-gradient(135deg,#e8c060,#c9952a) !important; border-color:#e8c060 !important; font-weight:700 !important; }

/* Inhaltsbereich (Elementor) ueber den Nebel + zentriert */
body.mdfrl-page .elementor,
body.mdfrl-page .site-content,
body.mdfrl-page .content-area,
body.mdfrl-page #main-content { position:relative; z-index:1; }

/* Lesbarer Textkasten um den Rechtstext */
body.mdfrl-page .elementor-widget-container {
  color:#f0e8d0 !important; }

/* ALLE Texte hell */
body.mdfrl-page .elementor-widget-text-editor,
body.mdfrl-page .elementor-widget-text-editor *,
body.mdfrl-page .elementor-widget-wd_text_block,
body.mdfrl-page .elementor-widget-wd_text_block *,
body.mdfrl-page .wd-text-block,
body.mdfrl-page .wd-text-block *,
body.mdfrl-page .elementor-widget-theme-post-content,
body.mdfrl-page .elementor-widget-theme-post-content * {
  color:#f0e8d0 !important; -webkit-text-fill-color:#f0e8d0 !important; }

/* Fliesstext gross + luftig */
body.mdfrl-page .wp-block-paragraph,
body.mdfrl-page .elementor-widget-text-editor p,
body.mdfrl-page .wd-text-block p {
  font-family:"Cormorant Garamond",Georgia,serif !important;
  font-size:18px !important; line-height:1.75 !important; margin-bottom:14px !important;
  color:#e6ddc4 !important; -webkit-text-fill-color:#e6ddc4 !important; }

/* Ueberschriften / fette Abschnitts-Titel golden in Cinzel */
body.mdfrl-page h1, body.mdfrl-page h2, body.mdfrl-page h3, body.mdfrl-page h4,
body.mdfrl-page .elementor-heading-title,
body.mdfrl-page strong, body.mdfrl-page b {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  font-family:"Cinzel",serif !important; }
body.mdfrl-page h1 { font-size:30px !important; margin-bottom:18px !important; text-shadow:0 0 14px rgba(232,192,96,.4) !important; }
body.mdfrl-page h2, body.mdfrl-page .elementor-heading-title { font-size:23px !important; margin:24px 0 12px !important; }
body.mdfrl-page strong, body.mdfrl-page b { font-size:18px !important; display:inline-block; margin-top:6px; }

/* Links golden + unterstrichen */
body.mdfrl-page a:not(.mdfrl-nav-link):not(.mdfwk-back-link):not(.mdfwk-logo) {
  color:#e8c060 !important; -webkit-text-fill-color:#e8c060 !important;
  text-decoration:underline !important; text-decoration-color:rgba(232,192,96,.5) !important; }

/* Inhalts-Container: zentrierter dunkler Kasten mit Goldrahmen */
body.mdfrl-page .elementor-section .elementor-container,
body.mdfrl-page article.page,
body.mdfrl-page .page-content {
  max-width:1000px !important; margin-left:auto !important; margin-right:auto !important; }

/* etwas Innenabstand fuer den Textblock */
body.mdfrl-page .elementor-widget-wd_text_block .wd-text-block,
body.mdfrl-page .elementor-widget-text-editor {
  background:rgba(12,8,26,.45) !important;
  border:1px solid rgba(201,149,42,.18) !important;
  border-radius:10px !important;
  padding:28px 30px !important; margin-bottom:18px !important; }

/* Listen lesbar */
body.mdfrl-page ul, body.mdfrl-page ol { color:#e6ddc4 !important; font-size:17px !important; line-height:1.7 !important; padding-left:22px !important; }
body.mdfrl-page li { margin-bottom:6px !important; }

/* Tabellen (falls in Rechtstexten) */
body.mdfrl-page table { border-collapse:collapse !important; width:100% !important; }
body.mdfrl-page table td, body.mdfrl-page table th {
  border:1px solid rgba(201,149,42,.25) !important; padding:10px 12px !important; color:#e6ddc4 !important; }

/* Seitentitel (WoodMart-Page-Title) falls sichtbar: golden statt orange */
body.mdfrl-page .entry-title, body.mdfrl-page .page-title { color:#e8c060 !important; font-family:"Cinzel",serif !important; }

/* =========================================================
   LOGO AUFHELLEN – eine einzige Regel, schwarzes SVG -> weiss/gold
   (alle alten konkurrierenden Filter wurden entfernt)
   ========================================================= */
html body.mdfwk-page .mdfwk-topwrap .mdfwk-logobar .mdfwk-logo img.mdfwk-logo-img,
html body.mdfrl-page .mdfwk-topwrap .mdfwk-logobar .mdfwk-logo img.mdfwk-logo-img {
  height:64px !important;
  width:auto !important;
  max-width:340px !important;
  display:inline-block !important;
  /* schwarzes SVG komplett weiss faerben, dann goldener Schein */
  filter: brightness(0) invert(1)
          drop-shadow(0 0 16px rgba(232,192,96,.75))
          drop-shadow(0 0 5px rgba(245,213,122,.95)) !important;
  -webkit-filter: brightness(0) invert(1)
          drop-shadow(0 0 16px rgba(232,192,96,.75))
          drop-shadow(0 0 5px rgba(245,213,122,.95)) !important;
}

/* =========================================================
   WIDERRUFS-FORMULAR (German Market) – Felder & Labels lesbar
   ========================================================= */
/* Labels hell */
body.mdfrl-page form label,
body.mdfrl-page .gm-withdrawal-form label,
body.mdfrl-page .woocommerce form label,
body.mdfrl-page p label {
  color:#f0e8d0 !important;
  -webkit-text-fill-color:#f0e8d0 !important;
  font-family:"Cormorant Garamond",Georgia,serif !important;
  font-size:17px !important;
  font-weight:600 !important;
}

/* Eingabefelder + Textarea dunkel mit hellem Text */
body.mdfrl-page input[type=text],
body.mdfrl-page input[type=email],
body.mdfrl-page input[type=tel],
body.mdfrl-page input[type=number],
body.mdfrl-page input[type=search],
body.mdfrl-page textarea,
body.mdfrl-page select {
  background:rgba(20,14,36,.92) !important;
  color:#f0e8d0 !important;
  -webkit-text-fill-color:#f0e8d0 !important;
  border:1px solid rgba(201,149,42,.45) !important;
  border-radius:6px !important;
  padding:12px 14px !important;
  font-size:16px !important;
  box-shadow:none !important;
  outline:none !important;
}
body.mdfrl-page input::placeholder,
body.mdfrl-page textarea::placeholder {
  color:rgba(240,232,208,.5) !important;
  -webkit-text-fill-color:rgba(240,232,208,.5) !important;
}
body.mdfrl-page input:focus,
body.mdfrl-page textarea:focus,
body.mdfrl-page select:focus {
  border-color:#e8c060 !important;
  box-shadow:0 0 12px rgba(232,192,96,.25) !important;
}

/* Pflichtfeld-Sternchen golden */
body.mdfrl-page .required,
body.mdfrl-page abbr.required {
  color:#e8c060 !important;
  -webkit-text-fill-color:#e8c060 !important;
  border:none !important;
}

/* Absende-Button im Goldstil */
body.mdfrl-page button[type=submit],
body.mdfrl-page input[type=submit],
body.mdfrl-page .gm-withdrawal-form button,
body.mdfrl-page .german-market-withdrawal-button {
  background:linear-gradient(135deg,#e8c060,#c9952a) !important;
  color:#07050f !important;
  -webkit-text-fill-color:#07050f !important;
  border:none !important;
  border-radius:6px !important;
  padding:14px 28px !important;
  font-family:"Cinzel",serif !important;
  font-size:14px !important;
  letter-spacing:.1em !important;
  text-transform:uppercase !important;
  font-weight:700 !important;
  cursor:pointer !important;
  transition:all .25s !important;
}
body.mdfrl-page button[type=submit]:hover,
body.mdfrl-page input[type=submit]:hover,
body.mdfrl-page .german-market-withdrawal-button:hover {
  box-shadow:0 4px 20px rgba(232,192,96,.4) !important;
}

/* =========================================================
   Doppelten "Vertrag widerrufen"-Button NUR auf der
   Widerrufsseite selbst ausblenden (woanders bleibt er)
   ========================================================= */
body.mdfrl-vertrag-widerrufen .german-market-withdrawal-button-wrap,
body.mdfrl-vertrag-widerrufen a.german-market-withdrawal-button {
  display:none !important;
}
