/* ============================================================
   ĆERANIĆ CREATIVE - Onepager
   Farbwelt abgeleitet aus dem Mutterkonzern-Logo
   ============================================================ */

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

  --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,.18), rgba(44,75,155,.10) 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 - springt per Tastatur direkt zum Inhalt */
.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); }

/* Sichtbarer Fokus-Indikator für Tastatur-Bedienung */
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; }

/* Nur für Screenreader sichtbar */
.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; }
.brand__mark { width: 42px; height: 42px; display: block; flex: none; }
.brand__mark svg { width: 100%; height: 100%; display: block; border-radius: 11px;
  box-shadow: 0 6px 18px rgba(225,37,27,.35); }
.brand__mark--sm { width: 36px; height: 36px; }

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .04em; color: #fff;
}
.brand__text em {
  font-style: normal; font-size: .68rem; letter-spacing: .42em;
  text-transform: uppercase; color: var(--red); padding-left: 2px; margin-top: 3px;
}

.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); }

.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,.30), transparent 60%),
    radial-gradient(50% 50% at 90% 0%, rgba(225,37,27,.26), 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: 14ch;
}
.grad {
  background: linear-gradient(100deg, var(--red), #ff6a4d 60%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--red); }

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

.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--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: 16ch; }

/* ============================================================
   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 32s 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: 60ch; }
.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; }

/* ---------- Leistungen cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.card::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; }
.card:hover { transform: translateY(-6px); border-color: rgba(225,37,27,.4);
  box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(225,37,27,.12); color: var(--red); margin-bottom: 22px; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: #b9c2cf; margin-bottom: 18px; }
.card ul { list-style: none; display: grid; gap: 8px; }
.card li { position: relative; padding-left: 22px; color: #cdd4de; font-size: .95rem; }
.card li::before { content:""; position:absolute; left:0; top:.55em; width:8px; height:8px;
  border-radius:50%; background: var(--red); }

/* ============================================================
   REFERENZEN
   ============================================================ */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 26px; }
.ref { display: block; transition: transform .3s; }
.ref:hover { transform: translateY(-8px); }

.ref__frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.ref__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e7e9ee; }
.ref__bar span { width: 10px; height: 10px; border-radius: 50%; background: #c4c8d0; flex: none; }
.ref__bar span:nth-child(1){ background:#ff5f57;} .ref__bar span:nth-child(2){ background:#febc2e;}
.ref__bar span:nth-child(3){ background:#28c840;}
.ref__url { flex: 1; margin-left: 8px; background: #fff; border-radius: 6px;
  padding: 3px 10px; font-family: var(--f-body); font-size: 10px; color: #8a94a3;
  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref__shot { aspect-ratio: 16/10; padding: 18px; position: relative; overflow: hidden; }

/* Echte Screenshots - volle Breite, natürliches 16:10 (komplette Aufnahme, kein Beschnitt).
   height:auto überschreibt das HTML-Attribut height="800", sonst entstünde ein Hochformat-Ausschnitt. */
.ref__img { display: block; width: 100%; height: auto; background: #f0f1f4; }

/* gemeinsame Bausteine */
.rs-hero { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.rs-h { height: 16px; width: 60%; border-radius: 6px; background: currentColor; opacity:.85; }
.rs-h--light { background: #fff; opacity: .9; }
.rs-p { height: 8px; width: 85%; border-radius: 5px; background: currentColor; opacity:.35; }
.rs-btn { height: 22px; width: 90px; border-radius: 100px; margin-top: 4px; }
.rs-topnav { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rs-topnav i { width: 28px; height: 11px; border-radius: 4px; background: currentColor; opacity:.85; }
.rs-topnav b { width: 18px; height: 6px; border-radius: 3px; background: currentColor; opacity:.3; display:block; }
.rs-topnav b:first-of-type { margin-left: auto; }

/* 1) Augenarzt - klinisch, hell, blau */
.ref__shot--eye { background: linear-gradient(160deg,#f3f9ff,#e1edfb); color: #1b6fb3;
  display: flex; flex-direction: column; gap: 14px; }
.ref__shot--eye .rs-btn { background: #1b6fb3; }
.rs-eye { position: absolute; right: -18px; top: 30px; width: 118px; height: 118px;
  border-radius: 50%; border: 13px solid rgba(27,111,179,.16); }
.rs-eye::after { content:""; position: absolute; inset: 26px; border-radius: 50%;
  background: rgba(27,111,179,.22); }

/* 2) Hotel Tara / Dajević - Foto-geführt, Natur + Navy, warmer Akzent */
.ref__shot--hotel { padding: 0; display: flex; flex-direction: column; background: #0f1c2e; }
.rs-photo { flex: 1; padding: 16px; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 9px;
  background: linear-gradient(165deg,#3f7d63,#1b3a5c 72%); }
.ref__shot--hotel .rs-btn { background: #d8a24a; width: 78px; }
.ref__shot--hotel .rs-cards { margin: 0; padding: 11px 14px 14px; background: #0f1c2e; }
.ref__shot--hotel .rs-cards i { height: 34px; background: rgba(255,255,255,.12); }
.rs-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }

/* 3) Figuroo - Shop, weiß-minimal, bunte Produkt-Kacheln */
.ref__shot--shop { background: #ffffff; color: #1a1a1a;
  display: flex; flex-direction: column; gap: 12px; }
.rs-topnav--light { color: #1a1a1a; }
.rs-cart { width: 15px; height: 15px; border-radius: 4px; border: 2px solid currentColor;
  margin-left: auto; opacity: .65; }
.rs-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; flex: 1; }
.rs-products i { border-radius: 8px; background: #f0f1f4; }
.rs-products i:nth-child(1){ background: linear-gradient(160deg,#ffe1c2,#ffb877); }
.rs-products i:nth-child(2){ background: linear-gradient(160deg,#c9e4ff,#7fb5ff); }
.rs-products i:nth-child(3){ background: linear-gradient(160deg,#d9f3df,#86d6a0); }

/* 4) Ethikkommission - institutionell, Blau, Dokument + Prüfsiegel */
.ref__shot--ethics { background: linear-gradient(160deg,#f4f7fc,#e5edf8); color: var(--blue);
  display: flex; flex-direction: column; gap: 14px; }
.ref__shot--ethics .rs-btn { background: var(--blue); }
.rs-doc { position: absolute; right: 16px; top: 40px; width: 76px; height: 94px;
  background: #fff; border-radius: 8px; box-shadow: 0 8px 18px rgba(44,75,155,.18);
  padding: 13px 11px; display: flex; flex-direction: column; gap: 7px; }
.rs-doc i { height: 5px; border-radius: 3px; background: rgba(44,75,155,.22); }
.rs-doc i:nth-child(1){ width: 75%; } .rs-doc i:nth-child(3){ width: 60%; }
.rs-doc::after { content:""; position: absolute; right: -8px; bottom: -8px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 4px 10px rgba(44,75,155,.4); }

/* 5) Restaurant - dunkel-elegant, Gold */
.ref__shot--resto { background: linear-gradient(160deg,#241a14,#15100c); color: #e0b86a;
  display: flex; flex-direction: column; gap: 14px; }
.ref__shot--resto .rs-btn { background: #c9962f; width: 84px; }
.rs-plate { position: absolute; right: -22px; top: 32px; width: 122px; height: 122px;
  border-radius: 50%; border: 10px solid rgba(224,184,106,.22); }
.rs-plate::after { content:""; position: absolute; inset: 22px; border-radius: 50%;
  border: 6px solid rgba(224,184,106,.16); }

/* 5) Steuerberaterin - seriös, klar, Teal-Grün */
.ref__shot--tax { background: linear-gradient(160deg,#eef4f4,#dce9ea); color: #126e63;
  display: flex; flex-direction: column; gap: 14px; }
.ref__shot--tax .rs-btn { background: #126e63; }
.rs-chart { position: absolute; right: 16px; bottom: 16px; display: flex;
  align-items: flex-end; gap: 5px; height: 56px; }
.rs-chart i { width: 11px; border-radius: 3px 3px 0 0; background: currentColor; opacity:.4; }
.rs-chart i:nth-child(1){ height: 38%; } .rs-chart i:nth-child(2){ height: 60%; }
.rs-chart i:nth-child(3){ height: 82%; } .rs-chart i:nth-child(4){ height: 100%; }

/* „in Vorbereitung"-Karten - sichtbar, aber nicht klickbar */
.ref--soon { cursor: default; }
.ref--soon:hover { transform: translateY(-4px); }
.ref--soon .ref__frame { opacity: .9; }
.ref__soon { font-family: var(--f-body); font-size: .62rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; vertical-align: middle;
  color: var(--red); background: rgba(225,37,27,.12); border: 1px solid rgba(225,37,27,.3);
  padding: 3px 8px; border-radius: 100px; margin-left: 8px; }

.ref__meta { display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 4px 0; gap: 12px; }
.ref__meta h3 { font-size: 1.2rem; }
.ref__cat { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.refs__note { text-align: center; color: var(--muted); margin-top: 44px; font-size: .95rem; }

/* ============================================================
   PROZESS
   ============================================================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; position: relative; transition: border-color .3s, transform .3s; }
.step:hover { border-color: rgba(44,75,155,.5); transform: translateY(-5px); }
.step__no { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.25); display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: #b9c2cf; font-size: .96rem; }

/* ============================================================
   ÜBER MICH
   ============================================================ */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about__text h2 { font-size: clamp(2rem,4.5vw,3.2rem); margin: 14px 0 22px; }
.about__text p { color: #c4ccd8; margin-bottom: 18px; font-size: 1.06rem; }
.about__text .btn { margin-top: 12px; }

.about__visual { position: relative; height: 360px; }
.about__card { position: absolute; border-radius: var(--r); display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: #fff;
  box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.about__card--web   { inset: 0 38% 42% 0;  background: linear-gradient(135deg,var(--blue),var(--blue-2)); animation: float 6s ease-in-out infinite; }
.about__card--print { inset: 30% 0 18% 42%; background: linear-gradient(135deg,var(--red),var(--red-dark)); animation: float 6s ease-in-out infinite .8s; }
.about__card--ci    { inset: 64% 30% 0 14%; background: linear-gradient(135deg,#2b313d,#161b22); border: 1px solid var(--line); animation: float 6s ease-in-out infinite 1.6s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ============================================================
   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; }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Kontaktformular ---------- */
.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(--red);
  box-shadow: 0 0 0 3px rgba(225,37,27,.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; }

/* Consent-Checkbox */
.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; }

/* Honeypot - komplett versteckt, aber für Bots im DOM */
.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(--red); background: rgba(225,37,27,.06);
  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, .about__card { animation: none; }
  html { scroll-behavior: auto; }
}

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