/* =========================================================
   TerraWorlds – terra-worlds.net
   Dark theme, keine externen Ressourcen (DSGVO-freundlich)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:          #070A10;
  --bg-2:        #0B0F18;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-2:   rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.09);
  --border-str:  rgba(255, 255, 255, 0.16);

  --text:        #E9EEF7;
  --muted:       #94A2B8;
  --faint:       #6B7A90;

  --brand:       #3D8BFF;
  --brand-2:     #5AC8FA;
  --brand-3:     #7B61FF;
  --gold:        #FFC02E;
  --green:       #34D399;

  --grad:        linear-gradient(105deg, var(--brand-2) 0%, var(--brand) 45%, var(--brand-3) 100%);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --wrap: 1160px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.75rem); letter-spacing: -0.028em; }
h3 { font-size: 1.14rem; letter-spacing: -0.012em; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 660px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-sub { color: var(--muted); font-size: 1.06rem; margin: 0; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2); margin: 0 0 1rem;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, #101A2E 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 45%, var(--bg) 100%);
}
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 620px at 50% 8%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 620px at 50% 8%, #000 0%, transparent 78%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .40; }
.blob-1 { width: 520px; height: 520px; background: #2E6BFF; top: -140px; left: -80px; }
.blob-2 { width: 480px; height: 480px; background: #6E4BFF; top: 40px;  right: -120px; opacity: .32; }
.blob-3 { width: 620px; height: 420px; background: #0E7C8C; bottom: -160px; left: 28%; opacity: .20; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem;
  font-size: .96rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad); color: #05080F;
  box-shadow: 0 12px 32px -12px rgba(61, 139, 255, .85);
  font-weight: 680;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(61, 139, 255, .95); }
.btn-primary:active { transform: translateY(0); }
.btn-primary[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-str); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 10, 16, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text {
  font-size: 1.22rem; font-weight: 700; letter-spacing: -0.028em;
}

.nav { display: flex; align-items: center; gap: .35rem; }
/* Die Textlinks der Navigation – der CTA-Button ist bewusst ausgenommen,
   sonst würde sein Verlauf beim Hover vom Link-Hintergrund überschrieben. */
.nav > a:not(.nav-cta) {
  padding: .5rem .8rem; font-size: .94rem; font-weight: 520;
  color: var(--muted); text-decoration: none; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav > a:not(.nav-cta):hover { color: var(--text); background: var(--surface); }
.nav .nav-cta { color: #05080F; margin-left: .5rem; text-decoration: none; }
.nav .nav-cta:hover { color: #05080F; }

/* Navigation auf den Rechtstext-Seiten: immer schlicht und horizontal */
.nav.nav-legal {
  position: static; flex-direction: row; align-items: center;
  padding: 0; gap: .2rem;
  background: none; border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transform: none; opacity: 1; pointer-events: auto;
}
.nav.nav-legal > a { padding: .5rem .8rem; font-size: .94rem; }

.burger {
  display: none; width: 42px; height: 42px; padding: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; position: relative;
}
.burger span {
  display: block; width: 17px; height: 1.8px; background: var(--text);
  margin: 3.6px auto; border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.4px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    padding: .8rem 1.3rem 1.4rem;
    background: rgba(9, 13, 21, .97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a:not(.nav-cta) { padding: .85rem .6rem; font-size: 1.02rem; }
  .nav .nav-cta { margin: .7rem 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.hero-stats span { font-size: .84rem; color: var(--faint); }
.hero-stats .star { color: var(--gold); font-size: 1.15rem; margin-left: .12em; }

/* Hero visual */
.hero-visual { position: relative; min-height: 620px; display: flex; justify-content: center; align-items: center; }
.hero-visual .glow {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,139,255,.42), transparent 62%);
  filter: blur(30px);
}
.hero-visual .shot {
  position: absolute; width: 56%; max-width: 266px;
  border-radius: 26px; border: 1px solid var(--border-str);
  box-shadow: var(--shadow);
  animation: floaty 7s ease-in-out infinite;
}
.shot-back {
  transform: translate(-32%, -4%) rotate(-8deg) scale(.86);
  opacity: .78; filter: saturate(.85);
  animation-delay: -3.4s;
}
.shot-front { transform: translate(14%, 4%) rotate(5deg); z-index: 2; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem;
  background: rgba(14, 19, 30, .82);
  border: 1px solid var(--border-str); border-radius: 14px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px -16px rgba(0,0,0,.9);
  font-size: .84rem;
  animation: floaty 8.5s ease-in-out infinite;
}
.float-card-1 { top: 14%; left: -2%; flex-direction: column; align-items: flex-start; gap: .1rem; animation-delay: -1.8s; }
.float-card-1 .fc-label { color: var(--faint); font-size: .74rem; }
.float-card-1 .fc-value { font-weight: 700; font-size: 1.02rem; }
.float-card-1 .up { color: var(--green); }

.float-card-2 {
  bottom: 7%; right: -5%;
  align-items: flex-start; gap: .8rem;
  padding: .95rem 1.15rem;
  max-width: 306px;
  animation-delay: -5s;
}
.float-card-2 .fc-ico {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(90,200,250,.22), rgba(123,97,255,.18));
  border: 1px solid var(--border);
  color: var(--brand-2);
}
.float-card-2 .fc-ico svg { width: 21px; height: 21px; }
.float-card-2 .fc-text { display: grid; gap: .18rem; }
.float-card-2 .fc-text strong { font-size: .95rem; font-weight: 650; letter-spacing: -0.01em; }
.float-card-2 .fc-text span { color: var(--muted); font-size: .81rem; line-height: 1.38; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { min-height: 540px; margin-top: 1rem; order: 2; }
  .hero-visual .shot { max-width: 224px; }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; max-width: min(280px, 78vw); }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1.4rem; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid var(--border); background: rgba(255,255,255,.018); }
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.15rem 0;
}
.trust-item { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; }
.trust-item .ico { color: var(--brand-2); }
@media (max-width: 700px) { .trust-inner { justify-content: flex-start; } }

/* ---------- Cards (generic) ---------- */
.card {
  position: relative;
  padding: 1.7rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(90,200,250,.09), transparent 70%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-str); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 1.1rem;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(90,200,250,.20), rgba(123,97,255,.16));
  border: 1px solid var(--border);
  color: var(--brand-2);
}
.card-ico svg { width: 22px; height: 22px; }

.feature-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}

/* ---------- App highlight ---------- */
.app-card {
  display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: linear-gradient(150deg, rgba(61,139,255,.10), rgba(123,97,255,.05) 55%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.app-card-media { position: relative; }
.app-card-media::after {
  content: ""; position: absolute; inset: 8%;
  background: radial-gradient(circle, rgba(61,139,255,.55), transparent 65%);
  filter: blur(34px); z-index: -1;
}
.app-card-media img {
  width: 100%; border-radius: 26%;
  border: 1px solid var(--border-str);
  box-shadow: 0 22px 50px -18px rgba(0,0,0,.85);
}
.app-card-body h2 { margin-bottom: .7rem; }
.app-card-body > p { color: var(--muted); }

.check-list { display: grid; gap: .55rem; margin: 1.4rem 0 1.8rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text); font-size: .97rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg); border-radius: 1px;
}

.app-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.app-card-actions .meta { color: var(--faint); font-size: .86rem; }

@media (max-width: 760px) {
  .app-card { grid-template-columns: 1fr; text-align: left; }
  .app-card-media { width: 140px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 1rem;
  border-radius: 50%; font-weight: 700; font-size: .95rem;
  background: var(--grad); color: #05080F;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem max(1.3rem, calc((100vw - var(--wrap)) / 2)) 1.6rem;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gshot { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.gshot img {
  width: clamp(196px, 40vw, 240px);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px -22px rgba(0,0,0,.9);
  transition: transform .3s ease, border-color .3s ease;
}
.gshot img:hover { transform: translateY(-6px); border-color: var(--border-str); }

.gallery-nav { display: flex; justify-content: center; gap: .6rem; margin-top: .4rem; }
.gbtn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text); cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.gbtn:hover { background: var(--surface-2); border-color: var(--border-str); }
.gbtn svg { width: 20px; height: 20px; }

/* ---------- Premium ---------- */
.premium {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255,192,46,.10), transparent 70%),
    var(--surface);
}
.premium-copy > p { color: var(--muted); max-width: 46em; }
.price-tag {
  display: grid; justify-items: center; gap: .15rem;
  padding: 1.8rem 2.4rem;
  border: 1px solid var(--border-str); border-radius: var(--r-lg);
  background: rgba(255,192,46,.06);
  text-align: center;
}
.price-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 620; }
.price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
.price-note { font-size: .85rem; color: var(--faint); }
@media (max-width: 760px) { .premium { grid-template-columns: 1fr; } .price-tag { justify-self: start; } }

/* ---------- Mini app grid ---------- */
.mini-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.mini {
  display: grid; justify-items: center; gap: .1rem; text-align: center;
  padding: 1.3rem 1rem;
  text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.mini:hover { transform: translateY(-3px); border-color: var(--border-str); background: var(--surface-2); }
.mini img { width: 56px; border-radius: 14px; margin-bottom: .7rem; border: 1px solid var(--border); }
.mini-name { font-size: .92rem; font-weight: 600; }
.mini-cat { font-size: .78rem; color: var(--faint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-intro > p { color: var(--muted); }
.contact-list { display: grid; gap: .9rem; margin-top: 1.8rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .95rem; }
.contact-list .ico { color: var(--brand-2); }
.contact-list a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-str); }
.contact-list a:hover { color: var(--brand-2); }

.contact-form {
  display: grid; gap: 1.05rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: .8rem .95rem;
  font: inherit; font-size: .96rem;
  color: var(--text);
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A2B8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  padding-right: 2.6rem;
}
select option { background: #0E1420; color: var(--text); }
::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(0, 0, 0, .42);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .18);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #F87171; }

/* Honeypot – für Nutzer unsichtbar, für Bots sichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.captcha-row { display: flex; align-items: center; gap: .7rem; }
.captcha-q {
  flex: none; display: inline-flex; align-items: center;
  padding: .8rem 1rem;
  font-variant-numeric: tabular-nums; font-weight: 600;
  background: rgba(90, 200, 250, .09);
  border: 1px solid var(--border); border-radius: 12px;
  white-space: nowrap; min-width: 118px; justify-content: center;
}
.captcha-row input { max-width: 110px; text-align: center; }
.captcha-reload {
  width: 42px; height: 42px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--muted); cursor: pointer; transition: color .2s, background .2s;
}
.captcha-reload:hover { color: var(--text); background: var(--surface-2); }
.captcha-reload svg { width: 17px; height: 17px; }

.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.checkbox input { margin-top: .22em; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.checkbox a { color: var(--brand-2); }

.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.ok    { color: var(--green); }
.form-status.error { color: #F87171; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

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

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 3rem; margin-top: 2rem; background: rgba(0,0,0,.25); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; }
.footer-note { color: var(--faint); font-size: .88rem; margin: .8rem 0 0; max-width: 30em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-content: start; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  padding: 1.3rem 0 2rem; border-top: 1px solid var(--border);
  color: var(--faint); font-size: .82rem;
}
.footer-legal { color: #566173; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================
   Rechtstexte (impressum.html / datenschutz.html)
   ========================================================= */
.legal { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem); }
.legal-inner { width: min(100% - 2.6rem, 800px); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); margin-bottom: 2rem; }
.legal h2 {
  font-size: 1.35rem; margin: 2.6rem 0 .8rem; padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.03rem; margin: 1.6rem 0 .4rem; color: var(--brand-2); }
.legal p, .legal li { color: var(--muted); font-size: .97rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--brand-2); text-decoration: none; border-bottom: 1px solid rgba(90,200,250,.3); overflow-wrap: anywhere; }
.legal a:hover { border-bottom-color: var(--brand-2); }
.legal ul { list-style: disc; padding-left: 1.3rem; margin: .6rem 0 1.2rem; display: grid; gap: .35rem; }
.legal .box {
  padding: 1.3rem 1.5rem; margin: 1.2rem 0 2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
}
.legal .box p:last-child { margin-bottom: 0; }
.back-link {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--muted); text-decoration: none; font-size: .92rem; margin-bottom: 1.6rem;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 16px; height: 16px; }
.legal-updated { font-size: .85rem; color: var(--faint); margin-top: 3rem; }
