/* =============================================================================
   PHYSIOPARK MG · SOFORTHILFE (/soforthilfe) — Seiten-CSS
   Datei:   ppw-soforthilfe.css  Version: 0.2.1
   System:  gebrückt auf ppw-base.css (globale --ppw-* Tokens, Hardcode-
            Fallbacks eingebaut, 0 sichtbare Änderung)
   Scope:   alles unter .hp4-page gekapselt.

   CHANGELOG (neueste zuerst · historische Einträge NIE umschreiben)
   --------------------------------------------------------------------------
   0.2.1 · 2026-08-26 (Abnahme der 0.2.0-Runde)
     - Die Seite lässt sich nicht mehr waagerecht schieben: .hp4-page
       trägt `width:100%` UND 14 px seitliches Polster, stand aber selbst
       nicht im box-sizing-Reset (der Stern-Selektor trifft nur die
       Kinder). Die Seite war dadurch an JEDER Breite 28 px breiter als
       der Bildschirm — im Browser gemessen: bei 1280 px lief sie bis
       1296, bei 375 px bis 391; danach an beiden Breiten deckungsgleich.
       Bestand seit 0.1.0 und ist damit auch in der Elementor-Kopie, die
       /soforthilfe heute noch ausliefert.
   0.2.0 · 2026-08-26
     - Neu für den Terminanfrage-Abschnitt der Seite (pp-soforthilfe.html
       0.2.0): .hp4-form-box (Sprungziel mit scroll-margin-top wie
       ppw-rehasport), .hp4-form-inner (Fassung um das Formular; volle
       Breite und linksbündiger Text, weil .hp4-bottom ein zentrierter
       Flex-Container ist), .hp4-alt-hint und .hp4-actions-row--quiet
       (zwei Spalten statt drei — die Reihe trägt dort nur noch E-Mail
       und Telefon; ohne die Regel blieben zwei Knöpfe in einem
       Drei-Spalten-Raster stehen).
     - Das Formular selbst bringt seine Optik mit (pp-termine,
       assets/ppw-termine.css, Scope .ppanfrage-wrap) — hier steht
       bewusst KEINE Regel, die dort hineingreift.
   0.1.1 · 2026-07-19
     - BUGFIX: content-visibility wieder entfernt. Es erzwingt Paint
       Containment und clippte die Dropdown-Menüs (Telefon/E-Mail), die
       absichtlich über den Kartenrand hinausragen. Menüs klappten
       optisch „runter und verschwanden". Erkenntnis: content-visibility
       nicht auf Karten mit überlappenden Elementen einsetzen.
   0.1.0 · 2026-07-19
     - Erste versionierte Ablage im Workspace. Ausgangslage: geliefertes
       Original (Heilpraktiker für Physiotherapie).
     - Tokens wertetreu auf --ppw-* gebrückt (Fallback = bisheriger Wert).
       Gleiches System wie ppw-home, ppw-header, ppw-footer, ppw-standorte,
       ppw-leistungen, ppw-rehasport, ppw-kurse, ppw-faq.
     - font-family: Manrope-Referenz entfernt (lud real nie), jetzt
       var(--ppw-font, System-Stack).
     - content-visibility: auto auf Karten unterhalb des Hero für
       kürzere initiale Renderzeit. Dropdowns unberührt (beim Öffnen
       ist die Karte sichtbar und damit gerendert).
     - Lokale Tokens (--warn-*, --danger-*, --success-*) bleiben lokal,
       kein globales Pendant.
     - HTML-Seite: pp-soforthilfe.html 0.1.0 (/termine-Slugs,
       aria-controls an Dropdowns).
     - Rest UNVERÄNDERT.

   ARBEITSREGELN (wie üblich)
     - KEINE Textänderung. Nur Präsentation/CSS.
     - Farben/Radien/Schatten über Tokens statt Hardcodes.
     - Klassennamen NICHT umbenennen (JS-Hooks).
     - Jede Änderung: Version hochziehen + hier loggen.
   ============================================================================= */

/* Die Seitenwurzel gehoert SELBST in den Reset (0.2.1, am 26.08.2026
   gemessen): sie traegt `width:100%` UND ein seitliches Polster von 14 px.
   Ohne `border-box` addiert sich das Polster auf die volle Breite — die
   Seite war dadurch an JEDER Fensterbreite 28 px breiter als der Bildschirm
   und liess sich waagerecht schieben (bei 375 px genauso wie bei 1280).
   Der Stern-Selektor trifft nur die KINDER, deshalb stand `.hp4-page`
   bis hierher aussen vor. */
.hp4-page, .hp4-page *, .hp4-page *::before, .hp4-page *::after { box-sizing: border-box; }

.hp4-page {
  /* Gebrückt auf ppw-base.css, Fallback = bisheriger Wert (wertetreu) */
  --font-family: var(--ppw-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
  --bg: var(--ppw-surface-alt, #eef4f5);
  --surface: var(--ppw-surface, #ffffff);
  --surface-soft: var(--ppw-bg-alt, #f6fafa);
  --surface-tint: #f1f7f7;                 /* lokal */
  --text: #0e2329;                         /* lokal */
  --muted: #3a5258;                        /* lokal */
  --muted-soft: #5a737a;                   /* lokal */
  --primary: var(--ppw-brand, #0f5c63);
  --primary-deep: var(--ppw-brand-deep, #0a464c);
  --primary-hover: var(--ppw-brand-hover, #0b494f);
  --primary-soft: var(--ppw-brand-soft, #e3eff0);
  --warn: #c2470c;                         /* lokal */
  --warn-deep: #8c3308;                    /* lokal */
  --warn-soft: #fff1e8;                    /* lokal */
  --warn-border: #f5d3bb;                  /* lokal */
  --danger: #a53a3a;                       /* lokal */
  --danger-soft: #fff7f7;                  /* lokal */
  --danger-border: #f0d2d2;                /* lokal */
  --success: #1e7c4d;                      /* lokal */
  --success-deep: #1e4b35;                 /* lokal */
  --success-soft: #eef8f2;                 /* lokal */
  --success-border: #c8e7d6;               /* lokal */
  --border: var(--ppw-border, #d4e1e3);
  --border-soft: #e5edee;                  /* lokal */
  --shadow-sm: var(--ppw-shadow-sm, 0 4px 12px rgba(7, 24, 28, 0.06));
  --shadow: var(--ppw-shadow-md, 0 14px 32px rgba(7, 24, 28, 0.10));
  --shadow-hover: 0 18px 34px rgba(7, 24, 28, 0.13);
  --radius: 16px; --radius-card: 14px; --ui-radius-pill: 12px;
  --heading-main: var(--ppw-heading, #0c2731);
  --heading-sub: #123c46;                  /* lokal */
  font-family: var(--font-family); color: var(--text);
  padding: 28px 14px 44px;
  background:
    radial-gradient(1100px 480px at 4% 0%, rgba(15, 92, 99, 0.10), transparent 72%),
    radial-gradient(820px 360px at 100% 8%, rgba(15, 92, 99, 0.06), transparent 72%),
    linear-gradient(180deg, #f9fcfc 0%, var(--bg) 100%);
  width: 100%; max-width: 100%; overflow-x: clip;
}

@media (hover: hover) and (pointer: fine) { html { scroll-behavior: smooth; } }

.hp4-page img { max-width: 100%; }
.hp4-container { max-width: 1240px; margin: 0 auto; padding: 0 10px; }
.hp4-page #redflags { scroll-margin-top: 110px; }

.hp4-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 24px 30px; margin-bottom: 28px; overflow: visible; }

/* KEIN content-visibility auf dieser Seite (Fix 0.1.1): content-visibility
   erzwingt Paint Containment und clippt alles, was über den Kartenrand
   hinausragt. Die Dropdown-Menüs öffnen absichtlich über den Rand und
   verschwanden dadurch beim Aufklappen. */

.hp4-hero, .hp4-bottom { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hp4-hero h1 { margin: 0 0 8px; max-width: 900px; font-size: clamp(2rem, 2.4vw + 1rem, 3rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 850; color: var(--heading-main); overflow-wrap: break-word; }
.hp4-hero-sub { margin: 0 0 16px; font-size: clamp(1.05rem, 0.6vw + 1rem, 1.3rem); color: var(--primary); font-weight: 700; letter-spacing: -0.005em; }
.hp4-lead, .hp4-bottom p { margin: 0 auto; max-width: 760px; color: var(--muted); line-height: 1.75; font-size: 1.1rem; font-weight: 500; text-align: center; }
.hp4-lead strong, .hp4-bottom strong { color: var(--heading-sub); font-weight: 800; }

.hp4-priority-box { position: relative; margin: 24px auto 0; max-width: 820px; background: linear-gradient(180deg, #ffffff, var(--warn-soft)); border: 1px solid var(--warn-border); border-radius: var(--radius-card); padding: 22px 22px 20px; text-align: left; box-shadow: var(--shadow-sm); overflow: hidden; }
.hp4-priority-box::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 999px; background: var(--warn); opacity: 0.9; }
.hp4-priority-box h3 { margin: 0 0 8px; color: var(--warn-deep); font-size: 1.15rem; font-weight: 850; line-height: 1.35; display: flex; align-items: center; gap: 10px; }
.hp4-priority-icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--warn); }
.hp4-priority-box p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 1rem; font-weight: 500; }
.hp4-priority-box strong { color: var(--warn-deep); font-weight: 850; }

.hp4-section-head { margin: 0 auto 24px; max-width: 900px; text-align: center; }
.hp4-section-head h2, .hp4-bottom h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 1.4vw + 1rem, 2.1rem); line-height: 1.18; font-weight: 840; color: var(--heading-main); letter-spacing: -0.015em; position: relative; display: inline-block; padding-bottom: 10px; text-align: center; }
.hp4-section-head h2::after, .hp4-bottom h2::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 200px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--primary) 20%, var(--primary) 80%, transparent); }
.hp4-section-intro { margin: 12px auto 0 !important; max-width: 760px; font-size: 1rem !important; line-height: 1.7; color: var(--muted); text-align: center; font-weight: 500; }
.hp4-section-intro strong { color: var(--heading-sub); font-weight: 800; }

.hp4-actions-row { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; width: 100%; max-width: 900px; }
.hp4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 11px 18px; border-radius: var(--ui-radius-pill); border: 1px solid transparent; text-decoration: none !important; font-size: 1rem; font-weight: 700; letter-spacing: 0.005em; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; cursor: pointer; font-family: inherit; width: 100%; }
.hp4-btn > * { pointer-events: none; }
.hp4-btn-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.hp4-btn-primary { color: #ffffff !important; background: linear-gradient(135deg, var(--primary), #2f7880); box-shadow: 0 10px 22px rgba(15, 91, 99, 0.22); }
.hp4-btn-primary:hover, .hp4-btn-primary:focus-visible { color: #ffffff !important; background: linear-gradient(135deg, var(--primary-hover), #256b72); transform: translateY(-1px); box-shadow: 0 14px 26px rgba(15, 91, 99, 0.28); }
.hp4-btn-ghost { background: #ffffff; color: #103a43 !important; border: 1px solid #98bcc1; box-shadow: var(--shadow-sm); }
.hp4-btn-ghost:hover, .hp4-btn-ghost:focus-visible { background: var(--primary-soft); color: #0b3038 !important; border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(15, 91, 99, 0.14); }
.hp4-btn:focus-visible, .hp4-dropdown-item:focus-visible, .hp4-link:focus-visible, .hp4-info-link:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 8px; }

.hp4-dropdown-wrapper { position: relative; width: 100%; z-index: 1; }
.hp4-dropdown-wrapper.is-active { z-index: 100; }
.hp4-dropdown-arrow { display: inline-block; margin-left: 4px; font-size: 0.8em; transition: transform 0.25s ease; }
.hp4-dropdown-wrapper.is-active .hp4-dropdown-arrow { transform: rotate(180deg); }
.hp4-dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); padding: 6px; z-index: 200; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; pointer-events: none; }
.hp4-dropdown-wrapper.is-active .hp4-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.hp4-bottom .hp4-dropdown-menu { top: auto; bottom: calc(100% + 8px); }
.hp4-dropdown-item { display: block; padding: 12px; border-radius: 10px; background: var(--primary-soft); color: var(--primary) !important; text-decoration: none !important; font-weight: 700; font-size: 0.95rem; text-align: center; border: 1px solid #c0d9db; transition: background 0.2s ease, transform 0.2s ease; }
.hp4-dropdown-item + .hp4-dropdown-item { margin-top: 6px; }
.hp4-dropdown-item:hover { background: #d4ecee; transform: translateY(-1px); }

.hp4-wrap h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--heading-sub); font-weight: 850; line-height: 1.35; letter-spacing: -0.01em; }
.hp4-wrap h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--heading-sub); font-weight: 850; line-height: 1.35; }
.hp4-wrap p { margin: 0; color: var(--muted); line-height: 1.7; font-weight: 500; }
.hp4-wrap strong, .hp4-wrap b { color: var(--heading-sub); font-weight: 850; }
.hp4-link { color: var(--primary); text-decoration: none; font-weight: 850; }
.hp4-link:hover { text-decoration: underline; }
.hp4-info-link { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep) !important; border: 1px solid #cfe1e3; font-family: Georgia, serif; font-style: italic; font-weight: 800; font-size: 0.8rem; text-decoration: none !important; vertical-align: middle; transition: background 0.2s ease, transform 0.2s ease; }
.hp4-info-link:hover { background: var(--primary); color: #ffffff !important; transform: translateY(-1px); }

.hp4-stage { margin-bottom: 32px; }
.hp4-stage:last-child { margin-bottom: 0; }
.hp4-stage-head { text-align: center; margin-bottom: 18px; }
.hp4-stage-tag { display: inline-block; padding: 4px 12px; background: var(--primary-soft); color: var(--primary-deep); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; border: 1px solid #cfe1e3; margin-bottom: 10px; }
.hp4-stage-head h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--heading-main); }
.hp4-stage-head p { max-width: 720px; margin: 0 auto !important; font-size: 0.98rem; text-align: center; }

.hp4-steps { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp4-redflags, .hp4-locations-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp4-step, .hp4-red-card, .hp4-location { position: relative; border: 1px solid var(--border-soft); background: var(--surface-soft); border-radius: var(--radius-card); padding: 20px 18px; text-align: left; box-shadow: var(--shadow-sm); overflow: hidden; }
.hp4-step::before, .hp4-red-card::before, .hp4-location::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 999px; background: var(--primary); opacity: 0.7; }
.hp4-step p, .hp4-red-card p, .hp4-location p { font-size: 0.98rem; }
.hp4-step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), #2f7880); color: #ffffff; font-weight: 850; font-size: 1rem; margin-bottom: 10px; box-shadow: 0 6px 14px rgba(15, 91, 99, 0.25); }
.hp4-step-duration { display: inline-block; margin: 0 0 8px !important; padding: 2px 9px; background: var(--surface-tint); border: 1px solid var(--border-soft); border-radius: 999px; color: var(--muted-soft) !important; font-size: 0.78rem !important; font-weight: 800 !important; letter-spacing: 0.02em; }
.hp4-price { display: inline-flex; margin-top: 14px !important; padding: 7px 11px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep) !important; border: 1px solid #cfe1e3; font-weight: 850 !important; font-size: 0.98rem !important; }

.hp4-total { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px auto 0; padding: 14px 26px; width: max-content; max-width: 100%; background: linear-gradient(135deg, var(--primary), #2f7880); border-radius: 999px; box-shadow: 0 12px 26px rgba(15, 91, 99, 0.28); color: #ffffff; }
.hp4-total-label { color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.hp4-total-value { color: #ffffff; font-size: 1.15rem; font-weight: 850; letter-spacing: -0.01em; }

.hp4-followup-note { position: relative; border: 1px solid #c8dde0; background: linear-gradient(180deg, #ffffff, var(--primary-soft)); border-radius: var(--radius-card); padding: 22px 22px 20px; box-shadow: 0 8px 22px rgba(15, 91, 99, 0.10); overflow: hidden; }
.hp4-followup-note::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 999px; background: linear-gradient(180deg, var(--primary), var(--primary-deep)); }
.hp4-followup-note h4 { font-size: 1.08rem; margin-bottom: 8px; }
.hp4-followup-note > p { font-size: 0.95rem; margin-bottom: 14px; }
.hp4-followup-handover { margin-top: 14px !important; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 10px; font-size: 0.92rem !important; color: var(--muted) !important; line-height: 1.65 !important; }
.hp4-path-prices { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.hp4-path-prices li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: #ffffff; border: 1px solid var(--border-soft); border-radius: 10px; }
.hp4-path-name { display: inline-flex; align-items: center; gap: 8px; color: var(--heading-sub); font-weight: 700; font-size: 0.95rem; }
.hp4-path-price { color: var(--primary-deep); font-weight: 850; font-size: 1rem; flex: 0 0 auto; }
.hp4-abbr { display: inline-block; padding: 2px 7px; background: var(--surface-tint); border: 1px solid var(--border-soft); border-radius: 5px; color: var(--muted-soft); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; font-family: ui-monospace, "SF Mono", "Monaco", "Cascadia Mono", monospace; }

.hp4-faq { background: var(--surface-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.hp4-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 800; color: var(--heading-sub); transition: background 0.2s ease; }
.hp4-faq summary::-webkit-details-marker { display: none; }
.hp4-faq summary:hover { background: var(--surface-tint); }
.hp4-faq-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: var(--primary); color: #ffffff; font-size: 1.2rem; font-weight: 600; line-height: 1; flex: 0 0 auto; transition: transform 0.25s ease, background 0.2s ease; }
.hp4-faq[open] .hp4-faq-icon { transform: rotate(45deg); background: var(--primary-deep); }
.hp4-faq-body { padding: 4px 20px 20px; border-top: 1px solid var(--border-soft); }
.hp4-faq-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.hp4-faq-list li { padding: 12px 14px; background: #ffffff; border: 1px solid var(--border-soft); border-radius: 10px; font-size: 0.95rem; line-height: 1.65; color: var(--muted); }
.hp4-faq-list li strong { display: block; color: var(--heading-sub); font-weight: 850; margin-bottom: 4px; }
.hp4-faq-callout { margin-top: 14px; padding: 14px 16px; background: var(--warn-soft); border: 1px solid var(--warn-border); border-left: 4px solid var(--warn); border-radius: 10px; font-size: 0.95rem; line-height: 1.6; color: var(--warn-deep); }
.hp4-faq-callout strong { color: var(--warn-deep); font-weight: 850; }

.hp4-red-card-warning { background: linear-gradient(180deg, #ffffff, var(--danger-soft)); border-color: var(--danger-border); }
.hp4-red-card-warning::before { background: var(--danger); }
.hp4-red-card-warning h3 { color: var(--danger); }
.hp4-red-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.hp4-red-card li { margin: 6px 0; line-height: 1.6; font-weight: 500; }
.hp4-red-card-success { background: linear-gradient(180deg, #ffffff, var(--success-soft)); border-color: var(--success-border); }
.hp4-red-card-success::before { background: var(--success); }
.hp4-red-card-success h3 { color: var(--success-deep); }

.hp4-location header { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.hp4-location header p { color: var(--muted-soft); font-size: 0.95rem; font-weight: 600; }
.hp4-therapists { display: grid; gap: 12px; }
.hp4-therapist { display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: center; border: 1px solid var(--border-soft); border-radius: 12px; background: #ffffff; padding: 12px; box-shadow: var(--shadow-sm); }
.hp4-therapist img { width: 78px; height: 78px; border-radius: 999px; object-fit: cover; border: 3px solid var(--primary-soft); box-shadow: 0 8px 18px rgba(7, 24, 28, 0.12); }
.hp4-therapist p { margin: 2px 0; font-size: 0.92rem; line-height: 1.55; }
.hp4-therapist p.role { color: var(--primary); font-weight: 800; font-size: 0.86rem; }

.hp4-bottom { margin-bottom: 0; }
.hp4-bottom p { max-width: 700px; }

/* ---------- Terminanfrage-Abschnitt (0.2.0) ----------
   Nimmt [pp_anfrage preset="soforthilfe"] auf. Das Formular bringt seine
   eigene Optik mit (pp-termine, Scope .ppanfrage-wrap); hier steht nur die
   Fassung drumherum. .hp4-bottom ist ein zentrierter Flex-Container — das
   Formular braucht darin volle Breite und linksbuendigen Text, sonst
   erbt es die Zentrierung fuer Labels und Fehlermeldungen. */
.hp4-form-box { scroll-margin-top: 110px; }

.hp4-form-inner {
  width: 100%;
  /* 900 statt 860: gemessen am 26.08.2026 fehlten den vier Schrittnamen
     der Fortschrittsleiste bei 860 px je 3 bis 6 px, sie standen also
     alle vier mit Auslassungspunkten da („Ihre Soforthilfe ohne Rez…").
     Ab 880 px passt der laengste; 900 gibt Luft. */
  max-width: 900px;
  margin-top: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

/* Zweiter Weg (Telefon/E-Mail) unter dem Formular: sichtbar, aber dem
   Formular nachgeordnet — zwei Spalten statt der drei der Hauptreihe. */
.hp4-alt-hint {
  margin: 26px auto 0;
  color: var(--muted-soft);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
}

.hp4-actions-row--quiet {
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}

/* REVEAL — versteckter Start nur mit aktivem JS (.hp4-reveal-ready) */
.hp4-reveal { opacity: 1; transform: none; }
.hp4-page.hp4-reveal-ready .hp4-reveal { opacity: 0; transform: translateY(18px); }
.hp4-page.hp4-reveal-ready .hp4-reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--hp4-delay, 0ms); }

@media (max-width: 1100px) {
  .hp4-steps { grid-template-columns: 1fr; }
  .hp4-redflags, .hp4-locations-grid { grid-template-columns: 1fr; }
  .hp4-actions-row { grid-template-columns: 1fr; max-width: 640px; }
  .hp4-actions-row--quiet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hp4-page { padding: 22px 12px 36px; }
  .hp4-container { padding: 0; }
  .hp4-card { padding: 24px 18px; margin-bottom: 24px; }
  .hp4-hero h1 { font-size: 1.85rem; }
  .hp4-hero-sub { font-size: 1.08rem; }
  .hp4-lead, .hp4-bottom p { font-size: 1.08rem; }
  .hp4-section-head h2, .hp4-bottom h2 { font-size: 1.55rem; }
  .hp4-priority-box { padding: 20px 18px; }
  .hp4-stage-head h3 { font-size: 1.2rem; }
  .hp4-total { flex-direction: column; gap: 4px; border-radius: 14px; padding: 14px 22px; width: 100%; max-width: 360px; }
  .hp4-faq summary { padding: 14px 16px; font-size: 0.95rem; }
  .hp4-faq-body { padding: 4px 16px 18px; }
  .hp4-dropdown-menu, .hp4-bottom .hp4-dropdown-menu { position: static; margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: none; box-shadow: none; border: 0; padding: 0; transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0.25s ease; }
  .hp4-dropdown-wrapper.is-active .hp4-dropdown-menu, .hp4-bottom .hp4-dropdown-wrapper.is-active .hp4-dropdown-menu { max-height: 240px; opacity: 1; visibility: visible; padding: 6px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transform: none; }
  .hp4-form-inner { padding: 14px; }
  .hp4-actions-row--quiet { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hp4-page { padding: 18px 8px 30px; }
  .hp4-card { padding: 22px 14px; }
  .hp4-form-inner { padding: 12px 10px; }
  .hp4-step, .hp4-red-card, .hp4-location { padding: 18px 14px; }
  .hp4-path-prices li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hp4-therapist { grid-template-columns: 1fr; text-align: center; }
  .hp4-therapist img { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hp4-btn, .hp4-dropdown-menu, .hp4-dropdown-arrow, .hp4-dropdown-item, .hp4-info-link, .hp4-faq-icon,
  .hp4-reveal, .hp4-page.hp4-reveal-ready .hp4-reveal, .hp4-page.hp4-reveal-ready .hp4-reveal.is-visible {
    transition: none !important; transform: none !important; opacity: 1 !important;
  }
}
