/* =====================================================================
   Fitness Shop Mainz – Stylesheet
   Layout-Idee: helles Ladenlicht, tiefblaue Beschilderung, ein oranger
   „Gürtel“-Akzent. Mobile first, eine Spalte → zwei/drei Spalten ab Tablet.
   Farben kommen aus site.config.mjs (werden beim Build als :root-Variablen
   vorangestellt). Hier nur abgeleitete Töne.
   ===================================================================== */

:root {
  /* Fallbacks – werden durch den Build aus site.config.mjs überschrieben */
  --blue: #123B7A;
  --blue-dark: #0A2350;
  --orange: #E8650A;
  --ink: #141A26;
  --paper: #F5F6F8;

  --surface: #FFFFFF;
  --ink-2: #4A5468;            /* Fließtext zweitrangig, 7:1 auf Weiß */
  --line: #DCE1EA;
  --blue-tint: #E8EDF6;
  --on-blue: #FFFFFF;
  --on-blue-2: #C9D6EE;

  --font-display: "Bahnschrift SemiCondensed", "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --gutter: 16px;
  --section: clamp(56px, 9vw, 104px);
  --shadow: 0 1px 2px rgb(10 35 80 / .06), 0 8px 24px rgb(10 35 80 / .08);
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before { /* Fläche über dem Sticky-Header im Telefon-Safe-Area */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; margin: 0; color: var(--blue-dark); }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue-dark); color: var(--on-blue); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--on-blue); }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

.section { padding-block: var(--section); }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: clamp(28px, 4vw, 44px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--orange); border-radius: 1px; }
.section-head p { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .02em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn { text-align: center; }
@media (max-width: 480px) { .panel .btn { width: 100%; } }
.btn--primary { background: var(--blue); color: var(--on-blue); }
.btn--primary:hover { background: var(--blue-dark); color: var(--on-blue); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: var(--surface); }
.btn--outline:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn--ghost { color: var(--blue); padding-inline: 4px; min-height: 44px; }
.btn--ghost:hover { color: var(--blue-dark); text-decoration: underline; }
.btn--light { background: var(--surface); color: var(--blue-dark); }
.btn--light:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.ext::after { content: "↗"; font-size: .85em; margin-left: 2px; }

/* ---------- Vorschau-Hinweis ---------- */
.preview-bar {
  background: #FFF4E5; color: #6B3200; border-bottom: 1px solid #F5C99A;
  font-size: .9rem; line-height: 1.45;
}
.preview-bar .wrap { padding-block: 8px; }
.preview-bar strong { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-dark); padding-block: 8px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand { min-width: 0; flex: 1 1 0; }
.brand-sub { overflow-wrap: anywhere; }
.brand-name { white-space: nowrap; }

.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; }
.brand-sub { font-size: .78rem; color: var(--ink-2); letter-spacing: .02em; margin-top: 3px; }

.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--blue-dark); font: 700 1rem var(--font-display); letter-spacing: .04em; cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px;
}
.nav-toggle-bars::before { top: 0; } .nav-toggle-bars span { top: 5px; } .nav-toggle-bars::after { bottom: 0; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  text-decoration: none; border-radius: var(--radius);
}
.main-nav a:hover { color: var(--blue); background: var(--blue-tint); }
.main-nav .nav-shop a { color: var(--on-blue); background: var(--blue); padding-inline: 14px; }
.main-nav .nav-shop a:hover { background: var(--blue-dark); color: var(--on-blue); }

/* Mobil: Menü als aufklappbares Panel (nur wenn JS aktiv ist) */
@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .main-nav { display: none; width: 100%; padding-bottom: 12px; }
  .js .main-nav.is-open { display: block; }
  .main-nav { width: 100%; padding-bottom: 8px; }
  .js .main-nav ul { flex-direction: column; gap: 2px; }
  .js .main-nav a { width: 100%; font-size: 1.15rem; padding: 10px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .main-nav .nav-shop a { margin-top: 10px; border-radius: var(--radius); border: 0; justify-content: center; }
}

/* ---------- Bilder & Platzhalter ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blue-tint); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; max-width: 100%; }
.ratio-4x5 { aspect-ratio: 4 / 5; max-width: 100%; }
.ratio-1x1 { aspect-ratio: 1 / 1; max-width: 100%; }
.ratio-3x2 { aspect-ratio: 3 / 2; max-width: 100%; }

.ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px;
  padding: 16px; text-align: center; color: var(--blue);
  background:
    repeating-linear-gradient(135deg, rgb(18 59 122 / .05) 0 10px, transparent 10px 20px),
    var(--blue-tint);
  border: 1.5px dashed rgb(18 59 122 / .35); border-radius: inherit;
}
.ph svg { width: 30px; height: 30px; opacity: .8; }
.ph-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.ph-note { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { background: var(--surface); padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-text { display: grid; gap: 20px; min-width: 0; }
.hero h1 { font-size: clamp(2.05rem, 6.4vw, 3.25rem); color: var(--blue-dark); max-width: 18ch; }
.hero h1 .accent { color: var(--blue); }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-asiado { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); padding-top: 18px; border-top: 1px solid var(--line); max-width: 56ch; }
.hero-asiado strong { color: var(--ink); }
.hero-media { position: relative; }
.hero-media .media { box-shadow: var(--shadow); }
.hero-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: var(--surface); color: var(--blue-dark); border-radius: var(--radius);
  padding: 8px 12px; font-size: .9rem; line-height: 1.3; box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.hero-tag strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.08fr .92fr; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- Sortiment ---------- */
.cat-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0;
}
.cat .media { border-radius: 0; }
.cat-body { display: grid; gap: 12px; align-content: start; padding: 20px; grid-template-rows: auto auto auto 1fr; }
.cat-body p { color: var(--ink-2); font-size: 1rem; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); }
.cat-link { align-self: end; justify-self: start; margin-top: 4px; font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.cat-note { align-self: end; font-size: .9rem; color: var(--ink-2); }
.sortiment-hint { margin-top: 24px; font-size: .95rem; color: var(--ink-2); max-width: 70ch; }

/* ---------- Produkte ---------- */
.prod-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .prod-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .prod-body { padding: 12px; } .prod h3 { font-size: 1.1rem; } }
.prod { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.prod .media { border-radius: 0; }
.prod-body { display: grid; gap: 8px; padding: 16px 16px 18px; align-content: start; grid-template-rows: auto auto auto 1fr; }
.prod-body p { font-size: .97rem; color: var(--ink-2); }
.prod-detail { font-size: .9rem; color: var(--ink); }
.prod-price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.prod-actions { align-self: end; padding-top: 6px; }
.prod-actions .btn { width: 100%; min-height: 46px; font-size: 1rem; }
.prod--slot .prod-body { color: var(--ink-2); }
.prod--slot h3 { color: var(--ink-2); font-size: 1.15rem; }
.slot-lines { display: grid; gap: 8px; }
.slot-lines span { height: 10px; border-radius: 4px; background: var(--blue-tint); }
.slot-lines span:nth-child(2) { width: 70%; }
.slot-lines span:nth-child(3) { width: 45%; }

/* ---------- Vorteile ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
.benefit { background: var(--surface); padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.benefit > div { display: grid; gap: 6px; min-width: 0; }
.benefit-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.benefit-icon svg { width: 22px; height: 22px; }
.benefit p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Unser Geschäft ---------- */
.about { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
.about-media { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.about-media .media:first-child { grid-column: 1 / -1; }
.about-text { display: grid; gap: 16px; max-width: 62ch; min-width: 0; }
.about-text p { color: var(--ink); }
.owner-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.owner-card .owner-initials { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; font: 700 1.1rem var(--font-display); letter-spacing: .04em; }
.owner-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--blue-dark); }
.owner-card span { font-size: .92rem; color: var(--ink-2); }
blockquote.owner-quote { margin: 0; padding-left: 18px; border-left: 4px solid var(--orange); font-size: 1.15rem; font-style: italic; color: var(--blue-dark); }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; } .about-media { order: 2; } }

/* ---------- Galerie ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.gallery li { min-width: 0; }
.gallery figure { margin: 0; display: grid; gap: 6px; }
.gallery figcaption { font-size: .9rem; color: var(--ink-2); }
.gallery-btn { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius); }
.gallery-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gallery-btn .media img { transition: transform .3s; }
.gallery-btn:hover .media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery-btn:hover .media img { transform: none; } }

.lightbox { width: min(1100px, 100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; }
.lightbox::backdrop { background: rgb(10 18 32 / .85); }
.lightbox-inner { display: grid; grid-template-rows: auto 1fr auto; max-height: calc(100dvh - 24px); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; }
.lightbox-bar p { font-size: .95rem; color: #D7DEEA; }
.lightbox img { width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; background: #000; }
.lightbox-nav { display: flex; justify-content: space-between; padding: 8px; gap: 8px; }
.icon-btn { min-width: 48px; min-height: 48px; display: inline-grid; place-items: center; border-radius: var(--radius); border: 1px solid rgb(255 255 255 / .25); background: transparent; color: #fff; font: 600 1rem var(--font-body); cursor: pointer; padding: 0 14px; }
.icon-btn:hover { background: rgb(255 255 255 / .1); }

/* ---------- Vereine (Blaue Fläche) ---------- */
.clubs { background: var(--blue-dark); color: var(--on-blue); position: relative; overflow: hidden; }
.clubs::after { /* oranger Gürtel */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange);
}
.clubs .wrap { display: grid; gap: 24px; padding-block: clamp(56px, 8vw, 96px); }
.clubs h2 { color: var(--on-blue); font-size: clamp(2rem, 5.4vw, 3.3rem); max-width: 18ch; }
.clubs p { color: var(--on-blue-2); max-width: 60ch; font-size: 1.1rem; }
.clubs .eyebrow { color: var(--on-blue-2); }
.club-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.club-list li { border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; padding: 5px 14px; font-size: .95rem; }
@media (min-width: 900px) { .clubs .wrap { grid-template-columns: 1.2fr 1fr; align-items: end; } .clubs-actions { justify-self: end; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative; min-height: 56px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--blue-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 18px 18px; color: var(--ink-2); display: grid; gap: 10px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.1fr 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.panel h3 { font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.address { font-style: normal; font-size: 1.3rem; line-height: 1.4; color: var(--ink); }
.address strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-dark); display: block; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--ink-2); padding-right: 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; word-break: break-word; }
.contact-list svg { width: 20px; height: 20px; flex: none; }
.pending { border: 1.5px dashed #E7A867; background: #FFF8EF; color: #6B3200; border-radius: var(--radius); padding: 12px 14px; font-size: .92rem; }
.pending strong { display: block; margin-bottom: 2px; }
.muted { color: var(--ink-2); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C5CCD8; font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 28px; padding-block: 48px 32px; }
.site-footer a { color: #fff; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; }
.footer-cols { display: grid; gap: 24px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-cols li a { display: inline-flex; min-height: 40px; align-items: center; }
.footer-cols h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #8F9AB0; font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-top: 18px; font-size: .85rem; color: #8F9AB0; }

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 8px; background: var(--surface); border-top: 1px solid var(--line);
  padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -4px 16px rgb(10 35 80 / .08);
}
.action-bar .btn { flex: 1 1 0; min-height: 46px; padding: 8px 10px; font-size: 1rem; }
body.has-action-bar { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .action-bar { display: none; } body.has-action-bar { padding-bottom: 0; } }

/* ---------- Rechtstexte ---------- */
.legal { background: var(--surface); }
.legal .wrap { max-width: 820px; padding-block: clamp(36px, 6vw, 72px); display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { font-size: 1.45rem; margin-top: 18px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.missing { background: #FFE9D6; color: #7A2E00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.draft-note { border: 1.5px dashed #E7A867; background: #FFF8EF; color: #6B3200; border-radius: var(--radius); padding: 14px 16px; }

/* ---------- Kleine Handys: Kopfzeile kompakt ---------- */
@media (max-width: 440px) { .site-header .wrap { gap: 10px; } .brand-name { font-size: 1.08rem; } .brand-sub { font-size: .72rem; } .brand-mark { width: 34px; height: 34px; } .brand { gap: 9px; } .brand-sub-long { display: none; } .nav-toggle { padding: 8px 10px; } }

/* ---------- Logo (Bilddatei aus images/) ---------- */
.brand-logo { height: 52px; width: auto; flex: none; border-radius: 3px; }
.footer-logo { height: 72px; width: auto; border-radius: 3px; margin-bottom: 6px; }
.site-header .brand-sub { font-size: .8rem; line-height: 1.3; }
@media (max-width: 440px) { .brand-logo { height: 44px; } }
@media (min-width: 900px) { .brand-logo { height: 58px; } }

/* Unser Geschäft: Hochformat-Foto (Eingang) */
.about-hero { margin: 0; display: grid; gap: 6px; grid-column: 1 / -1; }
.about-hero figcaption { font-size: .9rem; color: var(--ink-2); }
.about-hero img { object-position: 50% 0; }
@media (max-width: 899px) { .about-hero .media { max-width: 520px; } }
@media (min-width: 900px) {
  .about-media--portrait { grid-template-columns: 3fr 2fr; grid-template-rows: auto auto; align-content: start; }
  .about-media--portrait .about-hero { grid-column: 1; grid-row: 1 / span 2; }
  .about-media--portrait > .media { grid-column: 2; }
}

/* Lange Produktnamen auf schmalen Bildschirmen umbrechen */
.prod-body { min-width: 0; }
.prod h3, .prod-body p, .prod .ph-title { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 420px) { .prod-actions .btn { padding-inline: 10px; font-size: .95rem; } }

/* Kennzeichnung illustrativer KI-Motive */
.img-note { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgb(10 18 32 / .72); color: #fff; font-size: .72rem; letter-spacing: .04em; line-height: 1.4; pointer-events: none; }

/* Produktfotos: freigestellte Bilder auf Weiß */
.prod .media:has(picture) { background: #fff; }
