@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');
:root{--ink:#3e4549;--muted:#747d82;--paper:#ffffff;--white:#fff;--sage:#f1f8fb;--deep:#087cad;--blue:#00a6d9;--blue-dark:#087cad;--blue-light:#eaf7fc;--line:#d8e8ef;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff;color:var(--ink);font-family:"DM Sans",Arial,sans-serif;line-height:1.65}a{color:inherit}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:#fff;padding:10px;z-index:99}
.topbar{background:var(--blue-dark);color:#fff;font-size:.84rem}.topbar-inner{height:34px;display:flex;justify-content:flex-end;gap:24px;align-items:center}.topbar a{text-decoration:none;opacity:.9}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,0,0,.06)}.navrow{height:78px;display:flex;align-items:center;justify-content:space-between}.brand img{width:190px;display:block}.nav{display:flex;align-items:center;gap:28px}.nav a{text-decoration:none;font-size:.92rem;font-weight:500}.nav a:hover{color:var(--blue)}.nav-cta{border:1px solid var(--blue-dark);padding:10px 17px;border-radius:999px}.menu-btn{display:none;border:0;background:transparent;font:inherit}
.hero{min-height:680px;position:relative;overflow:hidden;display:flex;align-items:center;background:#eef8fc}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.93) 42%,rgba(255,255,255,.20) 74%),url("../images/slide1.png") right center/cover no-repeat;filter:saturate(.8)}.hero-grid{position:relative;display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:80px;padding:100px 0}.hero-copy{max-width:690px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:600;color:var(--blue);margin:0 0 18px}.hero h1,.section-head h2,.contact h2{font-family:"Newsreader",Georgia,serif;font-weight:400;line-height:1.03;letter-spacing:-.025em}.hero h1{font-size:clamp(3.6rem,7vw,6.8rem);margin:0 0 28px}.hero h1 em{font-weight:400;color:var(--blue-dark)}.lead{font-size:1.25rem;max-width:620px;color:#44514e}.hero-actions{display:flex;gap:12px;margin-top:34px}.button{display:inline-flex;text-decoration:none;padding:14px 20px;border-radius:999px;font-weight:600;font-size:.92rem}.primary{background:var(--blue-dark);color:#fff}.ghost{border:1px solid #8a9691;background:rgba(255,255,255,.35)}.quote-card{align-self:end;background:rgba(255,255,255,.72);backdrop-filter:blur(8px);padding:28px;border-left:3px solid var(--blue);max-width:360px}.quote-card p{font-family:"Newsreader",Georgia,serif;font-size:1.55rem;line-height:1.25;margin:0 0 10px}.quote-card span{font-size:.8rem;color:var(--muted)}
.section{padding:110px 0}.section-head{max-width:760px;margin-bottom:48px}.section-head h2,.contact h2{font-size:clamp(2.6rem,5vw,4.7rem);margin:0 0 20px}.section-head>p:last-child{color:var(--muted);font-size:1.05rem}.compact{margin-bottom:30px}.themes{padding:80px 0;background:var(--white)}.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.theme-grid article{background:#fff;padding:28px;min-height:220px;display:flex;flex-direction:column}.theme-grid b{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--blue)}.theme-grid p{font-family:"Newsreader",Georgia,serif;font-size:1.3rem;line-height:1.3;margin:auto 0 16px}.theme-grid span{font-size:.75rem;color:var(--muted)}.all-quotes{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.all-quotes summary{cursor:pointer;font-weight:600;color:var(--deep)}.quote-columns{columns:2;column-gap:56px;padding-top:30px}.quote-columns div{break-inside:avoid;margin-bottom:32px}.quote-columns h3{font-family:"Newsreader",Georgia,serif;font-size:1.55rem;margin:0 0 10px}.quote-columns p{font-size:.9rem;color:#4e5a57}
.about{background:var(--blue-light)}.two-col{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.prose{font-size:1.05rem}.prose p{margin-top:0;margin-bottom:24px}.signature{font-family:"Newsreader",Georgia,serif;font-size:2rem}
.services{background:#fff}.service-stack{border-top:1px solid #bfc6c1}.service-stack details{border-bottom:1px solid #bfc6c1}.service-stack summary{list-style:none;cursor:pointer;padding:27px 0;display:grid;grid-template-columns:70px 1fr auto;align-items:center}.service-stack summary::-webkit-details-marker{display:none}.service-stack summary span{color:var(--blue);font-size:.8rem}.service-stack summary strong{font-family:"Newsreader",Georgia,serif;font-size:clamp(1.55rem,3vw,2.4rem);font-weight:400}.service-stack summary:after{content:"+";font-size:1.7rem;font-weight:300}.service-stack details[open] summary:after{content:"–"}.service-body{max-width:850px;margin-left:70px;padding:0 0 36px;color:#46524f}.service-body blockquote{border-left:3px solid var(--blue);margin:25px 0;padding:10px 0 10px 22px;font-family:"Newsreader",Georgia,serif;font-size:1.25rem;color:var(--ink)}
.locations{background:var(--blue-dark);color:#fff}.locations .eyebrow{color:#9fd3e8}.locations .section-head>p:last-child{color:#d8e0dc}.location-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.location-grid article{border:1px solid rgba(255,255,255,.2);padding:38px;min-height:280px}.location-city{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;color:#9fd3e8}.location-grid h3{font-family:"Newsreader",Georgia,serif;font-size:2rem;font-weight:400;margin:12px 0}.location-grid a{display:inline-block;margin-top:20px;color:#fff}
.contact{background:#fff}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.contact-actions{display:grid;gap:12px}.contact-actions a{display:flex;flex-direction:column;text-decoration:none;border:1px solid var(--line);padding:22px 25px;transition:.2s}.contact-actions a:hover{transform:translateY(-2px);border-color:var(--blue-dark)}.contact-actions span{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.contact-actions strong{font-family:"Newsreader",Georgia,serif;font-size:1.5rem;font-weight:400}
.memberships{padding:70px 0}.logos{display:flex;gap:48px;align-items:center;flex-wrap:wrap}.logos img{max-height:70px;max-width:320px;object-fit:contain;filter:grayscale(1);opacity:.78}
footer{background:var(--blue-dark);color:#fff;padding:35px 0}.footer-inner{display:flex;align-items:center;gap:30px}.footer-inner img{width:145px;filter:brightness(0) invert(1);opacity:.8}.footer-inner p{margin:0;font-size:.8rem;opacity:.7;flex:1}.footer-inner a{text-decoration:none;font-size:.8rem}
@media(max-width:900px){.wrap{width:min(100% - 32px,var(--max))}.topbar-inner{justify-content:center}.navrow{height:68px}.brand img{width:160px}.menu-btn{display:block}.nav{display:none;position:absolute;top:102px;left:0;right:0;background:#fff;padding:20px 24px 28px;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start}.nav.open{display:flex}.hero{min-height:620px}.hero-bg{background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.78)),url("../images/slide1.png") center/cover}.hero-grid{grid-template-columns:1fr;padding:70px 0}.quote-card{display:none}.theme-grid{grid-template-columns:repeat(2,1fr)}.two-col,.contact-grid{grid-template-columns:1fr;gap:20px}.section{padding:75px 0}.quote-columns{columns:1}.location-grid{grid-template-columns:1fr}.service-body{margin-left:0}.footer-inner{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:560px){.topbar-inner{font-size:.72rem;gap:12px}.hero h1{font-size:3.4rem}.hero-actions{flex-direction:column;align-items:flex-start}.theme-grid{grid-template-columns:1fr}.theme-grid article{min-height:180px}.service-stack summary{grid-template-columns:42px 1fr auto}.service-stack summary strong{font-size:1.45rem}.location-grid article{padding:28px}.logos img{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* SIEF Original-Branding */
.brand{display:flex;align-items:center;min-width:235px}
.brand img{width:225px;height:auto;object-fit:contain}
.site-header{box-shadow:0 4px 24px rgba(0,126,174,.07)}
.hero:after{content:"";position:absolute;right:4vw;top:55px;width:240px;height:105px;
background:url("../images/sief_psych_logo_kl.png") center/contain no-repeat;opacity:.12;pointer-events:none}
.about{border-top:4px solid var(--blue)}
.locations{background:linear-gradient(135deg,var(--blue-dark),#009fce)}
footer .footer-inner img{filter:none;background:#fff;padding:8px 12px;border-radius:4px;width:180px;opacity:1}
@media(max-width:900px){
  .brand{min-width:0}.brand img{width:185px}
  .hero:after{width:150px;height:70px;right:12px;top:30px;opacity:.09}
}

/* Original SIEF slideshow, modernized */
.hero{background:#eef8fc}
.hero-bg{display:none}
.hero-slideshow,.hero-slide,.hero-shade{position:absolute;inset:0}
.hero-slideshow{overflow:hidden}
.hero-slide{background-position:center;background-size:cover;background-repeat:no-repeat;
opacity:0;transform:scale(1.025);transition:opacity 1.1s ease,transform 7s ease}
.hero-slide.active{opacity:1;transform:scale(1)}
.hero-shade{z-index:2;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 39%,rgba(255,255,255,.42) 62%,rgba(255,255,255,.12) 100%)}
.hero-grid{z-index:3}
.slide-controls{display:flex;gap:8px;margin-top:32px}
.slide-dot{width:28px;height:4px;border:0;padding:0;background:rgba(8,124,173,.25);cursor:pointer;transition:.25s}
.slide-dot.active{background:var(--blue-dark);width:46px}
@media(max-width:900px){
 .hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.74))}
}
@media(prefers-reduced-motion:reduce){
 .hero-slide{transition:opacity .2s ease;transform:none}
}

/* V4: clearly visible full-width slideshow */
.hero{height:clamp(560px,72vh,760px);min-height:560px;display:block;position:relative;background:#dceef6;overflow:hidden}
.hero-slideshow{position:absolute;inset:0;z-index:1;background:#dceef6}
.hero-slide{position:absolute;inset:0;background-position:center center;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity 1s ease}
.hero-slide.active{opacity:1}
.hero-shade{position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(255,255,255,.91) 0%,rgba(255,255,255,.72) 38%,rgba(255,255,255,.15) 66%,rgba(255,255,255,0) 100%)}
.hero-overlay{height:100%;position:relative;z-index:4;display:flex;align-items:center}
.hero-panel{width:min(650px,60%);padding:42px 0}
.hero-panel h1{font-family:"Newsreader",Georgia,serif;font-weight:400;line-height:1.03;letter-spacing:-.025em;font-size:clamp(3.5rem,6vw,6.3rem);margin:0 0 25px}
.hero-panel h1 em{font-weight:400;color:var(--blue-dark)}
.slide-controls{position:absolute;z-index:6;left:50%;bottom:25px;transform:translateX(-50%);display:flex;gap:9px;margin:0;background:rgba(255,255,255,.82);padding:10px 14px;border-radius:999px}
.slide-dot{width:10px;height:10px;border:0;border-radius:50%;padding:0;background:#a9c9d6;cursor:pointer}
.slide-dot.active{width:10px;background:var(--blue-dark)}
.slide-arrow{position:absolute;z-index:7;top:50%;transform:translateY(-50%);width:48px;height:64px;border:0;background:rgba(255,255,255,.78);color:var(--blue-dark);font-size:2.4rem;line-height:1;cursor:pointer}
.slide-arrow.prev{left:18px}.slide-arrow.next{right:18px}.slide-arrow:hover{background:#fff}
.hero:after{display:none!important}
@media(max-width:900px){
 .hero{height:620px}
 .hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,.56))}
 .hero-panel{width:85%}
 .slide-arrow{width:38px;height:54px}
}
@media(max-width:560px){
 .hero{height:600px}
 .hero-panel{width:100%;padding:30px 20px}
 .hero-panel h1{font-size:3.25rem}
 .slide-arrow{display:none}
}

/* V5 – 12 supplied original SIEF flower banners */
.hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.03) 52%,rgba(255,255,255,0) 72%)}
.hero-panel{width:min(610px,48%)}
@media(max-width:900px){
 .hero-slide{background-position:68% center}
 .hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.42))}
}

/* Exact supplied SIEF logo */
.brand img{width:230px;max-height:72px;height:auto;object-fit:contain}
footer .footer-inner img{width:210px;max-height:75px;height:auto;object-fit:contain;filter:none}
@media(max-width:900px){.brand img{width:190px;max-height:60px}}

/* V6 – one original quotation per slide */
.slide-quote{
 position:absolute;z-index:6;left:44%;top:50%;transform:translate(-50%,-50%);
 width:min(390px,27vw);padding:34px 36px;
 background:rgba(255,255,255,.62);backdrop-filter:blur(4px);
 border-left:3px solid var(--blue);
 box-shadow:0 12px 38px rgba(25,65,80,.08);
}
.slide-quote-text{
 font-family:"Newsreader",Georgia,serif;font-style:italic;
 font-size:clamp(1.45rem,2vw,2.05rem);line-height:1.28;color:#52646c;
}
.slide-quote-author{
 margin-top:18px;text-transform:uppercase;letter-spacing:.16em;
 font-size:.72rem;font-weight:600;color:var(--blue);
}
@media(max-width:1100px){
 .slide-quote{left:52%;width:min(340px,32vw);padding:26px}
}
@media(max-width:900px){
 .slide-quote{left:auto;right:20px;top:auto;bottom:76px;transform:none;width:min(360px,48vw)}
}
@media(max-width:650px){
 .slide-quote{left:20px;right:20px;bottom:72px;width:auto;padding:18px 20px}
 .slide-quote-text{font-size:1.2rem}
 .hero-panel{padding-bottom:170px}
}

/* V7 – quote placement corrected: no overlap with headline */
.slide-quote{
  left:50%;
  top:47%;
  transform:translate(-50%,-50%);
  width:300px;
  max-width:300px;
  padding:0 0 0 22px;
  background:transparent;
  backdrop-filter:none;
  box-shadow:none;
  border-left:2px solid var(--blue);
}
.slide-quote-text{
  font-size:1.28rem;
  line-height:1.42;
  color:#64747b;
}
.slide-quote-author{
  margin-top:14px;
  font-size:.66rem;
  letter-spacing:.15em;
}
@media(max-width:1200px){
  .slide-quote{left:52%;width:250px;max-width:250px}
  .slide-quote-text{font-size:1.08rem}
}
@media(max-width:900px){
  .slide-quote{
    left:auto;right:24px;top:auto;bottom:82px;transform:none;
    width:280px;max-width:38vw;padding:16px 18px;
    background:rgba(255,255,255,.88);
    border-left:2px solid var(--blue);
  }
}
@media(max-width:650px){
  .slide-quote{
    left:20px;right:20px;bottom:72px;width:auto;max-width:none;
    padding:14px 16px;
  }
  .slide-quote-text{font-size:1rem;line-height:1.35}
}

/* V8 – Original-SIEF-Logo im Header um ca. ein Drittel größer */
.brand{min-width:305px}
.brand img{
  width:306px !important;
  max-height:96px !important;
  height:auto !important;
}
.navrow{
  height:98px;
}
@media(max-width:900px){
  .brand{min-width:0}
  .brand img{
    width:253px !important;
    max-height:80px !important;
  }
  .navrow{height:86px}
}
@media(max-width:560px){
  .brand img{
    width:215px !important;
    max-height:70px !important;
  }
}
/* V9 – membership area + redesigned footer */
.memberships{position:relative;background:#fff;padding:82px 0 74px;overflow:hidden}
.memberships:after{content:"";position:absolute;right:-35px;bottom:-125px;width:390px;height:390px;background:url("../images/sief_med_legal.png") center/contain no-repeat;opacity:.055;pointer-events:none}
.memberships-wrap{border-top:1px solid #cde8f3;border-bottom:1px solid #cde8f3;padding-top:48px;padding-bottom:50px}
.memberships .section-head{margin-bottom:32px}.memberships .eyebrow{color:#66757c;font-size:.82rem;letter-spacing:.18em}
.membership-logos{display:grid;grid-template-columns:1fr 1px 1fr 1px 1fr;gap:34px;align-items:center;max-width:1120px}
.membership-logo{min-height:105px;display:flex;align-items:center}.membership-logo img{filter:none!important;opacity:1!important;max-height:92px;max-width:100%;width:auto;object-fit:contain}
.membership-divider{width:1px;height:90px;background:#cde8f3}
footer{background:linear-gradient(110deg,#087cad,#0b8bbd);padding:42px 0;color:#fff}
.footer-redesign{display:grid;grid-template-columns:360px 1fr 150px;align-items:center;gap:46px}
.footer-brand{padding-right:42px;border-right:1px solid rgba(255,255,255,.55)}
footer .footer-brand img{width:300px!important;max-height:none!important;height:auto!important;filter:brightness(0) invert(1)!important;background:transparent!important;padding:0!important;border-radius:0!important;opacity:1!important}
.footer-meta{font-size:.9rem}.footer-meta p{margin:20px 0 0;opacity:.9;line-height:1.55}.footer-links{display:flex;gap:13px;align-items:center}.footer-links a{color:#fff;text-decoration:none;font-size:1rem}.footer-links span{opacity:.6}.footer-links a:hover{text-decoration:underline}
.back-top{justify-self:end;display:flex;flex-direction:column;align-items:center;gap:8px;color:#fff;text-decoration:none}.back-top span{width:56px;height:56px;border:2px solid rgba(255,255,255,.9);border-radius:50%;display:grid;place-items:center;font-size:1.8rem;line-height:1}.back-top b{font-size:.9rem;font-weight:500}
@media(max-width:900px){.membership-logos{grid-template-columns:1fr;gap:25px}.membership-divider{height:1px;width:100%}.footer-redesign{grid-template-columns:1fr;gap:28px}.footer-brand{border-right:0;border-bottom:1px solid rgba(255,255,255,.35);padding:0 0 25px}.back-top{justify-self:start;flex-direction:row}.memberships:after{width:260px;height:260px}}

/* V10 – hochwertiger Leistungsbereich, Originalinhalte unverändert */
.services{background:linear-gradient(180deg,#fff 0%,#fbfdfe 100%);position:relative;overflow:hidden}
.services:after{content:"";position:absolute;right:-60px;top:40px;width:380px;height:380px;background:url("../images/sief_med_legal.png") center/contain no-repeat;opacity:.025;pointer-events:none}
.services .section-head{max-width:820px;margin-bottom:42px}
.services .section-head h2{font-size:clamp(2.5rem,4.5vw,4.7rem);line-height:1.03;max-width:760px}
.service-stack{border-top:0;display:grid;gap:14px;position:relative;z-index:1}
.service-stack details{border:1px solid #d8e8ef;border-radius:14px;background:rgba(255,255,255,.92);overflow:hidden;box-shadow:0 7px 24px rgba(16,88,118,.035);transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease}
.service-stack details:hover{border-color:#abd8e9;box-shadow:0 12px 34px rgba(16,88,118,.07);transform:translateY(-1px)}
.service-stack details[open]{border-color:#55b8dc;box-shadow:0 16px 42px rgba(16,88,118,.09)}
.service-stack summary{padding:22px 26px;grid-template-columns:62px 1fr 48px;gap:20px;min-height:92px;transition:background .25s ease}
.service-stack details[open] summary{background:linear-gradient(90deg,#eef9fd 0%,#fff 72%);border-bottom:1px solid #e1eff4}
.service-stack summary span{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e9f7fc;color:#0589bd;font-size:.95rem;font-weight:700}
.service-stack summary strong{font-size:clamp(1.55rem,2.5vw,2.2rem);line-height:1.12;color:#33424a}
.service-stack summary:after{content:"+";width:42px;height:42px;border:1.5px solid var(--blue);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--blue);font-size:1.55rem;line-height:1;font-weight:300;transition:.25s ease}
.service-stack details[open] summary:after{content:"×";background:var(--blue);color:#fff;transform:rotate(0deg)}
.service-body{max-width:none;margin:0;padding:32px 110px 38px 110px;color:#46545b;line-height:1.75;background:#fff}
.service-body p{max-width:900px;margin:0 0 18px}
.service-body ul{max-width:900px;padding-left:22px}
.service-body li{margin:7px 0}
.service-body blockquote{max-width:850px;border-left:3px solid var(--blue);background:#f6fbfd;margin:28px 0 4px;padding:20px 26px;font-size:1.3rem;line-height:1.55;border-radius:0 10px 10px 0}
@media(max-width:900px){
 .service-stack summary{grid-template-columns:50px 1fr 42px;gap:14px;padding:18px}
 .service-stack summary span{width:44px;height:44px}
 .service-stack summary:after{width:38px;height:38px}
 .service-body{padding:26px 28px 32px}
}
@media(max-width:560px){
 .services .section-head h2{font-size:2.45rem}
 .service-stack{gap:10px}
 .service-stack summary{grid-template-columns:42px 1fr 36px;gap:10px;padding:15px 13px;min-height:76px}
 .service-stack summary span{width:38px;height:38px;font-size:.78rem}
 .service-stack summary strong{font-size:1.28rem}
 .service-stack summary:after{width:34px;height:34px;font-size:1.25rem}
 .service-body{padding:22px 20px 28px;font-size:.96rem}
}

/* V11 – Impressum */
.legal-main{background:#fff}.legal-hero{padding:88px 0 64px;background:linear-gradient(110deg,#f5fbfd 0%,#fff 65%);border-bottom:1px solid var(--line)}
.legal-hero h1{font-family:"Newsreader",Georgia,serif;font-weight:400;font-size:clamp(3.5rem,7vw,6.6rem);line-height:1;margin:.08em 0 .16em;color:var(--ink)}
.legal-intro{font-size:1.08rem;color:var(--muted);margin:0}.legal-content{padding:78px 0 100px}.legal-grid{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,720px);gap:clamp(55px,8vw,120px);align-items:start}
.legal-contact{padding:30px 0;border-top:3px solid var(--blue)}.legal-contact h2{font-family:"Newsreader",Georgia,serif;font-size:1.8rem;font-weight:400;margin:0 0 20px}.legal-contact p{line-height:1.7;color:var(--muted);margin:0 0 24px}.legal-contact strong{color:var(--ink)}
.legal-text section{padding:0 0 44px;margin:0 0 44px;border-bottom:1px solid var(--line)}.legal-text section:last-child{border-bottom:0;margin-bottom:0}.legal-text h2{font-family:"Newsreader",Georgia,serif;font-size:clamp(2rem,3vw,2.7rem);font-weight:400;line-height:1.15;margin:0 0 22px}.legal-text h3{font-size:1.02rem;letter-spacing:.02em;margin:0 0 16px;color:var(--blue-dark)}.legal-text p{font-size:1.02rem;line-height:1.85;color:#59666b;margin:0;max-width:70ch}
@media(max-width:800px){.legal-hero{padding:58px 0 42px}.legal-content{padding:52px 0 70px}.legal-grid{grid-template-columns:1fr;gap:44px}.legal-contact{padding-bottom:10px}.legal-text section{padding-bottom:34px;margin-bottom:34px}}

/* V15 – transparent slide areas must remain white, not inherit hero blue */
.hero,
.hero-slideshow,
.hero-slide { background-color:#fff; }

/* V16 – Themenüberschrift zu jedem Slideshow-Zitat */
.slide-quote-title{
  margin:0 0 10px;
  color:var(--blue);
  font-family:var(--sans);
  font-size:.72rem;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
@media(max-width:650px){
  .slide-quote-title{font-size:.66rem;margin-bottom:7px}
}

/* V17 – Bio */
.bio-link{display:inline-flex;align-items:center;gap:.45rem;margin-top:.25rem;color:var(--blue-dark);font-weight:700;text-decoration:none;border-bottom:1px solid rgba(8,124,173,.35);padding-bottom:.12rem}.bio-link:hover{color:var(--blue)}
.bio-page{background:#fff}.bio-hero{padding:74px 0 30px;background:linear-gradient(180deg,#f5fbfe 0,#fff 100%)}.bio-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.7rem,5vw,5rem);font-weight:400;line-height:1;margin:.1em 0;color:#34444c}.bio-content{padding-top:28px}.bio-layout{display:grid;grid-template-columns:minmax(250px,360px) 1fr;gap:72px;align-items:start}.bio-person{position:sticky;top:125px}.bio-person img{width:100%;display:block;aspect-ratio:4/5;object-fit:cover;object-position:center top}.bio-person h2{font-family:Georgia,'Times New Roman',serif;font-size:1.8rem;font-weight:400;margin:22px 0 0;color:#34444c}.bio-timeline>h2{font-family:Georgia,'Times New Roman',serif;font-size:2rem;font-weight:400;color:#34444c;margin:10px 0 15px;padding-top:24px;border-top:1px solid #cde8f3}.bio-timeline>h2:first-of-type{margin-top:32px}.bio-row{display:grid;grid-template-columns:155px 1fr;gap:25px;padding:17px 0;border-top:1px solid #e1eaee;line-height:1.55}.bio-row.intro{border-top:0;padding-top:4px}.bio-year{color:#0789bb;font-weight:700;white-space:nowrap}.bio-back{display:inline-block;margin-top:36px;color:#087cad;text-decoration:none;font-weight:700}.bio-back:hover{text-decoration:underline}@media(max-width:800px){.bio-layout{grid-template-columns:1fr;gap:38px}.bio-person{position:static;max-width:420px}.bio-row{grid-template-columns:1fr;gap:5px}.bio-timeline>h2{font-size:1.65rem}.bio-hero{padding-top:48px}}

/* V19 – sanfte Scroll-Übergänge zwischen Seitenbereichen */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
  }
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-on-scroll .service-item,
  .reveal-on-scroll .service-card {
    transition: opacity .6s ease, transform .6s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  .reveal-on-scroll:not(.is-visible) .service-item,
  .reveal-on-scroll:not(.is-visible) .service-card {
    opacity: 0;
    transform: translateY(12px);
  }
  .reveal-on-scroll.is-visible .service-item,
  .reveal-on-scroll.is-visible .service-card {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-on-scroll.is-visible .service-item:nth-child(2), .reveal-on-scroll.is-visible .service-card:nth-child(2){transition-delay:.05s}
  .reveal-on-scroll.is-visible .service-item:nth-child(3), .reveal-on-scroll.is-visible .service-card:nth-child(3){transition-delay:.10s}
  .reveal-on-scroll.is-visible .service-item:nth-child(4), .reveal-on-scroll.is-visible .service-card:nth-child(4){transition-delay:.15s}
  .reveal-on-scroll.is-visible .service-item:nth-child(5), .reveal-on-scroll.is-visible .service-card:nth-child(5){transition-delay:.20s}
  .reveal-on-scroll.is-visible .service-item:nth-child(6), .reveal-on-scroll.is-visible .service-card:nth-child(6){transition-delay:.25s}
  .reveal-on-scroll.is-visible .service-item:nth-child(7), .reveal-on-scroll.is-visible .service-card:nth-child(7){transition-delay:.30s}
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .reveal-on-scroll { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* V20 – sichtbarere, weiterhin ruhige Scroll-Animationen */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(42px) scale(.992);
    transition: opacity .95s cubic-bezier(.22,.61,.36,1), transform .95s cubic-bezier(.22,.61,.36,1);
  }
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .reveal-on-scroll > .wrap > .section-head,
  .reveal-on-scroll > .wrap > .about-grid,
  .reveal-on-scroll > .wrap > .contact-grid,
  .reveal-on-scroll > .wrap > .locations-grid,
  .reveal-on-scroll > .wrap > .service-stack,
  .reveal-on-scroll > .wrap > .logos {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .75s ease .16s, transform .75s ease .16s;
  }
  .reveal-on-scroll.is-visible > .wrap > .section-head,
  .reveal-on-scroll.is-visible > .wrap > .about-grid,
  .reveal-on-scroll.is-visible > .wrap > .contact-grid,
  .reveal-on-scroll.is-visible > .wrap > .locations-grid,
  .reveal-on-scroll.is-visible > .wrap > .service-stack,
  .reveal-on-scroll.is-visible > .wrap > .logos {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-on-scroll .service-stack details {
    opacity:0;
    transform:translateY(20px);
    transition:opacity .6s ease,transform .6s ease,border-color .25s ease,box-shadow .25s ease;
  }
  .reveal-on-scroll.is-visible .service-stack details {opacity:1;transform:none}
  .reveal-on-scroll.is-visible .service-stack details:nth-child(1){transition-delay:.18s}
  .reveal-on-scroll.is-visible .service-stack details:nth-child(2){transition-delay:.24s}
  .reveal-on-scroll.is-visible .service-stack details:nth-child(3){transition-delay:.30s}
  .reveal-on-scroll.is-visible .service-stack details:nth-child(4){transition-delay:.36s}
  .reveal-on-scroll.is-visible .service-stack details:nth-child(5){transition-delay:.42s}
  .reveal-on-scroll.is-visible .service-stack details:nth-child(6){transition-delay:.48s}
  .reveal-on-scroll.is-visible .service-stack details:nth-child(7){transition-delay:.54s}
}

/* V23 – gezielte Smartphone-Optimierung */
@media(max-width:560px){
  html{scroll-padding-top:78px}
  body{overflow-x:hidden}
  .wrap{width:calc(100% - 28px)}
  .topbar{display:none}
  .navrow{height:74px;padding:0}
  .brand img{width:188px!important;max-height:58px!important}
  .menu-btn{min-width:44px;min-height:44px;border-radius:50%;display:grid;place-items:center}
  .nav{top:74px;padding:18px 20px 24px;gap:4px;box-shadow:0 14px 30px rgba(25,70,90,.08)}
  .nav a{width:100%;padding:12px 4px;font-size:1rem}

  .hero{height:auto;min-height:720px;padding:0;background:#fff}
  .hero-slide{background-size:auto 100%;background-position:70% center}
  .hero-shade{background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.91) 48%,rgba(255,255,255,.40) 72%,rgba(255,255,255,.08) 100%)}
  .hero-overlay{align-items:flex-start}
  .hero-panel{width:100%;padding:42px 2px 210px}
  .hero-panel .eyebrow{font-size:.68rem;letter-spacing:.12em;margin-bottom:12px}
  .hero-panel h1{font-size:clamp(3rem,14vw,4rem);line-height:.98;margin-bottom:20px;max-width:9ch}
  .hero-panel .lead{font-size:1rem;line-height:1.55;max-width:34ch}
  .hero-actions{margin-top:24px;flex-direction:row;flex-wrap:wrap;gap:10px}
  .hero-actions .button{padding:12px 16px;font-size:.84rem}
  .slide-quote{left:14px!important;right:14px!important;bottom:76px!important;width:auto!important;max-width:none!important;padding:14px 16px!important;background:rgba(255,255,255,.88);backdrop-filter:blur(5px);border-left:2px solid var(--blue)}
  .slide-quote-title{font-size:.62rem;margin-bottom:5px}
  .slide-quote-text{font-size:.94rem!important;line-height:1.35!important;margin-bottom:5px!important}
  .slide-quote-author{font-size:.62rem!important}
  .slide-dots{bottom:24px!important;gap:6px!important;padding:6px 9px!important}
  .slide-dots button{width:7px!important;height:7px!important}
  .slide-arrow{width:42px!important;height:46px!important;font-size:1.45rem!important}
  .slide-arrow.prev{left:8px!important}.slide-arrow.next{right:8px!important}

  .section{padding:62px 0}
  .section-head{margin-bottom:30px}
  .section-head h2,.contact h2{font-size:2.55rem;line-height:1.02}
  .section-head>p:last-child{font-size:.98rem}
  .about-grid,.contact-grid{gap:30px}
  .about-copy,.contact-copy{font-size:.97rem}

  .services:after{width:210px;height:210px;right:-80px;top:20px}
  .services .section-head h2{font-size:2.5rem}
  .service-stack summary{grid-template-columns:38px minmax(0,1fr) 36px;gap:10px;padding:14px 12px;min-height:72px}
  .service-stack summary span{width:36px;height:36px;font-size:.74rem}
  .service-stack summary strong{font-size:clamp(1.14rem,5.7vw,1.4rem);line-height:1.12;overflow-wrap:anywhere}
  .service-stack summary:after{width:34px;height:34px;font-size:1.2rem}
  .service-body{padding:20px 16px 25px;font-size:.94rem;line-height:1.65}
  .service-body blockquote{font-size:1.08rem;padding:16px 18px;margin:20px 0}

  .contact-actions a{padding:18px 18px}
  .contact-actions strong{font-size:1.3rem;overflow-wrap:anywhere}
  .location-grid article{padding:22px}

  .memberships{padding:54px 0 48px}
  .memberships-wrap{padding-top:34px;padding-bottom:36px}
  .membership-logos{gap:20px}
  .membership-logo{min-height:78px;justify-content:center}
  .membership-logo img{max-height:72px;max-width:88%}
  .memberships:after{width:190px;height:190px;right:-60px;bottom:-70px}

  footer{padding:34px 0}
  .footer-redesign{gap:22px}
  footer .footer-brand img{width:min(260px,82vw)!important}
  .footer-meta{font-size:.84rem}
  .footer-links{gap:9px;flex-wrap:wrap}
  .back-top span{width:46px;height:46px;font-size:1.45rem}

  .bio-hero{padding:42px 0 22px}.bio-hero h1{font-size:2.8rem}
  .bio-content{padding-top:18px}.bio-layout{gap:30px}.bio-person{max-width:none}.bio-person img{aspect-ratio:4/4.8}
  .bio-row{padding:14px 0}.bio-year{white-space:normal}
  .legal-hero{padding:42px 0 32px}.legal-hero h1{font-size:2.9rem}.legal-content{padding:42px 0 60px}
  .legal-text h2{font-size:1.8rem}.legal-text p{font-size:.96rem;line-height:1.72}
}

@media(max-width:380px){
  .wrap{width:calc(100% - 22px)}
  .brand img{width:168px!important}
  .hero{min-height:700px}
  .hero-panel h1{font-size:2.85rem}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .button{justify-content:center}
  .service-stack summary{grid-template-columns:34px minmax(0,1fr) 32px;gap:8px;padding:13px 9px}
  .service-stack summary span{width:32px;height:32px}
  .service-stack summary:after{width:31px;height:31px}
  .service-stack summary strong{font-size:1.08rem}
}

/* V24 – dritte Mitgliedschaft BÖP */
.membership-logo img[src$="boep.png"]{max-height:74px}
@media(max-width:900px){.membership-logos{grid-template-columns:1fr;max-width:620px}.membership-divider{height:1px;width:100%}}


/* V26 – elegantere Standortkarten */
#praxis .location-card,
#praxis .practice-card,
#praxis .address-card,
.praxis .location-card,
.praxis .practice-card,
.praxis .address-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.24) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.055) !important;
  padding: 38px 38px 34px !important;
  box-shadow: 0 14px 34px rgba(0,67,99,.08);
  overflow: hidden;
  transition: transform .35s ease, background-color .35s ease,
              border-color .35s ease, box-shadow .35s ease;
}
#praxis .location-card::before,
#praxis .practice-card::before,
#praxis .address-card::before,
.praxis .location-card::before,
.praxis .practice-card::before,
.praxis .address-card::before {
  content:"";
  position:absolute;
  left:38px;
  top:0;
  width:42px;
  height:3px;
  border-radius:0 0 4px 4px;
  background:rgba(255,255,255,.82);
}
#praxis .location-card:hover,
#praxis .practice-card:hover,
#praxis .address-card:hover,
.praxis .location-card:hover,
.praxis .practice-card:hover,
.praxis .address-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.09) !important;
  border-color: rgba(255,255,255,.38) !important;
  box-shadow: 0 18px 42px rgba(0,67,99,.13);
}
#praxis .location-card a,
#praxis .practice-card a,
#praxis .address-card a,
.praxis .location-card a,
.praxis .practice-card a,
.praxis .address-card a {
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 16px;
  margin-left:-16px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  text-decoration:none !important;
  transition:background-color .25s ease,border-color .25s ease,transform .25s ease;
}
#praxis .location-card a:hover,
#praxis .practice-card a:hover,
#praxis .address-card a:hover,
.praxis .location-card a:hover,
.praxis .practice-card a:hover,
.praxis .address-card a:hover {
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.62);
  transform:translateX(2px);
}
@media(max-width:700px){
  #praxis .location-card,
  #praxis .practice-card,
  #praxis .address-card,
  .praxis .location-card,
  .praxis .practice-card,
  .praxis .address-card{
    padding:30px 26px 28px !important;
    border-radius:10px !important;
  }
  #praxis .location-card::before,
  #praxis .practice-card::before,
  #praxis .address-card::before,
  .praxis .location-card::before,
  .praxis .practice-card::before,
  .praxis .address-card::before{left:26px}
}


/* V27 – Standortkarten: sichtbare Neugestaltung */
.location-card{
  position:relative !important;
  padding:42px 42px 38px !important;
  border:1px solid rgba(255,255,255,.42) !important;
  border-radius:22px !important;
  background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.055)) !important;
  box-shadow:0 18px 45px rgba(0,65,92,.16) !important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  overflow:hidden;
  transition:transform .35s ease, box-shadow .35s ease, background .35s ease !important;
}
.location-card:before{
  content:"";
  position:absolute;
  width:92px;
  height:92px;
  right:-28px;
  top:-30px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
}
.location-card:after{
  content:"";
  position:absolute;
  left:42px;
  top:0;
  width:54px;
  height:4px;
  background:#fff;
  opacity:.9;
  border-radius:0 0 5px 5px;
}
.location-card:hover{
  transform:translateY(-6px) !important;
  box-shadow:0 25px 55px rgba(0,55,82,.23) !important;
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.08)) !important;
}
.location-card a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:9px 18px !important;
  margin-top:8px;
  border:1px solid rgba(255,255,255,.72) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.10) !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:600;
  box-shadow:0 5px 14px rgba(0,62,91,.08);
  transition:background .25s ease, transform .25s ease !important;
}
.location-card a:hover{
  background:#fff !important;
  color:#0786b5 !important;
  transform:translateY(-2px);
}
@media(max-width:700px){
  .location-card{
    padding:32px 26px 30px !important;
    border-radius:18px !important;
  }
  .location-card:after{left:26px}
}

/* V28 Rahmenbedingungen */
.conditions-hero{padding:88px 0 72px;background:linear-gradient(135deg,#f3fafc,#fff 70%);border-bottom:1px solid #d8edf4}
.conditions-hero h1{font-family:var(--serif,Georgia,serif);font-size:clamp(3.2rem,6vw,5.8rem);font-weight:400;line-height:1;margin:12px 0 24px;color:#293d48}
.conditions-lead{max-width:760px;font-size:1.14rem;line-height:1.75;color:#52656d}
.conditions-jump{display:inline-flex;align-items:center;gap:10px;margin-top:20px;color:#078dbd;text-decoration:none;font-weight:700}
.conditions-jump span{width:34px;height:34px;border:1px solid #8fd0e8;border-radius:50%;display:grid;place-items:center}
.conditions-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:72px;align-items:start}
.conditions-nav{position:sticky;top:115px;padding-top:22px;border-top:1px solid #bfe3f0}
.conditions-nav a{display:block;padding:10px 0;color:#607078;text-decoration:none;border-bottom:1px solid #edf4f6;font-size:.92rem}
.conditions-nav a:hover{color:#008fc2}.conditions-main{max-width:850px}
.condition-block{padding-bottom:58px;margin-bottom:54px;border-bottom:1px solid #d8eaf0;scroll-margin-top:120px}
.condition-number{font-size:.78rem;font-weight:700;letter-spacing:.12em;color:#00a0d2;margin-bottom:10px}
.condition-block h2,.conditions-contact h2{font-family:var(--serif,Georgia,serif);font-size:clamp(2rem,3vw,3rem);font-weight:400;line-height:1.1;margin:0 0 24px;color:#293d48}
.condition-block h3{font-family:var(--serif,Georgia,serif);font-size:1.35rem;font-weight:400;margin:0 0 10px;color:#293d48}
.condition-block p,.condition-block li,.conditions-contact p{font-size:1rem;line-height:1.75;color:#52636b}.condition-block a{color:#008dbd}
.condition-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.condition-card{padding:25px;border:1px solid #d4eaf2;border-radius:14px;background:#fbfdfe}
.info-link{margin-top:24px;padding:18px 20px;background:#f3fafc;border-left:3px solid #00a0d2}
.conditions-list{padding-left:22px}.conditions-contact{padding:46px;border-radius:18px;background:#eaf7fb;margin-bottom:30px}
@media(max-width:900px){.conditions-layout{grid-template-columns:1fr;gap:30px}.conditions-nav{position:static;display:flex;gap:8px;overflow-x:auto;padding:14px 0 18px}.conditions-nav .eyebrow{display:none}.conditions-nav a{white-space:nowrap;padding:9px 13px;border:1px solid #d1e9f2;border-radius:999px}}
@media(max-width:600px){.conditions-hero{padding:58px 0 48px}.conditions-hero h1{font-size:2.8rem}.condition-grid{grid-template-columns:1fr}.conditions-contact{padding:30px 22px}}

/* V29 – Rahmenbedingungen integriert */
.rahmen-home{background:#f7fbfc;padding-top:96px;padding-bottom:100px;scroll-margin-top:100px}
.rahmen-intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:end;margin-bottom:48px}
.rahmen-intro h2{font-family:var(--serif,Georgia,serif);font-size:clamp(3rem,5vw,5.2rem);font-weight:400;line-height:1;margin:10px 0 0;color:#293d48}
.rahmen-intro>p{max-width:660px;margin:0;font-size:1.08rem;line-height:1.75;color:#566970}
.rahmen-feature{display:grid;grid-template-columns:1fr 280px;background:linear-gradient(120deg,#0788b8,#06a2d2);color:#fff;border-radius:24px;overflow:hidden;box-shadow:0 24px 55px rgba(0,113,153,.13);margin-bottom:18px}
.rahmen-feature-main{padding:46px 50px}.rahmen-feature-main h3{font-family:var(--serif,Georgia,serif);font-size:2.35rem;font-weight:400;margin:8px 0 20px}
.rahmen-feature-main p{max-width:760px;line-height:1.72;color:rgba(255,255,255,.94)}.rahmen-feature-main a{display:inline-block;margin-top:8px;color:#fff;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.rahmen-no{font-size:.72rem;letter-spacing:.16em;font-weight:700;color:#0498ca}.rahmen-feature .rahmen-no{color:rgba(255,255,255,.72)}
.rahmen-feature-side{display:grid;grid-template-rows:1fr 1fr;background:rgba(255,255,255,.1);border-left:1px solid rgba(255,255,255,.22)}
.rahmen-feature-side>div{display:flex;align-items:center;gap:18px;padding:30px;border-bottom:1px solid rgba(255,255,255,.22)}.rahmen-feature-side>div:last-child{border-bottom:0}
.rahmen-feature-side span{font-family:var(--serif,Georgia,serif);font-size:2.2rem}.rahmen-feature-side small{font-size:.78rem;line-height:1.35;letter-spacing:.05em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.rahmen-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.rahmen-card{background:#fff;border:1px solid #d8eaf0;border-radius:16px;overflow:hidden;transition:box-shadow .3s ease,transform .3s ease}
.rahmen-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(36,89,107,.08)}
.rahmen-card summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:44px 1fr 38px;align-items:center;gap:10px;padding:26px 28px;min-height:92px}.rahmen-card summary::-webkit-details-marker{display:none}
.rahmen-card summary strong{font-family:var(--serif,Georgia,serif);font-size:1.35rem;font-weight:400;color:#30434c}
.rahmen-card summary i{font-style:normal;width:36px;height:36px;border-radius:50%;background:#eaf7fb;color:#058dbd;display:grid;place-items:center;font-size:1.4rem;transition:transform .3s ease}
.rahmen-card[open] summary i{transform:rotate(45deg)}.rahmen-detail{padding:0 28px 28px 82px;border-top:1px solid #edf4f6}
.rahmen-detail p{line-height:1.7;color:#586a72}.rahmen-detail h4{margin:24px 0 6px;color:#314750}.rahmen-detail a{color:#008dbd}
.rahmen-cta{margin-top:42px;padding:34px 38px;border-top:1px solid #bfe3f0;border-bottom:1px solid #bfe3f0;display:flex;align-items:center;justify-content:space-between;gap:30px}
.rahmen-cta h3{font-family:var(--serif,Georgia,serif);font-size:1.9rem;font-weight:400;margin:5px 0 0;color:#30434c}
@media(max-width:900px){.rahmen-intro{grid-template-columns:1fr;gap:24px}.rahmen-feature{grid-template-columns:1fr}.rahmen-feature-side{grid-template-columns:1fr 1fr;grid-template-rows:auto;border-left:0;border-top:1px solid rgba(255,255,255,.22)}.rahmen-feature-side>div{border-bottom:0}.rahmen-grid{grid-template-columns:1fr}}
@media(max-width:600px){.rahmen-home{padding-top:68px;padding-bottom:70px}.rahmen-intro h2{font-size:2.8rem}.rahmen-feature{border-radius:18px}.rahmen-feature-main{padding:32px 25px}.rahmen-feature-side{grid-template-columns:1fr}.rahmen-feature-side>div{padding:22px 25px;border-bottom:1px solid rgba(255,255,255,.18)}.rahmen-card summary{padding:21px 20px;grid-template-columns:34px 1fr 34px}.rahmen-card summary strong{font-size:1.15rem}.rahmen-detail{padding:0 20px 24px}.rahmen-cta{align-items:flex-start;flex-direction:column;padding:30px 5px}}

/* V50 – Mobile horizontal overflow guard */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
img, video, svg, canvas, iframe {
  max-width: 100%;
}
@media (max-width: 900px) {
  body { touch-action: pan-y; }
  main, header, footer, section, .wrap, .hero, .slider, .slides, .slide {
    max-width: 100%;
  }
  .slide, .hero, .slider, .slides {
    overflow-x: clip;
  }
}

/* V53: Name unter dem Willkommenstext dezenter */
.signature{font-size:1.45rem}

/* V63 – Datenschutz/Rechtliches: saubere Smartphone-Darstellung */
@media (max-width: 600px) {
  .legal-main,
  .legal-hero,
  .legal-content,
  .legal-grid,
  .legal-contact,
  .legal-text,
  .legal-text section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .legal-hero .wrap,
  .legal-content > .wrap {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .legal-hero { padding: 38px 0 30px; }
  .legal-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.25rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }
  .legal-intro {
    font-size: .98rem;
    line-height: 1.6;
  }
  .legal-content { padding: 36px 0 56px; }
  .legal-grid {
    display: block;
  }
  .legal-contact {
    margin: 0 0 40px;
    padding: 24px 0 12px;
  }
  .legal-contact h2 { font-size: 1.65rem; }
  .legal-contact p,
  .legal-contact a,
  .legal-text p,
  .legal-text a {
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .legal-text section {
    padding: 0 0 30px;
    margin: 0 0 30px;
  }
  .legal-text h2 {
    font-size: clamp(1.55rem, 8vw, 1.9rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
  }
  .legal-text p {
    max-width: none;
    font-size: .95rem;
    line-height: 1.7;
  }
}

/* V65: static subpages use hard no-reveal override in page head. */
