/* Galactic – Stylesheet
   Farben zentral anpassen: Abschnitt ":root" */

/* Schriften: lokal aus dem Ordner /fonts (siehe LIESMICH.txt).
   Zuerst die kleinen .woff-Dateien, sonst die .ttf-Dateien von Google Fonts mit ihren Originalnamen.
   Fehlen beide, wird eine ähnliche Systemschrift genutzt. */
@font-face { font-family: 'Anton'; src: url('../fonts/Anton-Regular.woff') format('woff'), url('../fonts/Anton-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Variable.woff') format('woff'), url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/SpaceGrotesk-Variable.woff') format('woff'), url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }

:root {
  --gruen: #17803D;
  --gruen-dunkel: #0F5A2A;
  --text: #0E1B13;
  --muted: #56655B;
  --muted2: #46554B;
  --linie: #E1E9E2;
  --linie2: #D6E2D8;
  --hell: #F1F7F2;
  --hell2: #F6FAF6;
  --tint: #E6F3E8;
  --footer: #0F2B1A;
  --footer-muted: #B8CCBD;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.5; }
body.gesperrt { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gruen); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, system-ui, sans-serif; margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 2px; }
.container { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gruen); }
.h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--gruen); color: #fff; font-weight: 600; }
.btn:hover { color: #fff; filter: brightness(1.1); }
.btn-outline { background: #fff; color: var(--text); border: 1px solid var(--linie2); }
.btn-outline:hover { color: var(--text); background: var(--hell); filter: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie2); background: #fff; color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn[aria-expanded="true"] { background: var(--tint); }
.textlink { font-weight: 600; text-decoration: underline; }

/* Kopfbereich */
.topbar { background: var(--footer); color: #DCE9DF; font-size: 13px; }
.topbar .container { padding-top: 9px; padding-bottom: 9px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; }
.status { display: inline-flex; gap: 8px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #F87171; }
.dot.offen { background: #4ADE80; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #E6EEE7; }
.header-inner { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo img { display: block; width: 48px; height: 48px; }
.wordmark { font-family: 'Anton', Impact, 'Arial Narrow Bold', 'Arial Narrow', sans-serif; font-style: italic; font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: .01em; }
.nav-desktop { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 500; }
.nav-desktop a[aria-current="page"] { color: var(--gruen); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
.panel { border-top: 1px solid #E6EEE7; }
.search-form { padding-top: 12px; padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-field { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border: 1px solid var(--linie2); border-radius: 999px; background: #fff; color: var(--muted); }
.search-field input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 2px solid var(--gruen); outline-offset: 2px; }
.nav-mobile { display: none; flex-direction: column; padding-bottom: 16px; }
.nav-mobile a { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 500; border-bottom: 1px solid #EEF3EF; }
.nav-mobile a[aria-current="page"] { color: var(--gruen); font-weight: 600; }
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-mobile.offen { display: flex; }
}
@media (max-width: 420px) { .wordmark { font-size: 26px; } .logo img { width: 40px; height: 40px; } }

/* Seiten */
.view { display: none; }
.view.aktiv { display: block; }
.section { padding-top: 72px; padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }

/* Startseite */
.start { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 88px; }
.start-head { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.start-head h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.lead { margin: 0; max-width: 640px; font-size: 18px; color: var(--muted2); }
.grid-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.tile { border: 1px solid var(--linie); border-radius: 20px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.ph { position: relative; display: block; background: #EDF2EE; overflow: hidden; }
.ph-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #6B7A70; font-size: 12px; font-weight: 600; text-align: center; padding: 8px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-img { height: 180px; }
/* Kategoriebild ist ebenfalls anklickbar */
.tile-img-link { display: block; cursor: pointer; }
.tile-img-link img { transition: transform .3s ease; }
.tile-img-link:hover img { transform: scale(1.03); }
.tile-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.tile-head { display: flex; align-items: center; gap: 14px; }
.tile-head span.txt { flex: 1; min-width: 0; }
.tile-name { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; line-height: 1.3; }
.tile-count { display: block; font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--hell); border: 1px solid var(--linie); }

/* Katalog */
.katalog { background: var(--hell2); border-bottom: 1px solid #E6EEE7; }
.katalog .container { padding-top: 72px; padding-bottom: 80px; }
.katalog .search-field { flex: 0 1 420px; }
.katalog-layout { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.sidebar { flex: 1 1 260px; padding: 12px; border: 1px solid var(--linie); border-radius: 20px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.sidebar-title { padding: 8px 12px 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side-btn { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 12px; border: 0; border-radius: 12px; text-align: left; background: transparent; color: var(--text); font-size: 15px; font-weight: 500; }
.side-btn:hover { background: var(--hell2); }
.side-btn.aktiv { background: var(--tint); color: var(--gruen-dunkel); font-weight: 600; }
.side-btn.halb { color: var(--gruen-dunkel); font-weight: 600; }
.side-btn .anzahl { font-size: 13px; color: var(--muted); font-weight: 500; }
.side-subs { display: flex; flex-direction: column; gap: 2px; margin: 0 0 8px 14px; }
.side-subs .side-btn { font-size: 14px; }
.katalog-main { flex: 999 1 560px; min-width: 0; }
.katalog-titel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.katalog-titel h3 { font-size: 24px; line-height: 1.3; }
.grid-produkte { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 0; text-align: left; color: var(--text); background: #fff; border: 1px solid var(--linie); border-radius: 20px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,43,26,.10); }
.card-img { width: 100%; height: 200px; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--text); border: 1px solid var(--linie); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.card-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.3; }
.card-desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.card-foot .preis { color: var(--muted2); }
.card-foot .details { font-size: 13px; color: var(--gruen); }
.leer { margin-top: 20px; padding: 56px 24px; border: 1px dashed #C9D9CD; border-radius: 20px; background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mehr { margin-top: 28px; display: flex; justify-content: center; }
.hinweis-klein { margin: 24px 0 0; font-size: 14px; color: var(--muted); }

/* Karten & Raster */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.box { padding: 28px; border: 1px solid var(--linie); border-radius: 20px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.box h3 { margin-top: 8px; font-size: 20px; }
.box p { margin: 0; }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--gruen); }
.ico .icon { width: 24px; height: 24px; }

/* Bewertungen */
.bewertung-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.note { font-family: 'Space Grotesk', sans-serif; font-size: 52px; font-weight: 700; line-height: 1; }
.sterne { display: flex; gap: 2px; }
.sterne svg { width: 20px; height: 20px; }
.insta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.insta-grid .ph { aspect-ratio: 1; border-radius: 14px; }

/* Über uns */
.ueber { background: var(--hell); }
.ueber-kopf { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; }
.ueber-kopf > div, .ueber-kopf > p { flex: 1 1 440px; margin: 0; }

/* Zeiten & Anfahrt */
.filiale { padding: 32px; border: 1px solid var(--linie); border-radius: 24px; background: #fff; display: flex; flex-direction: column; gap: 20px; }
.filiale .ort { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.filiale h3 { font-size: 24px; line-height: 1.25; }
.zeiten div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.zeiten span:first-child { color: var(--muted); }
.zeiten span:last-child { font-weight: 600; }
.filiale address { font-style: normal; display: flex; flex-direction: column; gap: 2px; color: var(--muted2); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--hell); }
.pill .dot { background: #DC2626; }
.pill .dot.offen { background: #16A34A; }
.karten { margin-top: 24px; min-height: 320px; border: 1px solid var(--linie); border-radius: 24px; background: #EDF2EE; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--muted); padding: 24px; }
.karten.geladen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 0; padding: 0; overflow: hidden; }
.karten iframe { width: 100%; height: 360px; border: 0; display: block; }
.karten .info { font-size: 13px; max-width: 360px; background: #fff; padding: 4px 10px; border-radius: 8px; }

/* Fußleiste */
.footer { background: var(--footer); color: #fff; }
.footer-grid { padding-top: 56px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px 32px; align-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .titel { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--footer-muted); }
.footer a, .footer .linkbtn { color: #fff; }
.footer a:hover, .footer .linkbtn:hover { color: #B9F0C6; }
.footer address { font-style: normal; line-height: 1.6; color: var(--footer-muted); }
.footer .grau { color: var(--footer-muted); }
.footer .logo { color: #fff; }
.footer .logo img { width: 46px; height: 46px; }
.footer .wordmark { font-size: 30px; }
.icon-link { display: inline-flex; align-items: center; gap: 8px; }
.icon-link .icon { width: 18px; height: 18px; }
.linkbtn { padding: 0; border: 0; background: none; font-size: 13px; text-align: left; }
.footer-bottom { padding-top: 20px; padding-bottom: 40px; border-top: 1px solid #24432F; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--footer-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }

/* Fenster */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(14,27,19,.55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.dialog { width: 100%; max-height: 90vh; overflow: auto; background: #fff; border-radius: 24px; box-shadow: 0 24px 64px rgba(14,27,19,.25); }
.produkt-dialog { max-width: 920px; display: flex; flex-wrap: wrap; }
.modal-img { flex: 1 1 340px; min-height: 340px; }
/* Produktfotos nie abschneiden: ganz zeigen, auf weißem Grund */
.card-img img, .modal-img img { object-fit: contain; background: #fff; padding: 14px; box-sizing: border-box; }
.modal-img img { padding: 28px; }
.modal-body { flex: 1 1 380px; min-width: 0; position: relative; padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 16px; }
.modal-body h3 { padding-right: 48px; font-size: 30px; line-height: 1.15; }
.modal-body p { margin: 0; color: var(--muted2); }
.schliessen { position: absolute; top: 16px; right: 16px; }
.pfad { padding-right: 48px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gruen); }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.specs div { padding: 12px 14px; border-radius: 12px; background: var(--hell); }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 600; }
.preis-anfrage { font-size: 16px; font-weight: 600; color: var(--muted2); }

/* Altersabfrage */
.agegate { position: fixed; inset: 0; z-index: 70; background: var(--hell); display: flex; flex-direction: column; overflow: auto; }
.agegate header { padding: 24px; }
.agegate main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.age-card { width: 100%; max-width: 520px; padding: 48px 40px; border: 1px solid var(--linie); border-radius: 28px; background: #fff; box-shadow: 0 24px 64px rgba(14,27,19,.10); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.badge18 { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--gruen-dunkel); background: var(--tint); border-radius: 999px; padding: 6px 16px; }
.age-card h1 { font-size: 34px; line-height: 1.15; }
.age-card p { margin: 0; color: var(--muted); }
.age-nein { padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #8A1C1C !important; font-weight: 600; }
.agegate footer { padding: 24px; display: flex; justify-content: center; gap: 24px; font-size: 14px; }
.agegate footer a { text-decoration: underline; }

/* Cookie-Hinweis */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: flex; justify-content: center; }
.cookie-card { width: 100%; max-width: 760px; padding: 24px; border: 1px solid var(--linie); border-radius: 20px; background: #fff; box-shadow: 0 16px 48px rgba(14,27,19,.16); display: flex; flex-direction: column; gap: 16px; }
.cookie-card p { margin: 0; }
.cookie-dialog { max-width: 560px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.cookie-dialog h2 { font-size: 26px; line-height: 1.2; }
.cookie-dialog p { margin: 0; font-size: 14px; color: var(--muted2); }
.option { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--linie); border-radius: 14px; cursor: pointer; }
.option.fest { background: var(--hell2); cursor: default; }
.option input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--gruen); flex: none; }
.option b { display: block; }
.option small { display: block; font-size: 13px; color: var(--muted); }
.textbtn { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--text); font-weight: 600; text-decoration: underline; }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; display: flex; flex-direction: column; gap: 40px; line-height: 1.6; }
.legal section { display: flex; flex-direction: column; gap: 8px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.legal h2 { font-size: 22px; }
.legal p { margin: 0; }
.legal ul { margin: 0; padding-left: 22px; }
.legal a { color: var(--gruen); text-decoration: underline; }
.legal .notiz { font-size: 14px; color: var(--muted); }
.legal .kasten { padding: 24px; border: 1px solid var(--linie); border-radius: 16px; background: var(--hell2); }
mark { background: #FFF1C2; padding: 0 4px; border-radius: 4px; }
.einfach-header { border-bottom: 1px solid #E6EEE7; }
.einfach-header .container { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.einfach-footer { background: var(--footer); color: var(--footer-muted); font-size: 13px; }
.einfach-footer .container { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.einfach-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.einfach-footer a { color: #fff; }
