/* seite.css — Grundgeruest fuer /anwendungen/ (Uebersicht und Berufsseiten).
   Farben und Schriften wie auf der Startseite. Bausteine (Chat, Karten,
   Kurve) stehen in /demo.css. */
:root {
  --bg: #0B0E0C; --bg-2: #10140F;
  --card: rgba(255,255,255,.035); --card-line: rgba(255,255,255,.09);
  --txt: #EAF0EA; --mut: #A3AEA6;
  --ac: #4ADE80; --ac-soft: rgba(74,222,128,.14); --ac-glow: rgba(74,222,128,.45);
  --disp: 'Space Grotesk', sans-serif; --sans: 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--txt); line-height: 1.7; font-size: 18px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--ac); color: #06210F; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
a { color: var(--ac); }
:focus-visible { outline: 3px solid var(--ac); outline-offset: 2px; }

/* Header */
header { position: sticky; top: 0; z-index: 100; background: rgba(11,14,12,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--card-line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; max-width: 1100px; margin: 0 auto; gap: 12px; }
.logo { font-family: var(--disp); font-weight: 600; font-size: 1.25rem; color: var(--txt); text-decoration: none; }
.logo span { color: var(--ac); }
.nav-r { display: flex; align-items: center; gap: 18px; }
.nav-link { font-size: .92rem; color: var(--mut); text-decoration: none; }
.nav-link:hover { color: var(--ac); }
.nav-cta { font-size: .88rem; font-weight: 600; color: #06210F; text-decoration: none; background: var(--ac); padding: 9px 18px; border-radius: 99px; box-shadow: 0 0 22px rgba(74,222,128,.25); white-space: nowrap; }
.nav-cta:hover { box-shadow: 0 0 34px rgba(74,222,128,.5); }

/* Seite */
.seite { max-width: 1100px; margin: 0 auto; padding: 26px 22px 30px; }
.crumb { font-size: .86rem; color: var(--mut); margin-bottom: 30px; }
.crumb a { color: var(--mut); text-decoration: none; }
.crumb a:hover { color: var(--ac); }
.label { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ac); margin-bottom: 14px; }
.label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 10px var(--ac-glow); }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); margin-bottom: 18px; }
.lead { font-size: 1.16rem; color: #CBD5CE; max-width: 640px; margin-bottom: 26px; }
.kopf { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
.kopf-demo { position: sticky; top: 90px; }
.kurz { background: var(--bg-2); border: 1px solid var(--card-line); border-left: 3px solid var(--ac); border-radius: 14px; padding: 18px 22px; }
.kurz-t { font-family: var(--disp); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); margin-bottom: 6px; }
.kurz p:last-child { color: var(--txt); font-size: 1.04rem; }

.block { padding-top: 64px; }
.block h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 14px; }
.intro { color: #CBD5CE; max-width: 720px; margin-bottom: 24px; }

.szene { max-width: 760px; border-left: 3px solid var(--card-line); padding: 4px 0 4px 24px; }
.szene-zeit { font-family: var(--disp); font-weight: 600; color: var(--ac); margin-bottom: 10px; }
.szene p { color: #CBD5CE; margin-bottom: 14px; }
.szene p:last-child { margin-bottom: 0; }

ul.haken, ul.nicht { list-style: none; max-width: 760px; margin-bottom: 8px; }
ul.haken li, ul.nicht li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--card-line); color: #CBD5CE; }
ul.haken li::before { content: '✓'; position: absolute; left: 4px; top: 10px; color: var(--ac); font-weight: 700; }
ul.nicht li::before { content: '✕'; position: absolute; left: 4px; top: 10px; color: #F0937F; font-weight: 700; }

/* FAQ */
.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--card-line); }
.faq-item:first-child { border-top: 1px solid var(--card-line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--disp); font-weight: 500; font-size: 1.08rem; color: var(--txt); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--ac); font-size: 1.4rem; }
.faq-item[open] summary { color: var(--ac); }
.faq-item[open] summary::after { content: '–'; }
.faq-a { padding: 0 36px 18px 0; }
.faq-a p { color: #CBD5CE; }

/* Autor, Aufruf */
.autor { display: flex; gap: 16px; align-items: center; margin-top: 64px; padding: 20px 0; border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.autor img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(74,222,128,.5); display: block; }
.autor p { font-size: .96rem; color: #CBD5CE; line-height: 1.55; }
.autor .stand { font-size: .84rem; color: var(--mut); }
.cta { margin-top: 40px; background: var(--bg-2); border: 1px solid rgba(74,222,128,.35); border-radius: 10px; padding: 34px; }
.cta h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 12px; }
.cta p { color: #CBD5CE; max-width: 680px; margin-bottom: 14px; }
.cta .cta-fakten { color: var(--txt); font-size: .98rem; }
.btn { display: inline-block; margin-top: 6px; background: var(--ac); color: #06210F; font-weight: 600; font-size: 1.04rem; text-decoration: none; padding: 16px 30px; border-radius: 99px; box-shadow: 0 0 26px rgba(74,222,128,.3); }
.btn:hover { box-shadow: 0 0 42px rgba(74,222,128,.55); }

/* Weitere Beispiele, Uebersicht */
.weiter { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.weiter-karte { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: #CBD5CE; font-size: .95rem; line-height: 1.5; background: transparent; border: 1px solid var(--card-line); border-radius: 10px; padding: 18px; }
.weiter-karte:hover { border-color: rgba(74,222,128,.45); }
.weiter-karte svg, .beruf-karte svg { width: 26px; height: 26px; flex-shrink: 0; stroke: var(--ac); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.weiter-karte b { display: block; color: var(--txt); font-family: var(--disp); font-size: 1.04rem; margin-bottom: 4px; }
.berufe { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.beruf-karte { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #CBD5CE; background: transparent; border: 1px solid var(--card-line); border-radius: 10px; padding: 24px; transition: border-color .2s; }
.beruf-karte:hover { border-color: rgba(74,222,128,.45); }
.bk-kopf { display: flex; gap: 12px; align-items: center; }
.bk-kopf b { font-family: var(--disp); font-size: 1.22rem; color: var(--txt); }
.bk-saetze { display: flex; flex-direction: column; gap: 6px; }
.bk-saetze span { font-size: .95rem; color: var(--txt); border-top: 1px solid var(--card-line); padding: 8px 0 2px; }
.bk-mehr { font-weight: 600; color: var(--ac); }
.vgl-wrap { overflow-x: auto; }
.vgl { width: 100%; max-width: 820px; border-collapse: collapse; }
.vgl th { text-align: left; font-family: var(--disp); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--card-line); }
.vgl th:last-child { color: var(--ac); }
.vgl td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--card-line); color: #CBD5CE; vertical-align: top; width: 50%; }
.vgl td:last-child { color: var(--txt); }

/* Fuss */
.values { border-top: 1px solid var(--card-line); margin-top: 60px; padding: 20px 22px; max-width: 1100px; margin-left: auto; margin-right: auto; display: flex; align-items: center; gap: 16px; }
.values .rainbow { width: 38px; height: 22px; flex-shrink: 0; }
.values p { font-size: .84rem; color: var(--mut); line-height: 1.55; }
.values p b { color: var(--txt); font-weight: 500; }
footer { border-top: 1px solid var(--card-line); padding: 30px 0; }
.foot { max-width: 1100px; margin: 0 auto; padding: 0 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: var(--mut); }
.foot a { color: var(--mut); text-decoration: none; margin-left: 16px; }
.foot a:hover { color: var(--ac); }

@media (max-width: 900px) {
  .kopf { grid-template-columns: 1fr; gap: 28px; }
  .kopf-demo { position: static; }
  .weiter, .berufe { grid-template-columns: 1fr; }
  .block { padding-top: 48px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .nav-link { display: none; }
  .nav-r { gap: 12px; }
  .seite { padding: 18px 18px 20px; }
  .cta { padding: 24px 20px; }
  .btn { display: block; text-align: center; }
  .values { flex-direction: column; text-align: center; gap: 10px; }
  .foot { flex-direction: column; text-align: center; }
  .foot a { margin: 0 8px; display: inline-block; padding: 4px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beruf-karte:hover { transform: none; }
}
