/*
 * Kifferzeitung
 * Copyright (c) 2026 Dennis Andres
 */
:root{
  --bg:#0e1512; --surface:#16211b; --surface-2:#1c2a22; --line:#2a3a30; --line-soft:#213029;
  --cream:#eef0e7; --dim:#9fb0a4; --faint:#6f8175;
  --teal:#4fbfad; --teal-2:#63d3c0; --teal-ink:#08201c;
  --lime:#8fd694; --amber:#e6b74d; --coral:#e6795c;
  --sans:"Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif:"Newsreader", Georgia, serif;
  --wrap:1180px;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--cream); font-family:var(--sans); font-size:17px; line-height:1.55; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
img{ max-width:100%; display:block; }
[hidden]{ display:none !important; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--sans); font-weight:800; letter-spacing:-.02em; line-height:1.12; margin:0; }
.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding-inline:20px; }
.dot{ color:var(--teal); }
.skip{ position:absolute; left:-9999px; top:0; background:var(--teal); color:var(--teal-ink); padding:10px 16px; font-weight:700; z-index:80; border-radius:0 0 8px 0; }
.skip:focus{ left:0; top:0; }
:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; }
.btn{ display:inline-block; font-weight:700; font-size:16px; padding:14px 26px; border-radius:999px; border:1px solid transparent; cursor:pointer; }
.btn--fill{ background:var(--teal); color:var(--teal-ink); }
.btn--fill:hover{ background:var(--teal-2); }
.btn--out{ border-color:var(--line); color:var(--cream); }
.btn--out:hover{ border-color:var(--teal); color:var(--teal); }

/* ---------- Topbar ---------- */
.top{ position:sticky; top:0; z-index:60; background:rgba(14,21,18,.9); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.top__in{ display:flex; align-items:center; justify-content:space-between; height:66px; gap:16px; }
.top__logo{ display:flex; align-items:center; }
.top__logo img{ height:30px; width:auto; }
.top__nav{ display:flex; gap:28px; font-weight:700; font-size:15.5px; margin-left:auto; }
.top__link{ color:var(--dim); }
.top__link:hover, .top__link.is-active{ color:var(--cream); }
.top__search{ width:40px; height:40px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; color:var(--dim); flex:0 0 auto; }
.top__search svg{ width:18px; height:18px; }
.top__search:hover{ color:var(--teal); border-color:var(--teal); }
.top__burger{ display:none; flex-direction:column; justify-content:center; gap:5px; width:44px; height:44px; border:1px solid var(--line); border-radius:12px; background:none; cursor:pointer; }
.top__burger span{ display:block; width:18px; height:2px; background:var(--cream); margin:0 auto; border-radius:2px; }

/* ---------- Mobiles Seitenmenü (Drawer) ---------- */
.drawer{ position:fixed; inset:0; z-index:90; visibility:hidden; }
.drawer::before{ content:""; position:absolute; inset:0; background:rgba(6,10,8,.62); opacity:0; transition:opacity .28s; }
.drawer.is-open{ visibility:visible; }
.drawer.is-open::before{ opacity:1; }
.drawer__panel{ position:absolute; right:0; top:0; height:100%; width:min(330px,86vw); background:var(--surface); border-left:1px solid var(--line); transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); padding:18px 20px 30px; overflow-y:auto; display:flex; flex-direction:column; }
.drawer.is-open .drawer__panel{ transform:none; }
.drawer__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.drawer__logo{ height:26px; width:auto; }
.drawer__close{ width:42px; height:42px; border:1px solid var(--line); border-radius:12px; background:none; color:var(--cream); display:grid; place-items:center; cursor:pointer; }
.drawer__close svg{ width:20px; height:20px; }
.drawer__nav{ display:flex; flex-direction:column; }
.drawer__nav a{ padding:15px 4px; font-weight:800; font-size:19px; border-bottom:1px solid var(--line-soft); color:var(--cream); }
.drawer__nav a.is-active{ color:var(--teal); }
.drawer__label{ margin:20px 4px 4px; font-weight:800; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); }
.drawer__nav--sub a{ font-size:16px; font-weight:700; padding:12px 4px; color:var(--dim); border-bottom:1px solid var(--line-soft); }
.drawer__nav--sub a:hover{ color:var(--teal); }
.drawer__cta{ margin:22px 0 16px; text-align:center; }
.drawer__legal{ display:flex; gap:20px; margin-top:auto; padding-top:16px; }
.drawer__legal a{ color:var(--faint); font-size:14px; font-weight:600; }
.drawer__legal a:hover{ color:var(--teal); }
body.kz-noscroll{ overflow:hidden; }

/* ---------- App-Leiste unten (mobil) ---------- */
.bottomnav{ display:none; }

/* ---------- Hero ---------- */
.hero{ padding:60px 0 34px; }
.hero__eyebrow{ font-weight:700; font-size:13px; letter-spacing:.18em; text-transform:uppercase; color:var(--teal); margin-bottom:16px; }
.hero__title{ font-weight:800; font-size:clamp(40px,7.4vw,78px); line-height:1.02; letter-spacing:-.03em; max-width:16ch; margin-bottom:20px; }
.hero__title .hl{ color:var(--teal); }
.hero__lead{ color:var(--dim); font-size:clamp(16px,2.3vw,21px); max-width:56ch; margin-bottom:28px; }
.hero__actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Leitartikel ---------- */
.lead{ display:grid; grid-template-columns:1.15fr .85fr; gap:26px; padding-bottom:14px; align-items:start; }
.lead__card{ display:block; background:var(--surface); border:1px solid var(--line); border-radius:24px; overflow:hidden; transition:border-color .2s,transform .2s; }
.lead__card:hover{ border-color:#3a5546; transform:translateY(-3px); }
.lead__img{ aspect-ratio:16/10; background:radial-gradient(130% 130% at 75% 15%,#2c4136,#16211b); position:relative; }
.lead__img img{ width:100%; height:100%; object-fit:cover; }
.tag,.lead__tag{ position:absolute; left:16px; top:16px; background:rgba(14,21,18,.72); backdrop-filter:blur(6px); color:var(--teal); font-weight:700; font-size:12.5px; letter-spacing:.03em; padding:6px 13px; border-radius:999px; }
.lead__body{ padding:22px 24px 26px; }
.lead__t{ font-weight:800; font-size:clamp(23px,2.6vw,30px); line-height:1.14; }
.lead__d{ color:var(--dim); font-size:16px; margin-top:12px; }
.lead__m{ color:var(--faint); font-weight:600; font-size:13px; margin-top:14px; }
.lead__side{ display:flex; flex-direction:column; gap:22px; }
.mini{ display:grid; grid-template-columns:96px 1fr; gap:16px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:14px; overflow:hidden; transition:border-color .2s; }
.mini:hover{ border-color:#3a5546; }
.mini__img{ width:96px; height:80px; border-radius:12px; background:radial-gradient(130% 130% at 70% 20%,#2c4136,#16211b); overflow:hidden; }
.mini__img img{ width:100%; height:100%; object-fit:cover; }
.mini__t{ font-weight:800; font-size:16.5px; line-height:1.2; }
.mini__m{ color:var(--faint); font-weight:600; font-size:12.5px; margin-top:7px; }

/* ---------- Sektion + Chips + Raster ---------- */
.section{ padding:34px 0; }
.section__head{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:8px; }
.section__head h2{ font-size:clamp(22px,3vw,30px); }
.section__more{ color:var(--dim); font-weight:700; font-size:14.5px; white-space:nowrap; }
.section__more:hover{ color:var(--teal); }
.chips{ display:flex; gap:10px; flex-wrap:wrap; margin:16px 0 22px; }
.chip{ border:1px solid var(--line); border-radius:999px; padding:9px 16px; font-weight:700; font-size:14px; color:var(--dim); }
.chip:hover{ color:var(--cream); border-color:#3a5546; }
.chip.is-on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal); }

.grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; transition:transform .18s,border-color .18s; }
.card:hover{ transform:translateY(-4px); border-color:#3a5546; }
.card__img{ aspect-ratio:16/10; position:relative; background:radial-gradient(130% 130% at 75% 15%,#2c4136,#16211b); }
.card__img img{ width:100%; height:100%; object-fit:cover; }
.card__b{ padding:16px 18px 20px; }
.card__t{ font-weight:800; font-size:18.5px; line-height:1.22; }
.card__m{ color:var(--faint); font-weight:600; font-size:13px; margin-top:10px; }
.tag.-teal{ color:var(--teal); } .tag.-lime{ color:var(--lime); } .tag.-amber{ color:var(--amber); } .tag.-coral{ color:var(--coral); }

/* ---------- growerforum-Band ---------- */
.gf{ margin:14px 0 24px; background:linear-gradient(120deg,var(--surface-2),var(--surface)); border:1px solid var(--line); border-radius:24px; padding:clamp(24px,4vw,44px); display:grid; grid-template-columns:1.4fr 1fr; gap:30px; align-items:center; }
.gf__eyebrow{ font-weight:700; font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); margin-bottom:12px; }
.gf h2{ font-size:clamp(24px,3.2vw,32px); margin-bottom:12px; }
.gf p{ color:var(--dim); font-size:17px; margin-bottom:20px; }
.gf__points{ list-style:none; display:grid; gap:12px; margin:0; padding:0; }
.gf__points li{ position:relative; padding-left:26px; color:var(--dim); font-size:15px; }
.gf__points li::before{ content:""; position:absolute; left:0; top:7px; width:8px; height:8px; border-radius:50%; background:var(--teal); }
.gf__points b{ color:var(--cream); font-weight:700; }

/* ---------- CSC-Teaser ---------- */
.csc{ margin-bottom:40px; display:flex; align-items:center; justify-content:space-between; gap:20px; background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:26px 28px; }
.csc h3{ font-size:clamp(19px,2.4vw,24px); }
.csc p{ color:var(--dim); font-size:15px; margin-top:6px; }
.csc .btn{ white-space:nowrap; }

/* ---------- Seitenkopf ---------- */
.pagehead{ padding:44px 0 26px; }
.pagehead .crumbs{ font-weight:700; font-size:13.5px; color:var(--faint); display:flex; gap:9px; flex-wrap:wrap; margin-bottom:14px; }
.pagehead .crumbs a{ color:var(--dim); } .pagehead .crumbs a:hover{ color:var(--teal); }
.pagehead__title{ font-size:clamp(30px,5vw,50px); }
.pagehead__deck{ color:var(--dim); font-size:clamp(17px,2.2vw,20px); max-width:52ch; margin-top:16px; }
.pagehead__deck a{ color:var(--teal); }
.empty{ color:var(--dim); font-size:18px; padding:20px 0; }

/* ---------- Artikel ---------- */
.article{ padding:8px 0 10px; }
.article__head{ max-width:780px; }
.article__tag{ display:inline-block; font-weight:700; font-size:13px; color:var(--teal); text-transform:uppercase; letter-spacing:.08em; }
.article__title{ font-size:clamp(30px,5vw,48px); margin:14px 0 14px; }
.article__meta{ color:var(--faint); font-weight:600; font-size:14px; }
.article__cover{ width:100%; aspect-ratio:16/8; object-fit:cover; border-radius:22px; border:1px solid var(--line); margin:26px 0 6px; background:var(--surface); }
.article__layout{ display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:clamp(28px,5vw,56px); align-items:start; padding-top:26px; }

.toc{ position:sticky; top:88px; order:2; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:18px 20px; }
.toc__h{ font-weight:800; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); margin-bottom:12px; }
.toc__list{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.toc__list a{ color:var(--dim); font-weight:600; font-size:14.5px; line-height:1.35; display:block; }
.toc__list a:hover, .toc__list a.is-on{ color:var(--teal); }

.prose{ order:1; max-width:44em; font-family:var(--serif); font-size:19px; line-height:1.72; color:#e7ebe1; }
.prose>*:first-child{ margin-top:0; }
.prose h2{ font-family:var(--sans); font-size:clamp(23px,3vw,29px); margin:2em 0 .5em; scroll-margin-top:90px; }
.prose h3{ font-family:var(--sans); font-size:20px; margin:1.6em 0 .5em; }
.prose p{ margin:0 0 1.1em; }
.prose a{ color:var(--teal); text-underline-offset:3px; }
.prose strong{ color:var(--cream); font-weight:600; }
.prose ul,.prose ol{ margin:0 0 1.2em; padding-left:0; list-style:none; }
.prose ul li{ position:relative; padding-left:24px; margin:.5em 0; }
.prose ul li::before{ content:""; position:absolute; left:2px; top:.7em; width:7px; height:7px; border-radius:50%; background:var(--teal); }
.prose ol{ counter-reset:li; }
.prose ol li{ position:relative; padding-left:34px; margin:.55em 0; }
.prose ol li::before{ counter-increment:li; content:counter(li); position:absolute; left:0; top:.05em; font-family:var(--sans); font-weight:800; font-size:15px; color:var(--teal); }
.prose .tablewrap{ overflow-x:auto; }
.prose table{ width:100%; border-collapse:collapse; margin:1.4em 0; font-family:var(--sans); font-size:15.5px; }
.prose th{ text-align:left; font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--faint); border-bottom:1px solid var(--line); padding:10px 12px; }
.prose td{ border-bottom:1px solid var(--line-soft); padding:11px 12px; vertical-align:top; }
.faq{ margin-top:2.4em; border-top:1px solid var(--line); padding-top:1.4em; }
.faq h2{ font-family:var(--sans); }
.faq__item{ border-bottom:1px solid var(--line-soft); }
.faq__item summary{ cursor:pointer; list-style:none; padding:16px 30px 16px 0; position:relative; font-family:var(--sans); font-weight:800; font-size:18px; }
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{ content:""; position:absolute; right:4px; top:22px; width:10px; height:10px; border-right:2px solid var(--teal); border-bottom:2px solid var(--teal); transform:rotate(45deg); transition:transform .2s; }
.faq__item[open] summary::after{ transform:rotate(-135deg); }
.faq__a{ padding:0 0 18px; font-family:var(--serif); color:var(--dim); font-size:17.5px; line-height:1.65; }
.preview-banner{ background:var(--amber); color:#241a00; font-weight:700; text-align:center; padding:10px; }

/* ---------- Fuss ---------- */
.foot{ background:var(--surface); margin-top:20px; }
.foot__grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:clamp(20px,4vw,40px); padding:clamp(38px,5vw,56px) 0 30px; }
.foot__brand img{ height:34px; margin-bottom:16px; }
.foot__claim{ color:var(--dim); font-size:15.5px; max-width:32em; }
.foot__h{ font-size:12.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); margin:0 0 14px; }
.foot__col ul{ list-style:none; margin:0; padding:0; }
.foot__col li{ margin:0 0 10px; }
.foot__col a{ color:var(--dim); font-size:15.5px; }
.foot__col a:hover{ color:var(--teal); }
.foot__legal{ border-top:1px solid var(--line); padding:20px 0 30px; }
.foot__legal p{ margin:0; font-size:13px; color:var(--faint); }
.foot__legal a{ color:var(--dim); }
.foot__legal a:hover{ color:var(--teal); }

/* ---------- Responsiv ---------- */
@media (max-width:900px){
  .grid{ grid-template-columns:repeat(2,1fr); }
  .lead{ grid-template-columns:1fr; }
  .lead__side{ grid-template-rows:none; }
  .gf,.article__layout{ grid-template-columns:1fr; }
  .toc{ position:static; order:0; margin-bottom:8px; }
  .foot__grid{ grid-template-columns:1fr 1fr; }
  .foot__brand{ grid-column:1 / -1; }
  .csc{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:820px){
  .top__nav, .top__search{ display:none; }
  .top__burger{ display:flex; }
  body{ padding-bottom:78px; }
  .bottomnav{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:70; background:rgba(14,21,18,.94); backdrop-filter:blur(14px); border-top:1px solid var(--line); height:66px; padding:6px 6px; padding-bottom:max(6px,env(safe-area-inset-bottom)); }
  .bottomnav a{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; color:var(--faint); font-weight:700; font-size:11px; }
  .bottomnav a.is-on{ color:var(--teal); }
  .bottomnav svg{ width:23px; height:23px; }
}
@media (max-width:620px){
  .hero{ padding:34px 0 20px; }
  .grid{ grid-template-columns:1fr; }
}
/* ---------- Community-Seite ---------- */
.chero{ padding:56px 0 10px; }
.chero__title{ font-weight:800; font-size:clamp(40px,7vw,74px); letter-spacing:-.03em; line-height:1.02; }
.chero__lead{ color:var(--dim); font-size:clamp(17px,2.3vw,21px); max-width:60ch; margin:20px 0 28px; }
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:40px; }
.stat{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:22px 24px; }
.stat strong{ display:block; font-size:clamp(28px,4vw,42px); font-weight:800; color:var(--teal); letter-spacing:-.02em; line-height:1; }
.stat span{ color:var(--dim); font-size:14px; font-weight:600; margin-top:8px; display:block; }

.features{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.feature{ background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:24px; }
.feature__ic{ width:48px; height:48px; border-radius:13px; background:rgba(79,191,173,.13); color:var(--teal); display:grid; place-items:center; margin-bottom:16px; }
.feature__ic svg{ width:24px; height:24px; }
.feature h3{ font-size:18.5px; margin-bottom:8px; }
.feature p{ color:var(--dim); font-size:15px; margin:0; }

.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.step{ display:flex; gap:16px; align-items:flex-start; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:22px; }
.step__n{ flex:0 0 auto; width:38px; height:38px; border-radius:50%; background:var(--teal); color:var(--teal-ink); font-weight:800; display:grid; place-items:center; }
.step h3{ font-size:17px; margin-bottom:6px; }
.step p{ color:var(--dim); font-size:14.5px; margin:0; }

.bigcta{ position:relative; overflow:hidden; margin:14px 0 40px; background:linear-gradient(120deg,var(--surface-2),var(--surface)); border:1px solid var(--line); border-radius:26px; padding:clamp(30px,5vw,54px); }
.bigcta__leaf{ position:absolute; right:-30px; bottom:-70px; width:300px; opacity:.12; transform:rotate(-12deg); pointer-events:none; }
.bigcta__leaf img{ width:100%; filter:brightness(0) saturate(100%) invert(72%) sepia(35%) saturate(560%) hue-rotate(115deg); }
.bigcta__in{ position:relative; max-width:640px; }
.bigcta h2{ font-size:clamp(26px,3.6vw,38px); margin:8px 0 12px; }
.bigcta p{ color:var(--dim); font-size:17px; margin-bottom:22px; }

/* ---------- Partner ---------- */
.pcard{ padding:24px; display:flex; flex-direction:column; gap:14px; }
.pcard__head{ display:flex; align-items:center; gap:14px; }
.pcard__mono{ width:52px; height:52px; border-radius:14px; background:var(--surface-2); border:1px solid var(--line); display:grid; place-items:center; font-weight:800; font-size:18px; color:var(--teal); flex:0 0 auto; }
.pcard__logo{ width:52px; height:52px; border-radius:14px; object-fit:contain; background:var(--surface-2); border:1px solid var(--line); padding:6px; flex:0 0 auto; }
.pcard__logo.light{ background:#f4f4ef; }
.pcard__name{ font-size:20px; }
.pcard__desc{ color:var(--dim); font-size:15.5px; margin:0; flex:1; }
.pcard__btn{ align-self:flex-start; }
.code-chip{ display:flex; align-items:center; gap:10px; background:var(--surface-2); border:1px dashed var(--line); border-radius:12px; padding:10px 14px; }
.code-chip code{ font-weight:800; letter-spacing:.06em; color:var(--teal); font-family:var(--sans); }
.code-chip .copy{ margin-left:auto; background:none; border:1px solid var(--line); border-radius:999px; color:var(--dim); font:inherit; font-weight:700; font-size:12.5px; padding:6px 12px; cursor:pointer; }
.code-chip .copy:hover{ color:var(--teal); border-color:var(--teal); }
#toast{ position:fixed; left:50%; bottom:90px; transform:translateX(-50%); background:var(--teal); color:var(--teal-ink); font-weight:700; padding:11px 20px; border-radius:999px; z-index:95; }

/* ---------- CSC-Verzeichnis ---------- */
.blog-hero, .csc-hero-slim{ padding:44px 0 20px; }
.blog-hero .kicker{ color:var(--teal); }
.blog-hero h1{ font-size:clamp(30px,5vw,48px); font-weight:800; letter-spacing:-.02em; }
.blog-hero .hl{ color:var(--teal); }
.blog-stats{ display:flex; gap:clamp(20px,4vw,44px); margin-top:20px; flex-wrap:wrap; }
.blog-stats div{ display:flex; flex-direction:column; gap:3px; }
.blog-stats strong{ font-size:28px; font-weight:800; color:var(--teal); letter-spacing:-.02em; }
.blog-stats span{ font-size:12.5px; color:var(--dim); font-weight:600; }

.csc-app-wrap{ max-width:var(--wrap); margin-inline:auto; padding:6px 20px 20px; }
#csc-form .consent{ display:flex; gap:10px; align-items:flex-start; color:var(--dim); font-size:14px; font-weight:400; margin-top:12px; }
#csc-form .consent a{ color:var(--teal); }
#csc-form .form-wide{ grid-column:1 / -1; }
#csc-form .dim{ color:var(--dim); font-size:14px; margin-top:12px; }
.csc-app{ display:grid; grid-template-columns:250px 1fr; gap:22px; align-items:start; }
.csc-side{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:14px 18px; position:sticky; top:88px; }
.filter-toggle{ display:none; }
details.side-group{ border-bottom:1px solid var(--line-soft); padding:8px 0 12px; }
details.side-group:last-of-type{ border-bottom:0; }
details.side-group summary{ cursor:pointer; list-style:none; position:relative; padding-right:20px; }
details.side-group summary::-webkit-details-marker{ display:none; }
details.side-group summary::after{ content:""; position:absolute; right:2px; top:5px; width:8px; height:8px; border-right:2px solid var(--faint); border-bottom:2px solid var(--faint); transform:rotate(45deg); transition:transform .2s; }
details.side-group[open] summary::after{ transform:rotate(-135deg); }
details.side-group > *:not(summary){ margin-top:12px; }
.side-label{ font-weight:800; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); }
.side-status{ display:flex; flex-direction:column; gap:8px; }
.side-status .cat-chip{ display:flex; justify-content:space-between; align-items:center; text-align:left; width:100%; }
.csc-side select, .csc-side input[type=search], .csc-side input[type=text]{ width:100%; background:var(--surface-2); border:1px solid var(--line); color:var(--cream); border-radius:10px; padding:11px 12px; font:inherit; }
.csc-side input[type=range]{ width:100%; accent-color:var(--teal); }
.side-hint{ color:var(--dim); font-size:13px; }
.blog-search{ display:flex; align-items:center; gap:10px; background:var(--surface-2); border:1px solid var(--line); border-radius:10px; padding:0 12px; }
.blog-search svg{ width:18px; height:18px; color:var(--faint); flex:0 0 auto; }
.blog-search input{ border:0; background:none; color:var(--cream); padding:11px 0; width:100%; font:inherit; }
.blog-search input:focus{ outline:none; }
.side-loc-btn, .side-reset{ width:100%; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.btn-ghost{ display:inline-block; font-weight:700; font-size:14.5px; padding:11px 16px; border-radius:999px; border:1px solid var(--line); color:var(--cream); cursor:pointer; background:none; }
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal); }
.side-loc-btn.active{ color:var(--teal); border-color:var(--teal); }
.cat-chip{ border:1px solid var(--line); border-radius:999px; padding:8px 14px; font-weight:700; font-size:13.5px; color:var(--dim); background:none; cursor:pointer; }
.cat-chip .count{ color:var(--faint); font-weight:700; margin-left:6px; }
.cat-chip.on{ background:var(--teal); color:var(--teal-ink); border-color:var(--teal); }
.cat-chip.on .count{ color:var(--teal-ink); }

.csc-mid-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; color:var(--dim); font-weight:600; font-size:14px; }
.pager-btn{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:none; color:var(--cream); cursor:pointer; font-size:16px; }
.pager-btn:hover:not(:disabled){ border-color:var(--teal); color:var(--teal); }
.pager-btn:disabled{ opacity:.35; cursor:default; }
.csc-results{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.csc-tile{ display:flex; flex-direction:column; gap:12px; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:18px; text-decoration:none; color:var(--cream); transition:border-color .2s,transform .2s; position:relative; overflow:hidden; }
.csc-tile::after{ content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--teal); }
.csc-tile.is-genehmigt::after{ background:var(--amber); }
.csc-tile.is-offen::after{ background:var(--faint); }
.csc-tile:hover{ border-color:var(--teal); transform:translateY(-2px); }
.tile-head{ display:flex; align-items:center; gap:10px; }
.tile-leaf{ width:20px; height:20px; color:var(--teal); }
.csc-mono{ margin-left:auto; width:40px; height:40px; border-radius:11px; background:var(--surface-2); border:1px solid var(--line); display:grid; place-items:center; font-weight:800; font-size:14px; color:var(--teal); }
.status-chip{ font-weight:700; font-size:11.5px; letter-spacing:.03em; padding:4px 10px; border-radius:999px; background:rgba(79,191,173,.15); color:var(--teal); }
.status-chip.amber{ background:rgba(230,183,77,.15); color:var(--amber); }
.status-chip.off{ background:rgba(159,176,164,.12); color:var(--dim); }
.tile-body h3{ font-size:16.5px; line-height:1.25; }
.tile-body .dim{ color:var(--dim); font-size:13.5px; margin-top:5px; }

.csc-map-pane{ grid-column:1 / -1; margin-top:6px; }
#map{ height:440px; border:1px solid var(--line); border-radius:18px; overflow:hidden; }
#map-consent.card{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:26px; }
.leaflet-container{ background:#0b120e; }
.leaflet-container .leaflet-tile{ filter:invert(1) hue-rotate(175deg) saturate(.4) brightness(.72) contrast(.96); }
.leaflet-container .leaflet-control-attribution{ background:rgba(14,21,18,.85); color:var(--faint); }
.leaflet-container .leaflet-control-attribution a{ color:var(--dim); }
.leaflet-popup-content-wrapper,.leaflet-popup-tip{ background:var(--surface); color:var(--cream); border:1px solid var(--line); }
.leaflet-popup-content-wrapper{ border-radius:14px; }
.leaflet-popup-content a{ color:var(--teal); }
.leaflet-bar a{ background:var(--surface); color:var(--cream); border-color:var(--line); }
.csc-marker{ width:36px; height:36px; border-radius:50%; background:var(--surface); border:2px solid var(--teal); color:var(--teal); display:grid; place-items:center; font-weight:800; font-size:12px; box-shadow:0 4px 14px rgba(0,0,0,.5); }
.csc-marker.st-genehmigt{ border-color:var(--amber); color:var(--amber); }
.csc-marker.st-offen{ border-color:var(--faint); color:var(--dim); }

.automation-card.card, #csc-form.card{ background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:26px; margin-top:20px; }

/* ---------- CSC-Detailseite ---------- */
.clubhead{ display:flex; align-items:center; gap:20px; margin-top:16px; }
.clubhead__mono{ flex:0 0 auto; width:76px; height:76px; border-radius:20px; background:var(--surface); border:1px solid var(--line); display:grid; place-items:center; font-weight:800; font-size:26px; color:var(--teal); }
.clubhead__title{ font-size:clamp(26px,4vw,42px); }
.clubhead__meta{ display:flex; align-items:center; gap:12px; margin-top:10px; flex-wrap:wrap; }
.clubhead__loc{ display:inline-flex; align-items:center; gap:7px; color:var(--dim); font-weight:600; font-size:14.5px; }
.clubhead__loc svg{ width:16px; height:16px; color:var(--teal); }
.clubgrid{ display:grid; grid-template-columns:1fr 1.2fr; gap:20px; align-items:start; }
.card.facts, .card.clubmap{ background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:24px; }
.facts__h{ font-size:18px; margin-bottom:14px; }
.facts__list{ margin:0; }
.facts__row{ display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--line-soft); }
.facts__row:last-child{ border-bottom:0; }
.facts__row dt{ color:var(--faint); font-weight:700; font-size:13.5px; }
.facts__row dd{ margin:0; font-weight:700; font-size:15px; text-align:right; }
.facts__row dd a{ color:var(--teal); }
.clubmap #map{ height:300px; border-radius:14px; overflow:hidden; margin-top:4px; }
.clubmap__note{ color:var(--dim); font-size:14.5px; margin:0 0 16px; }
@media (max-width:820px){ .clubgrid{ grid-template-columns:1fr; } .csc-results[style]{ grid-template-columns:1fr !important; } }
.check-list{ display:grid; gap:10px; margin-top:10px; }
.check-item{ position:relative; padding-left:22px; color:var(--dim); font-size:15px; }
.check-item::before{ content:""; position:absolute; left:0; top:8px; width:7px; height:7px; border-radius:50%; background:var(--teal); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:8px; }
.form-grid label{ display:flex; flex-direction:column; gap:6px; font-weight:700; font-size:13.5px; color:var(--dim); }
.form-grid input, .form-grid select, #csc-form input, #csc-form select, #csc-form textarea{ background:var(--surface-2); border:1px solid var(--line); color:var(--cream); border-radius:10px; padding:11px 12px; font:inherit; font-weight:400; }
.featured-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.automation-card .featured-body{ display:flex; gap:16px; align-items:flex-start; }

@media (max-width:900px){
  .csc-app{ grid-template-columns:1fr; }
  .csc-side{ position:static; }
  .csc-results{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
}

@media (max-width:900px){
  .stats{ grid-template-columns:repeat(2,1fr); }
  .features{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .stats{ grid-template-columns:1fr 1fr; }
  .features{ grid-template-columns:1fr; }
}

/* ---------- Einblenden ---------- */
.reveal{ opacity:0; transform:translateY(16px); animation:kzrise .65s cubic-bezier(.22,.61,.36,1) forwards; animation-delay:var(--d,0s); }
@keyframes kzrise{ to{ opacity:1; transform:none; } }

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