/* E-Campus Startseiten-Vorschau. Palette aus dem Ticket, ohne #06B6D4.
   Keine externen Schriften, keine Tracker. */
:root {
  --ink: #071821;
  --panel: #0A2430;
  --surface: #0F2A36;
  --cyan: #2DE2E6;
  --teal: #00C2A8;
  --lime: #C8F542;
  --amber: #FFB020;
  --coral: #FF6B4A;
  --muted: #94A3B8;
  --text: #F4F7F8;
  --navy: #001030;
  --navy-mid: #002050;
  --gold: #C8A058;
  --login-cyan: #10C0F8;
  --line: rgba(45, 226, 230, 0.16);
  --wrap: 1120px;
  --font: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.4em; }
p { margin: 0 0 0.8em; color: #d5dee6; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 8px;
  top: -40px;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
  border-radius: 8px;
}
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.preview-bar {
  background: #3a241c;
  color: #f0d2b4;
  text-align: center;
  font-size: 0.84rem;
  padding: 8px 16px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 24, 33, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0;
  margin-top: 1px;
}
header.site nav { margin-left: auto; }
header.site nav ul {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
header.site nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.login-link {
  border: 1px solid rgba(45, 226, 230, 0.55);
  border-radius: 999px;
  padding: 8px 16px;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: 12px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  color: var(--ink);
}
.btn-primary { background: var(--lime); box-shadow: 0 8px 24px rgba(200, 245, 66, 0.18); }
.btn-ghost { background: transparent; color: var(--cyan); border-color: rgba(45, 226, 230, 0.7); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-navy { background: transparent; color: var(--login-cyan); border-color: var(--login-cyan); }
.btn:hover { filter: brightness(1.06); }

.hero { padding: 54px 0 28px; }
.hero-grid, .split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--cyan);
  background: rgba(45, 226, 230, 0.08);
  border: 1px solid rgba(45, 226, 230, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
.hl { color: var(--lime); }
.lead { font-size: 1.08rem; max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.facts strong {
  display: block;
  color: var(--cyan);
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}
.facts span { color: var(--muted); font-size: 0.88rem; }
.hero-art, .panel {
  background: linear-gradient(180deg, rgba(15, 42, 54, 0.65), rgba(10, 36, 48, 0.9));
  border: 1px solid rgba(45, 226, 230, 0.22);
  border-radius: 24px;
  padding: 12px;
}
.hero-art svg, .panel svg { display: block; width: 100%; height: auto; }
.wire { fill: none; stroke: #1c7380; stroke-width: 2.4; stroke-dasharray: 5 7; }
.flow {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  opacity: 0.28;
}
.hero-art .flow { opacity: 0.95; animation: march 1.35s linear infinite; }
.comp { fill: var(--surface); stroke: var(--muted); }
.lbl { fill: var(--muted); font-size: 13px; font-family: var(--font); }
.lamp-glow { transform-box: fill-box; transform-origin: center; }
.hero-art .lamp-glow { animation: pulse 2.4s ease-in-out infinite; }
#simSvg .lamp-glow { opacity: 0; }
#simSvg.is-on .lamp-glow { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
#simSvg.is-on #lampBody,
#simSvg.is-on #lampX { stroke: var(--amber); }
.flow.live { opacity: 1; animation: march 1.05s linear infinite; }

.sec { padding: 72px 0; }
.alt-bg { background: linear-gradient(180deg, rgba(10, 36, 48, 0.55), rgba(7, 24, 33, 0)); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.sec-head h2, .split h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card, .extra, .plan, .contact, .faq-item, .table-wrap, .contact-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.card, .extra { padding: 22px; display: flex; flex-direction: column; }
.card p, .extra p { flex: 1; }
.ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(45, 226, 230, 0.08);
  margin-bottom: 12px;
}
.ico svg { width: 22px; height: 22px; }
.tag, .badge-note {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
}
.tag { margin-top: 14px; align-self: flex-start; }
.tag.free { color: var(--teal); background: rgba(0, 194, 168, 0.12); }
.tag.paid { color: var(--amber); background: rgba(255, 176, 32, 0.14); }
.badge-note { color: #f0d2b4; background: #3a241c; margin: 8px 0 14px; }

.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li { position: relative; padding: 4px 0 4px 28px; color: #d5dee6; }
.checks li::before,
.mark {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4.5 9.2 7.4 12l6.2-6.4' fill='none' stroke='%23071821' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat;
}
.checks li.x { color: var(--muted); }
.checks li.x::before {
  background: #334155 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 5l8 8M13 5l-8 8' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/></svg>") center / 12px no-repeat;
}
.mark { position: static; display: inline-block; }
.mark.no {
  background: #334155 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9h8' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/></svg>") center / 12px no-repeat;
}

.sim-controls { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 10px 8px; }
.switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.knob {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #334155;
  position: relative;
}
.knob::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.18s ease;
}
.switch-btn[aria-pressed="true"] .knob { background: var(--teal); }
.switch-btn[aria-pressed="true"] .knob::after { transform: translateX(16px); }
.sim-status { padding: 0 12px 12px; margin: 0; color: var(--muted); }
.sim-status strong { color: var(--amber); }

.phone {
  width: min(360px, 100%);
  margin-left: auto;
  background: linear-gradient(180deg, #0c2c3a, #071821);
  border: 2px solid rgba(45, 226, 230, 0.4);
  border-radius: 32px;
  padding: 22px 18px 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.q-top { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.hearts { color: var(--coral); letter-spacing: 1px; }
.hearts .off { color: #3d4d5c; }
.streak { color: var(--amber); }
.xp { margin-left: auto; color: var(--lime); }
.q-progress { height: 6px; background: #12303c; border-radius: 99px; margin: 12px 0; overflow: hidden; }
.q-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--cyan)); border-radius: inherit; }
.q-label { color: var(--muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.q-text { color: #fff; font-weight: 750; font-size: 1.15rem; }
.opts button {
  width: 100%;
  text-align: left;
  background: var(--surface);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  padding: 13px 14px;
  margin: 0 0 10px;
  font: inherit;
  cursor: pointer;
}
.opts button.good { border-color: var(--teal); background: rgba(0, 194, 168, 0.16); }
.opts button.bad { border-color: var(--coral); background: rgba(255, 107, 74, 0.14); }
.q-feedback { min-height: 1.2em; color: #d5dee6; font-size: 0.92rem; }
.q-next { width: 100%; }

.pricing .sec-head p { margin-bottom: 0.4em; }
.toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 4px;
}
.toggle button {
  border: 0;
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.toggle button[aria-pressed="true"] { background: var(--cyan); color: var(--ink); }
.save { color: var(--lime); font-size: 0.78rem; margin-left: 4px; }
.toggle button[aria-pressed="true"] .save { color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.plan-head { padding: 22px 22px 0; position: relative; }
.plan-head p { color: var(--muted); margin: 0; }
.plan-body { padding: 12px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.plan-body .btn { width: 100%; margin: 8px 0 12px; }
.price .amt { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; }
.plan.featured .amt { color: var(--amber); }
.price .per { color: var(--muted); margin-left: 4px; }
.price-sub { color: var(--muted); font-size: 0.92rem; min-height: 2.8em; }
.ribbon {
  position: absolute;
  top: 18px;
  right: 16px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
}
.contact-row, .rules, .extras { margin-top: 16px; }
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--panel);
}
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rules {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(200, 245, 66, 0.12), rgba(0, 194, 168, 0.08));
  border: 1px solid rgba(200, 245, 66, 0.4);
}
.rules strong { color: var(--lime); }
.rules ul { margin: 8px 0 0; }
.table-wrap { margin-top: 18px; overflow: auto; padding-bottom: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { text-align: left; font-weight: 800; padding: 16px 16px 8px; color: #fff; }
th, td { padding: 12px 16px; border-top: 1px solid rgba(148, 163, 184, 0.12); }
thead th { color: var(--cyan); font-size: 0.92rem; }
tbody th { text-align: left; font-weight: 600; }
td { text-align: center; }
.t-note { color: var(--muted); font-size: 0.85rem; padding: 0 16px 12px; margin: 0; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--panel); }
.faq-item h3 { margin: 0; font-size: 1rem; letter-spacing: 0; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
}
.pm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex: none;
}
.pm::before { content: "+"; font-weight: 700; line-height: 1; }
.faq-q[aria-expanded="true"] .pm::before { content: "–"; }
.faq-a { display: none; padding: 0 18px 16px; }
.faq-a p { margin: 0; }
.faq-item:has(.faq-q[aria-expanded="true"]) { background: #123140; }
.faq-item:has(.faq-q[aria-expanded="true"]) .faq-a { display: block; }

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
  background: var(--panel);
}
.contact form label, .news label { font-size: 0.92rem; font-weight: 650; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(45, 226, 230, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.form-msg { color: var(--lime); min-height: 1.2em; }
.login-box {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
  border: 1px solid var(--gold);
}
.tag-b {
  display: inline-block;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.login-box h2 { font-size: 1.55rem; }
.login-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.login-form { flex: 1 1 280px; display: grid; gap: 10px; max-width: 420px; }
.login-form label { font-size: 0.92rem; font-weight: 650; }
.login-form .btn[disabled] { opacity: 0.65; cursor: wait; }
.form-msg.is-error { color: #ffb4a8; }

footer.site { padding: 28px 0 48px; }
.news {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.news h2 { font-size: 1.7rem; }
.news form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; max-width: 520px; }
.news input { width: min(280px, 100%); margin: 0; }
.hint { flex-basis: 100%; color: var(--muted); font-size: 0.85rem; margin: 0; text-align: right; }
.fcols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fcols h3 { color: var(--cyan); font-size: 1rem; letter-spacing: 0; }
.fcols ul { list-style: none; margin: 0; padding: 0; }
.fcols li { margin: 8px 0; }
.fcols a { color: #e8eef2; text-decoration: none; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.legal nav { display: flex; gap: 16px; }
.legal a { color: #d5dee6; }
.placeholder-legal { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
.placeholder-legal section { margin-top: 22px; max-width: 72ch; }
.placeholder-legal h3 { color: #fff; font-size: 1.05rem; margin: 0 0 8px; letter-spacing: 0; }
.placeholder-legal .legal-body { margin: 0; white-space: pre-line; line-height: 1.55; }

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal[data-d="1"].in { transition-delay: 0.08s; }
.js .reveal[data-d="2"].in { transition-delay: 0.16s; }
.js .reveal[data-d="3"].in { transition-delay: 0.24s; }

@keyframes march { to { stroke-dashoffset: -36; } }
@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@media (max-width: 1050px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .plans, .hero-grid, .split, .contact, .extras, .fcols { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  header.site { position: sticky; }
  header.site nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
  }
  header.site nav.open { display: block; }
  header.site nav ul { flex-direction: column; align-items: stretch; }
  header.site nav a, .login-link, header.site .btn { text-align: center; }
  .news, .legal, .login-box, .contact-row, .cta-row { flex-direction: column; align-items: stretch; }
  .hint { text-align: left; }
  .row2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .flow, .lamp-glow, .hero-art .flow { animation: none; }
}
