/*
  Kleine Ergänzungen zum Grunddesign.
  Diese Datei kann gefahrlos entfernt werden, ohne die Grundseite zu zerstören.
*/

html { scroll-padding-top: 78px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.site-nav a.active { color: var(--teal-dark); }

/* Seitenfolge entsprechend der Reihenfolge im Hauptmenü. */
main { display: flex; flex-direction: column; }
#willkommen { order: 1; }
#kontakt { order: 2; }
#orte { order: 3; }
#ablauf { order: 4; }
#preise { order: 5; }
#therapie { order: 6; }
#person { order: 7; }

/*
  style.css gibt normalen Absätzen in .section-head eine größere, graue
  Schrift. Frage-Überschriften wie „Was?“ und „Wo?“ sollen davon nicht
  betroffen sein und überall gleich aussehen.
*/
.section-head .eyebrow,
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Sieben Themenkarten: vier in der ersten und drei in der zweiten Reihe. */
.card-grid.seven { grid-template-columns: repeat(12,1fr); }
.card-grid.seven .card { grid-column: span 3; }
.card-grid.seven .card:nth-child(n+5) { grid-column: span 4; }

/* Originale Therapiefotos im Bereich „Was?“ */
.therapy-intro { margin-bottom: 36px; display: grid; grid-template-columns: minmax(300px,.8fr) minmax(480px,1.2fr); gap: 48px; align-items: end; }
.therapy-intro .section-head { margin-bottom: 0; }
.therapy-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.therapy-images figure { margin: 0; position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.therapy-images img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.therapy-images figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; color: var(--ink); background: rgba(255,255,255,.88); backdrop-filter: blur(8px); border-radius: 999px; font-size: .78rem; font-weight: 800; }
.therapy-process { margin-top: 28px; padding: 36px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; background: linear-gradient(135deg,var(--soft),var(--mint)); border: 1px solid rgba(31,163,149,.13); border-radius: var(--radius); }
.therapy-process h3 { margin: 0 0 14px; font-size: clamp(1.7rem,3vw,2.5rem); line-height: 1.05; letter-spacing: -.035em; }
.therapy-process p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { padding: 11px 0 11px 30px; position: relative; border-bottom: 1px solid rgba(31,163,149,.12); }
.process-list li:last-child { border-bottom: 0; }
.process-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 900; }

.hero-card-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.hero-card-top .logo-orb { flex: 0 0 170px; margin-bottom: 0; }
.hero-portrait { width: 170px; height: 170px; display: block; object-fit: cover; border: 8px solid rgba(255,255,255,.78); border-radius: 50%; box-shadow: 0 14px 34px rgba(18,120,109,.18); }

@media (max-width: 1050px) and (min-width: 861px) {
  .hero-card-top .logo-orb { width: 125px; height: 125px; flex-basis: 125px; }
  .hero-card-top .logo-orb img { width: 96px; }
  .hero-portrait { width: 125px; height: 125px; border-width: 6px; }
}

/* Drei direkt sichtbare Informationsblöcke im Bereich „Wie?“ */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.how-card { padding: 30px; position: relative; overflow: hidden; background: var(--white); border: 1px solid rgba(31,163,149,.13); border-radius: var(--radius); box-shadow: var(--shadow); }
.how-card .card-number { position: absolute; right: 20px; top: 12px; color: rgba(31,163,149,.09); font-size: 4.8rem; font-weight: 900; line-height: 1; }
.how-card h3 { max-width: 78%; margin: 0 0 22px; position: relative; font-size: 1.25rem; line-height: 1.35; }
.how-card ul { margin: 0; padding: 0; list-style: none; }
.how-card li { margin: 0; padding: 13px 0 13px 22px; position: relative; color: var(--muted); border-top: 1px solid rgba(31,163,149,.1); }
.how-card li::before { content: ""; width: 7px; height: 7px; position: absolute; left: 0; top: 22px; border-radius: 50%; background: var(--green); }

/* Originale Zeitgrafiken in den Honorarkarten */
.price-card { display: flex; flex-direction: column; align-items: center; }
.price-image { width: min(180px,75%); height: auto; margin: 12px auto 2px; display: block; }
.price-card.featured .price-image { padding: 5px; background: var(--white); border-radius: 50%; }
.refund-note { margin: 20px 0 0; padding-top: 18px; color: var(--muted); border-top: 1px solid rgba(31,163,149,.13); font-size: .88rem; line-height: 1.55; text-align: left; }
.price-card.featured .refund-note { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.22); }

/* Portrait und vier Qualifikationsbereiche im Abschnitt „Wer?“ */
.person-intro { max-width: 850px; margin-bottom: 42px; display: grid; grid-template-columns: 190px 1fr; gap: 34px; align-items: center; }
.person-portrait { width: 190px; aspect-ratio: 1 / 1; display: block; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
.person-intro h2 { margin: 0 0 16px; font-size: clamp(2rem,4vw,3.7rem); line-height: 1; letter-spacing: -.045em; }
.lead-small { margin: 0; color: var(--muted); font-size: 1.08rem; }
.career-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; align-items: stretch; }
.career-card { overflow: hidden; background: var(--white); border: 1px solid rgba(31,163,149,.13); border-radius: 22px; box-shadow: var(--shadow); }
.career-card > img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.career-card-body { padding: 24px; }
.career-card h3 { margin: 0 0 18px; color: var(--teal-dark); font-size: 1.22rem; line-height: 1.3; }
.career-card ul { margin: 0; padding: 0; list-style: none; }
.career-card li { margin: 0; padding: 8px 0 8px 17px; position: relative; color: var(--muted); border-top: 1px solid rgba(31,163,149,.09); font-size: .91rem; line-height: 1.45; }
.career-card li::before { content: ""; width: 6px; height: 6px; position: absolute; left: 0; top: 15px; border-radius: 50%; background: var(--green); }

.nav-toggle { width: 46px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px; border-radius: 2px; background: var(--teal-dark); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.location-visual { height: 210px; margin-bottom: 22px; padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 22px; color: white; background: linear-gradient(145deg,var(--teal-dark),var(--teal)); }
.location-visual::after { content: ""; width: 220px; height: 220px; position: absolute; right: -70px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.12); }
.location-visual.hill { background: linear-gradient(145deg,#477f32,var(--green)); }
.location-visual.home { background: linear-gradient(145deg,#294343,#3e6865); }
.location-visual span { font-size: .72rem; letter-spacing: .18em; font-weight: 800; }
.location-visual strong { font-size: 4.2rem; line-height: 1; }
.location-note { font-size: .85rem; font-weight: 800; color: var(--green-dark) !important; }
.location-card { display: flex; flex-direction: column; }
.detail-link { display: inline-flex; align-items: center; align-self: flex-start; margin-top: auto; padding-top: 12px; font-weight: 800; }
.detail-link::after { content: "→"; margin-left: 8px; transition: transform .2s; }
.detail-link:hover::after { transform: translateX(4px); }

.portrait-placeholder { min-height: 460px; margin: 0; padding: 38px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--radius); color: white; background: linear-gradient(145deg,var(--teal-dark),var(--teal) 58%,var(--green)); box-shadow: var(--shadow); }
.portrait-placeholder::before { content: ""; width: 330px; height: 330px; position: absolute; top: -80px; right: -100px; border-radius: 50%; background: rgba(255,255,255,.1); }
.portrait-placeholder span { font-size: 6rem; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.portrait-placeholder small { margin-top: 18px; font-size: 1rem; }
.portrait { width: 100%; min-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/*
  „Wann?“ gehört optisch zur selben Familie wie die übrigen Fragebereiche.
  Nur die Kontaktknöpfe bleiben als eigentliche Handlungsaufforderung betont.
*/
.contact-section {
  background: linear-gradient(135deg,var(--soft),var(--mint));
}
.contact-card {
  padding: 0;
  grid-template-columns: minmax(240px,.78fr) minmax(360px,1.35fr) minmax(175px,auto);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.contact-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}
.contact-card .contact-actions {
  min-width: 175px;
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
}
.contact-card .contact-actions .button { width: 100%; }
.contact-card p { color: var(--muted); }
.contact-card .eyebrow { color: var(--teal-dark); }
.contact-card .button.light {
  color: var(--teal-dark);
  background: var(--white);
  border-color: rgba(31,163,149,.35);
}

.back-top { opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.back-top.visible { opacity: .9; visibility: visible; transform: none; }
.back-top:hover { opacity: 1; text-decoration: none; }

/* Wiederverwendbares großes Informationsfenster */
body.dialog-open { overflow: hidden; }
.legal-link { display: inline-flex; margin-top: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: white; font-weight: 800; }
.legal-link:hover { text-decoration: none; background: rgba(255,255,255,.1); }
.info-dialog { width: min(960px,calc(100% - 40px)); max-width: none; max-height: min(94vh,1100px); padding: 0; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid rgba(31,163,149,.18); border-radius: var(--radius); box-shadow: 0 30px 100px rgba(10,40,38,.35); }
.info-dialog::backdrop { background: rgba(15,38,37,.72); backdrop-filter: blur(5px); }
.dialog-header { min-height: 116px; padding: 28px 34px 24px; position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; background: linear-gradient(135deg,var(--soft),var(--mint)); border-bottom: 1px solid rgba(31,163,149,.13); }
.dialog-header h2 { margin: 0; font-size: clamp(2rem,5vw,3.2rem); line-height: 1; letter-spacing: -.045em; }
.dialog-close { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; color: var(--ink); background: var(--white); border: 1px solid rgba(31,163,149,.18); border-radius: 50%; box-shadow: 0 8px 24px rgba(18,120,109,.12); font-size: 2rem; line-height: 1; }
.dialog-close:hover { color: var(--teal-dark); text-decoration: none; }
.dialog-content { max-height: calc(min(94vh,1100px) - 116px); padding: 8px 38px 44px; overflow-y: auto; overscroll-behavior: contain; }
.dialog-content section { padding: 30px 0; border-bottom: 1px solid rgba(31,163,149,.13); }
.dialog-content section:last-child { border-bottom: 0; }
.dialog-content h3 { margin: 0 0 14px; font-size: 1.25rem; }
.dialog-content p { color: var(--muted); }
.dialog-content address { margin: 22px 0; padding: 20px; background: var(--soft); border-left: 4px solid var(--green); font-style: normal; }
.legal-data { margin: 0; }
.legal-data div { display: grid; grid-template-columns: minmax(160px,.4fr) 1fr; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(31,163,149,.1); }
.legal-data dt { font-weight: 800; }
.legal-data dd { margin: 0; color: var(--muted); }
.location-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; align-items: stretch; }
.location-intro h3 { font-size: 1.5rem; line-height: 1.35; }
.map-panel { min-height: 230px; padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; isolation: isolate; text-align: center; border-radius: 22px; color: var(--ink); background-color: #e7f4ef; background-image: linear-gradient(28deg,transparent 46%,rgba(31,163,149,.16) 47%,rgba(31,163,149,.16) 49%,transparent 50%),linear-gradient(118deg,transparent 42%,rgba(109,185,68,.14) 43%,rgba(109,185,68,.14) 46%,transparent 47%),linear-gradient(165deg,transparent 54%,rgba(255,255,255,.9) 55%,rgba(255,255,255,.9) 59%,transparent 60%); }
.map-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center,rgba(255,255,255,.08) 0,rgba(255,255,255,.18) 35%,rgba(255,255,255,.92) 100%); }
.map-panel::after { content: ""; width: 72px; height: 72px; position: absolute; left: 14%; top: 18%; z-index: -1; border: 2px solid rgba(31,163,149,.13); border-radius: 50%; box-shadow: 185px 80px 0 24px rgba(109,185,68,.07); }
.map-pin { font-size: 3.3rem; line-height: 1; color: var(--teal-dark); }
.map-panel .button { margin-top: 4px; }
.travel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.practice-gallery { display: grid; gap: 18px; }
.practice-gallery.three { grid-template-columns: repeat(3,1fr); }
.practice-gallery figure { margin: 0; }
.practice-gallery img,.missing-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 18px; }
.practice-gallery img { display: block; object-fit: cover; }
.practice-gallery figcaption { padding-top: 9px; color: var(--muted); font-size: .92rem; font-weight: 700; }
.missing-photo { padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--teal-dark); background: linear-gradient(145deg,rgba(31,163,149,.09),rgba(109,185,68,.14)); border: 2px dashed rgba(31,163,149,.25); }
.missing-photo span { margin-bottom: 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.house-visit-copy { display: grid; grid-template-columns: minmax(220px,.7fr) 1.3fr; gap: 38px; align-items: center; }
.house-visit-copy .location-visual { height: 100%; min-height: 310px; margin: 0; }

/* Ohne JavaScript öffnet der normale #Link das Fenster als lesbare Box. */
.info-dialog:target:not([open]) { display: block; position: fixed; inset: 3vh auto auto 50%; z-index: 100; transform: translateX(-50%); }

@media (max-width: 520px) {
  .container { width: min(100% - 28px,var(--max)); }
  .hero h1 { font-size: 3.2rem; }
  .hero-actions .button { width: 100%; }
  .hero-card { padding: 28px; }
  .section-pad { padding: 56px 0; }
  .card, .info-panel, .price-card { padding: 24px; }
  .contact-card { padding: 0; }
  .info-dialog { width: calc(100% - 20px); max-height: 92vh; border-radius: 20px; }
  .dialog-header { min-height: 98px; padding: 22px 20px 18px; }
  .dialog-content { max-height: calc(92vh - 98px); padding: 4px 22px 32px; }
  .legal-data div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-image { height: clamp(240px,55vw,390px); min-height: 0; }
  .contact-card .contact-actions { width: min(100%,360px); }
  .card-grid.seven { grid-template-columns: 1fr 1fr; }
  .card-grid.seven .card,
  .card-grid.seven .card:nth-child(n+5) { grid-column: auto; }
  .card-grid.seven .card:last-child { grid-column: 1 / -1; }
  .location-intro,.house-visit-copy { grid-template-columns: 1fr; }
  .travel-grid { grid-template-columns: 1fr; }
  .practice-gallery.three { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .therapy-intro { grid-template-columns: 1fr; gap: 28px; }
  .career-grid { grid-template-columns: 1fr 1fr; }
  .therapy-process { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 600px) {
  .card-grid.seven { grid-template-columns: 1fr; }
  .card-grid.seven .card:last-child { grid-column: auto; }
  .practice-gallery.three { grid-template-columns: 1fr; }
  .therapy-images { grid-template-columns: 1fr; }
  .person-intro { grid-template-columns: 110px 1fr; gap: 20px; }
  .person-portrait { width: 110px; }
  .career-grid { grid-template-columns: 1fr; }
  .hero-card-top .logo-orb { width: 120px; height: 120px; flex-basis: 120px; }
  .hero-card-top .logo-orb img { width: 94px; }
  .hero-portrait { width: 120px; height: 120px; border-width: 6px; }
  .therapy-process { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
