/* ==========================================================================
   Wilscher – IT Consulting GmbH · Landing Page
   Schriften: lokal gehostet (keine Verbindung zu Google Fonts)
   Farbwelten: über [data-palette] auf <html> umschaltbar
   ========================================================================== */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* --------------------------------------------------------------------------
   Farbwelten (aus dem Design-Canvas «Wilscher ITC Landing Page»)
   --ink          Haupttext und dunkle Flächen
   --bg           Seitenhintergrund
   --surface      Karten
   --soft         abgesetzte helle Sektion
   --line         Linien auf hell
   --soft-line    Linien auf --soft
   --muted        Sekundärtext auf hell
   --accent       Akzent auf dunklem Grund (Buttons, Zahlen)
   --on-accent    Text auf --accent
   --accent-text  Akzent als Text auf hellem Grund (kontrastgeprüft)
   --accent-dark  Akzent als Text auf dunklem Grund
   --mark         mittleres Lagerfach im Logo auf hellem Grund
   --dark-text    Sekundärtext auf dunkel
   --dark-muted   Labels auf dunkel
   --dark-line    Linien auf dunkel
   --dark-border  Rahmen von Sekundärbuttons auf dunkel
   --r-btn/--r-card  Ecken (04 ist bewusst eckig)
   -------------------------------------------------------------------------- */

/* 01 Graphit & Lime (Standard) */
:root,
[data-palette="graphit-lime"] {
  --ink: #111315; --bg: #F7F7F5; --surface: #FFFFFF; --soft: #ECEDE9;
  --line: #E2E3E0; --soft-line: #D6D8D3; --muted: #5B6168;
  --accent: #C6F432; --on-accent: #111315; --accent-text: #4D6B00; --accent-dark: #C6F432; --mark: #8DB800;
  --dark-text: #C4C7CB; --dark-muted: #9599A0; --dark-line: #2A2D31; --dark-border: #4A4E54;
  --r-btn: 999px; --r-card: 16px;
}

/* 03 Petrol & Koralle */
[data-palette="petrol-koralle"] {
  --ink: #0F2E2E; --bg: #F4F3EF; --surface: #FFFFFF; --soft: #E9E7E0;
  --line: #DCDAD3; --soft-line: #CFCCC3; --muted: #50615F;
  --accent: #FF6A4D; --on-accent: #0F2E2E; --accent-text: #B83A20; --accent-dark: #FF8A73; --mark: #FF6A4D;
  --dark-text: #C3D0CE; --dark-muted: #93A7A5; --dark-line: #244746; --dark-border: #4C6B6A;
  --r-btn: 999px; --r-card: 16px;
}

/* 04 Schwarz & Schweizer Rot */
[data-palette="schwarz-rot"] {
  --ink: #0A0A0A; --bg: #FFFFFF; --surface: #FFFFFF; --soft: #F5F5F5;
  --line: #E2E2E2; --soft-line: #D4D4D4; --muted: #5A5A5A;
  --accent: #E30613; --on-accent: #FFFFFF; --accent-text: #C8050F; --accent-dark: #FF5A62; --mark: #E30613;
  --dark-text: #C8C8C8; --dark-muted: #9A9A9A; --dark-line: #2A2A2A; --dark-border: #4A4A4A;
  --r-btn: 0; --r-card: 0;
}

/* 06 Waldgrün & Mint */
[data-palette="waldgruen-mint"] {
  --ink: #0E2A22; --bg: #F3F5F2; --surface: #FFFFFF; --soft: #E7ECE8;
  --line: #D9DFDA; --soft-line: #CBD3CD; --muted: #52625B;
  --accent: #3DDC97; --on-accent: #0E2A22; --accent-text: #1F7A52; --accent-dark: #3DDC97; --mark: #22B07A;
  --dark-text: #BFD0C8; --dark-muted: #8FA79C; --dark-line: #224238; --dark-border: #46655B;
  --r-btn: 999px; --r-card: 16px;
}

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent-text); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--accent-dark); }

.container { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px;
}
.dark .eyebrow { color: var(--accent-dark); }
.h2 { font-size: clamp(32px, 4.2vw, 44px); }
.lead { font-size: 18px; color: var(--muted); }
.dark { background: var(--ink); color: var(--bg); }
.dark .lead { color: var(--dark-text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

/* Platzhalter für noch offene Angaben: bewusst auffällig */
.ph {
  display: inline-block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.82em; font-weight: 500;
  padding: 2px 8px; border: 1.5px dashed currentColor; border-radius: 4px; letter-spacing: 0.02em; line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 14px 26px; border-radius: var(--r-btn); font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--on-accent); }
.btn-ghost { color: var(--bg); border-color: var(--dark-border); font-weight: 600; }
.btn-ghost:hover { color: var(--bg); border-color: var(--dark-text); }
.btn-ink { background: var(--ink); color: var(--bg); padding: 12px 20px; min-height: 44px; }
.btn-ink:hover { color: var(--bg); }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.brand-name small { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; margin-top: 5px; color: var(--muted); }
.logo .bin { fill: var(--ink); }
.logo .bin-accent { fill: var(--mark); }
.dark .logo .bin { fill: var(--bg); }
.dark .logo .bin-accent { fill: var(--accent); }

.main-nav ul { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn) { display: inline-block; padding: 12px 0; text-decoration: none; }

@media (max-width: 960px) {
  .site-header .container { flex-wrap: wrap; padding-block: 12px 0; }
  .main-nav { width: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav ul { gap: 22px; white-space: nowrap; padding-bottom: 8px; }
  .main-nav .btn-ink { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 961px) { .header-cta { display: none; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: center; padding-block: 96px 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero .eyebrow { margin: 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.025em; }
.hero p.lead { font-size: 19px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { border: 1px solid var(--dark-line); border-radius: var(--r-card); }
.facts li { display: flex; align-items: baseline; gap: 20px; padding: 26px 30px; border-bottom: 1px solid var(--dark-line); }
.facts li:last-child { border-bottom: 0; }
.facts strong { flex: none; min-width: 64px; font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--accent-dark); }
.facts span { font-size: 16px; color: var(--dark-text); }
[data-palette="schwarz-rot"] .facts { border: 0; border-top: 4px solid var(--accent); }
[data-palette="schwarz-rot"] .facts li { padding-inline: 0; }
[data-palette="schwarz-rot"] .facts strong { color: var(--bg); }

/* --------------------------------------------------------------------------
   Sektionen allgemein
   -------------------------------------------------------------------------- */
.section { padding-block: 112px 104px; }
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 56px; align-items: end; margin-bottom: 56px; }
.section-head .lead { max-width: 560px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band-soft { background: var(--soft); border-top: 1px solid var(--line); }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 34px 32px; display: flex; flex-direction: column; gap: 12px; }
.card-key { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; color: var(--muted); }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.card p { font-size: 16px; color: var(--muted); }

/* Branchen & Themen */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; align-items: start; }
.sub-label { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.industry-list { border-top: 2px solid var(--ink); }
.industry-list li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.industry-list .mono { font-size: 13px; color: var(--muted); padding-top: 4px; }
.industry-list h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.industry-list p { grid-column: 2; font-size: 16px; color: var(--muted); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics li { font-size: 15px; font-weight: 500; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--bg); }
.topics li.key { border-color: var(--ink); }
.topics-note { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Vorgehen */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 0 0; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 12px; }
.step-no { display: flex; align-items: center; gap: 12px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.step-no svg { flex: none; }
.step-no .bin { fill: var(--soft-line); }
.step-no .bin.on { fill: var(--ink); }
.step-no .bin.now { fill: var(--mark); }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.step p { font-size: 16px; color: var(--muted); }
.step ul { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.step li { display: flex; gap: 10px; }
.step li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; background: var(--ink); }
.activate { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; color: var(--muted); }
.activate ol { display: flex; flex-wrap: wrap; gap: 6px; }
.activate li { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; padding: 4px 10px; background: var(--soft); border-radius: 4px; color: var(--ink); }

/* Werte */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px; }
.value { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.value h3 { font-size: 26px; }
.value p { font-size: 17px; color: var(--muted); }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 1080px) { .about { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); } .about-facts { grid-column: 1 / -1; } }
@media (max-width: 680px) { .about { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 280px; } }
.portrait {
  aspect-ratio: 4 / 5; border: 2px dashed var(--soft-line); border-radius: var(--r-card); background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--muted);
}
.portrait svg { width: 64px; height: 64px; }
.portrait .ph { color: var(--accent-text); font-size: 13px; }
.about h2 { margin-bottom: 10px; }
.about .role { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.about-text p + p { margin-top: 16px; }
.about-facts { border-top: 2px solid var(--ink); }
.about-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--soft-line); }
.about-facts dt { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); padding-top: 3px; }
.about-facts dd { margin: 0; font-size: 16px; }
@media (max-width: 420px) { .about-facts div { grid-template-columns: 1fr; gap: 4px; } }

/* Kontakt */
.contact .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: start; padding-block: 104px 88px; }
.contact h2 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 20px; }
.contact .lead { max-width: 480px; }
.offer { margin-top: 32px; padding: 20px 22px; border: 1.5px dashed var(--dark-border); border-radius: var(--r-card); max-width: 480px; }
.offer .ph { color: var(--accent-dark); font-size: 12px; margin-bottom: 10px; }
.offer p { color: var(--dark-text); font-size: 16px; }
.offer strong { color: var(--bg); }
.contact-list { border-top: 1px solid var(--dark-line); }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--dark-line); text-decoration: none; color: var(--bg); }
a.contact-row:hover { color: var(--accent-dark); }
.contact-row > span { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact-row small { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.14em; color: var(--dark-muted); }
.contact-row b { font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; overflow-wrap: anywhere; }
.contact-row em { font-style: normal; font-size: 15px; color: var(--dark-text); }
.contact-row em .ph { color: var(--accent-dark); }
.contact-row svg { flex: none; stroke: var(--accent-dark); }

.site-footer { border-top: 1px solid var(--dark-line); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; font-size: 14px; color: var(--dark-muted); }
.site-footer .brand { color: var(--bg); }
.site-footer .brand-name small { color: var(--dark-muted); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-meta .ph { color: var(--accent-dark); }
.footer-meta a { color: var(--dark-text); }
.footer-meta a:hover { color: var(--accent-dark); }

/* Unterseiten (Impressum, Datenschutz) */
.legal { max-width: 760px; padding-block: 80px 104px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal address { font-style: normal; color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal .ph { color: var(--accent-text); }
.legal-note { margin-bottom: 32px; padding: 16px 20px; border: 1.5px dashed var(--accent-text); border-radius: 8px; font-size: 15px; color: var(--ink); }

/* --------------------------------------------------------------------------
   Farbwahl (nur Vorschau, vor dem Livegang entfernen)
   -------------------------------------------------------------------------- */
.palette-switch {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12); font-size: 13px; max-width: calc(100vw - 32px);
}
.palette-switch legend { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.palette-switch fieldset { border: 0; margin: 0; padding: 0; }
.palette-switch .opts { display: flex; flex-wrap: wrap; gap: 6px; clear: both; }
.palette-switch button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer;
}
.palette-switch button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.palette-switch i { display: inline-flex; width: 22px; height: 14px; border-radius: 3px; overflow: hidden; }
.palette-switch i::before, .palette-switch i::after { content: ""; flex: 1; }
.palette-switch [data-set="graphit-lime"] i::before { background: #111315; } .palette-switch [data-set="graphit-lime"] i::after { background: #C6F432; }
.palette-switch [data-set="petrol-koralle"] i::before { background: #0F2E2E; } .palette-switch [data-set="petrol-koralle"] i::after { background: #FF6A4D; }
.palette-switch [data-set="schwarz-rot"] i::before { background: #0A0A0A; } .palette-switch [data-set="schwarz-rot"] i::after { background: #E30613; }
.palette-switch [data-set="waldgruen-mint"] i::before { background: #0E2A22; } .palette-switch [data-set="waldgruen-mint"] i::after { background: #3DDC97; }
@media (max-width: 600px) { .palette-switch { left: 16px; right: 16px; } .palette-switch button span { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
@media print {
  .site-header { position: static; }
  .palette-switch { display: none; }
}

/* Beispiellager-Teaser */
.lager-teaser .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; align-items: center; }
.lager-teaser .lead { margin-block: 20px 28px; max-width: 540px; }
.lager-grid { width: 100%; max-width: 460px; justify-self: center; }
.lager-grid .g-bins rect { fill: none; stroke: var(--dark-border); stroke-width: 1.5; }
.lager-grid .g-on { fill: var(--accent); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); text-decoration: none; color: var(--ink); }
.post-card:hover { color: var(--ink); border-color: var(--ink); }
.post-meta { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.post-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.post-card p { font-size: 16px; color: var(--muted); }
.post-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--accent-text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; padding: 3px 9px; background: var(--soft); border-radius: 4px; color: var(--ink); }
.blog-all { margin-top: 32px; }
.blog-all a { font-weight: 700; color: var(--accent-text); }
.page-head { padding-block: 80px 48px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }

/* Artikel */
.article { max-width: 760px; padding-block: 72px 96px; }
.article .back { display: inline-block; margin-bottom: 32px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent-text); }
.article h1 { font-size: clamp(32px, 4.6vw, 46px); margin-bottom: 20px; }
.article .post-meta { margin-bottom: 16px; }
.article .tags { margin-bottom: 48px; }
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 2em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; letter-spacing: -0.01em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin-inline: 0; padding: 16px 20px; background: var(--soft); border-radius: 8px; font-size: 16px; }
.prose blockquote > * + * { margin-top: 0.6em; }
.prose code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.86em; padding: 1px 6px; background: var(--soft); border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose a { color: var(--accent-text); font-weight: 600; }
.palette-switch { padding-right: 40px; }
.palette-switch .palette-close { position: absolute; top: 6px; right: 6px; min-height: 30px; width: 30px; justify-content: center; padding: 0; border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--muted); }

/* Branchen als Raster (ohne Zusatztexte) */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 32px; }
.industry-grid li { border-bottom: 1px solid var(--line); padding: 24px 0; }

/* Leistungen: 7 Karten in 4 Spalten */
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Kennzahlen: Zahlen gleich breit, damit die Texte bündig stehen (Platz für «13+») */
.facts strong { min-width: 2em; }
@media (max-width: 480px) { .facts li { padding-inline: 22px; gap: 14px; } .facts strong { font-size: 44px; } }

/* Porträtfoto */
.portrait-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-card); }
@media (max-width: 680px) { .portrait-photo { max-width: 280px; } }

/* ---------- Hero-Animation: Stapler lagert das Akzentfach ein ---------- */
.hero-anim { margin: 0; justify-self: center; width: 100%; max-width: 440px; }
.hero-anim svg { display: block; width: 100%; height: auto; overflow: hidden; }
.ha-ground { stroke: var(--dark-line); stroke-width: 2; }
.ha-bins rect { fill: var(--bg); }
.ha-slot { fill: none; stroke: var(--dark-border); stroke-width: 2; stroke-dasharray: 6 5; }
.ha-box { fill: var(--accent); }
.ha-body, .ha-mast { fill: var(--dark-border); }
.ha-mast-x { fill: var(--dark-muted); }
.ha-inner { fill: var(--dark-text); }
.ha-chain { stroke: var(--dark-border); stroke-width: 1.5; stroke-dasharray: 2 2; }
.ha-backrest { fill: none; stroke: var(--dark-text); stroke-width: 2.5; stroke-linecap: round; }
.ha-fork { fill: var(--dark-text); }
.ha-tilt { stroke: var(--dark-muted); stroke-width: 3; stroke-linecap: round; }
.ha-panel { stroke: var(--dark-muted); stroke-width: 1; opacity: .5; }
.ha-stripe { fill: var(--accent); }
.ha-battery { fill: var(--dark-line); }
.ha-led { fill: var(--dark-muted); }
.ha-led-on { fill: var(--accent); }
.ha-light { fill: var(--bg); }
.ha-guard { fill: none; stroke: var(--dark-text); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.ha-roof { stroke: var(--dark-text); stroke-width: 5; stroke-linecap: round; }
.ha-beacon { fill: var(--accent); }
.ha-seat { fill: var(--dark-muted); }
.ha-steer { stroke: var(--dark-muted); stroke-width: 3; stroke-linecap: round; }
.ha-steer-w { fill: none; stroke: var(--dark-text); stroke-width: 2.5; }
.ha-tire { fill: #1d1f22; stroke: var(--dark-border); stroke-width: 1.5; }
.ha-rim > circle:first-child { fill: var(--dark-muted); }
.ha-bolt { fill: var(--dark-line); }
.ha-rim { transform-box: fill-box; transform-origin: center; }
.ha-spot { fill: var(--accent); opacity: .55; }
/* Endzustand (ohne Animation): Fach belegt, Stapler weg */
.ha-truck { transform: translateX(340px); }
.ha-box { transform: translate(0, -174px); }
@media (prefers-reduced-motion: no-preference) {
  .play .ha-truck, .play .ha-carriage, .play .ha-box { animation: 7s cubic-bezier(.45,0,.3,1) .4s both; }
  .play .ha-truck { animation-name: ha-truck; }
  .play .ha-carriage { animation-name: ha-lift; }
  .play .ha-box { animation-name: ha-box; }
  .play .ha-rim { animation: 7s cubic-bezier(.45,0,.3,1) .4s both ha-roll; }
}
@keyframes ha-truck { 0% { transform: translateX(-300px); } 28% { transform: translateX(0); } 74% { transform: translateX(0); } 100% { transform: translateX(340px); } }
@keyframes ha-roll { 0% { transform: rotate(0); } 28%, 74% { transform: rotate(-430deg); } 100% { transform: rotate(-920deg); } }
@keyframes ha-lift  { 0%, 30% { transform: translateY(0); } 52% { transform: translateY(-174px); } 56% { transform: translateY(-174px); } 72%, 100% { transform: translateY(0); } }
@keyframes ha-box   { 0% { transform: translate(-300px, 0); } 28%, 30% { transform: translate(0, 0); } 52%, 100% { transform: translate(0, -174px); } }

/* Kennzahlen als Zeile unter dem Hero */
.hero .facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero .facts li { flex-direction: column; align-items: flex-start; gap: 12px; border-bottom: 0; border-right: 1px solid var(--dark-line); }
.hero .facts li:last-child { border-right: 0; }
[data-palette="schwarz-rot"] .hero .facts li { padding-inline: 0 24px; border-right: 0; }
@media (max-width: 760px) {
  .hero .facts { grid-template-columns: 1fr; }
  .hero .facts li { flex-direction: row; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .hero .facts li:last-child { border-bottom: 0; }
}
.hero .container { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
@media (max-width: 900px) { .hero .container { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero-anim { max-width: 360px; } }
@media (prefers-reduced-motion: no-preference) {
  .wait .ha-truck, .wait .ha-box { transform: translate(-300px, 0); }
}

/* Weihnachtsmann auf dem Stapler (html.xmas, im Dezember) */
.ha-santa { display: none; }
.xmas .ha-santa { display: inline; }
.ha-santa .s-red { fill: #D62828; }
.ha-santa .s-leg, .ha-santa .s-arm { fill: none; stroke: #D62828; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ha-santa .s-arm { stroke-width: 5; }
.ha-santa .s-white { fill: #F7F7F5; }
.ha-santa .s-black, .ha-santa .s-boot { fill: #1d1f22; }
.ha-santa .s-gold { fill: none; stroke: #E9B949; stroke-width: 1.4; }
.ha-santa .s-skin { fill: #F2C7A5; }
.ha-santa .s-nose { fill: #E8907A; }
.palette-switch .xmas-toggle i { display: none; }

/* Osterhase auf dem Stapler (html.ostern, Palmsonntag bis Ostermontag) */
.ha-bunny { display: none; }
.ostern .ha-bunny { display: inline; }
.xmas .ha-bunny { display: none; }
.ha-bunny .b-fur { fill: #B98A62; }
.ha-bunny .b-dark { fill: #9A7050; }
.ha-bunny .b-light { fill: #F3E6D6; }
.ha-bunny .b-pink { fill: #F2A3B3; }
.ha-bunny .b-eye { fill: #1d1f22; }
.ha-bunny .b-leg, .ha-bunny .b-arm { fill: none; stroke: #B98A62; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ha-bunny .b-arm { stroke-width: 5; }
.ha-bunny .b-whisk { stroke: #F3E6D6; stroke-width: .7; stroke-linecap: round; }
.ha-bunny .b-bow { fill: #4AA3DF; }
.ha-bunny .e1 { fill: #F6A6C1; }
.ha-bunny .e2 { fill: #FFD95A; }
.ha-bunny .e3 { fill: #8EC9F0; }
.ha-bunny .e-deco { fill: none; stroke: #FFFFFF; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.ha-bunny .e-dot { fill: #FFFFFF; }
.ha-bunny .b-basket { fill: #C99A5B; }
.ha-bunny .b-weave { stroke: #9C7442; stroke-width: .9; }
.ha-bunny .b-rim { fill: #A97C45; }
.ha-bunny .b-strap { stroke: #8B6438; stroke-width: 2.2; stroke-linecap: round; }
.ha-bunny .b-grass { fill: none; stroke: #7CC35B; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.ha-bunny .b-bow { fill: #B79CE8; }

/* ---------- Sprachumschalter: runder Knopf mit Dropdown ---------- */
.lang-switch { position: relative; flex: none; order: 2; }
.lang-switch summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.lang-switch summary svg { display: block; width: 30px; height: 30px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 150px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.lang-option { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.lang-option:hover { background: var(--soft); color: var(--ink); }
.lang-option svg { width: 26px; height: 26px; flex: none; }
.site-header .main-nav { order: 1; margin-left: auto; }
@media (max-width: 960px) {
  .lang-switch { order: 0; margin-left: auto; }
  .site-header .header-cta { order: 0; }
  .site-header .main-nav { margin-left: -24px; }
}
/* Schmale Handys: Kontakt-Knopf oben weg, dafür «Kontakt» als Link in der Navigationszeile */
@media (max-width: 600px) {
  .site-header .header-cta { display: none; }
  .site-header .main-nav .btn-ink { display: inline-block; background: none; color: var(--ink); padding: 12px 0; min-height: 0; border-radius: 0; font-weight: 500; font-size: inherit; }
}
.hero-copy { min-width: 0; } .hero h1 { hyphens: auto; overflow-wrap: break-word; }
.hero .facts { min-width: 0; } .hero .facts span { min-width: 0; hyphens: auto; overflow-wrap: break-word; }

/* Erfahrungsjahre in der Kennzahl: gleiche Grösse und Farbe wie das «+» */
.facts strong .exp-yrs { font-size: inherit; color: inherit; hyphens: none; }
