

@charset "utf-8";
/* =========================================================
   elektrokurse / et-module
   style.css
   Bereinigte Gesamtversion
========================================================= */

/* =========================
   Design Tokens
========================= */
:root{
  --bg:#0b1220;
  --card:#111a2e;
  --text:#e7eefc;
  --muted:#a9b6d6;
  --line:rgba(255,255,255,.10);
  --accent:#4aa3ff;
  --danger:#ff5a5f;
  --success:#42d392;
  --warning:#fbbf24;

  --font:"Times New Roman", Times, serif;

  --radius:16px;
  --shadow:0 10px 28px rgba(0,0,0,.35);

  --space-1:8px;
  --space-2:12px;
  --space-3:16px;
  --space-4:24px;
  --space-5:32px;

  --max:980px;
}

/* =========================
   Reset / Base
========================= */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  height:100%;
}

html{
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(74,163,255,.22), transparent 60%),
    radial-gradient(900px 600px at 90% 30%, rgba(165,109,255,.18), transparent 60%),
    var(--bg);
  color:var(--text);
  text-rendering:optimizeLegibility;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

svg,
canvas,
video,
iframe{
  max-width:100%;
}

a{
  color:var(--text);
}

a:hover{
  opacity:.9;
}

button,
input,
textarea,
select{
  font-family:var(--font);
}

input,
textarea,
select{
  max-width:100%;
}

table{
  max-width:100%;
}

/* =========================
   Layout
========================= */
.container{
  width:min(100%, var(--max));
  margin:0 auto;
  padding:var(--space-4) var(--space-3);
}

.container > *{
  min-width:0;
}

/* Nur dort breiter, wo es wirklich gebraucht wird */
.container--wide{
  width:min(100%, var(--max));
}

@media (min-width:980px){
  .container--wide{
    width:min(100%, 1180px);
  }
}

/* =========================
   Topbar
========================= */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(10px);
  background:rgba(11,18,32,.72);
  border-bottom:1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-3);
  padding:var(--space-3);
  min-width:0;
}

.topbar__inner > *{
  min-width:0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  text-decoration:none;
}

.brand__logo{
  width:110px;
  height:auto;
  max-height:56px;
  object-fit:contain;
  flex:0 0 auto;
}

.brand__text{
  min-width:0;
}

.brand__title{
  font-weight:700;
  letter-spacing:.2px;
  font-size:1.25rem;
  line-height:1.1;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.brand__sub{
  color:var(--muted);
  font-size:.98rem;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media (min-width:720px){
  .brand__logo{
    width:160px;
    max-height:72px;
  }

  .brand__title{
    font-size:1.4rem;
  }
}

@media (max-width:720px){
  .brand__sub{
    display:none;
  }
}

/* Navigation rechts */
.topbar__right{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  min-width:0;
}

.topbar__nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  min-width:0;
}

.nav__link{
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.nav__link:hover{
  opacity:.95;
  text-decoration:none;
}

.nav__link--ghost{
  background:transparent;
}

/* =========================
   Language Flags Bar
========================= */
.langbar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  min-width:0;
}

.langbar__a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px;
  border-radius:10px;
  border:1px solid transparent;
  text-decoration:none;
  background:transparent;
}

.langbar__a:hover{
  border-color:rgba(74,163,255,.35);
  background:rgba(74,163,255,.10);
}

.langbar__a.is-active{
  border-color:rgba(74,163,255,.55);
  box-shadow:0 0 0 3px rgba(74,163,255,.18);
  background:rgba(74,163,255,.12);
}

.langbar__img{
  width:42px;
  height:28px;
  object-fit:cover;
  border-radius:6px;
  display:block;
}

@media (max-width:720px){
  .langbar__img{
    width:36px;
    height:24px;
  }
}

/* =========================
   Cards / Typography
========================= */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:var(--space-4);
  min-width:0;
  max-width:100%;
}

h1,
h2,
h3{
  margin:0 0 var(--space-2) 0;
  letter-spacing:.2px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

h1{
  font-size:clamp(1.45rem, 2.6vw, 2.1rem);
}

p{
  margin:0 0 var(--space-3) 0;
  color:var(--muted);
  line-height:1.55;
  font-size:1.02rem;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.hr{
  height:1px;
  background:var(--line);
  margin:var(--space-4) 0;
  border:0;
}

/* Klickbare Cards */
.card--link{
  display:block;
  text-decoration:none;
  transition:transform .08s ease, box-shadow .08s ease, border-color .08s ease;
}

.card--link:hover{
  transform:translateY(-1px);
  border-color:rgba(74,163,255,.35);
  box-shadow:0 14px 34px rgba(0,0,0,.45);
  text-decoration:none;
}

/* =========================
   Grid
========================= */
.grid{
  display:grid;
  gap:var(--space-3);
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  min-width:0;
}

.grid > *{
  min-width:0;
}

@media (max-width:420px){
  .grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   Breadcrumbs
========================= */
.breadcrumbs{
  font-size:.98rem;
  color:var(--muted);
  margin-bottom:var(--space-2);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.breadcrumbs a{
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:2px;
}

/* =========================
   Form
========================= */
.form{
  display:grid;
  gap:var(--space-3);
  min-width:0;
}

.row{
  display:grid;
  gap:var(--space-3);
  min-width:0;
}

.row > *{
  min-width:0;
}

@media (min-width:720px){
  .row{
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  }
}

.field{
  min-width:0;
}

.field label{
  display:block;
  font-size:1rem;
  color:var(--muted);
  margin-bottom:6px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.field input,
.field textarea,
.field select{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
  font-size:1.02rem;
  min-width:0;
}

.field textarea{
  min-height:140px;
  resize:vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color:rgba(74,163,255,.55);
  box-shadow:0 0 0 3px rgba(74,163,255,.18);
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
  margin-top:var(--space-2);
  min-width:0;
}

@media (max-width:480px){
  .actions{
    flex-direction:column;
    align-items:stretch;
  }
}

/* =========================
   Buttons
========================= */
.btn{
  appearance:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:12px 16px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  user-select:none;
  text-align:center;
  max-width:100%;
}

.btn:hover{
  opacity:.95;
  text-decoration:none;
}

.btn:active{
  transform:translateY(1px);
}

.btn--primary{
  border-color:rgba(74,163,255,.55);
  background:rgba(74,163,255,.18);
}

.btn--ghost{
  background:transparent;
}

.btn--danger{
  border-color:rgba(255,90,95,.55);
  background:rgba(255,90,95,.14);
}

.btn--success{
  border-color:rgba(66,211,146,.55);
  background:rgba(66,211,146,.14);
}

.btn--help{
  border-color:rgba(66,211,146,.70);
  background:rgba(66,211,146,.25);
  color:var(--danger) !important;
}

.btn--help:hover{
  opacity:1;
  border-color:rgba(66,211,146,.90);
  background:rgba(66,211,146,.34);
}

.hint{
  font-size:.98rem;
  color:var(--muted);
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* =========================
   Footer
========================= */
.footer{
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.14);
  margin-top:var(--space-5);
}

.footer__inner{
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  padding:var(--space-3);
  color:var(--muted);
  font-size:.98rem;
  min-width:0;
}

.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  min-width:0;
}

.footer__links a{
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.18);
  padding-bottom:2px;
}

.footer__links a:hover{
  color:var(--text);
}

/* =========================
   Cookie Banner
========================= */
.cookie-banner{
  position:fixed;
  left:14px;
  right:14px;
  bottom:14px;
  z-index:1000;
  background:rgba(17,26,46,.92);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:14px 14px 12px 14px;
  display:none;
}

.cookie-banner.is-visible{
  display:block;
}

.cookie-banner__grid{
  display:grid;
  gap:12px;
  min-width:0;
}

.cookie-banner__grid > *{
  min-width:0;
}

.cookie-banner__text{
  color:var(--muted);
  font-size:1rem;
  line-height:1.45;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.cookie-banner__text a{
  color:var(--text);
  text-decoration:underline;
}

.cookie-banner__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  min-width:0;
}

/* =========================
   Cookie Modal
========================= */
.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:1100;
  display:none;
}

.modal-backdrop.is-visible{
  display:block;
}

.modal{
  position:fixed;
  left:14px;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  z-index:1200;
  display:none;
  width:min(720px, calc(100% - 28px));
  margin:0 auto;
  background:rgba(17,26,46,.98);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:18px;
  min-width:0;
}

.modal.is-visible{
  display:block;
}

.modal__title{
  font-size:1.35rem;
  font-weight:700;
  margin:0 0 10px 0;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.modal__body{
  color:var(--muted);
  font-size:1rem;
  line-height:1.45;
  min-width:0;
}

.modal__body p,
.modal__body li,
.modal__body div{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.checklist{
  margin:14px 0 0 0;
  display:grid;
  gap:10px;
}

.check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  min-width:0;
}

.check input{
  margin-top:3px;
  flex:0 0 auto;
}

.check__label{
  color:var(--text);
  font-weight:700;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.check__desc{
  color:var(--muted);
  font-weight:400;
  margin-top:2px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.modal__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
  min-width:0;
}

/* =========================
   Quiz Layout
========================= */
.quiz{
  display:grid;
  gap:var(--space-3);
  min-width:0;
}

.quiz__title{
  margin:0 0 var(--space-1) 0;
  font-size:clamp(1.45rem, 2.6vw, 2.1rem);
}

.quiz__intro{
  margin:0 0 var(--space-2) 0;
  color:var(--muted);
}

/* KPI */
.kpi{
  display:grid;
  gap:10px;
  margin-top:var(--space-2);
}

.kpi__row{
  display:grid;
  grid-template-columns:160px 1fr 72px;
  gap:10px;
  align-items:center;
  min-width:0;
}

.kpi__label{
  color:var(--text);
  font-weight:700;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.kpi__pct{
  color:var(--muted);
  text-align:right;
}

.kpi__bar{
  height:16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.16);
  overflow:hidden;
}

.kpi__fill{
  height:100%;
  width:0%;
  background:rgba(74,163,255,.25);
}

.kpi__fill--ok{
  background:rgba(66,211,146,.45);
}

.kpi__fill--bad{
  background:rgba(255,90,95,.40);
}

@media (max-width:520px){
  .kpi__row{
    grid-template-columns:1fr;
  }

  .kpi__pct{
    text-align:left;
  }
}

/* Haupt-Grid */
.quiz-grid{
  display:grid;
  gap:var(--space-3);
  min-width:0;
}

.quiz-grid > *{
  min-width:0;
}

@media (min-width:980px){
  .quiz-grid{
    grid-template-columns:320px minmax(0, 1fr) 320px;
    align-items:start;
  }
}

@media (max-width:980px){
  .quiz-grid{
    grid-template-columns:1fr;
  }
}

/* Panels */
.quiz-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:var(--space-4);
  min-width:0;
}

.quiz-panel__title{
  margin:0 0 var(--space-2) 0;
  font-size:1.25rem;
}

/* Help Card */
.help-card{
  display:grid;
  gap:12px;
  place-items:center;
  text-align:center;
  padding:14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  min-width:0;
}

.help-card__img{
  width:160px;
  height:auto;
}

.help-card__text{
  color:var(--text);
  font-weight:700;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Center */
.quiz-center{
  display:grid;
  gap:var(--space-3);
  min-width:0;
}

/* Grafikbox */
.graphic-box{
  border:1px dashed rgba(255,255,255,.22);
  border-radius:14px;
  padding:12px;
  min-height:110px;
  background:rgba(0,0,0,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(231,238,252,.65);
  min-width:0;
}

.graphic-box.is-empty::before{
  content:"Grafik (optional)";
}

.graphic-box img{
  max-height:220px;
  width:auto;
  border-radius:10px;
}

/* Fragebox */
.question-box{
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(0,0,0,.14);
  padding:14px;
  min-width:0;
}

.question-box__meta{
  color:var(--muted);
  font-weight:700;
  margin-bottom:8px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.question-box__text{
  color:var(--text);
  line-height:1.5;
  font-size:1.05rem;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Dropzone */
.dropzone{
  margin-top:12px;
  border:2px dashed rgba(74,163,255,.35);
  border-radius:14px;
  background:rgba(74,163,255,.08);
  padding:14px;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:rgba(231,238,252,.85);
  font-weight:700;
}

.dropzone.is-active{
  border-color:rgba(74,163,255,.70);
  box-shadow:0 0 0 3px rgba(74,163,255,.18);
}

.dropzone.is-correct{
  border-color:rgba(66,211,146,.70);
  background:rgba(66,211,146,.12);
}

.dropzone.is-wrong{
  border-color:rgba(255,90,95,.70);
  background:rgba(255,90,95,.10);
}

/* Antworten */
.answers-bank{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:4px;
  min-width:0;
}

.answer-chip{
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  border-radius:12px;
  padding:10px 14px;
  min-width:120px;
  max-width:100%;
  text-align:center;
  cursor:pointer;
  user-select:none;
  font-weight:700;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.answer-chip:hover{
  opacity:.95;
}

.answer-chip:active{
  transform:translateY(1px);
}

.answer-chip.is-selected{
  border-color:rgba(74,163,255,.70);
  box-shadow:0 0 0 3px rgba(74,163,255,.18);
}

.answer-chip.is-disabled{
  opacity:.55;
  cursor:not-allowed;
}

.answer-chip.is-correct{
  border-color:rgba(66,211,146,.70);
  background:rgba(66,211,146,.14);
}

.answer-chip.is-wrong{
  border-color:rgba(255,90,95,.70);
  background:rgba(255,90,95,.12);
}

/* Controls */
.quiz-controls{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:12px;
  min-width:0;
}

.quiz-footer-hint{
  text-align:center;
  color:var(--muted);
  margin-top:10px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media (max-width:980px){
  .answer-chip{
    min-width:44%;
  }
}

@media (max-width:520px){
  .answer-chip{
    min-width:100%;
  }
}

/* =========================
   Help Page
========================= */
.help-page{
  display:grid;
  gap:var(--space-3);
  min-width:0;
}

.help-box{
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(0,0,0,.14);
  padding:14px;
  min-width:0;
}

.help-steps{
  color:var(--text);
  min-width:0;
}

.help-steps p,
.help-steps li{
  color:var(--text);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.help-steps ol{
  margin:8px 0 0 18px;
}

.help-steps li{
  margin:6px 0;
}

.help-steps img,
.help-steps table,
.help-steps pre{
  max-width:100%;
}

.help-steps pre,
.help-steps code{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Rating 1..10 */
.rating{
  margin-top:12px;
}

.rating__title{
  color:var(--text);
  font-weight:700;
  margin-bottom:8px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.rating__grid{
  display:grid;
  grid-template-columns:repeat(10, minmax(0, 1fr));
  gap:8px;
}

.rating__btn{
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  border-radius:10px;
  padding:10px 0;
  font-weight:700;
  cursor:pointer;
}

.rating__btn:hover{
  opacity:.95;
}

.rating__btn.is-active{
  border-color:rgba(74,163,255,.70);
  box-shadow:0 0 0 3px rgba(74,163,255,.18);
}

@media (max-width:720px){
  .rating__grid{
    grid-template-columns:repeat(5, minmax(0, 1fr));
  }
}

/* =========================
   Landingpage / Hero
========================= */
.landing-shell{
  width:min(100%, 1140px);
}

.hero{
  display:grid;
  gap:var(--space-4);
  align-items:center;
}

@media (min-width:980px){
  .hero{
    grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr);
  }
}

.hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(74,163,255,.28);
  background:rgba(74,163,255,.10);
  color:var(--text);
  font-weight:700;
  font-size:.95rem;
}

.hero__title{
  margin:0;
  font-size:clamp(1.8rem, 4vw, 2.8rem);
  line-height:1.12;
}

.hero__lead{
  font-size:1.05rem;
  max-width:62ch;
}

.hero__list{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:8px;
  color:var(--text);
}

.hero__card{
  display:grid;
  gap:14px;
  background:linear-gradient(180deg, rgba(74,163,255,.16), rgba(255,255,255,.03));
  border:1px solid rgba(74,163,255,.26);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:clamp(18px, 3vw, 28px);
}

.hero__stats{
  display:grid;
  gap:12px;
}

.hero__stat{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(0,0,0,.14);
  padding:14px;
}

.hero__stat strong{
  display:block;
  font-size:1.12rem;
  color:var(--text);
  margin-bottom:4px;
}

.path-list{
  counter-reset:step;
  display:grid;
  gap:12px;
}

.path-item{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  align-items:start;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  padding:14px;
}

.path-item::before{
  counter-increment:step;
  content:counter(step);
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:999px;
  background:rgba(74,163,255,.18);
  border:1px solid rgba(74,163,255,.34);
  color:var(--text);
  font-weight:900;
}

.path-item strong{
  display:block;
  color:var(--text);
  margin-bottom:4px;
}

.feature-card,
.target-card,
.faq-card{
  height:100%;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  padding:18px;
}

.feature-card h3,
.target-card h3,
.faq-card h3{
  margin-bottom:8px;
}

.cta-box{
  text-align:center;
  border:1px solid rgba(66,211,146,.28);
  background:linear-gradient(180deg, rgba(66,211,146,.12), rgba(255,255,255,.03));
  border-radius:22px;
  padding:clamp(20px, 4vw, 34px);
}

.cta-box p{
  max-width:64ch;
  margin-left:auto;
  margin-right:auto;
}

.landing-kicker{
  color:var(--text);
  font-weight:700;
}

/* =========================
   Mobile Feinschliff
========================= */
@media (max-width:720px){
  .container{
    padding:16px 12px;
  }

  .topbar__inner{
    padding:12px;
    gap:12px;
  }

  .brand{
    gap:10px;
  }

  .brand__logo{
    width:108px;
    max-height:46px;
  }

  .brand__title{
    font-size:1.02rem;
    line-height:1.1;
  }

  .topbar__right{
    gap:8px;
  }

  .topbar__nav{
    gap:8px;
  }

  .nav__link{
    padding:8px 10px;
    font-size:.94rem;
  }

  .langbar{
    gap:6px;
    padding:4px 6px;
  }

  .langbar__img{
    width:30px;
    height:20px;
  }

  .card{
    padding:16px;
    border-radius:14px;
  }

  h1{
    font-size:1.5rem;
  }

  h2{
    font-size:1.2rem;
  }

  h3{
    font-size:1.05rem;
  }

  p{
    font-size:.96rem;
    line-height:1.48;
  }

  .btn{
    padding:10px 12px;
    font-size:.96rem;
  }

  .hero__eyebrow{
    font-size:.84rem;
    padding:6px 10px;
  }

  .hero__title{
    font-size:clamp(1.45rem, 6vw, 2rem);
    line-height:1.14;
  }

  .hero__lead{
    font-size:.98rem;
    line-height:1.5;
  }

  .hero__list{
    gap:6px;
    padding-left:16px;
    font-size:.96rem;
  }

  .hero__card{
    padding:16px;
    border-radius:16px;
  }

  .hero__stat{
    padding:12px;
  }

  .hero__stat strong{
    font-size:1rem;
  }

  .path-item{
    grid-template-columns:38px 1fr;
    gap:10px;
    padding:12px;
  }

  .path-item::before{
    width:38px;
    height:38px;
    font-size:.95rem;
  }

  .feature-card,
  .target-card,
  .faq-card{
    padding:14px;
  }

  .cta-box{
    padding:18px 14px;
  }

  .question-box__text{
    font-size:1rem;
  }

  .quiz-panel{
    padding:16px;
  }

  .help-card__img{
    width:130px;
  }
}

@media (max-width:480px){
  .container{
    padding:14px 10px;
  }

  .topbar__inner{
    padding:10px;
  }

  .brand__logo{
    width:92px;
    max-height:40px;
  }

  .brand__title{
    font-size:.95rem;
  }

  .langbar__img{
    width:26px;
    height:18px;
  }

  .nav__link{
    padding:8px 9px;
    font-size:.88rem;
    border-radius:10px;
  }

  h1{
    font-size:1.35rem;
  }

  p{
    font-size:.93rem;
  }

  .hero__title{
    font-size:clamp(1.28rem, 6.2vw, 1.7rem);
  }

  .hero__lead{
    font-size:.94rem;
  }

  .hero__list{
    font-size:.93rem;
  }

  .card{
    padding:14px;
  }

  .btn{
    font-size:.92rem;
  }
}

/* =========================
   Utilities
========================= */
.hidden{
  display:none !important;
}

/* =========================
   Login Language Nudge (5s)
========================= */
.lang-nudge{
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(2px);
}

.lang-nudge__box{
  transform:rotate(-8deg);
  transform-origin:center;
  background:rgba(17,26,46,.92);
  border:2px solid rgba(66,211,146,.70);
  color:var(--text);
  font-weight:900;
  letter-spacing:.3px;
  padding:14px 18px;
  border-radius:18px;
  box-shadow:var(--shadow);
  text-align:center;
  max-width:min(520px, calc(100% - 28px));
  font-size:clamp(1rem, 2.2vw, 1.35rem);
  animation:langPulse .9s ease-in-out infinite;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@keyframes langPulse{
  0%   { transform:rotate(-8deg) scale(.98); opacity:.95; }
  50%  { transform:rotate(-8deg) scale(1.05); opacity:1; }
  100% { transform:rotate(-8deg) scale(.98); opacity:.95; }
}

.lang-nudge.is-hide{
  opacity:0;
  transition:opacity .6s ease;
}