/*
Theme Name: RR-3D Shop
Theme URI: https://rr-3d.de/
Author: RR-3D
Description: Schlankes WooCommerce-Theme passend zur RR-3D Unternehmenswebsite.
Version: 1.3.2
Text Domain: rr3d-shop
*/
:root{--rr-bg:#07101d;--rr-bg2:#0b1626;--rr-surface:#101d2f;--rr-surface2:#14243a;--rr-text:#f5f8fd;--rr-muted:#aebbd0;--rr-line:rgba(182,204,235,.18);--rr-accent:#70aaff;--rr-accent2:#0b74ff;--rr-radius:8px;--rr-max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--rr-bg);color:var(--rr-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.rr-container{width:min(var(--rr-max),calc(100% - 36px));margin:auto}.rr-header{position:sticky;top:0;z-index:99;background:#07101d;border-bottom:1px solid var(--rr-line)}.rr-header__inner{min-height:76px;display:flex;align-items:center;gap:24px}.rr-brand img{width:145px;max-height:58px;object-fit:contain}.rr-nav{margin-left:auto;display:flex;gap:8px;align-items:center}.rr-nav a{padding:.65rem .8rem;border-radius:6px;color:var(--rr-muted);font-weight:650;white-space:nowrap}.rr-nav a:hover,.rr-nav .rr-cart{background:var(--rr-surface);color:var(--rr-text)}.rr-cart{border:1px solid var(--rr-line)}.site-main{min-height:60vh;padding:48px 0 72px}.page-header,.woocommerce-products-header{margin-bottom:28px;padding-bottom:16px;border-bottom:1px solid var(--rr-line)}.entry-title,.woocommerce-products-header__title{font-size:clamp(2rem,4vw,3.25rem);line-height:1.12}.rr-series-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px;padding:22px 24px;border:1px solid var(--rr-line);border-left:4px solid var(--rr-accent2);border-radius:var(--rr-radius);background:var(--rr-surface)}.rr-series-cta strong,.rr-series-cta span{display:block}.rr-series-cta span{margin-top:4px;color:var(--rr-muted)}.woocommerce .products ul,.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:16px;border:1px solid var(--rr-line);border-radius:var(--rr-radius);background:var(--rr-surface)}.woocommerce ul.products li.product a img{border-radius:6px;background:var(--rr-surface2);aspect-ratio:4/3;object-fit:cover}.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--rr-text);font-size:1.18rem}.woocommerce ul.products li.product .price{color:var(--rr-accent);font-weight:800}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button{background:var(--rr-accent2)!important;color:#fff!important;border:0!important;border-radius:6px!important;padding:.78rem 1.05rem!important;font-weight:750!important}.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important}.woocommerce div.product div.images img{border-radius:var(--rr-radius);background:var(--rr-surface)}.woocommerce div.product .product_title{font-size:clamp(2rem,4vw,3.25rem)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--rr-accent);font-size:1.6rem;font-weight:800}.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--rr-surface);color:var(--rr-text);border-top-color:var(--rr-accent)}.woocommerce table.shop_table,.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{background:var(--rr-surface);border-color:var(--rr-line);border-radius:var(--rr-radius)}input,select,textarea{background:var(--rr-bg2);color:var(--rr-text);border:1px solid var(--rr-line);border-radius:6px;padding:.7rem}.rr-footer{border-top:1px solid var(--rr-line);background:var(--rr-bg2);padding:34px 0;color:var(--rr-muted)}.rr-footer__inner{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.rr-footer nav{display:flex;gap:14px;flex-wrap:wrap}@media(max-width:860px){.rr-header__inner{flex-wrap:wrap;padding:9px 0}.rr-nav{width:100%;margin:0;gap:2px;overflow:visible}.rr-nav a{padding:.5rem}.rr-series-cta{align-items:flex-start;flex-direction:column}.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce div.product{grid-template-columns:1fr}}@media(max-width:560px){.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:1fr}.site-main{padding-top:30px}}

/* Navigation and brand visibility improvements (v1.1.6). */
.rr-brand{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;padding:5px 10px;border-radius:8px;background:#f5f8fd;box-shadow:0 0 0 1px rgba(255,255,255,.12);line-height:0}
.rr-brand img{display:block;width:78px;height:64px;max-height:none;object-fit:contain}
.rr-brand:focus-visible,.rr-nav a:focus-visible,.rr-nav-toggle:focus-visible{outline:3px solid var(--rr-accent);outline-offset:3px}
.rr-nav-toggle{display:none;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px;padding:8px 11px;border:1px solid var(--rr-line);border-radius:7px;background:var(--rr-surface);color:var(--rr-text);font:inherit;font-weight:750;cursor:pointer}
.rr-nav-toggle__icon{display:grid;gap:4px;width:20px}
.rr-nav-toggle__icon span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
.rr-nav-toggle[aria-expanded="true"] .rr-nav-toggle__icon span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.rr-nav-toggle[aria-expanded="true"] .rr-nav-toggle__icon span:nth-child(2){opacity:0}
.rr-nav-toggle[aria-expanded="true"] .rr-nav-toggle__icon span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
body.rr-navigation-open{overflow:hidden;overscroll-behavior:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{position:relative;z-index:1;overflow-wrap:anywhere;word-break:break-word}

@media(max-width:860px){
  .rr-header__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 14px;padding:9px 0}
  .rr-brand{justify-self:start;padding:4px 8px}
  .rr-brand img{width:72px;height:58px;max-height:none}
  .rr-nav-toggle{display:inline-flex;justify-self:end}
  .rr-nav{grid-column:1/-1;width:100%;max-height:calc(100vh - 88px);max-height:calc(100dvh - 88px);margin:0;padding:8px 0 3px;display:grid;grid-template-columns:1fr;gap:4px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-top:1px solid var(--rr-line);scrollbar-gutter:stable}
  .rr-nav[hidden]{display:none}
  .rr-nav a{display:flex;align-items:center;width:100%;min-height:44px;padding:.65rem .85rem;white-space:normal;border:1px solid transparent}
  .rr-nav a:hover,.rr-nav a:focus-visible{background:var(--rr-surface);color:var(--rr-text);border-color:var(--rr-line)}
}

@media(max-width:380px){
  .rr-nav-toggle__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
}

/* Live-Katalog und Startseite (v1.2.0). */
:root{--rr-accent:#69c6ff;--rr-accent2:#087cff;--rr-warm:#f5f2ec;--rr-radius:14px;--rr-shadow:0 24px 70px rgba(0,0,0,.28)}
body{background:radial-gradient(circle at 80% 0,rgba(8,124,255,.13),transparent 30rem),linear-gradient(180deg,#07101d 0,#081321 55%,#07101d 100%)}
.rr-header{background:rgba(7,16,29,.92);backdrop-filter:blur(14px)}
.rr-nav .rr-nav-cta{background:linear-gradient(120deg,var(--rr-accent2),#0aa2df);color:#fff;border:1px solid rgba(255,255,255,.12)}
.site-main{overflow:hidden;padding:0 0 84px}
.rr-kicker{margin:0 0 .8rem;color:var(--rr-accent);font-size:.78rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.rr-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:clamp(38px,7vw,88px);align-items:center;min-height:650px;padding:82px 0 88px}
.rr-hero h1{max-width:790px;margin:0;font-size:clamp(3rem,6vw,5.8rem);line-height:.95;letter-spacing:-.065em;text-wrap:balance}
.rr-hero__lead{max-width:690px;margin:28px 0 0;color:var(--rr-muted);font-size:clamp(1.05rem,1.7vw,1.28rem)}
.rr-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:34px}
.rr-button-secondary{display:inline-flex;align-items:center;justify-content:center;padding:.76rem 1.1rem;border:1px solid var(--rr-line);border-radius:8px;color:var(--rr-text);font-weight:780}
.rr-button-secondary:hover{border-color:var(--rr-accent);background:rgba(105,198,255,.08)}
.rr-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:42px 0 0;padding:0;list-style:none}
.rr-proof li{padding:16px;border-top:1px solid var(--rr-line)}.rr-proof strong,.rr-proof span{display:block}.rr-proof strong{font-size:1.25rem}.rr-proof span{margin-top:3px;color:var(--rr-muted);font-size:.84rem}
.rr-hero__media{position:relative;padding:12px;border:1px solid var(--rr-line);border-radius:24px;background:linear-gradient(150deg,rgba(20,36,58,.96),rgba(8,19,33,.96));box-shadow:var(--rr-shadow);}
.rr-hero__media img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;background:var(--rr-warm)}
.rr-hero__media>span{display:block;padding:12px 8px 4px;color:var(--rr-muted);font-size:.8rem}.rr-hero__placeholder{display:grid;place-items:center;aspect-ratio:4/3;border-radius:16px;background:var(--rr-surface2);font-size:4rem;font-weight:900}
.rr-section{padding:86px 0;border-top:1px solid var(--rr-line)}
.rr-section__head{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:34px}.rr-section__head h2,.rr-final-cta h2{max-width:760px;margin:0;font-size:clamp(2.1rem,4vw,3.6rem);line-height:1.02;letter-spacing:-.045em}.rr-section__head>p{max-width:520px;margin:0;color:var(--rr-muted)}
.rr-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.rr-category-grid a{display:flex;min-height:220px;flex-direction:column;padding:22px;border:1px solid var(--rr-line);border-radius:14px;background:linear-gradient(145deg,var(--rr-surface),#0b1828);transition:transform .2s,border-color .2s}.rr-category-grid a:hover{transform:translateY(-4px);border-color:rgba(105,198,255,.55)}.rr-category-grid span{color:var(--rr-accent);font-size:.76rem;font-weight:850}.rr-category-grid strong{margin-top:auto;font-size:1.4rem}.rr-category-grid small{margin-top:5px;color:var(--rr-muted);font-size:.9rem}
.woocommerce-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;color:var(--rr-muted);font-size:.9rem}.woocommerce-breadcrumb a{color:var(--rr-accent);font-weight:750}.woocommerce-breadcrumb span{color:var(--rr-muted)}
.rr-featured .woocommerce{margin-top:8px}.rr-text-link{color:var(--rr-accent);font-weight:800}
.woocommerce ul.products li.product{overflow:hidden;padding:12px;border-radius:16px;background:linear-gradient(160deg,rgba(16,36,58,.98),rgba(9,22,38,.98));box-shadow:0 16px 44px rgba(0,0,0,.18)}.woocommerce ul.products li.product a img{margin:0 0 14px;border-radius:11px;aspect-ratio:4/3;object-fit:cover;background:var(--rr-warm)}.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:3.15em;padding:0 4px;font-size:1.04rem;line-height:1.45}.woocommerce ul.products li.product .price{display:block;padding:0 4px;color:var(--rr-accent);font-size:.95rem}.woocommerce ul.products li.product .button{margin:10px 4px 4px!important;width:calc(100% - 8px);text-align:center}
.rr-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}.rr-process li{display:flex;gap:16px;padding:25px;border:1px solid var(--rr-line);border-radius:14px;background:rgba(16,29,47,.72)}.rr-process>li>span{display:grid;flex:0 0 38px;height:38px;place-items:center;border-radius:50%;background:rgba(8,124,255,.18);color:var(--rr-accent);font-weight:850}.rr-process strong{font-size:1.13rem}.rr-process p{margin:.5rem 0 0;color:var(--rr-muted)}
.rr-final-cta{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:16px;padding:42px;border:1px solid rgba(105,198,255,.3);border-radius:20px;background:radial-gradient(circle at 100% 0,rgba(8,124,255,.24),transparent 24rem),var(--rr-surface);box-shadow:var(--rr-shadow)}.rr-final-cta p:last-child{margin-bottom:0;color:var(--rr-muted)}
.single-product .site-main,.woocommerce-page:not(.home) .site-main{padding-top:54px}.woocommerce-products-header__title.page-title{margin:0}.woocommerce .woocommerce-ordering select{min-width:210px}.woocommerce div.product div.summary{align-self:start}.woocommerce div.product div.images img{background:var(--rr-warm)}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related.products,.woocommerce div.product .upsells.products{grid-column:1/-1}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,96px));gap:10px;margin:14px 0 0;padding:0;list-style:none}.woocommerce div.product div.images .flex-control-thumbs li{float:none!important;width:auto!important;margin:0!important}.woocommerce div.product div.images .flex-control-thumbs img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border:2px solid transparent;border-radius:9px;opacity:.72;cursor:pointer}.woocommerce div.product div.images .flex-control-thumbs img.flex-active{border-color:var(--rr-accent2);opacity:1}
@media(max-width:960px){.rr-hero{grid-template-columns:1fr;min-height:0;padding:62px 0}.rr-hero__media{max-width:720px}.rr-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rr-process{grid-template-columns:1fr}.rr-final-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.rr-container{width:min(var(--rr-max),calc(100% - 28px))}.rr-hero{padding:46px 0 58px}.rr-hero h1{font-size:clamp(2.75rem,14vw,4.1rem)}.rr-proof{grid-template-columns:1fr}.rr-proof li{display:grid;grid-template-columns:80px 1fr;align-items:center}.rr-category-grid{grid-template-columns:1fr}.rr-category-grid a{min-height:165px}.rr-section{padding:62px 0}.rr-section__head{align-items:flex-start;flex-direction:column}.rr-final-cta{padding:28px}.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:1fr}}

/* Suchbare Kategorie-Einführungen (v1.3.1). */
.term-description{max-width:78ch;color:var(--rr-muted)}
.term-description p:last-child{margin-bottom:0}

/* Shared RR-3D navigation and controls, 2026-10. */
:root {
  --rr-bg: #0b1220;
  --rr-bg2: #111c2d;
  --rr-surface: #111c2d;
  --rr-surface2: #17263b;
  --rr-accent2: #0062dc;
  --rr-action-hover: #004fc7;
  --rr-warm: #f4f7fb;
  --rr-radius: 14px;
}
body { font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; background: var(--rr-bg); }
.rr-header { background: rgba(11,18,32,.96); }
.rr-nav-toggle[hidden], .rr3d-menu-links[hidden] { display: none !important; }
.rr-skip-link { position: absolute; top: 10px; left: -999px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: #0062dc; color: #fff; }
.rr-skip-link:focus { left: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #69c6ff; outline-offset: 3px; }
.rr-nav { min-width: 0; gap: 14px; }
.rr3d-destinations { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content,1fr); flex: 0 0 auto; gap: 3px; padding: 3px; border: 1px solid #405873; border-radius: 14px; background: #111c2d; }
.rr-nav .rr3d-destination, .rr-nav .rr3d-menu-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; color: #c6d2df; font-size: 14px; font-weight: 750; line-height: 1.2; text-align: center; white-space: nowrap; }
.rr-nav a:hover, .rr-nav a:focus-visible { border-color: #547493; background: #17263b; color: #fff; }
.rr-nav .rr3d-destination[aria-current="location"], .rr-nav a[aria-current="page"] { border-color: #69c6ff; background: #0062dc; color: #fff; box-shadow: inset 0 -2px 0 #69c6ff; }
.rr-nav .rr3d-area-change::after { content: "↗"; margin-left: 6px; color: #82d2ff; font-size: .9em; }
.rr-nav .rr3d-destination.rr3d-area-change::after { content: "→"; }
.rr3d-menu-links, .rr3d-nav-section { display: flex; align-items: center; gap: 4px; }
.rr3d-menu-links { min-width: 0; padding-left: 14px; border-left: 1px solid #405873; }
.rr3d-menu-heading, .rr3d-nav-section__label { display: none; }
.rr-nav .rr-nav-cta { margin-left: 6px; border-color: #3c94ff; background: #111c2d; color: #fff; }
.rr-nav .rr-nav-cta:hover { border-color: #69c6ff; background: #17263b; }
.rr-nav-toggle { border-radius: 10px; font-size: 13px; }
html.rr-navigation-open, body.rr-navigation-open { overflow: hidden; overscroll-behavior: none; }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button, .rr-button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px !important; line-height: 1.3; }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wp-element-button:hover { background: var(--rr-action-hover) !important; color: #fff !important; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select { min-height: 44px; border-radius: 10px; }
textarea { border-radius: 10px; }
.rr-hero__media, .rr-final-cta, .woocommerce ul.products li.product { border-radius: 14px; }
.rr-hero__media img { border-radius: 10px; }
@media (max-width: 1240px) {
  .rr-header__inner { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 12px; min-height: 0; padding: 8px 0 10px; }
  .rr-brand { justify-self: start; }
  .rr-nav-toggle { display: inline-flex; justify-self: end; gap: 8px; height: 44px; padding: 0 13px; }
  .rr-nav { position: static; grid-column: 1/-1; display: block; width: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; }
  .rr3d-destinations { grid-auto-flow: initial; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .rr-nav .rr3d-destination { width: 100%; min-width: 0; }
  .rr3d-menu-links { position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 120; display: grid; gap: 10px; max-height: calc(100vh - 156px); max-height: calc(100dvh - 156px); margin: 0; padding: 16px; border: 1px solid #405873; border-top-color: #69c6ff; border-radius: 0 0 14px 14px; background: #0b1220; box-shadow: 0 24px 60px rgba(0,0,0,.42); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
  .rr-navigation-js body:not(.rr-navigation-open) .rr-nav .rr3d-menu-links { display: none; }
  html:not(.rr-navigation-js) .rr3d-menu-links { position: static; max-height: none; margin-top: 10px; }
  .rr3d-menu-heading, .rr3d-nav-section__label { display: block; color: #aebbd0; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
  .rr3d-menu-heading { padding-bottom: 8px; border-bottom: 1px solid #405873; color: #f4f7fb; font-size: 12px; }
  .rr3d-nav-section { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .rr3d-nav-section + .rr3d-nav-section { padding-top: 10px; border-top: 1px solid #405873; }
  .rr-nav .rr3d-menu-links a { justify-content: flex-start; width: 100%; white-space: normal; text-align: left; }
  .rr-nav .rr3d-menu-links .rr-nav-cta { justify-content: center; margin: 5px 0 0; text-align: center; }
}
@media (max-width: 620px) {
  .rr-nav-toggle { padding-inline: 11px; font-size: 12px; }
  .rr-nav .rr3d-destination { padding-inline: 8px; font-size: 13px; }
  .rr-proof li { grid-template-columns: minmax(90px,auto) 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
