/* ============================================================
   GridLead (gridlead.de) — Styles
   Ästhetik: "Technischer Editorial" — warmes Papier, tiefes Petrol,
   sparsames Amber, Bricolage Grotesque + Instrument Sans + Mono.
   ============================================================ */
:root {
  --petrol: #0E7490;
  --petrol-2: #0B5C74;
  --deep: #0A3542;
  --deeper: #062731;
  --amber: #D97706;
  --amber-soft: #F59E0B;
  --emerald: #059669;
  --red: #DC2626;
  --ink: #10242C;
  --muted: #5B7280;
  --paper: #F6F4EE;
  --surface: #FFFFFF;
  --border: #E4E0D5;
  --border-soft: #EEEAE0;
  --shadow-1: 0 1px 2px rgba(10,40,52,.05), 0 8px 24px rgba(10,40,52,.08);
  --shadow-2: 0 2px 6px rgba(10,40,52,.08), 0 16px 48px rgba(10,40,52,.14);
  --r-card: 16px;
  --r-btn: 10px;
  --fd: "Bricolage Grotesque", sans-serif;
  --fb: "Instrument Sans", sans-serif;
  --fm: "JetBrains Mono", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.1 0 0 0 0 0.12 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { font-family: var(--fd); letter-spacing: -0.02em; line-height: 1.12; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }
.mono { font-family: var(--fm); font-size: 12px; letter-spacing: .04em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: none; border-radius: var(--r-btn); padding: 11px 20px;
  font-weight: 600; font-size: 14px; transition: all .18s ease; text-decoration: none;
}
.btn-primary { background: var(--petrol); color: #fff; box-shadow: 0 2px 10px rgba(14,116,144,.35); }
.btn-primary:hover { background: var(--petrol-2); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 2px 10px rgba(217,119,6,.35); }
.btn-amber:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: #fff; border-color: #cbd5e1; }
.btn-danger { background: #FEF2F2; color: var(--red); border: 1px solid #FECACA; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
/* ---------- Landing: Hero ---------- */
.landing { min-height: 100vh; }
.land-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5vw; position: relative; z-index: 5;
}
.land-nav.on-dark { color: #fff; }
.land-nav .nav-links { display: flex; gap: 26px; align-items: center; font-size: 14.5px; }
.land-nav .nav-links a { text-decoration: none; opacity: .85; }
.land-nav .nav-links a:hover { opacity: 1; }
.land-nav .nav-actions { display: flex; gap: 12px; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--fd); font-weight: 800; font-size: 20px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--petrol); box-shadow: 0 3px 12px rgba(14,116,144,.4); flex-shrink: 0; }
.logo-mark svg { width: 18px; height: 18px; }
.land-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--deeper) 0%, var(--deep) 55%, var(--petrol-2) 120%);
  padding: 40px 5vw 110px; margin-top: -76px; padding-top: 116px;
}
.land-hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  top: -260px; right: -180px; pointer-events: none;
  background: radial-gradient(circle, rgba(245,158,11,.22), transparent 62%);
}
.land-hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  bottom: -300px; left: -160px; pointer-events: none;
  background: radial-gradient(circle, rgba(14,116,144,.35), transparent 65%);
}
.land-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--fm); font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase; color: #FFD9A0;
  border: 1px solid rgba(245,158,11,.35); background: rgba(245,158,11,.1);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-soft); box-shadow: 0 0 10px var(--amber-soft); }
.land-hero h1 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 800; }
.land-hero h1 em { font-style: normal; color: #7DD3FC; }
.land-hero .sub { margin: 22px 0 34px; font-size: 18px; color: #B9CBD3; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta-main { box-shadow: 0 0 0 1px rgba(245,158,11,.5), 0 0 26px rgba(245,158,11,.25); }
.btn-onlight-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-onlight-ghost:hover { background: rgba(255,255,255,.16); }
.hero-meta { margin-top: 36px; display: flex; gap: 34px; color: #8FAAB5; font-size: 13px; }
.hero-meta strong { display: block; font-family: var(--fd); font-size: 22px; color: #fff; }
/* Dashboard-Mockup im Hero */
.mockup {
  position: relative; background: #FDFCF9; border-radius: 18px; padding: 14px;
  box-shadow: 0 30px 80px rgba(3,20,26,.55), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.mockup-bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.mockup-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E4E0D5; }
.mockup-bar i:first-child { background: var(--amber-soft); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-tile { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px; }
.mock-tile.hero-tile { grid-column: span 2; background: linear-gradient(135deg, var(--petrol), #155E75); color: #fff; border: none; }
.mock-tile .mt-label { font-size: 10.5px; font-family: var(--fm); letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.mock-tile .mt-val { font-family: var(--fd); font-weight: 800; font-size: 24px; margin-top: 4px; }
.mock-bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; margin-top: 10px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #7DD3FC, var(--petrol)); opacity: .9; }
.mock-tile ul { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.mock-tile ul li { font-size: 11px; display: flex; justify-content: space-between; color: var(--muted); }
.mock-tile ul li b { color: var(--ink); font-weight: 600; }
/* Trust-Logos */
.trust { display: flex; justify-content: center; gap: 44px; padding: 34px 5vw; flex-wrap: wrap; color: #9AA79E; }
.trust span { font-family: var(--fd); font-weight: 700; font-size: 17px; opacity: .55; letter-spacing: .02em; }
/* Feature-Bento */
.section { max-width: 1200px; margin: 0 auto; padding: 90px 5vw; }
.section-kicker { font-family: var(--fm); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 680px; }
.section .lead-text { margin-top: 16px; color: var(--muted); font-size: 16.5px; max-width: 580px; }
.feature-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 52px; }
.fcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.fcard h3 { font-size: 20px; margin: 16px 0 10px; }
.fcard p { color: var(--muted); font-size: 14.5px; }
.fcard .fnum { font-family: var(--fm); font-size: 11px; color: var(--amber); letter-spacing: .12em; }
.f-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #E0F2FE, #CFFAFE); border: 1px solid #BAE6FD; }
.f-ico svg { width: 22px; height: 22px; stroke: var(--petrol); }
.fc-a { grid-column: span 7; } .fc-b { grid-column: span 5; } .fc-c { grid-column: span 5; } .fc-d { grid-column: span 7; }
/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.testi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-1); }
.testi .quote-mark { font-family: var(--fd); font-size: 44px; color: var(--amber); line-height: 1; }
.testi p { margin: 10px 0 18px; font-size: 14.5px; color: #334155; }
.testi .who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.testi .who b { display: block; }
.testi .who span { color: var(--muted); }
.avatar-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 13px; flex-shrink: 0; }
/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 30px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; position: relative; }
.price-card.hot { border: 2px solid var(--amber); box-shadow: 0 12px 40px rgba(217,119,6,.14); }
.price-card .hot-tag { position: absolute; top: -13px; left: 26px; background: var(--amber); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .05em; }
.price-card .p-name { font-family: var(--fd); font-weight: 700; font-size: 18px; }
.price-card .p-price { font-family: var(--fd); font-size: 38px; font-weight: 800; margin: 14px 0 2px; }
.price-card .p-price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; flex: 1; }
.price-card ul li { font-size: 14px; display: flex; gap: 9px; align-items: flex-start; color: #334155; }
.price-card ul li::before { content: "✓"; color: var(--emerald); font-weight: 700; }
/* CTA-Band + Footer */
.cta-band { background: linear-gradient(150deg, var(--deeper), var(--deep)); border-radius: 24px; color: #fff; padding: 64px; text-align: center; position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto 90px; }
.cta-band::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; top: -220px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(245,158,11,.25), transparent 65%); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); position: relative; }
.cta-band p { color: #B9CBD3; margin: 14px auto 30px; max-width: 460px; position: relative; }
.cta-band form { position: relative; display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.cta-band input { flex: 1; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; border-radius: var(--r-btn); padding: 13px 16px; }
.cta-band input::placeholder { color: #7E98A3; }
.landing-footer { border-top: 1px solid var(--border); padding: 40px 5vw 60px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 13.5px; }
.landing-footer nav { display: flex; gap: 22px; }
.landing-footer nav a { text-decoration: none; }
.landing-footer nav a:hover { color: var(--petrol); }
/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px; position: relative; overflow: hidden; }
.auth-wrap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--deeper), var(--deep) 60%, var(--petrol-2)); }
.auth-wrap::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; top: -240px; right: -160px; background: radial-gradient(circle, rgba(245,158,11,.18), transparent 62%); }
.auth-card { position: relative; z-index: 2; width: 100%; max-width: 440px; background: var(--surface); border-radius: 20px; padding: 38px; box-shadow: 0 40px 100px rgba(3,20,26,.5); animation: riseIn .5s ease both; }
.auth-card h2 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.auth-alt a { color: var(--petrol); font-weight: 600; text-decoration: none; }
.demo-hint { margin-top: 18px; background: #FFF8ED; border: 1px dashed #F5C98A; border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: #92600A; }
.demo-hint b { font-family: var(--fm); font-size: 12px; }
/* ---------- App Shell ---------- */
.shell { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, var(--deep), var(--deeper));
  color: #DCE9EE; display: flex; flex-direction: column; padding: 22px 16px;
  position: sticky; top: 0; height: 100vh;
}
.side-top { display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.plan-badge { align-self: flex-start; font-size: 10.5px; color: #FFD9A0; border: 1px solid rgba(245,158,11,.4); background: rgba(245,158,11,.12); padding: 3px 10px; border-radius: 999px; letter-spacing: .1em; text-transform: uppercase; }
.side-nav { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; flex: 1; }
.side-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px;
  color: #9FBAC4; text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background .15s ease, color .15s ease; position: relative;
}
.side-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-item.active { background: rgba(255,255,255,.1); color: #fff; }
.side-item.active::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.side-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; display: grid; gap: 12px; }
.side-user { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.side-user b { display: block; color: #fff; font-size: 13.5px; }
.side-user span { color: #8FAAB5; font-size: 12px; }
.side-logout { display: flex; align-items: center; gap: 8px; background: none; border: none; color: #8FAAB5; font-size: 13px; padding: 8px 12px; border-radius: 8px; width: 100%; }
.side-logout:hover { background: rgba(220,38,38,.15); color: #FCA5A5; }
.main-col { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 32px; background: rgba(246,244,238,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20;
}
.page-title { font-size: 22px; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topsearch { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; width: 240px; color: var(--muted); }
.topsearch input { border: none; outline: none; background: transparent; width: 100%; font-size: 13.5px; }
.icon-btn { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); position: relative; }
.icon-btn:hover { border-color: #cbd5e1; }
.bell-dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 2px var(--surface); }
.bell-wrap { position: relative; }
.bell-pop { position: absolute; right: 0; top: 46px; width: 320px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-2); padding: 12px; z-index: 50; animation: riseIn .2s ease both; }
.bell-pop-title { color: var(--muted); padding: 4px 8px 10px; text-transform: uppercase; }
.bell-item { display: flex; flex-direction: column; font-size: 13px; padding: 10px 8px; border-radius: 8px; }
.bell-item:hover { background: var(--paper); }
.bell-item span { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.content { padding: 28px 32px 60px; max-width: 1280px; width: 100%; margin: 0 auto; animation: fadeUp .35s ease both; }
/* ---------- Dashboard (Bento) ---------- */
.dash-hello { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.dash-hello h2 { font-size: 26px; }
.dash-hello p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 20px; }
.tile-hero { grid-column: span 7; grid-row: span 2; background: linear-gradient(140deg, var(--deeper), var(--petrol-2)); color: #fff; border: none; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tile-hero::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; top: -120px; background: radial-gradient(circle, rgba(245,158,11,.25), transparent 65%); }
.tile-hero .mt-label { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9FC4D0; }
.tile-hero .mt-val { font-family: var(--fd); font-size: 56px; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.tile-hero .mt-sub { color: #B9CBD3; font-size: 13.5px; }
.hero-chart { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; height: 110px; position: relative; z-index: 2; padding-top: 20px; }
.hero-chart i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, rgba(125,211,252,.9), rgba(14,116,144,.65)); min-height: 8px; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.hero-chart i.hot { background: linear-gradient(180deg, var(--amber-soft), rgba(217,119,6,.7)); }
.kpi { grid-column: span 5; display: flex; flex-direction: column; gap: 6px; }
.kpi .mt-label { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi .mt-row { display: flex; align-items: baseline; gap: 10px; }
.kpi .mt-val { font-family: var(--fd); font-size: 32px; font-weight: 800; }
.kpi .trend { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.trend.up { color: var(--emerald); } .trend.down { color: var(--red); }
.tile-leads { grid-column: span 7; }
.tile-actions { grid-column: span 5; }
.tile-tasks { grid-column: span 12; }
.tile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tile-head h3 { font-size: 16px; }
.link-btn { background: none; border: none; color: var(--petrol); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.link-btn:hover { text-decoration: underline; }
.qa-grid { display: grid; gap: 10px; }
.qa-btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; transition: all .15s ease; font-size: 14px; font-weight: 600; color: var(--ink); }
.qa-btn:hover { border-color: var(--petrol); background: #F0FAFC; transform: translateX(3px); }
.qa-btn .f-ico { width: 36px; height: 36px; }
.qa-btn small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.task-list { list-style: none; display: grid; gap: 8px; }
.task-item { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; font-size: 14px; }
.task-item.done { opacity: .55; text-decoration: line-through; }
.task-check { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #C9D4DA; background: #fff; display: grid; place-items: center; flex-shrink: 0; color: #fff; transition: all .15s ease; }
.task-item.done .task-check { background: var(--emerald); border-color: var(--emerald); }
.task-check svg { width: 12px; height: 12px; opacity: 0; }
.task-item.done .task-check svg { opacity: 1; }
.task-add { display: flex; gap: 8px; margin-top: 10px; }
.task-add input { flex: 1; border: 1px dashed #C9D4DA; border-radius: 10px; padding: 10px 12px; background: transparent; outline: none; }
.task-add input:focus { border-color: var(--petrol); border-style: solid; }
/* Status-Pills */
.pill.st-neu { background: #E0F2FE; color: #0369A1; }
.pill.st-kontaktiert { background: #EDE9FE; color: #6D28D9; }
.pill.st-angebot { background: #FFF3E0; color: #B45309; }
.pill.st-nachfassen { background: #FEF2F2; color: #B91C1C; }
.pill.st-gewonnen { background: #DCFCE7; color: #15803D; }
.pill.st-verloren { background: #F1F5F9; color: #64748B; }
/* Leads-Tabelle */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-family: var(--fm); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--border-soft); }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { cursor: pointer; transition: background .12s ease; }
.tbl tbody tr:hover { background: var(--paper); }
.lead-name { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.lead-name small { display: block; font-weight: 400; color: var(--muted); }
/* ---------- SEO-Prüfung ---------- */
.audit-hero { max-width: 720px; margin-bottom: 24px; }
.audit-hero h2 { font-size: 28px; }
.audit-bar { display: flex; gap: 10px; margin-top: 20px; }
.audit-bar input { flex: 1; border: 1px solid var(--border); border-radius: var(--r-btn); padding: 13px 16px; background: var(--surface); outline: none; }
.audit-bar input:focus { border-color: var(--petrol); }
.audit-note { margin-top: 12px; color: var(--muted); background: #FFF8ED; border: 1px dashed #F5C98A; border-radius: 10px; padding: 10px 14px; }
.audit-note b { color: #92600A; }
.score-dot { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-family: var(--fd); }
.score-dot.good { background: #DCFCE7; color: #15803D; }
.score-dot.mid { background: #FFF3E0; color: #B45309; }
.score-dot.poor { background: #FEF2F2; color: #B91C1C; }
.audit-res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.audit-score-wrap { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.audit-score { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--petrol) calc(var(--p) * 1%), #E7F0F3 0); }
.audit-score b { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--surface); font-family: var(--fd); font-size: 22px; font-weight: 800; }
.audit-findings { display: grid; gap: 12px; }
.finding { display: block; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; font-size: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.finding:hover { border-color: #CBD5E1; }
.finding-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; user-select: none; }
.finding-head-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.finding-head-title { font-weight: 600; color: var(--ink); }
.finding-head-text { color: var(--muted); font-size: 13px; margin-top: 2px; }
.finding-toggle-btn { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--petrol); display: flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.finding-toggle-btn:hover { background: #E7F0F3; border-color: var(--petrol); }
.finding-detail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); display: none; }
.finding.open .finding-detail { display: block; animation: fadeIn .2s ease; }
.finding-section { margin-bottom: 12px; }
.finding-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.finding-impact-box { background: #FFFBEB; border-left: 3px solid #D97706; padding: 9px 13px; border-radius: 6px; font-size: 13px; color: #92400E; margin-bottom: 12px; }
.finding-impact-box.good { background: #DCFCE7; border-left: 3px solid #16A34A; color: #166534; }
.finding-rec-text { font-size: 13.5px; color: #334155; line-height: 1.5; }
.quickfix-code-wrap { position: relative; margin-top: 8px; background: #0F172A; border-radius: 8px; padding: 12px 14px; }
.quickfix-code-wrap pre { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #E2E8F0; white-space: pre-wrap; word-break: break-all; }
.quickfix-copy-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.18); border: none; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 600; padding: 5px 10px; cursor: pointer; transition: background .15s; }
.quickfix-copy-btn:hover { background: rgba(255,255,255,0.35); }

/* Business Impact Banner */
.audit-impact-banner { background: linear-gradient(135deg, #0E7490 0%, #0B5C74 100%); color: #fff; border-radius: 12px; padding: 16px 20px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; box-shadow: 0 4px 14px rgba(14,116,144,.18); }
.audit-impact-main { display: flex; align-items: center; gap: 14px; }
.audit-impact-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.15); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.audit-impact-title { font-size: 15px; font-weight: 700; }
.audit-impact-sub { font-size: 13px; color: rgba(255,255,255,0.85); margin-top: 2px; }
.audit-impact-badge { background: #D97706; color: #fff; padding: 7px 15px; border-radius: 20px; font-weight: 700; font-size: 13px; font-family: var(--fd); letter-spacing: .02em; white-space: nowrap; }
.audit-actions-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
/* ---------- Angebotsgenerator ---------- */
.qg-steps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); margin-bottom: 18px; }
.qg-steps span { display: inline-flex; align-items: center; gap: 7px; }
.qg-steps span.on { color: var(--ink); }
.qg-steps span.on b { background: var(--petrol); color: #fff; }
.qg-steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #DCE5EA; color: var(--ink); font-size: 11.5px; }
.qg-tile { padding: 28px; }
.fld-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 16px 0 6px; }
.fld { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; background: var(--surface); outline: none; transition: border-color .15s ease; }
.fld:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(14,116,144,.12); }
textarea.fld { resize: vertical; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-err { margin-top: 12px; background: #FEF2F2; border: 1px solid #FECACA; color: var(--red); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.qg-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.qg-preview .slides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.slide { background: var(--paper); border: 1px solid var(--border); border-radius: 12px; min-height: 190px; padding: 8px; }
.slide-inner { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 8px; height: 100%; padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 2px 10px rgba(10,40,52,.05); }
.sl-kicker { color: var(--amber); letter-spacing: .12em; }
.sl-title { font-size: 19px; }
.sl-sub { color: var(--muted); font-size: 13.5px; margin-top: auto; }
.sl-list { margin-left: 18px; font-size: 13.5px; display: grid; gap: 6px; color: #334155; }
.sl-foil { background: #FFF8ED; border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 8px; font-size: 13.5px; }
.export-cards { display: grid; gap: 12px; }
.export-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.export-card b { display: block; margin-bottom: 2px; }
.export-card span { color: var(--muted); font-size: 13px; }
/* ---------- Kanban ---------- */
.leads-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.lead-count { color: var(--muted); }
.kanban { display: grid; grid-template-columns: repeat(6, minmax(215px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.kcol { background: #EFEBE1; border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: column; min-height: 420px; transition: border-color .15s ease, background .15s ease; }
.kcol.over { border-color: var(--petrol); background: #E7F3F6; }
.kcol-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-weight: 700; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.kcol-count { background: var(--surface); border-radius: 999px; padding: 2px 9px; color: var(--muted); }
.kcol-body { padding: 10px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kcard { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 13px; cursor: grab; box-shadow: 0 1px 3px rgba(10,40,52,.06); transition: transform .15s ease, box-shadow .15s ease; }
.kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.kcard.dragging { opacity: .45; transform: rotate(2deg); }
.kcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.kcard-top b { font-size: 13.5px; }
.kbranch { font-size: 9.5px; color: var(--amber); border: 1px solid #F5C98A; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.kcard small { color: var(--muted); font-size: 12px; display: block; margin-top: 3px; }
.kcard p { color: #475569; font-size: 12.5px; margin-top: 7px; line-height: 1.45; }
.kcard-foot { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--border); color: var(--muted); font-size: 10.5px; }
.kdrop-hint { border: 1.5px dashed #C9D4DA; border-radius: 10px; padding: 18px; text-align: center; color: var(--muted); font-size: 11px; margin: 4px; }
/* ---------- Drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(6,39,49,.4); backdrop-filter: blur(2px); z-index: 100; opacity: 0; transition: opacity .25s ease; }
.drawer-overlay.open { opacity: 1; }
.drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 94vw); background: var(--surface); box-shadow: -20px 0 60px rgba(6,39,49,.25); padding: 28px; overflow-y: auto; transform: translateX(30px); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.drawer-overlay.open .drawer { transform: translateX(0); }
.drawer-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; cursor: pointer; background: var(--surface); color: var(--muted); }
.drawer-close:hover { color: var(--ink); border-color: #cbd5e1; }
.drawer-head { display: flex; align-items: center; gap: 12px; padding-right: 40px; margin-bottom: 16px; }
.drawer-head .avatar-dot { width: 46px; height: 46px; font-size: 15px; }
.drawer-head div { display: flex; flex-direction: column; flex: 1; }
.drawer-link { display: inline-block; margin-bottom: 16px; color: var(--petrol); text-decoration: none; font-size: 12px; }
.drawer-section { border-top: 1px solid var(--border-soft); padding: 16px 0; }
.drawer-section h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; font-family: var(--fm); }
.note { background: var(--paper); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.note .mono { color: var(--muted); font-size: 10.5px; }
.note p { font-size: 13.5px; margin-top: 3px; }
.note-add { display: flex; gap: 8px; margin-top: 8px; }
.note-add input { flex: 1; border: 1px dashed #C9D4DA; border-radius: 10px; padding: 9px 12px; outline: none; background: transparent; }
.note-add input:focus { border-color: var(--petrol); border-style: solid; }
/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(6,39,49,.45); backdrop-filter: blur(3px); z-index: 110; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s ease; }
.modal-overlay.open { opacity: 1; }
.modal { background: var(--surface); border-radius: 18px; padding: 28px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-2); transform: translateY(14px); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.modal-wide { max-width: 620px; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modal-head h3 { font-size: 20px; }
.modal-text { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
/* ---------- Toast ---------- */
.toast-root { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--deeper); color: #fff; border-radius: 12px; padding: 13px 18px; font-size: 14px; box-shadow: var(--shadow-2); transform: translateY(16px); opacity: 0; transition: all .3s cubic-bezier(.2,.8,.2,1); max-width: 360px; }
.toast.show { transform: translateY(0); opacity: 1; }
.t-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex-shrink: 0; background: var(--emerald); }
.toast.err .t-ico { background: var(--red); }
.toast.warn .t-ico { background: var(--amber); }
/* ---------- Onboarding ---------- */
.ob-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: linear-gradient(160deg, var(--deeper), var(--deep) 70%); }
.ob-card { background: var(--surface); border-radius: 22px; padding: 40px; width: 100%; max-width: 620px; box-shadow: 0 40px 100px rgba(3,20,26,.5); animation: riseIn .5s ease both; }
.ob-steps { display: flex; gap: 10px; align-items: center; color: var(--muted); margin: 24px 0 8px; flex-wrap: wrap; }
.ob-steps span.on { color: var(--amber); font-weight: 600; }
.ob-sep { font-style: normal; opacity: .4; }
.ob-body h2 { font-size: 24px; margin-bottom: 6px; }
.ob-body .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.ob-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.ob-cards .ob-card { text-align: left; background: var(--paper); border: 1.5px solid var(--border); border-radius: 14px; padding: 18px; transition: all .15s ease; }
.ob-cards .ob-card b { display: block; font-family: var(--fd); font-size: 15.5px; }
.ob-cards .ob-card span { color: var(--muted); font-size: 12.5px; }
.ob-cards .ob-card:hover { border-color: #B6C7CF; }
.ob-cards .ob-card.sel { border-color: var(--petrol); background: #E9F6FA; box-shadow: 0 0 0 3px rgba(14,116,144,.12); }
.ob-toggle { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1.5px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-top: 12px; cursor: pointer; transition: border-color .15s ease; }
.ob-toggle:hover { border-color: #B6C7CF; }
.ob-toggle input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--petrol); }
.ob-toggle b { display: block; }
.ob-toggle span { color: var(--muted); font-size: 13px; }
.ob-actions { display: flex; justify-content: space-between; margin-top: 28px; }
/* ---------- Admin ---------- */
.adm-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-tab { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; font-size: 12.5px; color: var(--muted); transition: all .15s ease; }
.adm-tab:hover { color: var(--ink); }
.adm-tab.on { background: var(--deeper); color: #fff; border-color: var(--deeper); }
.adm-body { padding: 28px; }
.adm-body h3 { font-size: 20px; margin-bottom: 6px; }
.admtxt { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.color-row { display: flex; align-items: center; gap: 12px; }
.color-row input[type="color"] { width: 52px; height: 40px; border: 1px solid var(--border); border-radius: 10px; padding: 3px; background: var(--surface); cursor: pointer; }
/* ---------- Empty & Keyframes ---------- */
.empty-mini { text-align: center; color: var(--muted); font-size: 13px; padding: 22px 10px; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.ico { display: inline-grid; place-items: center; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; }
/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kanban { grid-template-columns: repeat(6, 240px); }
  .tile-hero { grid-column: span 12; }
  .kpi, .tile-leads, .tile-actions { grid-column: span 6; }
  .tile-tasks { grid-column: span 12; }
  .land-hero-inner { grid-template-columns: 1fr; }
  .fc-a, .fc-b, .fc-c, .fc-d { grid-column: span 12; }
  .qg-preview .slides { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; bottom: 0; top: auto; height: auto; width: 100%; flex-direction: row; padding: 8px 10px; z-index: 60; align-items: center; }
  .side-top, .side-user, .side-logout { display: none; }
  .side-nav { flex-direction: row; padding: 0; flex: 1; justify-content: space-around; }
  .side-item { flex-direction: column; gap: 4px; font-size: 10.5px; padding: 8px 10px; }
  .side-item.active::before { display: none; }
  .main-col { padding-bottom: 76px; }
  .content { padding: 20px 16px 40px; }
  .topbar { padding: 12px 16px; }
  .topsearch { width: 130px; }
  .fld-row { grid-template-columns: 1fr; }
  .ob-cards { grid-template-columns: 1fr; }
  .testi-grid, .price-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .export-card { flex-direction: column; align-items: flex-start; }
  .audit-bar { flex-direction: column; }
}
/* Review & WhatsApp Modal Styles */
.review-badge { display: inline-flex; align-items: center; gap: 4px; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; border-radius: 6px; font-size: 11px; font-weight: 600; padding: 3px 8px; margin-top: 6px; cursor: pointer; transition: all .15s ease; }
.review-badge:hover { background: #D1FAE5; border-color: #059669; }
.review-preview-box { background: #F8FAFC; border: 1px solid #CBD5E1; border-radius: 10px; padding: 14px 16px; margin: 14px 0; font-size: 13.5px; line-height: 1.55; color: #1E293B; white-space: pre-wrap; font-family: inherit; }
.wa-btn { background: #25D366; color: #fff; font-weight: 600; border: none; border-radius: 8px; padding: 10px 18px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background .15s; font-size: 13.5px; }
.wa-btn:hover { background: #1EBE5D; }


/* ============================================================
   Bento-Grid Scanner & Loss Tacho Lead-Magnet Styles
   ============================================================ */
.scanner-bento-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 32px;
  color: #F8FAFC;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.5);
  margin: 32px 0 48px;
}
.scanner-bento-title {
  font-size: 26px;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 8px;
}
.scanner-bento-sub {
  color: #94A3B8;
  font-size: 15px;
  margin-bottom: 24px;
}
.scanner-input-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.scanner-input-bar input {
  flex: 1;
  min-width: 220px;
  background: #020617;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 14px 18px;
  color: #F8FAFC;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}
.scanner-input-bar input:focus {
  border-color: #F59E0B;
}
.scanner-btn-scan {
  background: #F59E0B;
  color: #0F172A;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.scanner-btn-scan:hover {
  background: #D97706;
  color: #FFFFFF;
}
.scanner-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .scanner-results-grid { grid-template-columns: 1fr; }
}
.scanner-card-tacho {
  background: #020617;
  border: 1px solid #1E293B;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.scanner-tacho-val {
  font-size: 56px;
  font-weight: 900;
  font-family: var(--fd);
  color: #F59E0B;
  line-height: 1;
  margin: 12px 0 4px;
}
.scanner-card-loss {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scanner-loss-badge {
  display: inline-block;
  background: #EF4444;
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 12px;
}
.scanner-loss-val {
  font-size: 38px;
  font-weight: 900;
  color: #F87171;
  font-family: var(--fd);
  line-height: 1.1;
  margin-bottom: 8px;
}
.scanner-lead-gate {
  background: #0F172A;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}
.scanner-gate-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.scanner-gate-form input {
  flex: 1;
  min-width: 180px;
  background: #020617;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 14px;
  color: #FFF;
  font-size: 14px;
}
.einvoice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  margin-top: 8px;
  cursor: pointer;
  text-decoration: none;
}
.einvoice-badge:hover {
  background: #DBEAFE;
}


/* Legal Pages (Impressum, AGB, DSGVO, AVV, TOMs) */
.legal-page { min-height: 100vh; background: var(--bg); padding: 40px 5vw 80px; }
.legal-container { max-width: 880px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 44px 48px; box-shadow: var(--shadow-1); }
.legal-header { margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.legal-header h1 { font-size: 30px; margin-bottom: 8px; font-family: var(--fh); }
.legal-kicker { font-family: var(--fm); font-size: 12px; color: var(--amber); text-transform: uppercase; letter-spacing: 0.1em; display: inline-block; margin-bottom: 8px; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.legal-nav a { padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-size: 13px; text-decoration: none; color: inherit; font-weight: 500; transition: all 0.2s; }
.legal-nav a:hover, .legal-nav a.active { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.legal-content h2 { font-size: 19px; margin: 26px 0 10px; color: var(--petrol); border-bottom: 1px solid var(--border); padding-bottom: 6px; font-family: var(--fh); }
.legal-content h3 { font-size: 15.5px; margin: 18px 0 8px; font-weight: 600; }
.legal-content p, .legal-content li { font-size: 14.5px; line-height: 1.7; color: var(--text); }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content .hinweis { background: rgba(14, 116, 144, 0.08); border-left: 4px solid var(--petrol); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 24px; font-size: 13.5px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--muted); }
.legal-back:hover { color: var(--petrol); }
@media (max-width: 640px) {
  .legal-container { padding: 24px 20px; }
}
