/* Manrope (variabel 200–800), lokal – keine Anfrage an Google. Quelle: @fontsource-variable/manrope 5.1.1 */
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:200 800;src:url(../fonts/manrope-latin-ext.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-display:swap;font-weight:200 800;src:url(../fonts/manrope-latin.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Natascha Tocchio – Seiten-CSS (Basis Vorschlag A1/Aa1)
   Wird später zur Theme-CSS in Redaxo. Pro Modul ein markierter Abschnitt. */

/* ---------- Grundlagen ---------- */
:root{
  --hp-beige:#F1F0E9;--hp-text:#423B33;--hp-grau:#756C62;--hp-logotext:#978F85;--hp-tuerkis:#83DCD1;--hp-mauve:#A55E79;--hp-linie:#D9D5C8;--hp-linie-hell:#E4E1D8;
  --hp-radius:6px;--hp-bild-radius:2.5rem;--hp-karte-radius:1.5rem;
  /* Abrundungen: am Rand liegende Bilder eine grosse Ecke (--hp-bild-radius, freie Ecke zur Seitenmitte);
     frei Stehendes rundum --hp-karte-radius (Bilder, Posterframes, Karten); Bedienelemente --hp-radius.
     Handy (<992px): alle Fotos rundum --hp-karte-radius, nicht randlos. */
  --hp-slice-y:clamp(3.5rem,6.5vw,6.5rem);--hp-nav-h:6rem;
  /* Abstand Containerkante → Fensterrand. Bilder, die bis an den Rand laufen, ziehen genau so weit hinaus. */
  --hp-rand:.75rem;
  --bs-body-font-family:'Manrope',system-ui,sans-serif;--bs-body-color:var(--hp-text);--bs-body-bg:#fff;
  --bs-body-font-size:1.0625rem;--bs-body-line-height:1.65;
  --bs-link-color-rgb:66,59,51;--bs-link-hover-color-rgb:66,59,51;
}
@media (min-width:576px){:root{--hp-rand:calc((100vw - 540px) / 2 + .75rem)}}
@media (min-width:768px){:root{--hp-rand:calc((100vw - 720px) / 2 + .75rem)}}
@media (min-width:992px){:root{--hp-rand:calc((100vw - 960px) / 2 + .75rem)}}
@media (min-width:1200px){:root{--hp-rand:calc((100vw - 1140px) / 2 + .75rem)}}
@media (min-width:1400px){:root{--hp-rand:calc((100vw - 1320px) / 2 + .75rem)}}

body{
hyphens: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;}

main{overflow-x:clip}
h1,h2,h3{font-weight:300;letter-spacing:-.02em;line-height:1.1;color:inherit}
h1{font-size:clamp(2.75rem,6.5vw,6rem)}
h2{font-size:clamp(2rem,4vw,3.25rem)}
h3{font-size:1.5rem;font-weight:400;letter-spacing:-.01em;margin-bottom:.75rem}
.hp-mauve{color:var(--hp-mauve)}
.hp-eyebrow{font-size:.8125rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--hp-mauve)}
.hp-lead-text{font-size:1.25rem;line-height:1.55}
.hp-bleed-r{margin-right:calc(-1 * var(--hp-rand))}
.hp-bleed-l{margin-left:calc(-1 * var(--hp-rand))}

/* ---------- Slices: Hintergrund pro Slice wählbar ----------
   hp-bg-weiss oder hp-bg-beige. Gleiche Farbe hintereinander: oberer Abstand entfällt.
   Slices müssen direkte Geschwister sein (in Redaxo: keine Wrapper um Slices). */
.hp-slice{padding-top:var(--hp-slice-y);padding-bottom:var(--hp-slice-y);scroll-margin-top:5.5rem}
.hp-bg-weiss{background:#fff;--hp-flaeche:var(--hp-beige);--hp-linie-rolle:var(--hp-linie-hell)}
.hp-bg-beige{background:var(--hp-beige);--hp-flaeche:#fff;--hp-linie-rolle:var(--hp-linie)}
.hp-bg-weiss + .hp-bg-weiss,.hp-bg-beige + .hp-bg-beige{padding-top:0}
main > .hp-slice:first-child{padding-top:calc(var(--hp-slice-y) + var(--hp-nav-h))}

/* ---------- Links und Knöpfe ----------
   Türkis ist die einzige Linkfarbe. Schrift nie türkis auf hellem Grund (Kontrast 1,5:1).
   Knöpfe: 6px Radius, pro Modul wählbar «voll» oder «rand» (Rand in gleicher Farbe, ohne Füllung). */
a:not([class]){text-decoration:underline;text-decoration-color:var(--hp-tuerkis);text-decoration-thickness:2px;text-underline-offset:.2em;transition:background .15s}
a:not([class]):hover{background:var(--hp-tuerkis);color:var(--hp-text)}
.hp-knopf{display:inline-flex;align-items:center;gap:.5rem;padding:.6875rem 1.375rem;font:inherit;font-weight:600;line-height:1.5;color:var(--hp-text);text-decoration:none;border:2px solid var(--hp-tuerkis);border-radius:var(--hp-radius);cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s}
.hp-knopf svg{width:1.125em;height:1.125em;flex:none}
.hp-knopf-voll{background:var(--hp-tuerkis)}
.hp-knopf-voll:hover{background:var(--hp-text);border-color:var(--hp-text);color:var(--hp-tuerkis)}
.hp-knopf-rand{background:transparent}
.hp-knopf-rand:hover{background:var(--hp-tuerkis);color:var(--hp-text)}
a:focus-visible,button:focus-visible,.hp-knopf:focus-visible{outline:2px solid var(--hp-text);outline-offset:3px;box-shadow:none}

/* Termin buchen: fix unten rechts (Zeeg folgt). Verschwindet, sobald der Footer sichtbar ist. */
.hp-termin-fix{position:fixed;right:1.25rem;bottom:1.25rem;z-index:1030;padding:.5625rem 1.125rem;font-size:.9375rem;box-shadow:0 8px 28px rgba(66,59,51,.2);transition:opacity .3s,transform .3s,background .2s,border-color .2s,color .2s}
.hp-termin-fix.hp-weg{opacity:0;transform:translateY(1.5rem);pointer-events:none}

/* ---------- Template: Navigation ---------- */
.navbar{padding:1.25rem 0;background:transparent;transition:background .2s,box-shadow .2s,padding .2s}
.navbar.hp-fest,.navbar:has(.show),.navbar:has(.collapsing){background:var(--hp-beige);box-shadow:0 1px 0 rgba(66,59,51,.12);padding:.625rem 0}
.navbar-brand img{height:58px;width:auto;transition:height .2s}
.navbar.hp-fest .navbar-brand img{height:48px}
.nav-link{color:var(--hp-text);font-weight:500;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:3px;text-underline-offset:.45em;transition:text-decoration-color .15s}
.nav-link:hover,.nav-link:focus,.nav-link.active{color:var(--hp-text)!important;text-decoration-color:var(--hp-tuerkis)}
/* Dropdown für Unterkategorien (nur wenn online) */
.hp-dropdown{--bs-dropdown-bg:var(--hp-beige);--bs-dropdown-border-color:var(--hp-linie);--bs-dropdown-border-radius:var(--hp-radius);--bs-dropdown-color:var(--hp-text);--bs-dropdown-link-color:var(--hp-text);--bs-dropdown-link-hover-color:var(--hp-text);--bs-dropdown-link-hover-bg:rgba(131,220,209,.25);--bs-dropdown-link-active-color:var(--hp-text);--bs-dropdown-link-active-bg:rgba(131,220,209,.45);--bs-dropdown-item-padding-y:.5rem;--bs-dropdown-item-padding-x:1rem;--bs-dropdown-font-size:1rem;box-shadow:0 .5rem 1.5rem rgba(66,59,51,.12);padding:.375rem 0}
.hp-dropdown .dropdown-item{font-weight:500}
.nav-link.dropdown-toggle::after{border-top-width:.3em;margin-left:.4em;vertical-align:.15em}
@media (min-width:992px) and (hover:hover){
  .navbar .dropdown:hover > .hp-dropdown{display:block;margin-top:0}   /* Desktop: öffnet auch beim Darüberfahren */
}
/* Handy-Menü: Abstand zum Logo, Punkte als Liste mit feinen Linien */
@media (max-width:991.98px){
  .hp-dropdown{border:0;box-shadow:none;background:transparent;padding:0 0 .5rem}
  .hp-dropdown .dropdown-item{padding:.5rem 0 .5rem 1rem;font-size:1.0625rem}
}
@media (max-width:991.98px){
  .navbar-collapse .navbar-nav{margin-top:1.25rem;padding-bottom:.5rem}
  .navbar-collapse .nav-item{border-top:1px solid var(--hp-linie)}
  .navbar-collapse .nav-item:last-child{border-bottom:1px solid var(--hp-linie)}
  .navbar-collapse .nav-link{padding:.875rem 0;font-size:1.125rem}
}

/* ---------- Modul: Hero ---------- */
.hp-hero{position:relative;overflow:hidden}
main > .hp-slice.hp-hero:first-child{padding-top:10rem}
/* Zeichen frei stehend neben dem Titel (85 % der früheren Grösse), nie angeschnitten */
.hp-hero .hp-zeichen{display:block;width:min(32vw,485px);height:auto;margin-left:auto;pointer-events:none}
.hp-hero .hp-inner{position:relative;z-index:1}
.hp-hero .lead{font-size:1.3125rem;line-height:1.55;font-weight:400;max-width:34rem}
.hp-hero .hp-foto{position:relative;z-index:1;margin-top:4rem;height:clamp(300px,44vw,620px);border-radius:var(--hp-bild-radius) 0 0 0;overflow:hidden;margin-right:calc(-1 * var(--hp-rand))}
.hp-hero .hp-foto img{width:100%;height:100%;object-fit:cover;object-position:var(--hp-fokus,50% 30%)}
.hp-online{position:absolute;left:2rem;bottom:2rem;background:#fff;border-radius:2rem;padding:.625rem 1.25rem;font-weight:600;font-size:.9375rem}

/* ---------- Modul: Seitenkopf ----------
   Darstellung «farbverlauf» (weiche Felder), «symbol» (Zeichen gross, angeschnitten) oder «schmal». Titel + optionaler Lead. */
.hp-seitenkopf{position:relative;overflow:hidden;display:flex;align-items:flex-end}
.hp-seitenkopf .container{position:relative;z-index:1}
.hp-seitenkopf h1{margin:0}
.hp-seitenkopf .hp-lead-text{max-width:32rem;margin:1.25rem 0 0}
.hp-seitenkopf .hp-zeichen{position:absolute;pointer-events:none}
.hp-sk-schmal{min-height:clamp(16rem,30vw,22rem)}
.hp-sk-schmal .hp-zeichen{right:9%;top:5rem;width:min(22vw,300px)}
.hp-sk-farbverlauf,.hp-sk-symbol{min-height:clamp(28rem,42vw,30rem)}
/* Symbol beginnt immer unter dem Menü (nav-h + Luft) und ist unten um 24 % der Kopfhöhe angeschnitten */
.hp-sk-symbol .hp-zeichen{top:calc(var(--hp-nav-h) + .75rem);height:calc(124% - var(--hp-nav-h) - .75rem);right:-2%}
.hp-sk-farbverlauf .hp-feld{position:absolute;border-radius:50%;pointer-events:none}
/* Weiche Felder als Verlauf statt Weichzeichner: filter:blur auf grossen Flächen rendert Safari hart und mit Kanten */
.hp-sk-farbverlauf .hp-f1{width:52vw;height:52vw;right:17%;bottom:-32%;background:radial-gradient(closest-side,rgba(151,143,133,.5),rgba(151,143,133,.36) 45%,rgba(151,143,133,0))}
.hp-sk-farbverlauf .hp-f2{width:48vw;height:48vw;right:-3%;top:-24%;background:radial-gradient(closest-side,rgba(131,220,209,.78),rgba(131,220,209,.55) 45%,rgba(131,220,209,0))}
.hp-sk-farbverlauf .hp-f3{width:44vw;height:44vw;right:-13%;bottom:-30%;background:radial-gradient(closest-side,rgba(165,94,121,.62),rgba(165,94,121,.42) 45%,rgba(165,94,121,0))}

/* ---------- Modul: Inhalt (Editor-Stile: .hp-eyebrow = Überzeile, .lead = Lead, .hp-mauve) ---------- */
.hp-inhalt .lead{font-size:clamp(1.25rem,2vw,1.625rem);font-weight:300;line-height:1.35}
.hp-inhalt .hp-eyebrow{margin-bottom:.5rem}
.hp-inhalt [class*="col"] > :last-child{margin-bottom:0}
.hp-inhalt .hp-knopf-zeile,.hp-bildtext .hp-knopf-zeile{margin-top:1.75rem}
.hp-inhalt > .container{display:flow-root}   /* gy-Rand der Row nicht aus der Slice schlagen lassen */

/* ---------- Modul: Drei Schritte ---------- */
.hp-schritte .hp-intro{max-width:48rem}
.hp-schritt{position:relative;padding-top:1.75rem;height:100%}
.hp-schritt::before{content:"";position:absolute;left:0;top:0;width:100%;height:3px;border-radius:3px;background:var(--hp-farbe,var(--hp-linie-rolle));transform-origin:left;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.hp-schritte .col-md-4:nth-child(1) .hp-schritt{--hp-farbe:var(--hp-logotext)}
.hp-schritte .col-md-4:nth-child(2) .hp-schritt{--hp-farbe:var(--hp-tuerkis)}
.hp-schritte .col-md-4:nth-child(3) .hp-schritt{--hp-farbe:var(--hp-mauve)}
.hp-schritt .hp-nr{font-size:3.5rem;font-weight:300;line-height:1;margin-bottom:2rem}
.hp-schritt p{margin-bottom:.875rem}
.hp-schritt p:last-child{margin-bottom:0}

/* ---------- Modul: Zwei Einstiege ---------- */
.hp-einstieg .hp-bildrahmen{overflow:hidden;border-radius:var(--hp-karte-radius)}
.hp-einstieg img{width:100%;aspect-ratio:3/2;object-fit:cover;object-position:var(--hp-fokus,50% 40%);display:block;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.hp-einstieg:hover img{transform:scale(1.04)}
.hp-einstieg-satz{font-size:clamp(1.25rem,1.6vw,1.5rem);font-weight:300;line-height:1.3;margin:.5rem 0 1.5rem}
.hp-einstieg-text{margin:-.5rem 0 1.75rem}   /* optionaler Editor-Text, nur ausgegeben wenn gefüllt */
.hp-einstieg-text > :last-child{margin-bottom:0}
/* Ab md: Karten teilen sich die Zeilen (Subgrid) – Text und Knöpfe stehen bündig, auch wenn ein Satz zweizeilig ist */
@media (min-width:768px){
  .hp-einstiege .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-einstiege .row > *{width:auto;display:grid;grid-row:span 5;grid-template-rows:subgrid}
  .hp-einstieg{display:grid;grid-row:span 5;grid-template-rows:subgrid;align-items:start}
  .hp-einstieg > .hp-knopf{justify-self:start}
}
@media (min-width:992px){.hp-einstiege-3 .row{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- Modul: Bild + Text ----------
   Variante «Rand»: Text bündig zur Containerkante, Bild läuft auf seiner Seite bis an den Fensterrand.
   Variante «mitlaufend»: Bild (und Video) bleiben stehen, solange der Text scrollt (Top setzt site.hp-js). */
.hp-bildtext .hp-bildhalter{position:relative;height:100%}
.hp-bildtext .hp-bild{width:100%;height:100%;min-height:26rem;object-fit:cover;object-position:var(--hp-fokus,50% 35%);display:block}
.hp-bildtext .hp-bild-links{border-radius:0 var(--hp-bild-radius) 0 0}
.hp-bildtext .hp-bild-rechts{border-radius:var(--hp-bild-radius) 0 0 0}
.hp-bildtext .hp-im-raster .hp-bild{border-radius:var(--hp-karte-radius);aspect-ratio:4/5;height:auto;min-height:0;max-height:min(55vh,40rem)}
.hp-mitlauf{position:sticky;top:var(--hp-nav-h)}
/* Video: immer Knopf oder Posterframe → Fenster; das Video lädt erst beim Klick (site.hp-js) */
.hp-video-poster{position:relative;display:block;width:100%;aspect-ratio:16/9;padding:0;border:0;border-radius:var(--hp-karte-radius);overflow:hidden;background:var(--hp-flaeche,var(--hp-beige));cursor:pointer}
.hp-video-poster img{width:100%;height:100%;object-fit:cover;object-position:var(--hp-fokus,50% 50%);transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hp-video-poster:hover img{transform:scale(1.03)}
.hp-video-play{position:absolute;inset:0;margin:auto;width:4.5rem;height:4.5rem;border-radius:50%;background:var(--hp-tuerkis);color:var(--hp-text);display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s,transform .2s}
.hp-video-play svg{width:1.5rem;height:1.5rem;margin-left:.2rem}
.hp-video-poster:hover .hp-video-play,.hp-video-poster:focus-visible .hp-video-play{background:var(--hp-text);color:var(--hp-tuerkis);transform:scale(1.06)}
.hp-video-fenster video{display:block;width:100%;aspect-ratio:16/9;background:#000;border-radius:var(--hp-karte-radius)}
.hp-video-platz{aspect-ratio:16/9;background:var(--hp-flaeche,var(--hp-beige));display:flex;align-items:center;justify-content:center;gap:.5rem;color:var(--hp-grau);font-size:.9375rem;width:100%;border-radius:var(--hp-karte-radius)}
.hp-video-knopf{position:absolute;left:1.5rem;bottom:1.5rem}

/* ---------- Modul: Angebote ----------
   Paket (col-lg-8) und Einzelberatung (col-lg-4) als Karten, Option des Pakets als breite Karte darunter. */
.hp-preis{font-size:clamp(1.75rem,2.6vw,2.25rem);font-weight:300;color:var(--hp-mauve);letter-spacing:-.01em;line-height:1.2}
.hp-preis small{font-size:.9rem;font-weight:400;letter-spacing:0}
.hp-kurztext{margin-top:1rem;color:var(--hp-grau)}
.hp-angebot-karte{background:var(--hp-flaeche);border-radius:var(--hp-karte-radius);padding:clamp(1.75rem,3vw,2.75rem);height:100%;display:flex;flex-direction:column}
.hp-angebot-karte .hp-angebot-titel{font-size:1.5rem;font-weight:400;letter-spacing:-.01em;margin-bottom:.25rem}
.hp-fussnote{font-size:.875rem;color:var(--hp-grau);margin:1.25rem 0 0}
.hp-angebot-karte .hp-kopf{border-bottom:1px solid var(--hp-linie-rolle);padding-bottom:1.5rem;margin-bottom:1.5rem}
/* Die drei Säulen: Linie in Logofarben (Grau, Türkis, Mauve), Nummer 01–03 in Textfarbe */
.hp-saeulen{margin-top:calc(1.25rem - var(--bs-gutter-y));margin-bottom:2.25rem}   /* Abstand oben = unten */
.hp-saeule{position:relative;padding-top:1.25rem;height:100%}
.hp-saeule::before{content:"";position:absolute;left:0;top:0;width:100%;height:3px;border-radius:3px;background:var(--hp-farbe,var(--hp-linie-rolle));transform-origin:left;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.hp-saeulen > :nth-child(1) .hp-saeule{--hp-farbe:var(--hp-logotext)}
.hp-saeulen > :nth-child(2) .hp-saeule{--hp-farbe:var(--hp-tuerkis)}
.hp-saeulen > :nth-child(3) .hp-saeule{--hp-farbe:var(--hp-mauve)}
.hp-saeule .hp-nr{font-size:1.5rem;font-weight:300;line-height:1;letter-spacing:.02em;font-variant-numeric:tabular-nums;margin-bottom:.75rem}
.hp-saeule h3{font-size:1.0625rem;font-weight:600;line-height:1.35;letter-spacing:normal;margin:0 0 .375rem}
.hp-saeule p{font-size:.9375rem;line-height:1.6}

/* Adresse als Titel (Kontaktseite, Bild + Text) */
.hp-adresse{font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.3}

/* ---------- Modul: Zwei Knöpfe (Termin-Fenster + Anfrage-Fenster) ---------- */
.hp-knopf-paar{display:flex;flex-wrap:wrap;gap:1rem}
.hp-zwei-knoepfe [class*="col"] > :last-child{margin-bottom:0}
@media (max-width:991.98px){.hp-zwei-knoepfe .hp-knopf-paar{justify-content:center}}   /* untereinander: Knöpfe zentriert */

/* ---------- Modul: Karte (Bild aus OpenStreetMap-Daten, Quellenhinweis Pflicht) ---------- */
.hp-karte-bild{margin:0}
.hp-karte-bild img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;border-radius:var(--hp-karte-radius)}
.hp-karte-bild figcaption{font-size:.8125rem;color:var(--hp-grau);margin-top:.625rem}

/* ---------- Modul: Stationen ----------
   Zwei Spalten mit gemeinsamem Raster: Titel oben bündig, die erste Linie liegt in beiden auf derselben Höhe
   (die Titelzeile ist so hoch wie der längere Titel). */
.hp-stationen-raster h2{margin-bottom:1.5rem}
.hp-stationen-raster .hp-spalte + .hp-spalte{margin-top:3rem}
@media (min-width:992px){
  .hp-stationen-raster{display:grid;grid-template-columns:7fr 5fr;grid-template-rows:auto auto;column-gap:3rem}
  .hp-stationen-raster .hp-spalte{display:grid;grid-row:span 2;grid-template-rows:subgrid}
  .hp-stationen-raster .hp-spalte + .hp-spalte{margin-top:0}
}
.hp-station{border-top:1px solid var(--hp-linie-rolle);padding:1.125rem 0;--bs-gutter-y:0;--bs-gutter-x:0}   /* kein Zeilen-Versatz: Linie bündig mit der Nachbarspalte */
.hp-station:last-child{border-bottom:1px solid var(--hp-linie-rolle)}
.hp-jahr{font-weight:300;color:var(--hp-mauve);font-size:1.25rem}
.hp-liste-weiter{list-style:none;padding:0;margin:0}
.hp-liste-weiter li{border-top:1px solid var(--hp-linie-rolle);padding:.75rem 0}
.hp-liste-weiter li:last-child{border-bottom:1px solid var(--hp-linie-rolle)}

/* ---------- Template: Fenster «Termin» (Zeeg) und «Anfrage» (Kontaktformular) ---------- */
.hp-fenster{--hp-flaeche:#fff;--hp-linie-rolle:var(--hp-linie)}
.hp-fenster .modal-content{background:var(--hp-beige);border:0;border-radius:var(--hp-karte-radius)}
.hp-fenster .modal-header{border:0;padding:1.5rem clamp(1.25rem,3vw,2.5rem) .5rem}
.hp-fenster .modal-title{font-size:clamp(1.75rem,3vw,2.25rem)}
.hp-fenster .modal-body{padding:1rem clamp(1.25rem,3vw,2.5rem) clamp(1.5rem,3vw,2.5rem)}
.zeeg-inline-widget{min-height:min(70vh,640px)}
.hp-zeeg-ersatz{font-size:.9375rem;color:var(--hp-grau);margin:1rem 0 0}
.hp-zeeg-geladen .hp-zeeg-ersatz{display:none}
@media (max-width:767.98px){.hp-fenster .modal-content{border-radius:0}}

/* ---------- Kontaktformular (im Fenster «Anfrage») ---------- */
.hp-pflicht{color:var(--hp-mauve)}
.hp-pflicht-hinweis{font-size:.875rem;color:var(--hp-grau)}
.hp-platzhalter{color:var(--hp-grau);font-style:italic}
.form-label,legend{font-size:.9375rem;font-weight:600;margin-bottom:.5rem}
.form-control{background:var(--hp-flaeche);border:1px solid var(--hp-linie-rolle);border-radius:var(--hp-radius);padding:.7rem .875rem}
.form-control:focus{background:var(--hp-flaeche);border-color:var(--hp-text);box-shadow:0 0 0 .2rem rgba(131,220,209,.55)}
.form-check-input{border-color:var(--hp-grau);background-color:transparent}
.form-check-input:checked{background-color:var(--hp-tuerkis);border-color:var(--hp-text)}
.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23423B33'/%3e%3c/svg%3e")}
/* Kontaktformular: Art der Beratung als Wahlknöpfe (freiwillig) */
.hp-wahl-knoepfe{display:flex;flex-wrap:wrap;gap:.75rem}
.btn-check:checked + .hp-knopf{background:var(--hp-tuerkis)}
.btn-check:focus-visible + .hp-knopf{outline:2px solid var(--hp-text);outline-offset:3px}
.form-check-input:focus{border-color:var(--hp-text);box-shadow:0 0 0 .2rem rgba(131,220,209,.55)}
.hp-falle{position:absolute;left:-9999px}

/* ---------- Modul: Rezensionen (Bootstrap-Carousel) ---------- */
.hp-rezensionen .hp-zitatzeichen{font-size:6rem;line-height:.6;color:var(--hp-mauve);font-weight:300;display:block;margin-bottom:1rem}
.hp-rezension{margin:0}
.hp-rezension blockquote{margin:0}
.hp-rezension .hp-text{font-size:clamp(1.125rem,1.5vw,1.3125rem);font-weight:300;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
.hp-rezension.hp-offen .hp-text{display:block}
.hp-rezension .hp-text p{margin-bottom:.75rem}
.hp-rezension .hp-text p:last-child{margin-bottom:0}
.hp-rezension figcaption{font-size:.9375rem;font-weight:600;margin-top:1.25rem}
.hp-mehr-lesen{background:none;border:0;padding:0;margin-top:.75rem;font-weight:600;color:var(--hp-text);text-decoration:underline;text-decoration-color:var(--hp-tuerkis);text-decoration-thickness:2px;text-underline-offset:.2em}
.hp-mehr-lesen:hover{background:var(--hp-tuerkis)}
.hp-karussell-steuerung{display:flex;align-items:center;gap:1rem;margin-top:2.5rem}
.hp-karussell-knopf{width:3rem;height:3rem;display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--hp-tuerkis);border-radius:var(--hp-radius);background:transparent;color:var(--hp-text);transition:background .2s}
.hp-karussell-knopf:hover{background:var(--hp-tuerkis)}
.hp-karussell-knopf svg{width:1.25rem;height:1.25rem}
.hp-karussell-zahl{font-size:.9375rem;font-weight:600;min-width:3.5rem;text-align:center;font-variant-numeric:tabular-nums}
.hp-rezensionen .carousel-item{transition:transform .7s cubic-bezier(.2,.7,.2,1)}

/* ---------- Template: Footer ---------- */
.hp-fuss{background:var(--hp-text);color:var(--hp-beige);padding:clamp(3.5rem,6vw,5.5rem) 0 2rem}
.hp-fuss h2{font-size:clamp(1.875rem,3.4vw,2.75rem)}
.hp-fuss a:not([class]){color:var(--hp-tuerkis);text-decoration-color:currentColor}
.hp-fuss a:not([class]):hover{background:var(--hp-tuerkis);color:var(--hp-text)}
.hp-fuss .hp-knopf-rand{color:#fff}
.hp-fuss .hp-knopf-rand:hover{color:var(--hp-text)}
.hp-fuss .hp-knopf-voll:hover{background:#fff;border-color:#fff;color:var(--hp-text)}
@media (max-width:991.98px){.hp-fuss-knoepfe{flex-direction:column;align-items:center}.hp-fuss-knoepfe>*{width:min(100%,17rem);justify-content:center}}
.hp-fuss .hp-rechtliches{border-top:1px solid rgba(241,240,233,.18);margin-top:3.5rem;padding-top:1.25rem;font-size:.875rem;color:rgba(241,240,233,.75)}
.hp-fuss .hp-rechtliches a{color:inherit;text-decoration-color:rgba(241,240,233,.4)}

/* ---------- Bewegung (nur wenn erwünscht) ----------
   site.hp-js setzt .hp-anim auf <html> und .hp-zeigen auf Blöcke; sichtbar gewordene bekommen .hp-da. */
.hp-anim .hp-zeigen{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.hp-anim .hp-zeigen.hp-da{opacity:1;transform:none}
.hp-anim .hp-schritt::before{transform:scaleX(0)}
.hp-anim .hp-zeigen.hp-da .hp-schritt::before{transform:scaleX(1);transition-delay:.35s}
.hp-anim .hp-saeule::before{transform:scaleX(0)}
.hp-anim .hp-zeigen.hp-da .hp-saeule::before{transform:scaleX(1);transition-delay:.4s}
.hp-anim .hp-zeigen.hp-da .hp-saeulen > :nth-child(2) .hp-saeule::before{transition-delay:.55s}
.hp-anim .hp-zeigen.hp-da .hp-saeulen > :nth-child(3) .hp-saeule::before{transition-delay:.7s}
/* Zeichen: drei Wege laufen von unten gestaffelt in der Mitte zusammen (unten),
   dann entfalten sie sich gemeinsam nach oben wie ein Feuerwerk (oben). Die Masken-Linien liegen im SVG. */
.hp-zeichen .hp-weg{fill:none;stroke:#fff;stroke-width:46;stroke-linecap:round;stroke-dasharray:1 1;stroke-dashoffset:0}
/* Eine durchgehende Bewegung: unten ease-in (endet schnell), oben ohne Halt mit gleicher Geschwindigkeit weiter,
   kurzes ease-out am Schluss. Startsteilheit oben pro Strich aus den Weglängen berechnet
   (unten inkl. Vorlauf / oben: 109/115, 88/126, 100/140). Einblenden läuft separat, damit die Kurve ungeteilt bleibt. */
.hp-anim .hp-hero .hp-zeichen .hp-weg-unten{animation:weg-unten 1.3s cubic-bezier(.5,0,.75,.5) both,einblenden .5s ease-out both}
.hp-anim .hp-hero .hp-zeichen mask:nth-of-type(2) .hp-weg-unten{animation-delay:.2s;animation-duration:1.1s,.5s}
.hp-anim .hp-hero .hp-zeichen mask:nth-of-type(3) .hp-weg-unten{animation-delay:.3s;animation-duration:1s,.5s}
.hp-anim .hp-hero .hp-zeichen .hp-weg-oben{animation:weg-oben 1.1s cubic-bezier(.3,.48,.7,1) 1.3s both}
.hp-anim .hp-hero .hp-zeichen mask:nth-of-type(2) .hp-weg-oben{animation-timing-function:cubic-bezier(.3,.42,.7,1)}
.hp-anim .hp-hero .hp-zeichen mask:nth-of-type(3) .hp-weg-oben{animation-timing-function:cubic-bezier(.3,.47,.7,1)}
@keyframes weg-unten{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes einblenden{from{opacity:0}to{opacity:1}}
@keyframes weg-oben{0%{stroke-dashoffset:1;opacity:0}.1%{opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@media (prefers-reduced-motion:reduce){.hp-einstieg img,.hp-termin-fix,.hp-zeigen{transition:none!important}}

/* ---------- Handy ---------- */
@media (max-width:991.98px){
  .hp-mitlauf{position:static}
  .hp-bildtext .hp-bild{min-height:0;aspect-ratio:4/3;height:auto}
  .hp-bildtext .hp-bleed-l,.hp-bildtext .hp-bleed-r{margin-left:0;margin-right:0}
  .hp-bildtext .hp-bild-links,.hp-bildtext .hp-bild-rechts{border-radius:var(--hp-karte-radius)}
  .hp-hero .hp-foto{margin-left:0;margin-right:0;border-radius:var(--hp-karte-radius)}
  .hp-hero .hp-zeichen{width:min(48vw,240px);margin:0 0 2rem auto}   /* über dem Titel, rechtsbündig */
  .hp-sk-symbol .hp-zeichen{top:auto;height:85%;right:-22%;bottom:-18%;opacity:.35}
  .hp-sk-farbverlauf .hp-f1{width:110vw;height:110vw;right:0}.hp-sk-farbverlauf .hp-f2{width:95vw;height:95vw;right:-35%}.hp-sk-farbverlauf .hp-f3{width:85vw;height:85vw;right:-45%}
}
@media (max-width:767.98px){
  :root{--hp-nav-h:4.5rem}
  main > .hp-slice.hp-hero:first-child{padding-top:7.5rem}
  .hp-online{right:auto;left:1rem;bottom:1rem}
  .hp-sk-schmal .hp-zeichen{width:40vw;opacity:.35;top:4.5rem}
  .navbar-brand img{height:46px}
  .hp-termin-fix{right:.875rem;bottom:.875rem}
}

/* Zwei Knöpfe: Desktop näher zur Mitte, Knöpfe unten bündig mit Text */
@media (min-width:992px){.hp-zwei-knoepfe .hp-zk-text{padding-left:calc(var(--bs-gutter-x)*.5 + 3rem)}.hp-zwei-knoepfe .hp-zk-knoepfe{padding-right:calc(var(--bs-gutter-x)*.5 + 3rem)}}
/* Kontaktformular: Hinweis unter dem Datenschutz-Häkchen */
.hp-dse-hinweis{font-size:.875rem;line-height:1.45;color:var(--hp-grau);margin-top:.4rem}.hp-dse-hinweis p{margin:0}.hp-dse-hinweis a{color:inherit}

/* Seitenkopf «Symbol», Desktop: Symbol rechts bündig mit dem Inhalt (nicht angeschnitten), höchstens 42 % der Inhaltsbreite;
   Titel/Lead höchstens 58 % minus Abstand → keine Überschneidung */
@media (min-width:992px){
  .hp-sk-symbol .hp-zeichen{right:var(--hp-rand);max-width:calc((100vw - 2 * var(--hp-rand)) * .42);object-fit:contain;object-position:100% 0}
  .hp-sk-symbol h1{max-width:calc(58% - 2.5rem)}.hp-sk-symbol .hp-lead-text{max-width:min(32rem,calc(58% - 2.5rem))}
}

/* Editor-Texte ohne Hilfsklassen (23.11.): was früher mb-0/mt-4/fw-semibold/h2-Klasse im Inhalt war, regelt jetzt das CSS */
strong,b{font-weight:600}
.hp-slice p:last-child,.hp-slice p:has(+ .hp-knopf-zeile){margin-bottom:0}
.lead{font-size:1.25rem;line-height:1.55;font-weight:400;margin-bottom:1.5rem}
.hp-bildtext h2 + p{margin-top:1.5rem}
.hp-bildtext h1{font-size:calc(1.325rem + .9vw);font-weight:300;line-height:1.2;margin-bottom:3rem}
@media (min-width:1200px){.hp-bildtext h1{font-size:2rem}}
.hp-bildtext h3{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:300;line-height:1.3;letter-spacing:-.02em;margin-bottom:1.5rem}
