/* =========================================================================
   BewerbungsPilot – Design-System
   Ton: redaktionell-technisch. Tinte + warmes Papier, Signal-Orange, Mint.
   Schriften: Bricolage Grotesque (Display), Instrument Sans (Text) – lokal gehostet.
   ========================================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #0e1a2b;
  --ink-2: #16263d;
  --ink-3: #21344f;
  --paper: #f4f0e6;
  --paper-2: #faf8f2;
  --card: #ffffff;
  --line: #e4ddce;
  --line-2: #efe9db;
  --text: #14202f;
  --muted: #5d6a7c;
  --signal: #ff5a2c;
  --signal-2: #ff7a45;
  --signal-ink: #c73a10;
  --mint: #1fc9a1;
  --mint-ink: #0a7e63;
  --sun: #ffc857;
  --sky: #6ea8fe;
  --danger: #d6323f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(14, 26, 43, .06), 0 4px 14px rgba(14, 26, 43, .05);
  --shadow-2: 0 10px 30px rgba(14, 26, 43, .12), 0 2px 6px rgba(14, 26, 43, .06);
  --shadow-3: 0 30px 70px rgba(6, 12, 24, .35);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--signal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--signal) 60%, white); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
.icon { flex: none; vertical-align: middle; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row-between { justify-content: space-between; }
.grow { flex: 1 1 auto; }
.stack > * + * { margin-top: 1rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.25rem; border-radius: 12px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 .97rem/1 var(--font-body); cursor: pointer;
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 26, 43, .22); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); transition: transform .8s var(--ease); }
.btn-signal { --bg: linear-gradient(135deg, var(--signal-2), var(--signal)); --fg: #fff; box-shadow: 0 8px 22px rgba(255, 90, 44, .35); }
.btn-signal:hover { box-shadow: 0 14px 30px rgba(255, 90, 44, .45); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-outline:hover { --bd: var(--ink); background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.btn-ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.btn-danger { --bg: #fff; --fg: var(--danger); --bd: #f0c7cb; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: .5rem .85rem; font-size: .88rem; border-radius: 10px; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::before {
  content: ""; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0;
  background: transparent; color: inherit; cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(128, 128, 128, .14); }

/* ---------- Formulare ---------- */
label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field { margin-bottom: 1rem; }
.hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=search], select, textarea {
  width: 100%; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: 11px; background: #fff;
  font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(255, 90, 44, .15); }
input::placeholder, textarea::placeholder { color: #9aa4b2; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--signal); flex: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.pw-meter { height: 5px; background: var(--line-2); border-radius: 4px; margin-top: .45rem; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--danger); transition: width .3s var(--ease), background .3s; }

/* ---------- Cards, Badges, Alerts ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-1);
}
.card-flat { box-shadow: none; }
.card h2, .card h3 { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.15rem; }
.card-hover { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #d8cfba; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 99px; font-size: .78rem; font-weight: 650; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.badge-success { background: #dcf7ee; color: var(--mint-ink); }
.badge-warning { background: #fff0cc; color: #8a5a00; }
.badge-error { background: #fde3e5; color: var(--danger); }
.badge-info { background: #e2edff; color: #2456b8; }
.alert { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-size: .95rem; border: 1px solid; animation: rise .5s var(--ease) both; }
.alert .icon { margin-top: .15rem; }
.alert-success { background: #e6f9f2; border-color: #b6ecd9; color: #0a5c48; }
.alert-error { background: #fdecee; border-color: #f4c3c8; color: #9d1f2b; }
.alert-info { background: #eaf1ff; border-color: #c6d9fb; color: #1f4a9c; }
.alert-warning { background: #fff5db; border-color: #f3dc9b; color: #7a5200; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty .icon { width: 42px; height: 42px; opacity: .45; margin-bottom: .6rem; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .8rem 1rem; background: var(--paper-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--paper-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos { color: var(--mint-ink); font-weight: 650; }
.neg { color: var(--danger); font-weight: 650; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .35rem; padding: .3rem; background: var(--line-2); border-radius: 12px; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 1.2rem; }
.tab { border: 0; background: transparent; padding: .5rem .95rem; border-radius: 9px; font: 600 .9rem var(--font-body); color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.tab-panel { display: none; animation: rise .4s var(--ease) both; }
.tab-panel.active { display: block; }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float1 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6%, 8%, 0) scale(1.12); } }
@keyframes float2 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-8%, -6%, 0) scale(1.18); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(31, 201, 161, .5); } 100% { box-shadow: 0 0 0 14px rgba(31, 201, 161, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes spinslow { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
.page-enter > * { animation: rise .55s var(--ease) both; }
.page-enter > *:nth-child(2) { animation-delay: .06s; }
.page-enter > *:nth-child(3) { animation-delay: .12s; }
.page-enter > *:nth-child(4) { animation-delay: .18s; }
.page-enter > *:nth-child(5) { animation-delay: .24s; }
.page-enter > *:nth-child(n+6) { animation-delay: .3s; }

/* =========================================================================
   Öffentliche Seiten (Landing)
   ========================================================================= */
.area-public { background: var(--ink); }
.pub-header { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding: .85rem 0; transition: background .3s, backdrop-filter .3s, box-shadow .3s; }
.pub-header.scrolled { background: rgba(14, 26, 43, .78); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.pub-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; font: 700 1.2rem var(--font-display); letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand .logo-mark { transition: transform .5s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.pub-nav { display: flex; align-items: center; gap: 1.4rem; }
.pub-nav a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.pub-nav a:not(.btn):hover { color: #fff; }

.area-public { overflow-x: clip; }
.hero { position: relative; z-index: 2; color: #fff; padding: 9rem 0 0; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #17304f 0%, var(--ink) 62%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.blob.b1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #1fc9a1 0%, transparent 65%); animation: float1 16s ease-in-out infinite; }
.blob.b2 { width: 42vw; height: 42vw; right: -12vw; top: 4vw; background: radial-gradient(circle, #ff5a2c 0%, transparent 62%); animation: float2 19s ease-in-out infinite; opacity: .42; }
.blob.b3 { width: 34vw; height: 34vw; left: 32vw; top: 22vw; background: radial-gradient(circle, #ffc857 0%, transparent 65%); animation: float1 22s ease-in-out infinite reverse; opacity: .22; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); }
.grain { position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-copy { text-align: center; max-width: 900px; margin-inline: auto; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .95rem .4rem .5rem; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }
.eyebrow i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); animation: pulse-ring 1.8s ease-out infinite; margin-left: .2rem; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 720; line-height: 1; letter-spacing: -.035em; margin: 1.3rem 0 1.2rem; }
.hl { position: relative; display: inline-block; background: linear-gradient(100deg, var(--sun), var(--signal-2) 55%, var(--signal)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline: .04em; }
.hl svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em; overflow: visible; }
.hl svg path { fill: none; stroke: var(--sun); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.3s .9s var(--ease) forwards; }
.slogan { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-family: var(--font-display); font-weight: 500; color: rgba(255, 255, 255, .92); margin-bottom: 1rem; letter-spacing: -.01em; }
.typed-line { font-size: 1.05rem; color: rgba(255, 255, 255, .7); min-height: 1.7em; margin-bottom: 1.2rem; }
.typed-line b { color: var(--sun); font-weight: 650; }
.typed-line .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--sun); margin-left: 2px; vertical-align: -.15em; animation: caret 1s steps(1) infinite; }
.hero-desc { max-width: 720px; margin: 0 auto 2.2rem; font-size: 1.1rem; color: rgba(255, 255, 255, .78); }
.hero-desc strong { color: #fff; }

.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.chip-float { position: absolute; display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .95rem; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .85rem; font-weight: 650; box-shadow: var(--shadow-3); animation: bob 6s ease-in-out infinite; animation-delay: var(--dl, 0s); --r: var(--rot, 0deg); }
.chip-float .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #dcf7ee; color: var(--mint-ink); }
.chip-float.c2 .dot { background: #fff0cc; color: #8a5a00; }
.chip-float.c3 .dot { background: #e2edff; color: #2456b8; }
.chip-float.c1 { left: 2.5%; top: 210px; --rot: -4deg; }
.chip-float.c2 { right: 2.5%; top: 300px; --rot: 3deg; --dl: -2s; }
.chip-float.c3 { left: 4.5%; top: 500px; --rot: 2deg; --dl: -4s; }
.chip-float.c4 { right: 4.5%; top: 590px; --rot: -3deg; --dl: -1s; }
@media (max-width: 1240px) { .chip-float { display: none; } }

.auth-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 900px; margin: 0 auto; z-index: 3; margin-bottom: -5.5rem; }
.auth-card { background: #fff; color: var(--text); border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow-3); position: relative; }
.auth-card h2 { font-size: 1.45rem; margin-bottom: .3rem; }
.auth-grid .auth-card:first-child { align-self: start; }
.auth-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.auth-card.is-new { isolation: isolate; }
.auth-card.is-new::before { content: ""; position: absolute; inset: -2px; border-radius: 24px; z-index: -1; background: conic-gradient(from var(--ang, 0deg), var(--signal), var(--sun), var(--mint), var(--signal)); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes angle { to { --ang: 360deg; } }
.auth-card.is-new::before { animation: angle 6s linear infinite; }
.auth-card.is-new::after { content: ""; position: absolute; inset: 0; border-radius: 22px; background: #fff; z-index: -1; }
.ribbon { position: absolute; top: -12px; right: 18px; background: var(--mint); color: #053b2e; font-size: .74rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; padding: .32rem .7rem; border-radius: 99px; box-shadow: 0 6px 16px rgba(31, 201, 161, .4); }
.form-link { display: flex; justify-content: space-between; font-size: .88rem; margin-top: .9rem; }

.paper-section { position: relative; background: var(--paper); color: var(--text); padding: 4.5rem 0; }
.paper-section.first { padding-top: 9rem; }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head .kicker { display: inline-block; font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-ink); margin-bottom: .7rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.sources { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 3rem; }
.sources span { font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; padding: .5rem 1.1rem; border-radius: 99px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: st; position: relative; }
.step { position: relative; padding: 1.5rem 1.3rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.step::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: block; font: 750 3.4rem/1 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--signal); margin-bottom: .9rem; transition: color .3s; }
.step:hover::before { color: var(--signal); }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.tile { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-1); overflow: hidden; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.tile.wide { grid-column: span 3; }
.tile.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.dark p { color: rgba(255, 255, 255, .72); }
.tile .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff0e8; color: var(--signal-ink); margin-bottom: 1rem; transition: transform .4s var(--ease); }
.tile:hover .ic { transform: rotate(-8deg) scale(1.08); }
.tile.dark .ic { background: rgba(255, 255, 255, .1); color: var(--sun); }
.tile h3 { font-size: 1.2rem; }
.tile p { color: var(--muted); margin: 0; font-size: .96rem; }
.xyz { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .25); font-size: .88rem; color: rgba(255, 255, 255, .85); }
.xyz b { color: var(--sun); }
.kw-cloud { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.kw-cloud span { padding: .25rem .65rem; border-radius: 99px; background: #eef7f3; color: var(--mint-ink); font-size: .8rem; font-weight: 650; animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * .08s); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.stat { text-align: center; padding: 1.2rem; }
.stat b { display: block; font: 750 clamp(2rem, 4vw, 3rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--ink); }
.stat span { color: var(--muted); font-size: .92rem; }

.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.3rem; max-width: 900px; margin: 0 auto; align-items: stretch; }
.price-card { border-radius: 24px; padding: 2rem; background: var(--ink); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-2); }
.price-card::before { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -120px; background: radial-gradient(circle, rgba(255, 90, 44, .55), transparent 65%); filter: blur(30px); }
.price-card .price { font: 750 4rem/1 var(--font-display); letter-spacing: -.05em; margin: .6rem 0; }
.price-card .price small { font-size: 1.1rem; font-weight: 500; color: rgba(255, 255, 255, .7); letter-spacing: 0; }
.price-card ul, .plain-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.price-card li, .plain-list li { display: flex; gap: .6rem; align-items: flex-start; }
.price-card li .icon { color: var(--mint); margin-top: .2rem; }
.plain-list li .icon { color: var(--mint-ink); margin-top: .2rem; }
.price-side { border-radius: 24px; padding: 2rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.price-side .price { font: 750 2.6rem/1 var(--font-display); letter-spacing: -.04em; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-body); color: var(--signal); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

.notice-box { max-width: 780px; margin: 2rem auto 0; padding: 1rem 1.2rem; border-radius: 14px; background: #fff8e6; border: 1px solid #f3dc9b; color: #6a4a00; font-size: .92rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 2.2rem 16px 2rem; text-align: center; }
.area-app .site-footer, .area-admin .site-footer { background: transparent; color: var(--muted); padding-top: 2.5rem; }
.bc-ad { max-width: 980px; margin: 0 auto 1.8rem; }
.bc-ad-inner { display: flex; align-items: center; gap: 1.2rem; padding: 1rem 1.3rem; border-radius: 18px; text-align: left; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #1a3a5f 0%, #0f4a48 50%, #1a3a5f 100%); background-size: 200% 100%; animation: shimmer 9s linear infinite; border: 1px solid rgba(255, 255, 255, .14); }
.bc-ad-badge { flex: none; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #053b2e; background: var(--mint); padding: .28rem .6rem; border-radius: 99px; }
.bc-ad-text { flex: 1; display: grid; gap: .1rem; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.bc-ad-text strong { font: 700 1.15rem var(--font-display); color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 1.4rem; margin-bottom: .8rem; }
.footer-links a, .copyright a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s; }
.footer-links a:hover, .copyright a:hover { color: var(--signal-2); }
.copyright { margin: 0; font-size: .92rem; }

/* =========================================================================
   Auth-Seiten (Login, Registrierung separat, Passwort)
   ========================================================================= */
.area-auth { background: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
.auth-bg { position: fixed; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 50% 0%, #17304f 0%, var(--ink) 62%); overflow: hidden; }
.auth-bg .b1 { width: 50vw; height: 50vw; left: -14vw; top: -14vw; background: radial-gradient(circle, #1fc9a1, transparent 65%); animation: float1 16s ease-in-out infinite; }
.auth-bg .b2 { width: 44vw; height: 44vw; right: -14vw; bottom: -12vw; background: radial-gradient(circle, #ff5a2c, transparent 62%); animation: float2 19s ease-in-out infinite; }
.auth-top { position: relative; z-index: 2; padding: 1.4rem 1.6rem; }
.auth-main { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: 1rem 16px 3rem; }
.auth-panel { width: min(460px, 100%); }
.area-auth .site-footer { position: relative; z-index: 2; }

/* =========================================================================
   App-Shell
   ========================================================================= */
.area-app, .area-admin { background: var(--paper); }
.shell { display: grid; grid-template-columns: 262px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 1.2rem .9rem; background: var(--ink); color: rgba(255, 255, 255, .8); overflow-y: auto; z-index: 40; }
.area-admin .sidebar { background: linear-gradient(180deg, #1a1030 0%, #0e1a2b 60%); }
.brand-side { padding: .3rem .6rem 1.4rem; }
.side-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); padding: 0 .8rem .5rem; font-weight: 700; }
.side-nav { display: grid; gap: .2rem; }
.side-nav a { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; border-radius: 12px; color: rgba(255, 255, 255, .72); text-decoration: none; font-weight: 550; font-size: .95rem; position: relative; transition: background .2s, color .2s, transform .25s var(--ease); }
.side-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; transform: translateX(3px); }
.side-nav a.active { background: rgba(255, 255, 255, .12); color: #fff; }
.side-nav a.active::before { content: ""; position: absolute; left: -.9rem; top: 18%; bottom: 18%; width: 4px; border-radius: 0 4px 4px 0; background: var(--signal); }
.side-nav a.active .icon { color: var(--signal-2); }
.side-foot { margin-top: auto; padding-top: 1rem; display: grid; gap: .8rem; }
.side-switch { display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; border-radius: 12px; background: rgba(255, 200, 87, .12); color: var(--sun); text-decoration: none; font-weight: 600; font-size: .9rem; }
.side-switch:hover { background: rgba(255, 200, 87, .22); color: var(--sun); }
.side-user { display: flex; align-items: center; gap: .7rem; padding: .7rem; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 700 .9rem var(--font-display); background: linear-gradient(135deg, var(--signal-2), var(--signal)); color: #fff; flex: none; }
.side-user-meta { min-width: 0; flex: 1; display: grid; line-height: 1.25; }
.side-user-meta strong { color: #fff; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-meta small { color: rgba(255, 255, 255, .55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; }
.side-user .icon-btn { color: rgba(255, 255, 255, .7); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 3vw, 2.4rem); position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.topbar-title { font-size: 1.35rem; margin: 0; flex: 1; letter-spacing: -.025em; }
.menu-btn { display: none; }
.balance-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .48rem .5rem .48rem .9rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s; }
.balance-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); color: var(--ink); }
.balance-chip .icon { color: var(--mint-ink); }
.balance-plus { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); color: #fff; }
.content { flex: 1; padding: .6rem clamp(1rem, 3vw, 2.4rem) 1rem; width: 100%; max-width: 1240px; }
.sidebar-scrim { display: none; }

.page-head { margin: .4rem 0 1.4rem; }
.page-head p { color: var(--muted); margin: 0; max-width: 720px; }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem; }
.col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }

/* Dashboard */
.welcome { position: relative; overflow: hidden; border-radius: 22px; padding: 2rem; color: #fff; background: linear-gradient(120deg, var(--ink) 0%, #1c3557 100%); box-shadow: var(--shadow-2); margin-bottom: 1.2rem; }
.welcome::before { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 44, .6), transparent 65%); filter: blur(24px); animation: float2 14s ease-in-out infinite; }
.welcome h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; position: relative; }
.welcome p { color: rgba(255, 255, 255, .78); position: relative; margin-bottom: 1.2rem; max-width: 560px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-1); transition: transform .3s var(--ease); }
.kpi:hover { transform: translateY(-3px); }
.kpi .kpi-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 650; }
.kpi .kpi-value { font: 720 2rem/1.1 var(--font-display); letter-spacing: -.03em; margin-top: .3rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line-2); transition: transform .25s var(--ease); }
.checklist li:hover { transform: translateX(4px); }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: transparent; flex: none; }
.checklist li.done .tick { background: var(--mint); border-color: var(--mint); color: #fff; }
.checklist li.done .txt { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.checklist .txt { flex: 1; font-weight: 550; }

/* Uploadfeld */
.dropzone { border: 2px dashed #cfc5ae; border-radius: 18px; padding: 2rem 1rem; text-align: center; background: var(--paper-2); cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); position: relative; }
.dropzone:hover, .dropzone.drag { border-color: var(--signal); background: #fff4ee; transform: scale(1.01); }
.dropzone .icon { width: 38px; height: 38px; color: var(--signal); margin-bottom: .5rem; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone .file-name { margin-top: .5rem; font-weight: 650; color: var(--mint-ink); }

/* Fortschritts-Overlay (KI-Aufgaben) */
.overlay { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(8, 15, 28, .72); backdrop-filter: blur(6px); padding: 1rem; }
.overlay.show { display: grid; animation: fade .3s both; }
.overlay-card { width: min(460px, 100%); background: #fff; border-radius: 22px; padding: 2rem; box-shadow: var(--shadow-3); text-align: center; animation: rise .5s var(--ease) both; }
.orbit { width: 84px; height: 84px; margin: 0 auto 1.2rem; position: relative; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; }
.orbit::before { border-top-color: var(--signal); animation: spin 1s linear infinite; }
.orbit::after { inset: 12px; border-bottom-color: var(--mint); animation: spin 1.5s linear infinite reverse; }
.orbit i { position: absolute; inset: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--sun), var(--signal)); animation: pulse-ring 1.6s ease-out infinite; }
.overlay-steps { list-style: none; padding: 0; margin: 1.2rem 0 0; text-align: left; display: grid; gap: .55rem; }
.overlay-steps li { display: flex; gap: .7rem; align-items: center; color: #9aa4b2; font-size: .93rem; transition: color .3s; }
.overlay-steps li .d { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d5dbe4; flex: none; display: grid; place-items: center; color: transparent; transition: all .3s; }
.overlay-steps li.active { color: var(--ink); font-weight: 600; }
.overlay-steps li.active .d { border-color: var(--signal); border-top-color: transparent; animation: spin .8s linear infinite; }
.overlay-steps li.done { color: var(--muted); }
.overlay-steps li.done .d { background: var(--mint); border-color: var(--mint); color: #fff; }
.overlay-steps li.done .d svg { width: 11px; height: 11px; }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 300; display: grid; gap: .6rem; }
.toast { background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-3); font-size: .93rem; animation: rise .4s var(--ease) both; max-width: 340px; display: flex; gap: .6rem; align-items: center; }
.toast.error { background: #7f1d27; }
.toast.success .icon { color: var(--mint); }

/* Lebenslauf-Editor */
.editor-section { margin-bottom: 1.2rem; }
.rep-item { position: relative; padding: 1.1rem 1.1rem .4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); margin-bottom: .9rem; animation: rise .4s var(--ease) both; }
.rep-item .rep-remove { position: absolute; top: .5rem; right: .5rem; color: var(--danger); }
.rep-item h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .8rem; font-family: var(--font-body); font-weight: 700; }
.sticky-actions { position: sticky; bottom: 0; z-index: 10; padding: .9rem 0; margin-top: 1rem; background: linear-gradient(0deg, var(--paper) 60%, transparent); display: flex; gap: .7rem; flex-wrap: wrap; }

/* Master / ATS */
.diff-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.diff-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.diff-list .icon { color: var(--mint-ink); margin-top: .2rem; }
.q-list .icon { color: #8a5a00; }
.title-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.title-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.title-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.title-card h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.title-card .why { font-size: .88rem; color: var(--muted); margin-bottom: .7rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { padding: .22rem .6rem; border-radius: 8px; background: var(--line-2); font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.tag.mint { background: #e1f6ee; color: var(--mint-ink); }
.tag.warn { background: #fff0cc; color: #8a5a00; }
.copy-inline { cursor: pointer; border: 0; font: inherit; }
.copy-inline:hover { background: var(--sun); }
.kw-block h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1rem 0 .5rem; font-family: var(--font-body); }
.stale { border-left: 4px solid var(--sun); }

/* Jobs */
.job-list { display: grid; gap: .8rem; }
.job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * .04s); }
.job:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: #d8cfba; }
.job h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.job h3 a { color: var(--ink); text-decoration: none; }
.job h3 a:hover { color: var(--signal-ink); }
.job-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--muted); font-size: .88rem; }
.job-meta span { display: inline-flex; gap: .3rem; align-items: center; }
.score { --p: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 750 .86rem var(--font-display); background: conic-gradient(var(--c, var(--mint)) calc(var(--p) * 1%), var(--line-2) 0); position: relative; }
.score::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.score span { position: relative; }
.score.mid { --c: var(--sun); } .score.low { --c: #c9c2b0; }
.search-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .5rem .4rem .9rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.src-tag { font-size: .72rem; font-weight: 750; padding: .15rem .5rem; border-radius: 6px; background: var(--line-2); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.src-linkedin { background: #e2edff; color: #1d4ea5; } .src-arbeitsagentur { background: #ffe9e6; color: #b3261e; } .src-stellenanzeigen { background: #e8f0ff; color: #1f4a9c; } .src-arbeitnow { background: #efe7ff; color: #5a2ea6; } .src-adzuna { background: #e2f6fb; color: #0b6b83; } .src-stepstone { background: #e5f6ee; color: #0b6b45; } .src-manual { background: #fff0cc; color: #8a5a00; }
.job-desc { white-space: pre-wrap; line-height: 1.65; font-size: .96rem; max-height: 520px; overflow: auto; padding-right: .4rem; }

/* Bewerbung */
.doc-frame { background: #d9d3c4; border-radius: 16px; padding: 1.4rem; overflow: auto; }
.doc-scale { transform-origin: top left; }
.copy-box { position: relative; }
.copy-box pre, .copy-text { white-space: pre-wrap; word-wrap: break-word; font: inherit; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 1rem 1.1rem; margin: 0; max-height: 420px; overflow: auto; font-size: .95rem; line-height: 1.6; }
.copy-box .btn { margin-top: .6rem; }
.progress-steps { display: flex; gap: .4rem; margin: .5rem 0 0; }

/* Coach */
.coach-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.conv-list { display: grid; gap: .4rem; max-height: 60vh; overflow: auto; }
.conv-list a { display: block; padding: .6rem .8rem; border-radius: 10px; text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 550; border: 1px solid transparent; transition: background .2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-list a:hover { background: #fff; }
.conv-list a.active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-1); }
.chat { display: flex; flex-direction: column; min-height: 60vh; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding: .5rem 0 1rem; }
.msg { max-width: 88%; min-width: min(340px, 100%); padding: .9rem 1.1rem; border-radius: 18px; line-height: 1.6; animation: rise .4s var(--ease) both; word-wrap: break-word; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.msg.assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.assistant p:last-child { margin-bottom: 0; }
.msg.assistant ul, .msg.assistant ol { padding-left: 1.2rem; margin: 0 0 1em; }
.msg .cost { display: block; margin-top: .4rem; font-size: .75rem; color: var(--muted); }
.typing { display: inline-flex; gap: 4px; padding: .3rem 0; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: bob 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat-form { position: sticky; bottom: 0; background: linear-gradient(0deg, var(--paper) 70%, transparent); padding-top: .8rem; }
.chat-form-inner { display: flex; gap: .6rem; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .5rem; box-shadow: var(--shadow-1); }
.chat-form textarea { border: 0; box-shadow: none !important; min-height: 48px; max-height: 180px; padding: .6rem .7rem; resize: none; }
.suggest { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.suggest button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: .45rem .9rem; font: 550 .86rem var(--font-body); cursor: pointer; transition: all .2s var(--ease); }
.suggest button:hover { border-color: var(--signal); color: var(--signal-ink); transform: translateY(-2px); }

/* Guthaben */
.topup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .7rem; }
.topup-opt { position: relative; }
.topup-opt input { position: absolute; opacity: 0; }
.topup-opt span { display: block; text-align: center; padding: 1rem .5rem; border: 2px solid var(--line); border-radius: 14px; font: 700 1.25rem var(--font-display); cursor: pointer; background: #fff; transition: all .25s var(--ease); }
.topup-opt span small { display: block; font: 500 .75rem var(--font-body); color: var(--muted); margin-top: .1rem; }
.topup-opt:hover span { border-color: #d4c9b2; transform: translateY(-2px); }
.topup-opt input:checked + span { border-color: var(--signal); background: #fff4ee; box-shadow: 0 8px 20px rgba(255, 90, 44, .18); transform: translateY(-2px); }
.balance-hero { font: 750 3rem/1 var(--font-display); letter-spacing: -.04em; }
.pp-btn { --bg: #ffc439; --fg: #111; }
.pp-btn:hover { color: #111; }

/* Admin */
.area-admin .badge-role { background: #ece4ff; color: #4b2aa0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.inline-form { display: inline; }
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter-bar input, .filter-bar select { width: auto; min-width: 180px; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.pager a, .pager span { padding: .4rem .8rem; border-radius: 9px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; }
.pager span.cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.settings-group { margin-bottom: 1.2rem; }
.settings-group legend { font: 650 1.1rem var(--font-display); padding: 0; margin-bottom: .8rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; font-size: .93rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 550; }
.ok-dot, .bad-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .5rem; }
.ok-dot { background: var(--mint); } .bad-dot { background: var(--danger); }
.logbox { background: var(--ink); color: #cfe3ff; border-radius: 12px; padding: 1rem; max-height: 380px; overflow: auto; font-size: .78rem; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }

/* Rechtstexte */
.legal { background: var(--paper); color: var(--text); padding: 8rem 0 4rem; }
.legal .doc { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 4vw, 3rem); box-shadow: var(--shadow-1); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.2rem; }
.legal li { margin-bottom: .3rem; }
.legal .stand { color: var(--muted); }
.area-public.legal-page .pub-header { background: rgba(14, 26, 43, .95); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .cols > [class*="col-"] { grid-column: span 12; }
  .coach-layout { grid-template-columns: 1fr; }
  .chip-float.c1, .chip-float.c3 { display: none; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; transform: translateX(-102%); transition: transform .35s var(--ease), box-shadow .35s; }
  .sidebar.open { transform: none; box-shadow: var(--shadow-3); }
  .sidebar-scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(8, 15, 28, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .sidebar-scrim.show { opacity: 1; pointer-events: auto; }
  .menu-btn { display: inline-grid; }
  .auth-grid { grid-template-columns: 1fr; margin-bottom: -3rem; }
  .pricing { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pub-nav a:not(.btn) { display: none; }
  .hero { padding-top: 7rem; }
  .chip-float { display: none; }
  .bc-ad-inner { flex-direction: column; text-align: center; }
  .job { grid-template-columns: auto minmax(0, 1fr); }
  .job .job-actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .steps, .bento, .kpis { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .topbar-title { font-size: 1.1rem; }
  .balance-chip span.balance-plus { display: none; }
  .auth-card { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hl svg path { stroke-dashoffset: 0; }
}
