/* ==========================================================================
   hoerl Information Management — Designsystem (03-DESIGN.md)
   Ein Stylesheet für alle Seiten. Farbwelt seit Okt. 2026: Dunkelgrün & Weiß
   (Freigabe Auftraggeber). Variablennamen bleiben, nur die Werte sind neu.
   ========================================================================== */
:root {
  --ink: #171A17;
  --bg: #FFFFFF;
  --pine: #17402F;
  --pine-2: #10301F;
  --leaf: #2E7050;
  --sage: #EDF3EE;
  --lime: #A8D5B5;
  --muted: #5F6B64;
  --line: #DCE5DF;
  --maxw: 1200px;

  /* Abstufungen bestehender Töne */
  --pine-3: #245540;
  --pine-tint: rgba(23, 64, 47, .06);
  --lime-tint: rgba(168, 213, 181, .18);
  --paper: #F6F8F6;
  --on-pine: #E6F2EA;
  --on-pine-2: #B3CCBD;
  --muted-on-ink: #A9ADA3;
  --muted-text: #4F5B54;   /* dunklere Stufe von --muted für Text (Kontrast ≥ 4,5:1) */
  --leaf-text: #24603F;    /* dunklere Stufe von --leaf für Text */

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --t-display: clamp(2.75rem, 1.6rem + 4.2vw, 4.5rem);
  --t-h1: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem);
  --t-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --t-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms; --dur: 260ms; --dur-slow: 480ms;

  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(23, 64, 47, .04), 0 20px 44px -24px rgba(23, 64, 47, .22);
  --head: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-5)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: var(--body); font-size: var(--t-body); line-height: 1.65; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--pine); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--lime); }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 200; background: var(--pine); color: #fff; padding: var(--s-3) var(--s-5); border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: var(--s-4); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }
@media (min-width: 768px) { .wrap { padding: 0 var(--s-7); } }
.section { padding: var(--s-7) 0; position: relative; }
@media (min-width: 768px) { .section { padding: var(--s-9) 0; } }
.section.tight-top { padding-top: 0; }
.surface { background: var(--sage); }
.dark { background: var(--pine); color: var(--on-pine); }
.measure { max-width: 68ch; }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }

/* ---------- Typo ---------- */
.section-tag { display: inline-block; font-size: var(--t-micro); line-height: 1.4; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-text); margin-bottom: var(--s-4); }
.dark .section-tag, .contact .section-tag { color: var(--lime); }
.title { font-size: var(--t-h2); max-width: 24ch; }
.sub { color: var(--muted-text); max-width: 62ch; font-size: 1.0625rem; margin-top: var(--s-4); }
.dark .title { color: #fff; }
.dark .sub { color: var(--on-pine-2); }
.section-head { margin-bottom: var(--s-7); }
.section-head.center { text-align: center; }
.section-head.center .title, .section-head.center .sub { margin-left: auto; margin-right: auto; }
mark { background: linear-gradient(transparent 62%, var(--lime) 62%); color: inherit; padding: 0 .06em; }
.arrlink { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 700; border-bottom: 2px solid var(--lime); padding-bottom: 2px; transition: border-color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease); }
.arrlink:hover { border-color: var(--pine); gap: var(--s-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: var(--s-3) var(--s-5); border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; border: 1.5px solid transparent; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.btn.solid { background: var(--pine); color: #fff; }
.btn.solid:hover { background: var(--pine-2); transform: translateY(-1px); }
.btn.line { border-color: var(--ink); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.dark .btn.solid, .contact .btn.solid { background: var(--lime); color: var(--pine); }
.dark .btn.line { border-color: rgba(255, 255, 255, .4); color: #fff; }
.dark .btn.line:hover { background: #fff; color: var(--pine); }
.btn.sm { min-height: 40px; padding: var(--s-2) var(--s-4); font-size: var(--t-small); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo b { font-family: 'Canela', 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 1.65rem; letter-spacing: -.01em; line-height: 1; }
.logo b i { font-style: normal; color: var(--leaf-text); }
.logo small { font-family: 'Manrope', sans-serif; font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-text); }
.nav { display: none; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 6px; padding: var(--s-2) var(--s-4); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .98rem; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.nav-top:hover, .nav-top[aria-current="page"] { background: var(--pine-tint); color: var(--pine); }
.nav-top svg { width: 12px; height: 12px; transition: transform var(--dur-fast) var(--ease); }
.nav-item[data-open] .nav-top svg { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: var(--s-2); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast); }
.drop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item[data-open] .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--ink); font-size: .95rem; font-weight: 500; }
.drop a:hover { background: var(--sage); color: var(--pine); }
.drop a.ext::after { content: " ↗"; color: var(--leaf-text); }
.nav-cta { margin-left: var(--s-3); }
.burger { display: inline-flex; align-items: center; min-height: 40px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 18px; font-weight: 700; font-size: .875rem; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; background: var(--paper); padding: var(--s-5); overflow-y: auto; display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav p { font-size: var(--t-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-text); margin: var(--s-5) 0 var(--s-2); }
.mobile-nav a { display: block; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mobile-nav .btn { margin-top: var(--s-6); width: 100%; border: 0; color: #fff; }
body.nav-open { overflow: hidden; }
@media (min-width: 1060px) { .nav { display: flex; } .burger { display: none; } }

/* ---------- Hero ---------- */
.hero .wrap { display: grid; gap: var(--s-7); padding-top: var(--s-8); padding-bottom: var(--s-8); align-items: center; }
@media (min-width: 1020px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; padding-top: var(--s-9); padding-bottom: var(--s-9); } }
.hero h1 { font-size: var(--t-display); line-height: 1.02; letter-spacing: -.03em; margin-bottom: var(--s-5); }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--muted-text); max-width: 34rem; }
.hero .note { margin-top: var(--s-6); display: flex; gap: var(--s-3); align-items: center; color: var(--muted-text); font-size: var(--t-small); }
.hero .note b { color: var(--ink); }
.hero .note .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }
.panel { background: var(--sage); border-radius: 24px; padding: var(--s-5); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.panel .float { animation: float 4s ease-in-out infinite; }
.panel .float-delay { animation: float 4s ease-in-out infinite; animation-delay: -2s; }

/* ---------- Band (Leistungsbegriffe) ---------- */
.ticker { background: var(--pine); color: var(--on-pine); overflow: hidden; padding: var(--s-4) 0; }
.ticker .track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.ticker span { font-family: var(--head); font-weight: 700; font-size: 1.05rem; white-space: nowrap; padding: 0 var(--s-4); display: flex; align-items: center; gap: var(--s-6); }
.ticker i { font-style: normal; color: var(--lime); font-size: .8em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Karten ---------- */
.card { background: #fff; border-radius: var(--radius-lg); padding: var(--s-6); box-shadow: 0 0 0 1px var(--line) inset; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
a.card { color: inherit; display: block; }
a.card:hover, .card.hover:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--pine) inset, var(--shadow); }
.card h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.card p { color: var(--muted-text); font-size: var(--t-small); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage); display: grid; place-items: center; margin-bottom: var(--s-5); }
.card .icon svg { width: 24px; height: 24px; stroke: var(--pine); fill: none; stroke-width: 1.6; }
.grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Lösungszeilen ---------- */
.rows { display: grid; gap: var(--s-9); }
.row { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1020px) { .row { grid-template-columns: 1fr 1fr; gap: var(--s-8); } .row:nth-child(even) .media { order: 2; } }
.row .media { background: var(--sage); border-radius: 24px; padding: var(--s-5); }
.row h3 { font-size: var(--t-h3); margin: var(--s-2) 0 var(--s-3); }
.row p { color: var(--muted-text); max-width: 32rem; }
.checks { margin: var(--s-5) 0 var(--s-6); display: grid; gap: var(--s-3); }
.checks li { display: flex; gap: var(--s-3); align-items: baseline; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); border: 1.5px solid var(--pine); transform: translateY(1px); }
.dark .checks li { color: var(--on-pine); }

/* ---------- Fakten ---------- */
.facts { display: grid; gap: 1px; background: var(--pine-3); border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--s-7); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--pine-2); padding: var(--s-6); }
.fact b { display: block; font-family: var(--head); font-size: 1.6rem; font-weight: 800; color: var(--lime); margin-bottom: var(--s-2); }
.fact span { color: var(--on-pine-2); font-size: var(--t-small); }

/* ---------- Leistungen ---------- */
.svclist { border-top: 1.5px solid var(--ink); }
.svc { display: grid; gap: var(--s-3); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); align-items: baseline; color: inherit; }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr 1.6fr auto; gap: var(--s-6); } }
.svc h3 { font-size: var(--t-h3); transition: color var(--dur-fast) var(--ease); }
.svc:hover h3 { color: var(--pine); }
.svc p { color: var(--muted-text); }
.svc .go { display: none; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; place-items: center; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); align-self: center; }
@media (min-width: 900px) { .svc .go { display: grid; } }
.svc:hover .go { background: var(--pine); border-color: var(--pine); color: #fff; transform: rotate(-45deg); }

/* ---------- Prozess ---------- */
.process { display: grid; gap: var(--s-5); counter-reset: st; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .process { grid-template-columns: repeat(5, 1fr); } }
.process li { position: relative; padding-top: var(--s-7); border-top: 2px solid var(--line); }
.process li::before { counter-increment: st; content: counter(st); position: absolute; top: -18px; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: .95rem; }
.process b { display: block; font-family: var(--head); font-weight: 800; margin-bottom: var(--s-1); }
.process span { color: var(--muted-text); font-size: var(--t-small); }

/* ---------- Mittelstandsoffensive ---------- */
.mso { background: var(--ink); color: #E3E5DF; }
.mso .title { color: #fff; max-width: 30ch; }
.mso .sub { color: var(--muted-on-ink); }
.mso-grid { display: grid; gap: var(--s-7); margin-top: var(--s-7); }
@media (min-width: 900px) { .mso-grid { grid-template-columns: 1fr 1fr; } }
.mso h3 { color: #fff; font-size: var(--t-h3); margin-bottom: var(--s-4); }
.mso-text p { color: var(--muted-on-ink); margin-bottom: var(--s-4); }
.mso-checks { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.mso-checks li { color: var(--muted-on-ink); padding-left: var(--s-6); position: relative; font-size: var(--t-small); }
.mso-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime-tint); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: .72rem; }
.mso-checks strong { color: #fff; }
.mso-cards { display: grid; gap: var(--s-4); }
.mso-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: var(--s-6); }
.mso-card b { font-family: var(--head); font-weight: 800; color: #fff; font-size: 1.1rem; display: block; }
.mso-card .chip { margin: var(--s-2) 0 var(--s-3); background: var(--lime-tint); color: var(--lime); }
.mso-card p { color: var(--muted-on-ink); font-size: var(--t-small); }
.mso .actions .btn.solid { background: var(--lime); color: var(--pine); }
.mso .actions .btn.line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.mso .actions .btn.line:hover { background: #fff; color: var(--ink); }

/* ---------- Chips & Status ---------- */
.chip { display: inline-flex; width: fit-content; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--sage); color: var(--pine); border-radius: 999px; padding: 4px 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; background: var(--lime-tint); color: var(--pine); }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill[data-status="prep"] { background: var(--sage); color: var(--muted-text); }

/* ---------- ASIM-Lab (Simulation) ---------- */
.duo { font-family: var(--head); font-weight: 800; font-size: .95rem; display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s-4); }
.duo .x { color: var(--leaf-text); }
.duo .a { background: var(--ink); color: var(--lime); border-radius: 8px; padding: 2px 10px; }
.lab { margin-top: var(--s-7); display: grid; gap: var(--s-5); }
@media (min-width: 1020px) { .lab { grid-template-columns: .9fr 1.35fr; } }
.cases { display: grid; gap: var(--s-3); align-content: start; }
.case { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: var(--s-4) var(--s-5); text-align: left; position: relative; transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.case:hover { border-color: var(--pine); transform: translateX(4px); }
.case b { display: block; font-family: var(--head); font-weight: 800; color: var(--ink); }
.case span { font-size: .86rem; color: var(--muted-text); display: block; line-height: 1.45; }
.case em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf-text); display: block; margin-top: var(--s-2); }
.case[aria-pressed="true"] { border-color: var(--pine); background: var(--pine); }
.case[aria-pressed="true"] b { color: #fff; }
.case[aria-pressed="true"] span { color: var(--on-pine-2); }
.case[aria-pressed="true"] em { color: var(--lime); }
.sim { background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; box-shadow: 6px 6px 0 var(--sage); }
.sim .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); background: var(--bg); }
.sim .bar b { font-family: var(--head); font-weight: 800; }
.sim .state { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-text); display: flex; align-items: center; gap: var(--s-2); white-space: nowrap; }
.sim .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); animation: pulse 1s ease infinite; }
.sim .state.done { color: var(--pine); }
.sim .state.done .pulse { animation: none; background: var(--pine); }
@keyframes pulse { 50% { opacity: .25; } }
.sim .log { padding: var(--s-2) var(--s-5); flex: 1; min-height: 250px; }
.logline { display: flex; gap: var(--s-3); align-items: baseline; padding: var(--s-3) 0; border-bottom: 1px dashed var(--line); opacity: 0; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.logline.show { opacity: 1; transform: none; }
.logline:last-child { border-bottom: 0; }
.logline .tick { flex: 0 0 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--leaf); display: grid; place-items: center; font-size: .68rem; font-weight: 800; color: #fff; transform: translateY(3px); }
.logline.ok .tick { background: var(--pine); border-color: var(--pine); }
.logline .txt { font-size: .94rem; }
.logline em { font-style: normal; background: linear-gradient(transparent 68%, var(--lime) 68%); font-weight: 700; }
.sim .result { margin: 0 var(--s-5) var(--s-4); border-radius: var(--radius); background: var(--sage); padding: var(--s-4); display: flex; justify-content: space-between; gap: var(--s-3); align-items: center; flex-wrap: wrap; opacity: 0; transition: opacity var(--dur) var(--ease); }
.sim .result.show { opacity: 1; }
.sim .result b { font-family: var(--head); font-weight: 800; color: var(--pine); }
.sim .result span { font-size: .8rem; font-weight: 700; background: var(--lime); border-radius: 999px; padding: 5px 14px; white-space: nowrap; }
.sim .foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line); flex-wrap: wrap; }
.sim .foot small { color: var(--muted-text); font-size: .8rem; }
.sim .replay { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: .85rem; }
.sim .replay:hover { background: var(--ink); color: #fff; }

/* ---------- ASIM Produkt-Suite (High-End, dunkel) ---------- */
.suite { background: radial-gradient(90% 60% at 85% 0%, rgba(168, 213, 181, .14), transparent 60%), var(--pine-2); color: var(--on-pine); overflow: hidden; }
.suite .title { color: #fff; }
.suite .sub { color: var(--on-pine-2); }
.suite .section-tag { color: var(--lime); }
.suite mark { background: linear-gradient(transparent 62%, rgba(168, 213, 181, .45) 62%); }
.suite .duo .a { background: var(--lime); color: var(--pine); }
.suite .duo .x { color: var(--lime); }
.bento { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: var(--s-3); min-height: 300px;
  padding: var(--s-6); border-radius: 24px; overflow: hidden; color: var(--on-pine);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(168, 213, 181, .16), transparent 45%); transition: opacity var(--dur) var(--ease); }
.product-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; background: radial-gradient(300px circle at var(--mx) var(--my), var(--lime), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity var(--dur) var(--ease); }
.product-card:hover, .product-card:focus-within { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 30px 60px -30px rgba(0, 0, 0, .5); }
.product-card:hover::before, .product-card:hover::after, .product-card:focus-within::before, .product-card:focus-within::after { opacity: 1; }
.product-card .pc-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.pc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--lime); background: linear-gradient(145deg, rgba(168, 213, 181, .25), rgba(168, 213, 181, .06)); box-shadow: 0 0 0 1px rgba(168, 213, 181, .3) inset; transition: transform var(--dur) var(--ease); }
.pc-icon svg { width: 24px; height: 24px; }
.product-card:hover .pc-icon { transform: rotate(-6deg) scale(1.05); }
.product-card h3 { font-size: var(--t-h3); color: #fff; }
.product-card h3 a { color: inherit; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.product-card h3 a:focus-visible { outline: none; }
.product-card:has(h3 a:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.product-card .claim { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-top: calc(var(--s-2) * -1); }
.product-card .desc { color: var(--on-pine-2); font-size: var(--t-small); }
.product-card .status-pill { background: rgba(168, 213, 181, .16); color: var(--lime); }
.product-card .status-pill[data-status="prep"] { background: rgba(255, 255, 255, .08); color: var(--on-pine-2); }
.product-card .pc-foot { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.product-card .price { font-family: var(--head); font-weight: 700; font-size: .95rem; color: #fff; }
.pc-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; color: #fff; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pc-go svg { width: 16px; height: 16px; }
.product-card:hover .pc-go { background: var(--lime); color: var(--pine); box-shadow: none; transform: scale(1.08); }
.product-card.is-muted { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 10px, transparent 10px 20px); }
.product-card.is-featured { background: radial-gradient(120% 90% at 100% 0%, rgba(168, 213, 181, .22), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); }
.pc-does { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
.pc-does li { position: relative; padding-left: var(--s-5); font-size: var(--t-small); color: #CFE3D6; }
.pc-does li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: rgba(168, 213, 181, .3); box-shadow: 0 0 0 1px var(--lime) inset; }
.pc-graphic { display: none; color: var(--lime); margin-top: var(--s-2); }
.pc-graphic svg { width: 100%; height: auto; }
.flow-lines path { stroke-opacity: .55; stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
.flow-nodes rect { fill: rgba(168, 213, 181, .08); stroke: currentColor; stroke-opacity: .5; }
.flow-hub { fill: rgba(168, 213, 181, .2); stroke: currentColor; animation: hub 2.4s var(--ease) infinite; transform-origin: 260px 95px; }
.flow-text { fill: #fff; }
@keyframes flow { to { stroke-dashoffset: -20; } }
@keyframes hub { 50% { transform: scale(1.08); } }
@media (min-width: 1020px) {
  .product-card.is-featured { grid-column: span 2; grid-row: span 2; padding: var(--s-7); }
  .product-card.is-featured h3 { font-size: var(--t-h1); }
  .product-card.is-featured .desc { font-size: 1.0625rem; max-width: 46ch; }
  .product-card.is-featured .pc-does { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-6); }
  .product-card.is-featured .pc-icon { width: 64px; height: 64px; border-radius: 18px; }
  .product-card.is-featured .pc-icon svg { width: 32px; height: 32px; }
  .pc-graphic { display: block; }
}

/* ---------- Preise ---------- */
.price-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }
.price-card { background: #fff; border-radius: var(--radius-lg); padding: var(--s-6); box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; }
.price-card.is-featured { background: var(--pine); color: var(--on-pine); box-shadow: none; }
.price-card .name { font-family: var(--head); font-weight: 800; font-size: 1.1rem; border-bottom: 2px solid var(--lime); padding-bottom: 2px; width: fit-content; margin-bottom: var(--s-4); }
.price-card.is-featured .name { color: #fff; }
.price-card .amount { font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -.03em; line-height: 1.1; }
.price-card .amount small { font-size: .5em; font-weight: 500; letter-spacing: 0; opacity: .75; }
.price-card .desc { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1.5px solid var(--line); color: var(--muted-text); font-size: .92rem; flex: 1; }
.price-card.is-featured .desc { border-color: rgba(255, 255, 255, .15); color: var(--on-pine-2); }
.price-card .extra { margin-top: var(--s-3); font-size: .85rem; font-weight: 700; color: var(--leaf-text); }
.price-card.is-featured .extra { color: var(--lime); }
.price-note { margin-top: var(--s-6); font-size: .88rem; color: var(--muted-text); max-width: 60ch; }

/* ---------- Bridge-Band (gleiche Struktur wie ASIM) ---------- */
.bridge-band { display: grid; gap: var(--s-5); align-items: center; padding: var(--s-7) var(--s-6); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--lime-tint), transparent 60%), #fff; box-shadow: 0 0 0 1px var(--line) inset; }
@media (min-width: 900px) { .bridge-band { grid-template-columns: auto 1fr auto; gap: var(--s-6); padding: var(--s-7); } }
.bridge-band__logo { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 6px; box-shadow: 0 0 0 1px var(--line) inset; }
.bridge-band__kicker { font-size: var(--t-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-text); }
.bridge-band__text { font-family: var(--head); font-size: var(--t-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-top: var(--s-2); max-width: 46ch; }
.bridge-band__sub { color: var(--muted-text); margin-top: var(--s-2); font-size: var(--t-small); max-width: 62ch; }
.bridge-band__products { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.bridge-band__products a { display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 14px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; font-size: var(--t-small); font-weight: 700; color: var(--pine); transition: box-shadow var(--dur-fast) var(--ease); }
.bridge-band__products a span { font-weight: 500; color: var(--muted-text); }
.bridge-band__products a:hover { box-shadow: 0 0 0 1px var(--pine) inset; }

/* ---------- Unternehmen ---------- */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1020px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.figure { position: relative; margin: 0; }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.figure figcaption { position: absolute; bottom: var(--s-3); right: var(--s-4); background: rgba(0, 0, 0, .6); color: #fff; font-size: .7rem; padding: 4px 10px; border-radius: 6px; }

/* ---------- Partner ---------- */
.pfilter { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-6); }
.pfilter button { border: 1.5px solid var(--line); border-radius: 999px; padding: var(--s-2) var(--s-4); font-weight: 600; font-size: .9rem; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.pfilter button:hover { border-color: var(--pine); }
.pfilter button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.partnergrid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .partnergrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .partnergrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; flex-direction: column; gap: var(--s-3); }
.pcard[hidden] { display: none; }
.pcard .plogo { height: 48px; display: flex; align-items: center; gap: var(--s-3); font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.pcard .plogo img { max-height: 36px; max-width: 150px; width: auto; object-fit: contain; }
.pcard .ptags { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.pcard p { flex: 1; }
.pcard .plink { font-size: .85rem; font-weight: 700; color: var(--pine); display: inline-flex; gap: 6px; }
.pcard .plink::after { content: "↗"; }
.pcard .plink.int::after { content: "→"; }
.pcard.is-house { background: var(--pine); color: var(--on-pine); box-shadow: none; }
@media (min-width: 1020px) { .pcard.is-house { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); padding: var(--s-7); } }
.pcard.is-house .plogo { color: #fff; }
.pcard.is-house .plogo img { background: #fff; border-radius: 10px; padding: 6px; max-height: 48px; }
.pcard.is-house p { color: var(--on-pine-2); font-size: 1rem; }
.pcard.is-house .chip { background: rgba(168, 213, 181, .2); color: var(--lime); }
.pcard.is-house .plink { color: var(--lime); }
.pnote { margin-top: var(--s-5); color: var(--muted-text); font-size: .9rem; max-width: 70ch; }
.pnote strong { color: var(--ink); }

/* ---------- Logo-Laufband (identische Struktur wie ASIM) ---------- */
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee + .logo-marquee { margin-top: var(--s-3); }
.logo-marquee__track { display: flex; width: max-content; animation: slide 70s linear infinite; }
.logo-marquee.is-reverse .logo-marquee__track { animation-direction: reverse; animation-duration: 80s; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__set { display: flex; gap: var(--s-3); padding-right: var(--s-3); }
.client { display: grid; place-items: center; width: 168px; height: 72px; padding: var(--s-3) var(--s-5); border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.client img { max-height: 32px; max-width: 120px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.client:hover img { filter: none; opacity: 1; }
.client span { font-weight: 700; font-size: var(--t-micro); letter-spacing: .06em; color: var(--muted-text); text-transform: uppercase; white-space: nowrap; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { padding-top: var(--s-4); border-top: 1.5px solid var(--ink); }
.stat-tile b { display: block; font-family: var(--head); font-size: var(--t-h1); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--pine); }
.stat-tile span { display: block; margin-top: var(--s-3); font-size: var(--t-micro); line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-text); }

/* ---------- Kontakt ---------- */
.contact { background: var(--ink); color: #F2F3EF; }
.contact .wrap { display: grid; gap: var(--s-7); align-items: end; }
@media (min-width: 1020px) { .contact .wrap { grid-template-columns: 1.15fr .85fr; } }
.contact h2 { font-size: var(--t-display); color: #fff; letter-spacing: -.03em; }
.contact h2 span { color: var(--lime); }
.contact p { color: var(--muted-on-ink); margin-top: var(--s-4); max-width: 32rem; font-size: 1.0625rem; }
.contact .box { border: 1px solid #3A3E38; border-radius: var(--radius-lg); padding: var(--s-6); }
.contact .lbl { font-size: var(--t-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-ink); }
.contact address { font-style: normal; line-height: 1.85; margin: var(--s-2) 0 var(--s-4); color: #DADDD5; }
.contact .box a { color: #fff; font-weight: 700; border-bottom: 2px solid var(--lime); }
.contact .box a:hover { color: var(--lime); }
.contact .box p { margin-top: var(--s-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-ink); font-size: var(--t-small); border-top: 1px solid #2C2F2B; }
.site-footer .wrap.cols { display: grid; gap: var(--s-7); padding-top: var(--s-8); padding-bottom: var(--s-7); }
@media (min-width: 900px) { .site-footer .wrap.cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .logo b, .site-footer .logo { color: #fff; }
.site-footer .logo small { color: var(--muted-on-ink); }
.site-footer h2 { color: #fff; font-family: var(--body); font-size: var(--t-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer ul { display: grid; gap: var(--s-2); }
.site-footer a { color: #C9CCC3; }
.site-footer a:hover { color: var(--lime); }
.site-footer .about p { margin-top: var(--s-4); max-width: 26rem; }
.soc { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.soc a { width: 40px; height: 40px; border: 1px solid #3A3E38; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.soc a:hover { border-color: var(--lime); }
.legal { border-top: 1px solid #2C2F2B; }
.legal .wrap { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-top: var(--s-5); padding-bottom: var(--s-5); font-size: var(--t-micro); }
.legal nav { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.house-link { display: inline-flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border: 1px solid #3A3E38; border-radius: var(--radius); }
.house-link img { width: 28px; height: 28px; background: #fff; border-radius: 6px; padding: 3px; }

/* ---------- Back-to-top ---------- */
.btt { position: fixed; bottom: var(--s-6); right: var(--s-6); z-index: 50; width: 48px; height: 48px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btt.show { opacity: 1; transform: none; pointer-events: auto; }
.btt svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ---------- Unterseiten: Über uns ---------- */
.founder { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1020px) { .founder { grid-template-columns: 1.15fr .85fr; align-items: center; } }
.founder img { width: 100%; height: auto; border-radius: 24px; aspect-ratio: 3 / 2; }   /* Originalformat 3:2, nicht beschneiden */
.founder .role { color: var(--leaf-text); font-weight: 700; font-size: var(--t-small); margin-top: var(--s-2); }
.founder p { color: var(--muted-text); margin-top: var(--s-4); }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: var(--s-2); }
.timeline li { position: relative; padding: 0 0 var(--s-7) var(--s-7); }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--pine); }
.timeline li.now::before { background: var(--lime); }
.timeline .year { font-family: var(--head); font-weight: 800; font-size: var(--t-h3); color: var(--pine); }
.timeline p { color: var(--muted-text); margin-top: var(--s-2); max-width: 60ch; }
.timeline p b { color: var(--ink); }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 75ch; }
.prose h1 { font-size: var(--t-h1); margin-bottom: var(--s-5); }
.prose h2 { font-size: var(--t-h3); margin: var(--s-7) 0 var(--s-3); }
.prose h3 { font-size: 1.125rem; margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose li, .prose address { color: #3A4640; }
.prose p + p { margin-top: var(--s-3); }
.prose address { font-style: normal; line-height: 1.8; margin: var(--s-3) 0; }
.prose ul, .prose ol { padding-left: var(--s-5); margin: var(--s-3) 0; display: grid; gap: var(--s-2); }
.prose a { color: var(--pine); border-bottom: 1.5px solid var(--lime); }
.prose a:hover { border-color: var(--pine); }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0; font-size: var(--t-small); }
.prose th, .prose td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .logo-marquee__track, .ticker .track { animation: none; width: auto; flex-wrap: wrap; }
  .logo-marquee__set { flex-wrap: wrap; justify-content: center; }
  .logo-marquee__set[aria-hidden="true"], .ticker span[aria-hidden="true"] { display: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}
@media print {
  .site-header, .mobile-nav, .btt, .site-footer { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.pcard .plogo img.invert { filter: invert(1) brightness(.2); }
.prose { overflow-wrap: break-word; hyphens: auto; } .prose a { overflow-wrap: anywhere; } .prose table { display: block; overflow-x: auto; }
.fact-line { font-family: var(--head); font-weight: 800; font-size: 1.05rem; color: var(--ink); }

/* ---------- Seitenübergänge ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Mittelstandsoffensive: Ablauf ---------- */
ol.mso-cards { counter-reset: none; }
.mso-card .chip { display: inline-flex; margin: 0 0 var(--s-3); }
.mso-card b { margin-bottom: var(--s-2); }

/* ---------- ASIM im Partner-Raster ---------- */
.pcard.is-house { background: radial-gradient(100% 140% at 0% 0%, rgba(168, 213, 181, .22), transparent 55%), var(--pine); }
.pcard.is-house .plogo { height: auto; gap: var(--s-4); }
.pcard.is-house .plogo img { width: 64px; height: 64px; max-height: none; max-width: none; border-radius: 16px; padding: 8px; }
.house-name { display: grid; font-family: var(--head); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; }
.house-name small { font-family: var(--body); font-size: var(--t-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-pine-2); margin-top: var(--s-2); }
.pcard.is-house .btn.solid { background: var(--lime); color: var(--pine); white-space: nowrap; }
.pcard.is-house .btn.solid:hover { background: #fff; }

/* ---------- 3D-Optik für Illustrationen ----------
   Hero-Grafik steht leicht im Raum. Alle anderen Kacheln stehen gerade und neigen
   sich nur unter dem Zeiger (--rx/--ry aus site.js), mit Lichtreflex. */
[data-tilt] { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; }
@media (min-width: 1020px) and (prefers-reduced-motion: no-preference) {
  .hero .panel { transition: transform 700ms var(--ease), box-shadow 700ms var(--ease); box-shadow: 0 30px 60px -30px rgba(23, 64, 47, .28); transform: perspective(1600px) rotateY(-9deg) rotateX(4deg); }
  .hero .panel:hover { transform: perspective(1600px) rotateY(0) rotateX(0); box-shadow: 0 40px 80px -30px rgba(23, 64, 47, .32); }
  .row .media { position: relative; transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 600ms var(--ease), box-shadow 600ms var(--ease); box-shadow: 0 24px 48px -28px rgba(23, 64, 47, .22); }
  .row .media.is-tilting { transition-duration: 120ms; box-shadow: 0 36px 70px -30px rgba(23, 64, 47, .3); }
  .row .media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 255, 255, .45), transparent 45%); transition: opacity 400ms var(--ease); }
  .row .media.is-tilting::after { opacity: 1; }
}

/* ---------- Scroll-Fortschritt (reines CSS, wo unterstützt) ---------- */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--leaf), var(--lime)); transform-origin: 0 50%; animation: progress linear both; animation-timeline: scroll(root); }
  }
}
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

:root { --tl-head: var(--head); --tl-text: var(--ink); --tl-text-2: var(--muted-text); --tl-card: #fff; --tl-chip: var(--paper); --tl-line: var(--line); --tl-line-strong: rgba(23, 64, 47, .2); --tl-glow: var(--lime-tint); --tl-shadow: var(--shadow); --tl-accent: var(--leaf); --tl-accent-soft: rgba(46, 112, 80, .12); --tl-accent-line: rgba(46, 112, 80, .45); --tl-accent-text: var(--leaf-text); }

/* ---------- Technologien & Anbindungen (gleicher Baustein auf ASIM und hoerl) ---------- */
.tools-legend { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-4); font-size: var(--t-micro); letter-spacing: .04em; color: var(--tl-text-2); }
.tools-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
.tools-card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-6); border-radius: 22px; background: var(--tl-card); box-shadow: 0 0 0 1px var(--tl-line) inset;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tools-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), var(--tl-glow), transparent 45%); transition: opacity var(--dur) var(--ease); }
.tools-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--tl-line-strong) inset, var(--tl-shadow); }
.tools-card:hover::before { opacity: 1; }
.tools-card h3 { font-family: var(--tl-head); font-size: 1.125rem; color: var(--tl-text); letter-spacing: -.01em; }
.tools-card > p { font-size: var(--t-small); color: var(--tl-text-2); }
.tools-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; padding: var(--s-4) 0 0; list-style: none; }
.tool { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--tl-chip); box-shadow: 0 0 0 1px var(--tl-line) inset; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.tool:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--tl-line-strong) inset; }
.tool__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08) inset; flex: none; }
.tool__logo img { width: 18px; height: 18px; object-fit: contain; }
.tool.is-wordmark .tool__logo { width: auto; padding: 0 8px; }
.tool.is-wordmark .tool__logo img { width: auto; height: 13px; }
.tool.is-wordmark .tool__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tool__name { font-size: var(--t-small); font-weight: 600; color: var(--tl-text); white-space: nowrap; }
.tool__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tl-accent); box-shadow: 0 0 0 3px var(--tl-accent-soft); }
.tool.is-used { box-shadow: 0 0 0 1px var(--tl-accent-line) inset; }
.tools-card--open { background: transparent; box-shadow: none; border: 1.5px dashed var(--tl-line-strong); justify-content: center; }
.tools-card--open h3 { font-size: var(--t-h3); }
.tools-proto { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); padding: 0; list-style: none; }
.tools-proto li { padding: 4px 12px; border-radius: 999px; font-size: var(--t-micro); font-weight: 600; letter-spacing: .04em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tl-accent-text); background: var(--tl-accent-soft); }
.tools-note { margin-top: var(--s-5); font-size: var(--t-micro); color: var(--tl-text-2); }
@media (min-width: 1020px) {
  .tools-card--open { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); padding: var(--s-6) var(--s-7); }
  .tools-card--open h3 { white-space: nowrap; }
  .tools-card--open .tools-proto { margin-top: 0; }
}

/* ==========================================================================
   iPhone / iOS Safari
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
html, body { overflow-x: clip; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

@supports (padding: max(0px)) {
  .wrap { padding-left: max(var(--s-5), env(safe-area-inset-left)); padding-right: max(var(--s-5), env(safe-area-inset-right)); }
  @media (min-width: 768px) { .wrap { padding-left: max(var(--s-7), env(safe-area-inset-left)); padding-right: max(var(--s-7), env(safe-area-inset-right)); } }
  .legal .wrap { padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom)); }
  .mobile-nav { padding-left: max(var(--s-5), env(safe-area-inset-left)); padding-right: max(var(--s-5), env(safe-area-inset-right)); padding-bottom: calc(var(--s-7) + env(safe-area-inset-bottom)); }
  .btt { bottom: calc(var(--s-6) + env(safe-area-inset-bottom)); right: calc(var(--s-6) + env(safe-area-inset-right)); }
}
.mobile-nav { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 639px) { .btt { bottom: calc(var(--s-4) + env(safe-area-inset-bottom)); right: calc(var(--s-4) + env(safe-area-inset-right)); width: 44px; height: 44px; } }

@media (max-width: 479px) {
  .btn { white-space: normal; text-align: center; }
  .actions > .btn, .pt-actions > .btn { flex: 1 1 100%; }
}

@media (hover: none) {
  .product-card:hover, .product-card:focus-within, a.card:hover, .card.hover:hover, .tools-card:hover, .tool:hover, .btn.solid:hover, .case:hover, .pt-chips li:hover { transform: none; }
  .product-card:hover::before, .product-card:hover::after, .tools-card:hover::before { opacity: 0; }
  .product-card:hover .pc-icon, .product-card:hover .pc-go { transform: none; }
  .hero .panel:hover { transform: none; }
}

@media (pointer: coarse) {
  .logo, .legal nav a, .site-footer ul a, .arrlink, .drop a, .pcard .plink { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer ul { gap: 0; }
  .pfilter button, .pt-tablist [role="tab"], .burger { min-height: 44px; }
  .soc a { width: 44px; height: 44px; }
}
/* Rasterspalten dürfen schmaler als ihr Inhalt werden (sonst Überstand auf 320 px) */
.split > *, .pt-arch-row > *, .pt-hero__grid > *, .pt-panel > *, .contact-cta > *, .founder > *, .row > * { min-width: 0; }
.pt-arch-row, .pt-hero__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1020px) { .pt-arch-row { grid-template-columns: 1.05fr 1fr; } .pt-hero__grid { grid-template-columns: .9fr 1.1fr; } }
@media (max-width: 479px) { .pt-diagram { padding: var(--s-4); } .stats { gap: var(--s-3); } }
.stats > *, .pd-box, .pd-portal li, .pd-eco li { min-width: 0; }
.pt-diagram { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 399px) {
  .stat-tile b { font-size: clamp(1.75rem, 9vw, 2.25rem); }
  .price-box .price { font-size: clamp(1.75rem, 8.5vw, 2.25rem); overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
  .pd-portal li, .pd-eco li { overflow-wrap: anywhere; font-size: .6875rem; }
}
