/* ============================================================
   ĆERANIĆ EDUCATION — Lern-Apps für serbische Sprache & Kultur
   Brand-Welt geteilt mit Ćeranić Creative (rotes Ћ, Space Grotesk + Inter),
   eigener Aufbau: Apps · Lernwelt · Mission · Vision
   ============================================================ */

:root {
  --red:      #E1251B;
  --red-dark: #b81a12;
  --blue:     #2C4B9B;
  --blue-2:   #1f3a82;
  --blue-lt:  #5d82e0;

  /* Lern-Akzente (Fächer/Themen) */
  --green:    #2F9E6B;
  --amber:    #E8A33D;
  --teal:     #1aa6b0;
  --violet:   #8e5cd0;

  --ink:      #0e1116;
  --ink-2:    #161b22;
  --panel:    #1b212b;
  --muted:    #97a1b0;
  --line:     rgba(255,255,255,.10);

  --paper:    #f6f7f9;
  --paper-2:  #eceef2;

  --maxw: 1180px;
  --r: 18px;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: #eef1f5;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--f-display); line-height: 1.05; letter-spacing: -.02em; }

/* ---------- cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,37,27,.16), rgba(44,75,155,.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: transform .18s ease-out;
  will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ============================================================
   ACCESSIBILITY (BFSG / WCAG 2.1 AA)
   ============================================================ */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  background: var(--red); color: #fff;
  padding: 12px 20px; border-radius: 10px;
  font-family: var(--f-display); font-weight: 600;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible,
.nav__cta:focus-visible { outline-offset: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 56px);
  transition: background .3s, padding .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14,17,22,.78);
  backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 60px; width: auto; display: block; }
.brand__logo--sm { height: 52px; }

.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: .92rem; color: #cfd6e0; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta {
  background: var(--red); color: #fff !important;
  padding: 10px 18px; border-radius: 100px; font-weight: 600;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.nav__cta:hover { transform: translateY(-2px); background: var(--red-dark);
  box-shadow: 0 10px 24px rgba(225,37,27,.35); }

/* ---------- Sprachumschalter ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: #e7ebf1; cursor: pointer; padding: 8px 12px; border-radius: 100px;
  font-family: var(--f-display); font-weight: 600; font-size: .82rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.lang__btn:hover { border-color: rgba(93,130,224,.6); background: rgba(255,255,255,.07); }
.lang__globe { width: 17px; height: 17px; display: block; color: var(--blue-lt); }
.lang__globe svg { width: 100%; height: 100%; display: block; }
.lang__cur { letter-spacing: .06em; }
.lang__chev { font-size: .7rem; color: var(--muted); transition: transform .2s; }
.lang.open .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  list-style: none; min-width: 210px;
  background: rgba(20,25,33,.97); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px; padding: 7px;
  box-shadow: 0 20px 44px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.lang.open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; text-align: left;
  color: #cfd6e0; font-family: var(--f-body); font-size: .9rem;
  padding: 10px 12px; border-radius: 9px; transition: background .15s, color .15s;
}
.lang__menu button:hover { background: rgba(255,255,255,.06); color: #fff; }
.lang__menu button b { font-family: var(--f-display); font-weight: 700; font-size: .78rem;
  color: var(--blue-lt); min-width: 26px; }
.lang__menu button[aria-current="true"] { background: rgba(93,130,224,.14); color: #fff; }
.lang__menu button[aria-current="true"] b { color: #fff; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px;
  transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0 0 auto 0; z-index: 45;
  background: rgba(14,17,22,.97); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 6px;
  padding: 92px 28px 28px;
  transform: translateY(-110%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--f-display); font-size: 1.6rem; padding: 12px 0;
  border-bottom: 1px solid var(--line); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 168px clamp(18px,5vw,56px) 90px;
  max-width: var(--maxw); margin: 0 auto; z-index: 1; }
.hero__bg {
  position: absolute; inset: -10% -20% auto; height: 120%;
  background:
    radial-gradient(60% 60% at 18% 12%, rgba(44,75,155,.32), transparent 60%),
    radial-gradient(50% 50% at 90% 0%, rgba(225,37,27,.24), transparent 60%);
  filter: blur(20px); z-index: -1; pointer-events: none;
}

.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.02);
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 700;
  margin: 28px 0 22px; max-width: 16ch;
}
.grad {
  background: linear-gradient(100deg, var(--red), #ff6a4d 55%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--blue-lt); }

.hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #c4ccd8;
  max-width: 56ch; margin-bottom: 36px; }
.hero__lead strong { color: #fff; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: 100px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn--sm { padding: 11px 22px; font-size: .9rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { transform: translateY(-3px); background: var(--red-dark);
  box-shadow: 0 14px 30px rgba(225,37,27,.4); }
.btn--ghost { border: 1px solid var(--line); color: #e7ebf1; }
.btn--ghost:hover { transform: translateY(-3px); border-color: #fff; background: rgba(255,255,255,.05); }

.hero__stats { display: flex; gap: clamp(24px,5vw,64px); margin-top: 58px; flex-wrap: wrap; }
.hero__stats dt { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; color: #fff; }
.hero__stats dd { font-size: .9rem; color: var(--muted); max-width: 17ch; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; border-block: 1px solid var(--line);
  background: var(--ink-2); padding: 18px 0; position: relative; z-index: 1; }
.marquee__track { display: flex; gap: 28px; white-space: nowrap; width: max-content;
  animation: scroll 34s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500;
  color: #5e6a7a; }
.marquee__track span:nth-child(odd) { color: #cfd6e0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px,10vw,120px) clamp(18px,5vw,56px); }
.section--alt { max-width: none; background: var(--ink-2); border-block: 1px solid var(--line); }
.section--alt > * { max-width: var(--maxw); margin-inline: auto; }

.section__head { margin-bottom: 56px; max-width: 62ch; }
.section__num { font-family: var(--f-display); font-size: .85rem; letter-spacing: .3em;
  color: var(--red); font-weight: 600; }
.section__head h2 { font-size: clamp(2rem,4.5vw,3.2rem); margin: 14px 0 14px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

/* ============================================================
   APPS
   ============================================================ */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 26px; }

.app {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 28px; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.app::before { content:""; position:absolute; inset:0 0 auto 0; height:3px;
  background: linear-gradient(90deg, var(--red), var(--blue)); transform: scaleX(0);
  transform-origin: left; transition: transform .4s; }
.app:hover { transform: translateY(-6px); border-color: rgba(93,130,224,.45);
  box-shadow: 0 24px 50px rgba(0,0,0,.42); }
.app:hover::before { transform: scaleX(1); }

.app__device { margin-bottom: 26px; }
.app__body { display: flex; flex-direction: column; align-items: center; }

.app__badge {
  font-family: var(--f-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.app__badge--live { color: #ffd2cd; background: rgba(225,37,27,.16); border: 1px solid rgba(225,37,27,.4); }
.app__badge--soon { color: #c9d6ff; background: rgba(44,75,155,.20); border: 1px solid rgba(93,130,224,.45); }
.app__badge--dev  { color: #bfeed8; background: rgba(47,158,107,.16); border: 1px solid rgba(47,158,107,.4); }

.app h3 { font-size: 1.5rem; margin-bottom: 4px; }
.app__sub { color: var(--blue-lt); font-weight: 600; font-size: .9rem;
  font-family: var(--f-display); margin-bottom: 14px; }
.app__body > p { color: #b9c2cf; font-size: .96rem; margin-bottom: 16px; }

.app__feats { list-style: none; display: grid; gap: 8px; text-align: left;
  width: 100%; margin-bottom: 22px; }
.app__feats li { position: relative; padding-left: 24px; color: #cdd4de; font-size: .9rem; }
.app__feats li::before { content:"✓"; position:absolute; left:0; top:0;
  color: var(--green); font-weight: 700; }

.app__cta-disabled { cursor: default; opacity: .55; }
.app__cta-disabled:hover { transform: none; border-color: var(--line); background: none; }

/* Google-Play-Badge (selbst gehostet, offizielles Logo) */
.gplay {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; border: 1px solid #a6a6a6; border-radius: 9px;
  padding: 8px 16px 8px 14px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.gplay:hover { transform: translateY(-3px); background: #0b0b0b; border-color: #cfcfcf;
  box-shadow: 0 12px 26px rgba(0,0,0,.5); }
.gplay:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.gplay__logo { width: 25px; height: 28px; display: block; flex: none; }
.gplay__txt { display: flex; flex-direction: column; line-height: 1.05; color: #fff; text-align: left; }
.gplay__top { font-family: var(--f-body); font-size: .6rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; }
.gplay__brand { font-family: var(--f-body); font-size: 1.3rem; font-weight: 600;
  letter-spacing: .01em; margin-top: 2px; }

.app--soon .phone__screen { filter: saturate(.96); }

.apps__note { text-align: center; color: var(--muted); margin-top: 46px; font-size: 1rem;
  font-family: var(--f-display); }

/* ---------- Phone-Mockup ---------- */
.phone {
  width: 200px; aspect-ratio: 9 / 18.5; border-radius: 30px;
  background: #0a0b0d; padding: 9px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 48px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.04);
  position: relative;
}
.phone::before { /* Notch */
  content:""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 6px; border-radius: 100px; background: rgba(255,255,255,.18); z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}

.scr-top { display: flex; align-items: center; gap: 8px; padding: 22px 14px 12px; }
.scr-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--red); color: #fff;
  font-family: var(--f-body); font-weight: 700; font-size: 17px;
  display: grid; place-items: center; flex: none;
}
.scr-mark--blue { background: var(--blue); }
.scr-mark--green { background: var(--green); }
.scr-title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; }

/* Azbuka – cream */
.scr-azbuka { background: #F7F3EC; color: #1d2330; }
.scr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 4px 14px 14px; flex: 1; align-content: start; }
.scr-grid i {
  aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--f-body); font-weight: 700; font-size: 17px;
  color: #fff; background: var(--c, var(--red));
  box-shadow: 0 3px 8px rgba(0,0,0,.14); font-style: normal;
}
.scr-foot { padding: 0 14px 16px; }
.scr-foot span { display: block; height: 26px; border-radius: 100px;
  background: rgba(29,35,48,.10); }

/* Abeceda – blau, gesperrt */
.scr-abeceda { background: linear-gradient(170deg, #3a5bb8, #1f3a82); color: #fff; }
.scr-top--light { color: #fff; }
.scr-grid--latin i { background: rgba(255,255,255,.14); color: var(--c, #fff);
  box-shadow: none; backdrop-filter: blur(2px); }
.scr-lock {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(13,18,38,.42); backdrop-filter: blur(1px);
}
.scr-lock span {
  font-family: var(--f-display); font-weight: 700; font-size: .9rem; color: #fff;
  letter-spacing: .04em; padding: 8px 16px; border-radius: 100px;
  background: rgba(13,18,38,.7); border: 1px solid rgba(255,255,255,.35);
}
.scr-lock span::before { content:"🔒  "; }

/* Reci – Themen */
.scr-reci { background: #11161f; color: #eef1f5; }
.scr-themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px;
  padding: 4px 14px 14px; flex: 1; align-content: start; }
.scr-themes i {
  border-radius: 12px; display: grid; place-items: center; font-style: normal;
  font-size: 22px; padding: 10px 0;
  background: color-mix(in srgb, var(--c) 22%, #11161f);
  border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
}

/* ============================================================
   LERNWELT / LERNPFAD
   ============================================================ */
.path { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(232px,1fr));
  gap: 20px; counter-reset: stage; }
.path__stage {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; position: relative; transition: border-color .3s, transform .3s;
}
.path__stage:hover { transform: translateY(-5px); border-color: rgba(93,130,224,.5); }
.path__icon { font-size: 2.1rem; display: block; margin-bottom: 14px; line-height: 1; }
.path__age { font-family: var(--f-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-lt); }
.path__stage h3 { font-size: 1.3rem; margin: 8px 0 10px; }
.path__stage p { color: #b9c2cf; font-size: .95rem; margin-bottom: 18px; }
.path__tag { display: inline-block; font-family: var(--f-display); font-size: .76rem;
  font-weight: 600; padding: 5px 12px; border-radius: 100px; }
.path__tag--live { color: #ffd2cd; background: rgba(225,37,27,.14); border: 1px solid rgba(225,37,27,.36); }
.path__tag--soon { color: #c9d6ff; background: rgba(44,75,155,.18); border: 1px solid rgba(93,130,224,.42); }
.path__tag--plan { color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); }

/* ============================================================
   MISSION
   ============================================================ */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mission__text h2 { font-size: clamp(2rem,4.5vw,3.2rem); margin: 14px 0 22px; }
.mission__text p { color: #c4ccd8; margin-bottom: 18px; font-size: 1.06rem; }
.mission__text strong { color: #fff; }
.mission__text .btn { margin-top: 12px; }

.mission__pillars { list-style: none; display: grid; gap: 16px; }
.mission__pillars li {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; display: grid; grid-template-columns: auto 1fr;
  column-gap: 18px; row-gap: 4px; align-items: start;
  transition: transform .3s, border-color .3s;
}
.mission__pillars li:hover { transform: translateX(4px); border-color: rgba(93,130,224,.4); }
.pillar__ico { font-size: 1.7rem; grid-row: 1 / 3; line-height: 1; }
.mission__pillars h3 { font-size: 1.15rem; }
.mission__pillars p { color: #b9c2cf; font-size: .94rem; }

/* ============================================================
   VISION / ROADMAP
   ============================================================ */
.road { list-style: none; position: relative; display: grid; gap: 6px;
  padding-left: 8px; }
.road::before { content:""; position: absolute; left: 15px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(180deg, var(--red), var(--blue), var(--line)); }
.road__step { position: relative; padding: 14px 0 26px 46px; }
.road__dot { position: absolute; left: 8px; top: 16px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--ink-2); border: 2px solid var(--muted); z-index: 1; }
.road__step--done .road__dot { background: var(--red); border-color: var(--red);
  box-shadow: 0 0 0 5px rgba(225,37,27,.18); }
.road__step--next .road__dot { background: var(--blue-lt); border-color: var(--blue-lt);
  box-shadow: 0 0 0 5px rgba(93,130,224,.18); }
.road__phase { font-family: var(--f-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-lt); }
.road__step h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.road__step p { color: #b9c2cf; font-size: 1rem; max-width: 60ch; }
.road__step em { color: #eef1f5; font-style: italic; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { text-align: center; }
.contact__inner { max-width: 640px; margin: 0 auto; }
.contact__inner h2 { font-size: clamp(2.2rem,5vw,3.6rem); margin: 18px 0; }
.contact__inner p { color: #c4ccd8; font-size: 1.1rem; margin-bottom: 32px; }

.cform { max-width: 640px; margin: 44px auto 0; text-align: left; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__field { display: flex; flex-direction: column; margin-bottom: 18px; }
.cform__field label { font-family: var(--f-display); font-weight: 500; font-size: .92rem;
  margin-bottom: 8px; color: #e7ebf1; }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }

.cform input[type="text"],
.cform input[type="email"],
.cform textarea {
  width: 100%; font-family: var(--f-body); font-size: 1rem; color: #fff;
  background: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.cform textarea { resize: vertical; min-height: 120px; }
.cform input:focus, .cform textarea:focus {
  outline: none; border-color: var(--blue-lt);
  box-shadow: 0 0 0 3px rgba(93,130,224,.25);
}
.cform input[aria-invalid="true"],
.cform textarea[aria-invalid="true"] { border-color: #ff6a5e; }

.cform__error { color: #ff8a80; font-size: .85rem; margin-top: 6px; min-height: 1em; }

.cform__consent { display: grid; grid-template-columns: auto 1fr; column-gap: 12px;
  align-items: start; }
.cform__consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red);
  flex: none; cursor: pointer; }
.cform__consent label { font-family: var(--f-body); font-weight: 400; font-size: .92rem;
  color: #c4ccd8; margin-bottom: 0; line-height: 1.5; }
.cform__consent a { color: #9db4ff; text-decoration: underline; }
.cform__consent .cform__error { grid-column: 2; }

.cform__submit { width: 100%; margin-top: 6px; }

.cform__status { text-align: center; margin-top: 16px; font-weight: 500; min-height: 1.4em; }
.cform__status.is-success { color: #6ee7a0; }
.cform__status.is-error { color: #ff8a80; }

.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { text-align: center; padding: 56px 24px 48px; border-top: 1px solid var(--line);
  background: var(--ink-2); }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__parent { color: #c4ccd8; font-size: .98rem; }
.footer__parent strong { color: #fff; }
.footer__legal { margin: 18px 0 6px; display: flex; gap: 12px; justify-content: center;
  align-items: center; font-size: .92rem; }
.footer__legal a { color: #cfd6e0; transition: color .2s; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.footer__copy { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; padding: 140px clamp(18px,5vw,56px) 90px;
  position: relative; z-index: 1; }
.legal a.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: .92rem; margin-bottom: 28px; transition: color .2s; }
.legal a.back:hover { color: #fff; }
.legal h1 { font-size: clamp(2rem,5vw,3rem); margin-bottom: 8px; }
.legal .lead { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; color: #fff; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; color: #eef1f5; }
.legal p, .legal li { color: #c4ccd8; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a:not(.back) { color: #9db4ff; text-decoration: underline; }
.legal .ph { color: var(--red); font-weight: 600;
  background: rgba(225,37,27,.10); padding: 1px 6px; border-radius: 5px; }
.legal .note { border-left: 3px solid var(--blue-lt); background: rgba(44,75,155,.10);
  padding: 16px 18px; border-radius: 0 10px 10px 0; margin: 28px 0; font-size: .92rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .mission { grid-template-columns: 1fr; gap: 36px; }
  .cform__row { grid-template-columns: 1fr; gap: 0; }
}
