/* ODataAgentSample – Gestaltung: helle Rahmenkarte, Gelb + fast Schwarz, große weiche Karten */
:root {
  color-scheme: light dark;
  --yellow: #f6d646;
  --yellow-2: #f9e37a;
  --yellow-soft: #fdf3c4;
  --ink: #14171c;
  --blue: #20409a;
  --blue-2: #2c54c4;
  --sky: #4a97e8;
  --green: #75c96b;
  --green-2: #8ee085;
  --green-ink: #0d2a10;

  --page: #ebebed;
  --frame: #ffffff;
  --card: #f6f6f7;
  --card-2: #efeff1;
  --line: #e4e4e8;
  --text: #14171c;
  --muted: #5d6270;
  --btn-dark: #14171c;
  --btn-dark-text: #f6d646;
  --on-yellow-text: #14171c;
  --focus: #20409a;
  --ok: #0a7a45;
  --ok-bg: #dff3e7;
  --err: #b42318;
  --err-bg: #fde6e4;
  --run: #7a5200;
  --run-bg: #fff0c2;
  --hero-grad: linear-gradient(100deg, #fbfaf6 0%, #fbf6df 45%, #f8e792 100%);
  --shadow-frame: 0 30px 80px rgba(20, 23, 28, .14), 0 2px 8px rgba(20, 23, 28, .06);
  --shadow-card: 0 1px 2px rgba(20, 23, 28, .04), 0 12px 32px rgba(20, 23, 28, .06);
  --pastel-pink: #f9c3d4;
  --pastel-green: #bfe8bc;
  --pastel-blue: #bcd9fa;
  --pastel-lilac: #d0c8f5;
  --pin: #14171c;
  --pin-dot: #f6d646;
  --demo-grad: linear-gradient(100deg, #fbf8ea 0%, #fbeea4 100%);
  --pastel-ink: #14171c;
  --map-line: #d9d9de;
  --font: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b0c0f;
    --frame: #15171b;
    --card: #1e2126;
    --card-2: #262a31;
    --line: #2f343c;
    --text: #f3f3f5;
    --muted: #a6abb7;
    --btn-dark: #0a0b0d;
    --btn-dark-text: #f6d646;
    --focus: #f6d646;
    --ok: #6ee09a;
    --ok-bg: #153523;
    --err: #ff9a90;
    --err-bg: #3c1b1d;
    --run: #f7d86a;
    --run-bg: #3a2f10;
    --hero-grad: linear-gradient(100deg, #17191d 0%, #26230f 55%, #4a4113 100%);
    --shadow-frame: 0 30px 80px rgba(0, 0, 0, .55);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .28);
    --pastel-pink: #5b2e3d;
    --pastel-green: #2c4a2b;
    --pastel-blue: #29466b;
    --pastel-lilac: #3b3669;
    --pastel-ink: #f3f3f5;
    --map-line: #353a43;
    --pin: #f6d646;
    --pin-dot: #14171c;
    --demo-grad: linear-gradient(100deg, rgba(246, 214, 70, .16), rgba(246, 214, 70, .05));
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--page);
  min-height: 100vh;
  padding-top: clamp(8px, 3vw, 40px);
  overflow-x: hidden;
}
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 3px; }
code, .mono { font-family: var(--mono); font-size: .9em; }
svg { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.round-btn:focus-visible { border-radius: 50%; }
.tile:focus-visible { border-radius: 26px; }
.btn:focus-visible { border-radius: 14px; }
.btn-pill:focus-visible { border-radius: 999px; }
.chip:focus-visible { border-radius: 16px; }
.dots a:focus-visible { border-radius: 50%; }
.banner :focus-visible, .service-green :focus-visible { outline-color: var(--ink); }
.service-blue :focus-visible { outline-color: var(--yellow); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 12px; z-index: 50; }
.skip-link:focus { left: 12px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Rahmenkarte */
.frame {
  max-width: 1280px; margin: 0 auto; background: var(--frame);
  border-radius: 28px 28px 0 0; box-shadow: var(--shadow-frame);
  overflow: hidden; overflow: clip; min-height: 80vh;
  display: flex; flex-direction: column;
}
.frame > main { flex: 1; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* Kopf */
.utilbar { border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.utilbar .wrap { display: flex; flex-wrap: wrap; gap: 0 22px; padding-block: 0; }
.utilbar a { text-decoration: none; padding: 12px 0 10px; border-bottom: 2px solid transparent; color: var(--muted); }
.utilbar a:hover { color: var(--text); }
.utilbar a[aria-current] { color: var(--text); font-weight: 600; border-bottom-color: var(--yellow); }
.mainnav { background: var(--frame); box-shadow: 0 6px 18px rgba(20, 23, 28, .05); position: relative; z-index: 3; }
.mainnav .wrap { display: flex; align-items: center; gap: 12px 28px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); text-decoration: none; font-size: 1.02rem; }
.brand svg { width: 34px; height: 34px; flex: none; }
.navlinks { display: none; gap: 26px; margin-left: 8px; font-size: .92rem; font-weight: 500; }
.navlinks a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover { border-bottom-color: var(--yellow); }
.mainnav .btn { margin-left: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .65rem 1.5rem;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  border-radius: 14px; border: 0; text-decoration: none;
  background: var(--yellow); color: var(--on-yellow-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 14px rgba(200, 160, 0, .22);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s;
}
.btn:hover { background: #fbe063; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn-pill { border-radius: 999px; min-height: 40px; padding: .4rem 1.3rem; }
.btn-dark { background: var(--btn-dark); color: var(--btn-dark-text); box-shadow: 0 8px 18px rgba(20, 23, 28, .25); }
.btn-dark:hover { background: #000; }
.btn-small { min-height: 38px; padding: .35rem 1rem; font-size: .88rem; border-radius: 12px; }
.btn-ghost { background: var(--card); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--card-2); }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--frame); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 6px 18px rgba(20, 23, 28, .16); transition: transform .15s;
}
.round-btn:hover { transform: translateY(2px); }
.round-btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { background: var(--hero-grad); position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 20px; align-items: center; padding-block: 36px 0; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: .28rem .85rem; margin-bottom: 1.2rem; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.8s ease-in-out infinite; }
.mark { background: linear-gradient(transparent 80%, var(--yellow) 80% 95%, transparent 95%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; align-items: center; }
.hero-stage { position: relative; display: flex; justify-content: center; padding: 20px 0 44px; }
.hero-stage::before, .hero-stage::after { content: ""; position: absolute; border-radius: 44px; transform: rotate(45deg); }
.hero-stage::before { width: 300px; height: 300px; right: 8%; top: 40px; background: linear-gradient(135deg, rgba(246, 214, 70, .85), rgba(246, 214, 70, .15)); }
.hero-stage::after { width: 150px; height: 150px; left: 6%; top: 250px; background: linear-gradient(135deg, rgba(32, 64, 154, .22), rgba(32, 64, 154, 0)); }
.hero-arrow { position: absolute; left: 0; bottom: 28px; z-index: 3; }
.hero-next { position: absolute; right: 0; bottom: 28px; z-index: 3; }
.dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 2px; z-index: 3; }
.dots a { width: 28px; height: 28px; display: grid; place-items: center; text-decoration: none; }
.dots a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(20, 23, 28, .3); transition: transform .15s, background-color .15s; }
.dots a:hover::before { background: var(--ink); transform: scale(1.4); }
.dots a:first-child::before { width: 22px; border-radius: 8px; background: var(--ink); }
@media (prefers-color-scheme: dark) { .dots a::before { background: rgba(255, 255, 255, .4); } .dots a:hover::before, .dots a:first-child::before { background: var(--yellow); } }

/* Telefon */
.phone {
  position: relative; z-index: 2; width: 292px; flex: none;
  background: #0d0f12; border-radius: 46px; padding: 11px;
  box-shadow: 0 0 0 2px #3a3f48, 0 40px 70px rgba(20, 23, 28, .35), 0 8px 18px rgba(20, 23, 28, .25);
  align-self: flex-end;
}
.phone-screen { background: #fff; color: #14171c; border-radius: 36px; padding: 38px 14px 34px; position: relative; overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #0d0f12; }
.phone-time { position: absolute; top: 12px; left: 22px; font-size: .75rem; font-weight: 700; }
.phone-bat { position: absolute; top: 14px; right: 22px; width: 20px; height: 9px; border-radius: 3px; border: 1.5px solid #14171c; }
.phone-bat::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: #14171c; border-radius: 1px; }
.phone-title { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: .95rem; margin: 6px 2px 10px; }
.phone-title span { font-size: .75rem; background: #14171c; color: var(--yellow); border-radius: 999px; padding: .15rem .6rem; font-weight: 700; }
.phone-home { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 96px; height: 4px; border-radius: 4px; background: #14171c; }
.trace-step {
  border-radius: 16px; padding: 10px 12px; margin-bottom: 9px; background: #f4f4f6; font-family: var(--mono); font-size: .75rem; color: #14171c;
  border-left: 5px solid #bbb; opacity: .4; transform: translateY(6px); animation: step-in .5s ease forwards; overflow-wrap: anywhere;
}
.trace-step.is-err { border-left-color: #c93a2c; background: #fdecea; animation-delay: .1s; }
.trace-step.is-ok { border-left-color: #1f9a58; background: #e6f5ec; animation-delay: .9s; }
.trace-step .name { font-weight: 800; color: #20409a; }
.trace-step .st { display: block; margin-top: 5px; font-weight: 700; font-family: var(--font); font-size: .75rem; line-height: 1.3; }
.trace-step .st.err { color: #a02317; }
.trace-step .st.ok { color: #0a6a3b; }
.trace-answer { font-family: var(--font); font-size: .82rem; line-height: 1.35; background: var(--yellow); color: #14171c; border-radius: 16px 16px 16px 4px; padding: 10px 12px; margin-top: 12px; font-weight: 600; opacity: 0; animation: step-in .5s ease 1.8s forwards; }
.cursor { display: inline-block; width: .45em; height: .95em; background: #14171c; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes step-in { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .5; } }
@keyframes drift { 50% { transform: translateY(-10px) rotate(45deg); } }
.hero-stage::before { animation: drift 7s ease-in-out infinite; }

/* Sektionen */
.section { padding-block: clamp(40px, 6vw, 72px) 0; }
.section-title { margin-bottom: 1.1rem; }
.eyebrow { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; }

/* Funktionskarten */
.services { display: grid; gap: 16px; }
.service { border-radius: 32px; padding: 28px; position: relative; overflow: hidden; isolation: isolate; }
.service h3 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.1; max-width: 14em; }
.service-blue { background: var(--blue); color: #fff; min-height: 340px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 50px rgba(32, 64, 154, .28); }
.service-blue::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.6px) 0 0 / 11px 11px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%); }
.service-blue::after { content: ""; position: absolute; z-index: -1; width: 330px; height: 200px; right: -50px; bottom: 30px; border-radius: 28px; transform: rotate(-32deg); background: linear-gradient(135deg, #5aa5f0, #3a7fe0); box-shadow: 0 30px 40px rgba(8, 24, 80, .35); }
.nums { display: flex; gap: 36px; flex-wrap: wrap; }
.num b { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.num span { font-size: .8rem; color: rgba(255, 255, 255, .75); }
.service-blue .btn { align-self: flex-start; margin-top: auto; }
.service-green { background: var(--green); color: var(--green-ink); display: flex; flex-direction: column; gap: 14px; }
.service-green::after { content: ""; position: absolute; z-index: -1; width: 170px; height: 220px; right: -20px; bottom: -40px; border-radius: 34px; transform: rotate(14deg); background: linear-gradient(160deg, var(--green-2), #5fb85a); box-shadow: 0 0 0 14px rgba(255, 255, 255, .12); }
.service-green p { font-size: .95rem; max-width: 16em; margin: 0; font-weight: 500; }
.mini-trace { display: grid; gap: 8px; margin-top: auto; padding-top: 10px; max-width: 18rem; }
.mini-trace div { background: rgba(255, 255, 255, .75); border-radius: 16px; padding: .5rem .8rem; font-size: .8rem; font-weight: 700; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.mini-trace code { background: none; padding: 0; font-size: .8rem; }
.mini-trace .bad { color: #a02317; }
.mini-trace .good { color: #0a6a3b; }
.service-green code { background: rgba(255, 255, 255, .45); border-radius: 6px; padding: .05em .35em; font-weight: 700; }

.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.step { counter-increment: s; background: var(--card); border-radius: 28px; padding: 24px; box-shadow: var(--shadow-card); position: relative; }
.step::before { content: counter(s); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 16px; transform: rotate(0); background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.step:nth-child(2)::before { background: var(--pastel-blue); color: var(--pastel-ink); }
.step:nth-child(3)::before { background: var(--pastel-green); color: var(--pastel-ink); }
.step h3 { font-size: 1.2rem; margin-bottom: .4em; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Kacheln */
.tiles { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.tile { display: flex; align-items: center; gap: 16px; background: var(--card); border-radius: 26px; padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow-card); font-weight: 600; line-height: 1.25; transition: transform .2s, box-shadow .2s; min-height: 76px; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(20, 23, 28, .12); }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.tile .ico { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--pastel-ink); }
.tile .ico svg { width: 22px; height: 22px; }
.ico-pink { background: var(--pastel-pink); }
.ico-green { background: var(--pastel-green); }
.ico-blue { background: var(--pastel-blue); }
.ico-lilac { background: var(--pastel-lilac); }

/* Zahlen & Diagramm */
.duo { display: grid; gap: 16px; }
.panel-card { background: var(--card); border-radius: 32px; padding: 28px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.panel-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.panel-card .btn { align-self: flex-start; margin-top: 22px; }
.limits { width: 100%; border-collapse: collapse; margin-top: 6px; table-layout: fixed; }
.limits th:first-child { width: 5.4rem; }
.limits th:nth-child(2) { width: 4.6rem; }
.limits th { text-align: left; font-size: .75rem; font-weight: 600; color: var(--muted); padding: 6px 8px 8px 0; border-bottom: 1px solid var(--line); }
.limits td { padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.limits tr:last-child > * { border-bottom: 0; }
.limits tbody th, .limits td { vertical-align: middle; }
.limits .lbl { font-weight: 800; font-size: 1.15rem; }
.limits .val { font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.limits .note { font-size: .875rem; line-height: 1.3; color: var(--muted); }
.arch-card { background: var(--card); }
.arch-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--map-line) 1px, transparent 1px), linear-gradient(90deg, var(--map-line) 1px, transparent 1px); background-size: 38px 38px; opacity: .65; -webkit-mask-image: linear-gradient(160deg, transparent 20%, #000 90%); mask-image: linear-gradient(160deg, transparent 20%, #000 90%); }
.arch-card > * { position: relative; }
.arch { width: 100%; height: auto; margin-top: 8px; }
.arch .edge { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-dasharray: 6 7; stroke-linecap: round; animation: dash 1.6s linear infinite; }
.arch .pin { fill: var(--pin); }
.arch .pin-dot { fill: var(--pin-dot); }
.arch .lbl { font: 800 18px var(--font); fill: var(--text); paint-order: stroke; stroke: var(--card); stroke-width: 5px; stroke-linejoin: round; }
.arch .sub { font: 600 16px var(--font); fill: var(--muted); paint-order: stroke; stroke: var(--card); stroke-width: 5px; stroke-linejoin: round; }
.arch .halo { fill: #000; opacity: .18; }
@keyframes dash { to { stroke-dashoffset: -26; } }

/* Sicherheit / Ehrlich */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.facts .mk { flex: none; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; margin-top: 1px; }
.facts .mk svg { width: 16px; height: 16px; }
.mk-ok { background: var(--ok-bg); color: var(--ok); }
.mk-info { background: var(--yellow); color: var(--ink); }
.honest { background: var(--yellow-soft); }
.honest h2, .honest .facts { color: #14171c; }
.honest .facts strong { color: #14171c; }
@media (prefers-color-scheme: dark) { .honest { background: #2a2610; } .honest h2, .honest .facts { color: var(--text); } .honest .facts strong { color: var(--text); } }

/* Banner / Anmeldung */
.banner-section { padding-top: clamp(80px, 10vw, 110px); }
.banner { position: relative; background: linear-gradient(120deg, #f6d646 0%, #f9de58 55%, #f3cb28 100%); border-radius: 32px; color: var(--ink); padding: clamp(26px, 5vw, 48px); box-shadow: 0 24px 50px rgba(200, 160, 0, .25); }
.banner-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.banner-bg::before, .banner-bg::after { content: ""; position: absolute; border-radius: 40px; transform: rotate(45deg); background: rgba(255, 255, 255, .22); }
.banner-bg::before { width: 280px; height: 280px; right: 4%; top: 10%; }
.banner-bg::after { width: 160px; height: 160px; right: 22%; bottom: -60px; background: rgba(255, 255, 255, .16); }
.banner-copy { position: relative; max-width: 520px; }
.banner h2 { font-size: clamp(2rem, 5vw, 3rem); }
.banner p { font-weight: 500; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.badges li { background: rgba(20, 23, 28, .9); color: var(--yellow); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: .3rem .8rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .9rem; }
input[type="password"], input[type="text"], textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--frame);
  border: 2px solid transparent; border-radius: 18px; padding: .75rem 1rem; min-height: 48px;
  box-shadow: 0 1px 2px rgba(20, 23, 28, .08) inset;
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.banner input { background: #fff; color: #14171c; }
.banner .btn-dark { color: var(--yellow); }
.status { min-height: 1.5em; font-size: .93rem; margin-top: 12px; font-weight: 600; }
.status.err { color: #8a1c12; background: #fff; border-radius: 12px; padding: .5rem .8rem; display: inline-block; }
.status.info { color: rgba(20, 23, 28, .75); }
.link-row { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: .88rem; font-weight: 600; }
.link-row a { color: var(--ink); }
.banner { padding-top: 28px; }
.banner-phone { display: none; position: absolute; right: 24px; top: -44px; width: 180px; height: 84px; background: #14171c; border-radius: 30px 30px 0 0; padding: 8px 8px 0; box-shadow: 0 0 0 2px #b8962a, 0 16px 30px rgba(60, 40, 0, .3); overflow: hidden; }

/* Projektkarten */
.projects { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.project { display: flex; flex-direction: column; gap: 12px; }
.project-art { border-radius: 32px; aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow-card); }
.project-art svg { width: 76px; height: 76px; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
.project-art::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 28%; transform: rotate(45deg); background: rgba(255, 255, 255, .16); }
.project-art::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 30%; transform: rotate(45deg); right: -6%; bottom: -10%; background: rgba(255, 255, 255, .13); }
.art-1 { background: linear-gradient(135deg, #20409a, #4a97e8); }
.art-2 { background: linear-gradient(135deg, #14171c, #3b4252); }
.art-3 { background: linear-gradient(135deg, #3aa355, #8ee085); }
.project p { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.project p small { display: block; font-weight: 500; font-size: .875rem; color: var(--muted); margin-top: 2px; }
.project .btn { align-self: flex-start; }

/* Fuß */
.site-footer { background: var(--card); margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-weight: 700; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; padding-block: 28px; }
.foot-cols h4 { font-size: .85rem; margin-bottom: .8em; letter-spacing: 0; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .84rem; color: var(--muted); }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; color: var(--text); }
.foot-bar { border-top: 1px solid var(--line); padding-block: 16px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .78rem; color: var(--muted); }

/* Demo */
.demo-head .wrap { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-block: 14px; }
.demo-head h1 { font-size: 1.15rem; margin: 0; letter-spacing: -.01em; }
.demo-head .btn { margin-left: auto; }
.demo-hero { background: var(--demo-grad); }
.demo-hero .wrap { padding-block: 28px 30px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; justify-content: space-between; }
.demo-hero h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0; }
.demo-hero p { margin: .5rem 0 0; color: var(--muted); max-width: 30em; }
.quota { display: flex; gap: 10px; flex-wrap: wrap; }
.quota span { background: var(--frame); border-radius: 18px; padding: .55rem .95rem .55rem 2.1rem; font-size: .84rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-card); position: relative; }
.quota span::before { content: ""; position: absolute; left: .9rem; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--sky); }
.quota span:nth-child(2)::before { background: var(--green); }
.quota span:nth-child(3)::before { background: var(--yellow); box-shadow: 0 0 0 1px rgba(20, 23, 28, .25); }
.demo-main { padding-block: 24px 0; }
.demo-grid { display: grid; gap: 18px; }
.col { min-width: 0; display: flex; flex-direction: column; }
.col > h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.chat-box { background: var(--card); border-radius: 32px; padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); }
.messages { display: flex; flex-direction: column; gap: 10px; min-height: 200px; max-height: 50vh; overflow-y: auto; padding: 4px; }
.msg { padding: .75rem 1.05rem; border-radius: 22px; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 90%; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--frame); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(20, 23, 28, .08); }
.msg.error { align-self: flex-start; background: var(--err-bg); color: var(--err); font-weight: 600; border-bottom-left-radius: 6px; border-left: 5px solid var(--err); }
.msg.sys { align-self: center; color: var(--muted); font-size: .9rem; text-align: center; max-width: 100%; }
@media (prefers-color-scheme: dark) { .msg.user { background: var(--yellow); color: var(--ink); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; color: var(--pastel-ink); background: var(--pastel-blue); border: 0; border-radius: 16px; padding: .5rem .95rem; min-height: 40px; text-align: left; transition: transform .15s; }
.chip:nth-child(2) { background: var(--pastel-green); }
.chip:nth-child(3) { background: var(--pastel-lilac); }
.chip:nth-child(4) { background: var(--pastel-pink); }
.chip:hover { transform: translateY(-2px); }
.chip:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.composer { display: grid; gap: 8px; background: var(--frame); border-radius: 26px; padding: 12px 12px 12px 16px; box-shadow: 0 1px 2px rgba(20, 23, 28, .08), 0 8px 22px rgba(20, 23, 28, .06); }
.composer textarea { resize: none; min-height: 68px; border-radius: 14px; border: 0; box-shadow: none; background: transparent; padding: .4rem .2rem; }
.composer textarea:focus-visible { outline: 0; }
.composer:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.composer-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.counter { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.full { color: var(--err); font-weight: 700; }
.composer .btn { border-radius: 18px; padding-inline: 1.6rem; }
.hint { font-size: .8rem; color: var(--muted); margin: 0; }
.busy { color: var(--muted); font-size: .9rem; min-height: 1.4em; display: flex; align-items: center; gap: 8px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; flex: none; }
@media (prefers-color-scheme: dark) { .spinner { border-top-color: var(--yellow); } }
@keyframes spin { to { transform: rotate(360deg); } }

.trace-box { background: var(--card); border-radius: 32px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: 70vh; overflow-y: auto; box-shadow: var(--shadow-card); }
.trace-empty { color: var(--muted); font-size: .92rem; margin: 0; padding: 12px; }
.tcard { border-radius: 22px; padding: 12px 14px; background: var(--frame); border-left: 6px solid var(--line); box-shadow: 0 1px 2px rgba(20, 23, 28, .06); animation: step-in .35s ease backwards; }
.tcard.run { border-left-color: var(--run); background: var(--run-bg); }
.tcard.ok { border-left-color: var(--ok); background: var(--ok-bg); }
.tcard.err { border-left-color: var(--err); background: var(--err-bg); }
.tcard .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.tcard .tname { font-family: var(--mono); font-weight: 800; overflow-wrap: anywhere; }
.tcard .dur { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tcard .targs { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin: 6px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.tcard .tstatus { display: inline-block; font-size: .82rem; font-weight: 800; padding: .1rem .7rem; border-radius: 999px; background: var(--frame); }
.tcard.run .tstatus { color: var(--run); }
.tcard.ok .tstatus { color: var(--ok); }
.tcard.err .tstatus { color: var(--err); }
.tcard .tsummary { font-size: .88rem; margin-top: 6px; overflow-wrap: anywhere; }

/* Breite */
@media (min-width: 640px) {
  .wrap { padding-inline: 32px; }
  .steps, .projects { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
  .frame { border-radius: 40px 40px 0 0; }
}
@media (min-width: 900px) {
  .navlinks { display: flex; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; padding-block: 56px 0; }
  .services { grid-template-columns: 2fr 1fr; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; }
  .banner { padding-top: clamp(26px, 5vw, 48px); }
  .banner-phone {
    display: block;
    right: 7%; top: -64px; bottom: 0; width: 270px; height: auto;
    background: #14171c; border-radius: 40px 40px 0 0; padding: 10px 10px 0; box-shadow: 0 0 0 2px #b8962a, 0 20px 40px rgba(60, 40, 0, .3);
    overflow: hidden;
  }
  .banner-copy { max-width: 56%; }
  .demo-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .messages { min-height: 320px; max-height: 52vh; }
  .trace-box { min-height: 320px; max-height: calc(100vh - 80px); }
  .col-trace { position: sticky; top: 16px; }
}
.bp-screen { background: #1e2126; border-radius: 30px 30px 0 0; height: 100%; padding: 30px 14px 0; color: #fff; }
.bp-title { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: .95rem; margin-bottom: 12px; }
.bp-title i { width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); display: block; }
.bp-card { background: #2b2f37; border-radius: 18px; padding: 14px; box-shadow: 0 -6px 0 -2px #3a3f48; }
.bp-card b { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.bp-card span { font-size: .75rem; color: #aab0bc; }
.bp-sheet { margin-top: 14px; background: #fff; color: #14171c; border-radius: 22px 22px 0 0; padding: 14px; height: 200px; }
.bp-sheet h4 { font-size: .85rem; margin: 0 0 8px; }
.bp-row { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; padding: 6px 0; border-bottom: 1px solid #ececef; }
.bp-row i { width: 20px; height: 20px; border-radius: 50%; display: block; flex: none; }
.bp-row em { margin-left: auto; font-style: normal; color: #0a6a3b; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .trace-step, .trace-answer { opacity: 1; transform: none; }
}
