/* =========================================================
   Broitzemer Apotheke – Design System
   Neuentwicklung 2026
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --red:        #d8232a;   /* Apotheken-Rot */
  --red-dark:   #b21820;
  --red-text:   #c11f26;   /* dunkleres Rot für kleinen Text (WCAG-AA-Kontrast) */
  --red-soft:   #fdeceb;
  --green:      #1f7a5a;   /* Gesundheit / Natur / "geöffnet" */
  --green-soft: #e7f3ee;

  /* Neutrals */
  --ink:        #14181b;
  --ink-2:      #3b4248;
  --muted:      #5e666d;   /* WCAG-AA: ≥4.5:1 auch auf getönten Flächen */
  --line:       #e7e9e7;
  --surface:    #ffffff;
  --bg:         #fbfbfa;
  --bg-warm:    #f7f5f1;
  --bg-cool:    #f3f6f5;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(20, 24, 27, .06), 0 1px 3px rgba(20, 24, 27, .05);
  --shadow-md:  0 8px 24px -8px rgba(20, 24, 27, .14), 0 2px 6px rgba(20, 24, 27, .05);
  --shadow-lg:  0 24px 60px -18px rgba(20, 24, 27, .22);
  --ring:       0 0 0 4px rgba(216, 35, 42, .15);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --r-btn: 0px;            /* TEST: eckige Buttons */

  /* Layout */
  --container: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --header-h: 76px;

  /* Type */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Skip-Link (Barrierefreiheit) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: .8rem 1.3rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
/* Deutlicher, überall sichtbarer Fokus-Indikator (WCAG 2.4.11 / 1.4.11) */
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p  { color: var(--ink-2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-text);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(48px, 6.5vw, 84px); }
.section-head { max-width: 640px; margin-bottom: clamp(24px, 3.5vw, 40px); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }  /* Anker landen nicht unterm Sticky-Header */
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .6rem; }
.section-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: var(--r-btn);
  font-weight: 600; font-size: .98rem; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(216,35,42,.6); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(216,35,42,.65); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand .mark { flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; }
.brand .word span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

/* Nav */
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  padding: .5rem .85rem; border-radius: var(--r-pill); font-size: .95rem; font-weight: 500; color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--bg-warm); color: var(--ink); }
.nav .btn-primary { display: none; }            /* CTA nur im mobilen Menü */
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-cta .tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); padding: .5rem .6rem; white-space: nowrap; }
.header-cta .tel svg { width: 18px; height: 18px; color: var(--red); }
.header-cta .tel:hover { color: var(--red); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface); align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
.burger .x { display: none; }
body.nav-open .burger .menu { display: none; }
body.nav-open .burger .x { display: block; }

/* =========================================================
   HERO  (helles „Poster"-Layout)
   ========================================================= */
.hero {
  position: relative; color: var(--ink); overflow: hidden;
  background: radial-gradient(125% 120% at 84% -12%, #fdeceb 0%, #fbf6f1 46%, #f5f2ec 100%);
  padding: clamp(40px, 6.5vw, 80px) 0 clamp(96px, 11vw, 148px);
}
.hero::before {                       /* sanfter roter Lichtschein oben rechts */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(44% 58% at 90% 2%, rgba(216,35,42,.16), transparent 60%);
}
.hero::after {                        /* feines Punktraster, nach unten ausgeblendet */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .7;
  background-image: radial-gradient(rgba(20,24,27,.05) 1.1px, transparent 1.1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

/* Außenansicht: volle Höhe rechts, linke Kante weich eingefadet */
.hero-photo {
  position: absolute; inset: 0 0 0 auto; width: 56%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 44%, transparent 92%);
  mask-image: linear-gradient(to left, #000 44%, transparent 92%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 38%; display: block; }
.hero-photo::after {                  /* warmer Überzug, passend zur Creme-/Rosé-Welt */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,246,241,.68) 0%, rgba(251,246,241,.18) 48%, rgba(253,236,235,.24) 100%);
}
.hero-inner { position: relative; z-index: 2; width: min(90%, 1480px); max-width: none; margin-inline: auto; padding-inline: 0; }  /* Inhalt auf 90 %, Text darin links */
.hero-meta { max-width: 56rem; }  /* Trennlinie läuft nicht unters Foto */

/* Status-Ribbon */
.hero-status {
  display: inline-flex; align-items: center; gap: .85rem; flex-wrap: wrap;
  padding: .55rem 1rem; margin-bottom: 1.8rem;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--red); box-shadow: var(--shadow-sm);
  font-size: .9rem; color: var(--muted);
}
.hero-status b { color: var(--ink); font-weight: 600; }
.hero-status #statusSub::before { content: "·"; margin-right: .5rem; color: var(--muted); }
.hero-status .sep { width: 1px; height: 15px; background: var(--line); }

.hero-eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-text); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); color: var(--ink); letter-spacing: -.02em; line-height: 1.04; }
.hero-lead { margin-top: 1.4rem; max-width: 37rem; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.62; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-meta .hm { display: flex; align-items: center; gap: .7rem; }
.hero-meta .hm svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.hero-meta .hm b { display: block; font-size: .98rem; color: var(--ink); }
.hero-meta .hm span { font-size: .8rem; color: var(--muted); }

/* Status-Punkt (im Hero-Ribbon) */
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); position: relative; flex: none; }
.status-dot.open { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.status-dot.open::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6 } 100% { transform: scale(2.8); opacity: 0 } }

/* =========================================================
   SERVICE BAR (quick actions)
   ========================================================= */
.quickbar { position: relative; z-index: 5; margin-top: clamp(-96px, -7vw, -56px); }
.quickbar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.quickbar-item { background: var(--surface); padding: 1.5rem 1.4rem; display: flex; gap: .9rem; align-items: flex-start; transition: background .2s ease; }
.quickbar-item:hover { background: var(--bg-warm); }
.quickbar-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.quickbar-item .ic svg { width: 22px; height: 22px; }
.quickbar-item b { display: block; font-size: 1rem; }
.quickbar-item span { font-size: .86rem; color: var(--muted); }

/* =========================================================
   DOCK – fixe Icon-Rail links (fliegt beim Scrollen herein)
   ========================================================= */
.dock {
  position: fixed; left: 0; top: 50%; z-index: 80;
  transform: translateY(-50%) translateX(-115%);
  opacity: 0; pointer-events: none;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-left: 0;
  box-shadow: var(--shadow-md);
  transition: transform .5s cubic-bezier(.22,.9,.27,1), opacity .35s ease;
}
body.dock-on .dock { transform: translateY(-50%) translateX(0); opacity: 1; pointer-events: auto; }
.dock-item { display: flex; align-items: center; color: var(--ink); transition: background .2s ease; }
.dock-item + .dock-item { border-top: 1px solid var(--line); }
.dock-item .ic { width: 54px; height: 54px; flex: none; display: grid; place-items: center; color: var(--red); }
.dock-item .ic svg { width: 23px; height: 23px; }
.dock-item .lbl {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  font-weight: 600; font-size: .92rem;
  transition: max-width .32s ease, opacity .25s ease, padding .32s ease;
}
/* Leiste berühren (oder per Tastatur fokussieren) → ALLE Labels erscheinen */
.dock:hover .lbl, .dock:focus-within .lbl { max-width: 220px; opacity: 1; padding-right: 1.3rem; }
/* nur die aktuell berührte/fokussierte Kachel wird hervorgehoben */
.dock-item:hover, .dock-item:focus-visible { background: var(--bg-warm); }
@media (max-width: 900px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: opacity .35s ease; } }

/* =========================================================
   LEISTUNGEN (cards)
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 1.2rem; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.card p { font-size: .92rem; }
.card .more { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--red-text); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .more svg { transform: translateX(3px); }

/* =========================================================
   FEATURE (alternating detail rows)
   ========================================================= */
/* Leistungs-Sektionen: Foto als vollflächige Hälfte bis zum Bildschirmrand */
.feature-section { position: relative; overflow: hidden; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); position: relative; align-items: center; }
.feature-split .feature-copy { padding-block: clamp(48px, 6.5vw, 84px); }
.feature-split.media-left .feature-copy { grid-column: 2; grid-row: 1; }
.band-media { position: absolute; top: 0; bottom: 0; }
.feature-split.media-right .band-media { left: calc(50% + clamp(18px, 2.5vw, 36px)); right: calc((100vw - 100%) / -2); }
.feature-split.media-left .band-media { right: calc(50% + clamp(18px, 2.5vw, 36px)); left: calc((100vw - 100%) / -2); }
.band-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-section .pdl-wrap { padding-bottom: clamp(48px, 6.5vw, 84px); }

.feature-copy .eyebrow { margin-bottom: 1rem; }
.feature-copy h2 { margin-bottom: 1rem; }
.feature-copy > p { margin-bottom: 1.4rem; }

.steplist { display: grid; gap: 1rem; }
.steplist li { display: flex; gap: 1rem; }
.steplist .num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); font-weight: 700; font-size: .95rem;
}
.steplist b { display: block; font-size: 1rem; }
.steplist p { font-size: .92rem; margin: .15rem 0 0; }

.checklist { display: grid; gap: .7rem; margin-top: .4rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: var(--ink-2); }
.checklist svg { width: 20px; height: 20px; color: var(--red-text); flex: none; margin-top: 2px; }

/* tag pills */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.tag {
  padding: .5rem .95rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: .45rem;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* (frühere Bild-Panel-/Badge-Styles entfernt – Bilder laufen jetzt vollflächig als Sektionshälfte) */

/* =========================================================
   SONSTIGE DIENSTLEISTUNGEN grid + Kundenkarte
   ========================================================= */
.bg-soft { background: var(--bg-warm); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem 1.3rem; display: flex; gap: .9rem; align-items: flex-start; transition: box-shadow .2s ease, transform .2s ease;
}
.svc:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.svc .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.svc .ic svg { width: 21px; height: 21px; }
.svc b { display: block; font-size: .98rem; margin-bottom: .15rem; }
.svc p { font-size: .85rem; }

.cardbox {
  margin-top: 1.4rem; background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.cardbox::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(216,35,42,.55), transparent 70%); }
.cardbox h3 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1.4rem; margin-bottom: .6rem; }
.cardbox p { color: rgba(255,255,255,.72); font-size: .95rem; }
.cardbox .perks { display: grid; gap: .8rem; }
.cardbox .perks li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.92); }
.cardbox .perks svg { width: 20px; height: 20px; color: #ff8a86; flex: none; margin-top: 2px; }
.cardbox .badge3 { display: inline-flex; align-items: baseline; gap: .3rem; background: var(--red); color: #fff; padding: .3rem .7rem; border-radius: var(--r-pill); font-weight: 700; font-size: .85rem; margin-top: 1rem; }

/* =========================================================
   PHARMAZEUTISCHE DIENSTLEISTUNGEN (pDL)
   ========================================================= */
.pdl-hint { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.pdl-hint a { color: var(--red-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pdl-hint a:hover { color: var(--red-dark); }

.pdl-wrap { margin-top: clamp(32px, 4.5vw, 52px); }
.pdlbox {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1b6f52, #0e4735);
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3.2vw, 2.6rem);
}
.pdlbox::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none;
}
.pdl-head { max-width: 44rem; position: relative; }
.pdl-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #0e4735; background: #a5e3c8; padding: .3rem .7rem; margin-bottom: 1rem;
}
.pdl-title { color: #fff; margin-bottom: .8rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pdl-head p { color: rgba(255,255,255,.85); max-width: 40rem; }
.pdl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; position: relative; }
.pdl-card { background: var(--surface); color: var(--ink); border-radius: var(--r-md); padding: 1.4rem 1.4rem 1.5rem; }
.pdl-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft); padding: .2rem .55rem; border-radius: var(--r-pill); margin-bottom: .8rem;
}
.pdl-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin-bottom: .45rem; color: var(--ink); }
.pdl-card p { font-size: .9rem; color: var(--ink-2); }
.pdl-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.5rem; position: relative; }
.pdl-foot p { font-size: .92rem; color: rgba(255,255,255,.85); max-width: 34rem; }
.pdl-foot .btn-primary { box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }

/* =========================================================
   BESTELLEN / APP
   ========================================================= */
.order { position: relative; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.order-ways { display: grid; gap: .9rem; }
.way { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.3rem; transition: border-color .2s, box-shadow .2s; }
.way:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.way .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.way .ic svg { width: 23px; height: 23px; }
.way b { display: block; font-size: 1.02rem; }
.way span { font-size: .88rem; color: var(--muted); }
.way .arrow { margin-left: auto; color: var(--muted); }

/* phone mockup */
.phone {
  width: min(290px, 78%); margin-inline: auto; aspect-ratio: 9 / 18; background: var(--ink);
  border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg); position: relative;
}
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 40%; height: 22px; background: var(--ink); border-radius: var(--r-pill); z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; background: linear-gradient(165deg, #fff, #fdeceb 70%, #fadad8); overflow: hidden; position: relative; padding: 2.2rem 1.2rem 1.2rem; }
.phone-screen .pa { width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; font-weight: 600; margin: 1.4rem auto .9rem; box-shadow: var(--shadow-md); }
.phone-screen h4 { text-align: center; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.phone-screen .psub { text-align: center; font-size: .8rem; color: var(--muted); margin-bottom: 1.2rem; }
.phone-line { height: 38px; border-radius: 10px; background: rgba(255,255,255,.7); border: 1px solid rgba(216,35,42,.12); margin-bottom: .6rem; display: flex; align-items: center; padding: 0 .8rem; gap: .5rem; }
.phone-line .b { height: 8px; border-radius: 4px; background: rgba(20,24,27,.12); flex: 1; }
.phone-cta { height: 42px; border-radius: var(--r-pill); background: var(--red); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 600; margin-top: .4rem; }

/* =========================================================
   TEAM
   ========================================================= */
/* breites, diagonal gestaffeltes Layout mit Parallax-Drift (--py wird per JS gesetzt) */
.team-wide { width: min(94%, 1560px); margin-inline: auto; }
.team-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 26px); align-items: start; }
.team-flow .member.reveal {
  opacity: 0; transform: translateY(var(--py, 0px));
  transition: opacity .7s ease, box-shadow .25s ease; will-change: transform;
}
.team-flow .member.reveal.in { opacity: 1; }
/* dezente diagonale Staffelung – Reihen bleiben als Gruppe erkennbar (Apotheker:innen oben, PTA unten) */
.team-flow .member:nth-child(5n+2),
.team-flow .member:nth-child(5n+4) { margin-top: clamp(1rem, 2.2vw, 2.2rem); }
.team-flow .member:nth-child(5n+3) { margin-top: clamp(.5rem, 1.1vw, 1.1rem); }
.team-flow .member .who { padding: .9rem .7rem 1.05rem; }
.team-flow .member b { font-size: clamp(.95rem, 1vw, 1.1rem); }
.team-flow .member .role { font-size: .85rem; }

.member { background: var(--surface); border: 1px solid var(--line); border-radius: 0; overflow: hidden; text-align: center; }
.member:hover { box-shadow: var(--shadow-md); }
.member .photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-warm); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; display: block; transition: transform .5s ease; }
.member:hover .photo img { transform: scale(1.045); }
.member .who { padding: 1rem .7rem 1.15rem; }
.member b { display: block; font-size: 1.02rem; letter-spacing: -.01em; }
.member .role { display: block; font-size: .84rem; color: var(--muted); margin-top: .15rem; }
.member .qual { display: block; font-size: .74rem; line-height: 1.4; color: var(--muted); margin-top: .35rem; }
.member .cert { display: inline-block; margin-top: .45rem; font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: .18rem .5rem; border-radius: var(--r-pill); }
.subhead { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2.4rem 0 0; }

/* =========================================================
   KONTAKT / ÖFFNUNGSZEITEN
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
.info-stack { display: grid; gap: 1.2rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.7rem; }
.panel h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.panel h3 svg { width: 21px; height: 21px; color: var(--red); }

.hours { display: grid; gap: 0; }
.hours .row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours .row:last-child { border-bottom: none; }
.hours .row.today { font-weight: 700; }
.hours .row.today .day::after { content: "Heute"; margin-left: .5rem; font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: .12rem .45rem; border-radius: var(--r-pill); vertical-align: middle; }
.hours .day { color: var(--ink-2); }
.hours .time { color: var(--ink); font-variant-numeric: tabular-nums; }
.hours .time.closed { color: var(--muted); }

.contactlist { display: grid; gap: 1.1rem; }
.contactlist a, .contactlist .ci { display: flex; gap: .9rem; align-items: flex-start; }
.contactlist .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.contactlist .ic svg { width: 20px; height: 20px; }
.contactlist b { display: block; font-size: 1rem; }
.contactlist span { font-size: .86rem; color: var(--muted); }
.contactlist a:hover b { color: var(--red); }

.notdienst { background: linear-gradient(140deg, #fdeceb, #faddda); border-color: #f3c9c6; }
.notdienst h3 svg { color: var(--red); }
.notdienst p { font-size: .92rem; margin-bottom: 1.1rem; }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.map-wrap iframe { width: 100%; flex: 1 1 auto; min-height: 420px; border: 0; display: block; filter: grayscale(.15); }
.map-actions { padding: 1rem 1.2rem; background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.map-actions .addr { font-size: .9rem; }
.map-actions .addr b { display: block; }
.map-actions .addr span { color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.78); padding-block: clamp(48px, 7vw, 80px) 2rem; }
.footer .brand .word b { color: #fff; }
.footer .brand .word span { color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer p { color: rgba(255,255,255,.72); font-size: .92rem; margin-top: 1rem; max-width: 26ch; }
.footer ul { display: grid; gap: .65rem; }
.footer ul a, .footer ul li { font-size: .92rem; color: rgba(255,255,255,.78); }
.footer ul a:hover { color: #fff; }
.footer-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.68); }
.footer-foot a:hover { color: #fff; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .quickbar-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pdl-grid { grid-template-columns: 1fr; }
  .team-flow { grid-template-columns: repeat(3, 1fr); }
  .team-flow .member:nth-child(5n+2),
  .team-flow .member:nth-child(5n+3),
  .team-flow .member:nth-child(5n+4) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  .nav, .header-cta .tel, .header-cta > .btn-primary { display: none; }
  .burger { display: inline-flex; }

  /* Hero: Foto als unten eingefadeter Streifen */
  .hero { padding-bottom: 330px; }
  .hero-inner { width: 100%; padding-inline: var(--gut); }
  .hero-photo {
    inset: auto 0 0 0; width: 100%; height: 280px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 48%);
    mask-image: linear-gradient(to bottom, transparent 2%, #000 48%);
  }
  .hero-photo img { object-position: center 42%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(251,246,241,.55) 0%, rgba(251,246,241,.08) 60%); }
  .order-grid, .contact-grid { grid-template-columns: 1fr; }

  /* Leistungs-Sektionen: Text oben, Bild als voller Streifen darunter */
  .feature-split { grid-template-columns: 1fr; gap: 0; }
  .feature-split.media-left .feature-copy { grid-column: auto; grid-row: auto; }
  .feature-split .feature-copy { padding-block: clamp(40px, 8vw, 56px); }
  .feature-split.media-right .band-media, .feature-split.media-left .band-media {
    position: static; height: 280px; width: 100vw; margin-left: calc((100% - 100vw) / 2);
  }

  /* Team: 2 Spalten, Staffelung kompakter */
  .team-flow { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-flow .member:nth-child(n) { margin-top: 0; }
  .team-flow .member:nth-child(even) { margin-top: clamp(1.8rem, 7vw, 3.2rem); }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .cardbox { grid-template-columns: 1fr; }

  /* mobile nav panel */
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; inset: 76px 0 auto 0; background: var(--surface);
    padding: 1rem var(--gut) 1.6rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); gap: .2rem; z-index: 90;
  }
  .nav.open a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav.open .btn-primary { display: inline-flex; margin-top: .6rem; color: #fff; justify-content: center; }
}

@media (max-width: 560px) {
  .cards, .quickbar-grid, .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .map-actions { flex-direction: column; align-items: flex-start; }
  .hero-badge { left: 8px; }
}

/* =========================================================
   KARTEN-FREIGABE (Consent für OpenStreetMap)
   ========================================================= */
.map-embed { position: relative; flex: 1 1 auto; display: flex; min-height: 420px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.15); }
.map-consent {
  flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .7rem; text-align: center; padding: 2rem 1.6rem; min-height: 420px;
  background: var(--bg-cool);
  background-image: radial-gradient(rgba(20,24,27,.05) 1px, transparent 1px); background-size: 22px 22px;
}
.map-consent svg { width: 40px; height: 40px; color: var(--red); }
.map-consent b { font-size: 1.05rem; }
.map-consent p { font-size: .9rem; color: var(--ink-2); max-width: 36ch; margin: 0; }
.map-consent a { color: var(--red-text); text-decoration: underline; text-underline-offset: 2px; }
.map-consent .btn { margin-top: .4rem; }

/* =========================================================
   COOKIE-/CONSENT-BANNER
   ========================================================= */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--ink); color: #fff;
  box-shadow: 0 -8px 30px -12px rgba(0,0,0,.5);
  padding: 1.1rem var(--gut);
  transform: translateY(110%); transition: transform .4s ease;
}
.cookie-banner.show { transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { width: 100%; max-width: var(--container); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-text { flex: 1 1 340px; }
.cookie-text b { display: block; font-size: 1rem; margin-bottom: .2rem; }
.cookie-text p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0; }
.cookie-text a { color: #ff8a86; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cookie-actions .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.cookie-settings-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 0; }
.cookie-settings-btn:hover { color: #fff; }
@media (max-width: 640px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1 1 auto; } }
