/* appsolvia.com – Seitenstile auf Basis von css/tokens.css */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 16px/1.6 var(--font-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; letter-spacing: -.015em; color: var(--text-heading); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.4; }
p { margin: 0 0 1em; }
a { color: var(--link-color); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s ease; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-4); }
/* Programmatischer Fokus (Blazor FocusOnNavigate setzt den Fokus nach jedem Seitenwechsel auf die h1, Sprungziel #main):
   bleibt für Screenreader erhalten, aber ohne sichtbaren Rahmen – diese Elemente sind per Tab nicht erreichbar. */
[tabindex="-1"]:focus { outline: none; box-shadow: none; }
::selection { background: var(--primary-300); color: var(--primary-700); }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; height: 1px; background: var(--border-default); margin: 32px 0; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--secondary-500); color: #fff; padding: 12px 16px; border-radius: var(--radius-4); }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 15px/1.4 var(--font-heading); text-transform: uppercase; letter-spacing: .08em;
  color: var(--secondary-500); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--primary-500); border-radius: 2px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--neutral-500); max-width: 62ch; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }
.text-center { text-align: center; }
.text-center .lead, .text-center .eyebrow { margin-left: auto; margin-right: auto; }
.gradient-text { background: linear-gradient(90deg, #1e9375, #323161); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons (DS) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--radius-4); padding: 13px 28px; min-height: 46px;
  font: 700 15px/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  background: var(--primary-500); color: var(--text-on-primary);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.btn:hover { background: var(--primary-600); color: var(--text-on-primary); }
.btn:active { background: var(--primary-700); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--neutral-100); color: var(--neutral-300); cursor: not-allowed; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover .icon--move { transform: translateX(3px); }
.btn-secondary { background: transparent; color: var(--primary-600); box-shadow: inset 0 0 0 1.2px var(--primary-600); }
.btn-secondary:hover { background: var(--primary-100); color: var(--primary-600); }
.btn-secondary:active { background: var(--primary-300); }
.btn-tertiary { background: none; padding: 6px 0; min-height: 0; color: var(--primary-600); }
.btn-tertiary:hover { background: none; color: var(--primary-500); }
.btn-light { background: #FCFEFD; color: var(--secondary-500); }
.btn-light:hover { background: var(--primary-100); color: var(--primary-700); }
.btn-outline-light { background: transparent; color: #FCFEFD; box-shadow: inset 0 0 0 1.2px rgba(252,254,253,.7); }
.btn-outline-light:hover { background: rgba(252,254,253,.12); color: #fff; }
.btn-sm { padding: 9px 18px; min-height: 38px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; color: var(--primary-600); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(252,254,253,.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: inset 0 -1px 0 var(--border-default);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { box-shadow: inset 0 -1px 0 var(--border-default), var(--shadow-5); background: rgba(252,254,253,.96); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; height: 100%; }
.nav__item { position: static; height: 100%; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px;
  border: 0; background: none; border-radius: var(--radius-4); cursor: pointer;
  font: 600 15px/1 var(--font-body); color: var(--secondary-500); text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.nav__link { white-space: nowrap; }
.nav__link .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.header-cta__short { display: none; }
/* Sechs Menüpunkte im 1200er-Container: 8px Abstand zwischen den Punkten; bis 1300px kurzer Button, bis 1220px Burger-Menü */
.site-header__inner { gap: 16px; }
.nav { gap: 8px; }
.nav__link { padding: 0 8px; }
.header-actions .lang-switch a, .header-actions .lang-switch span { padding: 6px 4px; }
@media (max-width: 1300px) { .header-cta__long { display: none; } .header-cta__short { display: inline; } }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--primary-600); background: var(--primary-100); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--primary-600); box-shadow: inset 0 -2px 0 var(--primary-500); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switch { display: inline-flex; align-items: center; font: 700 14px/1 var(--font-body); color: var(--neutral-300); }
.lang-switch a, .lang-switch span { padding: 6px 6px; text-decoration: none; color: var(--neutral-400); border-radius: var(--radius-4); }
.lang-switch a:hover { color: var(--primary-600); background: var(--primary-100); }
.lang-switch [aria-current="true"] { color: var(--secondary-500); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-32); background: transparent; color: var(--secondary-500); place-items: center; cursor: pointer; }
.burger:hover { background: var(--primary-100); color: var(--primary-600); }

/* Dark Mode des Geräts: dunkle Kopfzeile mit weißem Logo (SiteHeader: <picture>). Die übrige Seite bleibt im hellen Design. */
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(15,42,72,.94); box-shadow: inset 0 -1px 0 rgba(252,254,253,.12); }
  .site-header.is-scrolled { background: rgba(15,42,72,.98); box-shadow: inset 0 -1px 0 rgba(252,254,253,.12), var(--shadow-5); }
  .nav__link { color: rgba(252,254,253,.88); }
  .nav__link:hover, .nav__item.is-open > .nav__link { color: #fff; background: rgba(252,254,253,.1); }
  .nav__link[aria-current="page"], .nav__link.is-active { color: var(--primary-300); box-shadow: inset 0 -2px 0 var(--primary-300); }
  .header-actions .lang-switch, .header-actions .lang-switch a, .header-actions .lang-switch span { color: rgba(252,254,253,.62); }
  .header-actions .lang-switch [aria-current="true"] { color: #fff; }
  .header-actions .lang-switch a:hover { color: #fff; background: rgba(252,254,253,.1); }
  .burger { color: #fff; }
  .burger:hover { background: rgba(252,254,253,.1); color: #fff; }
}

/* Login in der Kopfzeile: kompaktes Menü mit Kunden- und Partnerbereich und appsolvia.ai */
.header-login { position: relative; display: flex; align-items: center; }
.header-login__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-4);
  background: none; color: var(--secondary-500); font: 600 15px/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.header-login__btn:hover, .header-login.is-open > .header-login__btn { color: var(--primary-600); background: var(--primary-100); }
.header-login__btn .icon { width: 20px; height: 20px; }
.header-login__btn .header-login__chevron { width: 14px; height: 14px; transition: transform .25s ease; }
.header-login.is-open .header-login__chevron { transform: rotate(180deg); }
.login-menu {
  position: absolute; right: 0; top: calc(100% + 14px); z-index: 120; width: 330px; padding: 8px;
  border-radius: var(--radius-8); background: var(--surface-card);
  box-shadow: inset 0 0 0 1px var(--border-default), 0 18px 30px -12px rgba(20,56,95,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.login-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* Maus-Brücke zum Menü */
.header-login.is-open > .login-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.login-menu__item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius-8); text-decoration: none; color: var(--secondary-500); transition: background-color .2s ease; }
.login-menu__item:hover { background: var(--primary-100); color: var(--primary-700); }
.login-menu__item b { display: block; font-size: 15px; line-height: 1.3; }
.login-menu__item small { display: block; font-weight: 400; font-size: 13.5px; color: var(--neutral-400); margin-top: 2px; }
.login-menu__item .icon-tile { width: 40px; height: 40px; flex: none; }
@media (max-width: 1300px) { .header-login__text, .header-login__btn .header-login__chevron { display: none; } .header-login__btn { width: 44px; padding: 0; justify-content: center; } }
@media (max-width: 1220px) { .login-menu { position: fixed; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) - 4px); width: auto; } }
@media (prefers-color-scheme: dark) {
  .header-login__btn { color: rgba(252,254,253,.88); }
  .header-login__btn:hover, .header-login.is-open > .header-login__btn { color: #fff; background: rgba(252,254,253,.1); }
}
.mobile-login { margin-top: 20px; }
.mobile-login__label { display: block; padding: 0 4px 4px; font: 400 13px/1.4 var(--font-heading); text-transform: uppercase; letter-spacing: .08em; color: var(--neutral-400); }
.mobile-login .m-link span { display: inline-flex; align-items: center; gap: 10px; }

/* Mega-Menü / Dropdown */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface-card);
  box-shadow: inset 0 1px 0 var(--border-default), 0 18px 30px -18px rgba(20,56,95,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.mega__inner { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 36px; }
.mega__inner--services { grid-template-columns: 1fr 1fr 1fr 300px; }
.mega__inner--products { grid-template-columns: 1fr 1fr 300px; }
.mega__inner--simple { grid-template-columns: repeat(3, 1fr) 300px; }
.mega__heading { display: flex; align-items: center; gap: 10px; font: 400 13px/1.4 var(--font-heading); text-transform: uppercase; letter-spacing: .08em; color: var(--secondary-500); margin: 0 0 12px; text-decoration: none; }
.mega__heading:hover { color: var(--primary-600); }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.mega__link { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: var(--radius-8); text-decoration: none; color: var(--secondary-500); font-weight: 700; font-size: 15px; line-height: 1.35; transition: background-color .2s ease; }
.mega__link small { display: block; font-weight: 400; font-size: 13.5px; color: var(--neutral-400); margin-top: 2px; }
.mega__link:hover { background: var(--primary-100); color: var(--primary-700); }
.mega__teaser { border-radius: var(--radius-8); padding: 24px; background: var(--gradient-02); color: #FCFEFD; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.mega__teaser h3 { color: #fff; font-size: 20px; margin: 0; }
.mega__teaser p { margin: 0; font-size: 14.5px; color: rgba(252,254,253,.86); }
.mega__teaser .btn { margin-top: auto; align-self: flex-start; }
.mega__rotator { display: grid; }
.mega__teaser[hidden] { display: none; }
.mega__teaser::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; background: url('img/logo/mark-white.svg') center/contain no-repeat; opacity: .08; }
.product-tile { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-8); box-shadow: inset 0 0 0 1px var(--border-default); text-decoration: none; color: inherit; transition: box-shadow .25s ease, background-color .25s ease; }
.product-tile:hover { background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--primary-300); }
.product-tile h3 { font-size: 19px; margin: 0 0 4px; color: var(--secondary-500); }
.product-tile p { margin: 0 0 10px; font-size: 14.5px; color: var(--neutral-500); }

/* Mobile Navigation */
.mobile-nav { display: none; }
@media (max-width: 1220px) { /* Breakpoint auch in js/site.js (desktopNav) */
  .nav, .header-actions .header-cta { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--surface-page); overflow-y: auto; overscroll-behavior: contain;
    padding: 16px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
}
.mobile-nav .btn { width: 100%; margin-bottom: 16px; }
.mobile-nav details { border-bottom: 1px solid var(--border-default); }
.mobile-nav summary, .mobile-nav .m-link {
  list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 4px;
  font: 400 19px/1.3 var(--font-heading); color: var(--secondary-500); cursor: pointer; text-decoration: none;
}
.mobile-nav .m-link { border-bottom: 1px solid var(--border-default); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { transition: transform .25s ease; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; }
.mobile-nav li a { display: block; padding: 9px 0; text-decoration: none; color: var(--neutral-600); font-weight: 600; }
.mobile-nav li a.sub { padding-left: 16px; font-weight: 400; color: var(--neutral-500); }
.mobile-nav .lang-switch { margin-top: 20px; font-size: 16px; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(40px, 5vw, 64px) 0; position: relative; }
.section--tight { padding: clamp(32px, 4vw, 48px) 0; }
/* Zwei Abschnitte mit gleichem Hintergrund hintereinander: kein doppelter Abstand */
.section:not(.section--tint, .section--tint-strong, .section--dark, .section--gradient) + .section:not(.section--tint, .section--tint-strong, .section--dark, .section--gradient, .section--line),
.section--tint + .section--tint:not(.section--line) { padding-top: 0; }
.section--tint { background: var(--primary-50); }
.section--tint-strong { background: var(--primary-100); }
.section--line { box-shadow: inset 0 1px 0 var(--border-default); }
.section--dark { background: var(--secondary-700); color: rgba(252,254,253,.86); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #FCFEFD; }
.section--dark .eyebrow { color: var(--primary-300); }
.section--dark .lead { color: rgba(252,254,253,.8); }
.section--dark a:not(.btn) { color: var(--primary-300); }
.section--gradient { background: radial-gradient(800px 480px at 90% 0%, rgba(29,146,116,.45), transparent 65%), linear-gradient(125deg, #0E644E 0%, #14385F 55%, #0F2A48 100%); color: rgba(252,254,253,.88); overflow: hidden; }
.section--gradient h2, .section--gradient h3 { color: #fff; }
.section--gradient .eyebrow { color: var(--primary-300); }
.section--gradient .eyebrow::before { background: var(--primary-300); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 32px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p:last-child { margin-bottom: 0; }

/* Raster */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide-start { grid-template-columns: 1.3fr 1fr; }
.split--wide-end { grid-template-columns: 1fr 1.3fr; }
/* Kartenraster: alle Karten gleich hoch, auch über mehrere Zeilen (Karte in einem .reveal-Wrapper füllt die Zelle) */
.grid--equal { grid-auto-rows: 1fr; }
.grid > * > .card:only-child, .grid > * > .quote-card:only-child { height: 100%; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .split { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.card {
  background: var(--surface-card); border-radius: var(--radius-8); padding: 28px;
  box-shadow: inset 0 0 0 1px var(--border-default);
  display: flex; flex-direction: column; gap: 10px; position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}
.card h3 { margin: 0; font-size: 21px; color: var(--secondary-500); }
.card p { margin: 0; color: var(--neutral-500); }
.card--link { text-decoration: none; color: inherit; font-weight: 400; }
.card--link:hover { box-shadow: inset 0 0 0 1px var(--primary-300), var(--shadow-10); transform: translateY(-3px); color: inherit; }
.card--link:hover h3 { color: var(--primary-600); }
.card__meta { margin-top: auto; padding-top: 8px; }
.card__meta + .card__more { margin-top: 0; padding-top: 10px; }
.card__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary-600); font-size: 15px; }
.card__more .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.card--link:hover .card__more .icon { transform: translateX(4px); }
.card--tint { background: var(--primary-100); box-shadow: none; }
.card--dark { background: rgba(252,254,253,.06); box-shadow: inset 0 0 0 1px rgba(252,254,253,.14); }
.card--dark h3 { color: #fff; } .card--dark p { color: rgba(252,254,253,.78); }
.icon-tile {
  width: 52px; height: 52px; border-radius: var(--radius-8); display: grid; place-items: center; flex-shrink: 0;
  background: var(--gradient-03); color: var(--primary-600); box-shadow: inset 0 0 0 1px var(--primary-300);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--dark { background: rgba(29,146,116,.18); color: var(--primary-300); box-shadow: inset 0 0 0 1px rgba(199,228,221,.25); }
.icon-tile--sm { width: 40px; height: 40px; } .icon-tile--sm .icon { width: 20px; height: 20px; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 27px; box-shadow: inset 0 0 0 1.2px var(--secondary-500); font: 700 13px/1.2 var(--font-body); color: var(--secondary-500); white-space: nowrap; }
.tag--soft { box-shadow: none; background: var(--primary-100); color: var(--primary-600); }
.tag--info { box-shadow: none; background: var(--info-100); color: var(--info-500); }
.tag--warning { box-shadow: none; background: var(--warning-100); color: var(--warning-500); }
.tag--light { box-shadow: inset 0 0 0 1.2px rgba(252,254,253,.5); color: #FCFEFD; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li .icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--primary-500); margin-top: 1px; }
.section--dark .check-list li .icon, .section--gradient .check-list li .icon, .hero .check-list li .icon { color: var(--primary-300); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: rgba(252,254,253,.88);
  background: radial-gradient(900px 560px at 82% 8%, rgba(29,146,116,.55), transparent 65%),
              radial-gradient(760px 520px at -5% 105%, rgba(29,146,116,.32), transparent 60%),
              linear-gradient(135deg, #14385F 0%, #0F2A48 45%, #050E18 100%);
  padding: clamp(40px, 5vw, 72px) 0 clamp(80px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(252,254,253,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(252,254,253,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; bottom: -220px; pointer-events: none;
  background: url('img/logo/mark-white.svg') center/contain no-repeat; opacity: .05;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero h1 { color: #FCFEFD; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--primary-300); }
.hero .lead { color: rgba(252,254,253,.82); margin-bottom: 32px; }
.hero .eyebrow { color: var(--primary-300); }
.hero .eyebrow::before { background: var(--primary-300); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: 14.5px; color: rgba(252,254,253,.75); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--primary-300); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Karussell im Hero (Startseite) ---------- */
/* Alle Folien liegen übereinander in einer Rasterzelle: Die höchste Folie bestimmt die Höhe, beim Wechsel springt nichts. */
.hero-slider__track { display: grid; }
.hero-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.hero-slide__text > * { transition: opacity .7s ease, translate .7s ease; }
.hero-slide__text > :nth-child(2) { transition-delay: .06s; } .hero-slide__text > :nth-child(3) { transition-delay: .12s; } .hero-slide__text > :nth-child(4) { transition-delay: .18s; }
.hero-slide:not(.is-active) .hero-slide__text > * { opacity: 0; translate: 0 14px; transition: none; }
.hero__title { color: #FCFEFD; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--primary-300); }
.hero-slide__visual { min-width: 0; }
.hero-slider__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; }
.hero-slider__footer .hero__trust { margin-top: 0; }
.hero-slider__controls { display: flex; align-items: center; gap: 8px; }
.icon-btn.icon-btn--light { color: #FCFEFD; box-shadow: inset 0 0 0 1px rgba(252,254,253,.35); }
.icon-btn.icon-btn--light:hover { background: rgba(252,254,253,.12); color: #fff; }
.icon-btn--light .icon { width: 20px; height: 20px; }
.hero-slider__dots { display: flex; gap: 6px; padding: 0 6px; }
.hero-slider__dot { width: 28px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; border-radius: var(--radius-4); transition: width .3s ease; }
.hero-slider__dot[aria-current="true"] { width: 56px; }
.hero-slider__dot span { position: relative; display: block; height: 4px; border-radius: 4px; background: rgba(252,254,253,.25); overflow: hidden; }
.hero-slider__dot span::after { content: ""; position: absolute; inset: 0; background: var(--primary-300); transform: scaleX(0); transform-origin: left; }
.hero-slider__dot:hover span { background: rgba(252,254,253,.45); }
.hero-slider__dot[aria-current="true"] span { background: rgba(252,254,253,.4); }
.hero-slider__dot[aria-current="true"] span::after { transform: none; }
.hero-slider.is-playing .hero-slider__dot[aria-current="true"] span::after { animation: hero-progress var(--hero-interval, 8s) linear both; }
.hero-slider.is-held .hero-slider__dot[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: none; } }
.hero-slider__play { display: none; }
.hero-slider__toggle[aria-pressed="true"] .hero-slider__pause { display: none; }
.hero-slider__toggle[aria-pressed="true"] .hero-slider__play { display: block; }
.hero-slider.is-static .hero-slider__toggle { display: none; }
html.no-js .hero-slider__controls { display: none; }
@media (max-width: 960px) { .hero-slide__visual { max-width: 520px; width: 100%; margin: 8px auto 0; } }
@media (max-width: 520px) { .hero-slider__dot { width: 20px; } .hero-slider__dot[aria-current="true"] { width: 44px; } .hero-slider__controls { width: 100%; justify-content: center; } }

/* Illustrationen im Karussell (Zeichenfläche 560 × 480, Beschriftungen als HTML darüber) */
.hv { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 560 / 480; container-type: inline-size; color: #FCFEFD; }
.hv__svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.hv__label, .hv__chip, .hv__amount, .hv__hub-label, .hv__ring-text, .hv-app { transition: opacity .6s ease var(--d, 0s), translate .6s ease var(--d, 0s); }
.hero-slide:not(.is-active) :is(.hv__label, .hv__chip, .hv__amount, .hv__hub-label, .hv__ring-text, .hv-app) { opacity: 0; translate: 0 10px; transition: none; }
.hero-slide:not(.is-active) :is(.hv-flow, .hv-pulse) { animation-play-state: paused; }
.hv__label { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: .5em .95em; border-radius: 999px; background: rgba(15,42,72,.78); box-shadow: inset 0 0 0 1px rgba(199,228,221,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 700 clamp(11px, 2.5cqi, 14px)/1.2 var(--font-body); color: #FCFEFD; white-space: nowrap; }
.hv__label--goal { transform: translateY(-50%); background: var(--primary-500); box-shadow: 0 12px 28px -10px rgba(29,146,116,.9); }
.hv__label .icon { width: 1.15em; height: 1.15em; }
.hv-flow { animation: hv-flow 1.6s linear infinite; }
@keyframes hv-flow { to { stroke-dashoffset: -32; } }
.hv-pulse { transform-box: fill-box; transform-origin: center; animation: hv-pulse 3.2s ease-out infinite; }
.hv-pulse--late { animation-delay: 1.6s; }
@keyframes hv-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.hv__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: .6em .9em; border-radius: 10px; background: rgba(15,42,72,.62); box-shadow: inset 0 0 0 1px rgba(199,228,221,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 700 clamp(10.5px, 2.4cqi, 13.5px)/1.25 var(--font-body); color: #FCFEFD; transform: translateY(-50%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv__chip .icon { flex-shrink: 0; width: 1.25em; height: 1.25em; color: var(--primary-300); }
.hv__chip--model i { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-300); box-shadow: 0 0 0 3px rgba(199,228,221,.18); }
.hv__hub-label { position: absolute; left: 50%; transform: translateX(-50%); font: 600 clamp(14px, 3.4cqi, 19px)/1 var(--font-heading); letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.hv-ring { stroke-dashoffset: 408.4; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.2,1) .15s; }
.hero-slide:not(.is-active) .hv-ring { stroke-dashoffset: 816.8; transition: none; }
.hv__ring-text { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.hv__ring-text b { font: 700 clamp(40px, 12cqi, 68px)/1.05 var(--font-heading); letter-spacing: -.03em; }
.hv__ring-text small { font-size: clamp(12px, 2.8cqi, 15px); color: rgba(252,254,253,.82); }
.hv__amount { position: absolute; display: flex; align-items: center; gap: 12px; padding: clamp(10px, 2.6cqi, 16px) clamp(12px, 3cqi, 18px); border-radius: 12px; background: #FCFEFD; color: var(--secondary-500); box-shadow: 0 24px 48px -20px rgba(5,14,24,.75); }
.hv__amount small { display: block; font: 700 clamp(9.5px, 2.1cqi, 12px)/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--secondary-300); white-space: nowrap; }
.hv__amount b { display: block; font: 700 clamp(16px, 4.3cqi, 24px)/1.2 var(--font-heading); color: var(--primary-600); letter-spacing: -.02em; white-space: nowrap; }
.hv__amount-icon { width: clamp(30px, 7cqi, 40px); height: clamp(30px, 7cqi, 40px); border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--gradient-03); color: var(--primary-600); }
.hv-app { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; background: #FCFEFD; box-shadow: 0 30px 60px -24px rgba(5,14,24,.8), 0 0 0 1px rgba(252,254,253,.14); }
.hv-app img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.hv-app__bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: var(--primary-50); box-shadow: inset 0 -1px 0 var(--border-default); font: 700 clamp(10px, 2.2cqi, 12.5px)/1 var(--font-body); color: var(--secondary-500); }
.hv-app__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--neutral-200); }
.hv-app__bar span { margin-left: 6px; }
.hv-app--left { left: 0; top: 4%; width: 60%; rotate: -5deg; --d: .1s; }
.hv-app--right { right: 0; top: 0; width: 60%; rotate: 4deg; --d: .2s; }
.hv-app--front { left: 15%; top: 38%; width: 70%; z-index: 2; --d: .35s; }
.hv-app--energy { left: 40%; top: 26%; width: 58%; --d: .2s; }
.hv__chip--center { transform: translate(-50%, -50%); }
.hv__label--center { transform: translate(-50%, -50%); background: var(--primary-500); box-shadow: 0 12px 28px -10px rgba(29,146,116,.9); }
.hv__chip--plain { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-weight: 600; color: rgba(252,254,253,.8); }
.hv-rotor { animation: hv-spin 9s linear infinite; }
@keyframes hv-spin { to { transform: rotate(360deg); } }
.hero-slide:not(.is-active) .hv-rotor { animation-play-state: paused; }

/* Produkt-Mockup appsolvia.ai */
/* Browserleiste über Screenshots (Showcases, Produkt-Screenshots) */
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--primary-50); box-shadow: inset 0 -1px 0 var(--border-default); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neutral-200); }
.mock__url { margin-left: 12px; flex: 1; background: #FCFEFD; border-radius: var(--radius-32); padding: 4px 12px; color: var(--neutral-400); font-size: 12px; box-shadow: inset 0 0 0 1px var(--border-default); }

/* Produkt-Screenshots (appsolvia.ai): Browserrahmen, Klick öffnet die große Ansicht */
.shot { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.shot__frame { display: block; text-decoration: none; border-radius: var(--radius-16); background: var(--surface-card); overflow: hidden; box-shadow: var(--shadow-10), 0 30px 60px -30px rgba(5,14,24,.45); transition: transform .3s ease; }
.shot__frame:hover { transform: translateY(-4px); }
.shot__frame img { display: block; width: 100%; height: auto; }
.shot__frame:focus-visible { outline: 3px solid var(--primary-500); outline-offset: 4px; }
.shot figcaption { font-size: 15px; color: var(--neutral-500); }
.shot figcaption b { color: var(--secondary-500); }
.section--gradient .shot figcaption { color: rgba(252,254,253,.78); } .section--gradient .shot figcaption b { color: #fff; }
.shots { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
@media (max-width: 960px) { .shots { grid-template-columns: 1fr; gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .shot__frame { transition: none; } .shot__frame:hover { transform: none; } }

/* Hervorgehobene Karte (z. B. "Mit Ihrem Wissen" bei appsolvia.ai) */
.card--accent { background: var(--gradient-02); box-shadow: none; }
.card--accent h3 { color: #fff; } .card--accent p { color: rgba(252,254,253,.86); }
.card--accent .icon-tile { background: rgba(252,254,253,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(252,254,253,.3); }
.card__sub { margin: -6px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-600); }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: rgba(252,254,253,.86);
  background: radial-gradient(900px 420px at 88% -10%, rgba(29,146,116,.55), transparent 62%), radial-gradient(600px 400px at 0% 120%, rgba(29,146,116,.25), transparent 60%), linear-gradient(135deg, #14385F 0%, #0F2A48 50%, #050E18 100%);
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 56px);
}
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -200px; background: url('img/logo/mark-white.svg') center/contain no-repeat; opacity: .05; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #FCFEFD; max-width: 20ch; margin-bottom: 20px; }
.page-hero .lead { color: rgba(252,254,253,.82); margin-bottom: 28px; }
.page-hero .lead:last-child, .section-head .lead:last-child { margin-bottom: 0; }
.page-hero .eyebrow { color: var(--primary-300); }
.page-hero .eyebrow::before { background: var(--primary-300); }
.page-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; }
.breadcrumbs a { color: rgba(252,254,253,.75); font-weight: 600; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(252,254,253,.95); }
.breadcrumbs .icon { width: 14px; height: 14px; color: rgba(252,254,253,.5); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface-card); border-radius: var(--radius-8); box-shadow: var(--shadow-5); position: relative; z-index: 2; margin-top: -56px; }
.stat { padding: 28px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--border-default); }
.stat__value { font: 700 clamp(30px, 3.4vw, 42px)/1 var(--font-heading); letter-spacing: -.02em; background: linear-gradient(90deg, #1e9375, #323161); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.stat__label { margin-top: 8px; font-size: 14.5px; color: var(--neutral-500); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3)::before { display: none; } .stat:nth-child(n+3) { box-shadow: inset 0 1px 0 var(--border-default); } }

/* ---------- Wegweiser / Pfad-Karten ---------- */
/* Icon-Kachel links (mittig), daneben Aussage und Ziel-Leistung untereinander, Pfeil rechts */
.path-card { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); text-decoration: none; color: inherit; font-weight: 400; transition: box-shadow .3s ease, transform .3s ease; }
.path-card:hover { box-shadow: inset 0 0 0 1px var(--primary-300), var(--shadow-10); transform: translateY(-3px); color: inherit; }
.path-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.path-card q { display: block; font: 400 19px/1.4 var(--font-heading); color: var(--secondary-500); quotes: "“" "”"; }
:lang(de) .path-card q { quotes: "„" "“"; }
.path-card__link { color: var(--primary-600); font-weight: 700; font-size: 15px; line-height: 1.4; }
.path-card__arrow { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary-600); transition: transform .25s ease; }
.path-card:hover .path-card__arrow { transform: translateX(4px); }
.path-card:hover q { color: var(--primary-600); }

/* ---------- Produkt-Teaser ---------- */
.product-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .product-feature { grid-template-columns: 1fr; } }
/* Eigene Zeile unter der Eyebrow (block-level), Bildmarke und Schriftzug mittig zueinander */
.product-logo { display: flex; width: fit-content; align-items: center; gap: 14px; font: 600 30px/1 var(--font-heading); color: #fff; margin: 4px 0 24px; letter-spacing: -.02em; }
.product-logo img { width: 44px; height: 44px; flex-shrink: 0; }
.voice-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 40px; padding: 24px 28px; border-radius: var(--radius-8); background: rgba(252,254,253,.06); box-shadow: inset 0 0 0 1px rgba(252,254,253,.14); }
.voice-card h3 { margin: 0 0 4px; color: #fff; font-size: 21px; }
.voice-card p { margin: 0; color: rgba(252,254,253,.78); }
@media (max-width: 760px) { .voice-card { grid-template-columns: 1fr; } }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wave i { width: 4px; border-radius: 4px; background: var(--primary-300); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.2s; } .wave i:nth-child(2) { height: 70%; animation-delay: -.4s; }
.wave i:nth-child(3) { height: 100%; animation-delay: -.6s; } .wave i:nth-child(4) { height: 55%; animation-delay: -.8s; }
.wave i:nth-child(5) { height: 85%; animation-delay: -1s; } .wave i:nth-child(6) { height: 40%; animation-delay: -.3s; }
.wave i:nth-child(7) { height: 65%; animation-delay: -.5s; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* ---------- Case Studies ---------- */
.case-card { overflow: hidden; padding: 0; gap: 0; }
.case-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--secondary-700); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-card__media img { transform: scale(1.03); }
.case-figure { margin: 0 0 32px; }
.case-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-16); box-shadow: var(--shadow-5); }
.case-figure figcaption { margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }
.case-card__top { padding: 24px 28px; background: var(--gradient-03); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.case-card__kpi { font: 700 30px/1 var(--font-heading); color: var(--primary-600); letter-spacing: -.02em; }
.case-card__kpi small { display: block; font: 400 13.5px/1.4 var(--font-body); color: var(--neutral-500); margin-top: 6px; letter-spacing: 0; }
.case-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__meta { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--secondary-300); }

/* ---------- Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--primary-300), var(--secondary-100)); }
.step { position: relative; padding-top: 72px; }
.step__num { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); box-shadow: inset 0 0 0 2px var(--primary-500); font: 600 20px/1 var(--font-heading); color: var(--primary-600); }
.step h3 { font-size: 20px; color: var(--secondary-500); margin-bottom: 8px; }
.step p { margin: 0; color: var(--neutral-500); font-size: 15.5px; }
.section--dark .step__num { background: var(--secondary-700); box-shadow: inset 0 0 0 2px var(--primary-300); color: var(--primary-300); }
.section--dark .step h3 { color: #fff; } .section--dark .step p { color: rgba(252,254,253,.75); }
.section--dark .steps::before { background: linear-gradient(90deg, rgba(199,228,221,.5), rgba(199,228,221,.1)); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--primary-300), var(--secondary-100)); }
  .step { padding: 0 0 0 80px; min-height: 56px; }
}

/* ---------- Kundenstimmen ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (max-width: 1024px) { .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .carousel__track { grid-auto-columns: 88%; } }
/* Handy: Kundenstimmen über die ganze Breite */
@media (max-width: 680px) {
  .carousel__track--quotes { grid-auto-columns: 100%; }
}
.carousel__nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: var(--radius-32); background: transparent; color: var(--secondary-500); display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--neutral-200); transition: background-color .2s ease, color .2s ease; }
.icon-btn:hover { background: var(--primary-100); color: var(--primary-600); }
.icon-btn:disabled { color: var(--neutral-300); cursor: default; background: transparent; }
/* QuoteCard ist ein <figure>: ohne margin: 0 hätte sie 40 px Standardrand links und rechts */
.quote-card { margin: 0; background: var(--surface-card); border-radius: var(--radius-8); padding: 28px; box-shadow: inset 0 0 0 1px var(--border-default); display: flex; flex-direction: column; gap: 18px; height: 100%; }
.quote-card > .icon { width: 32px; height: 32px; color: var(--primary-500); }
.quote-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--neutral-600); flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-300); color: var(--primary-700); display: grid; place-items: center; font: 700 15px/1 var(--font-body); flex-shrink: 0; }
.quote-card figcaption b { display: block; color: var(--secondary-500); }
.quote-card figcaption span { font-size: 14px; color: var(--neutral-400); }
.translated-note { font-size: 12.5px; color: var(--neutral-400); }

/* ---------- Logo-/Tech-Leiste ---------- */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-strip span { padding: 10px 18px; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); font: 600 15px/1 var(--font-heading); color: var(--secondary-500); letter-spacing: -.01em; }
/* Plattformen (Technologien): Icon-Kachel mit Namen */
.platforms { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 12px 24px; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); }
.platform .icon-tile { width: 64px; height: 64px; }
.platform .icon-tile .icon { width: 32px; height: 32px; }
.platform__name { font: 600 clamp(17px, 1.8vw, 20px)/1.2 var(--font-heading); color: var(--secondary-500); letter-spacing: -.01em; }
@media (max-width: 960px) { .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.client-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; align-items: center; }
.client-names span { font: 600 clamp(17px, 2vw, 22px)/1 var(--font-heading); color: var(--secondary-300); letter-spacing: -.01em; }

/* ---------- Ansprechpartner / CTA ---------- */
.contact-box { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-16); background: var(--gradient-02); color: rgba(252,254,253,.88); position: relative; overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: url('img/logo/mark-white.svg') center/contain no-repeat; opacity: .07; }
.contact-box h2 { color: #fff; margin-bottom: 10px; font-size: clamp(26px, 3vw, 36px); }
.contact-box p { margin: 0; }
.contact-box .portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px rgba(252,254,253,.18); }
.contact-box__actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; min-width: 240px; }
.contact-box__direct { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 15px; }
.contact-box__direct a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.contact-box__direct a:hover { text-decoration: underline; }
.contact-box__direct .icon { width: 18px; height: 18px; color: var(--primary-300); }
@media (max-width: 900px) { .contact-box { grid-template-columns: 1fr; text-align: left; } .contact-box .portrait { width: 96px; height: 96px; } }

/* Partnerkarten (Partner & Netzwerk) */
.partner-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.partner-card .small { display: inline-flex; align-items: center; gap: 6px; }
.partner-card .small .icon { color: var(--primary-500); }

.person-card { display: flex; gap: 20px; align-items: center; }
.person-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.person-card b { display: block; color: var(--secondary-500); font-size: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface-card); border-radius: var(--radius-8); box-shadow: inset 0 0 0 1px var(--border-default); transition: box-shadow .25s ease; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--primary-300); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 400 18px/1.4 var(--font-heading); color: var(--secondary-500); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--primary-500); transition: transform .25s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--neutral-500); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Tabs (Produktnavigation) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(252,254,253,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 -1px 0 var(--border-default); }
.subnav__inner { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; white-space: nowrap; padding: 18px 0; font: 700 15px/1.2 var(--font-body); color: var(--text-muted); text-decoration: none; box-shadow: inset 0 -2px 0 transparent; transition: color .2s ease, box-shadow .2s ease; border-radius: 0; }
.tab:hover { color: var(--primary-600); }
.tab[aria-current="page"] { color: var(--primary-600); box-shadow: inset 0 -2px 0 var(--primary-500); }
.subnav .btn { flex-shrink: 0; }
@media (max-width: 640px) { .subnav .btn { display: none; } }

/* ---------- Prosa (Rechtliches, Artikel) ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--neutral-600); }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 21px; margin: 1.6em 0 .5em; color: var(--secondary-500); }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 1.2em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; box-shadow: inset 0 -1px 0 var(--border-default); vertical-align: top; }
.prose th { color: var(--secondary-500); font-weight: 700; background: var(--primary-50); }
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-8); background: var(--info-100); color: var(--secondary-700); font-size: 15px; line-height: 1.55; }
.note .icon { flex-shrink: 0; color: var(--info-500); width: 22px; height: 22px; }
.note--warning { background: var(--warning-100); } .note--warning .icon { color: var(--warning-500); }
.note--success { background: var(--success-100); margin-top: 16px; } .note--success .icon { color: var(--success-500); }
.note[hidden] { display: none; }
.note p:last-child { margin: 0; }
.prose .note + p { margin-top: 24px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc a { display: block; padding: 6px 0 6px 14px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--neutral-500); box-shadow: inset 2px 0 0 var(--border-default); }
.toc a:hover { color: var(--primary-600); box-shadow: inset 2px 0 0 var(--primary-500); }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .toc { display: none; } }
/* Beitrag mit Video (z. B. Reel): Text links, Video im Hochformat rechts */
.article-layout--media { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "text media"; }
.article-layout--media > .prose { grid-area: text; }
.article-media { grid-area: media; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.reel { margin: 0; }
.reel video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius-16); background: var(--secondary-700); box-shadow: var(--shadow-10); object-fit: cover; }
.reel figcaption { margin-top: 10px; font-size: 14px; color: var(--text-muted); }
.article-image { margin: 0; }
.article-image__frame img { display: block; width: 100%; height: auto; border-radius: var(--radius-16); box-shadow: var(--shadow-10); }
.article-image figcaption { margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.article-image .phone + figcaption { text-align: center; }
@media (max-width: 960px) {
  .article-layout--media { grid-template-columns: 1fr; grid-template-areas: "media" "text"; gap: 40px; }
  .article-media { position: static; width: 100%; max-width: 340px; margin: 0 auto; }
}

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-8); box-shadow: inset 0 0 0 1px var(--border-default); background: var(--surface-card); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.table th, .table td { text-align: left; padding: 14px 18px; box-shadow: inset 0 -1px 0 var(--border-default); vertical-align: top; }
.table th { font: 700 13px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .05em; color: var(--secondary-500); background: var(--primary-50); }
.table td .tags { gap: 6px; }
.table td .tag { padding: 3px 10px; font-size: 12px; }
.table tr:last-child td { box-shadow: none; }

/* Preis-/Paketkarten */
.plan { border-radius: var(--radius-8); padding: 32px 28px; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); display: flex; flex-direction: column; gap: 16px; }
.plan--featured { box-shadow: inset 0 0 0 2px var(--primary-500), var(--shadow-10); position: relative; }
.plan--featured::before { content: attr(data-badge); position: absolute; top: -13px; left: 28px; background: var(--primary-500); color: #fff; font: 700 12px/1 var(--font-body); padding: 7px 12px; border-radius: var(--radius-32); }
.plan h3 { margin: 0; color: var(--secondary-500); }
.plan__price { font: 600 26px/1.2 var(--font-heading); color: var(--secondary-500); }
.plan__price small { display: block; font: 400 14px/1.4 var(--font-body); color: var(--neutral-400); margin-top: 4px; }
.plan .check-list { font-size: 15px; gap: 10px; flex: 1; }

/* ---------- Formulare ---------- */
.form-card { background: var(--surface-card); border-radius: var(--radius-16); padding: clamp(24px, 4vw, 40px); box-shadow: inset 0 0 0 1px var(--border-default), var(--shadow-5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font: 700 14px/1.3 var(--font-body); color: var(--text-body); margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: var(--radius-8);
  background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--neutral-200);
  font: 400 16px/1.4 var(--font-body); color: var(--text-body); transition: box-shadow .2s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2314385F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--neutral-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--primary-500), var(--focus-ring); }
.field .help { font-size: 13.5px; color: var(--text-muted); margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea, input.invalid, select.invalid, textarea.invalid { box-shadow: inset 0 0 0 1px var(--error-500); }
.validation-message { color: var(--error-500); font-size: 13.5px; margin-top: 6px; }
.validation-errors { color: var(--error-500); background: var(--error-100); border-radius: var(--radius-8); padding: 12px 16px 12px 32px; font-size: 14.5px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--primary-500); width: 18px; height: 18px; flex-shrink: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-8); background: var(--success-100); color: var(--primary-700); }
.form-success .icon { color: var(--success-500); width: 28px; height: 28px; flex-shrink: 0; }
.form-error { padding: 14px 18px; border-radius: var(--radius-8); background: var(--error-100); color: var(--error-500); font-size: 15px; }

/* Toggle (DS) */
.toggle { appearance: none; -webkit-appearance: none; width: 44px; height: 24px; border: 0; border-radius: 24px; position: relative; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--neutral-400); cursor: pointer; flex-shrink: 0; transition: background-color .25s ease; margin: 0; }
.toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--neutral-400); transition: transform .25s ease, background-color .25s ease; }
.toggle:checked { background: var(--primary-500); box-shadow: none; }
.toggle:checked::after { transform: translateX(20px); background: #FCFEFD; }
.toggle:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Cookie-Hinweis: zentriert mit Abdunklung wie der Einstellungsdialog ---------- */
.cookie-layer {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(5,14,24,.45); backdrop-filter: blur(2px);
}
.cookie-layer[hidden] { display: none; }
/* Solange der Hinweis offen ist, scrollt die Seite dahinter nicht (außer auf Rechtsseiten) */
html:has(.cookie-layer:not([hidden]):not(.cookie-layer--passive)) { overflow: hidden; }
.cookie-notice:focus, .cookie-notice:focus-visible { outline: none; box-shadow: var(--shadow-10), inset 0 0 0 .5px var(--border-strong); }
/* Rechtsseiten: unten mittig, ohne Abdunklung, die Seite bleibt bedienbar */
.cookie-layer--passive { inset: auto 0 0 0; place-items: end center; background: none; backdrop-filter: none; pointer-events: none; }
.cookie-layer--passive .cookie-notice { pointer-events: auto; }
.cookie-notice {
  width: min(560px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 28px; border-radius: var(--radius-8); background: var(--surface-card); color: var(--text-body);
  box-shadow: var(--shadow-10), inset 0 0 0 .5px var(--border-strong);
  animation: slideUp .4s ease both;
}
/* Überschrift wie im Einstellungsdialog (h2) */
.cookie-notice__title { font: 400 24px/1.2 var(--font-heading); letter-spacing: -.015em; color: var(--secondary-500); margin: 0; }
.cookie-notice__text { margin: 8px 0 0; font-size: 15px; line-height: 1.55; }
.cookie-notice__details { margin-top: 8px; font-size: 14px; }
.cookie-notice__details summary { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; border-radius: var(--radius-4); color: var(--primary-600); font-weight: 700; cursor: pointer; list-style: none; }
.cookie-notice__details summary::-webkit-details-marker { display: none; }
.cookie-notice__details summary:hover { color: var(--primary-500); }
.cookie-notice__chevron { transition: transform .2s ease; }
.cookie-notice__details[open] .cookie-notice__chevron { transform: rotate(180deg); }
.cookie-notice__list { display: grid; gap: 10px; margin: 8px 0 0; }
.cookie-notice__list dt { font-weight: 700; color: var(--secondary-500); overflow-wrap: anywhere; }
.cookie-notice__list dd { margin: 2px 0 0; color: var(--text-muted); }
.cookie-notice__list code { font-size: 13px; }
.cookie-notice__badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 24px; background: var(--primary-100); color: var(--primary-600); font-size: 12px; font-weight: 600; vertical-align: 1px; }
/* Buttons in Hinweis und Einstellungen gleich: rechtsbündig, gleiche Größe; auf schmalen Bildschirmen volle Breite */
.cookie-notice__actions, .cookie-dialog .btn-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-notice__actions { margin-top: 16px; }
.cookie-notice__actions .btn, .cookie-dialog .btn { padding: 10px 16px; min-height: 0; font-size: 14px; }
@media (max-width: 520px) { .cookie-notice__actions .btn, .cookie-dialog .btn-row .btn { flex: 1 1 auto; } }
.cookie-notice__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0; font-size: 13px; }
.cookie-notice__links a { font-weight: 600; color: var(--text-muted); }
.cookie-notice__links a:hover { color: var(--primary-600); }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-notice { animation: none; } }
@media print { .cookie-layer { display: none !important; } }
.cookie-dialog { border: 0; padding: 0; border-radius: var(--radius-8); width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); background: var(--surface-card); color: var(--text-body); box-shadow: var(--shadow-10), inset 0 0 0 .5px var(--neutral-200); }
.cookie-dialog::backdrop { background: rgba(5,14,24,.45); backdrop-filter: blur(2px); }
.cookie-dialog__inner { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.cookie-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-dialog h2 { font-size: 24px; margin: 0; color: var(--secondary-500); }
.cookie-dialog__intro { margin: 0; font-size: 15px; color: var(--text-muted); }
.cookie-dialog__close { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; margin: -4px -8px 0 0; border: 0; border-radius: 50%; background: none; color: var(--neutral-500); cursor: pointer; }
.cookie-dialog__close:hover { background: var(--primary-100); color: var(--primary-600); }
.consent-cat { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--border-default); }
.consent-cat b { display: block; color: var(--secondary-500); margin-bottom: 2px; }
.consent-cat p { margin: 0; font-size: 14px; color: var(--neutral-500); }
.cookie-dialog .cookie-notice__links { margin: 0; }

/* ---------- Apps ---------- */
.app-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default), var(--shadow-5); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.app-card:has(.app-card__link):hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--primary-300), var(--shadow-10); }
.app-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--gradient-03); overflow: hidden; }
.app-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s ease; }
.app-card:has(.app-card__link):hover .app-card__media img { transform: scale(1.03); }
.app-card__badge { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 24px; background: var(--secondary-500); color: #fff; font: 700 12px/1.4 var(--font-body); letter-spacing: .02em; }
.app-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 24px; flex: 1; }
.app-card__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-600); }
.app-card h3 { margin: 0; font-size: 24px; color: var(--secondary-500); }
.app-card__tagline { margin: 0; font-family: var(--font-heading); font-size: 17px; color: var(--neutral-600); }
.app-card__text { margin: 0; font-size: 15px; color: var(--neutral-500); line-height: 1.55; }
.app-card__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; }
.app-card__tags .tag { padding: 4px 10px; font-size: 12px; white-space: normal; }
.app-card__meta { margin: auto 0 0; padding-top: 8px; font-size: 13px; color: var(--text-muted); }
.app-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--primary-600); text-decoration: none; }
.app-card__link::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.app-card__link:hover { color: var(--primary-600); text-decoration: underline; }
.app-card__soon { font-size: 15px; font-weight: 700; color: var(--neutral-400); }
/* Zweiter Link über der klickbaren Karte (liegt über dem ::after des Landingpage-Links) */
.app-card__showcase { position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--secondary-500); text-decoration: none; }
.app-card__showcase .icon { color: var(--primary-500); }
.app-card__showcase:hover { color: var(--primary-600); text-decoration: underline; }
.app-grid { gap: 32px; }
.product-tile--wide { grid-column: 1 / 3; align-items: center; }
.product-tile--compact { align-items: center; }
.product-tile--compact p { margin-bottom: 0; }
.product-tile--wide p { margin-bottom: 0; }
.mega__inner--products .mega__teaser { grid-column: 3; grid-row: 1 / span 2; }
.mega__inner--products .mega__rotator { grid-column: 3; grid-row: 1 / span 2; }

/* ---------- Musik & Jingles: Demosongs ---------- */
.song-card { gap: 10px; }
.song-card__cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-8); box-shadow: var(--shadow-5); margin-bottom: 6px; }
.song-card__kind { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-600); }
.song-card__more { align-self: flex-start; font-size: 15px; }
.song-card__audio { width: 100%; margin-top: auto; padding-top: 10px; }

/* ---------- Showcases ---------- */
.sc-grid { gap: 32px; }
.sc-card { padding: 0; overflow: hidden; gap: 0; }
.sc-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--gradient-03); overflow: hidden; }
.sc-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s ease; }
.sc-card:hover .sc-card__media img { transform: scale(1.03); }
.sc-card__origin { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 24px; background: var(--secondary-500); color: #fff; font: 700 12.5px/1.2 var(--font-body); box-shadow: var(--shadow-5); }
.sc-card__origin .icon { color: var(--primary-300); }
.sc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; flex: 1; }
.sc-card__body h3 { font-size: 23px; }
.sc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.sc-flow span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 24px; background: var(--primary-100); color: var(--primary-600); font: 700 13px/1.2 var(--font-body); }
.sc-flow span .icon { width: 16px; height: 16px; }
.sc-flow .sc-flow__to { background: var(--secondary-500); color: #fff; }
.sc-flow .sc-flow__to .icon { color: var(--primary-300); }
.sc-flow__arrow { width: 18px; height: 18px; color: var(--primary-500); }

/* Vorher → Nachher */
.sc-visual { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.3fr); align-items: center; margin: 0; }
.sc-visual__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sc-visual__label { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 24px; background: var(--neutral-100); color: var(--neutral-500); font: 700 12.5px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em; }
.sc-visual__label .icon { width: 16px; height: 16px; }
.sc-visual__label--after { background: var(--primary-100); color: var(--primary-600); }
.sc-visual__caption { margin: 0; font-size: 15px; color: var(--neutral-500); max-width: 46ch; }
.sc-visual__arrow { position: relative; align-self: stretch; display: grid; place-items: center; }
.sc-visual__arrow::before { content: ""; position: absolute; left: 6px; right: 10px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--primary-500) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: sc-dash 1.2s linear infinite; }
.sc-visual__arrow::after { content: ""; position: absolute; right: 6px; top: calc(50% - 5px); width: 10px; height: 10px; border: solid var(--primary-500); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.sc-visual__arrow span { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-card); box-shadow: inset 0 0 0 2px var(--primary-500), var(--shadow-5); }
@keyframes sc-dash { to { background-position: 28px 0; } }
@media (max-width: 760px) {
  .sc-visual { grid-template-columns: 1fr; }
  .sc-visual__arrow { height: 88px; }
  .sc-visual__arrow::before { left: calc(50% - 1px); right: auto; top: 6px; bottom: 12px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--primary-500) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: sc-dash-v; }
  .sc-visual__arrow::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 8px; transform: rotate(135deg); }
}
@keyframes sc-dash-v { to { background-position: 0 28px; } }

.thought { position: relative; padding: 28px 28px 24px; border-radius: 24px; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default), var(--shadow-5); }
.thought::before, .thought::after { content: ""; position: absolute; border-radius: 50%; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default), var(--shadow-5); }
.thought::before { width: 20px; height: 20px; left: 36px; bottom: -26px; }
.thought::after { width: 11px; height: 11px; left: 22px; bottom: -42px; }
.thought__bulb { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: var(--warning-100); color: var(--warning-500); box-shadow: 0 0 0 6px rgba(255, 196, 0, .08); }
.thought q { display: block; font: 400 clamp(21px, 2.3vw, 27px)/1.35 var(--font-heading); color: var(--secondary-500); quotes: "“" "”"; }
:lang(de) .thought q { quotes: "„" "“"; }
.thought__scribble { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--neutral-200); font-size: 15px; font-style: italic; color: var(--neutral-400); }
.sc-visual__side:has(.thought) .sc-visual__caption { margin-top: 36px; }

.sheet { border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--neutral-200), var(--shadow-5); overflow: hidden; font-size: 13px; }
.sheet__top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--primary-50); box-shadow: inset 0 -1px 0 var(--neutral-100); font-weight: 700; color: var(--secondary-500); }
.sheet__top .icon { color: var(--primary-500); }
.sheet__formula { display: flex; align-items: center; gap: 10px; padding: 7px 12px; box-shadow: inset 0 -1px 0 var(--neutral-100); color: var(--neutral-500); white-space: nowrap; overflow: hidden; }
.sheet__formula b { font-style: italic; font-weight: 700; color: var(--neutral-300); }
.sheet__formula code { font: 12.5px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
.sheet th, .sheet td { padding: 6px 10px; border: 1px solid var(--neutral-100); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet th { background: var(--primary-50); color: var(--neutral-400); font-size: 11.5px; font-weight: 600; text-align: center; }
.sheet thead th:first-child, .sheet tbody th { width: 34px; }
.sheet td:first-of-type { text-align: left; }
.sheet .sheet__head td { font-weight: 700; color: var(--secondary-500); text-align: left; }
.sheet td.is-error { color: var(--error-500); background: var(--error-100); font-weight: 700; box-shadow: inset 0 0 0 2px var(--error-500); }

.device { border-radius: var(--radius-16); background: var(--surface-card); box-shadow: var(--shadow-10), 0 30px 60px -30px rgba(5,14,24,.55); overflow: hidden; }
.device img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Die Idee in Zahlen */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 24px 22px; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); }
.fact .stat__value { align-self: flex-start; }
.fact__label { margin-top: 6px; font-weight: 700; color: var(--secondary-500); }
.fact__note { font-size: 14px; color: var(--neutral-400); }
@media (max-width: 400px) { .fact { padding: 20px 16px; } }

/* Eine Codebasis → drei Plattformen */
.platform-map { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 0 40px; align-items: center; }
.platform-map__core { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: var(--radius-16); background: var(--gradient-02); color: #fff; box-shadow: var(--shadow-5); }
.platform-map__core::after { content: ""; position: absolute; left: 100%; top: 50%; width: 40px; height: 2px; background: var(--primary-300); }
.platform-map__core .icon-tile { background: rgba(252,254,253,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(252,254,253,.3); }
.platform-map__core b { font: 400 22px/1.2 var(--font-heading); color: #fff; }
.platform-map__core small { font-size: 14px; color: rgba(252,254,253,.82); }
.platform-map__targets { list-style: none; margin: 0; padding: 0 0 0 24px; display: grid; gap: 12px; }
.platform-map__targets li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); }
.platform-map__targets li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 24px; height: 2px; background: var(--primary-300); }
.platform-map__targets li::after { content: ""; position: absolute; left: -24px; top: -7px; bottom: -7px; width: 2px; background: var(--primary-300); }
.platform-map__targets li:first-child::after { top: 50%; }
.platform-map__targets li:last-child::after { bottom: 50%; }
.platform-map__targets b { display: block; color: var(--secondary-500); }
.platform-map__targets small { display: block; font-size: 14px; color: var(--neutral-400); line-height: 1.4; }
@media (max-width: 760px) {
  .platform-map { grid-template-columns: 1fr; gap: 24px; }
  .platform-map__core::after { left: 40px; top: 100%; width: 2px; height: 24px; }
  .platform-map__targets { padding-left: 64px; }
  .platform-map__targets li:first-child::after { top: -24px; bottom: 50%; }
  .platform-map__targets li:first-child:not(:only-child)::after { bottom: -7px; }
}

.sc-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.sc-try > div { max-width: 640px; }
.sc-try p:last-child { margin: 0; color: rgba(252,254,253,.82); }

/* ---------- Showcase Bayuwackel (Flash-Figur → Film) ---------- */
.bw-hero-figure { display: block; width: min(100%, 280px); height: auto; margin: 0 auto -8px; filter: drop-shadow(0 18px 28px rgba(5,14,24,.45)); transform-origin: 50% 100%; animation: bw-wave 3.2s ease-in-out infinite; }
@keyframes bw-wave { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-4px); } }
@media (max-width: 900px) { .bw-hero-figure { width: 180px; margin: 0; } }

/* Vorher: Browserfenster mit blockiertem Flash-Inhalt (Bühne 550 × 400 wie in Flash üblich) */
.flash-window { border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--neutral-200), var(--shadow-5); overflow: hidden; }
.flash-window__stage { position: relative; aspect-ratio: 11 / 8; overflow: hidden; background: #3b3f45; }
.flash-window__stage img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) blur(3px) brightness(.55); transform: scale(1.06); }
.flash-window__blocked { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; color: #fff; }
.flash-window__piece { width: 68px; height: 68px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 4px; background: rgba(252,254,253,.14); box-shadow: inset 0 0 0 1.5px rgba(252,254,253,.45); }
.flash-window__blocked b { font: 400 clamp(17px, 1.8vw, 21px)/1.3 var(--font-heading); }
.flash-window__blocked small { font-size: 13px; color: rgba(252,254,253,.75); }

/* Nachher: der Film im Handyformat 4:5 – schmalere Spalte, damit beide Seiten etwa gleich hoch sind */
.sc-visual--film { grid-template-columns: minmax(0, 1.5fr) 96px minmax(0, 1fr); }
@media (max-width: 760px) { .sc-visual--film { grid-template-columns: 1fr; } }
.bw-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-16); background: #0b2a3c; object-fit: cover; box-shadow: var(--shadow-10), 0 30px 60px -30px rgba(5,14,24,.55); }
.bw-video--soon { position: relative; overflow: hidden; }
.bw-video--soon img { width: 100%; height: 100%; object-fit: cover; }
.bw-video__soon { position: absolute; right: 14px; top: 14px; padding: 6px 12px; border-radius: 24px; background: var(--secondary-500); color: #fff; font: 700 12.5px/1.2 var(--font-body); box-shadow: var(--shadow-5); }
.sc-visual--film .link-arrow { font-size: 15px; }

/* Erinnerung an Emil Hauptmann: zweite Textspalte auf Höhe des Leads */
@media (min-width: 761px) { .bw-tribute__more { padding-top: 46px; } }

/* Originalzeichnungen: Hintergrund ungeschnitten (578 × 700), daneben die vier Figuren gleich hoch */
.bw-gallery { margin: clamp(32px, 4vw, 48px) 0 0; }
.bw-gallery__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.bw-gallery__item { aspect-ratio: 3 / 4; padding: 14px 10px; border-radius: var(--radius-8); background: radial-gradient(circle at 50% 85%, var(--primary-100), var(--primary-50) 70%); box-shadow: inset 0 0 0 1px var(--border-default); }
.bw-gallery__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bw-gallery__item--bg { aspect-ratio: 578 / 700; padding: 0; overflow: hidden; }
.bw-gallery__item--bg img { object-fit: cover; }
.bw-gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--text-muted); }
@media (max-width: 900px) {
  .bw-gallery__grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .bw-gallery__item--bg { grid-row: span 2; }
}
@media (max-width: 560px) {
  .bw-gallery__grid { grid-template-columns: 1fr 1fr; }
  .bw-gallery__item--bg { grid-column: 1 / -1; grid-row: auto; }
}

/* Breite Karte auf der Showcase-Übersicht (Showcases mit eigener Seite: Calendar4u, Bayuwackel) */
.sc-card--wide { margin-top: 32px; padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.sc-card--wide .sc-card__media { aspect-ratio: auto; min-height: 280px; }
.sc-card--wide .sc-card__media img { object-position: center; }
.sc-card--wide .sc-card__body { justify-content: center; padding: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .sc-card--wide { grid-template-columns: 1fr; } .sc-card--wide .sc-card__media { aspect-ratio: 16 / 10; min-height: 0; } }

/* ---------- Showcase Calendar4u (stillgelegtes Projekt → wieder online) ---------- */

/* Handy-Rahmen um Screenshots im Format 1:2 (600 × 1200) */
.phone { position: relative; width: min(100%, 260px); margin: 0 auto; padding: 9px; border-radius: 36px; background: var(--secondary-700); box-shadow: inset 0 0 0 1.5px rgba(252,254,253,.16), var(--shadow-10), 0 30px 60px -30px rgba(5,14,24,.55); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 27px; }
.phone--hero { width: 220px; margin: 0 auto -8px; transform: rotate(3deg); }
.phone--hero img { aspect-ratio: 9 / 16; }
@media (max-width: 900px) { .phone--hero { width: 170px; margin: 0; transform: none; } }

/* Vorher: Konsole mit fehlgeschlagenem Build */
.build-log { border-radius: var(--radius-8); background: #0B1724; box-shadow: inset 0 0 0 1px var(--neutral-200), var(--shadow-5); overflow: hidden; }
.build-log .mock__bar { background: #13263A; box-shadow: inset 0 -1px 0 rgba(252,254,253,.08); }
.build-log .mock__dot { background: rgba(252,254,253,.22); }
.build-log .mock__url { background: rgba(252,254,253,.08); color: rgba(252,254,253,.72); box-shadow: none; }
.build-log pre { margin: 0; padding: 16px 18px 20px; font: 12.5px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: #C9D5E2; white-space: pre-wrap; overflow-wrap: anywhere; }
.build-log__cmd { color: #FCFEFD; font-weight: 700; }
.build-log__warn { color: #F2D46B; }
.build-log__err { color: #FF8A8A; }
.build-log__dim { color: rgba(252,254,253,.45); }
.build-log__fail { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 4px; background: rgba(255,138,138,.16); color: #FF8A8A; font-weight: 700; }

/* Ergebnis: zwei Handys nebeneinander */
.c4u-phones { margin: 0; }
.c4u-phones__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); align-items: start; }
.c4u-phones__grid .phone:nth-child(2) { margin-top: 40px; }
.c4u-phones figcaption { margin-top: 16px; font-size: 14px; color: var(--text-muted); text-align: center; }

.sc-related { margin-top: 28px; gap: 12px; }
.sc-related__item { padding: 18px 20px; flex-direction: row; align-items: center; gap: 14px; }
.sc-related__item h3 { font-size: 18px; margin-bottom: 4px; }
.sc-related__item p { font-size: 14.5px; }

/* ---------- Terminbuchung ---------- */
.booking-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.booking-option { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); color: inherit; font-weight: 400; text-decoration: none; transition: box-shadow .2s ease, background-color .2s ease; }
.booking-option:hover { color: inherit; box-shadow: inset 0 0 0 1px var(--primary-300), var(--shadow-5); }
.booking-option.is-selected { background: var(--primary-100); box-shadow: inset 0 0 0 2px var(--primary-500); }
.booking-option__text { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--neutral-500); }
.booking-option__text b { font-size: 18px; color: var(--secondary-500); }
.booking-option__meta { font-size: 13px; font-weight: 700; color: var(--primary-600); }
.booking-panel { margin-top: 40px; scroll-margin-top: calc(var(--header-h) + 16px); }
.booking-panel h2 { font-size: clamp(24px, 2.6vw, 30px); }

.consent-placeholder { border-radius: var(--radius-8); background: var(--gradient-03); box-shadow: inset 0 0 0 1px var(--primary-300); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 260px; justify-content: center; }
.consent-placeholder h3 { margin: 0; color: var(--secondary-500); font-size: 20px; }
.consent-placeholder p { margin: 0; font-size: 15px; color: var(--neutral-500); max-width: 56ch; }
.consent-frame { width: 100%; border: 0; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary-900); color: rgba(252,254,253,.72); font-size: 15px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gradient-02); }
.site-footer a { color: rgba(252,254,253,.8); font-weight: 400; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding: 72px 0 48px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { margin: 0 0 16px; max-width: 34ch; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--primary-300); }
.footer-col h3 { font: 400 13px/1.4 var(--font-heading); text-transform: uppercase; letter-spacing: .08em; color: var(--primary-300); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(252,254,253,.2); color: rgba(252,254,253,.85); transition: background-color .2s ease, color .2s ease; }
.footer-social a:hover { background: var(--primary-500); color: #fff; text-decoration: none; box-shadow: none; }
.footer-social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0 32px; box-shadow: inset 0 1px 0 rgba(252,254,253,.1); font-size: 14px; color: rgba(252,254,253,.55); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal button { background: none; border: 0; padding: 0; font: inherit; color: rgba(252,254,253,.8); cursor: pointer; }
.footer-legal button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---------- Filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-bottom: 32px; padding: 20px; border-radius: var(--radius-8); background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--border-default); }
.filter-bar .field { min-width: 200px; flex: 1; }
.chip-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-filter a, .chip-filter button { padding: 8px 16px; border-radius: 27px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.2px var(--neutral-200); font: 700 14px/1.2 var(--font-body); color: var(--neutral-500); text-decoration: none; cursor: pointer; transition: var(--transition-fast); }
.chip-filter a:hover, .chip-filter button:hover { box-shadow: inset 0 0 0 1.2px var(--primary-500); color: var(--primary-600); }
.chip-filter [aria-current="true"], .chip-filter [aria-pressed="true"] { background: var(--secondary-500); color: #fff; box-shadow: none; }
.empty-state { text-align: center; padding: 48px 24px; border-radius: var(--radius-8); background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--border-default); }
.empty-state .icon-tile { margin: 0 auto 16px; }

/* ---------- Readiness-/Förder-Check ---------- */
.check-tool { background: var(--surface-card); border-radius: var(--radius-16); box-shadow: inset 0 0 0 1px var(--border-default), var(--shadow-5); overflow: hidden; }
.check-tool__head { padding: 24px clamp(20px, 4vw, 40px); background: var(--gradient-02); color: #fff; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.check-tool__head h2, .check-tool__head h3 { color: #fff; margin: 0; font-size: 22px; }
.check-tool__head small { color: rgba(252,254,253,.8); }
.check-tool__body { padding: clamp(24px, 4vw, 40px); }
.progress { height: 6px; border-radius: 6px; background: var(--neutral-100); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gradient-02); border-radius: 6px; transition: width .4s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--neutral-400); margin: 10px 0 28px; }
.dimension-label { font: 400 14px/1.4 var(--font-heading); text-transform: uppercase; letter-spacing: .08em; color: var(--primary-600); margin-bottom: 8px; }
.question { font: 400 clamp(20px, 2.4vw, 26px)/1.35 var(--font-heading); color: var(--secondary-500); margin: 0 0 24px; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px 18px; border-radius: var(--radius-8); border: 0; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--neutral-200); font: 400 16px/1.4 var(--font-body); color: var(--text-body); cursor: pointer; transition: var(--transition-fast); }
.option:hover { box-shadow: inset 0 0 0 1px var(--primary-500); background: var(--primary-50); }
.option[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--secondary-500); background: var(--primary-100); }
.option__key { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--font-body); background: var(--primary-100); color: var(--primary-600); flex-shrink: 0; }
.option[aria-pressed="true"] .option__key { background: var(--secondary-500); color: #fff; }
.tool-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
/* Antragsstatus Digitalbonus (FundingStatusNote) und Hinweise im Ergebnis */
.note.funding-status { margin: 0 0 28px; }
.funding-status__meta { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }
.funding-status__meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.note .funding-status__meta .icon { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; color: currentColor; }
.funding-notes { font-size: 15px; gap: 10px; margin-top: 20px; }
.funding-notes li .icon { width: 20px; height: 20px; color: var(--info-500); }
.score-ring { --val: 0; width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary-500) calc(var(--val) * 1%), var(--neutral-100) 0); position: relative; flex-shrink: 0; }
.score-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--surface-card); }
.score-ring span { position: relative; font: 700 40px/1 var(--font-heading); color: var(--secondary-500); text-align: center; }
.score-ring small { display: block; font: 400 13px/1.3 var(--font-body); color: var(--neutral-400); margin-top: 4px; }
.result-head { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.bars { display: grid; gap: 16px; }
.bar__label { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; color: var(--secondary-500); margin-bottom: 6px; }
.bar__track { height: 10px; border-radius: 10px; background: var(--neutral-100); overflow: hidden; }
.bar__track i { display: block; height: 100%; border-radius: 10px; background: var(--gradient-02); }
.recommendations { margin-top: 32px; display: grid; gap: 12px; }
.recommendation { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-8); background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--border-default); }
.recommendation .icon { color: var(--primary-500); flex-shrink: 0; }
.recommendation b { display: block; color: var(--secondary-500); }
.result-figure { font: 700 clamp(28px, 3.2vw, 44px)/1.1 var(--font-heading); color: var(--primary-600); letter-spacing: -.02em; white-space: nowrap; }

/* ---------- Bild-Elemente ---------- */
.media { border-radius: var(--radius-16); overflow: hidden; box-shadow: var(--shadow-5); }
.media img { width: 100%; height: 100%; object-fit: cover; }
/* Über uns: Geschäftsführung, dezent mit kleinem Bild */
.ceo { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; max-width: 880px; }
.ceo__photo { width: 152px; height: 152px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-5); }
.ceo__name { margin-bottom: 2px; }
.ceo__role { margin: 0 0 14px; font-weight: 700; color: var(--primary-600); }
.ceo__facts { list-style: none; padding: 0; margin: 18px 0 20px; }
@media (max-width: 600px) { .ceo { grid-template-columns: 1fr; gap: 16px; } .ceo__photo { width: 104px; height: 104px; } }

/* Timeline (Geschichte) */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 18px 0; box-shadow: inset 0 -1px 0 var(--border-default); }
.timeline time { font: 600 16px/1.4 var(--font-heading); color: var(--primary-600); }
.timeline b { color: var(--secondary-500); display: block; }
.timeline__link { display: flex; width: fit-content; margin-top: 8px; font-size: 15px; }

/* ---------- Bewegung ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; } .reveal-delay-2 { transition-delay: .16s; } .reveal-delay-3 { transition-delay: .24s; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Blazor-Fehler / Reconnect ---------- */
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; padding: 12px 20px; background: var(--warning-100); color: var(--warning-500); box-shadow: var(--shadow-10); }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 16px; top: 10px; background: none; border: 0; color: inherit; }

/* Druck */
@media print { .site-header, .site-footer, .cookie-notice, .cookie-dialog, .subnav, .contact-box { display: none !important; } .reveal { opacity: 1; transform: none; } }

/* Handy: alle Buttons über die volle Breite (Text-Buttons ausgenommen), Button-Reihen untereinander */
@media (max-width: 640px) {
  .btn:not(.btn-tertiary) { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row > :not(.btn), .btn-row > .btn-tertiary { align-self: flex-start; }
}

/* Kleine Displays */
@media (max-width: 520px) {
  .brand img { height: 34px; }
  .header-actions { gap: 8px; }
  .lang-switch { font-size: 13px; }
  .card, .quote-card { padding: 22px; }
}

/* ---------- Startseite: Wegweiser nach Zielgruppe ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.audience-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-16); text-decoration: none; color: inherit; font-weight: 400;
    background: linear-gradient(135deg, var(--primary-100), var(--surface-card)); box-shadow: inset 0 0 0 1px var(--primary-300); transition: box-shadow .3s ease, transform .3s ease; }
.audience-card:hover { color: inherit; transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--primary-500), var(--shadow-10); }
.audience-card__eyebrow { font: 600 13px/1.2 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; color: var(--primary-600); }
.audience-card q { display: block; font: 400 clamp(22px, 2.3vw, 28px)/1.3 var(--font-heading); color: var(--secondary-500); quotes: "“" "”"; }
:lang(de) .audience-card q { quotes: "„" "“"; }
.audience-card p { margin: 0; color: var(--neutral-500); }
.audience-card__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary-600); }
.audience-card__link .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.audience-card:hover .audience-card__link .icon { transform: translateX(4px); }
@media (max-width: 760px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- Startseite: Probleme und Lösungen ---------- */
.problem-card { gap: 14px; }
.problem-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; }
.problem-card__quote { display: block; font: 400 21px/1.35 var(--font-heading); color: var(--secondary-500); quotes: "“" "”"; }
:lang(de) .problem-card__quote { quotes: "„" "“"; }
.card--link:hover .problem-card__quote { color: var(--primary-600); }
.problem-card p { margin: 0; }
.problem-card__more { margin-top: auto; padding-top: 4px; }
.card--link:hover .problem-card__more .icon { transform: translateX(3px); }
.problem-card--cta { background: var(--surface-card); box-shadow: inset 0 0 0 1.5px var(--primary-300); }
.problem-card--cta h3 { margin: 0; }
.problem-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Startseite: Ablauf eines geförderten Projekts ---------- */
.funding-steps { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--border-default); }
.funding-steps .section-head { margin-bottom: 24px; }
.funding-steps__title { font-size: clamp(24px, 2.4vw, 30px); margin: 0; }

/* ---------- Kachel mit Icon und Titel in einer Zeile (Passende Leistungen u. ä.) ---------- */
.card.link-tile { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
.card.link-tile .icon-tile { flex-shrink: 0; }
.card.link-tile h3 { margin: 0; font-size: 17px; line-height: 1.35; min-width: 0; overflow-wrap: break-word; }

/* ---------- Mega-Menü: Kundenstimmen ---------- */
.mega__quote { margin: 0; gap: 14px; }
.mega__quote:not([hidden]) { animation: mega-fade .45s ease; }
@keyframes mega-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mega__quote:not([hidden]) { animation: none; } }
.mega__quote-icon { width: 28px; height: 28px; color: #C7E4DD; }
.mega__quote blockquote { margin: 0; font: 400 19px/1.4 var(--font-heading); color: #fff; }
.mega__quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: rgba(252,254,253,.8); }
.mega__quote figcaption b { color: #fff; font-size: 15px; }
.mega__dots { display: flex; gap: 6px; margin-top: 4px; }
.mega__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(252,254,253,.35); }
.mega__dots i.is-active { width: 18px; border-radius: 3px; background: #fff; }
