/* ===========================================================================
   components.css — header, hero, action row, services, trust, hours/location,
   footer, forms, accordion, service-page blocks, new-page components.
   Reorganized from styles.css + leistungen.css + service.css (visuals unchanged).
   =========================================================================== */

/* ---------- Brand logo (emblem image in the header) ---------- */
.brand-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; display: block; }

/* ---------- Icon sizing per context (was a React size prop) ---------- */
.brand-mark .icon svg   { width: 24px; height: 24px; }
.phone-link .icon svg   { width: 18px; height: 18px; }
.btn .icon svg          { width: 18px; height: 18px; }
.action-icon .icon svg  { width: 26px; height: 26px; }
.action-card .arrow .icon svg,
.svc-jump .arrow .icon svg { width: 20px; height: 20px; }
.service-icon .icon svg { width: 24px; height: 24px; }
.acc-icon .icon svg     { width: 24px; height: 24px; }
.acc-chev .icon svg     { width: 22px; height: 22px; }
.hours-note .icon svg,
.directions-link .icon svg { width: 18px; height: 18px; }
.emergency .icon svg,
.privacy-strip .icon svg { width: 20px; height: 20px; }
.note-muted .icon svg,
.add-more .icon svg     { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 14px 26px; transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--beige); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-block { width: 100%; justify-content: center; }

/* ===========================================================================
   HEADER
   =========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--beige-line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--red); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; gap: 3px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-sub  { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  padding: 9px 14px; border-radius: 8px; transition: all 0.18s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--red); background: var(--beige-soft); }
.nav a[aria-current="page"] { color: var(--red); }

.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 9px 14px; border-radius: 999px; transition: all 0.18s var(--ease);
}
.phone-link .icon { color: var(--red); }
.phone-link:hover { background: var(--beige-soft); color: var(--red); }
.phone-link:hover .icon { color: var(--red); }
/* Hide the phone link in the desktop top bar — the number lives in the footer
   (desktop) and the hamburger menu (mobile), and dropping it keeps the language
   toggle aligned to the site's right gutter. Mobile keeps the click-to-call icon. */
@media (min-width: 981px) { .phone-link { display: none; } }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--beige-line); border-radius: 999px; overflow: hidden;
  background: var(--white);
}
.lang-toggle a, .lang-toggle button {
  display: inline-flex; align-items: center;
  border: 0; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
  padding: 7px 12px; transition: all 0.16s var(--ease);
}
.lang-toggle a.active, .lang-toggle button.active { background: var(--red); color: #fff; }

.hamburger {
  display: none; border: 1px solid var(--beige-line); background: var(--white);
  width: 44px; height: 44px; border-radius: 11px; color: var(--ink);
  align-items: center; justify-content: center;
}

/* Mobile nav panel — toggled by .is-open (was inline style in the prototype) */
.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--beige-line);
  background: var(--white);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .shell { padding-block: 12px 20px; }
.mobile-nav a {
  display: block; font-size: 18px; font-weight: 500;
  padding: 14px 4px; border-bottom: 1px solid var(--beige-soft);
}
.mobile-nav a:last-child { border-bottom: 0; }
/* Click-to-call row inside the mobile menu */
.mobile-nav .mobile-call {
  display: flex; align-items: center; gap: 10px;
  color: var(--red); font-weight: 700;
}
.mobile-nav .mobile-call .icon svg { width: 20px; height: 20px; }

/* ===========================================================================
   HERO
   =========================================================================== */
.hero { position: relative; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }

/* Slideshow replaces the single hero-img */
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; }

/* Large logo displayed in the hero copy column */
.hero-logo-img {
  display: block;
  width: clamp(72px, 12vw, 148px);
  height: auto; object-fit: contain;
  margin-bottom: 16px;
}

.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(244,242,236,0.57) 0%, rgba(244,242,236,0.50) 34%, rgba(244,242,236,0.40) 64%, rgba(244,242,236,0.05) 100%);
}
.hero-inner {
  min-height: clamp(460px, 64vh, 660px);
  display: flex; align-items: center;
  padding-block: clamp(56px, 9vw, 110px);
}
.hero-copy { max-width: 560px; }
.hero-eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); color: var(--ink); }
.hero h1 .accent { color: var(--red); }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink); opacity: 0.86; margin-top: 22px; max-width: 480px; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
/* Hero secondary button sits over the photo (lighter scrim) — white text + border
   for legibility; hover keeps the existing red highlight. */
.hero-cta .btn-ghost { color: #fff; border-color: #fff; }
.hero-cta .btn-ghost:hover { color: var(--red); border-color: var(--red); }

/* ===========================================================================
   ACTION ROW
   =========================================================================== */
.actions { position: relative; z-index: 5; }
.actions .shell { transform: translateY(-46px); margin-bottom: -20px; }
.action-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
/* Action cards (homepage action row + service-page quick-jump): icon on the
   left, title + text on the right, arrow stays in the top-right corner. */
.action-grid .action-card,
.svc-jump .action-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: 18px; row-gap: 2px;
  align-items: center;
  min-height: 0; padding-right: 52px; /* room so a title never runs under the arrow */
}
.action-grid .action-icon,
.svc-jump .action-icon { grid-area: icon; align-self: center; }
.action-grid .action-card h3,
.svc-jump .action-card h3 { grid-area: title; align-self: end; }
.action-grid .action-card p,
.svc-jump .action-card p  { grid-area: text;  align-self: start; }
.action-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-md);
  text-align: left; transition: all 0.24s var(--ease);
  position: relative; min-height: 158px;
}
.action-icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--offwhite); color: var(--red);
  transition: all 0.24s var(--ease);
}
.action-card h3 { font-size: 20px; font-family: var(--serif); }
.action-card p { font-size: 14.5px; color: var(--muted); }
.action-card .arrow { position: absolute; top: 22px; right: 22px; color: var(--beige); transition: all 0.24s var(--ease); }
.action-card:hover { background: var(--red); border-color: var(--red); transform: translateY(-6px); box-shadow: var(--shadow-red); }
.action-card:hover h3, .action-card:hover p { color: #fff; }
.action-card:hover p { opacity: 0.85; }
.action-card:hover .action-icon { background: rgba(255,255,255,0.16); color: #fff; }
.action-card:hover .arrow { color: #fff; transform: translateX(3px); }

/* ===========================================================================
   WELCOME
   =========================================================================== */
.welcome { padding-block: clamp(40px, 6vw, 80px); }
.welcome .shell { max-width: 880px; text-align: center; }
.welcome .eyebrow { display: block; margin-bottom: 18px; }
.welcome h2 { font-size: clamp(26px, 3.4vw, 38px); }
.welcome p { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin-top: 20px; line-height: 1.62; }

/* ===========================================================================
   SERVICES GRID
   =========================================================================== */
.services { background: var(--offwhite); padding-block: clamp(56px, 7vw, 96px); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
/* Boxless: no card background/border — just a coloured circle + the label
   beside it, sitting directly on the section. */
.service-tile {
  display: flex; flex-direction: row; align-items: center; gap: 14px;
  padding: 12px 6px; min-width: 0;
  transition: color 0.22s var(--ease);
}
.service-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  color: var(--red); background: var(--soft-red);
  transition: all 0.22s var(--ease);
}
.service-tile span.label { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.22; color: var(--ink); }
/* "View all services" link — hidden on desktop, shown only on phones where the
   grid is trimmed to 6 tiles (see the ≤620px block). */
.services-more {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  margin-top: 22px; font-weight: 600; color: var(--red);
  transition: gap 0.2s var(--ease);
}
.services-more:hover { gap: 12px; }
.services-more .icon svg { width: 18px; height: 18px; }
.service-tile:hover .service-icon { background: var(--red); color: #fff; }
.service-tile:hover span.label { color: var(--red); }

/* ===========================================================================
   TRUST STRIP
   =========================================================================== */
.trust { background: var(--red); color: #fff; padding-block: clamp(28px, 4vw, 44px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .icon {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.13); color: #fff;
}
.trust-item span { font-size: 16.5px; font-weight: 600; line-height: 1.25; }

/* ===========================================================================
   HOURS + LOCATION
   =========================================================================== */
.visit { padding-block: clamp(56px, 7vw, 96px); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

.hours-card, .location-card {
  width: 100%; overflow: hidden;
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 40px);
}
.hours-card h2, .location-card h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.card-eyebrow { margin-bottom: 14px; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.hours-table tr { border-bottom: 1px solid var(--beige-soft); }
.hours-table tr:last-child { border-bottom: 0; }
.hours-table th {
  text-align: left; font-weight: 600; font-size: 16px; color: var(--ink);
  padding: 13px 0; width: 42%;
}
.hours-table td { text-align: right; padding: 13px 0; color: var(--muted); font-size: 15.5px; font-variant-numeric: tabular-nums; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--red); font-weight: 700; }
.hours-table td.closed { color: var(--beige); font-style: italic; }
.hours-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.hours-note .icon { color: var(--red); margin-top: 2px; flex-shrink: 0; }

.address-block { font-size: 17px; line-height: 1.7; }
.address-block .label { font-weight: 600; color: var(--ink); }
.address-block .muted { color: var(--muted); }
.directions-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-weight: 600; color: var(--red); transition: gap 0.2s var(--ease);
}
.directions-link:hover { gap: 12px; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.site-footer { background: var(--ink); color: rgba(244,242,236,0.78); padding-block: clamp(48px, 6vw, 72px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; font-size: 22px; }
.footer-brand .brand-sub { color: rgba(244,242,236,0.55); margin-bottom: 18px; }
.footer-contact { line-height: 1.9; font-size: 15.5px; }
.footer-contact a:hover { color: #fff; }
.footer-hours { font-size: 15px; line-height: 1.9; }
.footer-hours .day { display: flex; justify-content: space-between; gap: 16px; padding: 1px 0; }
.footer-hours .day span:first-child { color: rgba(244,242,236,0.6); }
.footer-hours .day span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

.emergency {
  margin-top: 6px; border: 1px solid rgba(184,90,90,0.5);
  background: rgba(155,45,45,0.18); border-radius: var(--radius-sm);
  padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start;
}
.emergency .icon { color: var(--red-soft); flex-shrink: 0; margin-top: 1px; }
.emergency .e-body { font-size: 14px; color: rgba(244,242,236,0.8); }
.emergency b { color: #fff; }

.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(244,242,236,0.14);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 22px; font-size: 14.5px; }
.footer-legal a:hover { color: #fff; }
.footer-bottom .lang-toggle { background: transparent; border-color: rgba(244,242,236,0.2); }
.footer-bottom .lang-toggle a, .footer-bottom .lang-toggle button { color: rgba(244,242,236,0.6); }
.footer-bottom .lang-toggle a.active, .footer-bottom .lang-toggle button.active { background: var(--red); color: #fff; }
.copyright { font-size: 13.5px; color: rgba(244,242,236,0.5); margin-top: 16px; }
.copyright a { color: inherit; }
.copyright a:hover { color: #fff; }

/* ===========================================================================
   FORM FIELDS (used by the inline service / contact forms)
   =========================================================================== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius-sm); padding: 12px 14px; transition: all 0.16s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(155,45,45,0.12);
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); background: rgba(155,45,45,0.04); }
.field .err { color: var(--red); font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.consent a { color: var(--red); text-decoration: underline; font-weight: 600; }
.consent .req { color: var(--red); }
.consent.invalid { color: var(--red); }

.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--beige-soft); font-size: 15.5px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* Inline form message (validation / send error) */
.form-msg {
  margin-top: 16px; border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.5;
}
.form-msg[hidden] { display: none; }
.form-msg .icon { flex-shrink: 0; margin-top: 1px; }
.form-msg.info { background: var(--soft-red); border: 1px solid #E4C9C5; color: #6E3C3A; }
.form-msg.info .icon { color: var(--red); }
.form-msg.error { background: #FDECEA; border: 1px solid #F5C6C0; color: #8A2A22; }
.form-msg.error .icon { color: var(--red); }
.form-msg b { color: var(--ink); }

/* Honeypot — hidden from people, visible to naive bots (off-screen, no display:none
   so it still gets submitted; aria-hidden + tabindex keep it out of a11y/tab order) */
.hp-field { position: absolute !important; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden; }

/* Sent form swipes up and collapses out of its slot */
.form-card {
  transition: max-height 0.46s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease, transform 0.46s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-card.is-sent { overflow: hidden; opacity: 0; transform: translateY(-22px); }

/* Thank-you card that replaces the form in the same slot */
.form-thanks {
  align-self: start;
  background: var(--soft-red); border: 1px solid #E4C9C5;
  border-radius: var(--radius); padding: clamp(28px, 4vw, 46px);
  text-align: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.form-thanks.is-in { opacity: 1; transform: none; }
.form-thanks-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff; margin-bottom: 16px;
}
.form-thanks-icon .icon svg { width: 26px; height: 26px; }
.form-thanks h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 8px; }
.form-thanks p { color: var(--ink); opacity: 0.82; max-width: 44ch; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) {
  .form-card, .form-thanks { transition: none; }
}

/* ===========================================================================
   LEISTUNGEN — page header, blocks, accordion, CTA band
   =========================================================================== */
.lst-head, .svc-head, .page-head {
  padding-top: clamp(44px, 7vw, 88px); padding-bottom: clamp(18px, 3vw, 32px);
}
.svc-head { padding-bottom: clamp(8px, 2vw, 20px); }
.lst-head .eyebrow, .svc-head .eyebrow, .page-head .eyebrow { display: block; margin-bottom: 16px; }
.lst-head h1, .svc-head h1, .page-head h1 { font-size: clamp(34px, 5.2vw, 56px); }
.lst-head .intro, .page-head .intro { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); margin-top: 18px; max-width: 680px; }
.svc-head .intro { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); margin-top: 18px; max-width: 640px; }

.lst-blocks { padding-bottom: clamp(24px, 4vw, 48px); }
.lst-block { padding-block: clamp(28px, 4vw, 48px); }
.lst-block-head { max-width: 640px; margin-bottom: clamp(20px, 3vw, 28px); }
.lst-block-head .eyebrow { display: block; margin-bottom: 12px; }
.lst-block-head h2 { font-size: clamp(24px, 3vw, 32px); }
.lst-block-head p { color: var(--muted); margin-top: 12px; font-size: 17px; line-height: 1.55; }

.acc {
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.acc-item { border-top: 1px solid var(--beige-line); scroll-margin-top: 96px; }
.acc-item:first-child { border-top: 0; }
.acc-head {
  display: flex; align-items: center; gap: 18px; width: 100%;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.6vw, 28px);
  font-family: var(--sans); transition: background 0.16s var(--ease);
}
.acc-head:hover { background: var(--beige-soft); }
.acc-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: var(--red);
  background: var(--beige-soft); transition: all 0.22s var(--ease);
}
.acc-item.open .acc-icon { background: var(--soft-red); }
.acc-title { flex: 1; font-family: var(--serif); font-size: clamp(18px, 2.1vw, 21px); font-weight: 500; color: var(--ink); }
.acc-chev { color: var(--beige); flex-shrink: 0; transition: transform 0.25s var(--ease), color 0.16s var(--ease); }
.acc-item.open .acc-chev { transform: rotate(180deg); color: var(--red); }
.acc-head:hover .acc-chev { color: var(--red); }
.acc-body {
  padding: 0 clamp(20px, 2.6vw, 28px) clamp(20px, 2.4vw, 26px)
           calc(clamp(20px, 2.6vw, 28px) + 48px + 18px);
}
.acc-body p { color: var(--muted); font-size: 16.5px; line-height: 1.64; max-width: 64ch; }
.acc-item:not(.open) .acc-body { display: none; }

.lst-cta { background: var(--soft-red); border-top: 1px solid #E4C9C5; }
.lst-cta .shell {
  padding-block: clamp(40px, 5vw, 68px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.lst-cta h2 { font-size: clamp(24px, 3vw, 34px); max-width: 540px; color: var(--ink); }
.lst-cta .cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.lst-cta .btn-ghost { background: rgba(255,255,255,0.5); }

/* ===========================================================================
   SERVICE — quick-jump, privacy strip, sections, form card, steps
   =========================================================================== */
.svc-jump {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
}
.svc-jump .action-card { text-decoration: none; box-shadow: var(--shadow-sm); }

.privacy-strip {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--soft-red); border: 1px solid #E4C9C5;
  border-radius: var(--radius); padding: 18px 22px;
  margin-top: clamp(24px, 3vw, 34px);
}
.privacy-strip .icon { color: var(--red); flex-shrink: 0; margin-top: 1px; }
.privacy-strip p { font-size: 14.5px; color: #6E3C3A; line-height: 1.55; }
.privacy-strip a { color: var(--red); font-weight: 600; text-decoration: underline; }

.svc-section {
  padding-block: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--beige-line);
  scroll-margin-top: 92px;
}
.svc-section.alt { background: var(--offwhite); }
.svc-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-intro .eyebrow { display: block; margin-bottom: 14px; }
.svc-intro h2 { font-size: clamp(26px, 3.4vw, 38px); }
.svc-intro p { color: var(--muted); margin-top: 16px; font-size: 18px; line-height: 1.62; }
.svc-intro .lede { color: var(--ink); opacity: 0.9; }
.svc-intro a:not(.btn) { color: var(--red); font-weight: 600; }

.form-card {
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-card .btn-block { margin-top: 6px; }

.add-more {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px dashed var(--beige);
  color: var(--red); border-radius: var(--radius-sm);
  padding: 11px 16px; font-weight: 600; font-size: 15px; font-family: var(--sans); white-space: nowrap;
  transition: all 0.18s var(--ease); margin: -4px 0 18px;
}
.add-more:hover { border-color: var(--red); background: var(--beige-soft); transform: translateY(-1px); }

.radio-group { display: flex; flex-direction: column; gap: 12px; }
.radio-opt {
  display: flex; gap: 13px; align-items: flex-start;
  border: 1px solid var(--beige-line); border-radius: var(--radius-sm);
  padding: 15px 17px; cursor: pointer; transition: all 0.16s var(--ease);
}
.radio-opt:hover { border-color: var(--red); background: rgba(155,45,45,0.02); }
.radio-opt input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--red); flex-shrink: 0; }
.radio-opt .ro-title { font-weight: 600; font-size: 16px; display: block; }
.radio-opt .ro-sub { font-size: 14px; color: var(--muted); margin-top: 2px; display: block; }

.note-muted { font-size: 14px; color: var(--muted); margin-top: 16px; display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.note-muted .icon { color: var(--beige); margin-top: 1px; flex-shrink: 0; }

.tele-block p { color: var(--muted); font-size: 18px; line-height: 1.62; margin-top: 16px; max-width: 70ch; }
.tele-block b { color: var(--ink); }
.steps-label { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin: 34px 0 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius); padding: 26px 24px; position: relative;
}
.step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--soft-red); color: var(--red);
  font-weight: 700; font-family: var(--serif); font-size: 19px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h4 { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.step p { color: var(--muted); font-size: 15px; margin-top: 7px; line-height: 1.5; }
.tele-cta { margin-top: 32px; }

/* ===========================================================================
   NEW PAGE COMPONENTS — about, practice, contact, legal
   =========================================================================== */
/* Generic content section */
.section { padding-block: clamp(48px, 6vw, 84px); }
.section.alt { background: var(--offwhite); }
.section + .section { border-top: 1px solid var(--beige-line); }

/* Placeholder markers (so the client can find & replace) */
.placeholder {
  background: #FFF7E6; border: 1px dashed #E0B341; color: #6b5413;
  padding: 1px 7px; border-radius: 5px; font-size: 0.9em; font-weight: 600;
}
.placeholder-block {
  background: #FFF7E6; border: 1px dashed #E0B341; color: #6b5413;
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14.5px;
  margin: 18px 0; line-height: 1.55;
}

/* Prose / legal text pages */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 40px; }
.prose h3 { font-size: 20px; margin-top: 26px; }
.prose p, .prose li { color: var(--muted); line-height: 1.7; }
.prose ul { padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose a { color: var(--red); text-decoration: underline; }
.prose strong { color: var(--ink); }

/* About / team */
.intro-block { max-width: 820px; }
.intro-block p { color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.62; margin-top: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.doctor-card {
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.doctor-photo { aspect-ratio: 4 / 3; background: var(--offwhite); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-body { padding: clamp(22px, 3vw, 32px); }
.doctor-body .role { color: var(--red); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.doctor-body h2 { font-size: clamp(19px, 2vw, 22px); }
.doctor-body p { color: var(--muted); margin-top: 14px; line-height: 1.62; }

/* Practice gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--beige-line);
  cursor: zoom-in; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.gallery img:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery img:focus-visible { outline: 3px solid rgba(155,45,45,0.55); outline-offset: 3px; }

/* ---------- Lightbox (gallery image viewer) ---------- */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; }
.lightbox.is-open { display: grid; place-items: center; animation: fade 0.2s var(--ease); }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(31,31,31,0.88); backdrop-filter: blur(4px); }
.lightbox-figure {
  position: relative; z-index: 1; margin: 0;
  display: flex; flex-direction: column; align-items: center;
  max-width: min(1100px, 92vw); padding: 0 16px;
  animation: rise 0.28s var(--ease);
}
.lightbox-img {
  max-width: 100%; max-height: 82vh; width: auto; height: auto;
  object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: rgba(244,242,236,0.92); font-size: 14.5px; margin-top: 16px;
  text-align: center; max-width: 70ch; line-height: 1.5;
}
.lightbox-btn {
  position: absolute; z-index: 2; border: 0;
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,0.14); color: #fff;
  display: grid; place-items: center; transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}
.lightbox-btn:hover { background: var(--red); }
.lightbox-btn:focus-visible { outline: 3px solid rgba(255,255,255,0.7); outline-offset: 2px; }
.lightbox-btn svg { width: 24px; height: 24px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-prev svg { transform: rotate(180deg); }
@media (max-width: 620px) {
  .lightbox-btn { width: 42px; height: 42px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* Generic info panels (transit, accessibility facts) */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.panel {
  width: 100%; overflow: hidden;
  background: var(--white); border: 1px solid var(--beige-line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 40px);
}
.panel h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.fact-list { list-style: none; padding: 0; margin: 18px 0 0; }
.fact-list li { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--beige-soft); font-size: 16px; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list .icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.fact-list .icon svg { width: 20px; height: 20px; }

/* Privacy-friendly static map block (real map image, no Google iframe / cookies).
   The image is the block background; the address + button sit in a small white
   info-card floating over it. url() is relative to THIS stylesheet (assets/css/),
   so it resolves at any page depth. */
.map-static {
  position: relative; min-height: 300px; border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--beige-line);
  background: url('../img/map.png') center / cover no-repeat, var(--offwhite);
  display: grid; place-items: center; text-align: center; padding: 24px;
}
/* Floating info-card so the address/button stay readable over the map */
.map-static > div {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--beige-line);
  border-radius: var(--radius-sm);
  padding: 20px 24px; max-width: 260px; width: 100%;
  box-shadow: var(--shadow-md);
}
.map-static .map-pin { display: none; }
.map-static .map-addr { font-weight: 600; color: var(--ink); }
.map-static .map-sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.map-static .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ===========================================================================
   PRIVATLEISTUNGEN — alternating image / copy treatment rows
   =========================================================================== */
/* Two equal columns: a treatment image on one side, copy + "Ideal für" list on
   the other. Sides alternate per section via order (image right on plain
   sections, image left on .alt sections) for an editorial, upscale rhythm. */
.priv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.priv-media { order: 1; }
.priv-grid .svc-intro { order: 0; }
.svc-section.alt .priv-media { order: 0; }
.svc-section.alt .priv-grid .svc-intro { order: 1; }
.priv-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--beige-line);
  box-shadow: var(--shadow-md);
}

/* Sub-label below the h2 (INFUSION / SKINPEEL / SKINPEELING) */
.priv-sub {
  display: block; font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 700; color: var(--red);
  margin-top: 6px;
}

/* "Ideal für" checklist below the copy */
.priv-ideal-title { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); margin-top: 26px; margin-bottom: 4px; }
.priv-ideal { list-style: none; padding: 0; margin: 12px 0 0; }
.priv-ideal li {
  position: relative; padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--beige-soft);
  font-size: 15.5px; color: var(--ink); line-height: 1.45;
}
.priv-ideal li:last-child { border-bottom: 0; }
.priv-ideal li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}

/* Closing statement band — full-bleed image with a dark overlay, tall, white
   serif copy. Image is decorative ambiance; client to supply a hero photo. */
.priv-closing {
  position: relative; isolation: isolate;
  padding-block: clamp(84px, 14vw, 172px);
  background: url('../img/priv-cta.jpg') center / cover no-repeat;
  text-align: center;
}
.priv-closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31,31,31,0.52), rgba(31,31,31,0.72));
}
.priv-closing p {
  color: #fff; font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3;
  max-width: 880px; margin-inline: auto; text-wrap: balance;
}

@media (max-width: 860px) {
  .priv-media, .priv-grid .svc-intro,
  .svc-section.alt .priv-media, .svc-section.alt .priv-grid .svc-intro { order: 0; }
  .priv-media img { aspect-ratio: 16 / 10; }
}

/* Detail rows inside the panel (Dauer / Preis / Besonderheiten) */
.priv-detail-row { padding: 16px 0; border-bottom: 1px solid var(--beige-soft); }
.priv-detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.priv-detail-row .eyebrow { display: block; margin-bottom: 6px; font-size: 11px; }
.priv-detail-row p { color: var(--muted); font-size: 16px; }

/* Placeholder marker — visually prominent so it's never missed before launch */
.placeholder-block {
  background: #FFF3CD; border: 2px dashed #D4A017;
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 14px; color: #7A5900; font-style: italic;
  margin-top: 14px; line-height: 1.5;
}

@media (max-width: 860px) {
  .priv-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Header nav collapses to the hamburger when the 6 inline items (incl. the long
   "Privatleistungen") no longer fit before the 1200px container cap. Kept above
   the 980px content breakpoint so the nav never wraps to a second row. */
@media (max-width: 1040px) {
  .site-header { background: #fff; backdrop-filter: none; }
  .nav { display: none; }
  .hamburger { display: inline-flex; }
  /* nav carried margin-left:auto; with it hidden, push the tools (incl. the
     hamburger) to the right edge so they can't overflow off-screen. */
  .header-tools { margin-left: auto; }
}

@media (max-width: 980px) {
  .phone-link span.num { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .svc-jump { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .acc-head { gap: 14px; }
  .acc-body { padding-left: clamp(20px, 2.6vw, 28px); }
  .lst-cta .shell { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  /* Keep the brand subtitle on mobile, but let the long descriptor wrap within
     the available width instead of running under the DE/EN toggle. */
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-sub { white-space: normal; line-height: 1.2; }
  .header-inner { gap: 12px; }
  .header-tools { gap: 8px; }
  .phone-link span.num { display: none; }
  .action-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .action-card { min-height: 0; flex-direction: row; align-items: center; }
  .action-card .arrow { display: none; }
  /* single-column horizontal tiles on phones */
  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  /* skip stagger animation on mobile — 14 tiles × 80ms causes flicker on scroll */
  .services-grid [data-animate]:not(.is-revealed) { opacity: 1; }
  .service-tile { padding: 8px 4px; gap: 14px; }
  .service-tile span.label { font-size: 16px; }

  /* --- Declutter pass (phones only; desktop untouched) --- */
  /* Action cards sit cleanly below the hero instead of overlapping it. */
  .actions .shell { transform: none; margin-bottom: 0; }
  .actions { padding-top: 28px; }
  /* More breathing room between the main sections. */
  .welcome { padding-block: 56px; }
  .services { padding-block: 64px; }
  .visit { padding-block: 64px; }
  /* Show only the first 6 services, then a link to the full list. */
  .services-grid .service-tile:nth-child(n+7) { display: none; }
  .services-more { display: flex; }
}

/* Small phones — drop the header phone number (it lives in the mobile menu and
   footer) so the brand + toggle + hamburger never overflow horizontally. */
@media (max-width: 460px) {
  .header-inner { gap: 10px; }
  .header-tools { gap: 6px; }
  .phone-link { display: none; }
  .brand-name { font-size: 16px; }
  /* Safety net: let the wordmark shrink/ellipsis before it can ever push the
     hamburger off-screen (logo stays fixed via its own flex-shrink:0). */
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; }
}
