/* aivu Startseite, statischer Neubau 07.10.2026. Ein Stylesheet, keine Laufzeit-Patches.
   Werte aus dem bisherigen Stand gemessen: Rand 20/40/64/96 px, Abschnittsabstand 160/240 px. */
@font-face{font-family:"aivu Sans";src:url(/fonts/aivu-sans-300.woff2) format("woff2");font-weight:300;font-display:swap}@font-face{font-family:"aivu Sans";src:url(/fonts/aivu-sans-325.woff2) format("woff2");font-weight:325;font-display:swap}@font-face{font-family:"aivu Sans";src:url(/fonts/aivu-sans-400.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:"aivu Sans";src:url(/fonts/aivu-sans-450.woff2) format("woff2");font-weight:450;font-display:swap}@font-face{font-family:"aivu Sans";src:url(/fonts/aivu-sans-500.woff2) format("woff2");font-weight:500;font-display:swap}@font-face{font-family:"aivu Sans";src:url(/fonts/aivu-sans-600.woff2) format("woff2");font-weight:600 900;font-display:swap}

:root {
  --ink: #181818; --bg: #f9f9f8; --muted: #5f5d58; --soft: #9b9a96; --line: #e4e3df; --card: #fff;
  --px: 20px; --gap-sec: 160px; --hh: 64px; --hdr-drop: 14px;
  --font: aivu Sans, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (min-width: 640px)  { :root { --px: 40px; --hh: 72px; --hdr-drop: 22px; } }
@media (min-width: 1024px) { :root { --px: 64px; --gap-sec: 240px; --hh: 76px; --hdr-drop: 26px; } }
@media (min-width: 1280px) { :root { --px: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 325 16px/1.5 var(--font); font-feature-settings: "cv08" 1, "cv05" 1; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.px { padding-inline: var(--px); }
.sec { padding-top: var(--gap-sec); }

/* Typo (wie bisher) */
.t-h2  { font-size: 28px; line-height: 1.3; letter-spacing: -.02em; }
.t-h2l { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.t-h3  { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.t-b1  { font-size: 18px; line-height: 1.4; }
.t-b2  { font-size: 17px; line-height: 1.4; }
.t-b3  { font-size: 16px; line-height: 1.4; }
@media (min-width: 1024px) {
  .t-h2 { font-size: 40px; } .t-h2l { font-size: 48px; } .t-h3 { font-size: 24px; }
  .t-b1 { font-size: 20px; } .t-b2 { font-size: 18px; }
}
.btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 18px; line-height: 1.4; transition: background-color .2s ease; }
.btn:hover { background: #333; }
@media (min-width: 1024px) { .btn { font-size: 20px; } }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Header: fest, oben transparent, beim Scrollen Glas. Kein Ausblenden, keine Höhenänderung. ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); color: #fff; background: transparent;
  transition: background-color .35s ease, color .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease; }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--px);
  transform: translateY(var(--hdr-drop)); transition: transform .35s ease; }
.hdr[data-state="hero"], .hdr[data-state="page"] { -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.hdr[data-state="hero"] { background-color: rgba(16, 18, 20, .22); background-image: linear-gradient(rgba(16, 18, 20, .18), rgba(16, 18, 20, 0)); }
.hdr[data-state="page"] { background-color: rgba(249, 249, 248, .62); background-image: linear-gradient(rgba(249, 249, 248, .3), rgba(249, 249, 248, 0)); color: var(--ink); }
.hdr:not([data-state="top"]) .hdr__in { transform: none; }
.logo { display: block; width: 122px; aspect-ratio: 117.29 / 33.12; }
.logo svg { display: block; width: 100%; height: 100%; }
@media (min-width: 640px) { .logo { width: 153px; } }
.burger { width: 44px; height: 44px; margin-right: -9px; display: grid; place-items: center; }
.burger i { display: block; width: 26px; height: 1.5px; background: currentColor; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; }

/* Menü: Seitenleiste rechts (mobil Vollbild) */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.menu__bg { position: absolute; inset: 0; background: rgba(12, 12, 12, .38); opacity: 0; transition: opacity .3s ease; }
.menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; color: var(--ink);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.menu.open { visibility: visible; }
.menu.open .menu__bg { opacity: 1; }
.menu.open .menu__panel { transform: none; }
.menu__top { flex: none; height: var(--hh); display: flex; align-items: center; justify-content: flex-end; padding: 0 var(--px); padding-right: max(20px, min(var(--px), 40px)); }
.menu__x { width: 44px; height: 44px; margin-right: -9px; display: grid; place-items: center; }
.menu__x svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; }
.menu nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px max(20px, min(var(--px), 40px)) 40px; }
.menu section + section { margin-top: 32px; }
.menu h2 { font-size: 14px; line-height: 1.4; color: var(--soft); margin-bottom: 10px; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu a { font-size: 20px; line-height: 1.4; display: inline-block; padding: 2px 0; }
.menu a:hover { color: var(--muted); }
@media (min-width: 640px) { .menu__top, .menu nav { padding-left: 40px; padding-right: 40px; } }
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #5d7a93; color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.hero::before { top: 0; height: 180px; background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); }
.hero::after { bottom: 0; height: 45%; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .35)); }
/* Hero-Text 1:1 wie framna.com (in WebKit gemessen 07.10.2026): oben 160 px, Titel 16/24 fett, Text 14/20 bis 1600 px,
   16/24 bis 1920 px, darüber 20/28; links bündig mit Header-Logo und Wortmarke: alle drei hängen an derselben Kante var(--px) */
.hero__text { position: absolute; z-index: 2; top: 160px; left: var(--px); width: calc((100vw - 2 * var(--px)) * .807);
  font-size: 14px; line-height: 20px; font-weight: 400; }
.hero__text b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
@media (min-width: 1025px) { .hero__text { width: 304px; } }
@media (min-width: 1601px) { .hero__text { width: 352px; font-size: 16px; line-height: 24px; } }
@media (min-width: 1921px) { .hero__text { font-size: 20px; line-height: 28px; } }
/* Wortmarke (WebGL, motion-v3). Element hat Rand um das Logo: links 4,95 %, unten 7,08 %, Logo = 90,04 % der Breite */
.hero aivu-wortmarke { position: absolute !important; z-index: 2; display: block; color: #fff; aspect-ratio: 3840 / 1440;
  --ew: calc((100vw - 2 * var(--px)) / .9004); width: var(--ew); height: calc(var(--ew) / 2.6667);
  left: calc(var(--px) - var(--ew) * .0495); bottom: calc(28px - var(--ew) / 2.6667 * .0708); }
@media (min-width: 640px) {
  .hero aivu-wortmarke { --lh: clamp(120px, 30vh, 300px); --eh: calc(var(--lh) * 1.1642); --ew: calc(var(--eh) * 2.6667);
    height: var(--eh); width: var(--ew); left: calc(var(--px) - var(--ew) * .0495); bottom: calc(clamp(24px, 4vh, 56px) - var(--eh) * .0708); }
}

/* ---------- Einleitung ---------- */
.intro { padding-top: 72px; padding-bottom: 72px; }   /* gleicher Abstand oben und unten (Deni 07.10.) */
.intro + .sec { padding-top: 0; }
.intro h2 { max-width: 672px; }
.intro .btn { margin-top: 40px; }
@media (min-width: 1024px) { .intro { padding-top: 128px; padding-bottom: 128px; } .intro h2 { max-width: 960px; } .intro .btn { margin-top: 48px; } }

/* ---------- Leistungen (Reiter) ---------- */
.lst__card { background: var(--card); border-radius: 12px; padding: 96px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.lst__tabs { margin-top: 40px; display: flex; justify-content: center; gap: 24px; }
.lst__tabs button { color: var(--soft); transition: color .3s ease; white-space: nowrap; }
.lst__tabs button:hover, .lst__tabs button[aria-selected="true"] { color: var(--ink); }
.lst__vis { margin-top: 32px; display: grid; width: 100%; max-width: 352px; }
.lst__vis > div, .lst__txt > p { grid-area: 1 / 1; transition: opacity .5s ease, transform .5s ease; }
.lst__vis > div { aspect-ratio: 1; position: relative; }
.lst__vis img { width: 100%; height: 100%; object-fit: contain; }
.lst__vis > div[aria-hidden="true"] { opacity: 0; transform: scale(.95); pointer-events: none; }
.lst__txt { margin-top: 32px; display: grid; justify-items: center; width: 100%; }
.lst__txt > p { max-width: 540px; }
.lst__txt > p[aria-hidden="true"] { opacity: 0; transform: translateX(16px); pointer-events: none; }
@media (min-width: 1024px) {
  .lst__card { border-radius: 16px; padding: 128px 20px; }
  .lst__tabs { margin-top: 64px; gap: 32px; }
  .lst__vis { margin-top: 40px; max-width: 328px; }
  .lst__txt { margin-top: 40px; }
}

/* ---------- Drei Karten 1:1 wie openai.com/de-DE „OpenAI für Unternehmen“ (in WebKit gemessen 07.10.2026) ----------
   Überschrift 20→22 px fließend, Abstand bis Bild ~41 px; Bild 1:1, Radius 6.08 px, Hover-Zoom 1.025 / 300 ms;
   Titel 16→18 px, 16 px unter Bild, 16 px bis Meta; Meta 14/19.6, Abstand 12 px, Datum 60 %.
   < 768 px: Wisch-Karussell (Scroll-Snap, Karte 258.67 px, Abstand 24 px, keine Scrollbar); ab 768 px: Raster 3 Spalten, Abstand 24 px.
   Abweichung: linke/rechte Kante = var(--px) wie alle Sektionen (OpenAI: 24/32 px, max. 1376 px breit). */
.cs__h { font-size: clamp(20px, calc(19.296px + .1878vw), 22px); line-height: clamp(24.05px, calc(22.69px + .3493vw), 27.72px);
  letter-spacing: -.01em; margin-bottom: 42px; }
.cs__row { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--px);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cs__row::-webkit-scrollbar { display: none; }
.cs__grid { display: grid; grid-template-columns: repeat(3, calc((56rem - 48px) / 3 - 24px)); column-gap: 24px;
  width: max-content; padding-inline: var(--px); }
.cs__card { position: relative; scroll-snap-align: start; margin-bottom: 32px; }
.cs__img { aspect-ratio: 1; overflow: hidden; border-radius: 6.08px; background: #e9e8e4; }
.cs__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.cs__lnk { display: block; padding-top: 16px; }
.cs__t { font-size: clamp(16px, calc(15.296px + .1878vw), 18px); line-height: clamp(20.05px, calc(18.68px + .3530vw), 23.76px);
  letter-spacing: -.01em; margin-bottom: 0; }
.cs__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 14px; line-height: 19.6px; }
.cs__meta time { white-space: nowrap; color: rgba(24, 24, 24, .6); }
@media (min-width: 768px) {
  .cs__h { margin-bottom: 41px; }
  .cs__row { overflow: visible; scroll-snap-type: none; }
  .cs__grid { grid-template-columns: repeat(3, 1fr); width: auto; }
  .cs__card { margin-bottom: 0; }
  .cs__t { padding-right: 32px; }
  .cs__meta { padding-right: 12px; }
}

/* ---------- Kunden ---------- */
.kd { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.kd__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 72px; }
.kd__logo { display: flex; align-items: center; justify-content: center; height: 60px; width: 218px; color: var(--ink); }
.kd__logo img { width: auto; height: auto; max-height: 56px; max-width: 150px; }
.kd__ms { display: flex; align-items: center; gap: 12px; font-family: "Segoe UI", -apple-system, Helvetica, Arial, sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.kd__ms i { display: grid; grid-template-columns: 13px 13px; gap: 2px; }
.kd__ms i b { width: 13px; height: 13px; background: var(--ink); }
.kd__wm { font-family: Helvetica, Arial, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: .14em; }
@media (min-width: 1024px) { .kd { gap: 64px; } }

/* ---------- Neuigkeiten ---------- */
.news__grid { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 40px 24px; }
.news article { display: grid; align-content: start; }
.news__img { aspect-ratio: 444 / 297; overflow: hidden; border-radius: 12px; background: #e9e8e4; }
.news__img img { width: 100%; height: 100%; object-fit: cover; }
.news h3 { padding-top: 16px; }
@media (min-width: 640px) { .news__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .news__grid { margin-top: 40px; } .news__img { border-radius: 16px; } }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 12px 16px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { max-width: 14em; }
.faq summary i { position: relative; flex: none; width: 24px; height: 24px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 5px; right: 5px; top: 11.25px; height: 1.5px; background: currentColor; transition: transform .35s cubic-bezier(.215, .61, .355, 1); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { max-width: 900px; padding: 0 0 24px; }
.faq .btn { margin-top: 40px; }
@media (min-width: 768px) { .faq summary span { max-width: 80%; } }
@media (min-width: 1024px) { .faq h2 { margin-bottom: 40px; } .faq summary { padding: 18px 16px 18px 0; } .faq summary span { max-width: 70%; } }

/* ---------- Zwei Karten ---------- */
.two { display: grid; grid-template-columns: 1fr; gap: 16px; }
.two a { display: flex; flex-direction: column; background: var(--card); border-radius: 16px; padding: 28px; min-height: 300px; }
.two svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.two h3 { margin-top: auto; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; letter-spacing: -.015em; }
.two p { font-size: 18px; color: var(--muted); margin-top: 14px; }
.two .m { align-self: flex-start; margin-top: 34px; font-size: 19px; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
@media (min-width: 861px) { .two { grid-template-columns: 1fr 1fr; } .two a { min-height: 390px; padding: 38px 38px 36px; } }

/* ---------- Footer ---------- */
.ftr { margin-top: var(--gap-sec); padding-top: 40px; padding-bottom: 40px; }
.ftr__in { border-top: 1px solid var(--line); padding-top: 40px; }
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 6px; font-size: 16px; line-height: 1.4; }
.ftr ul a:hover { color: var(--muted); }
.ftr__legal { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; line-height: 1.4; }
.ftr__legal nav { display: flex; gap: 24px; }
@media (min-width: 640px) { .ftr__cols { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } }
@media (min-width: 1024px) { .ftr { padding-bottom: 64px; } .ftr__cols { grid-template-columns: repeat(6, 1fr); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hdr[data-state="hero"] { background-color: rgba(16, 18, 20, .55); }
  .hdr[data-state="page"] { background-color: rgba(249, 249, 248, .95); }
}

/* ---------- Lesbarkeit Hero-Text: Variante A (Deni 07.10.2026) ----------
   Mehrstufiger (eased) Schatten, damit keine sichtbare Kante entsteht. Desktop aus der Ecke oben links, Mobile breiter von oben. */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 52% 62% at 0% 0%, rgba(0,0,0,.46) 0%, rgba(0,0,0,.40) 18%, rgba(0,0,0,.30) 36%, rgba(0,0,0,.18) 54%, rgba(0,0,0,.08) 72%, rgba(0,0,0,.02) 88%, rgba(0,0,0,0) 100%); }
@media (max-width: 1024px) {
  .hero__scrim { background: radial-gradient(ellipse 150% 48% at 0% 0%, rgba(0,0,0,.48) 0%, rgba(0,0,0,.40) 25%, rgba(0,0,0,.26) 50%, rgba(0,0,0,.10) 75%, rgba(0,0,0,0) 100%); }
}

/* Newsletter-Box (gemessen 07.10.2026 in WebKit 1728/1440/1024/390) */
.nl__box { background: #f3f2f0; border-radius: 12px; padding: 40px 20px; }
.nl__h { margin: 0; font-size: 34px; line-height: 40.8px; letter-spacing: -.02em; font-weight: 325; max-width: 12em; }
.nl__sub { margin: 0; padding-top: 8px; font-size: 17px; line-height: 23.8px; max-width: 26em; }
.nl__form { display: flex; align-items: center; background: #fff; border-radius: 999px; margin: 32px 0 16px; outline: 1px solid transparent; transition: outline-color .1s; }
.nl__form:hover { outline-color: #9d9b96; } .nl__form:focus-within { outline-color: var(--ink); }
.nl__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 325 17px/23.8px var(--font); color: var(--ink); padding: 14px 0 14px 20px; }
.nl__form input::placeholder { color: #9d9b96; }
.nl__form button { flex: none; width: 40px; height: 40px; margin-right: 6px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .05s; }
.nl__form button:hover { background: #3a3a3a; }
.nl__form button svg { width: 12px; height: 12px; }
.nl__disc { margin: 0; font-size: 12px; line-height: 16.8px; color: #9d9b96; }
.nl__disc a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 640px) {
  .nl__box { border-radius: 16px; padding: 96px 32px; }
  .nl__h { font-size: 40px; line-height: 48px; letter-spacing: -.02em; max-width: none; }
  .nl__sub { padding-top: 16px; font-size: 18px; line-height: 25.2px; }
  .nl__form { margin-top: 40px; }
  .nl__form input { font-size: 18px; line-height: 25.2px; padding: 16px 0 16px 24px; }
  .nl__form button { margin-right: 10px; }
}
@media (min-width: 768px) { .nl__box { padding-top: 128px; padding-bottom: 128px; } }
@media (min-width: 1024px) {
  .nl__box { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-left: 0; padding-right: 0; align-items: start; }
  .nl__txt, .nl__right { grid-column: 2 / span 10; }
}
@media (min-width: 1280px) {
  .nl__box { align-items: center; }
  .nl__txt { grid-column: 2 / span 4; } .nl__right { grid-column: 7 / span 5; }
  .nl__h { font-size: 48px; line-height: 57.6px; letter-spacing: -.02em; }
  .nl__sub { padding-top: 24px; }
}
/* Newsletter-Box mit aivu-Gradient (20-royal-aivu) */
.nl__box { background: #5b6cf0 url(/aivu-assets/gradients/20-royal-aivu.webp) center / cover no-repeat; color: #fff; }
.nl__wmwrap { white-space: nowrap; }
.nl__wm { display: inline-block; height: .9em; width: auto; vertical-align: -.0424em; }
/* Subtext nie breiter als die Überschrift */
.nl__txt { width: fit-content; max-width: 100%; }
.nl__sub { max-width: none; width: 0; min-width: 100%; }
/* Design-Studio-Banner: Filmstill rechts, Verlauf links (Abdunklung 90 %) */
.nl__box { position: relative; overflow: hidden; background: #1b2a2c url(/aivu-assets/designstudio/s2c-monitor.webp) right center / cover no-repeat; }
.nl__box::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 75%); }
.nl__txt { position: relative; }
@media (min-width: 1024px) {
  .nl__box::before { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.54) 30%, rgba(0,0,0,0) 60%); }
}
/* Verlauf: ab 640 px immer von links (wie Desktop); Handy: Text oben, Bild darunter frei */
@media (min-width: 640px) {
  .nl__box::before { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.54) 30%, rgba(0,0,0,0) 60%); }
}
@media (max-width: 639px) {
  .nl__box { min-height: 560px; background-position: 72% bottom; background-size: auto 62%; background-color: #141c1d; }
  .nl__box::before { background: linear-gradient(180deg, #141c1d 0%, #141c1d 38%, rgba(20,28,29,0) 55%); }
}
@media (max-width: 639px) { .nl__box::before { display: none; } }
@media (max-width: 639px) { .nl__box { background-position: right bottom; } }
/* Handy: erweitertes Bild (Firefly, mehr Wand oben), leichter Verlauf von oben */
@media (max-width: 639px) {
  .nl__box { min-height: 560px; background-image: url(/aivu-assets/designstudio/s2c-monitor-mobile.webp); background-size: cover; background-position: right bottom; }
  .nl__box::before { display: block; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 35%, rgba(0,0,0,0) 60%); }
}
@media (min-width: 640px) { .nl__box { background-position: right 12%; } }
@media (max-width: 639px) { .nl__box::before { background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.32) 38%, rgba(0,0,0,0) 65%); } }
/* Desktop: Bild kleiner skaliert (Höhe 118 % statt Breite füllen), links dunkel aufgefüllt */
@media (min-width: 1024px) {
  .nl__box { background-color: #0b0d0d; background-size: auto 118%; background-position: right 20%; }
  .nl__box::before { background: linear-gradient(90deg, rgba(11,13,13,1) 0%, rgba(11,13,13,1) 24%, rgba(11,13,13,.6) 36%, rgba(11,13,13,0) 58%); }
}
@media (min-width: 1024px) { .nl__h { white-space: nowrap; } .nl__txt { grid-column: 2 / span 10; } }
/* Desktop: nach links erweitertes Bild (Firefly 29), rechter Teil exakt wie vorher (Höhe 192,6 %, y 84,5 %), füllt jetzt die ganze Box */
@media (min-width: 1024px) {
  .nl__box { background-image: url(/aivu-assets/designstudio/s2c-monitor-desktop.webp); background-size: auto 192.6%; background-position: right 84.5%; }
  .nl__box::before { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,0) 55%); }
}

/* Einheitliche Sektionsabstände wie beim Intro (Deni 07.10.): 72 / 96 / 128 px */
:root { --gap-sec: 72px; }
@media (min-width: 640px) { :root { --gap-sec: 96px; } }
@media (min-width: 1024px) { :root { --gap-sec: 128px; } }

/* Footer wie Framna: nur Rechtliches, darunter die Wortmarke als Laufband nach links (≈50 px/s), unten bündig */
.ftr { margin-top: var(--gap-sec); padding: 0; overflow: hidden; }
.ftr__in { padding-top: 0; border-top: 0; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 16px; line-height: 24px; }
.ftr__links a:hover { color: var(--muted); }
.ftr__mq { --mqh: clamp(100px, 11.6vw, 201px); margin-top: 64px; overflow: hidden; line-height: 0; color: var(--ink); }
.ftr__track { display: flex; width: max-content; animation: ftr-mq 58s linear infinite; }
.ftr__track svg { flex: none; height: var(--mqh); width: auto; margin-right: 100px; display: block; }
@keyframes ftr-mq { to { transform: translateX(-50%); } }
@media (min-width: 640px) { .ftr__track { animation-duration: 80s; } }
@media (min-width: 1280px) { .ftr__mq { margin-top: 120px; } .ftr__track { animation-duration: 100s; } }
@media (prefers-reduced-motion: reduce) { .ftr__track { animation: none; } }
.ftr__track svg { margin-bottom: calc(var(--mqh) * -0.035); }
/* Abstand unter dem Laufband wie Framna: ~100 px Desktop (= halbe Wortmarkenhöhe) */
.ftr__track svg { margin-bottom: 0; }
.ftr__mq { padding-bottom: calc(var(--mqh) * .5); }
.ftr__track svg { margin-bottom: calc(var(--mqh) * -0.047); }
/* Sektionsabstände etwas größer (Deni 07.10. 16:49): 96 / 112 / 160 px */
:root { --gap-sec: 96px; }
@media (min-width: 640px) { :root { --gap-sec: 112px; } }
@media (min-width: 1024px) { :root { --gap-sec: 160px; } }

/* Anfrage-Popup: mobile first als Vollbild-Sheet von unten, ab 768 px zentrierter Dialog */
.rq { margin: 0; padding: 0; border: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--bg); color: var(--ink);
  font: 325 16px/1.5 var(--font); overflow: hidden; }
.rq::backdrop { background: rgba(20, 20, 20, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rq[open] { display: flex; flex-direction: column; animation: rq-in .35s cubic-bezier(.215, .61, .355, 1); }
@keyframes rq-in { from { transform: translateY(24px); opacity: 0; } }
.rq__form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.rq__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex: none; }
.rq__h { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 325; letter-spacing: -.01em; }
.rq__x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: #ecebe7; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.rq__x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.rq__x:hover { background: #e2e1dc; }
.rq__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px 20px 24px; }
.rq__lead { margin: 0 0 24px; color: var(--muted); }
.rq__chips { border: 0; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rq__chips legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.rq__chips label { position: relative; }
.rq__chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rq__chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; line-height: 20px; transition: background .15s, color .15s, border-color .15s; }
.rq__chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rq__chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.rq__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.rq__f { display: grid; gap: 6px; }
.rq__f > span { font-size: 14px; color: var(--muted); }
.rq__f i { font-style: normal; color: var(--soft); }
.rq__f input, .rq__f select, .rq__f textarea { width: 100%; box-sizing: border-box; font: 325 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: 0; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
.rq__f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23181818' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.rq__f textarea { resize: vertical; min-height: 120px; }
.rq__f input:focus, .rq__f select:focus, .rq__f textarea:focus { border-color: var(--ink); }
.rq__f.is-bad input, .rq__f.is-bad textarea { border-color: #c4462f; }
.rq__ok { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.rq__ok input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.rq__ok.is-bad span { color: #c4462f; }
.rq__ok a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.rq__err { margin: 16px 0 0; color: #c4462f; font-size: 14px; }
.rq__foot { flex: none; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.rq__send { width: 100%; justify-content: center; border: 0; font: inherit; cursor: pointer; }
.rq__done { padding: 64px 20px; display: grid; gap: 16px; align-content: center; justify-items: start; height: 100%; box-sizing: border-box; }
.rq__done .rq__lead { margin: 0 0 8px; }
.rq__close { border: 0; font: inherit; cursor: pointer; }
html.rq-open { overflow: hidden; }
@media (min-width: 768px) {
  .rq { width: min(680px, calc(100% - 48px)); height: auto; max-height: calc(100% - 64px); margin: auto; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); }
  .rq__head { padding: 24px 32px; } .rq__body { padding: 24px 32px 28px; } .rq__foot { padding: 16px 32px; display: flex; justify-content: flex-end; }
  .rq__h { font-size: 28px; }
  .rq__grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; } .rq__wide { grid-column: 1 / -1; }
  .rq__send { width: auto; }
  .rq__done { padding: 72px 48px; }
}
@media (prefers-reduced-motion: reduce) { .rq[open] { animation: none; } }
.rq [hidden] { display: none !important; }
.rq__h:focus { outline: none; }
.rq__x:focus:not(:focus-visible) { outline: none; }

/* Rechtsseiten Impressum + Datenschutz (07.10.2026) */
.legal .hdr[data-state="top"] { color: var(--ink); }
.lg { padding-top: calc(var(--hh) + 72px); padding-bottom: var(--gap-sec); }
.lg__h { font-size: 40px; line-height: 1.1; letter-spacing: -.03em; }
.lg__stand { margin-top: 12px; color: var(--muted); }
.lg > * { max-width: 760px; }
.lg section { margin-top: 48px; }
.lg h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; font-weight: 500; margin-bottom: 12px; }
.lg p { color: var(--muted); }
.lg p + p { margin-top: 12px; }
.lg a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .lg { padding-top: calc(var(--hh) + 120px); } .lg__h { font-size: 56px; } }

/* 5 Karten (08.10.2026): mobil eine Reihe zum Wischen, Desktop 3 + 2 */
.cs__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((56rem - 48px) / 3 - 24px); }
@media (min-width: 768px) { .cs__grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); row-gap: 48px; } }

/* Karten als Reihe mit Pfeilen, auch auf Desktop (08.10.2026) */
.cs__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cs__top .cs__h { margin: 0; padding: 0; }
.cs__nav { display: none; gap: 8px; }
.cs__btn { width: 40px; height: 40px; border-radius: 50%; background: #ecebe7; display: grid; place-items: center; transition: background .2s, opacity .2s; }
.cs__btn:hover:not(:disabled) { background: #e0dfda; }
.cs__btn:disabled { opacity: .35; cursor: default; }
.cs__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) {
  .cs__top { margin-bottom: 41px; }
  .cs__nav { display: flex; }
  .cs__row { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
  .cs__grid { grid-auto-flow: column; grid-template-columns: none; row-gap: 0;
    grid-auto-columns: calc((100vw - 2 * var(--px) - 48px) / 3); width: max-content; padding-inline: var(--px); }
}

/* Branchen (08.10.2026, wie OpenAI Industries): kleinere Karten mit Kurztext, Reihe mit Pfeilen */
.ind .cs__grid { grid-auto-columns: calc((100vw - var(--px) - 32px) / 2.6); column-gap: 16px; }
.ind .ind__d { margin-top: 12px; font-size: 16px; line-height: 1.4; color: var(--muted); }
@media (min-width: 768px) { .ind .cs__grid { grid-auto-columns: calc((100vw - 2 * var(--px) - 72px) / 4); column-gap: 24px; } }
.ind .cs__t { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* V2 (09.10.2026): Weg in die Potenzialanalyse. Heller Button im Hero unter dem Text, verlinkte Branchenkarten */
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: #e9e8e4; }
.hero__cta { display: block; margin-top: 20px; }
.hero__cta .btn { font-size: 16px; padding: 12px 20px; }
.cs__card > a { display: block; }
.cs__card > a:hover img { transform: scale(1.025); }

/* Design Studio (17.10.2026): modisches Editorial-Motiv statt Monitor (generierung/designstudio-mode, mode_2 Schwarze Hose, Cognac-Loafer).
   Helles Bild, darum dunkle Schrift und nur ein zarter heller Verlauf hinter dem Text. */
.nl__box { background: #b9b9bb url(/aivu-assets/designstudio/mode.webp?v=3) right center / cover no-repeat; color: var(--ink); }
.nl__box::before { display: block; background: linear-gradient(90deg, rgba(249,249,248,.5) 0%, rgba(249,249,248,.2) 35%, rgba(249,249,248,0) 60%); }
@media (max-width: 639px) {
  .nl__box { background-image: url(/aivu-assets/designstudio/mode.webp?v=3); background-size: cover; background-position: 88% bottom; }
  .nl__box::before { background: linear-gradient(180deg, rgba(249,249,248,.88) 0%, rgba(249,249,248,.75) 32%, rgba(249,249,248,.35) 52%, rgba(249,249,248,0) 72%); }
}
@media (min-width: 1024px) {
  .nl__box { background-image: url(/aivu-assets/designstudio/mode.webp?v=3); background-size: cover; background-position: right center; }
  .nl__box::before { background: linear-gradient(90deg, rgba(249,249,248,.5) 0%, rgba(249,249,248,.2) 35%, rgba(249,249,248,0) 60%); }
}

/* Mobil-Header (17.10.2026): beim Scrollen blendet die Wortmarke aus, nur das Zeichen bleibt.
   Ganz oben (data-state="top", siehe site.js) blendet sie wieder ein. */
@media (max-width: 767px) {
  .logo > svg > svg:last-child { opacity: 1; transition: opacity .4s cubic-bezier(.4, 0, .2, 1); }
  .hdr:not([data-state="top"]) .logo > svg > svg:last-child { opacity: 0; }
}

/* Transparente Schicht über den Kartenbildern: verhindert, dass der Browser erkannten Bildtext (Live Text) über das Bild legt */
.cs__img { position: relative; }
.cs__img::after { content: ""; position: absolute; inset: 0; }
