/* =====================================================================
   SachkundeTOGO Campus – Gestaltung
   Schriften: Syne (Überschriften) + Instrument Sans (Text), selbst gehostet.
   ===================================================================== */
@font-face { font-family: 'Syne'; src: url('fonts/syne.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #060913;
  --bg-2: #0a0f1f;
  --surface: #0e1528;
  --surface-2: #131c34;
  --line: rgba(148, 170, 255, .12);
  --line-2: rgba(148, 170, 255, .2);
  --ink: #eef2ff;
  --ink-2: #b7c1dd;
  --ink-3: #7d88a8;
  --blue: #2f5bff;
  --blue-2: #4f7dff;
  --royal: #1d4ed8;
  --violet: #8b7bff;
  --amber: #f5a524;
  --cyan: #2fd3e6;
  --green: #34d399;
  --red: #ff6b6b;
  --grad: linear-gradient(100deg, #5b8cff 0%, #8b7bff 45%, #36d6ea 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 10px 30px -12px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Syne', 'Segoe UI', system-ui, sans-serif;
  --text: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
::selection { background: rgba(79, 125, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-hidden { display: none !important; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* Körnung über allem – gibt dem Dunkel Tiefe */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typografie ---------- */
.display {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em;
  font-size: clamp(38px, 4.9vw, 68px); line-height: 1.02;
}
.display-md { font-size: clamp(34px, 4.2vw, 56px); }
.display-sm { font-size: clamp(30px, 4vw, 52px); }
.h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(27px, 3vw, 42px); line-height: 1.1; }
h1, h2, h3 { text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: 26px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 36em; margin-top: 22px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 26px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(79, 125, 255, .07);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 4px rgba(79, 125, 255, .18); }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, .05); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #4a74ff, #2448e0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 30px -10px rgba(47, 91, 255, .8);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 40px -12px rgba(47, 91, 255, .95); }
.btn-ghost { height: 40px; padding: 0 16px; background: transparent; border-color: var(--line-2); color: var(--ink-2); font-size: 14.5px; }
.btn-ghost:hover { color: var(--ink); border-color: rgba(148, 170, 255, .35); background: rgba(255, 255, 255, .03); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 17px; }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 19, .62); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.top.scrolled { border-bottom-color: var(--line); background: rgba(6, 9, 19, .82); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark svg { width: 30px; height: 30px; display: block; filter: drop-shadow(0 6px 14px rgba(47, 91, 255, .55)); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand-name b { font-weight: 800; color: var(--blue-2); }
.brand-pill {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; color: #cfd9ff; background: rgba(79, 125, 255, .16); border: 1px solid rgba(79, 125, 255, .3);
}
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.code-chip {
  font: 600 13px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .06em;
  padding: 9px 12px; border-radius: 10px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
}
body:not(.in) .only-in { display: none !important; }
body.in .only-out { display: none !important; }
body.in.view-landing #top-dash { display: inline-flex !important; }
body.view-dashboard .nav { display: none; }
.in-cta { margin-top: 36px; }
#view-dashboard.arrive .dash-hero-in, #view-dashboard.arrive .mod { animation: rise .7s var(--ease) both; }
#view-dashboard.arrive .mod:nth-child(2) { animation-delay: .06s; }
#view-dashboard.arrive .mod:nth-child(3) { animation-delay: .12s; }
#view-dashboard.arrive .mod:nth-child(4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
body.in.view-landing .top-actions [data-go="landing"] { display: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 60px 0 72px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 72% 30%, rgba(47, 91, 255, .38), transparent 70%),
    radial-gradient(520px 340px at 92% 70%, rgba(54, 214, 234, .16), transparent 70%),
    radial-gradient(520px 360px at 10% 10%, rgba(139, 123, 255, .2), transparent 70%);
  filter: blur(10px);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(148, 170, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 170, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }

.code-form { margin-top: 36px; max-width: 540px; }
.code-field {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 7px;
  background: rgba(14, 21, 40, .85); border: 1px solid var(--line-2); border-radius: 999px;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9);
  transition: border-color .2s, box-shadow .2s;
}
.code-field:focus-within { border-color: rgba(79, 125, 255, .7); box-shadow: 0 0 0 5px rgba(79, 125, 255, .15), 0 20px 50px -24px rgba(0, 0, 0, .9); }
.code-ico { width: 22px; height: 22px; margin-left: 14px; color: var(--ink-3); flex: none; }
.code-field input {
  flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 600 17px/1 var(--text); letter-spacing: .06em; text-transform: uppercase;
}
.code-field input::placeholder { text-transform: none; letter-spacing: 0; color: var(--ink-3); font-weight: 500; }
.code-field .btn { height: 50px; }
.code-msg { margin-top: 12px; padding-left: 22px; font-size: 14px; color: var(--ink-3); min-height: 1.5em; }
.code-msg.err { color: var(--red); }
.code-msg.ok { color: var(--green); }
.code-form.shake .code-field { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.btn.loading .btn-label::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-facts { display: flex; gap: 34px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; align-items: baseline; gap: 9px; color: var(--ink-3); font-size: 15px; }
.hero-facts b { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--ink); letter-spacing: -.03em; }

/* Geräte-Bühne */
.hero-stage { position: relative; aspect-ratio: 1 / .86; }
.laptop { position: absolute; left: 4%; right: -6%; top: 6%; animation: floatA 9s ease-in-out infinite; }
.laptop-screen {
  position: relative; border-radius: 16px 16px 6px 6px; overflow: hidden; background: #0b0f1c;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow), 0 0 0 7px #10162a, 0 0 0 8px rgba(255, 255, 255, .08);
}
.laptop-screen .bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #0d1326; border-bottom: 1px solid rgba(255,255,255,.06); }
.laptop-screen .bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a3350; }
.laptop-screen .bar span { margin-left: 10px; font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.laptop-base { height: 14px; margin: 7px -5% 0; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #1b2440, #0c1122); box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); }

.phone {
  position: relative; border-radius: 34px; padding: 8px; background: #0b0f1c;
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: var(--shadow), inset 0 0 0 2px #1a2240;
}
.phone img { border-radius: 27px; width: 100%; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); background: #0b0f1c; border-radius: 999px; z-index: 2; }
.phone-hero { position: absolute; width: 34%; left: -4%; bottom: -8%; animation: floatB 8s ease-in-out infinite; }

.float-card {
  position: absolute; width: 42%; right: -8%; top: -6%; border-radius: 16px; overflow: hidden; transform: rotate(5deg);
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .5); animation: floatC 10s ease-in-out infinite;
}
.float-chip {
  position: absolute; right: -2%; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px;
  background: rgba(14, 21, 40, .88); border: 1px solid var(--line-2); border-radius: 18px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow); animation: floatB 11s ease-in-out infinite reverse;
}
.float-chip img { width: 74px; height: 50px; object-fit: cover; border-radius: 11px; }
.float-chip b { display: block; font-size: 14.5px; }
.float-chip span { font-size: 12.5px; color: var(--amber); }
@keyframes floatA { 50% { transform: translateY(-10px); } }
@keyframes floatB { 50% { transform: translateY(10px); } }
@keyframes floatC { 50% { transform: rotate(3deg) translateY(-8px); } }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: 88px 0; }
.section-tight { padding: 40px 0 110px; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(18, 26, 52, .55) 18%, rgba(18, 26, 52, .55) 82%, transparent); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-lead { color: var(--ink-2); font-size: 18px; margin-top: 18px; }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 80px 0 26px; flex-wrap: wrap; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 36px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(500px 240px at var(--mx, 80%) var(--my, 0%), rgba(79, 125, 255, .13), transparent 70%);
}
.tile h3 { font-family: var(--text); font-weight: 700; font-size: clamp(24px, 2.1vw, 30px); letter-spacing: -.02em; line-height: 1.08; margin: 16px 0 12px; }
.tile p { color: var(--ink-2); font-size: 16.5px; max-width: 34em; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; border: 1px solid; }
.tag-blue { color: #a9bfff; border-color: rgba(79, 125, 255, .35); background: rgba(79, 125, 255, .1); }
.tag-violet { color: #c4bbff; border-color: rgba(139, 123, 255, .35); background: rgba(139, 123, 255, .1); }
.tag-amber { color: #ffd08a; border-color: rgba(245, 165, 36, .35); background: rgba(245, 165, 36, .1); }
.tag-cyan { color: #9eeef7; border-color: rgba(47, 211, 230, .35); background: rgba(47, 211, 230, .1); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(79, 125, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.6 2.6L14 7.4' fill='none' stroke='%23a9bfff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.tile-lb { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; min-height: 440px; padding-right: 0; padding-bottom: 0; }
.tile-lb .tile-copy { padding-bottom: 36px; }
.lb-art { position: relative; height: 100%; min-height: 420px; }
.lb-art .phone-sm { position: absolute; width: 44%; }
.lb-art .p1 { left: 6%; top: 40px; transform: rotate(-4deg); }
.lb-art .p2 { left: 44%; top: 0; transform: rotate(3deg); }

.tile-sim { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: center; }
.sim-art img { width: 100%; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); display: block; }
.tile-kk { grid-column: span 5; }
.kk-art { position: relative; margin: 34px auto 0; width: 88%; }
.kk-art img { position: relative; border-radius: 16px; box-shadow: var(--shadow); transform: rotate(-2deg); transition: transform .5s var(--ease); }
.tile-kk:hover .kk-art img { transform: rotate(0) translateY(-4px); }
.kk-stack { position: absolute; inset: 0; border-radius: 16px; background: #f4efe4; border: 1px solid rgba(0,0,0,.08); }
.kk-stack.s2 { transform: rotate(3deg) translate(8px, 6px); background: #e9e1cf; }
.kk-stack.s3 { transform: rotate(7deg) translate(18px, 12px); background: #d9ceb6; opacity: .75; }

.tile-rg { grid-column: span 7; }
.traeger-copy .btn { margin-top: 34px; }
.mod-art-phones .phone-xs img { aspect-ratio: 390 / 700; }
.rg-art { position: relative; margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.rg-scene { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; border: 1px solid var(--line-2); transition: transform .8s var(--ease); }
.tile-rg:hover .rg-scene { transform: scale(1.02); }
.rg-tools { display: grid; gap: 8px; align-content: start; }
.rg-tool { padding: 10px 14px; border-radius: 12px; background: #151c30; border: 1px solid rgba(79, 125, 255, .25); }
.rg-tool b { display: block; font-size: 14.5px; }
.rg-tool span { font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.rg-tool.is-right { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .6); box-shadow: 0 0 0 3px rgba(52, 211, 153, .1); }
.rg-tool.is-right span { color: #86efc5; }
.rg-feedback { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; color: var(--ink-2); background: rgba(245, 165, 36, .08); border: 1px solid rgba(245, 165, 36, .35); }
.rg-feedback b { color: var(--green); margin-right: 6px; }

.tile-wd { grid-column: span 12; min-height: 520px; display: flex; align-items: flex-end; padding: 48px; }
.wd-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s var(--ease); }
.tile-wd:hover .wd-bg { transform: scale(1.03); }
.wd-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 19, .94) 0%, rgba(6, 9, 19, .72) 38%, rgba(6, 9, 19, .1) 70%), linear-gradient(0deg, rgba(6,9,19,.7), transparent 45%); }
.wd-copy { position: relative; max-width: 520px; }
.ticks-light li::before { background-color: rgba(47, 211, 230, .2); }

/* Themengebiete */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(14, 21, 40, .7); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
a.topic:hover { border-color: rgba(79, 125, 255, .45); transform: translateY(-2px); background: rgba(19, 28, 52, .9); }
.topic-n {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--display); font-weight: 800; font-size: 17px; color: #fff; background: var(--tc, var(--royal));
  box-shadow: 0 8px 20px -8px var(--tc, var(--royal));
}
.topic-t { flex: 1; min-width: 0; font-weight: 600; font-size: 16px; line-height: 1.3; }
.topic-q { flex: none; text-align: right; }
.topic-q b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; }
.topic-q span { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }
.topic-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w, 10%); background: var(--grad); opacity: .8; border-radius: 0 3px 3px 0; }
.topic.locked { opacity: .45; }
.topic.locked .topic-q span::after { content: ' · gesperrt'; }

/* Säulen */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(19, 28, 52, .6), rgba(14, 21, 40, .3)); }
.p-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: rgba(79, 125, 255, .12); border: 1px solid rgba(79, 125, 255, .3); margin-bottom: 22px; }
.p-ico svg { width: 26px; height: 26px; fill: none; stroke: #a9bfff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-family: var(--text); font-weight: 700; font-size: 21px; letter-spacing: -.01em; margin-bottom: 10px; }
.pillar p { color: var(--ink-2); font-size: 16px; }

/* Bildungsträger */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: flex; gap: 20px; padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-n {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 19px; color: #fff; background: linear-gradient(180deg, #4a74ff, #2448e0);
  box-shadow: 0 10px 24px -10px rgba(47, 91, 255, .9);
}
.step h3 { font-family: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

.traeger-hero { position: relative; overflow: hidden; border-radius: 28px; min-height: 540px; display: flex; align-items: center; border: 1px solid var(--line); }
.traeger-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.traeger-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 19, .96) 0%, rgba(6, 9, 19, .82) 34%, rgba(6, 9, 19, .15) 68%, rgba(6, 9, 19, .05)), linear-gradient(0deg, rgba(6, 9, 19, .55), transparent 40%); }
.traeger-hero .traeger-copy { position: relative; max-width: 540px; padding: 56px; }
.section-traeger .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
@media (max-width: 1020px) {
  .section-traeger .steps { grid-template-columns: minmax(0, 1fr); }
  .traeger-hero { display: block; min-height: 0; background: var(--surface); }
  .traeger-img { position: relative; inset: auto; height: 240px; object-position: 62% 40%; }
  .traeger-shade { display: none; }
  .traeger-hero .traeger-copy { padding: 28px 24px 30px; max-width: none; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(14, 21, 40, .6); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* Schluss */
.final { position: relative; padding: 96px 0 110px; text-align: center; overflow: hidden; }
.final::before { content: ''; position: absolute; left: 50%; top: 50%; width: 900px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(47, 91, 255, .35), transparent); pointer-events: none; }
.final-in { position: relative; display: grid; justify-items: center; gap: 36px; }

/* ---------- Mein Campus ---------- */
.dash-hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.dash-hero-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ring { position: relative; width: 150px; height: 150px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: rgba(148, 170, 255, .12); }
.ring-fg { stroke: var(--blue-2); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); filter: drop-shadow(0 0 8px rgba(79, 125, 255, .6)); }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-txt b { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.ring-txt span { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

.mods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.mods > .mod { grid-column: span 2; }
.mods > .mod-lb, .mods > .mod-sim { grid-column: span 3; }
.mod {
  position: relative; display: grid; grid-template-rows: 230px auto; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.mod:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.mod-art { overflow: hidden; position: relative; }
.mod-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .9s var(--ease); }
.mod:hover .mod-art img { transform: scale(1.05); }
.mod-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface), transparent 55%); }
.mod-art-light { background: radial-gradient(circle at 50% 60%, #2a2f55, #121833); display: grid; place-items: center; }
.mod-art-light img { width: auto; height: 80%; object-fit: contain; border-radius: 12px; transform: rotate(-3deg); box-shadow: var(--shadow); }
.mod:hover .mod-art-light img { transform: rotate(0) scale(1.03); }
.mod-art-phones { background: radial-gradient(circle at 50% 80%, #24357a, #111a3a 70%); display: flex; justify-content: center; align-items: flex-start; gap: 18px; padding-top: 26px; }
.mod-art-phones::after { background: linear-gradient(0deg, var(--surface), transparent 40%); }
.phone-xs { width: 118px; padding: 5px; border-radius: 22px; flex: none; transition: transform .6s var(--ease); }
.phone-xs img { border-radius: 18px; width: 100%; height: auto; aspect-ratio: 390 / 700; }
.phone-xs:first-child { transform: rotate(-4deg) translateY(14px); }
.phone-xs:last-child { transform: rotate(3deg); }
.mod:hover .phone-xs:first-child { transform: rotate(-6deg) translateY(8px); }
.mod:hover .phone-xs:last-child { transform: rotate(5deg) translateY(-6px); }
.mod:hover .mod-art-phones img { transform: none; }
.mod-body { position: relative; padding: 4px 30px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.mod-body h2 { font-family: var(--text); font-weight: 700; font-size: 25px; letter-spacing: -.02em; margin: 14px 0 6px; }
.mod-body p { color: var(--ink-2); font-size: 16px; }
.mod-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-weight: 600; color: #a9bfff; }
.mod-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.mod:hover .mod-go svg { transform: translate(3px, -1px); }

/* ---------- Fußzeile ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: grid; gap: 4px; }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { color: var(--ink-3); font-size: 14.5px; }
.foot-nav a:hover { color: var(--ink); }

/* Ziffern: Syne-Ziffern sind stark stilisiert -> Instrument Sans, schwer */
.hero-facts b, .topic-n, .topic-q b, .step-n, .ring-txt b { font-family: var(--text); font-weight: 700; letter-spacing: -.02em; }
.hero-facts b { font-size: 36px; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { max-width: 620px; width: 100%; margin: 30px auto 0; }
  .tile-lb { grid-template-columns: minmax(0, 1fr); padding-right: 36px; }
  .tile-lb .tile-copy { padding-bottom: 0; }
  .lb-art { min-height: 380px; }
  .tile-kk, .tile-rg { grid-column: span 12; }
  .tile-sim { grid-template-columns: minmax(0, 1fr); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .top-in { height: 64px; gap: 12px; }
  .brand-name { font-size: 17px; }
  .brand-pill { display: none; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand-name { font-size: 16px; }
  .top-actions .btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .top-actions .btn-ghost { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .code-chip, .top-actions [data-go="landing"] { display: none !important; }
  .hero { padding: 40px 0 70px; }
  .code-field { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
  .code-field input { flex-basis: calc(100% - 50px); }
  .code-field .btn { width: 100%; }
  .code-ico { margin-left: 10px; }
  .code-msg { padding-left: 6px; }
  .hero-facts { gap: 22px; }
  .hero-facts b { font-size: 28px; }
  .hero-facts li { flex-direction: column; gap: 0; font-size: 13.5px; }
  .phone-hero { width: 36%; left: 0; }
  .float-card { right: -2%; width: 44%; }
  .float-chip { display: none; }
  .laptop { right: 0; left: 8%; }
  .section { padding: 80px 0; }
  .tile { padding: 26px; }
  .tile-lb { padding-right: 26px; }
  .lb-art { min-height: 330px; }
  .rg-art { grid-template-columns: minmax(0, 1fr); }
  .rg-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wd { min-height: 560px; padding: 26px; }
  .wd-shade { background: linear-gradient(0deg, rgba(6, 9, 19, .96) 0%, rgba(6, 9, 19, .8) 50%, rgba(6, 9, 19, .1) 85%); }
  .topics { grid-template-columns: minmax(0, 1fr); }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .mods > .mod, .mods > .mod-lb, .mods > .mod-sim { grid-column: auto; }
  .mod { grid-template-rows: 190px auto; }
  .dash-hero-in { flex-direction: column; align-items: flex-start; }
  .ring { width: 120px; height: 120px; }
  .ring-txt b { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Hinweis auf den Kacheln Karteikarten/Werkstatt: gleicher Code als Kurscode (25.10.2026) */
.mod-body .mod-hint { font-size: 13.5px; line-height: 1.45; background: #fff8d6; border-left: 3px solid #ffd83a; padding: 8px 10px; margin: 10px 0 4px; color: var(--ink); }
.mod-body .mod-hint b { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; }
