/* =========================================================
   Domino Apotheke Rohrsen · Design-System
   Farben, Schriften und alle Bausteine der Website
   ========================================================= */

/* ---------- Schriften (lokal, keine externen Server) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Farben und Grundwerte ---------- */
:root {
  --rot: #C3312D;          /* Apotheken-Rot aus dem Logo */
  --rot-dunkel: #9F2623;
  --creme: #FAF5EE;        /* warmer Hintergrund */
  --sand: #EADFCF;         /* Flächen, Karten, Platzhalter */
  --tinte: #24201D;        /* Text, Footer, Dominostein */

  --tinte-weich: #5B524A;
  --sand-hell: #F3EBDF;
  --linie: #DDD0BD;
  --weiss: #FFFFFF;

  --font-titel: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgba(36, 32, 29, .06), 0 8px 24px rgba(36, 32, 29, .08);
  --schatten-hover: 0 2px 4px rgba(36, 32, 29, .08), 0 14px 34px rgba(36, 32, 29, .13);
  --breite: 1160px;
  --rand: clamp(18px, 4vw, 32px);
  --header-h: 84px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.62;
  color: var(--tinte);
  background: var(--creme);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--rot-dunkel); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rot); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-titel);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--tinte);
  font-variation-settings: "SOFT" 50;
}
h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.15rem; }

:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tinte); color: var(--creme); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--creme); }

.container { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--sand { background: var(--sand-hell); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rot-dunkel); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rot); box-shadow: 14px 0 0 var(--tinte); margin-right: 14px; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--tinte-weich); max-width: 38em; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-text); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .2s ease; }
.btn--primary { background: var(--rot); color: var(--weiss); box-shadow: 0 6px 18px rgba(195, 49, 45, .28); }
.btn--primary:hover { background: var(--rot-dunkel); color: var(--weiss); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(195, 49, 45, .32); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--tinte); border-color: var(--linie); }
.btn--ghost:hover { border-color: var(--tinte); color: var(--tinte); }
.btn--light { background: var(--creme); color: var(--rot-dunkel); }
.btn--light:hover { background: var(--weiss); color: var(--rot); transform: translateY(-2px); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: .98rem; }

.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--rot-dunkel); }
.textlink svg { width: 18px; height: 18px; transition: transform .2s ease; }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
/* Weichzeichner als eigene Ebene, damit das mobile Menü nicht eingesperrt wird */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 245, 238, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--linie); box-shadow: 0 6px 20px rgba(36, 32, 29, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tinte); }
.brand:hover { color: var(--tinte); }
.brand-logo { width: 54px; height: 60px; flex: none; overflow: visible; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-titel); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; }
.brand-place { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-weich); margin-top: 4px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--tinte); text-decoration: none; font-weight: 700; font-size: 1rem;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--linie); background: var(--weiss); color: var(--tinte); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }
.header-cta-mobile { display: none; }

/* ---------- Logo-Animation ---------- */
.logo-svg .logo-domino { transform-box: view-box; transform-origin: 350px 650px; }
.logo-svg .logo-a { transform-box: view-box; transform-origin: 520px 756px; }
.js .logo-svg.is-waiting .logo-domino { transform: rotate(-24deg); }
.logo-svg.is-falling .logo-domino { animation: domino-fall 1.6s both; }
.logo-svg.is-falling .logo-a { animation: a-bump 1.6s both; }
.logo-svg.is-wobble .logo-domino { animation: domino-wobble .9s both; }

@keyframes domino-fall {
  0%   { transform: rotate(-24deg); animation-timing-function: ease-in-out; }
  22%  { transform: rotate(-26.5deg); animation-timing-function: ease-in-out; }
  34%  { transform: rotate(-24deg); animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  66%  { transform: rotate(0deg); animation-timing-function: ease-out; }
  76%  { transform: rotate(-4.5deg); animation-timing-function: ease-in; }
  86%  { transform: rotate(0deg); animation-timing-function: ease-out; }
  93%  { transform: rotate(-1.2deg); animation-timing-function: ease-in; }
  100% { transform: rotate(0deg); }
}
@keyframes a-bump {
  0%, 65% { transform: none; }
  71%  { transform: translateX(7px) rotate(1.4deg); }
  82%  { transform: translateX(-1.5px) rotate(-.3deg); }
  100% { transform: none; }
}
@keyframes domino-wobble {
  0%   { transform: rotate(0deg); animation-timing-function: ease-out; }
  40%  { transform: rotate(-6deg); animation-timing-function: ease-in; }
  70%  { transform: rotate(0deg); animation-timing-function: ease-out; }
  85%  { transform: rotate(-1.5deg); }
  100% { transform: rotate(0deg); }
}

/* ---------- Hero Startseite ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-logo { width: clamp(104px, 11vw, 148px); height: auto; margin: 0 0 22px -10px; overflow: visible; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--rot); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--tinte); text-decoration: none; }
.hero-phone svg { width: 22px; height: 22px; color: var(--rot); }
.hero-phone:hover { color: var(--rot-dunkel); }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 35% 60%; border-radius: 26px; box-shadow: var(--schatten); }
.hero-badge {
  position: absolute; left: -22px; bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  background: var(--weiss); border-radius: 16px; padding: 14px 18px; box-shadow: var(--schatten);
  font-size: .98rem; line-height: 1.3; max-width: 270px;
}
.hero-badge .status-dot { flex: none; }

.status-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #9AA59A; box-shadow: 0 0 0 4px rgba(154, 165, 154, .22); }
.status-dot.is-open { background: #3E8E5A; box-shadow: 0 0 0 4px rgba(62, 142, 90, .2); animation: pulse 2.4s ease-in-out infinite; }
.status-dot.is-closed { background: var(--rot); box-shadow: 0 0 0 4px rgba(195, 49, 45, .16); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(62, 142, 90, .06); } }

/* ---------- Schnellinfo-Leiste ---------- */
.quickbar { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); }
.quickbar-item { display: flex; align-items: center; gap: 16px; padding: 22px 26px; color: var(--tinte); text-decoration: none; }
.quickbar-item + .quickbar-item { border-left: 1px solid var(--linie); }
.quickbar-item svg { width: 28px; height: 28px; color: var(--rot); flex: none; }
.quickbar-item span { display: block; font-size: .85rem; color: var(--tinte-weich); }
.quickbar-item strong { display: block; font-size: 1.06rem; }
a.quickbar-item:hover strong { color: var(--rot-dunkel); }

/* ---------- Drei Schritte (Domino-Augen) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--weiss); border-radius: var(--radius); padding: 30px 28px 28px; box-shadow: var(--schatten); }
.step h3 { margin: 18px 0 8px; }
.step p { color: var(--tinte-weich); margin: 0; }
.pips { display: inline-grid; grid-template-columns: repeat(3, 12px); grid-template-rows: repeat(3, 12px); gap: 5px; padding: 11px; background: var(--tinte); border-radius: 12px; }
.pips i { width: 12px; height: 12px; border-radius: 50%; background: var(--creme); }
.pips i:nth-child(1) { grid-area: 1 / 1; }
.pips--1 i { grid-area: 2 / 2 !important; }
.pips--2 i:nth-child(1) { grid-area: 1 / 1; } .pips--2 i:nth-child(2) { grid-area: 3 / 3; }
.pips--3 i:nth-child(1) { grid-area: 1 / 1; } .pips--3 i:nth-child(2) { grid-area: 2 / 2; } .pips--3 i:nth-child(3) { grid-area: 3 / 3; }
.step:hover .pips i { background: var(--weiss); }
.step:hover .pips { background: var(--rot); transition: background-color .25s ease; }

/* ---------- Leistungs-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--weiss); border: 1px solid transparent; border-radius: var(--radius); padding: 26px;
  color: var(--tinte); text-decoration: none; box-shadow: var(--schatten);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--schatten-hover); color: var(--tinte); border-color: var(--linie); }
.tile-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sand-hell); color: var(--rot); display: grid; place-items: center; transition: background-color .25s ease, color .25s ease; }
.tile-icon svg { width: 28px; height: 28px; }
.tile:hover .tile-icon { background: var(--rot); color: var(--weiss); }
.tile h3 { margin: 8px 0 0; font-size: 1.28rem; }
.tile p { margin: 0; color: var(--tinte-weich); font-size: 1.02rem; }
.tiles-more { margin-top: 30px; }

/* ---------- Bild + Text ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split--reverse { grid-template-columns: 1.1fr .9fr; }
.split--reverse .split-media { order: 2; }
.split-media img, .split-media .ph { width: 100%; border-radius: 24px; box-shadow: var(--schatten); }
.split-media img.portrait { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.checklist { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Team ---------- */
.team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.person { text-align: center; }
.person-photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; width: min(220px, 100%); background: var(--sand); box-shadow: var(--schatten); }
/* Gesicht mittig setzen: --fx/--fy = Lage des Gesichts im Foto (0 bis 1), --z = Zoom,
   --ty = gewünschte Höhe des Gesichts im Rahmen, --ar = Höhe geteilt durch Breite des Rahmens */
.person-photo, .team-photo { --z: 1.6; --ty: .47; --ar: 1; --fx: .5; --fy: .33; }
.person-photo img, .team-photo img {
  position: absolute; max-width: none; height: auto;
  width: calc(var(--z) * 100%);
  left: calc((.5 - var(--z) * var(--fx)) * 100%);
  top: calc((var(--ty) - var(--z) * 1.4 * var(--fy) / var(--ar)) * 100%);
  transform-origin: calc(var(--fx) * 100%) calc(var(--fy) * 100%);
  transition: transform .5s ease;
}
.person:hover .person-photo img { transform: scale(1.05); }
.person h3 { margin: 0 0 2px; font-size: 1.3rem; }
.person .role { color: var(--tinte-weich); margin: 0; font-size: 1rem; }

.team-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: var(--weiss); border-radius: 22px; overflow: hidden; box-shadow: var(--schatten); transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--schatten-hover); }
.team-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--sand); --z: 1.35; --ty: .4; --ar: 1.15; }
.team-card:hover .team-photo img { transform: scale(1.04); }

/* Startseite "Beratung": zwei Bilder übereinander versetzt */
.split-media.duo { position: relative; padding: 0 0 70px 70px; }
.split-media.duo .duo-second { position: absolute; left: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--sand-hell); border-radius: 22px; z-index: 1; }

.price-note { display: inline-flex; align-items: baseline; gap: 8px; background: var(--sand-hell); border-radius: 999px; padding: 8px 16px; color: var(--tinte) !important; font-size: 1rem; }
.price-note strong { font-family: var(--font-titel); font-size: 1.25rem; color: var(--rot-dunkel); }
.team-card-body { padding: 24px 26px 28px; }
.team-card h2 { font-size: 1.55rem; margin: 0 0 4px; }
.team-card .role { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rot-dunkel); margin-bottom: 14px; }
.team-card p { color: var(--tinte-weich); margin: 0; }

/* ---------- Öffnungszeiten ---------- */
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.hours th { font-weight: 700; padding-right: 18px; white-space: nowrap; }
.hours td { color: var(--tinte-weich); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--rot-dunkel); }
.hours tr.is-today th::after { content: "heute"; margin-left: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--rot); color: var(--weiss); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.hours-note { font-size: .95rem; color: var(--tinte-weich); margin-top: 14px; }

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card { background: var(--weiss); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--schatten); }
.card h3 { margin-top: 0; }
.address { font-style: normal; font-size: 1.15rem; line-height: 1.55; margin-bottom: 22px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { width: 22px; height: 22px; color: var(--rot); flex: none; }
.contact-list a { color: var(--tinte); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--rot-dunkel); text-decoration: underline; }

/* ---------- Abschluss-Band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--rot); color: var(--creme); border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--weiss); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 34em; }
.cta-band::after {
  content: ""; position: absolute; right: -30px; top: -70px; width: 220px; height: 320px; border-radius: 26px;
  background:
    radial-gradient(circle 16px at 60px 70px, rgba(255, 255, 255, .16) 98%, transparent),
    radial-gradient(circle 16px at 160px 70px, rgba(255, 255, 255, .16) 98%, transparent),
    radial-gradient(circle 16px at 110px 120px, rgba(255, 255, 255, .16) 98%, transparent),
    rgba(0, 0, 0, .1);
  transform: rotate(22deg); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.page-hero h1 { max-width: 15em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.page-hero-aside { justify-self: end; }
.domino-deco { width: 120px; height: 200px; overflow: visible; }

/* ---------- Leistungen ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--rot); color: var(--weiss); text-decoration: none; font-weight: 700; font-size: .98rem; box-shadow: 0 6px 18px rgba(195, 49, 45, .28); transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.subnav a:hover { background: var(--rot-dunkel); color: var(--weiss); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(195, 49, 45, .32); }

.group-title { display: flex; align-items: baseline; gap: 18px; margin-bottom: 30px; }
.group-title h2 { margin: 0; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--linie); }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { background: var(--weiss); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--schatten); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.service-head h3 { margin: 0; }
.service p { color: var(--tinte-weich); }
.service p:last-child { margin-bottom: 0; }
.service .textlink { margin-top: 4px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(28px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 20px); }
.feature + .feature { border-top: 1px solid var(--linie); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media img, .feature-media .ph { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-media img.feature-portrait { object-position: 50% 40%; }
.feature h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.feature p { color: var(--tinte-weich); }

/* ---------- Platzhalter-Bilder ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background-color: var(--sand);
  background-image: radial-gradient(circle at center, rgba(36, 32, 29, .07) 2.5px, transparent 3px);
  background-size: 26px 26px;
  color: var(--rot);
}
.ph::before { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(36, 32, 29, .16); border-radius: 14px; }
.ph-icon { position: relative; width: 104px; height: 104px; border-radius: 28px; background: var(--creme); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(36, 32, 29, .08); }
.ph-icon svg { width: 52px; height: 52px; }

/* ---------- E-Rezept ---------- */
.app-box { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--weiss); border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--schatten); }
.qr { width: 180px; padding: 14px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px; }
.qr img { width: 100%; image-rendering: pixelated; }
.qr-caption { text-align: center; font-size: .85rem; color: var(--tinte-weich); margin: 8px 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.badges a { display: block; border-radius: 10px; transition: transform .2s ease; }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 52px; width: auto; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way { background: var(--weiss); border-radius: 22px; padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--schatten); }
.way-tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rot-dunkel); background: var(--sand-hell); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.way h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.way > p { color: var(--tinte-weich); }
.numbered { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: n; display: grid; gap: 18px; }
.numbered li { position: relative; padding-left: 52px; counter-increment: n; min-height: 36px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--tinte); color: var(--creme); font-family: var(--font-titel); font-weight: 600; display: grid; place-items: center; font-size: 1.05rem; }
.numbered li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: -16px; width: 2px; background: var(--linie); }
.numbered li:last-child::after { display: none; }
.numbered strong { display: block; margin-bottom: 2px; }
.numbered span { color: var(--tinte-weich); }
.hint { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 16px 18px; background: var(--sand-hell); border-radius: 14px; font-size: 1rem; color: var(--tinte-weich); }
.hint svg { width: 22px; height: 22px; color: var(--rot); flex: none; margin-top: 2px; }

.instore { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: var(--weiss); border-radius: 16px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(36, 32, 29, .05); border: 1px solid transparent; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--linie); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-weight: 700; font-size: 1.1rem; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239F2623' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s ease, background-color .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background-color: var(--sand); }
.faq .faq-body { padding: 0 24px 22px; color: var(--tinte-weich); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Kontakt / Formular ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-aside { display: grid; gap: 22px; }
.form-card { background: var(--weiss); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--schatten); scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card h2 { margin-bottom: .25em; }
.form-card > p { color: var(--tinte-weich); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--tinte-weich); }
.field input:not([type=radio]):not([type=checkbox]), .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--tinte);
  background: var(--creme); border: 1.5px solid var(--linie); border-radius: 12px;
  padding: 13px 15px; min-height: 52px; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:not([type=radio]):not([type=checkbox]):hover, .field textarea:hover, .field select:hover { border-color: #C9B89F; }
.field input:not([type=radio]):not([type=checkbox]):focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rot); background: var(--weiss); box-shadow: 0 0 0 4px rgba(195, 49, 45, .12); }
.field small { color: var(--tinte-weich); font-size: .9rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--linie); border-radius: 12px; background: var(--creme); font-weight: 400; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.radio-row label:hover { border-color: #C9B89F; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--rot); margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--rot); background: var(--weiss); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--tinte-weich); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--rot); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-weight: 700; }
.form-status.is-ok { display: block; background: #E6F1E8; color: #24573A; }
.form-status.is-error { display: block; background: #F8E3E1; color: var(--rot-dunkel); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Notdienst / Aktuelles ---------- */
.emergency { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.emergency-main { background: var(--tinte); color: var(--creme); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.emergency-main h2, .emergency-main h3 { color: var(--weiss); }
.emergency-main p { color: rgba(250, 245, 238, .82); }
.emergency-main .btn--light { margin-top: 8px; }
.numbers { display: grid; gap: 16px; }
.number { display: flex; align-items: center; gap: 18px; background: var(--weiss); border-radius: 18px; padding: 20px 22px; box-shadow: var(--schatten); color: var(--tinte); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.number:hover { transform: translateY(-2px); box-shadow: var(--schatten-hover); color: var(--tinte); }
.number strong { display: block; font-family: var(--font-titel); font-size: 1.6rem; line-height: 1.1; color: var(--rot-dunkel); }
.number span { display: block; color: var(--tinte-weich); font-size: .98rem; }
.number-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sand-hell); color: var(--rot); display: grid; place-items: center; flex: none; }
.number-icon svg { width: 26px; height: 26px; }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-item { display: flex; flex-direction: column; background: var(--weiss); border-radius: var(--radius); padding: 28px; box-shadow: var(--schatten); border-top: 4px solid var(--rot); }
.news-item h3 { font-size: 1.3rem; }
.news-item p { color: var(--tinte-weich); flex: 1; }
.news-tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte-weich); margin-bottom: 10px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.4em; }
.legal p, .legal li { color: #3D3630; overflow-wrap: anywhere; }
.legal-note { background: var(--sand-hell); border-left: 4px solid var(--rot); padding: 16px 20px; border-radius: 0 12px 12px 0; margin-bottom: 32px; font-size: 1rem; }
.todo { background: #FFF1C9; padding: 1px 6px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tinte); color: rgba(250, 245, 238, .78); margin-top: clamp(64px, 9vw, 110px); padding-block: clamp(52px, 7vw, 80px) 28px; font-size: 1rem; }
.site-footer a { color: var(--creme); text-decoration: none; }
.site-footer a:hover { color: var(--weiss); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--creme); }
.footer-brand .brand-logo { width: 58px; height: 58px; padding: 6px 7px 5px 5px; background: var(--creme); border-radius: 14px; }
.footer-brand .brand-name { color: var(--creme); }
.site-footer h2 { font-family: var(--font-text); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--creme); margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.footer-hours dt { color: var(--creme); font-weight: 700; }
.footer-hours dd { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(250, 245, 238, .14); font-size: .92rem; }
.footer-bottom ul { display: flex; gap: 22px; }
.site-footer .footer-pips { display: inline-flex; gap: 6px; vertical-align: middle; margin-right: 10px; }
.site-footer .footer-pips i { width: 6px; height: 6px; border-radius: 50%; background: var(--rot); }
.site-footer .footer-pips i + i { background: rgba(250, 245, 238, .5); }

/* ---------- Sanftes Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .logo-svg.is-waiting .logo-domino { transform: none; }
}

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1020px) {
  .main-nav a:not(.btn) { padding: 10px 10px; }
  .main-nav a:not(.btn)::after { left: 10px; right: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Handy und schmale Fenster: eigener Durchgang
   ========================================================= */
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand-logo { width: 44px; height: 50px; }
  .brand-name { font-size: 1.15rem; }
  .brand-place { font-size: .7rem; }

  .nav-toggle { display: inline-flex; }
  .header-cta-mobile { display: inline-flex; margin-left: auto; }
  .header-inner { gap: 10px; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--creme); padding: 18px var(--rand) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--linie); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a:not(.btn) { padding: 18px 4px; font-family: var(--font-titel); font-size: 1.5rem; font-weight: 600; border-radius: 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--rot-dunkel); }
  .main-nav .nav-cta { display: none; }

  .hero-grid, .split, .split--reverse, .contact-grid, .visit, .emergency, .ways, .page-hero-grid, .feature, .app-box { grid-template-columns: 1fr; }
  .split--reverse .split-media, .feature:nth-child(even) .feature-media { order: 0; }
  .page-hero-aside { display: none; }

  /* Hero: kompakter, Foto unter dem Text, Badge entfällt */
  .hero { padding-top: 18px; }
  .hero-logo { width: 92px; margin-bottom: 14px; margin-left: -6px; }
  .hero-media img { aspect-ratio: 16 / 11; border-radius: 20px; }
  .hero-badge { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-phone { width: 100%; justify-content: center; }

  /* Schnellinfo untereinander, knapper */
  .quickbar { grid-template-columns: 1fr; margin-top: 32px; }
  .quickbar-item { padding: 16px 20px; }
  .quickbar-item + .quickbar-item { border-left: 0; border-top: 1px solid var(--linie); }

  /* Schritte als kompakte Liste */
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 20px; align-items: start; }
  .step .pips { grid-row: span 2; transform: scale(.82); transform-origin: top left; }
  .step h3 { margin: 0; font-size: 1.2rem; }

  /* Kacheln als Liste mit Symbol links, Beschreibung entfällt */
  .tiles { grid-template-columns: 1fr; gap: 10px; }
  .tile { flex-direction: row; align-items: center; padding: 14px 16px; gap: 16px; }
  .tile-icon { width: 46px; height: 46px; flex: none; }
  .tile h3 { margin: 0; font-size: 1.15rem; }
  .tile p { display: none; }

  .split-media img.portrait { aspect-ratio: 4 / 3.4; }

  /* Team-Vorschau: drei kleine Kreise nebeneinander */
  .team-row { gap: 12px; }
  .person-photo { width: 100%; margin-bottom: 10px; }
  .person h3 { font-size: 1rem; }
  .person .role { font-size: .85rem; }

  .team-cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .team-photo { aspect-ratio: 4 / 3.6; --ar: .9; --ty: .42; }
  .split-media.duo { padding: 0; }
  .split-media.duo .duo-second { display: none; }  /* am Handy nur ein Bild */

  .feature-media .ph { aspect-ratio: 16 / 9 !important; }
  .ph-icon { width: 84px; height: 84px; border-radius: 22px; }
  .ph-icon svg { width: 42px; height: 42px; }
  .service-list { grid-template-columns: 1fr; }
  .instore { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }

  .app-box { justify-items: start; }
  .qr-wrap { display: none; }  /* QR-Code am Handy nutzlos, Knöpfe reichen */
  .badges img { height: 48px; }

  .cta-band { grid-template-columns: 1fr; border-radius: 22px; padding: 34px 24px; }
  .cta-band .btn { width: 100%; }
  .cta-band::after { width: 150px; height: 220px; right: -60px; top: -70px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .brand-place { display: none; }
  .header-cta-mobile { padding: 10px 14px; font-size: .92rem; }
  .header-cta-mobile svg { display: none; }
}

/* =========================================================
   Unterfenster (Beratung, Verleih, Pflege)
   ========================================================= */
.service--more { cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.service--more:hover { transform: translateY(-3px); box-shadow: var(--schatten-hover); }
.sheet-open { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.sheet-open:hover svg { transform: translateX(4px); }

.sheet {
  width: min(620px, calc(100% - 32px)); max-height: calc(100% - 48px);
  padding: 0; border: 0; border-radius: 24px; background: var(--weiss); color: var(--tinte);
  box-shadow: 0 24px 70px rgba(36, 32, 29, .28); overflow: auto; cursor: auto;
}
.sheet::backdrop { background: rgba(36, 32, 29, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-in .28s cubic-bezier(.2, .7, .2, 1); }
.sheet[open]::backdrop { animation: fade-in .28s ease; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet-inner { padding: clamp(24px, 4vw, 38px); border-top: 5px solid var(--rot); }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.sheet-head h3 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.sheet-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie); background: var(--creme); color: var(--tinte); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.sheet-close:hover { background: var(--sand); border-color: var(--tinte); }
.sheet-close svg { width: 20px; height: 20px; }
.sheet p { color: var(--tinte-weich); }
.sheet-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.sheet-list li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--sand-hell); line-height: 1.35; }
.sheet-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--rot); }
.sheet-foot { margin: 0; padding: 14px 16px; background: var(--sand-hell); border-radius: 12px; font-size: 1rem; }
html.sheet-lock { overflow: hidden; }

/* Botendienst: zwei Hinweise nebeneinander */
.price-notes { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.price-notes .price-note { margin: 0; }

/* Außenansicht klein in der Adress-Karte */
.outside { margin: 0 0 20px; max-width: 340px; }
.outside img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 2px 10px rgba(36, 32, 29, .12); }
.outside figcaption { margin-top: 8px; font-size: .9rem; color: var(--tinte-weich); }

@media (max-width: 600px) {
  .sheet { width: 100%; max-width: 100%; max-height: 88vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .sheet-list { grid-template-columns: 1fr; gap: 0; }
  .outside { max-width: 100%; }
}

/* Formular: Hinweise zu E-Rezept und PZN */
.field small strong { color: var(--tinte); }
.field-note { margin: 10px 0 0; padding: 12px 14px; background: var(--sand-hell); border-left: 3px solid var(--rot); border-radius: 0 10px 10px 0; font-size: .9rem; line-height: 1.5; color: var(--tinte-weich); }
.field-note[hidden] { display: none; }
.note-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--rot-dunkel); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.field textarea::placeholder { color: #A39785; }
.sheet-list--one { grid-template-columns: 1fr; gap: 0; }
.sheet .badges { margin: 0 0 20px; }
.sheet-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--sand-hell); }
@media (max-width: 600px) { .sheet-actions .btn { width: 100%; } }

/* Lieferadresse (erscheint beim Botendienst) */
.delivery-box { background: var(--sand-hell); border: 1.5px solid var(--linie) !important; border-left: 4px solid var(--rot) !important; border-radius: 14px; padding: 20px 22px 22px !important; }
.delivery-box[hidden] { display: none; }
.delivery-box legend { float: left; width: 100%; font-family: var(--font-titel); font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.delivery-intro { clear: both; margin: 0 0 14px; font-size: .95rem; color: var(--tinte-weich); }
.delivery-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 14px 16px; }
.delivery-grid .field--full { grid-column: 1 / -1; }
.delivery-box .field input:not([type=radio]):not([type=checkbox]) { background: var(--weiss); }
.delivery-box.is-new { animation: delivery-in .35s ease; }
@keyframes delivery-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .delivery-grid { grid-template-columns: 1fr; } .delivery-box { padding: 16px !important; } }

/* Lieferhinweis unter "Wann möchten Sie es haben?" */
.field-small { display: block; margin-top: 8px; font-size: .86rem; line-height: 1.45; color: var(--tinte-weich); }
.field-small[hidden] { display: none; }
.field-small a { color: var(--rot-dunkel); font-weight: 700; text-underline-offset: .18em; white-space: nowrap; }

/* Pop-up E-Rezept: Link neben den Store-Bildern, "Weiter" als schlichter Textbutton */
.badges { align-items: center; }
.badge-link { display: inline-flex !important; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border: 1.5px solid var(--rot); border-radius: 10px; background: var(--weiss); color: var(--rot-dunkel); font-weight: 700; text-decoration: none; white-space: nowrap; }
.badge-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.badge-link:hover { color: var(--rot); }
.badge-link:hover svg { transform: translateX(3px); }
.sheet-continue { display: block; margin: 18px auto 0; padding: 10px 14px; background: none; border: 0; font: inherit; font-size: .98rem; color: var(--tinte-weich); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.sheet-continue:hover { color: var(--tinte); }
@media (max-width: 760px) { .badge-link { height: 48px; } }

/* Pop-up: drei gleich große Felder nebeneinander, auch am Handy */
.sheet .badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 540px; }
.sheet .badges img { width: 100%; height: auto; }
.sheet .badge-link { height: auto; aspect-ratio: 300 / 99; justify-content: center; padding: 0 8px; white-space: normal; text-align: center; line-height: 1.15; font-size: clamp(.74rem, 3.2vw, 1rem); gap: 6px; }
@media (max-width: 480px) { .sheet .badges { gap: 8px; } .sheet .badge-link svg { display: none; } }

/* E-Rezept-Seite: zwei QR-Codes, App öffnen, Abschnitt "Am PC" */
.qr-pair { display: flex; gap: 18px; }
.qr-pair figure { margin: 0; }
.qr-pair .qr { width: 150px; padding: 12px; }
.qr-caption strong { color: var(--tinte); }
.only-mobile { display: none; }
.app-open { margin-top: 20px; padding: 16px 18px; background: var(--sand-hell); border-radius: 14px; }
.app-open p { margin: 0 0 12px; }
.pc-box { display: grid; grid-template-columns: 200px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--weiss); border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--schatten); }
.pc-media img { width: 100%; height: auto; }
.pc-box h2 { margin-top: 4px; }
.pc-box .hint { margin: 20px 0 24px; }
.subnav a.subnav-alt { background: transparent; color: var(--tinte); border: 1.5px solid var(--tinte); box-shadow: none; }
.subnav a.subnav-alt:hover { background: var(--tinte); color: var(--creme); box-shadow: none; }
@media (max-width: 900px) {
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  .qr-wrap.qr-pair { display: none; }
  .pc-box { grid-template-columns: 1fr; }
  .pc-media { width: 110px; }
}
@media (max-width: 600px) { .app-open .btn, .pc-box > div > .btn { width: 100%; } }

/* "Rezept schicken" als zweiter Teil von "Per App", "Am PC" nur am Computer */
.app-sub { margin: clamp(40px, 6vw, 64px) 0 24px; max-width: 760px; }
.app-sub h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin-bottom: 8px; }
.app-sub p { color: var(--tinte-weich); margin: 0; }
@media (max-width: 900px) { .hide-mobile, .subnav a.hide-mobile { display: none; } }

/* Kontakt: zwei Karten, Adresse zuerst. Vorbestellen: eigene Seite */
.contact-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 36px); align-items: start; }
.order-wrap { max-width: 860px; }
.price-note strong { white-space: nowrap; }
@media (max-width: 900px) { .contact-two { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .price-note { border-radius: 16px; } }

/* Überschrift im Lieferkasten: normaler Absatz statt legend, sitzt so auch auf dem iPhone sicher im Kasten */
.delivery-title { width: 100%; margin: 0 0 6px; font-family: var(--font-titel); font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: var(--tinte); }

/* Startseite: "E-Rezept einlösen" direkt unter "Medikament vorbestellen" */
.hero-buttons { display: inline-flex; flex-direction: column; gap: 22px; }
.hero-erezept { background: var(--weiss); border-color: var(--rot); color: var(--rot-dunkel); }
.hero-erezept:hover { border-color: var(--rot-dunkel); color: var(--rot); }
.hero-erezept:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .hero-buttons { display: flex; width: 100%; } }

/* Startseite: Außenbild neben dem Logo */
.hero-brand { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 30px); margin-bottom: 22px; }
.hero-brand .hero-logo { margin-bottom: 0; flex: none; }
.hero-outside { width: clamp(170px, 17vw, 230px); height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 2px 10px rgba(36, 32, 29, .12); }
@media (max-width: 900px) { .hero-brand { margin-bottom: 14px; } .hero-outside { width: 150px; } }
