/* =====================================================================
   Octomat – öffentliche Startseite (octomat.ch)
   Eigenständiges Stylesheet: app.css wird hier NICHT geladen, damit die
   Seite ihre eigene Typografie hat. Die Interface-Nachbauten weiter unten
   (.mk …) übernehmen die Werte aus app.css 1:1, damit sie exakt so
   aussehen wie die echten Bildschirme.
   ===================================================================== */

/* --- Schriften (selbst gehostet, kein CDN) --------------------------- */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  src: url('fonts/karla-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  --deep: #062230;
  --deep-2: #0a2c3d;
  --ocean: #0f3a4d;
  --ocean-2: #17546b;
  --accent: #1fb6d6;
  --accent-strong: #0d8fb0;
  --good: #2fbf71;
  --star: #f5b301;
  --coral: #ff8163;
  --ink: #12313f;
  --ink-soft: #5b7885;
  --sand: #fbf6ee;
  --sand-2: #f3ebdf;
  --paper: #ffffff;
  --foam: #eaf6fb;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text: 'Karla', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --r-lg: 28px;
  --r-md: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
/* Videos (Octopus) sollen sich beim Antippen nicht markieren lassen. */
video { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; }

.wrap { width: min(var(--wrap), calc(100% - 2 * clamp(20px, 5vw, 56px))); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2 * clamp(20px, 5vw, 56px))); margin-inline: auto; }

/* --- Wiederkehrende Bausteine ---------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-strong); margin: 0 0 18px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: 0.55;
}
.on-dark .eyebrow, .deep .eyebrow { color: #6fdcf3; }

.h-sec { font-size: clamp(30px, 4.4vw, 50px); }
.on-dark .h-sec, .on-dark .duo-txt h3, .on-dark .step h4, .deep .h-sec, .deep .duo-txt h3, .deep .step h4 { color: #fff; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 62ch; }
.on-dark .lead, .deep .lead { color: rgba(216, 238, 246, 0.78); }

.btn-l {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--text); font-size: 16.5px; font-weight: 800;
  padding: 15px 26px; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px rgba(13, 143, 176, 0.34);
  transition: transform 0.16s cubic-bezier(.34,1.4,.64,1), box-shadow 0.16s ease, background 0.16s ease;
}
.btn-l:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(13, 143, 176, 0.42); }
.btn-l:active { transform: translateY(0); }
.btn-l.ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 2px solid rgba(18, 49, 63, 0.16);
}
.btn-l.ghost:hover { background: rgba(18, 49, 63, 0.05); border-color: rgba(18, 49, 63, 0.3); }
.on-dark .btn-l.ghost, .deep .btn-l.ghost { color: var(--foam); border-color: rgba(234, 246, 251, 0.28); }
.on-dark .btn-l.ghost:hover, .deep .btn-l.ghost:hover { background: rgba(234, 246, 251, 0.1); border-color: rgba(234, 246, 251, 0.5); }
.btn-l .arw { transition: transform 0.18s ease; }
.btn-l:hover .arw { transform: translateX(3px); }

/* =====================================================================
   Kopfzeile
   ===================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; }
.site-head.stuck {
  background: rgba(6, 34, 48, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 40px rgba(3, 18, 26, 0.35);
  padding: 9px 0;
}

.logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--foam);
  font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.02em;
}
/* Das App-Symbol selbst – dasselbe Bild wie im Tab und auf dem Homescreen.
   Sein Navy liegt nahe am Verlauf der Kopfzeile, darum trägt der Schatten
   hier die Kante: ohne ihn schwämme der Krake ohne Halt im Hintergrund. */
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: block;
  box-shadow: 0 6px 16px rgba(3, 18, 26, 0.5);
}

.head-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.head-nav a {
  padding: 9px 14px; border-radius: 999px; text-decoration: none;
  color: rgba(234, 246, 251, 0.8); font-weight: 700; font-size: 15px;
  transition: background 0.15s ease, color 0.15s ease;
}
.head-nav a:hover { background: rgba(234, 246, 251, 0.12); color: #fff; }
@media (max-width: 860px) { .head-nav .nav-link { display: none; } }

.btn-login {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px !important; border-radius: 999px;
  background: var(--star); color: #4a3600 !important;
  font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(245, 179, 1, 0.35);
  transition: transform 0.16s cubic-bezier(.34,1.4,.64,1), box-shadow 0.16s ease, background 0.16s ease;
}
.btn-login:hover { background: #ffc624 !important; transform: translateY(-2px); box-shadow: 0 13px 30px rgba(245, 179, 1, 0.45); }
.btn-login svg { width: 19px; height: 19px; }

/* =====================================================================
   Tiefsee-Bühne (Kopf + Hero + erste Abschnitte)
   ===================================================================== */
.deep {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% -10%, #1b6480 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 8%, #14526b 0%, transparent 50%),
    linear-gradient(180deg, var(--ocean) 0%, var(--deep-2) 62%, var(--deep) 100%);
  color: var(--foam);
  overflow: hidden;
}
.deep::after {
  /* feine Lichtstrahlen von oben */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background:
    linear-gradient(104deg, transparent 32%, rgba(150, 230, 255, 0.07) 36%, transparent 40%),
    linear-gradient(96deg, transparent 58%, rgba(150, 230, 255, 0.05) 62%, transparent 66%);
  mix-blend-mode: screen;
}
.deep > * { position: relative; z-index: 2; }

/* Aufsteigende Blasen */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -60px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), rgba(160, 225, 245, 0.06) 62%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0) scale(0.85); opacity: 0; }
  12% { opacity: 0.55; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-118vh) translateX(26px) scale(1.1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .bubbles { display: none; } }

/* Wellen-Übergang zwischen dunklem und hellem Bereich */
.wave { display: block; width: 100%; height: clamp(34px, 4vw, 64px); margin-bottom: -1px; }
.wave path { fill: var(--sand); }
.wave.up path { fill: var(--ocean); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { padding: clamp(30px, 6vw, 62px) 0 clamp(60px, 9vw, 110px); }
.hero-grid {
  display: grid; gap: clamp(34px, 5vw, 60px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(40px, 6.6vw, 78px);
  font-weight: 600;
  margin: 0 0 22px;
  color: #fff;
}
.hero h1 em {
  font-style: normal; font-weight: 700;
  color: transparent;
  background: linear-gradient(96deg, #7fe6ff, #4fd0e8 45%, var(--star));
  -webkit-background-clip: text; background-clip: text;
  position: relative;
}
.hero .lead { font-size: clamp(17.5px, 1.75vw, 21px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0;
  padding: 0; list-style: none;
  font-size: 14.5px; font-weight: 600; color: rgba(216, 238, 246, 0.68);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 4px rgba(31, 182, 214, 0.18);
}

/* Bühne rechts: Screenshot + Octopus */
.hero-stage { position: relative; }
.hero-stage .shot { transform: rotate(-1.6deg); }

@media (max-width: 980px) {
  .hero-stage { max-width: 620px; margin-inline: auto; }
}

/* =====================================================================
   „Screenshot"-Rahmen für die Interface-Nachbauten
   ===================================================================== */
.shot {
  /* Nicht beschneiden: Der Octopus soll rechts über die Kante ragen. Die
     Rundung übernehmen deshalb Leiste und Inhalt selbst. */
  border-radius: 20px;
  background: #0b2f3f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -24px rgba(3, 18, 26, 0.62), 0 8px 20px rgba(3, 18, 26, 0.3);
}
.shot-bar {
  border-radius: 20px 20px 0 0;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.24); flex: none; }
.shot-bar span {
  margin-left: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  color: rgba(234, 246, 251, 0.5);
  background: rgba(0, 0, 0, 0.18); padding: 3px 12px; border-radius: 999px;
}
.shot-body { padding: clamp(14px, 2.4vw, 22px); border-radius: 0 0 20px 20px; }
.shot-body.ocean {
  background:
    radial-gradient(120% 120% at 50% 0%, #1a5a72 0%, #0f3a4d 45%, #0a2836 100%);
}
.shot-body.light { background: #e7f1f6; }

/* Bildunterschrift unter einem Screenshot */
.shot-cap {
  /* Der breite Schatten des Ausschnitts dunkelt den Sand darunter ab – die
     Legende braucht dort einen kräftigeren Ton als --ink-soft. */
  margin: 14px 2px 0; font-size: 14.5px; font-weight: 600;
  color: rgb(43, 72, 84); display: flex; align-items: flex-start; gap: 8px;
}
.on-dark .shot-cap, .deep .shot-cap { color: rgba(216, 238, 246, 0.72); }
.shot-cap::before { content: '↑'; opacity: 0.55; font-weight: 800; }

/* =====================================================================
   Abschnitte
   ===================================================================== */
.sec { padding: clamp(56px, 7.5vw, 96px) 0; }
/* Direkt nach einer Welle bringt deren leerer Bogen schon Abstand mit –
   die Sektion darf dort oben deutlich enger anfangen. */
.wave + .sec, .wave + .deep > .sec { padding-top: clamp(22px, 3vw, 40px); }
.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 46px); }
.sec-head .lead { margin-top: 18px; }

/* Drei Kurz-Karten */
.tri { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tri { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 2px 0 rgba(18, 49, 63, 0.04), 0 22px 44px -30px rgba(18, 49, 63, 0.35);
  border: 1px solid rgba(18, 49, 63, 0.06);
  position: relative; overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(18, 49, 63, 0.45); }
.card-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 20px;
  background: linear-gradient(145deg, #e4f4fa, #cfeaf3);
  color: var(--accent-strong);
}
.card-ic svg { width: 27px; height: 27px; display: block; }
.card:nth-child(2) .card-ic { background: linear-gradient(145deg, #fdf1d7, #f8e3b0); }
.card:nth-child(3) .card-ic { background: linear-gradient(145deg, #e8f5ec, #d2ecdb); }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Wechselnde Text/Bild-Reihen */
.duo {
  display: grid; gap: clamp(30px, 5vw, 66px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  margin-top: clamp(40px, 6vw, 76px);
}
.duo.flip > .duo-txt { order: 2; }
@media (max-width: 940px) {
  .duo, .duo.flip { grid-template-columns: 1fr; }
  .duo.flip > .duo-txt { order: 0; }
}
.duo h3 { font-size: clamp(25px, 2.9vw, 34px); margin-bottom: 14px; }
/* Nur die Textspalte – sonst trifft es auch die Bildlegende daneben. */
.duo-txt p { color: var(--ink-soft); margin: 0 0 14px; }
.on-dark .duo-txt p, .deep .duo-txt p { color: rgba(216, 238, 246, 0.76); }

/* Aufzählung mit Häkchen */
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
.ticks li strong { font-weight: 800; }
.ticks .tk {
  flex: none; width: 25px; height: 25px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font-size: 13px; font-weight: 900;
  background: rgba(47, 191, 113, 0.15); color: #229a58;
}
.on-dark .ticks .tk, .deep .ticks .tk { background: rgba(79, 208, 232, 0.18); color: #7fe6ff; }

/* Nummerierte Ablauf-Schritte */
.steps { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); margin-top: 46px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 22px; border-top: 2px solid rgba(234, 246, 251, 0.16); }
.step .n {
  font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.step h4 { font-family: var(--display); font-size: 21px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.015em; }
.step p { margin: 0; font-size: 15.5px; color: rgba(216, 238, 246, 0.72); }

/* Zitat / Merksatz */
.pull {
  margin: clamp(46px, 6vw, 80px) auto 0;
  max-width: 900px; text-align: center;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -0.02em;
  text-wrap: balance;
}
.pull span { color: var(--accent); }
.on-dark .pull span, .deep .pull span { color: var(--star); }

/* =====================================================================
   Preise
   ===================================================================== */
.prices { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
@media (max-width: 940px) { .prices { grid-template-columns: 1fr; } }
.price {
  position: relative; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg); padding: clamp(26px, 3vw, 34px);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.price:hover { transform: translateY(-4px); border-color: rgba(127, 230, 255, 0.45); }
.price.feature {
  background: linear-gradient(170deg, rgba(31, 182, 214, 0.2), rgba(255, 255, 255, 0.05));
  border-color: rgba(127, 230, 255, 0.5);
  box-shadow: 0 30px 70px -34px rgba(31, 182, 214, 0.7);
}
.price-tag {
  position: absolute; top: -13px; left: clamp(26px, 3vw, 34px);
  background: var(--star); color: #4a3600;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
}
.price h3 { font-size: 25px; margin-bottom: 6px; color: #fff; }
.price .who { font-size: 14.5px; color: rgba(216, 238, 246, 0.66); margin: 0 0 22px; min-height: 2.6em; }
.price .amount {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(38px, 4.6vw, 54px); line-height: 1; color: #fff;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.price .amount .cur { font-size: 0.44em; font-weight: 600; color: rgba(216, 238, 246, 0.7); }
.price .per { font-size: 14.5px; font-weight: 700; color: rgba(216, 238, 246, 0.62); margin: 9px 0 22px; }
.price ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; font-size: 15.2px; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; color: rgba(216, 238, 246, 0.86); }
.price ul li::before { content: '✓'; color: #7fe6ff; font-weight: 900; flex: none; }
.price .btn-l { margin-top: auto; width: 100%; }
.price-note {
  margin: 26px auto 0; text-align: center; font-size: 14.5px;
  color: rgba(216, 238, 246, 0.6); max-width: 70ch;
}

/* =====================================================================
   Kaufformular
   ===================================================================== */
.buy { background: var(--sand-2); }
.buy-box {
  background: var(--paper); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 30px 70px -40px rgba(18, 49, 63, 0.5);
  border: 1px solid rgba(18, 49, 63, 0.07);
}
.buy-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .buy-grid { grid-template-columns: 1fr; } }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 13.5px; font-weight: 800; color: var(--ink-soft); letter-spacing: 0.02em; }
.fld input, .fld select, .fld textarea {
  font-family: var(--text); font-size: 16.5px; color: var(--ink);
  padding: 14px 16px; border-radius: 14px;
  border: 2px solid #e6ecef; background: #f7fafb;
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.fld textarea { resize: vertical; min-height: 108px; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.fld .hint { font-size: 12.5px; color: var(--ink-soft); }

/* Auswahl der Variante als Karten-Radios */
.opt-row { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .opt-row { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: block; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  border: 2px solid #e6ecef; background: #f7fafb;
  font-weight: 800; font-size: 15.5px; transition: all 0.15s ease;
}
.opt span small { display: block; font-weight: 600; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.opt input:checked + span {
  border-color: var(--accent); background: #eaf7fb;
  box-shadow: 0 6px 18px -8px rgba(13, 143, 176, 0.5);
}
.opt input:focus-visible + span { outline: 3px solid rgba(31, 182, 214, 0.4); outline-offset: 2px; }

.buy-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 26px; }
.buy-foot .note { font-size: 13.5px; color: var(--ink-soft); max-width: 46ch; }
.buy-foot .note a { color: var(--accent-strong); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.flash {
  display: flex; gap: 13px; align-items: flex-start;
  border-radius: 16px; padding: 16px 20px; margin-bottom: 24px;
  font-weight: 600; font-size: 15.5px;
}
.flash.ok { background: #e6f8ee; color: #16794a; }
.flash.bad { background: #fde7e6; color: #c0322e; }
.flash .fi { font-size: 20px; line-height: 1.2; }

/* =====================================================================
   Rechtstexte (AGB, Datenschutz, Impressum)
   ===================================================================== */
/* Schmales Band statt Bühne: die Textseiten brauchen nur die Kopfzeile. */
.deep-slim { padding-bottom: 8px; }

.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(30px, 4.4vw, 46px); }
.legal-date { margin: 14px 0 0; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.legal-lead { font-size: 18px; color: var(--ink-soft); margin: 26px 0 0; }
.legal h2 {
  font-size: clamp(21px, 2.4vw, 26px); margin: clamp(34px, 4vw, 46px) 0 12px;
  padding-top: clamp(20px, 2.6vw, 28px); border-top: 2px solid rgba(18, 49, 63, 0.1);
}
.legal h3 { font-family: var(--text); font-size: 16px; font-weight: 800; letter-spacing: 0; margin: 22px 0 8px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.legal li { padding-left: 2px; }
.legal a { color: var(--accent-strong); font-weight: 700; }

/* Fusszeile: Rechtstexte etwas abgesetzt von der übrigen Navigation. */
.foot-legal a { font-weight: 600; opacity: 0.82; }

/* =====================================================================
   Fusszeile
   ===================================================================== */
.site-foot { background: var(--deep); color: rgba(216, 238, 246, 0.62); padding: 54px 0 40px; font-size: 15px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.site-foot a { color: rgba(216, 238, 246, 0.86); text-decoration: none; font-weight: 700; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* =====================================================================
   Einblenden beim Scrollen
   ===================================================================== */
.rv { opacity: 0; transform: translateY(26px); }
.rv.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(.22,.7,.3,1), transform 0.7s cubic-bezier(.22,.7,.3,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}

/* =====================================================================
   ===  INTERFACE-NACHBAUTEN  ==========================================
   Werte 1:1 aus public/assets/app.css übernommen, hier unter .mk
   gekapselt, damit sie nicht mit der Seite kollidieren. Ohne Funktion.
   ===================================================================== */
.mk {
  --surface: #ffffff;
  --surface-soft: #eef6fa;
  --ink: #12313f;
  --ink-soft: #5b7885;
  --accent: #1fb6d6;
  --accent-strong: #0d8fb0;
  --good: #2fbf71;
  --bad: #ef5b57;
  --star: #f5b301;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(6, 30, 40, 0.18);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  line-height: normal;
  font-size: 16px;
  -webkit-user-select: none; user-select: none;
}
.mk { max-width: 100%; }
.mk * { box-sizing: border-box; min-width: 0; }
.mk p, .mk h2, .mk h3, .mk h4 { margin: 0; }
.mk .hidden { display: none; }

/* --- Spielbildschirm -------------------------------------------------- */
.mk-game { width: 100%; text-align: center; color: #eaf6fb; position: relative; }
.mk-game .progress-track {
  height: 12px; background: rgba(255, 255, 255, 0.2); border-radius: 999px;
  overflow: hidden; margin-bottom: 22px;
}
.mk-game .progress-fill {
  height: 100%; width: 8%; background: var(--star); border-radius: 999px;
  transition: width 0.5s ease;
}
.mk-game .question {
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; position: relative;
  height: clamp(140px, 22vw, 190px);
  display: flex; align-items: center; justify-content: center;
}
.mk-game .term {
  font-size: clamp(30px, 5.2vw, 54px); font-weight: 800; letter-spacing: 0.01em;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: 0.08em 0.35em; font-variant-numeric: tabular-nums; line-height: 1.15;
}
.mk-game .term-op, .mk-game .term-eq { color: var(--ink-soft); }
.mk-game .term-op { transform: translateY(-0.06em); } /* auf Ziffernmitte, wie im Spiel */
.mk-game .term-a, .mk-game .term-b { display: inline-block; min-width: 2ch; }
.mk-game .term-a { text-align: right; } /* zum Zeichen hin, wie im Spiel */
.mk-game .term-b { text-align: left; }
.mk-game .answer {
  display: inline-block; min-width: 3ch; height: 1.15em; line-height: 1.15em;
  text-align: left; font-weight: 800; color: var(--accent-strong);
  border-bottom: 5px solid var(--surface-soft);
}
.mk-game .question.correct { animation: mk-pop 0.45s; }
.mk-game .question.correct .answer { color: var(--good); border-bottom-color: var(--good); }
@keyframes mk-pop { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.mk-game .caret { border-bottom-color: var(--accent); animation: mk-blink 1s steps(2) infinite; }
@keyframes mk-blink { 50% { border-bottom-color: var(--surface-soft); } }

/* Octopus an der Aufgabenkarte – dieselbe Anordnung wie im Spiel: obere
   rechte Ecke, ragt über die Karte hinaus, bleibt aber im Ausschnitt. */
.mk-game .mascot-stage {
  position: absolute; z-index: 4; right: -58px; top: -34px;
  width: clamp(108px, 16vw, 158px); aspect-ratio: 832 / 1104;
}
.mk-game .mascot-stage video { width: 100%; height: 100%; object-fit: contain; }

/* Zifferntastatur */
.mk-keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px;
  width: min(330px, 88%); margin: 20px auto 0;
}
.mk-keypad b {
  display: grid; place-items: center;
  min-height: clamp(42px, 6vw, 60px);
  font-size: clamp(19px, 2.6vw, 26px); font-weight: 700;
  border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 3px 0 rgba(6, 30, 40, 0.15);
}
.mk-keypad b.key-ok { background: var(--good); color: #fff; }
.mk-keypad b.key-fn { background: var(--surface-soft); }

/* --- Schüler-Menü + Startseite ---------------------------------------- */
.mk .topmenu {
  /* wrap wie in der App: auf schmalen Geräten rutscht das Menü auf zwei
     Zeilen, statt den Ausschnitt breiter zu machen als das Fenster. */
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  background: rgba(255, 255, 255, 0.12); padding: 8px; border-radius: 16px;
  margin-bottom: 16px;
}
.mk .topmenu-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  flex: 1 1 80px; min-width: 62px; padding: 8px 6px; border-radius: 12px;
  color: #eaf6fb; font-weight: 700; font-size: 11px;
}
.mk .topmenu-item svg { width: 22px; height: 22px; display: block; }
.mk .topmenu-item.active { background: var(--surface); color: var(--ink); }

.mk-home { display: flex; flex-direction: column; gap: 12px; }
.mk-home .home-hero { display: flex; align-items: center; gap: 16px; color: #eaf6fb; }
.mk-home .home-photo {
  width: 66px; height: 66px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #7fd3ea, #cfe6ef);
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 18px rgba(6, 30, 40, 0.25);
  display: grid; place-items: center; font-size: 30px;
}
.mk-home .home-greet {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(234, 246, 251, 0.7);
}
.mk-home .home-hi h1 { font-family: inherit; font-size: 28px; margin: 1px 0 3px; letter-spacing: 0; font-weight: 700; line-height: 1.05; }
.mk-home .home-sub { font-size: 13px; color: rgba(234, 246, 251, 0.82); }
.mk-home .octo-slot { margin-left: auto; width: 92px; aspect-ratio: 832 / 1104; flex: none; }
.mk-home .home-cta {
  display: flex; align-items: center; gap: 13px; color: #fff;
  padding: 15px 17px; border-radius: 18px;
  background: linear-gradient(120deg, var(--accent-strong), var(--accent) 72%, #4fd0e8);
  box-shadow: var(--shadow);
}
.mk-home .home-cta svg { width: 30px; height: 30px; flex: none; }
.mk-home .home-cta-text { flex: 1 1 auto; display: flex; flex-direction: column; }
.mk-home .home-cta-text strong { font-size: 17px; font-weight: 900; }
.mk-home .home-cta-text span { font-size: 12.5px; opacity: 0.9; }
.mk-home .home-cta-go {
  flex: none; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; font-weight: 900;
  background: rgba(255, 255, 255, 0.22); display: grid; place-items: center;
}
.mk-home .home-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) {
  .mk-home .home-cols { grid-template-columns: 1fr; }
  /* Auf dem Telefon nur die drei wichtigsten Menüpunkte – sonst wird das
     Menü im Ausschnitt zweizeilig und drängt die Startseite nach unten. */
  .mk .topmenu-item.mk-wide-only { display: none; }
  /* Auf dem Telefon steht der Octopus im Weg – der Ausschnitt soll die
     Startseite zeigen, nicht ihn. */
  .mk-home .octo-slot { display: none; }
  .mk-home .home-hero { gap: 12px; }
  .mk-home .home-photo { width: 54px; height: 54px; font-size: 24px; }
  .mk-home .home-hi h1 { font-size: 24px; }
}
.mk-home .home-card { background: var(--surface); border-radius: 16px; padding: 15px; box-shadow: var(--shadow); }
.mk-home .home-card h3 { font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-family: inherit; letter-spacing: 0; font-weight: 700; }
.mk-home .home-medal { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--surface-soft); }
.mk-home .home-medal:first-of-type { border-top: none; }
.mk-home .home-medal span:last-child { font-weight: 600; font-size: 13.5px; }

/* --- Medaillen (Scheibe + Band) --------------------------------------- */
.mk .medal-mini {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(145deg, var(--m1, #c6cfd9), var(--m2, #c6cfd9) 54%, var(--m3, #828e9b));
  border: 2px solid var(--mrim, #aab4bf);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.5), 0 2px 5px rgba(6, 30, 40, 0.2);
}
.mk .tier-bronze  { --m1:#f4cda0; --m2:#c67f3e; --m3:#7a4a1e; --mrim:#a5622a; }
.mk .tier-silber  { --m1:#f4f7fa; --m2:#a8b4c0; --m3:#5c6875; --mrim:#8c98a4; }
.mk .tier-gold    { --m1:#fff3bc; --m2:#f2c336; --m3:#a9791a; --mrim:#d9a81c; }
.mk .tier-platin  { --m1:#ffffff; --m2:#e3e0f4; --m3:#8b83b0; --mrim:#cbc4e4; }
.mk .tier-diamant { --m1:#ffffff; --m2:#a7e6ff; --m3:#3fb2dd; --mrim:#7fd8f5; }
.mk .cat-a { --cat:#2f80ed; --catd:#1b5fc0; }
.mk .cat-b { --cat:#27ae60; --catd:#1c8449; }
.mk .cat-c { --cat:#8e44ad; --catd:#6c3184; }
.mk .cat-allg { --cat:#0d8fb0; --catd:#0a6b85; }
.mk .cat-star { --cat:#e0a91b; --catd:#b6860d; }

.mk .medal-emoji {
  position: relative; z-index: 1; --sym: 27px; font-size: var(--sym); line-height: 1;
  mix-blend-mode: luminosity;
  filter: grayscale(1) contrast(1.1) brightness(1.12)
    drop-shadow(0 -1px 0.4px rgba(255, 255, 255, 0.45))
    drop-shadow(0 1px 0.6px rgba(0, 0, 0, 0.45));
}
.mk .medal-emoji.is-text {
  font-size: calc(var(--sym) * 0.84); font-weight: 900;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  color: #5a5a5a; -webkit-text-fill-color: #5a5a5a;
}
.mk .medal-mini .medal-emoji { --sym: 18px; }

/* --- Trick-Hilfe (Rechenweg am Punktefeld) ---------------------------- */
/* Im Spiel liegt sie als weisses .panel über der Aufgabe. */
.mk .panel {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 26px);
}
.mk .trick { text-align: center; }
.mk .trick-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--accent-strong); }
.mk .trick-top {
  background: #eef6fa; border: 2px solid #d7e6ee; border-radius: 16px;
  padding: 10px 16px 14px; margin-bottom: 16px;
}
.mk .trick-top-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 4px;
}
.mk .trick-rechnung {
  font-size: clamp(24px, 4vw, 34px); font-weight: 900; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-content: center; font-variant-numeric: tabular-nums;
}
.mk .trick-result-box {
  display: inline-block; border: 3px solid; border-radius: 12px;
  padding: 0 16px; min-width: 1.5em; text-align: center;
}
.mk .trick-result-box.empty { background: #eef4f7; color: #b3c2cb; border-color: #cddbe3; border-style: dashed; }
.mk .trick-stage {
  display: inline-grid; position: relative; margin: 6px auto; padding: 10px;
  border-radius: 14px; background: var(--surface-soft); max-width: 100%;
}
.mk .t-dot {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7b76, #e0403b);
}
.mk .t-dot.g2 { background: radial-gradient(circle at 35% 30%, #ffe38a, #f5b301); }
.mk .t-frame {
  position: absolute; box-sizing: border-box; pointer-events: none;
  border: 3px solid var(--accent-strong); border-radius: 10px;
}
.mk .t-frame.f-red { border-color: #e0403b; }
.mk .t-frame.f-gold { border-color: #d29200; }
.mk .t-frame-label {
  position: absolute; top: -12px; left: 8px;
  background: var(--accent-strong); color: #fff;
  font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 8px; white-space: nowrap;
}
.mk .t-frame.f-red .t-frame-label { background: #e0403b; }
.mk .t-frame.f-gold .t-frame-label { background: #d29200; }
.mk .trick-notes { margin: 8px 0 14px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.mk .trick-notes::before {
  content: "Rechenweg";
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 2px;
}
.mk .trick-note-line {
  font-size: 16px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums;
  display: inline-block; border: 2px dashed #9fb4bf; border-radius: 10px;
  padding: 2px 12px; background: #f7fbfd;
}
.mk .trick-note-line.nl-g2 { color: #d29200; }
.mk .c-base { color: #e0403b; }
/* --- Verwaltungs-Panels (Lehrperson) ---------------------------------- */
.mk-panel {
  background: var(--surface); color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(16px, 2.4vw, 26px);
}
.mk-panel + .mk-panel { margin-top: 14px; }
.mk-panel h2 { font-size: 19px; font-family: inherit; letter-spacing: 0; font-weight: 700; }
.mk .mgmt-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mk .badge {
  font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px;
  background: var(--surface-soft); color: var(--ink-soft);
}
.mk .badge.ok { background: #e6f8ee; color: #1f9d5b; }

.mk .stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 4px 0 16px; }
.mk .stat-tile { background: var(--surface-soft); border-radius: 14px; padding: 12px 14px; }
.mk .stat-tile .k { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.mk .stat-tile .v { font-size: 24px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.mk .stat-tile .v small { font-size: 0.5em; color: var(--ink-soft); font-weight: 800; }
.mk .stat-tile .sub { font-size: 12px; color: var(--ink-soft); }

.mk-scroll { overflow-x: auto; }
/* Wird es schmal, fallen die Spalten der Reihe nach weg – die entbehrlichste
   zuerst –, damit die Liste lesbar bleibt statt seitwärts zu scrollen. */
@media (max-width: 980px) { .mk .col-login { display: none; } }
@media (max-width: 780px) { .mk .col-week { display: none; } }
.mk table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mk table th {
  text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); padding: 8px 9px; border-bottom: 2px solid var(--surface-soft); white-space: nowrap;
}
.mk table td { padding: 10px 9px; border-bottom: 1px solid var(--surface-soft); font-size: 14px; vertical-align: middle; }
.mk table .num { text-align: right; }
.mk .student-cell { display: inline-flex; align-items: center; gap: 9px; }
.mk .avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}
.mk .avatar-lg { width: 48px; height: 48px; font-size: 17px; }
.mk .student-name { font-weight: 700; white-space: nowrap; color: var(--accent-strong); }
.mk .muted { color: var(--ink-soft); }
.mk .quote-cell { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mk .quote-pill {
  display: inline-block; min-width: 44px; text-align: center;
  font-weight: 800; font-size: 12.5px; padding: 3px 9px; border-radius: 999px;
  background: var(--surface-soft); color: var(--ink-soft);
}
.mk .quote-pill.good { background: #e6f8ee; color: #1f9d5b; }
.mk .quote-pill.warn { background: #fdf3dc; color: #b47b00; }
.mk .quote-pill.bad { background: #fde7e6; color: var(--bad); }
.mk .trend { font-weight: 900; font-size: 12.5px; }
.mk .trend-up { color: var(--good); }
.mk .trend-down { color: var(--bad); }
.mk .trend-flat { color: var(--ink-soft); }
.mk .btn-sm {
  font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 10px;
  background: var(--surface-soft); color: var(--ink); display: inline-block;
}
.mk .goal-mini { display: flex; flex-direction: column; gap: 4px; min-width: 88px; }
.mk .goal-mini-bar { height: 8px; border-radius: 999px; background: var(--surface-soft); overflow: hidden; }
.mk .goal-mini-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-strong), var(--accent)); }
.mk .goal-mini-lab { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.mk .goal-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; background: #e6f8ee; color: #1f9d5b;
}
.mk .student-head { display: flex; align-items: center; gap: 13px; }
.mk .uc-meta { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }

/* --- Fortschritt pro Reihe -------------------------------------------- */
.mk .rowbar { display: grid; gap: 9px; }
.mk .rowbar .r { display: grid; gap: 4px; }
.mk .rowbar .lab { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 13.5px; }
.mk .rowbar .lab .meta { color: var(--ink-soft); font-weight: 500; display: flex; flex-wrap: wrap; gap: 3px 13px; }
.mk .rowbar .lab .meta .m { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk .rowbar .lab .meta .m svg { width: 13px; height: 13px; flex: none; opacity: 0.75; }
.mk .rowbar .track { height: 10px; background: var(--surface-soft); border-radius: 999px; overflow: hidden; }
.mk .rowbar .fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.1s cubic-bezier(.2,.7,.3,1); }
.mk .rowbar .fill.go { width: var(--w); }
.mk .rowcheck { font-weight: 900; }
@media (prefers-reduced-motion: reduce) { .mk .rowbar .fill { transition: none; width: var(--w); } }
@media (max-width: 620px) { .mk .rowbar .lab { flex-direction: column; gap: 3px; } }

/* --- Stufen-/Gruppen-Editor ------------------------------------------- */
.mk .level-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); }
.mk .level-card {
  border: 2px solid var(--surface-soft); border-radius: 16px; padding: 12px 13px 13px;
  display: flex; flex-direction: column; gap: 9px;
}
.mk .level-card-head h3 { font-size: 14px; font-family: inherit; letter-spacing: 0; font-weight: 700; }
.mk .level-rows { display: flex; flex-wrap: wrap; gap: 7px; }
.mk .row-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-soft); border-radius: 11px; padding: 5px 7px;
}
.mk .row-chip.lift {
  background: #fff; box-shadow: 0 10px 20px rgba(6, 30, 40, 0.22);
  transform: rotate(-4deg) scale(1.06); position: relative; z-index: 2;
}
.mk .row-chip-grip { color: var(--ink-soft); opacity: 0.45; font-size: 11px; letter-spacing: -1px; }
.mk .row-chip-name { font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; padding-right: 3px; }
.mk .check-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px; border-radius: 12px; background: var(--surface-soft);
  border: 2px solid transparent; font-weight: 700; font-size: 12.5px;
}
.mk .check-chip.on { border-color: var(--accent); background: rgba(31, 182, 214, 0.12); }
.mk .check-box {
  width: 17px; height: 17px; border-radius: 5px; flex: none;
  background: #fff; border: 2px solid #cfe0e7; display: grid; place-items: center;
  font-size: 11px; color: #fff; font-weight: 900;
}
.mk .check-chip.on .check-box { background: var(--accent); border-color: var(--accent); }
.mk .swatch { width: 22px; height: 22px; border-radius: 7px; flex: none; }
.mk .level-card-foot { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: auto; }
.mk .hint-line { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 12px; }

/* --- Klassen-Login (kleiner Nachbau in der Fusszeile) ------------------ */
.mk-login { max-width: 300px; margin-inline: auto; }
.mk-login .panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.mk-login label { display: block; font-weight: 600; font-size: 12px; margin: 10px 0 5px; color: var(--ink-soft); }
.mk-login .inp { padding: 11px 13px; border-radius: 12px; background: var(--surface-soft); font-size: 14px; color: var(--ink-soft); }
.mk-login .btn { margin-top: 16px; padding: 12px; text-align: center; font-weight: 700; color: #fff; background: var(--accent); border-radius: 14px; font-size: 15px; }
