/* =====================================================================
   Campus im Look „Version 2“ (25.10.2026): Papier, Navy, SachkundeTOGO-Blau,
   Textmarker-Gelb, dicke Ränder + harte Schatten, Caveat-Handschrift.
   Wird NACH campus.css geladen und überschreibt nur Farben/Formen.
   Zurück zum alten Look: diese Datei im <head> von index.html entfernen.
   ===================================================================== */
@font-face { font-family: 'Caveat'; src: url('fonts/caveat-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
:root {
  --bg: #f5f1e8; --bg-2: #ece6d8; --surface: #fffdf8; --surface-2: #fffdf8;
  --line: #0d1b3d; --line-2: #0d1b3d;
  --ink: #0d1b3d; --ink-2: #3a4766; --ink-3: #6b7591;
  --blue: #1d4ed8; --blue-2: #1438a6; --royal: #1d4ed8;
  --marker: #ffd84d;
  --grad: none;
  --shadow: 6px 6px 0 #0d1b3d;
  --radius: 18px; --radius-sm: 12px;
}
body { background: var(--bg); color: var(--ink); }
.grain, .hero-glow, .hero-grid { display: none !important; }
::selection { background: var(--marker); color: var(--ink); }

/* Textmarker statt Verlaufs-Schrift */
.grad { background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%) !important;
  -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; padding: 0 .06em; }
.kicker, .eyebrow { color: var(--blue); }
.lead, .sec-lead, p { color: var(--ink-2); }

/* Kopfleiste */
.top { background: rgba(245, 241, 232, .85) !important; border-bottom: 2px solid var(--ink) !important; box-shadow: none !important; }
.brand-name { color: var(--ink); }
.brand-pill { background: var(--marker); color: var(--ink); border: 1.5px solid var(--ink); }
.nav a { color: var(--ink); font-weight: 600; }
.code-chip { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }

/* Knöpfe: drücken sich beim Antippen rein */
.btn { border: 2px solid var(--ink) !important; border-radius: 12px !important; transition: transform .1s, box-shadow .1s, background .2s; }
.btn-primary { background: var(--blue) !important; color: #fff !important; box-shadow: 4px 4px 0 var(--ink) !important; }
.btn-primary:hover { background: var(--blue-2) !important; }
.btn-ghost { background: var(--surface) !important; color: var(--ink) !important; box-shadow: 4px 4px 0 var(--ink) !important; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink) !important; }

/* Hero */
.hero { background: var(--bg) !important; }
.dot-green { box-shadow: none; }
.code-field { background: var(--surface) !important; border: 2px solid var(--ink) !important; box-shadow: 5px 5px 0 var(--ink) !important; border-radius: 14px !important; }
.code-field input { color: var(--ink) !important; }
.code-field input::placeholder { color: var(--ink-3) !important; }
.code-ico { color: var(--ink-3); }
.code-msg { color: var(--ink-3); }
.code-msg.err { color: #c62828; } .code-msg.ok { color: #1b7f3b; }
.hero-facts b { color: var(--ink); }
.float-card, .float-chip { background: var(--surface) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; box-shadow: 4px 4px 0 var(--ink) !important; backdrop-filter: none !important; }
.laptop-screen, .phone { border-color: var(--ink) !important; box-shadow: 8px 8px 0 var(--ink) !important; }
.badge, .hero-badge { background: var(--surface); border: 2px solid var(--ink); color: var(--ink); }

/* Kacheln & Karten */
.tile, .mod, .topic, .pillar, .step, .faq details, .final-in, .dash-hero-in {
  background: var(--surface) !important; border: 2px solid var(--ink) !important; box-shadow: var(--shadow) !important; color: var(--ink);
}
.tile h3, .mod h2, .topic-t, .pillar h3, .step h3 { color: var(--ink); }
.tag { background: var(--marker) !important; color: var(--ink) !important; border: 1.5px solid var(--ink) !important; }
.ticks li::before { color: var(--blue) !important; }
.rg-tool { background: var(--surface) !important; border: 2px solid var(--ink) !important; color: var(--ink) !important; }
.rg-tool.is-right { background: var(--marker) !important; }
.rg-feedback { background: #e8f6ec !important; color: #1b5e33 !important; border: 2px solid var(--ink) !important; }
.kk-stack { border: 2px solid var(--ink) !important; background: var(--surface) !important; }
.mod-go, .p-ico, .step-n, .topic-n { color: var(--blue) !important; }
.step-n { font-family: 'Caveat', cursive !important; font-size: 2.4rem !important; background: none !important; }
.topic-bar { background: var(--blue) !important; }

/* Dunkle Bild-Kacheln bleiben dunkel (Comic-Panel), nur mit Rahmen */
.tile-wd, .traeger-hero { border: 3px solid var(--ink) !important; box-shadow: 10px 10px 0 var(--ink) !important; }
.tile-wd .wd-copy h3, .tile-wd .wd-copy p, .tile-wd .ticks li, .traeger-hero h2, .traeger-hero p { color: #fff !important; }
.traeger-hero .kicker { color: var(--marker) !important; }

/* Ring im Dashboard */
.ring-bg { stroke: var(--bg-2) !important; } .ring-fg { stroke: var(--blue) !important; } .ring-txt b { color: var(--ink); }
.section-alt { background: var(--bg-2) !important; border-block: 2px solid var(--ink); }
.foot { border-top: 2px solid var(--ink) !important; background: var(--bg) !important; }
.foot a { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-transparency: reduce) { .top { background: var(--bg) !important; } }
.rg-tool span { color: var(--ink-3) !important; }
.rg-tool.is-right span { color: var(--ink) !important; }
.traeger-hero .grad, .tile-wd .grad { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; line-height: 1.2; }

/* ---------- Bereich nach dem Login (Dashboard) – Version 2 ---------- */
.dash-v2 { padding: 48px 0 24px !important; }
.dash-v2 .dash-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.dash-hello .lead { margin-top: 14px; }
.tipp { display: flex; align-items: flex-end; gap: 18px; margin-top: 28px; }
.tipp img { width: 120px; height: 120px; object-fit: cover; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-2deg); background: #fff; flex-shrink: 0; }
.tipp-bubble { position: relative; background: var(--surface); border: 2.5px solid var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 5px 5px 0 var(--ink); font-weight: 600; line-height: 1.4; max-width: 520px; }
.tipp-bubble::before { display: none; content: ""; position: absolute; left: -13px; bottom: 22px; width: 20px; height: 20px; background: var(--surface); border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }
.tipp-bubble small { display: block; font-family: 'Caveat', cursive; font-size: 1.35rem; color: var(--blue); margin-bottom: 2px; font-weight: 700; }
.ticket { position: relative; background: var(--blue); color: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); padding: 22px; text-align: center; transform: rotate(1.5deg); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 3px solid var(--ink); transform: translateY(-50%); }
.ticket::before { left: -16px; } .ticket::after { right: -16px; }
.ticket-top { display: flex; justify-content: space-between; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px dashed rgba(255,255,255,.5); padding-bottom: 10px; }
.ticket-top b { font-family: var(--display); letter-spacing: 0; text-transform: none; }
.ticket-ring { position: relative; width: 150px; height: 150px; margin: 16px auto 10px; }
.ticket-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ticket .ring-bg { stroke: rgba(255,255,255,.25) !important; fill: none; stroke-width: 10; }
.ticket .ring-fg { stroke: var(--marker) !important; fill: none; stroke-width: 10; stroke-linecap: round; }
.ticket .ring-txt { position: absolute; inset: 0; display: grid; place-content: center; }
.ticket .ring-txt b { color: #fff !important; font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.ticket .ring-txt span { color: #dbe4ff; font-size: .85rem; }
.ticket-foot { font-size: .85rem; color: #dbe4ff; border-top: 2px dashed rgba(255,255,255,.5); padding-top: 10px; }
.weg-sec { padding-top: 8px !important; }
.weg { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 18px; background: var(--surface); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.weg li { border-right: 2px solid var(--ink); }
.weg li:last-child { border-right: 0; }
.weg-a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; height: 100%; transition: background .2s; }
.weg-a:hover { background: #fff6d1; }
.weg-a:active { background: var(--marker); }
.weg-n { font-family: 'Caveat', cursive; font-size: 2.4rem; line-height: 1; color: var(--blue); font-weight: 700; }
.weg-a b { font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; }
.weg-a span:last-child { color: var(--ink-2); font-size: .92rem; line-height: 1.4; }
.topic-logo { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); flex-shrink: 0; background: #0d1b3d; }
.topics-dash .topic { gap: 14px; transition: transform .15s, box-shadow .15s; }
.topics-dash a.topic:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink) !important; }
.topics-dash a.topic:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink) !important; }
@media (max-width: 900px) { .dash-v2 .dash-grid { grid-template-columns: 1fr; } .ticket { max-width: 320px; } .weg { grid-template-columns: 1fr 1fr; } .weg li:nth-child(2) { border-right: 0; } .weg li:nth-child(-n+2) { border-bottom: 2px solid var(--ink); } }
@media (max-width: 520px) { .weg { grid-template-columns: 1fr; } .weg li { border-right: 0 !important; border-bottom: 2px solid var(--ink); } .weg li:last-child { border-bottom: 0; } .tipp img { width: 84px; height: 84px; } }
/* Lernwelt-Kacheln im Dashboard: helles Papier statt dunkler Verläufe */
.mod { border-radius: 18px !important; }
.mod-art { border-bottom: 2px solid var(--ink); }
.mod-art::after, .mod-art-phones::after { display: none !important; }
.mod-art-light, .mod-art-phones { background: var(--bg-2) !important; }
.mod-art-light img { box-shadow: 5px 5px 0 var(--ink) !important; border: 2px solid var(--ink); }
.phone-xs { background: var(--ink) !important; box-shadow: 4px 4px 0 var(--ink) !important; }
.mod-body { padding-top: 18px !important; }
.mod:hover { transform: translate(-2px, -2px) !important; box-shadow: 8px 8px 0 var(--ink) !important; }
.mod:active { transform: translate(3px, 3px) !important; box-shadow: 3px 3px 0 var(--ink) !important; }
