/* Mietverwaltung Portal – Marketing-Website
   Reines CSS, keine externen Ressourcen. */

:root {
  --navy-950: #0c1829;
  --navy-900: #12223a;
  --navy-800: #1f3a5f;
  --navy-700: #2c4f7c;
  --navy-100: #e6ecf4;
  --gold: #ce9f47;
  --gold-600: #b4863a;
  --gold-text: #8a6420;
  --gold-50: #faf4e8;
  --gray-100: #ebecec;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #16233a;
  --muted: #4a5a70;
  --line: #dde3ea;
  --ok: #1f8a5b;
  --ok-bg: #e6f4ec;
  --warn: #9a6512;
  --warn-bg: #fdf1dc;
  --bad: #b8372f;
  --bad-bg: #fbe9e7;
  --info: #25558c;
  --info-bg: #e5eef8;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 34, 58, .06), 0 1px 3px rgba(18, 34, 58, .08);
  --shadow: 0 4px 12px rgba(18, 34, 58, .07), 0 12px 32px rgba(18, 34, 58, .08);
  --shadow-lg: 0 20px 50px rgba(6, 14, 28, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  --font: "Inter", "InterVariable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--navy-900); }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 750; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 720; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 680; }
p { margin: 0 0 1em; }

a { color: var(--navy-800); text-underline-offset: .18em; }
a:hover { color: var(--navy-700); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: .7em 1.35em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { font-size: 1.0625rem; padding: .85em 1.6em; min-height: 52px; }

.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 6px 18px rgba(206, 159, 71, .28); }
.btn-gold:hover { background: #dbb063; color: var(--navy-900); transform: translateY(-1px); }

.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }

.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

.btn-outline { border-color: var(--navy-800); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 34, 58, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .2s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(18, 34, 58, .9); backdrop-filter: saturate(140%) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(6, 14, 28, .28); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.brand img { height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: inline-block;
  padding: 8px 12px;
  color: #dfe6ef;
  text-decoration: none;
  font-weight: 550;
  font-size: .98rem;
  border-radius: 8px;
}
.site-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: var(--navy-900);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 32px rgba(6, 14, 28, .35);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { display: block; padding: 12px 8px; font-size: 1.05rem; }
  .nav-cta { flex-direction: column; }
  .nav-cta .btn { min-height: 48px; font-size: 1rem; }
  /* ohne JS bleibt das Menü erreichbar */
  html:not(.js) .site-nav { display: flex; position: static; box-shadow: none; padding-inline: 0; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .brand img { height: 27px; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-alt { background: var(--surface); }
.section-dark {
  background: radial-gradient(1200px 600px at 85% -10%, rgba(206, 159, 71, .12), transparent 60%), var(--navy-900);
  color: #d9e1ec;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section-dark .section-head p { color: #b9c5d6; }
.section-head .eyebrow { color: var(--gold-text); margin-bottom: 14px; }
.section-dark .section-head .eyebrow { color: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #d9e1ec;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(206, 159, 71, .16), transparent 62%),
    radial-gradient(800px 600px at -10% 110%, rgba(44, 79, 124, .55), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: #c9d4e2; max-width: 36em; }
.hero-lead strong { color: #fff; font-weight: 650; }

.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.hero .checks li { color: #eef2f7; font-weight: 520; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: .92rem; color: #9fb0c6; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Dashboard mockup ---------- */

.mock {
  position: relative;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}
.mock-window {
  background: #f4f6f9;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe3; }
.mock-bar .title { margin-left: 8px; font-weight: 650; color: var(--navy-900); font-size: 12.5px; }
.mock-bar .date { margin-left: auto; color: var(--muted); font-size: 12px; }
.mock-body { padding: 14px; display: grid; gap: 12px; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--line);
}
.kpi .label { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.kpi .value { font-size: 22px; font-weight: 750; color: var(--navy-900); letter-spacing: -.02em; margin-top: 2px; }
.kpi .sub { font-size: 11.5px; margin-top: 2px; }
.kpi.is-bad { border-top-color: var(--bad); }
.kpi.is-bad .sub { color: var(--bad); }
.kpi.is-ok { border-top-color: var(--ok); }
.kpi.is-ok .sub { color: var(--ok); }
.kpi.is-info { border-top-color: var(--gold); }
.kpi.is-info .sub { color: var(--muted); }

.card-mini {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.card-mini .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.card-mini .head .legend { margin-top: 0; }
.card-mini .head strong { color: var(--navy-900); font-size: 12.5px; }
.card-mini .head span { color: var(--muted); font-size: 11.5px; }

.heatmap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.heatmap i { display: block; aspect-ratio: 1.7 / 1; border-radius: 3px; background: #2f9e6b; }
.heatmap i.l { background: #e5b54d; }
.heatmap i.p { background: #e58a45; }
.heatmap i.o { background: #d2554b; }
.heatmap i.f { background: #e3e8ee; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }

.mock-chat {
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: min(300px, 78%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(6, 14, 28, .35);
  overflow: hidden;
  border: 1px solid var(--line);
}
.mock-chat .chat-head {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: var(--navy-900);
  color: #fff;
  font-weight: 650;
  font-size: 12.5px;
}
.mock-chat .chat-head .spark { width: 16px; height: 16px; color: var(--gold); }
.mock-chat .chat-body { padding: 10px 12px 12px; display: grid; gap: 8px; }

.bubble { padding: 8px 11px; border-radius: 12px; max-width: 92%; font-size: 12.5px; }
.bubble.user { justify-self: end; background: var(--navy-800); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { background: #eef2f7; color: var(--text); border-bottom-left-radius: 4px; }
.bubble-actions { display: flex; gap: 6px; margin-top: 8px; }
.bubble-actions span {
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 650;
  background: #fff; border: 1px solid var(--line); color: var(--navy-900);
}
.bubble-actions span.primary { background: var(--gold); border-color: var(--gold); }

@media (max-width: 960px) {
  .mock { max-width: 620px; margin-inline: auto; padding-bottom: 40px; }
  .mock-chat { right: 8px; bottom: 0; }
}
@media (max-width: 560px) {
  .mock { font-size: 12px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi:nth-child(3) { display: none; }
  .mock-bar .date { display: none; }
  .mock-chat { position: relative; right: auto; bottom: auto; width: 92%; margin: -18px 0 0 auto; }
  .mock { padding-bottom: 0; }
}

/* ---------- Audience cards ---------- */

.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.audience-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.audience-card.is-featured { background: linear-gradient(180deg, #fff, var(--gold-50)); border-color: #ecdcbc; }
.audience-card .icon-badge { margin-bottom: 20px; }
.audience-card h3 { margin-bottom: .3em; }
.audience-card .scale { color: var(--muted); margin-bottom: 22px; }
.audience-card ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.audience-card li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.audience-card li svg { width: 24px; height: 24px; margin-top: 2px; }
.audience-card li strong { display: block; color: var(--navy-900); }
.audience-card li span { color: var(--muted); font-size: 1rem; }
.audience-card .btn { margin-top: auto; align-self: flex-start; }

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

.icon-badge {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold);
  flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Stories (Vorher / Jetzt) ---------- */

.stories { display: grid; gap: clamp(56px, 8vw, 104px); }
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.story:nth-child(even) .story-visual { order: -1; }
.story-kicker { margin-bottom: 10px; }
.story h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-bottom: .7em; }

.ba { display: grid; gap: 12px; margin-bottom: 22px; }
.ba-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--radius);
}
.ba-row p { margin: 0; }
.ba-before { background: #f1f3f6; color: var(--muted); }
.ba-after { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ba-tag {
  display: inline-block;
  min-width: 64px;
  text-align: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 3px;
}
.ba-before .ba-tag { background: #dfe4ea; color: #4a5a70; }
.ba-after .ba-tag { background: var(--navy-900); color: var(--gold); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text); font-size: 1rem; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; }

.story-visual {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(206, 159, 71, .18), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.4;
}
.panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(6, 14, 28, .25);
  padding: 16px;
  color: var(--text);
}
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 700; color: var(--navy-900); }
.panel-title small { font-weight: 550; color: var(--muted); font-size: 12px; }

.tx { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-top: 1px solid #edf0f4; }
.tx:first-of-type { border-top: 0; }
.tx .t-name { font-weight: 600; color: var(--navy-900); }
.tx .t-meta { color: var(--muted); font-size: 12px; }
.tx .t-amt { font-weight: 700; color: var(--ok); text-align: right; font-variant-numeric: tabular-nums; }
.tx .badge { justify-self: end; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.neutral { background: #eef1f5; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: #e3e8ee; }
.timeline li { position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.timeline .node { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #cfd7e1; position: relative; z-index: 1; display: grid; place-items: center; }
.timeline .node.done { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold); }
.timeline .node.stop { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline .node svg { width: 13px; height: 13px; }
.timeline .muted { color: #8793a4; }
.timeline .muted s { text-decoration-thickness: 1.5px; }
.timeline .step { font-weight: 600; color: var(--navy-900); }
.timeline .step small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.stop-box {
  margin-top: 10px;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ok-bg);
  color: #145c3d;
  font-weight: 600;
}
.stop-box svg { width: 20px; height: 20px; flex: none; }

.nk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nk-table th, .nk-table td { padding: 8px 6px; text-align: left; border-top: 1px solid #edf0f4; }
.nk-table thead th { border-top: 0; color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.nk-table td.num, .nk-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.nk-result { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--gold-50); }
.nk-result strong { color: var(--navy-900); }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 8px 4px 0; border-bottom: 1px solid #e3e8ee; }
.bars .col { flex: 1; display: flex; gap: 3px; align-items: flex-end; height: 100%; }
.bars .col i { flex: 1; border-radius: 4px 4px 0 0; background: #cfd9e6; height: var(--h); }
.bars .col i + i { background: var(--navy-800); }
.bars-labels { display: flex; gap: 10px; padding: 6px 4px 0; color: var(--muted); font-size: 11px; }
.bars-labels span { flex: 1; text-align: center; }
.export-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.export-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 8px;
  background: #f1f4f8; border: 1px solid #e1e7ee;
  font-weight: 650; font-size: 12px; color: var(--navy-900);
}
.export-chips span.gold { background: var(--gold-50); border-color: #ecdcbc; }
.export-chips svg { width: 14px; height: 14px; }

.chat-panel { display: grid; gap: 10px; }
.chat-panel .bubble { font-size: 13.5px; max-width: 88%; }
.confirm-card { border: 1px solid #ecdcbc; background: var(--gold-50); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.confirm-card strong { display: block; color: var(--navy-900); margin-bottom: 2px; }

.float-tag {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--navy-900);
  border-radius: 999px;
  font-weight: 650;
  font-size: 12.5px;
  box-shadow: 0 10px 24px rgba(6, 14, 28, .25);
}
.float-tag svg { width: 16px; height: 16px; color: var(--ok); }
.float-tag.tr { top: -14px; right: 18px; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story:nth-child(even) .story-visual { order: 0; }
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd8e3; }
.feature .f-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--navy-100);
  color: var(--navy-800);
  margin-bottom: 14px;
}
.feature .f-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.55; }

@media (max-width: 1080px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Security ---------- */

.security-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sec-item {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
}
.sec-item .f-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(206, 159, 71, .14);
  color: var(--gold);
  margin-bottom: 14px;
}
.sec-item .f-icon svg { width: 24px; height: 24px; }
.sec-item h3 { font-size: 1.05rem; margin-bottom: .35em; }
.sec-item p { margin: 0; color: #b9c5d6; font-size: .96rem; line-height: 1.55; }
.sec-note { margin: 36px auto 0; max-width: 760px; text-align: center; color: #9fb0c6; font-size: .95rem; }

@media (max-width: 1080px) { .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .security-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile / PWA ---------- */

.mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.mobile-copy .lead { color: var(--muted); font-size: 1.125rem; }
.mobile-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.mobile-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.mobile-list .f-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-800); }
.mobile-list .f-icon svg { width: 22px; height: 22px; }
.mobile-list strong { display: block; color: var(--navy-900); }
.mobile-list span { color: var(--muted); font-size: 1rem; }

.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before {
  content: ""; position: absolute; inset: 8% 6%;
  background: radial-gradient(circle at 50% 40%, rgba(206, 159, 71, .28), transparent 65%);
  filter: blur(8px);
}
.phone {
  position: relative;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 42px;
  background: var(--navy-950);
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3a52;
}
.phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(260px 200px at 80% 0%, rgba(206, 159, 71, .25), transparent 70%),
    linear-gradient(180deg, #1f3a5f, #12223a);
  padding: 44px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; line-height: 1.4;
}
.phone-time { text-align: center; color: #fff; font-size: 44px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.phone-date { text-align: center; color: #c9d4e2; margin-bottom: 14px; font-size: 12.5px; }
.push {
  background: rgba(255, 255, 255, .94);
  border-radius: 16px;
  padding: 10px 12px;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(6, 14, 28, .25);
}
.push-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 11px; color: var(--muted); }
.push-head img { width: 18px; height: 18px; border-radius: 5px; }
.push-head b { color: var(--navy-900); font-weight: 650; }
.push-head time { margin-left: auto; }
.push p { margin: 0; }
.push p strong { color: var(--navy-900); }
.phone-dock { margin-top: auto; display: flex; justify-content: center; }
.phone-dock span { width: 90px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .5); }

@media (max-width: 860px) {
  .mobile-grid { grid-template-columns: 1fr; }
  .phone-stage { order: 2; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq details[open] { box-shadow: var(--shadow); border-color: #cfd8e3; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 650;
  color: var(--navy-900);
  font-size: 1.06rem;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a5f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq .answer ul { padding-left: 1.2em; margin: 0 0 1em; }
.faq .answer li { margin-bottom: .3em; }

/* ---------- CTA ---------- */

.cta-band { padding-block: clamp(56px, 7vw, 96px); background: var(--bg); }
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 72px);
  text-align: center;
  color: #d9e1ec;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(206, 159, 71, .28), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900) 60%);
  box-shadow: var(--shadow);
}
.cta-box img.mark { width: 88px; height: auto; margin: 0 auto 18px; }
.cta-box h2 { color: #fff; }
.cta-box p { max-width: 620px; margin: 0 auto 28px; color: #c9d4e2; font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-contact { margin-top: 22px !important; margin-bottom: 0 !important; font-size: 1rem !important; }
.cta-contact a { color: var(--gold); font-weight: 650; }
.cta-contact a:hover { color: #e3bd75; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-950); color: #aebbd0; padding-block: 56px 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 30em; margin: 0; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d5deea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .9rem; color: #8d9cb3;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 18px; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / Textseiten ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #c9d4e2;
  padding-block: clamp(40px, 6vw, 72px);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); margin-bottom: .25em; }
.page-hero p { margin: 0; }

.prose { max-width: 820px; margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .35em; }
.prose address { font-style: normal; }

.notice {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--warn-bg);
  border: 1px solid #efd6a6;
  color: #5b3d08;
  margin-bottom: 32px;
}
.notice svg { width: 26px; height: 26px; color: var(--warn); }
.notice p { margin: 0; }
.notice p + p { margin-top: .5em; }

/* ---------- 404 ---------- */

.error-page {
  min-height: calc(100vh - var(--header-h) - 92px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}
.error-code { font-size: clamp(4.5rem, 3rem + 8vw, 8rem); font-weight: 800; line-height: 1; color: var(--navy-900); letter-spacing: -.04em; margin: 0 0 .1em; }
.error-page .error-code { color: var(--navy-900); margin-bottom: .1em; }
.error-code span { color: var(--gold); }
.error-page p { color: var(--muted); max-width: 32em; margin-inline: auto; }
.error-page .hero-actions { justify-content: center; margin-top: 28px; }

/* ---------- Reveal-Animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

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

@media print {
  .site-header, .nav-toggle, .cta-band, .skip-link { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}

.site-footer .container > .footer-bottom:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer:has(.container > .footer-bottom:first-child) { padding-block: 28px; }

@media (max-width: 520px) {
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px 16px; }
  .feature .f-icon { grid-row: span 2; margin-bottom: 0; }
  .feature h3 { margin-top: 2px; }
  .sec-item { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px 16px; }
  .sec-item .f-icon { grid-row: span 2; margin-bottom: 0; }
  .sec-item h3 { margin-top: 2px; }
  .ba-row { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .ba-tag { justify-self: start; }
}
.nk-table td.num, .tx .t-amt { white-space: nowrap; }
@media (max-width: 420px) {
  .nk-table { font-size: 12px; }
  .nk-table th, .nk-table td { padding: 7px 4px; }
  .story-visual { padding: 14px; }
  .panel { padding: 14px 12px; }
}
