/* ══════════════════════════════════════════════════════════════
   Öffentliche Agentur-Seiten (09.10.2026)
   /agentur, /agentur/plugins/ und jede öffentliche Plugin-Seite.
   Gleiche Sprache wie der interne Bereich: ruhig, Inter, Lila ohne
   Neon, Karten mit dünnem Rand, Kacheln mit Bild.
   Lädt NACH grundregeln.css. Steht für sich, braucht kein basis.css,
   plugins.css oder stil.css.
   ══════════════════════════════════════════════════════════════ */
:root{
  --grund:#0c0913; --flaeche:#151021; --flaeche2:#1b1529; --linie:rgba(255,255,255,.08); --linie2:rgba(255,255,255,.14);
  --lila:#a855f7; --lila-dunkel:#9333ea; --lila2:#c084fc; --lila-rgb:168,85,247;
  --text:rgba(255,255,255,.93); --muted:rgba(255,255,255,.66); --muted2:rgba(255,255,255,.5);
  --gruen:#4ade80; --gruen-rgb:74,222,128;
  /* grundregeln.css nimmt --neon2 für den Fokusrahmen */
  --neon2:#c084fc;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  background:var(--grund);
  background-image:radial-gradient(900px 460px at 12% -6%,rgba(168,85,247,.16),transparent 70%),
                   radial-gradient(700px 380px at 100% 0%,rgba(99,102,241,.10),transparent 70%);
  background-repeat:no-repeat;
  color:var(--text);font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  line-height:1.6;padding-bottom:76px;
}
@media(min-width:760px){ body{padding-bottom:0;} }
img{display:block;}
a{color:var(--lila2);}
h1,h2,h3{font-family:'Inter',system-ui,sans-serif;letter-spacing:-.015em;line-height:1.2;}
.huelle{max-width:1080px;margin:0 auto;padding:0 20px;}
@media(max-width:520px){ .huelle{padding:0 16px;} }

/* ── Kopfleiste ───────────────────────────────────────────── */
.leiste-oben{position:sticky;top:0;z-index:40;background:rgba(12,9,19,.84);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--linie);}
.leiste-oben .huelle{display:flex;align-items:center;gap:14px;min-height:60px;}
.logo{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:700;font-size:.95rem;min-height:44px;}
.logo img{width:30px;height:30px;border-radius:8px;}
.navi{display:flex;align-items:center;gap:4px;margin-left:auto;}
.navi a{color:var(--muted);text-decoration:none;font-size:.86rem;font-weight:550;padding:0 10px;min-height:44px;display:inline-flex;align-items:center;border-radius:8px;}
.navi a:hover{color:var(--text);background:rgba(255,255,255,.05);}
.navi .knopf{margin-left:6px;min-height:40px;padding:8px 16px;font-size:.84rem;}
@media(max-width:760px){ .navi a:not(.knopf){display:none;} }
@media(max-width:400px){ .navi .knopf{padding:8px 12px;font-size:.8rem;} .logo span{font-size:.88rem;} }

/* ── Knöpfe ───────────────────────────────────────────────── */
.knopf{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-size:.92rem;font-weight:650;text-decoration:none;white-space:nowrap;
  border-radius:10px;padding:13px 24px;background:var(--lila);color:#fff;border:0;cursor:pointer;
  transition:background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.knopf:hover{background:var(--lila-dunkel);box-shadow:0 6px 18px rgba(var(--lila-rgb),.3);transform:translateY(-1px);}
.knopf.stumm{background:rgba(255,255,255,.06);border:1px solid var(--linie2);color:var(--text);}
.knopf.stumm:hover{background:rgba(255,255,255,.1);box-shadow:none;}
.knopfreihe{display:flex;flex-wrap:wrap;gap:10px;}
@media(max-width:520px){ .knopfreihe .knopf{flex:1 1 100%;white-space:normal;text-align:center;} }

/* ── Brotkrumen ───────────────────────────────────────────── */
.pfad{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.82rem;color:var(--muted2);padding-top:18px;}
.pfad a{color:var(--lila2);text-decoration:none;display:inline-flex;align-items:center;min-height:32px;}
.pfad a:hover{text-decoration:underline;}

/* ── Seitenkopf ───────────────────────────────────────────── */
.kopf{padding:44px 0 10px;}
.kopf.mitte{text-align:center;}
.kopf.mitte .vorspann{margin-left:auto;margin-right:auto;}
.kopf.mitte .knopfreihe{justify-content:center;}
.marke{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase;
  color:var(--lila2);background:rgba(var(--lila-rgb),.12);border:1px solid rgba(var(--lila-rgb),.3);padding:5px 11px;border-radius:999px;}
.marke .punkt{width:6px;height:6px;border-radius:50%;background:var(--gruen);}
h1{font-size:clamp(1.9rem,5.6vw,3rem);font-weight:800;margin:16px 0 12px;}
h1 .ton{color:var(--lila2);}
.vorspann{font-size:clamp(.98rem,2.4vw,1.1rem);color:var(--muted);max-width:660px;}
.kopf .knopfreihe{margin-top:26px;}
.unterzeile{font-size:.82rem;color:var(--muted2);margin-top:12px;}
.unterzeile b{color:var(--gruen);font-weight:650;}
.portrait{width:84px;height:84px;border-radius:50%;overflow:hidden;margin:0 auto 18px;border:2px solid rgba(var(--lila-rgb),.55);}
.portrait img{width:100%;height:100%;object-fit:cover;}

/* Zahlenband */
.band{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:34px;}
.band > div{background:var(--flaeche);border:1px solid var(--linie);border-radius:14px;padding:16px 12px;text-align:center;}
.band .zahl{font-size:clamp(1rem,2.6vw,1.25rem);font-weight:800;color:var(--text);line-height:1.25;}
.band .bez{font-size:.74rem;color:var(--muted2);margin-top:4px;}
@media(max-width:620px){ .band{grid-template-columns:repeat(2,1fr);} }

/* ── Abschnitte ───────────────────────────────────────────── */
section{padding:56px 0 0;scroll-margin-top:70px;}
@media(max-width:520px){ section{padding-top:44px;} }
.kapitel{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;font-size:.74rem;font-weight:650;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);}
.kapitel .nr{font-size:.72rem;font-weight:750;color:var(--lila2);background:rgba(var(--lila-rgb),.14);border-radius:6px;padding:2px 7px;letter-spacing:0;}
h2{font-size:clamp(1.4rem,3.6vw,1.9rem);font-weight:800;margin-bottom:10px;}
.fliess{color:rgba(255,255,255,.78);font-size:.98rem;max-width:680px;}
.fliess + .fliess{margin-top:12px;}
.fliess b{color:var(--text);font-weight:650;}
.fliess a{color:var(--lila2);text-decoration:none;border-bottom:1px solid rgba(var(--lila-rgb),.4);}
.fliess a:hover{border-bottom-color:var(--lila2);}
.abschnitt-fuss{margin-top:18px;}
.textlink{display:inline-flex;align-items:center;min-height:44px;color:var(--lila2);font-weight:650;font-size:.92rem;text-decoration:none;}
.textlink:hover{text-decoration:underline;}

/* ── Karten ───────────────────────────────────────────────── */
.karten{display:grid;gap:12px;margin-top:22px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));}
.karte{background:var(--flaeche);border:1px solid var(--linie);border-radius:14px;padding:18px 18px 20px;}
.karte h3{font-size:1rem;font-weight:700;margin:10px 0 5px;}
.karte p{font-size:.9rem;color:rgba(255,255,255,.72);}
.karte .nr{display:inline-block;font-size:.72rem;font-weight:750;color:var(--lila2);background:rgba(var(--lila-rgb),.14);border-radius:6px;padding:2px 7px;}
.karte .symbol{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:rgba(var(--lila-rgb),.14);color:var(--lila2);}
.karte .symbol svg{width:21px;height:21px;}
.karte.gross{grid-column:1/-1;}
.karte .mehr{display:inline-flex;align-items:center;min-height:40px;margin-top:6px;color:var(--lila2);font-weight:650;font-size:.88rem;text-decoration:none;}
.karte .mehr:hover{text-decoration:underline;}
.karte .etikett{float:right;font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:6px;background:rgba(var(--lila-rgb),.16);color:var(--lila2);}

/* Merkmale mit Haken */
.merkmale{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;margin-top:20px;}
.merkmal{display:flex;gap:10px;align-items:flex-start;background:var(--flaeche);border:1px solid var(--linie);border-radius:12px;padding:12px 14px;font-size:.9rem;color:rgba(255,255,255,.84);}
.merkmal::before{content:"✓";flex:none;width:20px;height:20px;border-radius:6px;background:rgba(var(--lila-rgb),.18);color:var(--lila2);font-weight:800;font-size:.75rem;display:flex;align-items:center;justify-content:center;margin-top:1px;}

/* ── Kacheln mit Bild (Plugins) ───────────────────────────── */
.kacheln{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-top:22px;}
.kachel{display:flex;flex-direction:column;background:var(--flaeche);border:1px solid var(--linie);border-radius:16px;overflow:hidden;color:inherit;text-decoration:none;
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;}
.kachel:hover{border-color:rgba(var(--lila-rgb),.55);transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.35);}
.kachel-bild{aspect-ratio:16/10;background:linear-gradient(135deg,#2a1747,#171026);overflow:hidden;}
.kachel-bild img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease;}
.kachel:hover .kachel-bild img{transform:scale(1.03);}
.kachel-text{padding:14px 16px 4px;flex:1;}
.kachel-text b{display:block;font-size:1.02rem;font-weight:700;}
.kachel-text span{display:block;color:var(--muted);font-size:.86rem;margin-top:4px;line-height:1.5;}
.kachel-fuss{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px 14px;font-size:.8rem;}
.kachel-fuss .fakt{color:var(--muted2);}
.kachel-fuss .los{color:var(--lila2);font-weight:650;white-space:nowrap;}
@media(max-width:560px){
  .kacheln{grid-template-columns:1fr 1fr;gap:10px;}
  .kachel-text{padding:10px 12px 2px;}
  .kachel-text b{font-size:.94rem;}
  .kachel-text span{font-size:.8rem;}
  .kachel-fuss{padding:8px 12px 12px;}
  .kachel-fuss .fakt{display:none;}
}
@media(max-width:360px){ .kacheln{grid-template-columns:1fr;} }

/* ── Bilderreihe auf Plugin-Seiten ────────────────────────── */
.bilderreihe{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:30px;}
.bilderreihe figure{background:var(--flaeche);border:1px solid var(--linie);border-radius:14px;overflow:hidden;}
.bilderreihe img{width:100%;height:auto;aspect-ratio:540/643;object-fit:cover;}
.bilderreihe.quer img{aspect-ratio:16/10;}
.bilderreihe.breit img{aspect-ratio:16/9;}
.bilderreihe figcaption{font-size:.82rem;color:var(--muted);padding:9px 12px 11px;}
@media(max-width:620px){
  .bilderreihe{grid-template-columns:1fr 1fr;gap:10px;}
  .bilderreihe figure:first-child{grid-column:1/-1;}
  .bilderreihe:not(.quer):not(.breit) figure:first-child img{aspect-ratio:16/11;}
}
.bildnachweis{font-size:.74rem;color:var(--muted2);margin-top:8px;}

/* Kulissen (Painting) */
.kulissen{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;}
.kulissen figure{border-radius:12px;overflow:hidden;border:1px solid var(--linie);background:var(--flaeche);}
.kulissen img{width:100%;height:auto;aspect-ratio:420/302;object-fit:cover;}
.kulissen figcaption{font-size:.8rem;color:var(--muted);padding:7px 10px 9px;}
@media(max-width:560px){ .kulissen{grid-template-columns:1fr 1fr;} }

/* Zwei Listen: gegen dich / für dich */
.zwei-listen{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;}
@media(max-width:620px){ .zwei-listen{grid-template-columns:1fr;} }
.liste-karte{background:var(--flaeche);border:1px solid var(--linie);border-radius:14px;padding:18px 18px 16px;}
.liste-karte h3{font-size:.96rem;font-weight:700;margin-bottom:10px;display:flex;align-items:center;gap:8px;}
.liste-karte h3::before{content:"";width:8px;height:8px;border-radius:50%;background:#f87171;}
.liste-karte.fuer h3::before{background:var(--gruen);}
.liste-karte ul{list-style:none;display:grid;gap:7px;}
.liste-karte li{font-size:.9rem;color:rgba(255,255,255,.78);padding-left:16px;position:relative;}
.liste-karte li::before{content:"";position:absolute;left:2px;top:.62em;width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.3);}

/* Hinweis-Kasten */
.hinweis{margin-top:16px;background:rgba(var(--lila-rgb),.08);border:1px solid rgba(var(--lila-rgb),.28);border-radius:14px;padding:15px 18px;font-size:.92rem;color:rgba(255,255,255,.84);}
.hinweis b{color:var(--text);}
.hinweis a{color:var(--lila2);}

/* Kostenlos-Kasten */
.gratis{margin-top:16px;border-radius:16px;padding:22px 22px;background:linear-gradient(135deg,rgba(var(--gruen-rgb),.08),rgba(var(--gruen-rgb),.02));border:1px solid rgba(var(--gruen-rgb),.3);}
.gratis h3{font-size:1.08rem;font-weight:750;color:var(--gruen);margin-bottom:8px;}
.gratis p{font-size:.92rem;color:rgba(255,255,255,.76);}
.gratis p + p{margin-top:9px;}
.gratis b{color:var(--text);font-weight:650;}

/* Vergleich */
.vergleich{margin-top:20px;border:1px solid var(--linie);border-radius:14px;overflow:hidden;background:var(--flaeche);}
.vergleich-zeile,.vergleich-kopf{display:grid;grid-template-columns:1fr 1.2fr 1.6fr;gap:12px;padding:12px 16px;border-top:1px solid var(--linie);font-size:.88rem;}
.vergleich-kopf{border-top:0;background:rgba(255,255,255,.03);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);}
.vergleich-zeile span:first-child{font-weight:650;}
.vergleich-zeile span:nth-child(2){color:var(--muted2);}
.vergleich-zeile span:nth-child(3){color:rgba(255,255,255,.88);}
@media(max-width:560px){
  .vergleich-kopf{display:none;}
  .vergleich-zeile{grid-template-columns:1fr;gap:2px;}
  .vergleich-zeile span:nth-child(2)::before{content:"Woanders oft: ";}
  .vergleich-zeile span:nth-child(3)::before{content:"Bei mir: ";color:var(--lila2);font-weight:650;}
}

/* Profil-Verweis und Video */
.zwei-spalten{display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:start;}
@media(max-width:760px){ .zwei-spalten{grid-template-columns:1fr;} }
.profil{display:flex;align-items:center;gap:14px;margin-top:22px;background:var(--flaeche);border:1px solid var(--linie);border-radius:14px;
  padding:14px 16px;text-decoration:none;color:inherit;transition:border-color .15s ease;}
.profil:hover{border-color:rgba(var(--lila-rgb),.5);}
.profil img{width:44px;height:44px;border-radius:50%;flex:0 0 44px;object-fit:cover;}
.profil-text{flex:1;min-width:0;}
.profil-name{font-weight:700;font-size:.94rem;}
.profil-zeile{font-size:.82rem;color:var(--muted);margin-top:1px;}
.profil-pfeil{color:var(--lila2);font-size:1.1rem;}
.videoblock{max-width:320px;width:100%;}
@media(max-width:760px){ .videoblock{margin:0 auto;} }
.videostart{width:100%;aspect-ratio:9/14;border-radius:16px;cursor:pointer;
  background:linear-gradient(160deg,rgba(var(--lila-rgb),.2),var(--flaeche) 70%);border:1px solid rgba(var(--lila-rgb),.3);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text);font-family:inherit;padding:24px;text-align:center;
  transition:border-color .15s ease;}
.videostart:hover{border-color:rgba(var(--lila-rgb),.65);}
.videoknopf{width:56px;height:56px;border-radius:50%;background:var(--lila);display:flex;align-items:center;justify-content:center;}
.videoknopf svg{width:22px;height:22px;margin-left:3px;fill:#fff;}
.videotitel{font-weight:700;font-size:.98rem;}
.videohinweis{font-size:.76rem;color:var(--muted2);line-height:1.5;max-width:230px;}
.videoblock iframe{width:100%;aspect-ratio:9/20;border:0;border-radius:16px;display:block;background:#000;}

/* Ablauf */
.schritte{display:grid;gap:10px;margin-top:20px;}
@media(min-width:760px){ .schritte{grid-template-columns:repeat(3,1fr);} }
.schritt{display:flex;gap:14px;background:var(--flaeche);border:1px solid var(--linie);border-radius:14px;padding:16px 18px;}
.stufe{flex:0 0 34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;background:rgba(var(--lila-rgb),.16);color:var(--lila2);}
.schritt h3{font-size:.98rem;font-weight:700;margin-bottom:4px;}
.schritt p{font-size:.88rem;color:rgba(255,255,255,.72);}

/* Fragen */
.fragen{margin-top:20px;display:grid;gap:8px;}
.frage{background:var(--flaeche);border:1px solid var(--linie);border-radius:12px;}
.frage summary{cursor:pointer;list-style:none;padding:14px 46px 14px 16px;position:relative;font-weight:650;font-size:.94rem;min-height:44px;}
.frage summary::-webkit-details-marker{display:none;}
.frage summary::after{content:"+";position:absolute;right:16px;top:11px;font-size:1.3rem;font-weight:400;color:var(--lila2);transition:transform .2s ease;}
.frage[open] summary::after{transform:rotate(45deg);}
.frage p{padding:0 16px 16px;font-size:.9rem;color:rgba(255,255,255,.74);}

/* Schlussruf */
.schluss{margin-top:56px;text-align:center;background:linear-gradient(140deg,rgba(var(--lila-rgb),.16),rgba(99,102,241,.06) 60%,var(--flaeche));
  border:1px solid rgba(var(--lila-rgb),.3);border-radius:20px;padding:38px 22px;}
.schluss h2{margin-bottom:10px;}
.schluss .fliess{margin:0 auto;}
.schluss .knopfreihe{justify-content:center;margin-top:22px;}
.schluss .unterzeile a{color:var(--lila2);text-decoration:none;}

/* ── Fuß ──────────────────────────────────────────────────── */
footer{border-top:1px solid var(--linie);margin-top:56px;padding:22px 0 26px;text-align:center;font-size:.8rem;color:var(--muted2);}
footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 6px;}
footer a{color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;min-height:44px;padding:0 6px;}
footer a:hover{color:var(--text);}
.rechtlich{font-size:.74rem;color:var(--muted2);margin-top:8px;line-height:1.7;}

/* ── Fester Knopf am Handy ───────────────────────────────── */
.leiste{position:fixed;left:0;right:0;bottom:0;z-index:60;padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  background:rgba(12,9,19,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--linie);display:flex;justify-content:center;}
.leiste .knopf{width:100%;max-width:420px;}
@media(min-width:760px){ .leiste{display:none;} }

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .knopf,.kachel,.kachel-bild img{transition:none;}
}
