/* ============================================
   Physiomedic Eltville – Design-System
   Apple-Style + Glassmorphism
   Creme, Weiß, Grau, Schwarz – Milchglas-Karten
   ============================================ */
:root {
  --blue-900: #1d1d1f;
  --blue-700: #1d1d1f;
  --blue-600: #424245;
  --blue-100: #f5f3ee;
  --blue-50: #ffffff;
  --teal-600: #6e6e73;
  --teal-100: #f5f5f7;
  --ink: #1d1d1f;
  --gray-700: #424245;
  --gray-500: #6e6e73;
  --gray-200: #e8e8ed;
  --gray-100: #f5f5f7;
  --white: #ffffff;
  --amber: #b8860b;
  --green: #1d1d1f;
  --radius: 24px;
  /* Glas */
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-edge: rgba(29, 29, 31, 0.06);
  --shadow: 0 8px 32px rgba(31, 31, 35, 0.07);
  --shadow-lg: 0 20px 60px rgba(31, 31, 35, 0.13);
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  /* Weiche Creme/Grau-Verläufe, damit das Milchglas sichtbar wird */
  background: #f4f1ea;
  background-image:
    radial-gradient(820px 560px at 12% -8%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(900px 600px at 95% 12%, rgba(232, 226, 214, 0.85), transparent 62%),
    radial-gradient(760px 540px at 50% 78%, rgba(222, 222, 228, 0.7), transparent 60%),
    radial-gradient(640px 460px at 8% 95%, rgba(240, 235, 224, 0.9), transparent 58%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Top-Bar ---------- */
.topbar {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-edge);
  color: var(--gray-500);
  font-size: 0.78rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--ink); text-decoration: none; font-weight: 500; }

/* ---------- Header / Nav (frosted) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--glass-edge);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.logo { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.3px; }
.logo span { color: var(--gray-500); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; color: rgba(29, 29, 31, 0.8); font-weight: 400; font-size: 0.82rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* ---------- Buttons (Pills) ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 980px;
  font-weight: 500; font-size: 1rem; text-decoration: none; text-align: center;
  letter-spacing: -0.2px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s; cursor: pointer; border: none;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(29, 29, 31, 0.22); }
.btn-secondary {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.btn-ghost { background: var(--glass); color: var(--ink); backdrop-filter: blur(14px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ---------- Hero ---------- */
.hero { background: transparent; padding: 104px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero .eyebrow {
  display: inline-block;
  background: var(--glass); color: var(--gray-700);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-weight: 500; font-size: 0.82rem; padding: 7px 18px; border-radius: 980px;
  margin-bottom: 18px; box-shadow: var(--shadow);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.06; color: var(--ink);
  margin-bottom: 20px; letter-spacing: -0.025em; font-weight: 700;
}
.hero p.lead {
  font-size: 1.25rem; color: var(--gray-500); margin-bottom: 32px; max-width: 540px;
  letter-spacing: -0.2px; line-height: 1.5;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; align-items: center; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.88rem; color: var(--gray-500); }
.hero-trust .stars { color: var(--amber); }
.hero-card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow-lg);
  padding: 38px; text-align: center;
}
.hero-card .big { font-size: 3rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.hero-card .stars { color: var(--amber); font-size: 1.25rem; letter-spacing: 3px; }
.hero-card p { color: var(--gray-500); font-size: 0.92rem; margin-top: 6px; }
.hero-card hr { border: none; border-top: 1px solid rgba(29,29,31,0.08); margin: 20px 0; }
.hero-card ul { list-style: none; text-align: left; font-size: 0.95rem; }
.hero-card ul li { padding: 7px 0 7px 28px; position: relative; color: var(--gray-700); }
.hero-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }

/* ---------- Medien (Apple-Showcase) ---------- */
.hero-showcase { margin-top: 56px; max-width: 760px; }
.hero-showcase img, .hero-showcase video {
  width: 100%; border-radius: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  background: #f1efe8; display: block;
}
.page-media { padding: 0; }
.page-media img, .page-media video {
  width: 100%; border-radius: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  background: #f1efe8; display: block;
}
.page-media video.media-vertical {
  width: auto; max-width: 100%; max-height: 620px; margin: 0 auto;
}
.card-img {
  width: calc(100% + 72px); margin: -36px -36px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 4 / 3; object-fit: cover;
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--glass-edge); border-bottom: 1px solid var(--glass-edge);
}
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-head .eyebrow { color: var(--gray-500); font-weight: 600; font-size: 0.95rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--ink); margin: 8px 0 14px;
  letter-spacing: -0.022em; font-weight: 700; line-height: 1.1;
}
.section-head p { color: var(--gray-500); font-size: 1.15rem; letter-spacing: -0.2px; }

/* ---------- Cards (Milchglas) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-2 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; width: 100%; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: 36px; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--glass-strong); }
.card .icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px;
  filter: grayscale(1); box-shadow: var(--shadow);
}
.card h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -0.4px; font-weight: 600; }
.card p { color: var(--gray-700); font-size: 0.98rem; margin-bottom: 16px; }
.card a.more { font-weight: 500; text-decoration: none; color: var(--ink); }
.card a.more:hover { text-decoration: underline; }

/* ---------- Checklist / Steps ---------- */
.checklist { list-style: none; }
.checklist li { padding: 10px 0 10px 34px; position: relative; color: var(--gray-700); }
.checklist li a { color: var(--ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.8); border: 1px solid var(--glass-border); color: var(--ink); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li {
  counter-increment: step;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 600; margin-bottom: 18px; font-size: 1.05rem;
}
.steps h3 { color: var(--ink); font-size: 1.15rem; margin-bottom: 8px; font-weight: 600; }
.steps p { color: var(--gray-700); font-size: 0.95rem; }

/* ---------- Standorte ---------- */
.location-card { display: flex; flex-direction: column; gap: 8px; }
.location-card .badge { align-self: flex-start; background: var(--ink); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 5px 14px; border-radius: 980px; text-transform: uppercase; letter-spacing: 1px; }
.location-card address { font-style: normal; color: var(--gray-700); }
.location-card .hours { font-size: 0.92rem; color: var(--gray-500); }
.location-card .hours a { color: var(--ink); }

/* ---------- Praxis-Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.gallery img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------- Reviews ---------- */
.review {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.review .stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 12px; }
.review p { color: var(--gray-700); font-size: 0.97rem; margin-bottom: 14px; }
.review .author { font-weight: 600; color: var(--gray-500); font-size: 0.88rem; }

/* ---------- FAQ (Glas-Panels) ---------- */
.faq { max-width: 740px; margin: 0 auto; }
.faq details {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 18px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.faq details[open] { background: var(--glass-strong); }
.faq summary { cursor: pointer; padding: 22px 26px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.02rem; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gray-500); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 26px 22px; color: var(--gray-700); }
.faq details p a { color: var(--ink); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--glass-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
  color: var(--ink); text-align: center;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; letter-spacing: -0.022em; font-weight: 700; }
.cta-band p { color: var(--gray-500); margin-bottom: 30px; font-size: 1.15rem; }
.cta-band .btn-primary { background: var(--ink); color: #fff; }
.cta-band .btn-secondary { background: rgba(255,255,255,0.5); color: var(--ink); border: 1px solid var(--glass-border); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--gray-500); padding: 18px 0 0; }
.breadcrumb a { color: var(--gray-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Prose (Leistungsseiten) ---------- */
.prose h2 { color: var(--ink); font-size: 1.75rem; margin: 48px 0 16px; letter-spacing: -0.022em; font-weight: 700; }
.prose h3 { color: var(--ink); font-size: 1.2rem; margin: 28px 0 10px; font-weight: 600; }
.prose p { color: var(--gray-700); margin-bottom: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0 0 16px 22px; color: var(--gray-700); }
.prose ul li { margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: 78px; }
.sidebar .card { padding: 28px; }
.sidebar .card h3 { font-size: 1.05rem; }
.sidebar .tel { display: block; font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; margin: 10px 0; letter-spacing: -0.4px; }

/* ---------- Formular ---------- */
input, textarea {
  background: rgba(255, 255, 255, 0.65) !important;
  color: var(--ink) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(10px);
}
input:focus, textarea:focus { outline: 2px solid var(--ink); }
form label { color: var(--ink) !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-edge);
  color: var(--gray-500); padding: 52px 0 24px; font-size: 0.85rem;
}
.site-footer h4 { color: var(--ink); margin-bottom: 14px; font-size: 0.85rem; font-weight: 600; }
.site-footer a { color: var(--gray-500); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 36px; }
.footer-bottom { border-top: 1px solid rgba(29,29,31,0.08); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; }

/* ---------- Mobile Sticky CTA ---------- */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-top: 1px solid var(--glass-edge);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px; align-items: stretch;
}
.mobile-cta .btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 6px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.1px;
  white-space: nowrap; border-radius: 14px;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.mobile-cta .btn:active { transform: scale(0.96); opacity: 0.85; }
.mobile-cta .btn-primary { flex: 1.35; box-shadow: 0 4px 14px rgba(29, 29, 31, 0.25); }
.mobile-cta .btn-secondary { background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(29, 29, 31, 0.18); }
.mobile-cta .btn-wa { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }

/* ---------- Moderne Akzente ---------- */
::selection { background: var(--ink); color: #fff; }

/* Animierter Verlauf hinter dem Hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto;
  height: 130%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(560px 380px at 22% 28%, rgba(214, 198, 160, 0.35), transparent 65%),
    radial-gradient(620px 420px at 78% 18%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(480px 360px at 62% 80%, rgba(216, 216, 224, 0.45), transparent 60%);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero > .container { position: relative; z-index: 1; }
@keyframes heroDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 2.5%, 0) scale(1.06); }
}

/* CTA mit Pfeil */
.hero-ctas .btn-primary::after, .cta-band .btn-primary::after {
  content: " →"; display: inline-block; transition: transform 0.25s ease; margin-left: 2px;
}
.hero-ctas .btn-primary:hover::after, .cta-band .btn-primary:hover::after { transform: translateX(4px); }

/* Feine Lichtkante oben auf Glas-Karten */
.card, .hero-card, .steps li, .review {
  position: relative;
}
.card::after, .hero-card::after, .review::after {
  content: ""; position: absolute; inset: 0 12% auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
  border-radius: 1px; pointer-events: none;
}

/* Sanftes Schweben der Hero-Karte */
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-card { animation: floatCard 7s ease-in-out infinite; }

/* Stats-Leiste */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stats div {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 18px; padding: 22px 12px; text-align: center; box-shadow: var(--shadow);
}
.stats .num { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.stats .lbl { font-size: 0.85rem; color: var(--gray-500); margin-top: 2px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Scroll-Fortschrittsbalken */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300;
  background: linear-gradient(90deg, #b8946a, var(--ink));
  border-radius: 0 2px 2px 0;
}

/* ---------- Header blendet beim Runterscrollen aus ---------- */
.site-header { transition: transform 0.35s ease; }
.site-header.hidden { transform: translateY(-100%); }

/* ---------- Hero-H1: Wort-für-Wort-Einblendung ---------- */
.hero h1 .w {
  display: inline-block; opacity: 0; transform: translateY(20px);
  animation: wordIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Credentials-Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--glass-edge); border-bottom: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 14px 0; margin-top: 64px;
}
.marquee-track { display: inline-block; animation: marquee 28s linear infinite; }
.marquee span {
  display: inline-block; margin: 0 28px; color: var(--gray-500);
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.marquee span::after { content: "·"; margin-left: 56px; color: #b8946a; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- 3D-Tilt auf Karten ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- FAQ sanft öffnen ---------- */
.faq details p { animation: faqIn 0.35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- WhatsApp-Button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 260;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 640px) { .wa-float { display: none; } }

.btn-wa {
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-wa svg { width: 20px; height: 20px; flex: none; }


/* ---------- Zurück-nach-oben ---------- */
#toTop {
  position: fixed; left: 18px; bottom: 18px; z-index: 250;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg); color: var(--ink); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s;
}
#toTop.show { opacity: 1; pointer-events: auto; }
#toTop:hover { transform: translateY(-3px); }
@media (max-width: 640px) { #toTop { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .w { animation: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Scroll-Animationen (Apple-Style) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

.zoomable {
  transition: transform 0.15s linear;
  will-change: transform;
  transform-origin: center center;
}
.hero-showcase, .page-media { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .zoomable { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-4, .two-col, .footer-grid, .steps { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  /* Header ohne backdrop-filter, damit das fixe Overlay korrekt positioniert wird */
  .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(250, 248, 244, 0.96);
  }
  /* Modernes Vollbild-Menü (frosted Overlay) */
  .nav-links {
    display: flex; position: fixed; inset: 0; z-index: 150;
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(32px) saturate(160%); -webkit-backdrop-filter: blur(32px) saturate(160%);
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    padding: 80px 24px 120px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links li { list-style: none; }
  .nav-links a {
    display: block; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em;
    color: var(--ink); padding: 10px 18px;
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links a[aria-current="page"] { color: var(--gray-500); }
  .nav-links.open a { opacity: 1; transform: translateY(0); }
  .nav-links.open li:nth-child(1) a { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) a { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(3) a { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(4) a { transition-delay: 0.2s; }
  .nav-links.open li:nth-child(5) a { transition-delay: 0.25s; }
  .nav-links.open li:nth-child(6) a { transition-delay: 0.3s; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 160;
    width: 48px; height: 48px; padding: 0; border-radius: 50%;
    font-size: 1.45rem; line-height: 0;
    background: var(--ink); color: #fff; border: none;
    box-shadow: 0 4px 14px rgba(29, 29, 31, 0.25);
    transition: transform 0.3s ease;
  }
  .nav-toggle.open { transform: rotate(90deg); }
  body.menu-open { overflow: hidden; }
  .nav .btn { display: none; }
  .hero { padding: 66px 0 52px; }
  .hero-grid, .grid-3, .grid-2, .grid-4, .two-col, .footer-grid, .steps { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 64px; }
  section { padding: 60px 0; }
  .topbar .container { justify-content: center; }
}
