@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/inter.woff2) format("woff2")}
:root{
  --petrol:#0f3a4b; --petrol-2:#0a2e3d; --sky:#8ec3e6; --navy:#2c4a8f;
  --ink:#0f3a4b; --gray:#55636c; --light:#eef1f3; --line:#dde3e7; --white:#fff;
  --r:6px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;color:var(--ink);background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
section{padding:88px 0;scroll-margin-top:96px}
.alt{background:var(--light)}

/* Header */
header{position:sticky;top:0;z-index:20;background:rgb(238,241,243)}
.hbar{display:flex;align-items:center;justify-content:space-between;gap:24px;height:96px}
.logo{display:block;flex:none}
.logo img{height:68px;width:auto}
.hnav{display:flex;align-items:center;gap:30px;margin-left:auto;font-weight:600;font-size:15px}
.hnav a{text-decoration:none;color:var(--petrol);padding:6px 0;border-bottom:2px solid transparent}
.hnav a:hover{border-color:var(--sky)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--sky);color:var(--petrol);font-weight:700;text-decoration:none;padding:14px 26px;border-radius:var(--r);transition:transform .15s,box-shadow .15s;border:0;cursor:pointer;font-size:16px;font-family:inherit}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,58,75,.25)}
.btn.ghost{background:transparent;color:#fff;border:2px solid var(--sky)}
.btn.small{padding:11px 22px;font-size:14px}

/* Hero */
.hero{background:linear-gradient(135deg,var(--petrol-2),var(--petrol));color:#fff;overflow:hidden;padding:0}
.hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;padding-top:72px;padding-bottom:72px}
.kicker,.label{display:inline-block;background:var(--sky);color:var(--petrol);font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:8px 14px;border-radius:4px;margin-bottom:20px}
h1{font-size:clamp(34px,5.2vw,58px);line-height:1.05;text-transform:uppercase;font-weight:800}
h1 span{display:block;width:72px;height:6px;background:var(--sky);margin-bottom:22px}
.hero p.lead{font-size:20px;margin:22px 0 32px;color:#e6eef2;max-width:32em}
.hero .cta{display:flex;flex-wrap:wrap;gap:14px}
.hero figure{border-radius:var(--r);overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.35);border:3px solid rgba(142,195,230,.55)}

/* Überschriften */
h2{font-size:clamp(28px,3.6vw,42px);line-height:1.1;font-weight:800;color:var(--petrol);margin-bottom:12px}
.sub{color:var(--gray);font-size:18px;max-width:44em;margin-bottom:44px}

/* Karten */
.grid{display:grid;gap:22px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(15,58,75,.10)}
.card .body{padding:26px 28px 30px}
.card h3{font-size:20px;margin-bottom:8px;color:var(--petrol)}
.card p{color:var(--gray);font-size:16px}
.card .num{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:var(--r);background:var(--petrol);color:#fff;font-weight:800;margin-bottom:12px}
.tags{margin-top:14px;font-size:13px!important;font-weight:700;letter-spacing:.04em;color:var(--navy)!important}

/* Foto-Platzhalter */
.ph{background:#9aabb5;display:flex;align-items:flex-end;min-height:190px}
.ph span{display:block;width:100%;background:#646e76;color:#fff;font-size:12px;font-weight:700;letter-spacing:.05em;padding:10px 14px;line-height:1.35}
.ph.wide{aspect-ratio:16/9;min-height:0}
.ph.post{aspect-ratio:4/5;min-height:0}
.card.row{flex-direction:row}
.card.row .ph{width:42%;flex:none}
.card.row .body{display:flex;flex-direction:column;justify-content:center}
.promise{margin-top:34px;background:var(--petrol);color:#fff;border-radius:var(--r);padding:22px 28px;font-weight:700;font-size:19px;border-left:8px solid var(--sky)}

/* Kontakt */
.contact{background:linear-gradient(135deg,var(--petrol-2),var(--petrol));color:#fff}
.contact .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}
.contact h2{color:#fff}
.contact p{color:#e6eef2;font-size:19px;margin-bottom:28px}
.box{border:2px solid var(--sky);border-radius:var(--r);padding:30px;background:rgba(15,58,75,.55)}
.box div{margin-bottom:18px}
.box div:last-child{margin-bottom:0}
.box small{display:block;color:var(--sky);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:12px;margin-bottom:4px}
.box a{font-size:19px;font-weight:600;text-decoration:none}
.box a:hover{text-decoration:underline}

/* Footer */
footer{background:var(--petrol-2);color:#b9cbd4;font-size:14px;padding:34px 0}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px}
footer a{color:#fff;text-decoration:none;margin-left:20px}
footer a:first-child{margin-left:0}
footer a:hover{text-decoration:underline}

/* Formular-Dialog */
dialog{border:0;padding:0;background:transparent;max-width:none;max-height:none;width:100%;height:100%;overflow:auto}
dialog::backdrop{background:rgba(6,25,33,.72);backdrop-filter:blur(3px)}
.dlg{min-height:100%;display:grid;place-items:center;padding:24px}
.panel{position:relative;width:100%;max-width:640px;background:linear-gradient(135deg,var(--petrol-2),var(--petrol));color:#fff;border-radius:var(--r);border:2px solid var(--sky);padding:34px 34px 30px;box-shadow:0 30px 70px rgba(0,0,0,.5)}
.panel h2{color:#fff;font-size:30px;margin-bottom:6px}
.panel .intro{color:#d3e2ea;margin-bottom:22px}
.close{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:var(--r);background:transparent;border:2px solid var(--sky);color:var(--sky);font-size:22px;cursor:pointer;line-height:1}
.close:hover{background:var(--sky);color:var(--petrol)}
.f{margin-bottom:16px}
.f label{display:block;color:var(--sky);font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.f input,.f select,.f textarea{width:100%;font:inherit;font-size:16px;padding:12px 14px;border-radius:var(--r);border:2px solid transparent;background:#fff;color:var(--petrol)}
.f input:focus,.f select:focus,.f textarea:focus{outline:0;border-color:var(--sky);box-shadow:0 0 0 3px rgba(142,195,230,.4)}
.f textarea{min-height:120px;resize:vertical}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:#d3e2ea;margin:6px 0 20px}
.chk input{margin-top:3px;width:18px;height:18px;accent-color:var(--sky);flex:none}
.chk a{color:#fff}
.hp{position:absolute!important;left:-9999px;opacity:0;height:0;width:0}
.msg{margin-top:16px;padding:12px 14px;border-radius:var(--r);font-weight:600;display:none}
.msg.ok{display:block;background:rgba(142,195,230,.2);border:2px solid var(--sky)}
.msg.err{display:block;background:rgba(255,255,255,.12);border:2px solid #fff}

/* Rechtstexte */
.legal{padding:64px 0 88px}
.legal h1{text-transform:none;font-size:clamp(30px,4vw,44px);color:var(--petrol);margin-bottom:34px}
.legal h1 span{display:none}
.legal h2{font-size:22px;margin:34px 0 8px}
.legal p,.legal li{color:var(--gray);font-size:17px;margin-bottom:10px}
.legal ul{padding-left:22px}
.legal a{color:var(--navy)}
.todo{border:2px dashed var(--navy);border-radius:var(--r);background:#f4f8fc;padding:16px 18px;margin:8px 0 14px;color:var(--petrol);font-weight:600;font-size:15px}
.todo b{letter-spacing:.06em}

@media(max-width:860px){
  .hbar{flex-wrap:wrap;height:auto;padding:10px 24px;gap:6px 8px}
  .logo img{height:29px}
  .btn.small{padding:10px 16px}
  .hnav{order:3;width:100%;justify-content:space-between;margin:0;gap:10px;font-size:14px;padding-top:2px}
  .hero .wrap,.contact .wrap{grid-template-columns:1fr;gap:34px}
  .hero .wrap{padding-top:44px;padding-bottom:52px}
  .g2,.g3{grid-template-columns:1fr}
  .card.row{flex-direction:column}
  .card.row .ph{width:100%}
  section{padding:60px 0;scroll-margin-top:120px}
  .two{grid-template-columns:1fr}
  .panel{padding:28px 22px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.pic{display:block;width:100%;height:auto;object-fit:cover}
.card.row .pic{width:42%;flex:none;align-self:stretch;height:auto}
@media(max-width:860px){.card.row .pic{width:100%}}

.legal h3{font-size:18px;color:var(--petrol);margin:26px 0 6px}
.legal ul{margin-bottom:14px}

/* ===== Vollbild-Bereiche (Apple-Stil), nur Startseite ===== */
:root{--h:96px;--f:80px}
.g4{grid-template-columns:repeat(4,1fr)}
.snap{scroll-snap-type:y proximity;scroll-padding-top:var(--h)}
.snap main > section{
  min-height:calc(100vh - var(--h));min-height:calc(100svh - var(--h));
  display:flex;flex-direction:column;justify-content:center;
  scroll-snap-align:start;scroll-margin-top:0;position:relative;
  padding:clamp(28px,5vh,64px) 0 clamp(72px,11vh,100px);
}
.snap footer{scroll-snap-align:end}
.snap main > section > .wrap{width:100%}
.snap .hero{padding-bottom:clamp(72px,11vh,100px)}
.snap .hero .wrap{padding-top:0;padding-bottom:0}
.snap .hero figure img{max-height:60vh;width:100%;object-fit:cover}
.snap .contact{min-height:calc(100vh - var(--h) - var(--f));min-height:calc(100svh - var(--h) - var(--f));padding-bottom:clamp(28px,5vh,64px)}
.pic.wide{max-height:24vh}
.pic.post{aspect-ratio:4/5;max-height:32vh}

/* Weiter-Pfeil */
.next{position:absolute;left:50%;bottom:clamp(16px,3.2vh,30px);transform:translateX(-50%);
  width:46px;height:46px;border-radius:var(--r);border:2px solid var(--petrol);color:var(--petrol);
  display:grid;place-items:center;text-decoration:none;opacity:0;pointer-events:none;
  transition:opacity .6s ease .5s,background .2s,color .2s}
.hero .next,.contact .next{border-color:var(--sky);color:var(--sky)}
.in .next{opacity:1;pointer-events:auto}
.next:hover{background:var(--sky);color:var(--petrol);border-color:var(--sky)}
.in .next svg{animation:bob 2.2s ease-in-out 1.4s infinite}
@keyframes bob{0%,100%{transform:translateY(-2px)}50%{transform:translateY(4px)}}

/* Einblenden */
.js.snap main > section > .wrap{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s ease}
.js.snap main > section.in > .wrap{opacity:1;transform:none}

/* Punkte-Navigation */
.dots{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:15;display:flex;flex-direction:column;gap:14px}
.dots a{width:10px;height:10px;border-radius:3px;background:var(--sky);opacity:.5;box-shadow:0 0 0 1.5px var(--petrol);transition:transform .2s,opacity .2s}
.dots a.active{opacity:1;transform:scale(1.5)}
.hnav a.active{border-color:var(--sky)}

/* Niedrige Bildschirme: kompakter, damit ein Bereich in eine Ansicht passt */
@media(max-height:960px) and (min-width:861px){
  h2{font-size:clamp(26px,3.2vw,34px);margin-bottom:8px}
  .sub{font-size:16px;margin-bottom:22px}
  .card .body{padding:16px 20px 20px}
  .card p{font-size:15px}
  .card h3{font-size:18px}
  .promise{margin-top:20px;padding:16px 22px;font-size:17px}
  .pic.wide{max-height:19vh}.pic.post{max-height:27vh}
  .hero p.lead{font-size:18px;margin:16px 0 22px}
  h1{font-size:clamp(32px,4.4vw,48px)}
}
@media(max-width:1099px){.g4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){
  .g4{grid-template-columns:1fr}
  .dots{display:none}
  .pic.wide,.pic.post{max-height:none}
  .pic.post{aspect-ratio:16/10}
  .snap .hero figure img{max-height:28vh}
  .snap main > section{padding:28px 0 84px}
  .snap .contact{padding-bottom:28px}
}
@media(prefers-reduced-motion:reduce){.in .next svg{animation:none}.js.snap main > section > .wrap{opacity:1;transform:none;transition:none}}

.card .head{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.card .head h3{margin:0}
.card .head .num{margin:0;flex:none}
@media(max-height:960px) and (min-width:861px){
  .snap main > section{padding-top:24px}
  .sub{margin-bottom:18px}
  .card .body{padding:14px 18px 16px}
  .pic.wide{max-height:20vh}
  .promise{margin-top:16px;padding:14px 20px}
}
@media(max-height:800px) and (min-width:861px){
  .pic.wide{max-height:16vh}.pic.post{max-height:24vh}
  .card p{font-size:14px;line-height:1.45}
  .sub{font-size:15px;margin-bottom:14px}
  .label{margin-bottom:12px}
}

/* Instagram-Karten */
a.card{text-decoration:none;color:inherit}
.card.post .pic.post{max-height:none;aspect-ratio:4/5;object-fit:cover}
.card .more{display:block;padding:12px 16px;font-weight:700;font-size:14px;color:var(--navy)}
.igrow{margin-top:26px}
.igrow .btn svg{flex:none}
@media(max-height:960px) and (min-width:861px){
  .card.post .pic.post{max-height:none}
  .card .more{padding:9px 14px;font-size:13px}
  .igrow{margin-top:16px}
}
@media(max-width:860px){
  .card.post .pic.post{aspect-ratio:4/5}
  .g4 .card.post{max-width:420px}
}



.js.snap main > section > .wrap{will-change:opacity,transform}
.snap .hero figure{box-shadow:0 18px 36px rgba(0,0,0,.3)}

/* Punkte-Navigation: klein und rund */
.dots{gap:12px;right:16px}
.dots a{width:7px;height:7px;border-radius:50%;opacity:.55;box-shadow:0 0 0 1px var(--petrol)}
.dots a.active{opacity:1;transform:scale(1.35)}

/* Start: grosse Ueberschrift-Box, reicht bis ans Bild */
.hero .kicker{display:block;font-size:clamp(15px,1.7vw,23px);letter-spacing:.14em;padding:16px 22px;margin:0 -48px 26px 0;border-radius:4px}
.hero .btn.ghost{gap:10px}

/* Unser Versprechen: seitenbreites Band */
.band{width:100%;background:var(--petrol);border-top:6px solid var(--sky);color:#fff;margin-top:clamp(14px,2.6vh,28px)}
.band-in{display:flex;align-items:center;gap:36px;padding-top:clamp(14px,2.6vh,26px);padding-bottom:clamp(14px,2.6vh,26px)}
.bl{color:var(--sky);font-weight:700;letter-spacing:.16em;text-transform:uppercase;font-size:13px;white-space:nowrap}
.bw{display:flex;flex:1;justify-content:space-between;gap:22px}
.bw strong{font-size:clamp(18px,2.3vw,32px);text-transform:uppercase;font-weight:800;line-height:1.1}
.bw strong+strong{border-left:3px solid var(--sky);padding-left:22px}
.js.snap main > section > .band{opacity:0;transition:opacity .8s ease}
.js.snap main > section.in > .band{opacity:1}
@media(max-width:860px){
  .hero .kicker{margin:0 0 22px 0}
  .band-in{flex-direction:column;align-items:flex-start;gap:8px}
  .bw{flex-direction:column;gap:6px}
  .bw strong+strong{border-left:0;padding-left:0}
  .bw strong{font-size:20px}
}

/* Kompaktheit: jeder Bereich soll in eine Ansicht passen */
@media(min-width:861px){
  .snap main > section{padding-top:clamp(16px,2.6vh,40px);padding-bottom:clamp(60px,8.5vh,84px)}
  .snap .hero{padding-bottom:clamp(60px,8.5vh,84px)}
  .pic.wide{max-height:14.5vh}
  .snap #aktuelles .grid{max-width:min(100%,calc(3.2 * (100vh - 450px) + 66px))}
  .snap .band{margin-top:clamp(12px,2vh,24px)}
}
@media(min-width:861px) and (max-height:800px){
  .snap main > section h2{font-size:clamp(24px,3.4vh,30px)}
  .snap .sub{font-size:14px;line-height:1.45;margin-bottom:10px;max-width:60em}
  .snap .label{margin-bottom:8px;padding:6px 12px}
  .snap .card .body{padding:10px 16px 12px}
  .snap .card p{font-size:13.5px;line-height:1.4}
  .snap .card .head{margin-bottom:5px}
  .snap .card .head .num{width:30px;height:30px}
  .snap .card h3{font-size:16px}
  .snap .band-in{padding-top:10px;padding-bottom:10px}
  .snap .bw strong{font-size:clamp(16px,2vw,24px)}
  .snap .card .more{padding:7px 12px}
  .snap .igrow{margin-top:12px}
}

/* ===== Pager-Modus (Bereiche fahren per Transform, ruckelfrei) ===== */
html.pager,html.pager body{height:100%;overflow:hidden;scroll-snap-type:none}
html.pager header{position:fixed;top:0;left:0;right:0}
html.pager #track{position:fixed;left:0;right:0;top:var(--h);will-change:transform}

/* Start: Kasten ca. 15 % schmaler */
.hero .kicker{margin:0 0 26px 0;width:calc((100% + 48px) * .85)}
@media(max-width:860px){.hero .kicker{width:100%}}

/* Unser Versprechen: neues Band */
.band{background:var(--petrol);border-top:6px solid var(--sky)}
.band-in{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:clamp(24px,4vw,64px)}
.bh{position:relative;margin:0;padding-top:16px;color:#fff;font-size:clamp(26px,3.2vw,48px);line-height:1;text-transform:uppercase;font-weight:800;white-space:nowrap}
.bh::before{content:"";position:absolute;top:0;left:0;width:64px;height:6px;background:var(--sky)}
.bw{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,2vw,28px);margin:0;padding:0}
.bw li{display:flex;align-items:center;gap:12px;font-size:clamp(15px,1.3vw,19px);font-weight:700;line-height:1.2;color:#fff}
.ck{flex:none;width:34px;height:34px;border-radius:var(--r);background:var(--sky);color:var(--petrol);display:grid;place-items:center}
@media(min-width:861px) and (max-height:800px){
  .snap .band-in{padding-top:8px;padding-bottom:10px}
  .bh{padding-top:12px;font-size:clamp(22px,2.8vw,36px)}
  .ck{width:28px;height:28px}
}
@media(max-width:860px){
  .band-in{grid-template-columns:1fr;gap:14px}
  .bh{font-size:30px;white-space:normal}
  .bw{grid-template-columns:1fr;gap:10px}
  .bw li{font-size:17px}
}
.hero .kicker{white-space:nowrap;font-size:clamp(14px,1.5vw,21px);letter-spacing:.12em}
@media(max-width:860px){.hero .kicker{white-space:normal}}

/* Kopfzeile ohne Trennstrich */
header{border-bottom:0!important}

/* Unser Versprechen: ein dunkler Kasten bis zum unteren Seitenende, ohne hellblaue Linien */
.snap #beratung{padding-bottom:0}
.snap #beratung .band{margin-top:auto;border-top:0;padding-bottom:clamp(54px,7vh,66px)}
.snap #beratung .wrap.band-in{padding-top:clamp(16px,2.6vh,26px);padding-bottom:0}
.bh{padding-top:0}
.bh::before{display:none}
#beratung .next{color:var(--sky);border-color:var(--sky)}
@media(min-width:861px) and (max-height:800px){
  .snap #beratung .band{padding-bottom:54px}
  .snap #beratung .wrap.band-in{padding-top:12px}
  .bh{padding-top:0}
}
@media(max-width:860px){
  .snap #beratung{padding-bottom:0}
  .snap #beratung .band{padding-bottom:76px}
}

/* Start: Kontakt und Instagram gleich groß, bündig mit dem Überschrift-Kasten */
.hero .cta{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:calc((100% + 48px) * .85)}
.hero .cta .btn{width:100%;justify-content:center;padding:16px 22px;border:2px solid var(--sky)}
.hero .cta .btn.ghost{background:transparent}
@media(max-width:860px){.hero .cta{width:100%}}

/* Feinschliff Beratung: Inhalt mittig über dem Kasten, Pfeil unterhalb der Texte */
.snap #beratung > .wrap{margin-top:auto;margin-bottom:auto}
.snap #beratung .band{margin-top:0;padding-bottom:70px}
#beratung .next{bottom:12px}
.snap #beratung .wrap.band-in{padding-top:clamp(18px,2.8vh,28px)}
@media(min-width:861px) and (max-height:800px){
  .snap #beratung .band{padding-bottom:64px}
  .snap #beratung .wrap.band-in{padding-top:12px}
}
@media(max-width:860px){#beratung .next{bottom:14px}.snap #beratung .band{padding-bottom:78px}}

/* Pfeil nach unten ohne Kasten */
.next,.next:hover,.hero .next,.contact .next,#beratung .next{border:0!important;background:transparent!important;box-shadow:none}
.next{width:52px;height:52px}
.next svg{width:32px;height:32px;stroke-width:2.2}
.next:hover{opacity:.7}

/* Beratung, Karte 1: Wortwolke, bei Mouseover erscheint der Text */
.swap{position:relative}
.swap .txt{margin:0;opacity:0;transition:opacity .6s ease}
.swap .cloud{position:absolute;inset:0;transition:opacity .6s ease;pointer-events:none}
.cloud span{position:absolute;font-weight:800;line-height:1;letter-spacing:-.01em;white-space:nowrap}
.cloud .w1{left:0;top:0;font-size:clamp(20px,3.8vh,36px);color:#9aa8b0}
.cloud .w2{right:4%;top:8%;font-size:clamp(16px,2.8vh,27px);color:#bcc6cc}
.cloud .w3{left:34%;top:38%;font-size:clamp(19px,3.5vh,33px);color:#a9b5bc}
.cloud .w4{left:0;bottom:0;font-size:clamp(15px,2.6vh,25px);color:#c2ccd1}
.cloud .w5{right:0;bottom:4%;font-size:clamp(17px,3.1vh,30px);color:#8f9ea7}
.card.flip.show .swap .txt,.card.flip:focus-visible .swap .txt{opacity:1}
.card.flip.show .swap .cloud,.card.flip:focus-visible .swap .cloud{opacity:0}
.card.flip:focus{outline:2px solid var(--sky);outline-offset:2px}

/* Startseite: Absatz nach der ersten Zeile, Bild unten bündig mit den Buttons, Buttons ca. 5 % kleiner */
h1 .hg{display:block;height:.38em;font-style:normal}
.hero .wrap{align-items:end}
.hero .cta{width:calc((100% + 48px) * .85 * .95)}
.hero .cta .btn{padding:14.5px 22px}
@media(max-width:860px){.hero .wrap{align-items:start}.hero .cta{width:100%}}

/* Beratung: Text im dunklen Kasten direkt unter dem Bild, ohne Zahlen */
#beratung .card{border-color:var(--petrol);background:var(--petrol)}
#beratung .card .body{flex:1;background:var(--petrol);color:#fff}
#beratung .card .head h3{color:#fff}
#beratung .card p{color:#dbe6ec}
#beratung .card .pic{border-bottom:0}
#beratung .cloud .w1{color:#7f97a3}
#beratung .cloud .w2{color:#587482}
#beratung .cloud .w3{color:#6d8896}
#beratung .cloud .w4{color:#4c6675}
#beratung .cloud .w5{color:#8ea5b0}
#beratung .card.flip:focus{outline-color:var(--sky)}

/* Korrektur Beratung: nur die Überschrift im dunklen Kasten, Rest weiß */
#beratung .card{border-color:var(--line);background:#fff}
#beratung .card .body{padding:0;background:#fff;color:inherit}
#beratung .card .head{margin:0;padding:12px 20px;background:var(--petrol)}
#beratung .card .head h3{color:#fff;margin:0}
#beratung .card p{color:var(--gray)}
#beratung .card .body > p{margin:0;padding:14px 20px 16px}
#beratung .swap{padding:14px 20px 16px}
#beratung .swap .txt{padding:0}
#beratung .cloud{inset:14px 20px 16px}
#beratung .cloud .w1{color:#9aa8b0}
#beratung .cloud .w2{color:#bcc6cc}
#beratung .cloud .w3{color:#a9b5bc}
#beratung .cloud .w4{color:#c2ccd1}
#beratung .cloud .w5{color:#8f9ea7}
@media(min-width:861px) and (max-height:800px){
  #beratung .card .head{padding:9px 16px}
  #beratung .card .body > p,#beratung .swap{padding:10px 16px 12px}
  #beratung .cloud{inset:10px 16px 12px}
}

/* Wortwolken Karte 2 und 3 (Größen relativ zur Kartenbreite) */
.swap{container-type:inline-size}
.cloud.c2 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(10cqw,3.8vh)}
.cloud.c2 .w2{left:auto;right:0;top:6%;bottom:auto;font-size:min(7.5cqw,2.8vh)}
.cloud.c2 .w3{left:26%;right:auto;top:38%;bottom:auto;font-size:min(9cqw,3.5vh)}
.cloud.c2 .w4{left:0;right:auto;top:auto;bottom:0;font-size:min(7cqw,2.6vh)}
.cloud.c2 .w5{left:auto;right:0;top:auto;bottom:4%;font-size:min(8.5cqw,3.1vh)}
.cloud.c3 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(10cqw,3.8vh)}
.cloud.c3 .w2{left:auto;right:0;top:8%;bottom:auto;font-size:min(8cqw,2.9vh)}
.cloud.c3 .w3{left:0;right:auto;top:41%;bottom:auto;font-size:min(9cqw,3.5vh)}
.cloud.c3 .w4{left:auto;right:0;top:46%;bottom:auto;font-size:min(8cqw,3vh)}
.cloud.c3 .w5{left:8%;right:auto;top:auto;bottom:0;font-size:min(9cqw,3.3vh)}

/* Vertrauensangaben im Kontaktbereich */
.trust{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:10px}
.trust li{display:flex;align-items:center;gap:12px;color:#fff;font-weight:600;font-size:16px;line-height:1.3}
.trust .ck{width:26px;height:26px}
@media(min-width:861px) and (max-height:800px){.trust{margin-bottom:16px;gap:7px}.trust li{font-size:15px}}

/* iPhone / schmale Bildschirme */
@media(max-width:860px){
  .hbar{padding:6px 20px 4px;gap:4px 8px}
  .hnav{font-size:14px;padding-top:0}
  .hnav a{padding:4px 0}
  .bd{display:none}
  #aktuelles .grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 -24px;padding:0 24px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  #aktuelles .grid::-webkit-scrollbar{display:none}
  #aktuelles .card.post{flex:0 0 74%;max-width:none;scroll-snap-align:start}
  #aktuelles .igrow{margin-top:18px}
}

@media(max-width:860px){.logo img{height:36px}}

/* Leistungen: Überschrift im helleren Kasten direkt unter dem Foto */
#leistungen .card .body{padding:0}
#leistungen .card .head{margin:0;padding:12px 18px;background:var(--sky)}
#leistungen .card .head h3{margin:0;color:var(--petrol);font-size:18px}
#leistungen .card .txtbox{padding:14px 18px 16px}
#leistungen .card .txtbox p:first-child{margin:0}
@media(min-width:861px) and (max-height:800px){
  #leistungen .card .head{padding:9px 14px}
  #leistungen .card .head h3{font-size:16px}
  #leistungen .card .txtbox{padding:10px 14px 12px}
}

/* Leistungen: Überschriftskästen in Grau, Abschluss-Band wie bei Beratung */
#leistungen .card .head{background:#cfd7dc}
#leistungen .card .head h3{color:var(--petrol)}
.snap #leistungen{padding-bottom:0}
.snap #leistungen > .wrap{margin-top:auto;margin-bottom:auto}
.snap #leistungen .band{margin-top:0;border-top:0;padding-bottom:70px}
.snap #leistungen .wrap.band-in{padding-top:clamp(18px,2.8vh,28px);padding-bottom:0}
#leistungen .next{color:var(--sky);border-color:var(--sky);bottom:12px}
@media(min-width:861px) and (max-height:800px){
  .snap #leistungen .band{padding-bottom:64px}
  .snap #leistungen .wrap.band-in{padding-top:12px}
}
@media(max-width:860px){
  .snap #leistungen{padding-bottom:0}
  #leistungen .next{bottom:14px}
  .snap #leistungen .band{padding-bottom:78px}
}

.bw{grid-template-columns:repeat(3,minmax(0,1fr))}
.bw li{min-width:0;overflow-wrap:break-word}
#leistungen .bh{font-size:clamp(24px,2.7vw,40px)}
@media(max-width:860px){#leistungen .bh{font-size:30px}}
@media(max-width:860px){.bw{grid-template-columns:1fr}}

/* Touch (iPhone/iPad): Tippen statt Mouseover, kleines Plus/Minus zeigt die Bedienung */
@media(hover:none){
  #beratung .card.flip{cursor:pointer;-webkit-tap-highlight-color:transparent}
  #beratung .card.flip .head{position:relative;padding-right:52px}
  #beratung .card.flip .head::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-52%);font-size:28px;line-height:1;font-weight:300;color:var(--sky)}
  #beratung .card.flip.show .head::after{content:"\2013"}
}
.card.flip:focus:not(:focus-visible){outline:none}

/* Leistungen: Stichworte als Wortwolke, Text per Mouseover bzw. Tippen */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#leistungen .swap{min-height:clamp(100px,15vh,130px)}
.cloud.h1 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(11cqw,3.1vh)}
.cloud.h1 .w2{left:0;right:auto;top:38%;bottom:auto;font-size:min(11cqw,3.1vh)}
.cloud.h1 .w3{left:auto;right:0;top:auto;bottom:0;font-size:min(10cqw,2.9vh)}
.cloud.h1 .w4{left:auto;right:0;top:6%;bottom:auto;font-size:min(9cqw,2.6vh)}
.cloud.h2 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(9cqw,2.7vh);line-height:1.08}
.cloud.h2 .w2{left:auto;right:0;top:44%;bottom:auto;font-size:min(12cqw,3.3vh)}
.cloud.h2 .w3{left:0;right:auto;top:auto;bottom:0;font-size:min(10.5cqw,3vh)}
.cloud.h3 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(11cqw,3.1vh)}
.cloud.h3 .w2{left:auto;right:0;top:40%;bottom:auto;font-size:min(9.5cqw,2.8vh)}
.cloud.h3 .w3{left:0;right:auto;top:auto;bottom:0;font-size:min(11cqw,3.1vh)}
.cloud.h4 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(9.2cqw,2.7vh)}
.cloud.h4 .w2{left:auto;right:0;top:36%;bottom:auto;font-size:min(9.2cqw,2.7vh)}
.cloud.h4 .w3{left:0;right:auto;top:auto;bottom:0;font-size:min(9.2cqw,2.7vh)}
#leistungen .cloud .w1{color:#9aa8b0}
#leistungen .cloud .w2{color:#8f9ea7}
#leistungen .cloud .w3{color:#a9b5bc}
#leistungen .cloud .w4{color:#bcc6cc}
@media(hover:none){
  #leistungen .card.flip{cursor:pointer;-webkit-tap-highlight-color:transparent}
  #leistungen .card.flip .head{position:relative;padding-right:52px}
  #leistungen .card.flip .head::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-52%);font-size:28px;line-height:1;font-weight:300;color:var(--petrol)}
  #leistungen .card.flip.show .head::after{content:"\2013"}
}
@media(min-width:861px) and (max-height:800px){#leistungen .swap{min-height:96px}}
.cloud.h2 .w2{top:50%}
@media(min-width:861px) and (max-height:800px){
  .cloud.h2 .w1{font-size:min(8.6cqw,2.3vh)}
  .cloud.h2 .w2{top:52%;font-size:min(11cqw,2.9vh)}
}

/* Leistungen: erweiterte Wortwolken (4-6 Wörter) */
#leistungen .swap{min-height:clamp(150px,21vh,190px)}
.cloud.h1 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(10cqw,2.9vh)}
.cloud.h1 .w4{left:auto;right:0;top:8%;bottom:auto;font-size:min(8cqw,2.32vh)}
.cloud.h1 .w2{left:auto;right:0;top:22%;bottom:auto;font-size:min(10cqw,2.9vh)}
.cloud.h1 .w5{left:0;right:auto;top:42%;bottom:auto;font-size:min(9cqw,2.61vh)}
.cloud.h1 .w3{left:auto;right:0;top:64%;bottom:auto;font-size:min(10cqw,2.9vh)}
.cloud.h1 .w6{left:0;right:auto;top:auto;bottom:0;font-size:min(8.4cqw,2.44vh)}
.cloud.h2 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(9cqw,2.61vh);line-height:1.08}
.cloud.h2 .w2{left:auto;right:0;top:30%;bottom:auto;font-size:min(11cqw,3.19vh)}
.cloud.h2 .w3{left:0;right:auto;top:55%;bottom:auto;font-size:min(8.5cqw,2.46vh);line-height:1.08}
.cloud.h2 .w4{left:auto;right:0;top:auto;bottom:0;font-size:min(13cqw,3.77vh)}
.cloud.h3 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(10cqw,2.9vh)}
.cloud.h3 .w4{left:auto;right:0;top:22%;bottom:auto;font-size:min(8.4cqw,2.44vh)}
.cloud.h3 .w2{left:0;right:auto;top:45%;bottom:auto;font-size:min(11cqw,3.19vh)}
.cloud.h3 .w5{left:auto;right:0;top:50%;bottom:auto;font-size:min(9.5cqw,2.75vh)}
.cloud.h3 .w3{left:0;right:auto;top:auto;bottom:0;font-size:min(11cqw,3.19vh)}
.cloud.h4 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(8.4cqw,2.44vh)}
.cloud.h4 .w2{left:auto;right:0;top:21%;bottom:auto;font-size:min(8.4cqw,2.44vh)}
.cloud.h4 .w3{left:0;right:auto;top:42%;bottom:auto;font-size:min(8.4cqw,2.44vh)}
.cloud.h4 .w4{left:auto;right:0;top:62%;bottom:auto;font-size:min(8.4cqw,2.44vh)}
.cloud.h4 .w5{left:0;right:auto;top:auto;bottom:0;font-size:min(9.5cqw,2.75vh)}
#leistungen .cloud .w5{color:#b0bcc2}
#leistungen .cloud .w6{color:#98a6ae}
@media(min-width:861px) and (max-height:800px){#leistungen .swap{min-height:clamp(118px,19vh,150px)}}

/* Leistungen: freier angeordnete Wolken, Text füllt das Feld */
.cloud span{transform-origin:left center}
#leistungen .card .body{flex:1;display:flex;flex-direction:column}
#leistungen .card .txtbox{flex:1;display:flex;flex-direction:column}
#leistungen .card .swap{flex:1}
.cloud.h1 .w5{left:12%;right:auto;top:2%;bottom:auto;font-size:min(9cqw,2.61vh);transform:rotate(-2deg)}
.cloud.h1 .w1{left:0;right:auto;top:24%;bottom:auto;font-size:min(10.5cqw,3.04vh);transform:rotate(1.5deg)}
.cloud.h1 .w4{left:auto;right:2%;top:30%;bottom:auto;font-size:min(8cqw,2.32vh);transform:rotate(-3deg)}
.cloud.h1 .w3{left:49%;right:auto;top:49%;bottom:auto;font-size:min(9.5cqw,2.75vh);transform:rotate(2deg)}
.cloud.h1 .w2{left:1%;right:auto;top:57%;bottom:auto;font-size:min(10cqw,2.9vh);transform:rotate(-1.5deg)}
.cloud.h1 .w6{left:20%;right:auto;top:auto;bottom:0;font-size:min(8.2cqw,2.38vh);transform:rotate(1deg)}
.cloud.h2 .w2{left:30%;right:auto;top:0;bottom:auto;font-size:min(11cqw,3.19vh);transform:rotate(1.5deg)}
.cloud.h2 .w1{left:0;right:auto;top:25%;bottom:auto;font-size:min(8.8cqw,2.55vh);transform:rotate(-2deg);line-height:1.08}
.cloud.h2 .w4{left:auto;right:5%;top:54%;bottom:auto;font-size:min(13cqw,3.77vh);transform:rotate(-3deg)}
.cloud.h2 .w3{left:6%;right:auto;top:auto;bottom:0;font-size:min(8.2cqw,2.38vh);transform:rotate(1.5deg);line-height:1.08}
.cloud.h3 .w4{left:auto;right:0;top:2%;bottom:auto;font-size:min(8.2cqw,2.38vh);transform:rotate(-1.5deg)}
.cloud.h3 .w1{left:4%;right:auto;top:25%;bottom:auto;font-size:min(9.8cqw,2.84vh);transform:rotate(2deg)}
.cloud.h3 .w5{left:auto;right:0;top:48%;bottom:auto;font-size:min(9.2cqw,2.67vh);transform:rotate(-2.5deg)}
.cloud.h3 .w2{left:9%;right:auto;top:52%;bottom:auto;font-size:min(10.5cqw,3.04vh);transform:rotate(-1.5deg)}
.cloud.h3 .w3{left:38%;right:auto;top:auto;bottom:0;font-size:min(10.5cqw,3.04vh);transform:rotate(1.5deg)}
.cloud.h4 .w3{left:0;right:auto;top:0;bottom:auto;font-size:min(8.2cqw,2.38vh);transform:rotate(1.5deg)}
.cloud.h4 .w2{left:auto;right:0;top:21%;bottom:auto;font-size:min(8.2cqw,2.38vh);transform:rotate(-2deg)}
.cloud.h4 .w5{left:6%;right:auto;top:43%;bottom:auto;font-size:min(9.4cqw,2.73vh);transform:rotate(2deg)}
.cloud.h4 .w1{left:auto;right:4%;top:61%;bottom:auto;font-size:min(8.2cqw,2.38vh);transform:rotate(-1.5deg)}
.cloud.h4 .w4{left:0;right:auto;top:auto;bottom:0;font-size:min(8.2cqw,2.38vh);transform:rotate(1deg)}

.cloud.h1 .w6,.cloud.h2 .w3,.cloud.h3 .w3,.cloud.h4 .w4{bottom:5%}
.cloud.h4 .w5{top:40%}
.cloud.h4 .w1{top:62%;transform:none}
.cloud.h4 .w2{transform:none}

.cloud.h2 .w4{left:auto;right:3%;top:55%;bottom:auto;font-size:min(9.4cqw,2.7vh);transform:rotate(-2.5deg)}
.cloud.h2 .w2{left:0;right:auto;top:0;bottom:auto;font-size:min(10.5cqw,3vh);transform:rotate(1.5deg)}
.cloud.h2 .w4{left:auto;right:0;top:19%;bottom:auto;font-size:min(8.6cqw,2.5vh);transform:rotate(-2deg)}
.cloud.h2 .w1{left:2%;right:auto;top:41%;bottom:auto;font-size:min(8.6cqw,2.5vh);transform:rotate(-1.5deg);line-height:1.08}
.cloud.h2 .w3{left:14%;right:auto;top:auto;bottom:5%;font-size:min(8.2cqw,2.4vh);transform:rotate(1.5deg);line-height:1.08}
@media(min-width:861px) and (max-height:800px){
  .cloud.h2 .w2{font-size:min(9.2cqw,2.6vh)}
  .cloud.h2 .w4{top:17%;font-size:min(7.6cqw,2.2vh)}
  .cloud.h2 .w1{top:38%;font-size:min(7.6cqw,2.2vh)}
  .cloud.h2 .w3{bottom:4%;font-size:min(7.3cqw,2.1vh)}
}

/* ===== Einheitliche Karten: Beratung und Leistungen identisch ===== */
#beratung .grid.g3{grid-template-columns:repeat(3,calc((100% - 66px)/4));justify-content:center}
@media(max-width:1099px){#beratung .grid.g3{grid-template-columns:repeat(3,1fr);justify-content:stretch}}
@media(max-width:860px){#beratung .grid.g3{grid-template-columns:1fr}}
#beratung .card .body,#leistungen .card .body{flex:1;display:flex;flex-direction:column;padding:0}
#beratung .card .head,#leistungen .card .head{margin:0;padding:12px 18px}
#beratung .card .head h3,#leistungen .card .head h3{margin:0;font-size:18px;font-weight:700;line-height:1.25}
#beratung .card .txtbox,#leistungen .card .txtbox{flex:1;display:flex;flex-direction:column;padding:14px 18px 16px}
#beratung .card .swap,#leistungen .card .swap{flex:1;padding:0;min-height:clamp(150px,21vh,190px)}
#beratung .cloud,#leistungen .cloud{inset:0}
#beratung .card .txt,#leistungen .card .txt{margin:0;padding:0;font-size:15px;line-height:1.5;color:var(--gray);text-align:justify;text-align-last:center;hyphens:auto;-webkit-hyphens:auto}
@media(min-width:861px) and (max-height:800px){
  #beratung .card .head,#leistungen .card .head{padding:9px 14px}
  #beratung .card .head h3,#leistungen .card .head h3{font-size:16px}
  #beratung .card .txtbox,#leistungen .card .txtbox{padding:10px 14px 12px}
  #beratung .card .swap,#leistungen .card .swap{min-height:clamp(118px,19vh,150px)}
  #beratung .card .txt,#leistungen .card .txt{font-size:13.5px;line-height:1.4}
}
/* Beratung: Text zuerst, Wolke bei Mouseover/Tippen (Leistungen umgekehrt) */
#beratung .card.flip .swap .txt{opacity:1}
#beratung .card.flip .swap .cloud{opacity:0}
#beratung .card.flip.show .swap .txt,#beratung .card.flip:focus-visible .swap .txt{opacity:0}
#beratung .card.flip.show .swap .cloud,#beratung .card.flip:focus-visible .swap .cloud{opacity:1}
.cloud.b1 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(12cqw,3.48vh)}
.cloud.b1 .w4{left:auto;right:0;top:14%;bottom:auto;font-size:min(8.4cqw,2.44vh)}
.cloud.b1 .w3{left:18%;right:auto;top:38%;bottom:auto;font-size:min(11cqw,3.19vh)}
.cloud.b1 .w5{left:auto;right:0;top:58%;bottom:auto;font-size:min(9.5cqw,2.75vh)}
.cloud.b1 .w2{left:8%;right:auto;top:auto;bottom:4%;font-size:min(10cqw,2.9vh)}
.cloud.b2 .w3{left:16%;right:auto;top:0;bottom:auto;font-size:min(9cqw,2.61vh)}
.cloud.b2 .w1{left:auto;right:0;top:21%;bottom:auto;font-size:min(11cqw,3.19vh)}
.cloud.b2 .w4{left:2%;right:auto;top:38%;bottom:auto;font-size:min(8.6cqw,2.49vh)}
.cloud.b2 .w5{left:auto;right:2%;top:58%;bottom:auto;font-size:min(10.5cqw,3.04vh)}
.cloud.b2 .w2{left:12%;right:auto;top:auto;bottom:4%;font-size:min(9cqw,2.61vh)}
.cloud.b3 .w5{left:6%;right:auto;top:0;bottom:auto;font-size:min(8.4cqw,2.44vh)}
.cloud.b3 .w1{left:auto;right:0;top:20%;bottom:auto;font-size:min(11cqw,3.19vh)}
.cloud.b3 .w2{left:3%;right:auto;top:38%;bottom:auto;font-size:min(9.5cqw,2.75vh)}
.cloud.b3 .w4{left:auto;right:2%;top:58%;bottom:auto;font-size:min(10cqw,2.9vh)}
.cloud.b3 .w3{left:16%;right:auto;top:auto;bottom:4%;font-size:min(10.5cqw,3.04vh)}
.cloud span{transform:none!important}

/* Beratung: vierte Karte (Regelmäßiger Check), Platzhalter wie die Fotos */
.ph.wide{width:100%;max-height:14.5vh;aspect-ratio:16/9;min-height:0;overflow:hidden}
.ph.wide span{font-size:11px;line-height:1.3;padding:8px 12px}
@media(min-width:861px) and (max-height:800px){.ph.wide{max-height:14.5vh}.ph.wide span{font-size:10px;padding:6px 10px}}
.cloud.b4 .w1{left:0;right:auto;top:0;bottom:auto;font-size:min(10.5cqw,3.04vh)}
.cloud.b4 .w2{left:auto;right:0;top:18%;bottom:auto;font-size:min(9cqw,2.61vh)}
.cloud.b4 .w3{left:8%;right:auto;top:38%;bottom:auto;font-size:min(11.5cqw,3.33vh)}
.cloud.b4 .w4{left:auto;right:2%;top:58%;bottom:auto;font-size:min(9.5cqw,2.75vh)}
.cloud.b4 .w5{left:20%;right:auto;top:auto;bottom:4%;font-size:min(10.5cqw,3.04vh)}

/* Leistungen: Abschlussband in Grau */
#leistungen .band{background:#cfd7dc}
#leistungen .bh{color:var(--petrol)}
#leistungen .bw li{color:var(--petrol)}
#leistungen .next{color:var(--petrol)}

/* ===== Kopfzeile dunkel, Schrift weiß/grau (alle Seiten) ===== */
header,html.pager header{background:var(--petrol)!important;border-bottom:0!important}
.hnav a{color:#e3ebef}
.hnav a:hover{color:#fff;border-color:var(--sky)}
.hnav a.active{color:#fff;border-color:var(--sky)}

/* Formular-Hinweis */
.hint{margin-top:12px;font-size:13px;line-height:1.4;color:#b7c9d3}

/* Beratung & Leistungen: Textfeld vertikal zentriert */
#beratung .card .swap,#leistungen .card .swap{display:flex;align-items:center}
#beratung .card .txt,#leistungen .card .txt{width:100%}

/* Seite 2 und 3 (Desktop): Inhalt nach oben, gewonnener Platz geht in die Karten, größere Zeilenabstände */
@media(min-width:861px){
  .snap #beratung,.snap #leistungen{padding-top:clamp(10px,1.6vh,18px)}
  .snap #beratung > .wrap,.snap #leistungen > .wrap{margin:0;flex:1;display:flex;flex-direction:column}
  #beratung .sub,#leistungen .sub{min-height:4.5em;line-height:1.5}
  #beratung .grid,#leistungen .grid{flex:1}
  #beratung .card .swap,#leistungen .card .swap{min-height:0}
  #beratung .card .txt,#leistungen .card .txt{line-height:1.85}
}
@media(min-width:861px) and (max-height:800px){
  #beratung .sub,#leistungen .sub{line-height:1.45}
  #beratung .card .txt,#leistungen .card .txt{line-height:1.7}
}
/* Bänder: gleiche Überschriftgröße, damit beide Seiten gleich hoch sind */
#leistungen .bh{font-size:clamp(26px,3.2vw,48px)}
@media(min-width:861px) and (max-height:800px){#leistungen .bh{font-size:clamp(22px,2.8vw,36px)}}
@media(max-width:860px){#leistungen .bh{font-size:30px}}
@media(min-width:861px){
  .snap #beratung > .wrap,.snap #leistungen > .wrap{margin:0 auto}
  #beratung .label,#leistungen .label{align-self:flex-start}
}

/* Abstand zwischen den Karten und dem Abschlussband (Seite 2 und 3) */
@media(min-width:861px){
  #beratung .grid,#leistungen .grid{margin-bottom:clamp(18px,3.2vh,34px)}
  #beratung .card .txt,#leistungen .card .txt{line-height:1.72}
}
@media(min-width:861px) and (max-height:800px){
  #beratung .card .txt,#leistungen .card .txt{line-height:1.6}
}
@media(min-width:861px){#leistungen .swap{min-height:clamp(130px,17vh,165px)}}
@media(min-width:861px) and (max-height:800px){#leistungen .swap{min-height:clamp(100px,16vh,125px)}}
@media(min-width:861px) and (max-height:900px){
  #beratung .card .txt,#leistungen .card .txt{line-height:1.6}
  #leistungen .swap{min-height:clamp(100px,15vh,128px)}
}

/* Dankeschön nach dem Absenden */
.thanks{text-align:center;padding:28px 8px 20px}
.thanks[hidden],#kbody[hidden]{display:none}
.thanks .ok-ic{width:64px;height:64px;margin:0 auto 18px;border-radius:var(--r);background:var(--sky);color:var(--petrol);display:grid;place-items:center;font-size:36px;font-weight:800}
.thanks h2{margin-bottom:8px}
.thanks p{margin:0}
dialog#kf{transition:opacity 1.5s ease}
dialog#kf.fade{opacity:0}

/* Hinweis bei Rückkehr vom Formular */
.toast{position:fixed;left:50%;bottom:28px;z-index:60;display:flex;align-items:center;gap:14px;max-width:min(560px,calc(100vw - 32px));padding:16px 20px;background:var(--petrol);color:#fff;border:2px solid var(--sky);border-radius:var(--r);box-shadow:0 12px 40px rgba(0,0,0,.35);font-weight:600;line-height:1.4;cursor:pointer;opacity:0;pointer-events:none;transform:translate(-50%,16px);transition:opacity .9s ease,transform .9s ease}
.toast.on{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.toast .ck2{flex:none;width:30px;height:30px;border-radius:var(--r);background:var(--sky);color:var(--petrol);display:grid;place-items:center;font-weight:800}
