/* ============================================================
   Schuhmode Geller – Designsystem (geteilt: index.php + thema.php)
   Ausgelagert aus index.php. Themenseiten erben dieselbe Optik.
   ============================================================ */
/* ============================================================
   Schuhmode Geller – Designsystem-Entwurf v2
   weiß & luftig, Rot aktiv eingesetzt, emotionaler Hero
   ============================================================ */
:root{
  --weiss:        #FFFFFF;
  --creme:        #FAF6EF;    /* sehr helles Beige – Seitenhintergrund */
  --hell:         #F2EEE6;    /* dezente Sekundärfläche, etwas tiefer als der BG */
  --tinte:        #1E1B18;
  --grau:         #6F6862;
  --rot:          #C8102E;
  --rot-dunkel:   #A30D26;
  --rot-hell:     #FBEAED;    /* rote Tönung für Flächen/Badges */
  --linie:        #ECE8E3;
  --gruen:        #2E7D4F;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(30,27,24,.05), 0 14px 36px -16px rgba(30,27,24,.16);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{
  font-family:var(--font-body);
  background:var(--creme);
  color:var(--tinte);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--rot);outline-offset:2px;border-radius:4px}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100;background:#fff;color:var(--tinte);padding:.7rem 1.1rem;border-radius:0 0 8px 0;font-weight:700;text-decoration:none;box-shadow:0 4px 14px -4px rgba(30,27,24,.3)}
.skip-link:focus{left:0}

.wrap{width:min(1200px, 100% - 2.5rem);margin-inline:auto}
section{padding:5rem 0}
@media(max-width:700px){section{padding:3.5rem 0}}

/* ---------- Typo ---------- */
h1,h2,h3{font-family:var(--font-display);line-height:1.12;font-weight:600;letter-spacing:-.012em}
.eyebrow{
  display:inline-block;
  font-size:.76rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--rot);margin-bottom:.9rem;
}
.section-head{max-width:600px;margin-bottom:3rem}
.section-head h2{font-size:clamp(1.8rem, 3.6vw, 2.5rem);margin-bottom:.7rem}
.section-head p{color:var(--grau);font-size:1.02rem}
.section-head.center{margin-inline:auto;text-align:center}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font:inherit;font-weight:700;font-size:.95rem;
  padding:.9rem 1.6rem;border-radius:999px;border:none;cursor:pointer;
  text-decoration:none;
  transition:background .15s ease, transform .18s ease, box-shadow .18s ease, color .15s ease;
  min-height:48px;
  box-shadow:0 2px 8px -2px rgba(30,27,24,.2);
}
.btn:hover{transform:translateY(-2px);box-shadow:0 9px 20px -7px rgba(30,27,24,.32)}
.btn:active{transform:translateY(0) scale(.96);box-shadow:0 1px 3px -1px rgba(30,27,24,.25);transition-duration:.08s}
.btn-rot{background:var(--rot);color:#fff;box-shadow:0 3px 12px -3px rgba(200,16,46,.45)}
.btn-rot:hover{background:var(--rot-dunkel);box-shadow:0 10px 22px -7px rgba(200,16,46,.5)}
.btn-weiss{background:#fff;color:var(--tinte)}
.btn-weiss:hover{background:var(--hell)}
.btn-line{background:#fff;color:var(--tinte);border:1.5px solid var(--linie);box-shadow:0 2px 6px -2px rgba(30,27,24,.14)}
.btn-line:hover{border-color:var(--tinte)}
.btn svg{flex:none}
@keyframes btn-icon-pop{
  0%{transform:scale(1) rotate(0)}
  35%{transform:scale(1.3) rotate(-10deg)}
  70%{transform:scale(.95) rotate(5deg)}
  100%{transform:scale(1) rotate(0)}
}
.btn:hover svg{animation:btn-icon-pop .5s ease}

/* ---------- Header ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,246,239,.92);backdrop-filter:blur(10px);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:76px;gap:1rem;
}
/* Navi + Aktionen auf die Schriftzeile des Logos absenken
   (der Schriftzug sitzt im unteren Drittel der Logo-Grafik) */
nav.main,.header-actions{transform:translateY(10px)}
nav.main{display:none;gap:.3rem;align-items:center}
nav.main a{
  text-decoration:none;font-size:.92rem;font-weight:600;color:var(--grau);
  padding:.5rem .95rem;border-radius:999px;
  transition:background .15s ease, color .15s ease;
}
nav.main a:hover{background:var(--hell);color:var(--tinte)}
nav.main a[aria-current="page"]{color:var(--rot-dunkel);background:var(--rot-hell)}
nav.main a[aria-current="page"]:hover{background:var(--rot-hell);color:var(--rot-dunkel)}
.logo{display:inline-flex;align-items:center;flex:none}
.logo img{height:42px;width:auto}
.header-actions{display:flex;align-items:center;gap:.5rem;margin-left:auto}
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;
  background:transparent;border:1.5px solid var(--linie);cursor:pointer;color:var(--tinte);
  text-decoration:none;transition:border-color .15s ease;
}
.icon-btn:hover{border-color:var(--tinte)}
.header-cta{display:none;padding:.65rem 1.25rem;min-height:44px;font-size:.9rem}
.burger{display:inline-flex}
@media(min-width:960px){
  nav.main{display:flex}
  .header-cta{display:inline-flex}
  .burger{display:none}
  .icon-btn.mobile-only{display:none}
}

/* Mobile-Menü */
#menu-panel{display:none;border-top:1px solid var(--linie);background:var(--creme);padding:.6rem 0 1.2rem}
#menu-panel.open{display:block}
#menu-panel a{display:block;padding:.85rem .25rem;text-decoration:none;font-weight:500;border-bottom:1px solid var(--linie)}
#menu-panel a:last-child{border:none;color:var(--rot);font-weight:700}
#menu-panel a[aria-current="page"]{color:var(--rot-dunkel);font-weight:700}

/* ---------- Hero (emotional, full-bleed im Wrap) ---------- */
.hero{padding:1.25rem 0 0}
.hero-stage{
  position:relative;border-radius:calc(var(--radius) + 8px);overflow:hidden;
  /* rechte Ecken eckig: dort runden die eingeklinkten Flächen bzw. das Bild selbst,
     sonst schneidet der Bühnen-Clip durch die weißen Flächen (Bild-Blitzer) */
  border-top-right-radius:0;border-bottom-right-radius:0;
  min-height:520px;display:flex;align-items:flex-end;
  /* drop-shadow folgt der echten Silhouette inkl. runder weißer Ecken – kein Schattenbogen, keine Spitzecke */
  filter:drop-shadow(0 30px 17px rgba(30,27,24,.16));
}
.hero-foto,.hero-overlay{
  border-top-right-radius:calc(var(--radius) + 8px);
  border-bottom-right-radius:calc(var(--radius) + 8px);
}
@media(min-width:900px){.hero-stage{min-height:620px}}
.foto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-foto{object-position:62% 35%}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(20deg, rgba(20,15,12,.78) 0%, rgba(20,15,12,.4) 45%, rgba(20,15,12,.06) 78%);
}
.hero-content{
  position:relative;z-index:2;color:#fff;
  padding:2.2rem 1.6rem 2.4rem;max-width:640px;
}
@media(min-width:900px){.hero-content{padding:3.5rem 3.5rem 3.2rem}}
.hero-kicker{
  display:inline-flex;align-items:center;gap:.55rem;
  font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  margin-bottom:1.1rem;color:#fff;
}
.hero-kicker::before{content:"";width:28px;height:2px;background:var(--rot);border-radius:2px}
.hero h1{font-size:clamp(2.3rem, 6vw, 4rem);margin-bottom:1rem;color:#fff}
.hero h1 em{font-style:italic;font-weight:500}
.hero p.lead{font-size:1.05rem;color:rgba(255,255,255,.85);max-width:44ch;margin-bottom:1.7rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.75rem}
/* Eingeklinkte Status-Fläche oben rechts im Hero
   (1px Überlappung der Eckstücke, damit das Bild nicht durchblitzt) */
.hero-status{
  position:absolute;z-index:3;top:-1px;right:-1px;
  display:inline-flex;align-items:center;gap:.55rem;
  background:var(--creme);
  padding:.7rem .8rem .75rem 2.1rem;
  border-bottom-left-radius:26px;
  border-top-right-radius:calc(var(--radius) + 8px);
  font-size:.84rem;font-weight:700;
}
.hero-status::before,.hero-status::after{
  content:"";position:absolute;width:26px;height:26px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M0 0H26V26A26 26 0 0 0 0 0Z' fill='%23FAF6EF'/%3E%3C/svg%3E") no-repeat;
  background-size:100% 100%;
}
.hero-status::before{top:1px;left:-25px}
.hero-status::after{right:1px;bottom:-25px}
.hero-status .dot{width:8px;height:8px;border-radius:50%;background:var(--gruen)}

/* Eingeklinkte Bewertungs-Fläche unten rechts im Hero */
.hero-rating{
  position:absolute;z-index:3;bottom:-1px;right:-1px;
  display:inline-flex;align-items:center;gap:.6rem;
  background:var(--creme);text-decoration:none;
  padding:.95rem 1.2rem .85rem 2.1rem;
  border-top-left-radius:26px;
  border-bottom-right-radius:calc(var(--radius) + 8px);
  font-size:.84rem;font-weight:700;color:var(--tinte);
}
.hero-rating .sub{font-weight:500;color:var(--grau)}
.hero-rating::before,.hero-rating::after{
  content:"";position:absolute;width:26px;height:26px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M26 0A26 26 0 0 1 0 26H26Z' fill='%23FAF6EF'/%3E%3C/svg%3E") no-repeat;
  background-size:100% 100%;
}
.hero-rating::before{top:-25px;right:1px}
.hero-rating::after{left:-25px;bottom:1px}
@media(max-width:700px){
  .hero-status{font-size:.76rem;padding:.25rem .6rem .9rem 1.5rem}
  .hero-rating{display:none}
}

/* Bildplatzhalter (Prototyp) */
.ph{
  background:
	radial-gradient(120% 90% at 18% 8%, #E2D6C6 0%, transparent 55%),
	radial-gradient(110% 100% at 85% 92%, #B59B7E 0%, transparent 60%),
	linear-gradient(160deg, #D6C5AC, #9C7B59);
}
.ph-tag{
  position:absolute;z-index:2;left:1rem;bottom:1rem;
  padding:.35rem .75rem;border-radius:999px;
  background:rgba(30,27,24,.55);color:#fff;font-size:.72rem;letter-spacing:.04em;
  backdrop-filter:blur(4px);font-family:var(--font-body);font-weight:500;
}

/* ---------- Trustleiste ---------- */
.trust{padding:0;margin-top:2.5rem}
.trust ul{
  list-style:none;display:grid;grid-template-columns:repeat(2,1fr);
  gap:1.1rem 1.5rem;padding:0;
}
.trust li{display:flex;align-items:center;gap:.7rem;font-size:.93rem;font-weight:500;color:var(--tinte)}
.trust li svg{flex:none;color:var(--rot)}
@media(min-width:960px){.trust ul{grid-template-columns:repeat(5,auto);justify-content:space-between}}

/* ---------- Sortiment ---------- */
.kachel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.kachel{
  position:relative;border-radius:var(--radius);overflow:hidden;
  aspect-ratio:1/1;text-decoration:none;
  display:flex;align-items:flex-end;
  transition:transform .18s ease, box-shadow .18s ease;
}
.kachel:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.kachel .bild{position:absolute;inset:0}
.kachel .label{
  position:relative;z-index:2;width:100%;padding:1rem 1.1rem;
  color:#fff;font-weight:700;font-size:1.02rem;
  background:linear-gradient(transparent, rgba(20,15,12,.7));
  display:flex;align-items:center;justify-content:space-between;gap:.5rem;
}
.kachel .label svg{flex:none;opacity:0;transform:translateX(-6px);transition:all .18s ease}
.kachel:hover .label svg{opacity:1;transform:none}
@media(max-width:960px){.kachel .label svg{opacity:1;transform:none}}
.kachel.gross .gross-marke{
  position:absolute;z-index:2;top:1rem;left:1rem;
  background:var(--rot);color:#fff;font-size:.72rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  padding:.35rem .75rem;border-radius:999px;
}
@media(min-width:700px){.kachel-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1040px){.kachel-grid{grid-template-columns:repeat(6,1fr)}.kachel{aspect-ratio:3/4}}

/* Platzhalter-Variante (noch ohne Foto) */
.ph-f{background:linear-gradient(165deg,#E0BFB4,#A9624D)}

/* ---------- Marken ---------- */
.marken-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}
@media(min-width:600px){.marken-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:900px){.marken-grid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1120px){.marken-grid{grid-template-columns:repeat(6,1fr)}}
.marke{
  position:relative;background:#fff;border:1px solid var(--linie);border-radius:14px;
  aspect-ratio:16/7;display:flex;align-items:center;justify-content:center;
  padding:.9rem 1.1rem;transition:border-color .2s ease, box-shadow .2s ease;
}
.marke:hover{border-color:#fff;box-shadow:var(--shadow)}
.marke img{
  max-height:44px;max-width:100%;width:auto;
  filter:grayscale(1);opacity:.6;
  transition:opacity .25s ease, transform .25s ease;
}
.marke:hover img{opacity:.92;transform:scale(1.04)}
.marke.platzhalter{
  border-style:dashed;border-color:#D9D2C8;flex-direction:column;gap:.15rem;text-align:center;
}
.marke.platzhalter b{font-family:var(--font-display);font-weight:600;font-size:1.02rem;color:var(--tinte)}
.marke.platzhalter span{font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--grau)}
.marke.neu::after{
  content:"Neu";position:absolute;top:.45rem;right:.5rem;
  background:var(--rot);color:#fff;font-size:.58rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:.16rem .42rem;border-radius:999px;
}
.marken-mehr{margin-top:1.6rem;text-align:center;font-size:.92rem;color:var(--grau)}

/* ---------- Beratung ---------- */
.beratung-grid{display:grid;gap:2.5rem;align-items:center}
.beratung-img{
  position:relative;border-radius:calc(var(--radius) + 6px);overflow:hidden;
  aspect-ratio:4/3;box-shadow:var(--shadow);
}
.beratung-img .ph{position:absolute;inset:0}
.b-punkte{list-style:none;display:grid;gap:1.6rem;margin-top:2rem}
.b-punkte li{display:flex;gap:1.1rem}
.b-punkte .ico{
  flex:none;width:48px;height:48px;border-radius:50%;
  background:var(--rot-hell);color:var(--rot);
  display:flex;align-items:center;justify-content:center;
}
.b-punkte strong{display:block;font-size:1.05rem;margin-bottom:.2rem}
.b-punkte span{color:var(--grau);font-size:.95rem}
@media(min-width:900px){.beratung-grid{grid-template-columns:1fr 1fr;gap:4.5rem}}

/* ---------- Große Größen (rote Bühne) ---------- */
.gross-sec{padding:0}
.gross-card{
  background:var(--rot);color:#fff;
  border-radius:calc(var(--radius) + 8px);
  padding:2.2rem 1.5rem;box-shadow:var(--shadow);
  position:relative;overflow:hidden;
}
@media(min-width:900px){.gross-card{padding:2.8rem 3rem}}
.gross-card .eyebrow{color:#fff;opacity:.85}
.gross-card h2{font-size:clamp(1.8rem,3.8vw,2.6rem);margin-bottom:.8rem;max-width:18ch}
.gross-card > p{color:rgba(255,255,255,.9);max-width:none}
.gross-card .award{margin-top:1.6rem;font-size:.92rem;display:flex;gap:.6rem;align-items:flex-start;color:rgba(255,255,255,.82);max-width:none}
.gross-card .award svg{flex:none;margin-top:2px}

/* Interaktiver Größen-Finder auf Rot – ein integrierter Slider über die volle Breite */
.finder{margin-top:2.4rem;position:relative;z-index:2}

.finder-toggle{display:inline-flex;gap:.25rem;background:rgba(255,255,255,.15);padding:.3rem;border-radius:999px;margin-bottom:1.4rem}
.finder-toggle button{
  font:inherit;font-weight:700;font-size:.9rem;color:#fff;
  padding:.5rem 1.25rem;border:none;background:transparent;border-radius:999px;cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
.finder-toggle button[aria-pressed="true"]{background:#fff;color:var(--rot)}

.finder-size{display:flex;align-items:baseline;gap:.6rem}
.finder-size .num{font-family:var(--font-display);font-weight:700;font-size:clamp(2.8rem,7vw,3.8rem);line-height:1;display:inline-block}
.finder-size .num.pop{animation:size-pop .38s cubic-bezier(.34,1.56,.64,1)}
@keyframes size-pop{0%{transform:scale(1);text-shadow:none}35%{transform:scale(1.34) translateY(-3px);text-shadow:0 8px 22px rgba(0,0,0,.28)}100%{transform:scale(1);text-shadow:none}}
.finder-size .lbl{font-size:.95rem;color:rgba(255,255,255,.8)}

/* Schieberegler: volle Breite, transparente Bahn mit Fortschritts-Fill, weißer Balken-Griff */
.finder input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:32px;
  background:transparent;outline:none;margin:1.1rem 0 .4rem;cursor:pointer;
}
/* Track (8px) – Fill kommt über die Variable --track-bg vom JS */
.finder input[type=range]::-webkit-slider-runnable-track{
  height:8px;border-radius:999px;background:var(--track-bg, rgba(255,255,255,.28));
}
.finder input[type=range]::-moz-range-track{height:8px;border-radius:999px;background:rgba(255,255,255,.28)}
.finder input[type=range]::-moz-range-progress{height:8px;border-radius:999px;background:#fff}
/* Thumb mittig auf der 8px-Bahn: margin-top = (8 - 32) / 2 = -12px */
.finder input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:15px;height:32px;border-radius:8px;margin-top:-12px;
  background:#fff;border:none;box-shadow:0 3px 10px rgba(0,0,0,.35);cursor:grab;
}
.finder input[type=range]::-moz-range-thumb{
  width:15px;height:32px;border-radius:8px;background:#fff;border:none;box-shadow:0 3px 10px rgba(0,0,0,.35);cursor:grab;
}
.finder input[type=range]:active::-webkit-slider-thumb{cursor:grabbing}
.finder input[type=range]:active::-moz-range-thumb{cursor:grabbing}
/* Griff-Puls bei jeder Wertänderung */
.finder input[type=range].bump::-webkit-slider-thumb{animation:thumb-pulse .34s ease}
.finder input[type=range].bump::-moz-range-thumb{animation:thumb-pulse .34s ease}
@keyframes thumb-pulse{
  0%{box-shadow:0 3px 10px rgba(0,0,0,.35),0 0 0 0 rgba(255,255,255,0);transform:scale(1)}
  45%{box-shadow:0 3px 12px rgba(0,0,0,.4),0 0 0 10px rgba(255,255,255,.2);transform:scale(1.14)}
  100%{box-shadow:0 3px 10px rgba(0,0,0,.35),0 0 0 0 rgba(255,255,255,0);transform:scale(1)}
}
/* Dezente Anfass-Einladung, bis zum ersten Ziehen */
.finder input[type=range].invite::-webkit-slider-thumb{animation:thumb-idle 1.9s ease-in-out infinite}
.finder input[type=range].invite::-moz-range-thumb{animation:thumb-idle 1.9s ease-in-out infinite}
@keyframes thumb-idle{
  0%,100%{box-shadow:0 3px 10px rgba(0,0,0,.35),0 0 0 0 rgba(255,255,255,0)}
  50%{box-shadow:0 3px 10px rgba(0,0,0,.35),0 0 0 8px rgba(255,255,255,.16)}
}
@media (prefers-reduced-motion:reduce){
  .finder input[type=range].bump::-webkit-slider-thumb,
  .finder input[type=range].bump::-moz-range-thumb,
  .finder input[type=range].invite::-webkit-slider-thumb,
  .finder input[type=range].invite::-moz-range-thumb{animation:none}
}

.finder-scale{display:flex;justify-content:space-between;font-size:.78rem;font-weight:700;color:rgba(255,255,255,.6)}

.finder-msg{
  display:flex;align-items:flex-start;gap:.75rem;margin-top:1.6rem;
  background:rgba(255,255,255,.12);border-radius:14px;padding:1.1rem 1.3rem;
  font-size:.98rem;line-height:1.45;
}
.finder-msg.flash{animation:msg-in .32s ease}
@keyframes msg-in{0%{opacity:0;transform:translateY(7px)}100%{opacity:1;transform:none}}
.finder-msg svg{flex:none;margin-top:3px}
.finder-msg strong{display:block;margin-bottom:.1rem}
.finder-msg a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:2px}

/* ---------- Standorte ---------- */
.filial-grid{display:grid;gap:1.2rem}
.filiale{
  background:#fff;border:1px solid var(--linie);border-radius:calc(var(--radius) + 4px);
  padding:1.6rem 1.5rem 1.4rem;
  display:flex;flex-direction:column;gap:.85rem;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.filiale:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#fff}
.filiale h3{font-size:1.22rem;display:flex;align-items:center;gap:.5rem}
.filiale h3 svg{flex:none;color:var(--rot);opacity:.85}
.filiale .ort-zeile{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.status{font-size:.78rem;font-weight:700;padding:.32rem .7rem;border-radius:999px;white-space:nowrap}
.status.offen{background:#E5F3EA;color:var(--gruen)}
.status.zu{background:var(--rot-hell);color:var(--rot-dunkel)}
.status.bald{background:#FCF0DC;color:#B97A0F}

/* Google-Bewertung */
.bewertung{display:inline-flex;align-items:center;gap:.5rem;font-size:.84rem;color:var(--grau);text-decoration:none;width:fit-content}
.bewertung:hover span{color:var(--tinte);text-decoration:underline}
.sterne{position:relative;color:#E4DDD4;font-size:.92rem;letter-spacing:1.5px;line-height:1}
.sterne b{position:absolute;left:0;top:0;color:#F5A623;overflow:hidden;white-space:nowrap}

/* Entfernung nach Standortfreigabe */
.dist{display:inline-flex;align-items:center;gap:.3rem;font-size:.84rem;font-weight:700;color:var(--rot)}
.dist svg{flex:none}
.filiale address{font-style:normal;color:var(--grau);font-size:.94rem}
.filiale .zeiten{font-size:.9rem;color:var(--grau);display:grid;grid-template-columns:auto 1fr;gap:.18rem .9rem;padding-top:.2rem}
.filiale .zeiten b{color:var(--tinte);font-weight:600}
.filiale .aktionen{display:flex;gap:.6rem;margin-top:auto;padding-top:.5rem}
.filiale .aktionen .btn{flex:1;padding:.7rem .5rem;font-size:.88rem;min-height:46px}
@media(min-width:700px){.filial-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1060px){.filial-grid{grid-template-columns:repeat(3,1fr)}}

/* Galerie (Einblicke ins Geschäft) */
.galerie-sec{padding-top:0}
/* Sliding-Galerie (Scroll-Snap-Track + Pfeil-Navigation) */
.galerie-carousel{position:relative}
.galerie-track{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:.3rem 0 1rem;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.galerie-track::-webkit-scrollbar{display:none}
.galerie-track:focus-visible{outline:2px solid var(--rot);outline-offset:4px;border-radius:14px}
.galerie-item{margin:0;flex:0 0 78%;scroll-snap-align:start;border-radius:14px;overflow:hidden;background:var(--hell);aspect-ratio:4/3}
.galerie-thumb{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.galerie-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.galerie-thumb:hover img{transform:scale(1.04)}
.galerie-thumb:focus-visible{outline:2px solid var(--rot);outline-offset:3px}
.galerie-nav{position:absolute;top:calc(50% - .5rem);transform:translateY(-50%);z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid var(--linie);background:#fff;color:var(--tinte);font-size:1.5rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px -6px rgba(30,27,24,.32);transition:transform .15s ease,opacity .2s ease}
.galerie-nav:hover{transform:translateY(-50%) scale(1.06)}
.galerie-nav.prev{left:-6px}
.galerie-nav.next{right:-6px}
.galerie-nav[hidden]{display:none}
@media(min-width:700px){.galerie-item{flex-basis:42%}.galerie-nav.prev{left:-18px}.galerie-nav.next{right:-18px}}
@media(min-width:1060px){.galerie-item{flex-basis:30%}}
/* Sektions-Trenner */
.sektion-trenner{border:0;height:1px;background:var(--linie);margin:.4rem 0 0}
/* Lightbox */
.lightbox{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:clamp(1rem,4vw,3rem);background:rgba(30,27,24,.82);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
.lightbox.open{opacity:1;visibility:visible}
.lightbox-fig{margin:0;max-width:min(1100px,100%);max-height:100%;display:flex;flex-direction:column;align-items:center;transform:scale(.96);transition:transform .25s ease}
.lightbox.open .lightbox-fig{transform:scale(1)}
.lightbox-fig img{max-width:100%;max-height:84vh;border-radius:12px;box-shadow:0 24px 60px -16px rgba(0,0,0,.6);display:block}
.lightbox-close{position:absolute;top:1rem;right:1rem;width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--tinte);font-size:1.4rem;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--tinte);font-size:1.8rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lightbox-nav.prev{left:clamp(.6rem,3vw,2rem)}
.lightbox-nav.next{right:clamp(.6rem,3vw,2rem)}
.lightbox-close:hover,.lightbox-nav:hover{background:#fff}
@media(prefers-reduced-motion:reduce){.lightbox,.lightbox-fig{transition:none}.galerie-track{scroll-behavior:auto}}

/* ----- Nähe-Feature: CTA-Banner bzw. Spotlight der nächsten Filiale ----- */
#naehe-feature{margin-bottom:1.4rem}
.feature-card{border-radius:calc(var(--radius) + 6px)}

/* Zustand A: Aufforderung Standort freizugeben */
.feature-card.cta{
  background:#fff;border:1px solid var(--linie);box-shadow:var(--shadow);
  padding:1.3rem 1.5rem;
  display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;
}
.cta-text{display:flex;align-items:center;gap:.95rem;flex:1;min-width:240px}
.cta-text .pin{
  flex:none;width:48px;height:48px;border-radius:50%;
  background:var(--rot-hell);color:var(--rot);
  display:flex;align-items:center;justify-content:center;
}
.cta-text strong{display:block;font-size:1.06rem;margin-bottom:.1rem}
.cta-text span{color:var(--grau);font-size:.92rem}
.feature-card.cta .hinweis{flex-basis:100%;margin:0;font-size:.84rem;color:var(--grau)}

/* Zustand B: nächste Filiale prominent */
.feature-card.spotlight{
  background:linear-gradient(135deg, #fff 0%, var(--rot-hell) 100%);
  border:1px solid #F3D3D8;
  box-shadow:0 20px 44px -22px rgba(200,16,46,.45);
  padding:1.8rem;display:grid;gap:1.4rem;
  animation:msg-in .35s ease;
}
@media(min-width:760px){.feature-card.spotlight{grid-template-columns:1.25fr 1fr;align-items:center;padding:2.2rem 2.4rem}}
.feature-label{
  display:inline-flex;align-items:center;gap:.45rem;
  color:var(--rot);font-weight:700;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;
  margin-bottom:.6rem;
}
.feature-main h3{font-size:clamp(1.6rem,3.2vw,2.1rem);margin-bottom:.25rem}
.feature-dist{font-weight:700;color:var(--rot);font-size:1.1rem;margin-bottom:.6rem;display:inline-flex;align-items:center;gap:.35rem}
.feature-main address{font-style:normal;color:var(--grau);font-size:.96rem;margin-bottom:.7rem}
.feature-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem}
.feature-side{display:flex;flex-direction:column;gap:1rem;background:rgba(255,255,255,.6);border-radius:var(--radius);padding:1.2rem}
@media(max-width:759px){.feature-side{background:none;padding:0}}
.feature-side .zeiten{font-size:.9rem;color:var(--grau);display:grid;grid-template-columns:auto 1fr;gap:.18rem .9rem}
.feature-side .zeiten b{color:var(--tinte);font-weight:600}
.feature-side .aktionen{display:flex;gap:.6rem}
.feature-side .aktionen .btn{flex:1;padding:.75rem .5rem;font-size:.9rem;min-height:48px}

/* ---------- Aktuelles ---------- */
.aktuell-card{
  display:grid;border-radius:calc(var(--radius) + 8px);overflow:hidden;
  background:var(--hell);
}
.aktuell-img{position:relative;aspect-ratio:16/9}
.aktuell-img .ph{position:absolute;inset:0}
.aktuell-body{padding:2rem 1.6rem 2.2rem}
.aktuell-body h2{font-size:clamp(1.6rem,3.2vw,2.1rem);margin-bottom:.7rem}
.aktuell-body p{color:var(--grau);max-width:55ch;margin-bottom:1.5rem}
@media(min-width:900px){
  .aktuell-card{grid-template-columns:1fr 1fr;align-items:stretch}
  .aktuell-img{aspect-ratio:auto;min-height:100%}
  .aktuell-body{padding:3rem;align-self:center}
}

/* ---------- Footer ---------- */
footer{background:var(--tinte);color:#B8B0A8;padding:4rem 0 6rem;font-size:.92rem}
@media(min-width:960px){footer{padding-bottom:3rem}}
.footer-grid{display:grid;gap:2.2rem}
footer h3{color:#fff;font-family:var(--font-display);font-size:1.05rem;margin-bottom:.8rem;font-weight:700}
footer ul{list-style:none;display:grid;gap:.5rem}
footer a{text-decoration:none}
footer a:hover{color:#fff;text-decoration:underline}
.footer-bottom{margin-top:2.8rem;padding-top:1.5rem;border-top:1px solid #3A332D;font-size:.82rem;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}
@media(min-width:700px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.footer-grid{grid-template-columns:1.2fr 1fr 1fr 1fr}}

/* ---------- Mobile Schnellzugriff ---------- */
.quickbar{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  display:grid;grid-template-columns:1fr 1fr;gap:1px;
  background:var(--linie);border-top:1px solid var(--linie);
  padding-bottom:env(safe-area-inset-bottom);
}
.quickbar a{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  background:#fff;padding:.95rem .5rem;text-decoration:none;font-weight:700;font-size:.92rem;
}
.quickbar a.rot{background:var(--rot);color:#fff}
@media(min-width:960px){.quickbar{display:none}}

/* ============================================================
   Themenseiten (thema.php)
   ============================================================ */
.thema-hero{padding:clamp(2rem,4vw,3rem) 0 0}
.thema-hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:2.4rem;align-items:center}
.thema-hero .t-text .eyebrow{margin-bottom:.5rem}
.thema-hero h1{font-family:var(--font-display);font-weight:700;font-size:clamp(2rem,4.4vw,3.1rem);line-height:1.06;letter-spacing:-.01em;margin-bottom:.9rem}
.thema-hero .lead{color:var(--grau);font-size:1.08rem;max-width:48ch;margin-bottom:1.4rem}
.thema-hero .t-ctas{display:flex;gap:.7rem;flex-wrap:wrap}
.thema-hero .t-bild{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3}
.thema-hero .t-bild img{width:100%;height:100%;object-fit:cover}
.thema-crumbs{font-size:.82rem;color:var(--grau);margin-bottom:1.2rem}
.thema-crumbs a{color:var(--grau);text-decoration:none}
.thema-crumbs a:hover{color:var(--rot)}
@media(max-width:820px){
  .thema-hero .wrap{grid-template-columns:1fr;gap:1.4rem}
  .thema-hero .t-bild{order:-1;aspect-ratio:16/10}
}

/* Fließtext-Sektion (Story / SEO-Text) */
.thema-story{padding-top:clamp(4.5rem,7vw,6.5rem);padding-bottom:clamp(1.5rem,3vw,2.5rem)}
.story-card{
  background:#fff;border:1px solid var(--linie);border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(2.25rem,4.5vw,4rem) clamp(1.5rem,5vw,5rem);
}
.thema-story h2{font-family:var(--font-display);font-weight:700;font-size:clamp(1.9rem,3.8vw,2.6rem);line-height:1.1;letter-spacing:-.015em;margin-bottom:1.2rem}
.story-copy{color:var(--grau);font-size:1.05rem;line-height:1.72;max-width:72ch}
.story-copy p + p{margin-top:1rem}
.story-copy p:first-child{font-size:1.2rem;line-height:1.6;color:var(--tinte)}

/* Markennamen als Fließtext unter dem Logo-Grid */
.marken-text{margin-top:1.6rem;text-align:center;font-size:.98rem;line-height:1.65;color:var(--grau);max-width:68ch;margin-inline:auto}
.marken-text strong{color:var(--tinte);font-weight:700}

/* Rechtstext-Seiten (Impressum / Datenschutz) */
.rechtstext-sec{padding-top:clamp(2rem,4vw,3rem)}
.rechtstext-sec .wrap{max-width:780px}
.rechtstext-sec h1{font-family:var(--font-display);font-weight:700;font-size:clamp(2rem,4vw,2.8rem);line-height:1.1;letter-spacing:-.015em;margin:.4rem 0 1.5rem}
.rechtstext{color:var(--tinte);font-size:1.02rem;line-height:1.7}
.rechtstext h2{font-family:var(--font-display);font-weight:600;font-size:1.45rem;margin:1.8rem 0 .6rem}
.rechtstext h3{font-weight:700;font-size:1.05rem;margin:1.3rem 0 .4rem}
.rechtstext p{margin-bottom:.9rem}
.rechtstext ul,.rechtstext ol{margin:0 0 .9rem 1.3rem}
.rechtstext li{margin-bottom:.3rem}
.rechtstext a{color:var(--rot);text-decoration:underline}
.rechtstext strong,.rechtstext b{font-weight:700}

/* Keyword-Rotor: rotierende Kurz-Botschaften */
.kw-rotor{
  display:flex;align-items:center;gap:.85rem;
  background:var(--rot-hell);border:1px solid #F2C9D0;border-radius:999px;
  padding:.6rem 1.2rem;margin-top:1.3rem;width:fit-content;max-width:100%;
}
.kw-rotor .dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--rot)}
.kw-rotor .kw-text{font-weight:700;color:var(--rot-dunkel);font-size:1rem;min-height:1.4em}
.kw-rotor .kw-text.swap{animation:kw-swap .45s ease}
@keyframes kw-swap{0%{opacity:0;transform:translateY(6px)}100%{opacity:1;transform:none}}

/* Rotor als eingeklinkte Fläche auf dem Hero-Bild */
.kw-rotor.on-img{
  position:absolute;left:.9rem;bottom:.9rem;right:.9rem;margin:0;width:auto;
  background:rgba(250,246,239,.92);backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.7);box-shadow:var(--shadow);
}

/* Text-Marken (ohne Logo-Datei) als Chip im Marken-Grid */
.marke.text{display:flex;align-items:center;justify-content:center;text-align:center}
.marke.text span{font-family:var(--font-display);font-weight:600;font-size:1.15rem;color:var(--tinte);letter-spacing:.01em}
