/* Emploza Produktwebseite (EM#156)
 * Statisch, ohne Build und ohne externe Abrufe: Schrift lokal, keine CDNs, kein Tracking.
 * Farben aus dem App-Design "Trusted Slate" (frontend/src/styles/globals.css).
 */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #3d52a0;
  --brand-hover: #2e3f82;
  --brand-deep: #243070;
  --brand-subtle: #e8ebf5;
  --brand-muted: #c5cbe8;
  --accent: #e8673a;
  --accent-subtle: #fdeee7;
  --ok: #1f8a5b;
  --ok-subtle: #e3f4ec;
  --warn: #b7791f;
  --warn-subtle: #fbf1dd;
  --bg: #f4f5fb;
  --surface: #ffffff;
  --surface-2: #f9faff;
  --fg: #1a1d35;
  --fg-muted: #4a4f6e;
  --fg-subtle: #6b7090;
  --border: #dfe2f0;
  --shadow: 0 1px 2px rgba(26, 29, 53, 0.06), 0 8px 24px rgba(26, 29, 53, 0.08);
  --shadow-lg: 0 2px 6px rgba(26, 29, 53, 0.08), 0 24px 60px rgba(36, 48, 112, 0.18);
  --radius: 14px;
  --radius-sm: 9px;
  --max: 1180px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6b7fd4;
    --brand-hover: #8293dd;
    --brand-deep: #a8b4ea;
    --brand-subtle: #1c2140;
    --brand-muted: #2c3463;
    --accent: #f08a62;
    --accent-subtle: #3a2219;
    --ok: #4cc38a;
    --ok-subtle: #12301f;
    --warn: #e0a645;
    --warn-subtle: #33270f;
    --bg: #0d0f1e;
    --surface: #151830;
    --surface-2: #1a1e3a;
    --fg: #eceefa;
    --fg-muted: #b5bad6;
    --fg-subtle: #8c92b5;
    --border: #282d52;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 24px 60px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

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

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.6em; color: var(--fg); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--fg); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: #141834; color: #eceefa; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p, .section--dark li { color: #c4c9e6; }
.section--dark a { color: #b9c4ff; }
.section--dark .v { color: #6fe0a8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.section--dark .eyebrow { color: #9fb0ff; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--fg-muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--fg-subtle); }
.small { font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 1.2rem; color: var(--fg); text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--fg-muted); text-decoration: none; font-weight: 560; font-size: 0.97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); background: var(--brand-subtle); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; color: var(--fg); cursor: pointer; font: inherit; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-cta .btn--ghost { display: none; }
}
.nav-cta .btn { white-space: nowrap; }
@media (max-width: 480px) { .nav-cta .btn { padding: 9px 12px; font-size: 0.88rem; } .brand { font-size: 1.05rem; } .nav-toggle { padding: 8px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 11px; font-weight: 680; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--accent:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.05); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface); color: var(--fg); }
.btn--light { background: #fff; color: #1a1d35; }
.btn--light:hover { background: #eef0fb; color: #1a1d35; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--outline-light:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: -1;
  background:
    radial-gradient(520px 320px at 78% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(420px 260px at 12% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .hl { background: linear-gradient(100deg, var(--brand), #7b5cd6 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; color: var(--fg-muted); font-size: 0.98rem; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.check { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-subtle); color: var(--ok); display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 3px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* Produktbild (HTML-Illustration) */
.mock { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.82rem; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: block; }
.mock-url { flex: 1; text-align: center; color: var(--fg-subtle); font-size: 0.75rem; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 360px; }
.mock-side { border-right: 1px solid var(--border); padding: 14px 10px; display: grid; gap: 4px; align-content: start; background: var(--surface-2); }
.mock-side span { padding: 7px 10px; border-radius: 7px; color: var(--fg-muted); font-weight: 560; }
.mock-side span.on { background: var(--brand-subtle); color: var(--brand); }
.mock-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--surface); }
.tile b { display: block; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--fg); }
.tile small { color: var(--fg-subtle); }
.tile .up { color: var(--ok); font-weight: 700; font-size: 0.72rem; }
.rows { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--border); align-items: center; color: var(--fg-muted); }
.row:first-child { border-top: 0; background: var(--surface-2); font-weight: 650; color: var(--fg-subtle); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.row strong { color: var(--fg); font-weight: 650; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.pill--ok { background: var(--ok-subtle); color: var(--ok); }
.pill--brand { background: var(--brand-subtle); color: var(--brand); }
.pill--warn { background: var(--warn-subtle); color: var(--warn); }
.pill--accent { background: var(--accent-subtle); color: var(--accent); }
.mock-float {
  position: relative; z-index: 2; margin: -26px 18px 0 auto; width: 270px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 0.8rem;
}
.mock-float .who { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.mock-float .ai { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--brand), #7b5cd6); color: #fff; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; }
.hero-visual { position: relative; }
.mock-caption { margin-top: 10px; font-size: 0.78rem; color: var(--fg-subtle); text-align: center; }
@media (max-width: 560px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .mock-float { width: auto; margin: -16px 12px 0; } .tiles { grid-template-columns: repeat(2, 1fr); } .tiles .tile:nth-child(3) { display: none; } }

/* Vertrauensleiste */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: var(--fg-muted); font-weight: 600; font-size: 0.95rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--brand); }

/* Raster und Karten */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(26,29,53,0.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-muted); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--fg-muted); margin: 0; }
.card ul { margin: 12px 0 0; color: var(--fg-muted); font-size: 0.97rem; }
.card ul li { margin: 4px 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 650; text-decoration: none; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-subtle); color: var(--brand); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.icon--accent { background: var(--accent-subtle); color: var(--accent); }
.icon--ok { background: var(--ok-subtle); color: var(--ok); }

/* Problem / Loesung */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card { padding: 28px; }
.compare .before { background: var(--surface-2); }
.compare ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.compare li { display: flex; gap: 10px; }
.x { color: #c2410c; font-weight: 800; }
.v { color: var(--ok); font-weight: 800; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Feature-Zeilen */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; }
.feature-row + .feature-row { border-top: 1px dashed var(--border); }
.feature-row.reverse .feature-text { order: 2; }
.feature-text ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feature-text li { display: flex; gap: 10px; color: var(--fg-muted); }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } .feature-row.reverse .feature-text { order: 0; } }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; font-size: 0.86rem; }
.panel-title { font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.timeline .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-subtle); color: var(--brand); font-weight: 800; font-size: 0.8rem; }
.timeline .meta { color: var(--fg-subtle); font-size: 0.78rem; }
.bar { height: 8px; border-radius: 99px; background: var(--brand-subtle); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7b5cd6); border-radius: 99px; }
.chat { display: grid; gap: 10px; }
.bubble { padding: 10px 12px; border-radius: 12px; max-width: 92%; }
.bubble.me { background: var(--brand); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.bubble.bot { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.confirm { margin-top: 8px; display: flex; gap: 8px; }
.confirm span { padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 0.78rem; }
.confirm .yes { background: var(--ok); color: #fff; }
.confirm .no { border: 1px solid var(--border); color: var(--fg-muted); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.section--dark .stat { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.stat b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; color: var(--brand); }
.section--dark .stat b { color: #fff; }
.stat span { color: var(--fg-muted); font-size: 0.95rem; }
.section--dark .stat span { color: #c4c9e6; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Schritte */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 24px; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow); }
.step p { color: var(--fg-muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Kurz gesagt (GEO: zitierfaehige Zusammenfassung) */
.tldr { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: 12px; padding: 20px 22px; }
.tldr h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 8px; }
.tldr p { margin: 0; color: var(--fg-muted); }

/* Tabelle */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; color: var(--fg); }
tr:last-child td { border-bottom: 0; }
td { color: var(--fg-muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq.center { margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 680; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ul { color: var(--fg-muted); margin: 0 0 16px; }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 22px; padding: clamp(36px, 6vw, 64px);
  background: radial-gradient(600px 300px at 90% 0%, rgba(232,103,58,0.35), transparent 60%), linear-gradient(135deg, #243070, #3d52a0 55%, #5b46b8);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; max-width: 22ch; }
.cta p { color: #dfe3fb; max-width: 60ch; font-size: 1.12rem; }

/* Seitenkopf Unterseiten */
.page-hero { padding: clamp(44px, 7vw, 84px) 0 clamp(24px, 4vw, 40px); }
.breadcrumb { font-size: 0.88rem; color: var(--fg-subtle); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.breadcrumb a { color: var(--fg-subtle); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--fg-muted); }
.note { background: var(--warn-subtle); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); color: var(--fg); padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--fg-muted); font-weight: 600; font-size: 0.9rem; }
.toc a:hover { border-color: var(--brand); color: var(--brand); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-list span { padding: 5px 11px; border-radius: 999px; background: var(--brand-subtle); color: var(--brand); font-weight: 650; font-size: 0.85rem; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-subtle); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--fg-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--fg-subtle); font-size: 0.88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Einblenden beim Scrollen: nur wenn JS laeuft (Klasse js auf html) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* EM#156: Sprachumschalter im Kopfbereich (de, en, fr, it) */
.lang-switch { display: flex; gap: 2px; align-items: center; margin-right: 4px; }
.lang-switch a { display: inline-block; padding: 6px 7px; border-radius: 6px; color: var(--fg-muted); text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }
.lang-switch a:hover { color: var(--fg); background: var(--brand-subtle); }
.lang-switch a[aria-current="true"] { color: var(--brand); background: var(--brand-subtle); }
/* Desktop: Umschalter neben den Schaltflaechen; Mobil: im aufklappbaren Menue (sonst zu breit). */
.nav-lang { display: none; }
@media (max-width: 920px) {
  .nav-cta .lang-switch { display: none; }
  .nav-lang { display: block; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; }
  .nav-links .nav-lang .lang-switch a { display: inline-block; padding: 8px 12px; font-size: 0.9rem; }
}
