/* ============================================================
   public/shared/seite.css — Look der Startseite fuer Branchen- und
   Ratgeberseiten (22.11.2026, Piet: "Look wie Startseite").
   Werte aus public/index.html: Tokens hell und dunkel, Kopfzeile, Knoepfe,
   Tags, Karten, FAQ, Footer in Spalten. Schriften lokal aus /fonts/
   (kein Google Fonts, CI.md Kapitel 9).
   Liegt nicht unter /branchen/, weil die Route /branchen/:slug jeden Pfad
   dort als Seite behandelt.
   CSS wird ein Jahr immutable gecacht: nach JEDER Aenderung das ?v= in allen
   Seiten hochsetzen, die diese Datei laden (grep "seite.css?v=").
   ============================================================ */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('/fonts/bricolage.woff2') format('woff2');
}

/* Hell ist der Standard (wie auf der Startseite), Dunkel per data-theme. */
:root {
  --green: #25D366; --green-d: #1aad52; --green-text: #25D366;
  --bg: #ffffff; --bg1: #f6f8fa; --bg2: #ffffff;
  --border: #e1e4e9; --border2: #c5cad2;
  --text: #0a0c10; --muted: #4b5563; --muted2: #6b7280;
  --warn: #C2410C;
  --radius: 14px;
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --nav-bg: rgba(255,255,255,.82);
  --card-shadow: 0 1px 3px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.06);
  --chat-bg: #efeae2; --bubble-in: #ffffff; --bubble-out: #d9fdd3; --bubble-text: #0a0c10;
  --plan-bg: rgba(37,211,102,.14);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #080808; --bg1: #101010; --bg2: #161616;
  --border: #252525; --border2: #2e2e2e;
  --text: #f4f4f4; --muted: #a3a3a3; --muted2: #8a8a8a;
  --warn: #fb923c;
  --nav-bg: rgba(8,8,8,.85);
  --card-shadow: none;
  --chat-bg: #0d0d0d; --bubble-in: #1e1e1e; --bubble-out: #005c4b; --bubble-text: #e9edef;
  --plan-bg: rgba(37,211,102,.16);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); }
p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Skip-Link wie auf der Startseite */
.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 10001;
  padding: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--bg);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--green); outline-offset: 2px; }

/* ── Kopfzeile ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.nav-logo { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--text); text-decoration: none; }
.nav-logo span { color: var(--green-text); }
.nav-links { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--green); color: #000; border-radius: 10px; padding: 10px 18px;
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s;
}
.nav-cta:hover { background: var(--green-d); }

/* ── Hero ── */
.hero { padding: 72px 0 64px; }
/* Text links, Beispiel-Chat rechts (wie Text und Handy auf der Startseite). */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.hero-grid .chat { max-width: 460px; justify-self: end; width: 100%; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,211,102,.10); color: var(--text);
  border: 1px solid rgba(37,211,102,.28); border-radius: 100px;
  padding: 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-weight: 500; letter-spacing: -.042em; line-height: 1.02;
  font-size: clamp(40px, 5.4vw, 72px); margin: 22px 0 26px; max-width: 16ch;
}
.hero h1 .line-green { color: var(--green-text); font-weight: 600; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 640px; }
.lead b { color: var(--text); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #000; border-radius: 12px; padding: 14px 26px;
  font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s;
}
.btn-primary:hover { background: var(--green-d); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text); border: 1px solid var(--border2); border-radius: 12px;
  padding: 14px 26px; font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s;
}
.btn-secondary:hover { border-color: var(--green); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 13px; color: var(--muted); font-weight: 500; }

/* ── Abschnitte ── */
.block { padding: 72px 0; }
.block.alt { background: var(--bg1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin: 0 auto 40px; max-width: 720px; }
.section-header .tag { margin-bottom: 18px; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 14px; }
.section-title .accent { color: var(--green-text); }
.section-subtitle { font-size: 17px; color: var(--muted); line-height: 1.7; }

/* Beispiel-Chat + Hinweise */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.chat {
  background: var(--chat-bg); border: 1px solid var(--border); border-radius: 22px;
  padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--card-shadow);
}
.chat-head { font-size: 13px; font-weight: 700; color: var(--text); padding: 0 4px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.chat-head span { color: var(--muted); font-weight: 500; }
.msg { max-width: 86%; padding: 8px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; color: var(--bubble-text); box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.msg.in { background: var(--bubble-in); align-self: flex-start; border-top-left-radius: 4px; }
.msg.out { background: var(--bubble-out); align-self: flex-end; border-top-right-radius: 4px; }
.chat-foot { font-size: 12px; color: var(--muted); text-align: center; padding-top: 6px; }
.points { display: flex; flex-direction: column; gap: 18px; }
.note { border-left: 3px solid var(--green); padding: 2px 0 2px 16px; font-size: 15.5px; color: var(--muted); line-height: 1.65; }
.note b { color: var(--text); }
.note.stop { border-left-color: var(--warn); }
.note.stop b { color: var(--warn); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.four .card { padding: 22px 20px; }
.cards.four .card h3 { font-size: 16px; }
.cards.four .card p { font-size: 14px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 10px;
}
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.card p b { color: var(--text); }
.plan {
  align-self: flex-start; background: var(--plan-bg); color: var(--text);
  border-radius: 100px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
}

/* Gruender */
.founder {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 24px; padding: 36px; box-shadow: var(--card-shadow);
  max-width: 900px; margin: 0 auto;
}
.founder img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.founder blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 27px); font-weight: 500; letter-spacing: -.02em; line-height: 1.32; }
.founder cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--muted); }
.founder cite b { color: var(--text); }

/* FAQ, offen statt Akkordeon */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.faq-item h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* Abschluss */
.cta-inner { text-align: center; background: var(--bg1); border: 1px solid var(--border); border-radius: 28px; padding: 64px 32px; }
.cta-inner .btns { justify-content: center; }
.cta-inner .lead { margin: 0 auto; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.copy { appearance: none; border: 1px solid var(--border2); background: var(--bg2); color: var(--text); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.text-link { color: var(--text); font-weight: 700; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ── Ratgeber: Hero ohne Chat, Fliesstext und nummerierte Schritte ── */
.hero-single { max-width: 820px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; margin: 0 0 16px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 0 0 16px; }
.prose p b { color: var(--text); }
.prose .note { margin-top: 8px; }
.steps { list-style: none; counter-reset: step; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 16px 20px 16px 62px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 16px; line-height: 1.6; color: var(--muted);
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 15px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #000;
  font-weight: 800; font-size: 14px; line-height: 28px; text-align: center;
}
.steps li b { color: var(--text); }

@media (max-width: 900px) {
  .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid .chat { justify-self: start; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .hero { padding: 44px 0 40px; }
  .lead { font-size: 16px; }
  .btns a { width: 100%; justify-content: center; }
  .block { padding: 52px 0; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; padding: 26px 22px; text-align: left; }
  .founder img { width: 88px; height: 88px; }
  .cta-inner { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
