/* Cyntherion Systems – Grund-Design der Webseite */

/* ===== FONTS (lokal, DSGVO-konform) ===== */
@font-face { font-family: DMSans; src: url('../assets/fonts/DMSans-Regular.ttf'); font-weight: 400; font-display: swap; }
@font-face { font-family: DMSans; src: url('../assets/fonts/DMSans-Medium.ttf'); font-weight: 500; font-display: swap; }
@font-face { font-family: DMSans; src: url('../assets/fonts/DMSans-SemiBold.ttf'); font-weight: 600; font-display: swap; }
@font-face { font-family: DMSans; src: url('../assets/fonts/DMSans-Bold.ttf'); font-weight: 700; font-display: swap; }
@font-face { font-family: Mono; src: url('../assets/fonts/JetBrainsMono-Regular.ttf'); font-weight: 400; font-display: swap; }
@font-face { font-family: Mono; src: url('../assets/fonts/JetBrainsMono-SemiBold.ttf'); font-weight: 600; font-display: swap; }

/* ===== TOKENS ===== */
:root {
  --navy: #071a31;
  --navy2: #0b2b4b;
  --navy3: #0f3a5f;
  --blue: #0b75a4;
  --cyan: #16b8d0;
  --cyan-soft: #6fe3ef;
  --ink: #0a1c32;
  --muted: #53677e;
  --line: #dce6ef;
  --paper: #f5f8fb;
  --white: #fff;
  --danger: #e2495b;
  --ok: #11aa87;
  --max: 1180px;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(7, 26, 49, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ===== BASIS ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: DMSans, Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
h1, h2 { font-weight: 700; }
::selection { background: rgba(22, 184, 208, .25); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 11px Mono, monospace; letter-spacing: .16em; color: #08779e; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(22, 184, 208, .14); }

/* ===== BUTTONS ===== */
.button { min-height: 50px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 10px; font: 700 14px DMSans, Arial, sans-serif; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(7, 26, 49, .18); }
.button-primary:hover { background: var(--navy3); box-shadow: 0 14px 32px rgba(7, 26, 49, .24); }
.button-secondary { border: 1px solid #b9c9d8; background: rgba(255, 255, 255, .7); color: var(--navy); backdrop-filter: blur(8px); }
.button-secondary:hover { border-color: var(--blue); }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { box-shadow: 0 0 0 4px rgba(111, 227, 239, .25); }
.button-ghost { background: transparent; color: var(--navy); border: 1px solid #c7d5e2; }
.button-small { min-height: 40px; padding: 9px 16px; font-size: 13px; }

/* ===== TOPBAR ===== */
.topbar { height: 76px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 0 max(5vw, 24px); background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.topbar.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: rgba(10, 40, 70, .08); box-shadow: 0 8px 30px rgba(7, 26, 49, .06); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; letter-spacing: .13em; color: var(--navy); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand small { display: block; font-size: 11px; letter-spacing: .28em; color: #647891; }
.main-nav { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #3c526b; }
.main-nav a { padding: 8px 14px; border-radius: 8px; transition: background .2s, color .2s; }
.main-nav a:hover { background: #eef5fa; color: var(--blue); }
.main-nav .nav-contact { margin-left: 8px; background: var(--navy); color: #fff; }
.main-nav .nav-contact:hover { background: var(--navy3); color: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(860px, calc(100svh - 76px)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; padding: 80px max(6vw, 28px, calc((100% - 1320px) / 2)) 120px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(rgba(11, 117, 164, .06) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(11, 117, 164, .06) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(120deg, #fff 0%, #f5f9fc 55%, #e8f4f9 100%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.glow-a { width: 520px; height: 520px; right: 8%; top: 6%; background: radial-gradient(circle, rgba(22, 184, 208, .45), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow-b { width: 420px; height: 420px; right: 30%; bottom: 0; background: radial-gradient(circle, rgba(11, 117, 164, .3), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

.hero-copy { max-width: 640px; }
h1 { margin-bottom: 24px; font-size: clamp(42px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -.045em; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 560px; font-size: 18px; line-height: 1.7; color: #4e6379; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.hero-note { font-size: 13px; color: #64798e; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--ok); border-radius: 50%; box-shadow: 0 0 0 0 rgba(17, 170, 135, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(17, 170, 135, 0); } 100% { box-shadow: 0 0 0 0 rgba(17, 170, 135, 0); } }
.scroll-cue { position: absolute; bottom: 30px; left: max(6vw, 28px, calc((100% - 1320px) / 2)); font: 600 10px Mono, monospace; letter-spacing: .18em; color: #75869a; }
.scroll-cue span { display: inline-block; margin-left: 10px; color: var(--blue); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ----- Phishing-Demo ----- */
.phish-demo { position: relative; width: 100%; max-width: 500px; justify-self: end; padding: 22px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow), inset 0 1px 0 #fff; animation: float-in .9s var(--ease) both .15s; }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.demo-kicker { margin: 0 0 4px; font: 600 10px Mono, monospace; letter-spacing: .18em; color: var(--danger); }
.demo-kicker::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--danger); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.demo-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--navy); }
.demo-score { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #bcd0e0; font: 600 13px Mono, monospace; }
.demo-score strong { color: var(--cyan-soft); }
.demo-progress { height: 4px; margin: 16px 0; border-radius: 4px; background: #e3ecf3; overflow: hidden; }
.demo-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .5s var(--ease); }

.mail { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f7fafc; }
.mail-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5dfe8; }
.mail-bar span { margin-left: 8px; font: 600 10px Mono, monospace; letter-spacing: .1em; color: #7d8fa3; }
.mail-meta { display: flex; align-items: center; gap: 12px; padding: 16px 16px 6px; }
.mail-avatar { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #e8eef4, #d6e2ec); color: var(--navy2); font-size: 12px; font-weight: 700; }
.mail-from { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; color: var(--navy); }
.mail-time { margin-left: auto; align-self: flex-start; font-size: 12px; color: #8a9bad; }
.mail-subject { margin: 8px 16px 0; font-size: 15px; font-weight: 700; }
.mail-body { padding: 10px 16px 18px; font-size: 14px; color: #3d5269; }
.mail-body p { margin-bottom: 10px; }

.flag { position: relative; display: inline; margin: 0 -4px; padding: 1px 4px; border: 0; border-radius: 5px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 -2px 0 rgba(226, 73, 91, 0); transition: background .2s, box-shadow .2s, color .2s; }
.mail-from .flag { font-size: 12px; color: #6b7f94; }
.flag:hover { background: #fff1f3; box-shadow: inset 0 -2px 0 rgba(226, 73, 91, .5); }
.flag.is-found { background: #ffe4e8; color: #a5182c; box-shadow: inset 0 -2px 0 var(--danger); animation: pop .35s var(--ease); }
.flag.is-found::after { content: '!'; position: absolute; top: -9px; right: -9px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--danger); color: #fff; font: 700 11px DMSans, sans-serif; }
@keyframes pop { 40% { transform: scale(1.06); } }
.mail-cta { display: flex; flex-direction: column; gap: 3px; margin: 8px 0 0; padding: 12px 16px; border-radius: 9px; background: var(--blue); color: #fff; }
.mail-cta-label { font-weight: 700; }
.mail-cta small { font: 400 10px Mono, monospace; opacity: .7; }
.mail-cta:hover { background: #0a6890; box-shadow: none; }
.mail-cta.is-found { background: #ffe4e8; color: #a5182c; }
.mail-cta.is-found small { opacity: 1; }

.demo-hint { min-height: 44px; margin: 14px 2px 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.demo-done { margin-top: 10px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #e9fbf6, #e5f6fb); border: 1px solid #bfe8dc; animation: float-in .5s var(--ease); }
.demo-done p { margin: 0 0 12px; font-size: 14px; color: var(--navy); }
.demo-done div { display: flex; gap: 8px; flex-wrap: wrap; }
.phish-demo.is-complete { box-shadow: var(--shadow), 0 0 0 4px rgba(17, 170, 135, .15); }

/* ===== PROOF-RAIL ===== */
.proof-rail { padding: 26px max(7vw, 24px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: var(--navy); color: #fff; }
.proof-rail > div { display: flex; align-items: center; justify-content: center; gap: 14px; }
.proof-rail span { color: var(--cyan-soft); font: 600 12px Mono, monospace; }
.proof-rail strong { font-size: 15px; font-weight: 600; }

/* ===== SEKTIONEN ===== */
.product-section, .approach-section { padding: 120px max(6vw, 24px); }
.section-head { max-width: var(--max); margin: 0 auto 52px; }
.section-head h2, .faq-heading h2, .contact-intro h2 { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: 18px; }
.section-head > p:last-child { max-width: 600px; color: var(--muted); font-size: 17px; }
.text-link { display: flex; width: max-content; gap: 12px; margin: 30px auto 0; font-size: 14px; font-weight: 700; color: #08799e; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }

/* ===== ACADEMY ===== */
.academy-section { background: #fff; }
.academy-facts { max-width: var(--max); margin: 0 auto 72px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.academy-facts > div { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.academy-facts > div + div { border-left: 1px solid var(--line); }
.academy-facts strong { font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -.04em; background: linear-gradient(120deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.academy-facts span { font-size: 14px; color: var(--muted); }

.curriculum-heading { max-width: var(--max); margin: 0 auto 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.curriculum-heading .eyebrow { margin-bottom: 12px; }
.curriculum-heading h3 { max-width: 560px; margin: 0; font-size: clamp(24px, 2.6vw, 32px); }

.bento { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s; }
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at 100% 0%, rgba(22, 184, 208, .14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); border-color: #a7d6e5; background: #fff; box-shadow: 0 18px 40px rgba(7, 26, 49, .09); }
.tile:hover::before { opacity: 1; }
.tile-icon { width: 44px; height: 44px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.tile-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h4 { margin-bottom: 8px; font-size: 18px; }
.tile p { margin: 0; font-size: 14px; color: var(--muted); }
.tile-wide { grid-column: span 2; }

.tile-feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(150deg, var(--navy) 0%, var(--navy2) 60%, #0b5b80 100%); border-color: transparent; color: #fff; }
.tile-feature:hover { background: linear-gradient(150deg, var(--navy) 0%, var(--navy2) 55%, #0c6a92 100%); border-color: transparent; }
.tile-feature .tile-icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: var(--cyan-soft); }
.tile-feature h4 { color: #fff; font-size: clamp(24px, 2.4vw, 30px); }
.tile-feature p { max-width: 400px; color: #c2d3e2; font-size: 15px; }
.mini-inbox { margin-top: auto; padding-top: 28px; display: grid; gap: 8px; }
.mini-inbox div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.mini-inbox i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.mini-inbox b { flex: none; width: 70px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.mini-inbox em { font-style: normal; color: #d8e4ee; }
.mini-inbox .is-bad { background: rgba(226, 73, 91, .12); border-color: rgba(226, 73, 91, .4); }
.mini-inbox .is-bad span { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--danger); color: #fff; font: 600 10px Mono, monospace; letter-spacing: .06em; }
.tile-feature:hover .mini-inbox .is-bad { animation: nudge .6s var(--ease); }
@keyframes nudge { 30% { transform: translateX(6px); } 60% { transform: translateX(-3px); } }

.academy-detail-row { max-width: var(--max); margin: 14px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.video-lessons, .exam-summary { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.video-lessons summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.video-lessons summary::-webkit-details-marker { display: none; }
.video-lessons summary > span { display: flex; align-items: center; gap: 18px; }
.video-lessons summary > span > strong { font-size: 44px; line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.video-lessons summary b { display: block; color: var(--navy); font-size: 17px; }
.video-lessons summary small { color: var(--muted); font-size: 13px; }
.video-lessons summary i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #edf7fa; color: var(--blue); font-style: normal; font-size: 20px; transition: transform .25s; }
.video-lessons[open] summary i { transform: rotate(45deg); }
.video-lessons ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.video-lessons li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; color: #3c526b; }
.exam-summary .eyebrow { margin-bottom: 10px; }
.exam-summary h4 { margin-bottom: 18px; font-size: 20px; }
.exam-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: step; }
.exam-steps li { position: relative; padding-top: 30px; font-size: 13px; line-height: 1.35; color: #3c526b; counter-increment: step; }
.exam-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 600 11px Mono, monospace; }
.exam-steps li::after { content: ''; position: absolute; top: 11px; left: 28px; right: 4px; height: 1px; background: linear-gradient(90deg, #a7cfe0, transparent); }
.exam-steps li:last-child::before { background: var(--ok); }
.exam-steps li:last-child::after { display: none; }

/* ===== SENTINEL (dunkel) ===== */
.sentinel-section { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #c2d3e2; }
.sentinel-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px circle at 85% 35%, rgba(22, 184, 208, .18), transparent 60%),
  radial-gradient(500px circle at 5% 100%, rgba(11, 117, 164, .25), transparent 60%),
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px; }
.sentinel-section .eyebrow { color: var(--cyan-soft); }
.sentinel-section h2 { color: #fff; }
.sentinel-section .section-head > p:last-child { color: #a9bdd0; }
.sentinel-layout { max-width: var(--max); margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 64px; }
.feature-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.feature-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(111, 227, 239, .35); border-radius: 10px; background: rgba(111, 227, 239, .06); color: var(--cyan-soft); font: 600 12px Mono, monospace; }
.feature-row h3 { font-size: 17px; margin: 0 0 4px; color: #fff; }
.feature-row p { margin: 0; font-size: 15px; color: #a9bdd0; }
.sentinel-copy .button { margin-top: 28px; }
.dashboard-figure { margin: 0; perspective: 1400px; }
.dashboard-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .7s var(--ease); }
.dashboard-zoom::before { content: ''; position: absolute; inset: 8% 6% -4%; z-index: -1; border-radius: 30px; background: radial-gradient(closest-side, rgba(22, 184, 208, .45), transparent); filter: blur(30px); }
.dashboard-zoom:hover, .dashboard-zoom:focus-visible { transform: rotateY(0) rotateX(0); }
.dashboard-zoom img { display: block; width: 100%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.dashboard-zoom span { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; border-radius: 8px; background: rgba(7, 26, 49, .88); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.dashboard-zoom:hover span, .dashboard-zoom:focus-visible span { opacity: 1; transform: none; }
.dashboard-figure figcaption { margin-top: 18px; text-align: right; font: 400 11px Mono, monospace; letter-spacing: .08em; color: #7f97ad; }

.marquee { max-width: var(--max); margin: 72px auto 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { flex: none; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); font: 400 13px Mono, monospace; color: #cfe0ec; }
.marquee span::before { content: '◆'; margin-right: 10px; color: var(--cyan); font-size: 9px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ===== LEISTUNGEN ===== */
.services-section { background: #fff; }
.service-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.service-card:hover { border-color: #a7d6e5; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7, 26, 49, .07); }
.service-card[open] { border-color: #8fc8d9; box-shadow: 0 14px 30px rgba(7, 26, 49, .08); }
.service-card summary { padding: 22px; display: flex; align-items: center; gap: 18px; cursor: pointer; list-style: none; }
.service-card summary::-webkit-details-marker { display: none; }
.service-number { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #e9f6fa, #dff0f7); color: var(--blue); font: 600 12px Mono, monospace; }
.service-card summary strong, .service-card summary small { display: block; }
.service-card summary strong { font-size: 17px; color: var(--navy); }
.service-card summary small { margin-top: 2px; font-size: 14px; color: var(--muted); }
.service-card summary b { margin-left: auto; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--blue); font-size: 20px; font-weight: 400; transition: transform .25s, background .25s; }
.service-card[open] summary b { transform: rotate(45deg); background: #e3f3f8; }
.service-card > p { padding: 0 22px 22px 84px; margin: 0; color: var(--muted); font-size: 15px; }

/* ===== ANSATZ ===== */
.approach-section { background: var(--paper); }
.approach-grid { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.approach-grid article { position: relative; min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.approach-grid article::after { content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(.15); transform-origin: left; transition: transform .5s var(--ease); }
.approach-grid article:hover::after { transform: scaleX(1); }
.approach-grid article > span { font: 600 11px Mono, monospace; letter-spacing: .14em; color: #0782a2; }
.approach-grid h3 { margin: 28px 0 10px; font-size: 22px; }
.approach-grid p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== FAQ ===== */
.faq-section { padding: 120px max(6vw, 24px); display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 70px; max-width: calc(var(--max) + 12vw); margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--navy); transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--blue); font-size: 20px; font-weight: 400; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { margin: -6px 48px 22px 0; color: var(--muted); font-size: 15px; }

/* ===== KONTAKT ===== */
.contact-section { padding: 120px max(6vw, 24px); display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); align-items: start; gap: 56px; background: linear-gradient(180deg, var(--paper), #e9f2f8); }
.contact-intro { position: sticky; top: 120px; max-width: 420px; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.contact-intro > a { display: inline-flex; margin-top: 12px; padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: #08799e; font-size: 14px; font-weight: 700; transition: border-color .2s; }
.contact-intro > a:hover { border-color: var(--blue); }
.contact-form { position: relative; display: grid; gap: 18px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.botcheck { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: #324b64; font-size: 13px; font-weight: 600; }
.contact-form input:not([type=radio]):not([type=checkbox]), .contact-form textarea { width: 100%; border: 1px solid #cbd8e4; border-radius: 10px; background: #fbfdfe; padding: 12px 14px; color: var(--ink); font: 400 15px/1.5 DMSans, Arial, sans-serif; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #168caf; background: #fff; box-shadow: 0 0 0 4px rgba(22, 140, 175, .12); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8293a6; }
.form-config { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.form-config legend { padding: 0 8px; color: var(--navy); font-size: 15px; font-weight: 700; }
.config-group { margin: 6px 0 18px; }
.config-group > strong { display: block; margin-bottom: 9px; color: #344e67; font-size: 13px; }
.config-group > strong small { margin-left: 5px; color: #8293a6; font-weight: 400; }
.config-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.config-options label { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px; border: 1px solid #d7e1ea; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.config-options label:hover { border-color: #9fcadb; }
.config-options label:has(input:checked) { border-color: #1492b4; background: #effafd; box-shadow: 0 0 0 3px rgba(20, 146, 180, .1); }
.config-options input { position: absolute; top: 9px; right: 9px; accent-color: #0c87aa; }
.config-options label span { padding-right: 16px; font-size: 13px; color: #304b64; }
.config-options label b { color: #08799e; font-size: 13px; }
.config-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.config-extra { border-top: 1px solid var(--line); padding-top: 14px; }
.config-extra summary { cursor: pointer; color: #08799e; font-size: 14px; font-weight: 700; }
.config-extra .config-options { margin-top: 12px; }
.config-total { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 15px 16px; border-radius: 12px; background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; font-size: 14px; }
.config-total strong, .config-total b { margin-left: auto; color: var(--cyan-soft); font-size: 16px; font-variant-numeric: tabular-nums; }
.config-total small { flex-basis: 100%; color: #bfd1df; font-size: 12px; }
.message-label textarea { min-height: 150px; resize: vertical; }
.form-submit { width: 100%; }
.form-footnote { margin: 0; color: #74879a; font-size: 12px; }
.form-footnote a { color: #08799e; text-decoration: underline; }

/* ===== FOOTER & DIALOG ===== */
.footer { min-height: 90px; padding: 24px max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-top: 1px solid var(--line); }
.footer > div { display: flex; gap: 24px; color: #63758a; font-size: 13px; }
.footer a:hover { color: var(--blue); }
.image-dialog { width: min(94vw, 1400px); max-width: none; max-height: 92vh; padding: 58px 20px 20px; border: 1px solid #dfe2e5; border-radius: 16px; background: #fff; box-shadow: 0 24px 90px rgba(0, 0, 0, .3); }
.image-dialog::backdrop { background: rgba(7, 26, 49, .82); backdrop-filter: blur(4px); }
.image-dialog > img { display: block; width: 100%; max-height: calc(92vh - 80px); object-fit: contain; }
.image-dialog-close { position: absolute; top: 12px; right: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #dfe2e5; border-radius: 8px; background: #f4f5f6; color: #202327; font: 700 13px DMSans, Arial, sans-serif; cursor: pointer; }
.image-dialog-close span { font-size: 19px; line-height: 1; }

/* ===== SCROLL-REVEAL (nur wenn JS & Bewegung erlaubt) ===== */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .reveal.is-visible { opacity: 1; transform: none; }
.motion .bento .reveal:nth-child(2), .motion .service-grid .reveal:nth-child(2), .motion .approach-grid .reveal:nth-child(2) { transition-delay: .08s; }
.motion .bento .reveal:nth-child(3), .motion .service-grid .reveal:nth-child(3), .motion .approach-grid .reveal:nth-child(3) { transition-delay: .16s; }
.motion .bento .reveal:nth-child(4), .motion .service-grid .reveal:nth-child(4) { transition-delay: .24s; }
.motion .bento .reveal:nth-child(n+5) { transition-delay: .12s; }
/* Hover-Lift der Karten nicht durch Reveal-Transition verlangsamen */
.motion .tile.is-visible { transition: opacity .8s var(--ease), transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; }
  .hero-copy { max-width: 720px; }
  .phish-demo { justify-self: start; max-width: 560px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-feature { grid-row: span 1; }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .academy-facts { grid-template-columns: repeat(2, 1fr); }
  .academy-facts > div:nth-child(3) { border-left: 0; }
  .academy-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .curriculum-heading { flex-direction: column; align-items: flex-start; }
  .academy-detail-row, .sentinel-layout { grid-template-columns: 1fr; }
  .sentinel-layout { gap: 44px; }
  .dashboard-zoom { transform: none; }
  .faq-section { grid-template-columns: 1fr; gap: 24px; }
  .contact-section { grid-template-columns: 1fr; gap: 28px; }
  .contact-intro { position: static; }
}
@media (max-width: 650px) {
  .topbar { height: 66px; padding: 0 18px; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(7, 26, 49, .1); flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 10px; }
  .main-nav .nav-contact { margin: 8px 0 0; text-align: center; }
  .menu-toggle { display: flex; }
  .brand { font-size: 13px; }
  .brand img { width: 38px; height: 38px; }
  .hero { padding: 44px 18px 96px; gap: 36px; min-height: 0; }
  h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .phish-demo { padding: 16px; border-radius: 18px; }
  .mail-meta { padding: 14px 12px 4px; }
  .mail-subject { margin: 8px 12px 0; font-size: 14px; }
  .mail-body { padding: 10px 12px 14px; }
  .scroll-cue { left: 18px; bottom: 26px; }
  .proof-rail { grid-template-columns: 1fr; gap: 12px; padding: 22px 18px; }
  .proof-rail > div { justify-content: flex-start; }
  .product-section, .approach-section, .faq-section, .contact-section { padding: 80px 18px; }
  .section-head { margin-bottom: 36px; }
  .section-head > p:last-child { font-size: 16px; }
  .academy-facts { margin-bottom: 52px; }
  .academy-facts > div { padding: 18px 16px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile-feature, .tile-wide { grid-column: auto; }
  .tile { padding: 20px; }
  .tile-icon { margin-bottom: 18px; }
  .exam-steps { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .exam-steps li:nth-child(2)::after { display: none; }
  .marquee { margin-top: 52px; }
  .service-grid, .approach-grid { grid-template-columns: 1fr; }
  .service-card > p { padding-left: 22px; }
  .approach-grid article { min-height: 0; }
  .contact-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .config-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer > div { flex-wrap: wrap; gap: 16px; }
}

/* ===== WENIGER BEWEGUNG ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .dashboard-zoom { transform: none; }
}

/* ===== RECHTSSEITEN (impressum-neu.html, datenschutz-neu.html) ===== */
.legal-hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px max(6vw, 28px, calc((100% - 1180px) / 2)) 64px; border-bottom: 1px solid var(--line); }
.legal-hero .glow-a { width: 460px; height: 460px; right: 4%; top: -30%; }
.legal-hero h1 { max-width: 760px; font-size: clamp(38px, 5vw, 64px); }
.legal-hero .hero-lead { max-width: 640px; margin: 0; }
.legal-back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: #3c526b; transition: border-color .2s, color .2s; }
.legal-back span { transition: transform .2s; }
.legal-back:hover { border-color: var(--blue); color: var(--blue); }
.legal-back:hover span { transform: translateX(-3px); }

.legal-layout { max-width: var(--max); margin: 0 auto; padding: 56px max(6vw, 24px) 110px; display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 48px; box-sizing: content-box; }
.legal-toc { position: sticky; top: 104px; max-height: calc(100vh - 130px); overflow-y: auto; }
.legal-toc .eyebrow { margin-bottom: 14px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid var(--line); }
.legal-toc li { counter-increment: toc; }
.legal-toc li a { display: flex; gap: 10px; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 13px; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s; }
.legal-toc li a::before { content: counter(toc, decimal-leading-zero); flex: none; font: 400 11px/1.6 Mono, monospace; color: #9aabbc; }
.legal-toc li a:hover { color: var(--navy); }
.legal-toc li a.is-active { border-left-color: var(--cyan); color: var(--navy); font-weight: 600; }
.legal-toc li a.is-active::before { color: var(--blue); }
.legal-switch { display: inline-flex; gap: 10px; margin-top: 24px; font-size: 14px; font-weight: 700; color: #08799e; }
.legal-switch span { transition: transform .2s; }
.legal-switch:hover span { transform: translateX(3px); }

.legal-card { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.legal-body { padding: 8px 40px 24px; }
.legal-section { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { margin-bottom: 14px; font-size: 22px; letter-spacing: -.02em; }
.legal-section h3 { margin: 20px 0 8px; font-size: 16px; }
.legal-section p, .legal-section li { font-size: 15px; line-height: 1.75; color: #3d5269; overflow-wrap: anywhere; }
.legal-section p { margin-bottom: 0; }
.legal-section p + p, .legal-section ul + p, .legal-section .legal-grid + p { margin-top: 12px; }
.legal-section a { color: #08799e; text-decoration: underline; text-decoration-color: rgba(8, 121, 158, .35); text-underline-offset: 3px; }
.legal-section a:hover { text-decoration-color: currentColor; }
.legal-section ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.legal-section ul li { position: relative; padding-left: 22px; }
.legal-section ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(22, 184, 208, .12); }
.legal-section p + .legal-grid { margin-top: 16px; }
.legal-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 16px; border: 1px solid var(--line); border-bottom-width: 0; background: var(--paper); }
.legal-grid:first-of-type, h2 + .legal-grid { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.legal-grid:not(:has(+ .legal-grid)) { border-bottom-width: 1px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.legal-grid:nth-of-type(even) { background: #fff; }
.legal-key { font: 600 11px/1.9 Mono, monospace; letter-spacing: .08em; text-transform: uppercase; color: #6b8096; }
.legal-val { min-width: 0; font-size: 15px; line-height: 1.65; color: var(--navy); overflow-wrap: anywhere; }
.footer a[aria-current="page"] { color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .legal-toc { position: static; max-height: none; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
}
@media (max-width: 650px) {
  .legal-hero { padding: 36px 18px 44px; }
  .legal-back { margin-bottom: 26px; }
  .legal-layout { padding: 28px 18px 80px; }
  .legal-body { padding: 0 18px 8px; }
  .legal-section { padding: 26px 0; }
  .legal-section h2 { font-size: 19px; }
  .legal-grid { grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; }
}

/* ===== COOKIE-BANNER (assets/js/consent.js) ===== */
.cs-banner { position: fixed; z-index: 1000; left: 50%; bottom: 20px; width: min(720px, calc(100% - 32px)); display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 18px; background: rgba(7, 26, 49, .96); border: 1px solid rgba(111, 227, 239, .35); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); color: #c2d3e2; font-size: 14px; line-height: 1.5; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cs-banner.is-open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cs-banner strong { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; }
.cs-banner p { margin: 0; }
.cs-banner a { color: var(--cyan-soft); text-decoration: underline; }
.cs-buttons { display: flex; flex: none; gap: 8px; }
.cs-btn { min-height: 42px; padding: 10px 16px; border-radius: 10px; font: 700 13px DMSans, Arial, sans-serif; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s; }
.cs-btn:hover { transform: translateY(-1px); }
.cs-accept { border: 0; background: #fff; color: var(--navy); }
.cs-reject { border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #dbe7f0; }
@media (max-width: 650px) {
  .cs-banner { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; }
  .cs-buttons .cs-btn { flex: 1; }
}
