:root{
  --orange:#F79022;
  --orange-d:#d9780f;
  --purple:#6A459B;
  --purple-d:#523479;
  --ink:#242029;
  --muted:#5d5767;
  --line:#e7e2ee;
  --bg:#ffffff;
  --bg-soft:#faf7fb;
  --bg-warm:#fdf5ec;
  --radius:14px;
  --wrap:1100px;
  --font:"Segoe UI",Roboto,"Helvetica Neue",Arial,system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);
  font-size:17px;line-height:1.65;-webkit-text-size-adjust:100%;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--purple);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}

/* ---------- Header ---------- */
.topbar{background:var(--purple);color:#fff;font-size:14.5px}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:6px 22px;align-items:center;justify-content:flex-end;padding-top:7px;padding-bottom:7px}
.topbar a{color:#fff;font-weight:600}
header.site{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
header.site .wrap{display:flex;align-items:center;gap:16px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.brand img{width:auto;height:56px}
.brand .brandtext{display:block}
.brand b{display:block;font-size:20px;line-height:1.15;color:var(--purple);letter-spacing:.06em;text-transform:uppercase}
.brand .brandtext>span{display:block;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--orange);font-weight:700}
nav.main{margin-left:auto}
nav.main ul{display:flex;gap:4px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
nav.main a{
  display:block;padding:9px 13px;border-radius:9px;color:var(--ink);
  font-weight:600;font-size:15.5px;
}
nav.main a:hover{background:var(--bg-soft);text-decoration:none;color:var(--purple)}
nav.main a.active{background:var(--purple);color:#fff}
.navtoggle{display:none;margin-left:auto;background:none;border:1.5px solid var(--line);border-radius:9px;padding:9px 12px;font-size:16px;cursor:pointer;color:var(--purple)}

/* ---------- Hero ---------- */
.hero{background:var(--bg-warm);border-bottom:1px solid var(--line)}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding-top:52px;padding-bottom:52px}
.hero h1{font-size:clamp(30px,4.2vw,46px);line-height:1.15;margin:0 0 16px;color:var(--purple)}
.hero p.lead{font-size:19px;color:var(--muted);margin:0 0 26px}
.hero img{border-radius:var(--radius);box-shadow:0 14px 40px rgba(106,69,155,.16)}
.eyebrow{display:inline-block;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--orange);margin-bottom:14px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;padding:13px 24px;border-radius:999px;font-weight:700;font-size:16px;
  background:var(--orange);color:#fff;border:2px solid var(--orange);
}
.btn:hover{background:var(--orange-d);border-color:var(--orange-d);color:#fff;text-decoration:none}
.btn.ghost{background:transparent;color:var(--purple);border-color:var(--purple)}
.btn.ghost:hover{background:var(--purple);color:#fff}
.btnrow{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Sections ---------- */
section{padding:56px 0}
section.soft{background:var(--bg-soft)}
section.warm{background:var(--bg-warm)}
h2{font-size:clamp(24px,3vw,32px);line-height:1.25;margin:0 0 10px;color:var(--purple)}
h3{font-size:20px;margin:0 0 8px;color:var(--purple-d)}
.sub{color:var(--muted);margin:0 0 30px;max-width:72ch}
.grid{display:grid;gap:20px}
.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(--radius);padding:24px;
}
.card h3{margin-top:0}
.card p{margin:0;color:var(--muted);font-size:16px}
.card a.more{display:inline-block;margin-top:12px;font-weight:700}
ul.ticks{list-style:none;margin:0;padding:0}
ul.ticks li{position:relative;padding-left:28px;margin-bottom:9px}
ul.ticks li::before{
  content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;border-radius:50%;
  background:var(--orange);
}

/* ---------- Notice ---------- */
.notice{
  background:#fff;border-left:5px solid var(--orange);border-radius:10px;
  padding:18px 22px;box-shadow:0 2px 14px rgba(36,32,41,.06);
}
.notice strong{color:var(--purple)}

/* ---------- Content pages ---------- */
.pagehead{background:var(--purple);color:#fff;padding:44px 0}
.pagehead h1{margin:0 0 10px;font-size:clamp(26px,3.6vw,38px);color:#fff}
.pagehead p{margin:0;color:#e6dcf3;max-width:78ch;font-size:17.5px}
article.prose{max-width:76ch}
article.prose h2{margin-top:36px}
article.prose h3{margin-top:26px}
article.prose p{margin:0 0 16px}
article.prose ul{padding-left:22px}
article.prose li{margin-bottom:7px}
.layout{display:grid;grid-template-columns:1fr 300px;gap:44px;align-items:start}
aside.side{position:sticky;top:96px}
aside.side .card{padding:22px}
aside.side p{font-size:15.5px}

/* ---------- Contact ---------- */
.contactgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.contactgrid .card{text-align:center}
.contactgrid .big{font-size:19px;font-weight:700;color:var(--purple);word-break:break-word}

/* ---------- Article list ---------- */
.postlist{list-style:none;margin:0;padding:0;columns:2;column-gap:40px}
.postlist li{break-inside:avoid;margin-bottom:12px;padding-left:18px;position:relative}
.postlist li::before{content:"\203A";position:absolute;left:0;color:var(--orange);font-weight:700}

/* ---------- Bildergalerie ---------- */
.galraster{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.galbild{display:block;border-radius:10px;overflow:hidden;line-height:0;background:var(--bg-soft)}
.galbild img{width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .25s ease}
.galbild:hover img{transform:scale(1.05)}

/* ---------- Lightbox ---------- */
body.lb-offen{overflow:hidden}
.lightbox{
  position:fixed;inset:0;z-index:100;background:rgba(32,26,40,.92);
  display:flex;align-items:center;justify-content:center;padding:70px 24px 40px;
}
.lightbox[hidden]{display:none}
.lb-inhalt{margin:0;max-width:min(1100px,100%);max-height:100%;display:flex;
  flex-direction:column;align-items:center;gap:12px}
.lb-inhalt img{
  max-width:100%;max-height:calc(100vh - 150px);width:auto;height:auto;
  border-radius:10px;box-shadow:0 24px 60px rgba(0,0,0,.5);background:#000;
}
.lb-inhalt figcaption{color:#e6dcf3;font-size:14.5px;letter-spacing:.02em}
.lb-zu{
  position:absolute;top:18px;right:20px;width:52px;height:52px;border-radius:50%;
  border:2px solid rgba(255,255,255,.75);background:rgba(0,0,0,.35);color:#fff;
  font-size:34px;line-height:1;cursor:pointer;display:flex;align-items:center;
  justify-content:center;padding:0 0 4px;transition:background .15s,transform .15s;
}
.lb-zu:hover,.lb-zu:focus-visible{background:var(--orange);border-color:var(--orange);transform:scale(1.06)}
.lb-pfeil{
  position:absolute;top:50%;transform:translateY(-50%);width:50px;height:70px;
  border:0;border-radius:10px;background:rgba(0,0,0,.35);color:#fff;font-size:26px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
}
.lb-pfeil:hover,.lb-pfeil:focus-visible{background:var(--purple)}
.lb-zurueck{left:16px}
.lb-vor{right:16px}
@media (max-width:720px){
  .lightbox{padding:64px 10px 30px}
  .lb-zu{top:10px;right:10px;width:46px;height:46px;font-size:30px}
  .lb-pfeil{width:42px;height:60px;font-size:22px}
  .lb-zurueck{left:4px}
  .lb-vor{right:4px}
  .lb-inhalt img{max-height:calc(100vh - 140px)}
}

/* ---------- Kundenstimmen ---------- */
.stimmen{columns:2;column-gap:22px}
.stimme{
  break-inside:avoid;margin:0 0 22px;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:22px 24px;
}
.stimme blockquote{
  margin:0;font-size:16.5px;line-height:1.6;color:var(--ink);position:relative;
  padding-left:20px;border-left:3px solid var(--orange);white-space:pre-line;
}
.stimme figcaption{margin-top:12px;font-size:14px;color:var(--muted);font-weight:600}

/* ---------- Videos ---------- */
.videoraster{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
figure.video{margin:0}
figure.video video,figure.video iframe{
  width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#000;display:block;
}
figure.video figcaption{margin-top:10px;font-size:15px;color:var(--muted);line-height:1.5}
.ytstart{
  width:100%;aspect-ratio:16/9;border:1px dashed var(--line);border-radius:12px;background:var(--bg-soft);
  cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  font:inherit;font-weight:600;color:var(--purple);
}
.ytstart:hover{background:#f3eef8}
.ytplay{
  font-size:22px;width:56px;height:56px;border-radius:50%;background:var(--orange);color:#fff;
  display:flex;align-items:center;justify-content:center;
}

/* ---------- Word-Pseudolisten ---------- */
article.prose p.strich{padding-left:1.3em;text-indent:-1.3em}
article.prose p.lead{font-size:18.5px;color:var(--purple-d);line-height:1.55}
article.prose ul.haken{list-style:none;padding-left:0;margin:0 0 16px}
article.prose ul.haken li{padding-left:1.5em;text-indent:-1.5em;margin-bottom:7px}

/* ---------- Bildkacheln ---------- */
.kachelraster{display:grid;gap:20px;margin:26px 0 6px}
.kachelraster.g3{grid-template-columns:repeat(3,1fr)}
.kachelraster.g2{grid-template-columns:repeat(2,1fr)}
.kachel{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;
}
.kachel img{width:100%;aspect-ratio:1/1;object-fit:cover}
.kachel .kt{padding:16px 18px 20px}
.kachel h3{margin:0 0 6px;font-size:17.5px}
.kachel p{margin:0;font-size:15.5px;color:var(--muted);line-height:1.5}

/* ---------- Galerie ---------- */
.galerie{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0;clear:both}
.galerie figure{margin:0}
.galerie img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px}

/* ---------- Siegel ---------- */
.siegel{display:flex;flex-wrap:wrap;gap:34px;align-items:center;justify-content:center}
.siegel img{height:84px;width:auto;opacity:.92}

/* ---------- Vita-Listen ---------- */
article.prose ul.vita{list-style:none;padding-left:0;margin:0 0 22px}
article.prose ul.vita li{
  position:relative;padding-left:20px;margin-bottom:10px;font-size:16px;line-height:1.55;
}
article.prose ul.vita li::before{
  content:"";position:absolute;left:0;top:.6em;width:7px;height:7px;border-radius:50%;
  background:var(--orange);
}
article.prose ul.vita a{font-weight:600;border-bottom:1px solid rgba(106,69,155,.3)}

/* ---------- Pflichthinweis (HWG) ---------- */
p.hwg{
  clear:both;margin:30px 0 0;padding:16px 18px;border:1px solid var(--line);
  border-left:4px solid var(--purple);border-radius:10px;background:var(--bg-soft);
  font-size:14.5px;line-height:1.55;color:var(--muted);
}
p.hwg strong{color:var(--purple-d)}
footer.site .footnote{
  margin:30px 0 0;font-size:13.5px;line-height:1.55;color:#d6c8e8;max-width:90ch;
}

/* ---------- Artikelbilder ---------- */
figure.postimg{margin:0 0 22px 24px;float:right;max-width:300px}
figure.postimg img{border-radius:10px}
figure.postimg.wide{float:none;margin:28px 0;max-width:100%}
article.prose::after{content:"";display:block;clear:both}

/* ---------- Formular ---------- */
form.anfrage{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;max-width:860px}
form.anfrage p{margin:0 0 16px}
form.anfrage label{display:block;font-weight:600;font-size:15px;margin-bottom:6px;color:var(--purple-d)}
form.anfrage input[type=text],form.anfrage input[type=email],form.anfrage input[type=tel],form.anfrage textarea{
  width:100%;padding:11px 13px;border:1.5px solid var(--line);border-radius:9px;
  font:inherit;font-size:16px;color:var(--ink);background:#fff;
}
form.anfrage input:focus,form.anfrage textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(247,144,34,.18)}
form.anfrage textarea{resize:vertical;min-height:140px}
form.anfrage .f2{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
form.anfrage .checkline label{display:block;position:relative;padding-left:30px;font-weight:400;font-size:15.5px;color:var(--muted);line-height:1.5}
form.anfrage .checkline input{position:absolute;left:0;top:3px;width:18px;height:18px;accent-color:var(--purple)}
form.anfrage .formnote{font-size:14px;color:var(--muted);margin:0}
form.anfrage .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Footer ---------- */
footer.site{background:var(--purple);color:#e6dcf3;padding:46px 0 26px;margin-top:0}
footer.site a{color:#fff}
footer.site .cols{display:grid;grid-template-columns:1.5fr 1fr 1.2fr .8fr;gap:32px}
footer.site h4{color:#fff;margin:0 0 12px;font-size:16px;letter-spacing:.04em}
footer.site ul{list-style:none;margin:0;padding:0}
footer.site li{margin-bottom:7px}
footer.site .legal{border-top:1px solid rgba(255,255,255,.22);margin-top:30px;padding-top:18px;font-size:14px;display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr;padding-top:36px;padding-bottom:36px}
  .hero .heroimg{order:-1}
  .g3,.contactgrid{grid-template-columns:1fr 1fr}
  .kachelraster.g3{grid-template-columns:repeat(2,1fr)}
  .galraster{grid-template-columns:repeat(3,1fr)}
  .videoraster{grid-template-columns:1fr}
  footer.site .cols{grid-template-columns:1fr 1fr}
  .galerie{grid-template-columns:repeat(2,1fr)}
  .layout{grid-template-columns:1fr}
  aside.side{position:static}
  footer.site .cols{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .navtoggle{display:block}
  nav.main{display:none;width:100%;margin-left:0}
  nav.main.open{display:block}
  nav.main ul{flex-direction:column;gap:2px;padding:10px 0 4px}
  header.site .wrap{flex-wrap:wrap}
  .g2,.g3,.contactgrid{grid-template-columns:1fr}
  .postlist{columns:1}
  footer.site .cols{grid-template-columns:1fr}
  .topbar .wrap{justify-content:flex-start}
  section{padding:40px 0}
  form.anfrage .f2{grid-template-columns:1fr}
  form.anfrage{padding:20px}
  figure.postimg{float:none;margin:0 0 22px;max-width:100%}
  .kachelraster.g3,.kachelraster.g2{grid-template-columns:1fr}
  .galerie{grid-template-columns:1fr 1fr;gap:10px}
  .siegel{gap:22px}
  .siegel img{height:60px}
  .galraster{grid-template-columns:repeat(2,1fr);gap:8px}
  .stimmen{columns:1}
}
