/* ==========================================================================
   Imhof Unternehmensberatung: Website
   Farben aus dem Logo: Blau #2874BB, Navy #00378C, Cyan #20C1F2.
   Schrift: DM Sans (wie bisherige Website), lokal eingebunden.
   ========================================================================== */

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

:root {
  --navy-950: #061730;
  --navy-900: #0a2246;
  --navy-800: #0e2f5f;
  --navy: #00378c;
  --blue: #2874bb;
  --blue-700: #1d5c99;
  --blue-400: #368fce;
  --cyan: #20c1f2;
  --cyan-soft: #8fdcf6;
  --sky-50: #f3f8fc;
  --sky-100: #e6f1fa;
  --sky-200: #cde3f4;

  --ink: #0d1f3a;
  --text: #34455d;
  --muted: #5a6a80;
  --line: #dde6f0;
  --line-strong: #c6d4e3;
  --white: #ffffff;
  --danger: #b42318;
  --success: #1c7c4a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(10, 34, 70, .06), 0 2px 10px rgba(10, 34, 70, .05);
  --shadow: 0 18px 40px -18px rgba(10, 34, 70, .22);
  --shadow-lg: 0 40px 80px -30px rgba(10, 34, 70, .38);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(76px, 10vw, 132px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 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-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 5.4vw, 4.35rem); letter-spacing: -.034em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.7vw, 3.05rem); letter-spacing: -.03em; }
h3 { font-size: 1.32rem; letter-spacing: -.015em; }
address { font-style: normal; }
button { font: inherit; }
::selection { background: var(--sky-200); color: var(--ink); }

/* Fokusrahmen: Navy auf hellen Flächen, Cyan auf dunklen (jeweils mind. 3:1) */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.owners :focus-visible, .build :focus-visible, .region :focus-visible,
.site-footer :focus-visible, .info-box :focus-visible, .path-card--featured:focus-visible { outline-color: var(--cyan); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--sky-50); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Eyebrow & Abschnittsköpfe ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue);
}
/* Kleines Würfelpaar als Echo der Logomarke */
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 7px 7px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 7px 7px / 7px 7px no-repeat;
  transform: rotate(17deg);
}
.eyebrow--light { color: var(--cyan-soft); }
.eyebrow--light::before {
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 7px 7px no-repeat,
    linear-gradient(#fff, #fff) 7px 7px / 7px 7px no-repeat;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 + p, .section-head .lead { margin-top: 20px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text); }
.text-accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover .icon--diag { transform: translate(2px, -2px); }
.btn--primary:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); box-shadow: 0 12px 24px -12px rgba(0, 55, 140, .55); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--blue); --btn-fg: var(--blue); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--sky-100); --btn-bd: var(--sky-100); --btn-fg: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .38); }
.btn--outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .94rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue); text-decoration: none;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 34, 70, .35); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list a {
  position: relative; display: block; padding: 10px 14px;
  color: var(--ink); font-size: .98rem; font-weight: 500; text-decoration: none; border-radius: 8px;
  transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover { color: var(--blue); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--blue); }
.nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .96rem; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--blue); width: 1.1em; height: 1.1em; }
.header-phone:hover { color: var(--blue); }
.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.site-header.is-open .nav-toggle .icon--menu { display: none; }
.site-header.is-open .nav-toggle .icon--close { display: block; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .nav__list a { padding-inline: 11px; }
  .nav__list a::after { left: 11px; right: 11px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
    margin: 0; padding: 20px var(--gutter) 32px; overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { padding: 18px 2px; font-size: 1.3rem; font-weight: 600; }
  .nav__list a::after { display: none; }
  .nav__extra { display: grid; gap: 12px; margin-top: 28px; }
  .nav__extra a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .nav__extra a:not(.btn) .icon { color: var(--blue); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .site-header__actions .btn { display: none; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--sky-50) 0%, #fff 78%); }
.hero::before {
  /* feines Raster als Hintergrundtextur */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(40, 116, 187, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 116, 187, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.7vw, 3.75rem); }
.hero h1 .text-accent { display: block; }
.hero .lead { max-width: 560px; margin: 26px 0 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 36px; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .96rem; font-weight: 500; color: var(--ink); }
.trust .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sky-100); color: var(--blue); stroke-width: 2.4; }

.hero__media { position: relative; }
.hero__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1.08; background: var(--sky-100); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 34% 78%; }
.cubes { position: absolute; pointer-events: none; }
.cubes span { position: absolute; display: block; transform: rotate(17deg); border-radius: 4px; }
.hero .cubes { top: -26px; right: -18px; width: 120px; height: 120px; }
.cubes span:nth-child(1) { width: 46px; height: 46px; top: 0; right: 30px; background: var(--blue-400); }
.cubes span:nth-child(2) { width: 46px; height: 46px; top: 44px; right: -4px; background: var(--navy); }
.cubes span:nth-child(3) { width: 30px; height: 30px; top: 54px; right: 64px; background: var(--cyan); }

.float-card {
  position: absolute; left: clamp(-56px, -4vw, -20px); bottom: 34px; z-index: 2;
  display: flex; gap: 14px; align-items: flex-start;
  width: min(330px, 86%); padding: 18px 20px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  text-decoration: none; color: var(--text);
  transition: transform .35s var(--ease);
}
.float-card:hover { transform: translateY(-4px); color: var(--text); }
.float-card__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blue); color: #fff; }
.float-card__icon .icon { width: 22px; height: 22px; }
.float-card strong { display: block; color: var(--ink); font-size: 1.02rem; }
.float-card p { margin: 2px 0 6px; font-size: .9rem; line-height: 1.45; }
.float-card em { font-style: normal; font-size: .86rem; font-weight: 600; color: var(--blue); }

@media (max-width: 1060px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 720px; }
  .hero__img { aspect-ratio: 16 / 10; }
  .hero__img img { object-position: 40% 70%; }
  .float-card { left: 16px; bottom: 16px; }
  .hero .cubes { right: 4px; top: -30px; transform: scale(.8); }
}

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0; background: linear-gradient(180deg, var(--sky-50), #fff); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.page-hero .lead { margin: 24px 0 0; max-width: 620px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2; background: var(--sky-100); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; }
@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__img { aspect-ratio: 16 / 10; }
}

/* ---------- Zielgruppen-Karten ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.path-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; color: var(--text); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-200); color: var(--text); }
.path-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border-radius: 15px; background: var(--sky-100); color: var(--blue); }
.path-card__icon .icon { width: 26px; height: 26px; }
.path-card__kicker { margin: 0 0 8px; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.path-card h3 { margin-bottom: 12px; font-size: 1.5rem; hyphens: auto; overflow-wrap: break-word; }
.path-card p { margin-bottom: 26px; }
.path-card .link-arrow { margin-top: auto; }
.path-card:hover .link-arrow .icon { transform: translateX(4px); }
.path-card--featured { background: var(--navy-900); border-color: var(--navy-900); color: #c8d6e8; }
.path-card--featured:hover { color: #c8d6e8; border-color: var(--navy-900); box-shadow: 0 30px 60px -28px rgba(6, 23, 48, .7); }
.path-card--featured h3 { color: #fff; }
.path-card--featured .path-card__kicker { color: var(--cyan-soft); }
.path-card--featured .path-card__icon { background: rgba(255, 255, 255, .1); color: var(--cyan); }
.path-card--featured .link-arrow { color: #fff; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Eigentümer-Band (dunkel) ---------- */
.owners { position: relative; overflow: hidden; background: var(--navy-950); color: #c3d2e6; }
.owners::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(40, 116, 187, .38), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(32, 193, 242, .12), transparent 70%);
}
.owners .container { position: relative; }
.owners h2, .owners h3 { color: #fff; }
.owners .lead { color: #c3d2e6; }
.owners__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 44px 0 0; list-style: none; }
.services li { display: flex; gap: 14px; }
.services .icon { width: 42px; height: 42px; padding: 10px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: var(--cyan); }
.services strong { display: block; margin-bottom: 2px; color: #fff; font-weight: 600; }
.services span { font-size: .95rem; line-height: 1.5; }
.owners__media { position: relative; }
.owners__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--navy-800); }
.owners__img img { width: 100%; height: 100%; object-fit: cover; }
.quote-card {
  position: relative; margin: -90px 24px 0; padding: 26px 28px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--text);
}
.quote-card p { margin: 0; color: var(--ink); font-size: 1.12rem; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; }
.quote-card span { display: block; margin-top: 12px; font-size: .88rem; color: var(--muted); }
.quote-card::before { content: "«"; position: absolute; top: -26px; left: 22px; font-size: 4rem; line-height: 1; font-weight: 600; color: var(--cyan); }

.steps-wrap { margin-top: clamp(64px, 8vw, 104px); padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .12); }
.steps__heading { margin-bottom: 30px; font-size: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-right: 28px; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 16px; font-size: .95rem; font-weight: 700; letter-spacing: .08em; color: var(--cyan); }
.steps li::after { content: ""; position: absolute; top: 11px; left: 40px; right: 20px; height: 1px; background: linear-gradient(90deg, rgba(32, 193, 242, .5), rgba(255, 255, 255, .08)); }
.steps li:last-child::after { display: none; }
.steps h4 { margin-bottom: 8px; color: #fff; font-size: 1.15rem; }
.steps p { margin: 0; font-size: .95rem; line-height: 1.55; }
.owners__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 56px; }
.owners__cta .hint { color: #c3d2e6; font-size: .96rem; }
.owners__cta .hint a { color: #fff; font-weight: 600; }
@media (max-width: 960px) {
  .owners__grid { grid-template-columns: 1fr; }
  .owners__img { aspect-ratio: 16 / 11; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .steps li:nth-child(odd)::after, .steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .quote-card { margin: -60px 12px 0; }
}

/* ---------- 4D-Sektion: Haus entsteht beim Scrollen ----------
   Ohne JS/WebGL: Schritte als Raster. .build--webgl zeigt die 3D-Bühne,
   .build--live fixiert die Sektion und koppelt die Szene an den Scroll. */
.owners.section { padding-bottom: clamp(56px, 7vw, 96px); }
.owners { overflow: clip; }
.build { position: relative; background: var(--navy-950); color: #c3d2e6; }
.build::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 520px at 72% 55%, rgba(40, 116, 187, .28), transparent 70%);
}
.build h2, .build h3 { color: #fff; }
.build__sticky { position: relative; padding-block: clamp(40px, 6vw, 80px) var(--section); }
.build__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.build__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 36px 0 0; list-style: none; }
.build__steps li { display: flex; gap: 16px; }
.build__num { flex: none; padding-top: 3px; font-size: .95rem; font-weight: 700; letter-spacing: .08em; color: var(--cyan); transition: color .4s; }
.build__steps h3 { margin-bottom: 6px; font-size: 1.15rem; }
.build__steps p { margin: 0; font-size: .95rem; line-height: 1.55; }
.build__track { display: none; }
.build__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 44px; }
.build__cta .hint { font-size: .96rem; }
.build__cta .hint a { color: #fff; font-weight: 600; }
.build__stage { display: none; }

.build--webgl .build__grid { grid-template-columns: .82fr 1.18fr; }
.build--webgl .build__steps { grid-template-columns: 1fr; gap: 6px; }
.build--webgl .build__steps li { padding: 14px 18px; border: 1px solid transparent; border-radius: 14px; }
.build--webgl .build__stage { display: block; position: relative; aspect-ratio: 1 / 1; }
.build__stage::before {
  content: ""; position: absolute; inset: 12% 8% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(54, 143, 206, .32), transparent 72%);
  filter: blur(18px); pointer-events: none;
}
.build__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
.build__caption {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 18px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .9rem; font-weight: 600; white-space: nowrap;
}
.build__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.build__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(32, 193, 242, .55); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.build__scroll {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%); margin: 0;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-soft);
  opacity: 0; transition: opacity .5s; white-space: nowrap; pointer-events: none;
}

.build--live { height: 380vh; }
.build--live .build__sticky {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
  display: flex; align-items: center; padding-block: 24px; overflow: hidden;
}
.build--live .build__stage { aspect-ratio: auto; height: min(calc(100svh - var(--header-h) - 60px), 740px); }
.build--live .build__steps li { opacity: .62; transition: opacity .5s var(--ease), background-color .5s, border-color .5s; }
.build--live .build__steps li.is-done { opacity: .78; }
.build--live .build__steps li.is-active { opacity: 1; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .09); }
.build--live .build__steps li:not(.is-active) .build__num { color: rgba(255, 255, 255, .55); }
.build--live .build__track { display: block; height: 3px; margin-top: 22px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.build__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue-400)); transform-origin: left center; transform: scaleX(0); }
.build--live .build__cta { margin-top: 30px; }
.build--live[data-phase="0"] .build__scroll { opacity: 1; }

@media (max-width: 960px) {
  .build__steps { grid-template-columns: 1fr 1fr; }
  .build--webgl .build__grid { grid-template-columns: 1fr; }
  .build--webgl .build__stage { order: -1; max-width: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 860px) {
  .build--live { height: 340vh; }
  .build--live .build__sticky { align-items: flex-start; padding-block: 12px 16px; }
  .build--live .build__grid { gap: 8px; width: 100%; }
  .build--live .build__stage { height: 40svh; aspect-ratio: auto; }
  .build--live h2 { font-size: 1.55rem; }
  .build--live .eyebrow { margin-bottom: 8px; }
  .build--live .build__steps { margin-top: 14px; }
  /* Nur der aktive Schritt ist sichtbar; die anderen bleiben für Screenreader lesbar */
  .build--live .build__steps li:not(.is-active) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .build--live .build__cta { margin-top: 16px; }
  .build--live .build__cta .hint { display: none; }
  .build__caption { font-size: .8rem; padding: 7px 14px; }
}
@media (max-width: 560px) { .build__steps { grid-template-columns: 1fr; } }

/* 3D-Neigung des Hero-Bildes (nur Maus) */
.hero__tilt { position: relative; transform-style: preserve-3d; transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .6s var(--ease); will-change: transform; }
.hero__tilt .float-card { transform: translateZ(60px); }
.hero__tilt .float-card:hover { transform: translateZ(60px) translateY(-4px); }
.hero__tilt .cubes { transform: translateZ(90px); }

/* Eigentümer-Schritte auf hellem Grund (Unterseite) */
.steps-wrap--light { margin-top: 0; padding-top: 0; border-top: 0; }
.steps--light li::before { color: var(--blue); }
.steps--light li::after { background: linear-gradient(90deg, rgba(40, 116, 187, .45), rgba(40, 116, 187, .06)); }
.steps--light h4 { color: var(--ink); }

/* ---------- Online-Portal ---------- */
.portal__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.portal__intro p { max-width: 520px; }
.note { font-size: .92rem; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; }
.tile {
  display: flex; align-items: center; gap: 16px; height: 100%;
  padding: 20px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--text); text-decoration: none;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.tile:hover { border-color: var(--sky-200); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.tile__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--sky-100); color: var(--blue); transition: background-color .25s, color .25s; }
.tile:hover .tile__icon { background: var(--blue); color: #fff; }
.tile__icon .icon { width: 23px; height: 23px; }
.tile strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.tile span { display: block; margin-top: 2px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.tile > .icon { margin-left: auto; width: 18px; height: 18px; color: var(--line-strong); transition: color .25s, transform .25s var(--ease); }
.tile:hover > .icon { color: var(--blue); transform: translate(2px, -2px); }
.tile--alert .tile__icon { background: #fdecea; color: var(--danger); }
.tile--alert:hover .tile__icon { background: var(--danger); color: #fff; }

.portal__more { margin-top: 22px; }
@media (max-width: 960px) { .portal__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.collage { position: relative; padding: 0 12% 14% 0; }
.collage__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--sky-100); }
.collage__main img, .collage__sub img { width: 100%; height: 100%; object-fit: cover; }
.collage__sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: var(--sky-100); }
.collage .cubes { left: -22px; top: 40px; width: 80px; height: 80px; }
.collage .cubes span:nth-child(1) { width: 30px; height: 30px; right: auto; left: 0; top: 0; }
.collage .cubes span:nth-child(2) { width: 30px; height: 30px; right: auto; left: 30px; top: 28px; }
.collage .cubes span:nth-child(3) { width: 20px; height: 20px; right: auto; left: 8px; top: 40px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; margin: 40px 0 36px; list-style: none; counter-reset: val; }
.values li { padding-top: 18px; border-top: 1px solid var(--line); counter-increment: val; }
.values li::before { content: "0" counter(val); display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.values strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.values span { font-size: .95rem; line-height: 1.55; }
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
}
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Region (Bildband) ---------- */
.region { position: relative; isolation: isolate; overflow: hidden; color: #dce7f5; }
.region__bg { position: absolute; inset: 0; z-index: -2; }
.region__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.region::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 23, 48, .92) 0%, rgba(6, 23, 48, .72) 42%, rgba(6, 23, 48, .15) 100%); }
.region .container { padding-block: clamp(96px, 13vw, 168px); }
.region__content { max-width: 560px; }
.region h2 { color: #fff; }
.region p { color: #dce7f5; }
.region .lead { margin: 22px 0 30px; color: #dce7f5; }
.region__address { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; color: #fff; font-weight: 500; }
.region__address .icon { margin-top: 3px; color: var(--cyan); }
@media (max-width: 700px) { .region::before { background: linear-gradient(180deg, rgba(6, 23, 48, .55), rgba(6, 23, 48, .9)); } }

/* ---------- Kontakt-Band ---------- */
.contact-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sky-100), var(--sky-50) 60%, #fff);
  border: 1px solid var(--sky-200);
}
.contact-band .cubes { right: 26px; top: 22px; width: 90px; height: 90px; opacity: .9; }
.contact-band .cubes span:nth-child(1) { width: 26px; height: 26px; right: 24px; }
.contact-band .cubes span:nth-child(2) { width: 26px; height: 26px; top: 24px; right: 0; }
.contact-band .cubes span:nth-child(3) { width: 16px; height: 16px; top: 30px; right: 50px; }
.contact-band .lead { margin: 18px 0 28px; }
.contact-list { display: grid; gap: 12px; list-style: none; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-list a:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-list small { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--sky-100); color: var(--blue); }
@media (max-width: 900px) { .contact-band { grid-template-columns: 1fr; } }

/* ---------- Karten-Raster (Vorteile, Leistungen) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.section--tint .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 14px; background: var(--sky-100); color: var(--blue); }
.card__icon .icon { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: .98rem; }
.card ul { display: grid; gap: 10px; margin-top: 18px; list-style: none; }
.card li { position: relative; padding-left: 30px; font-size: .98rem; line-height: 1.5; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232874bb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* ---------- Text-Spalten (Angebot) ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.prose { max-width: 720px; }
.prose p { font-size: 1.06rem; }
.prose h2 { margin: 1.8em 0 .6em; font-size: 1.6rem; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.2rem; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split h2 { position: static; } }

/* ---------- Checkliste ---------- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; list-style: none; margin: 26px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 2.6; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- FAQ: Häufig gestellte Fragen ----------
   Fünf Fragen sichtbar, weitere per Schaltfläche. Ohne JS ist alles offen lesbar. */
.faq-list { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq__more { display: grid; gap: 12px; }
.faq__more[hidden] { display: none; }
.faq-list details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.faq-list details:hover { border-color: var(--sky-200); }
.faq-list details[open] { border-color: var(--sky-200); box-shadow: var(--shadow); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; cursor: pointer; list-style: none; border-radius: var(--radius);
  color: var(--ink); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary .icon {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  background: var(--sky-100); color: var(--blue); stroke-width: 2.2;
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq-list details[open] summary .icon { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq__a { padding: 0 24px 24px; }
.faq__a p { margin: 0; max-width: 700px; }
.faq-list details[open] .faq__a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.faq__toggle { display: none; }
.js .faq__toggle { display: inline-flex; }
.faq__toggle .icon { transition: transform .35s var(--ease); }
.faq__toggle:hover .icon { transform: none; }
.faq__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq__toggle .t-less, .faq__toggle[aria-expanded="true"] .t-more { display: none; }
.faq__toggle[aria-expanded="true"] .t-less { display: inline; }
.faq__hint { margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .96rem; }
.faq__hint a { font-weight: 600; }
@media (max-width: 600px) {
  .faq-list summary { padding: 18px 18px; font-size: 1rem; }
  .faq__a { padding: 0 18px 20px; }
}

/* ---------- Formulare ---------- */
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-card > p { margin: 12px 0 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--blue); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid #7d8fa6; border-radius: 12px; background: #fff;
  color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334455d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9bcd2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40, 116, 187, .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { min-height: 0; font-size: .86rem; font-weight: 500; color: var(--danger); }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__footer { grid-column: 1 / -1; display: grid; gap: 14px; margin-top: 6px; }
.form__privacy { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.form__status { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-error { background: #fdecea; color: #8a1c13; }
.form__status a { color: inherit; font-weight: 600; }
.form-success { text-align: center; padding: 20px 6px; }
.form-success__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: #e3f4ea; color: var(--success); }
.form-success__icon .icon { width: 32px; height: 32px; stroke-width: 2.4; }
.form-success h3 { margin-bottom: 10px; font-size: 1.5rem; }
.form-success p { max-width: 420px; margin-inline: auto; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Kontakt-Seite */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-box { margin-top: 22px; padding: 22px 22px; border-radius: var(--radius); background: var(--navy-900); color: #c8d6e8; }
.info-box strong { display: block; margin-bottom: 6px; color: #fff; font-size: 1.05rem; }
.info-box p { margin: 0 0 14px; font-size: .95rem; }
.info-box .link-arrow { color: #fff; }
.aside-card { padding: 26px; border-radius: var(--radius-lg); background: var(--sky-50); border: 1px solid var(--sky-200); }
.aside-card h3 { margin-bottom: 8px; }
.aside-card p { font-size: .97rem; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 18px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .sticky-aside { position: static; } }

/* ---------- Rechtstext ---------- */
.legal { max-width: 820px; }
.legal h2 { margin: 2.2em 0 .6em; font-size: 1.55rem; }
.legal h3 { margin: 1.6em 0 .5em; font-size: 1.15rem; }
.legal ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.legal li { margin-bottom: .3em; }
.legal .muted { color: var(--muted); font-size: .95rem; }
.legal-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 30px; padding: 26px 28px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--sky-200); }
.legal-card h3 { margin: 0 0 6px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-card p { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9bbd3; font-size: .96rem; }
.site-footer a { color: #dce7f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.15fr 1.35fr .8fr .85fr 1.05fr; gap: 32px; padding-block: clamp(64px, 8vw, 96px) 52px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 300px; }
.footer__hev { display: inline-flex; margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; }
.footer__hev img { height: 34px; width: auto; margin: 0; }
.footer__title { margin: 0 0 18px; color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer__list { display: grid; gap: 10px; list-style: none; }
.footer__list .icon { width: 1em; height: 1em; display: inline-block; vertical-align: -2px; margin-left: 4px; }
.footer__contact { display: grid; gap: 10px; }
.footer__portal { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; font-weight: 600; }
.footer__portal:hover { background: rgba(255, 255, 255, .14); text-decoration: none !important; }
.footer__portal .icon { color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
@media (max-width: 1180px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 / Weiterleitung ---------- */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.center-page .lead { max-width: 560px; margin: 20px auto 32px; }
.center-page .btn-row { justify-content: center; }

/* ---------- Einblend-Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { 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; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .site-footer, .float-card, .cubes { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .section { padding-block: 24pt; }
}

/* ---------- Portal-Übersicht mit Dashboard-Nachbau ---------- */
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.showcase h2 em { font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.features { display: grid; gap: 22px; margin: 34px 0 38px; list-style: none; }
.features li { display: flex; gap: 16px; }
.features__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: #fff; border: 1px solid var(--line); color: var(--blue); box-shadow: var(--shadow-sm); }
.features__icon .icon { width: 22px; height: 22px; }
.features strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1.06rem; font-weight: 600; }
.features span { font-size: .97rem; line-height: 1.5; }

.showcase__media { position: relative; margin: 0; perspective: 1800px; }
.mock {
  position: relative; border-radius: 16px; background: #fff; color: var(--text);
  font-size: 12px; line-height: 1.35; text-align: left;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 34, 70, .06);
  transform: rotateY(-9deg) rotateX(4deg); transform-origin: 60% 50%; transform-style: preserve-3d;
  transition: transform .9s var(--ease);
}
.showcase__media:hover .mock { transform: rotateY(-3deg) rotateX(1deg); }
.mock .icon { width: 13px; height: 13px; }
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f7f9fc; border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mock__dots i:nth-child(2) { background: #febc2e; }
.mock__dots i:nth-child(3) { background: #28c840; }
.mock__url { flex: 1; max-width: 290px; margin: 0 auto; padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 10.5px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__body { display: grid; grid-template-columns: 148px minmax(0, 1fr); }
.mock__side { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px; background: var(--navy-900); color: #b9c8dd; border-radius: 0 0 0 16px; }
.mock__brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 6px; color: #fff; font-size: 12.5px; font-weight: 700; }
.mock__brand img { width: 20px; height: 20px; }
.mock__search { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: 11px; }
.mock__nav { display: grid; gap: 2px; list-style: none; }
.mock__nav li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 11.5px; }
.mock__nav .is-active { background: var(--blue); color: #fff; }
.mock__user { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.mock__user span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-400); color: #fff; font-size: 10px; font-weight: 700; }
.mock__user b { display: block; color: #fff; font-size: 11.5px; }
.mock__user small { font-size: 10px; }
.mock__main { display: grid; gap: 10px; padding: 14px; background: #f5f8fb; border-radius: 0 0 16px 0; }
.mock__head { display: flex; align-items: center; justify-content: space-between; }
.mock__head small { display: block; color: var(--muted); font-size: 10px; }
.mock__head b { color: var(--ink); font-size: 14px; letter-spacing: -.01em; }
.mock__bell { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); }
.mock__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mock__kpis > div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mock__kpis small { display: block; color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__kpis b { display: block; color: var(--ink); font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.mock__kpis sub { color: var(--muted); font-size: 10px; vertical-align: baseline; }
.mock__kpis em { display: inline-block; padding: 1px 5px; border-radius: 5px; background: #e3f4ea; color: #17673e; font-size: 9.5px; font-style: normal; font-weight: 700; }
.mock .stars, .mock__kpis em.stars { padding: 0; background: none; color: #e7a800; letter-spacing: 1px; }
.mock__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.mock__card { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mock__cardhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mock__cardhead b { color: var(--ink); font-size: 11.5px; }
.mock__cardhead span { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9.5px; }
.mock__cardhead i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; }
.mock__cardhead .k1 { background: var(--blue); }
.mock__cardhead .k2 { margin-left: 6px; background: var(--sky-200); }
.mock__link { color: var(--blue) !important; font-weight: 600; }
.mock__chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; align-items: end; height: 92px; }
.mock__chart span { display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.mock__chart span::before, .mock__chart span::after { content: ""; flex: 1; border-radius: 2px 2px 0 0; transform-origin: bottom; transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .2s); }
.mock__chart span::before { height: var(--a); background: var(--blue); }
.mock__chart span::after { height: var(--b); background: var(--sky-200); }
.js .showcase__media:not(.is-in) .mock__chart span::before, .js .showcase__media:not(.is-in) .mock__chart span::after { transform: scaleY(0); }
.mock__chart span:nth-child(1) { --a: 55%; --b: 48%; --i: 0; }
.mock__chart span:nth-child(2) { --a: 44%; --b: 40%; --i: 1; }
.mock__chart span:nth-child(3) { --a: 70%; --b: 62%; --i: 2; }
.mock__chart span:nth-child(4) { --a: 50%; --b: 52%; --i: 3; }
.mock__chart span:nth-child(5) { --a: 82%; --b: 72%; --i: 4; }
.mock__chart span:nth-child(6) { --a: 64%; --b: 60%; --i: 5; }
.mock__chart span:nth-child(7) { --a: 46%; --b: 44%; --i: 6; }
.mock__chart span:nth-child(8) { --a: 76%; --b: 70%; --i: 7; }
.mock__chart span:nth-child(9) { --a: 92%; --b: 86%; --i: 8; }
.mock__chart span:nth-child(10) { --a: 62%; --b: 58%; --i: 9; }
.mock__chart span:nth-child(11) { --a: 52%; --b: 50%; --i: 10; }
.mock__chart span:nth-child(12) { --a: 66%; --b: 54%; --i: 11; }
.mock__months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 4px; color: var(--muted); font-size: 8.5px; text-align: center; }
.mock__dates { display: grid; gap: 6px; list-style: none; }
.mock__dates li { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mock__dates li:last-child { padding-bottom: 0; border-bottom: 0; }
.mock__dates time { width: 30px; flex: none; padding: 3px 0; border-radius: 6px; background: var(--sky-50); color: var(--blue); font-size: 12px; font-weight: 700; line-height: 1.05; text-align: center; }
.mock__dates time small { display: block; color: var(--muted); font-size: 8.5px; font-weight: 500; }
.mock__dates b, .mock__issues b { display: block; color: var(--ink); font-size: 11px; }
.mock__dates small, .mock__issues small { color: var(--muted); font-size: 9.5px; }
.mock__issues { display: grid; list-style: none; }
.mock__issues li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mock__issues li:last-child { border-bottom: 0; padding-bottom: 0; }
.mock__issues li > .icon { width: 26px; height: 26px; padding: 6px; flex: none; border-radius: 7px; background: var(--sky-50); color: var(--blue); }
.mock__issues div { flex: 1; min-width: 0; }
.st { padding: 2px 8px; border-radius: 999px; font-size: 9.5px; font-style: normal; font-weight: 700; white-space: nowrap; }
.st--work { background: var(--sky-100); color: var(--blue-700); }
.st--ok { background: #fff1cc; color: #7a5600; }
.st--done { background: #e3f4ea; color: #17673e; }
.mock__toast {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg);
  font-size: 11px; transform: translateZ(70px); animation: bob 6s ease-in-out infinite;
}
.mock__toast small { display: block; color: var(--muted); font-size: 9.5px; }
.mock__toast b { color: var(--ink); font-size: 12px; white-space: nowrap; }
.mock__toast--new { left: -34px; top: 30%; }
.mock__toast--done { right: 7%; bottom: -24px; animation-delay: -3s; }
.mock__toasticon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; }
.mock__toasticon .icon { width: 15px; height: 15px; }
.mock__toasticon--ok { background: #1c9a5a; }
@keyframes bob { 0%, 100% { transform: translateZ(70px) translateY(0); } 50% { transform: translateZ(70px) translateY(-7px); } }
.mock__note { margin-top: 40px; color: var(--muted); font-size: .82rem; letter-spacing: .02em; text-align: center; }


@media (max-width: 1060px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__media { max-width: 760px; }
  .mock__toast--new { left: -10px; }
}
@media (max-width: 700px) {
  .mock { transform: none; }
  .showcase__media:hover .mock { transform: none; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__main { border-radius: 0 0 16px 16px; }
  .mock__kpis { grid-template-columns: 1fr 1fr; }
  .mock__grid { grid-template-columns: 1fr; }
  .mock__toast--new { left: auto; right: 8px; top: 41%; }
  .mock__toast--done { right: 8px; }
}

/* ---------- Orts-Karussell (Talkessel Schwyz & Zentralschweiz) ---------- */
.region--marquee .container { padding-block: clamp(96px, 12vw, 150px) clamp(24px, 4vw, 44px); }
.region--marquee::before {
  background:
    linear-gradient(180deg, rgba(6, 23, 48, 0) 45%, rgba(6, 23, 48, .62) 100%),
    linear-gradient(90deg, rgba(6, 23, 48, .9) 0%, rgba(6, 23, 48, .66) 42%, rgba(6, 23, 48, .12) 100%);
}
.marquee { position: relative; display: grid; gap: clamp(2px, .8vw, 10px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; user-select: none; }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; align-items: center; width: max-content; font-size: clamp(3rem, 8.6vw, 8.4rem); animation: marquee 80s linear infinite; }
.marquee__row--rev .marquee__track { font-size: clamp(1.9rem, 4.6vw, 4.4rem); animation-duration: 95s; animation-direction: reverse; }
.mq-word { padding: 0 .06em; color: #fff; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; white-space: nowrap; }
.marquee__row--rev .mq-word { font-weight: 600; color: rgba(255, 255, 255, .92); }
.mq-word--outline { color: rgba(255, 255, 255, .26) !important; }
.mq-cube { width: .3em; height: .3em; flex: none; margin: 0 .42em; border-radius: .05em; background: var(--cyan); transform: rotate(17deg); box-shadow: 0 0 30px rgba(32, 193, 242, .45); }
.marquee__row--rev .mq-cube { background: #fff; box-shadow: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.region--marquee.is-paused .marquee__track, .marquee:hover .marquee__track { animation-play-state: paused; }
.marquee-toggle {
  position: absolute; right: var(--gutter); bottom: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(6, 23, 48, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: .82rem; font-weight: 600; cursor: pointer;
}
.marquee-toggle:hover { background: rgba(6, 23, 48, .7); border-color: #fff; }
.marquee-toggle .icon { width: 16px; height: 16px; }
.marquee-toggle .icon--play, .region--marquee.is-paused .marquee-toggle .icon--pause { display: none; }
.region--marquee.is-paused .marquee-toggle .icon--play { display: block; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee-toggle { display: none; } }

.contact-band .eyebrow { color: var(--blue-700); }

/* ---------- Ansprechperson ---------- */
.person { position: relative; margin: 0; padding: 0 0 56px; max-width: 520px; }
.person__img { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--navy-800); box-shadow: var(--shadow-lg); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person .cubes { left: -24px; top: 44px; width: 80px; height: 80px; z-index: 1; }
.person .cubes span:nth-child(1) { width: 30px; height: 30px; right: auto; left: 0; top: 0; }
.person .cubes span:nth-child(2) { width: 30px; height: 30px; right: auto; left: 30px; top: 28px; }
.person .cubes span:nth-child(3) { width: 20px; height: 20px; right: auto; left: 8px; top: 40px; }
.person__card {
  position: absolute; right: -18px; bottom: 0; display: grid; gap: 2px;
  min-width: 250px; padding: 20px 24px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg);
}
.person__card strong { color: var(--ink); font-size: 1.2rem; letter-spacing: -.01em; }
.person__card span { color: var(--muted); font-size: .92rem; }
.person__card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--blue); font-weight: 600; text-decoration: none; }
.person__card a:hover { color: var(--navy); }
.person__card .icon { width: 1.05em; height: 1.05em; }
@media (max-width: 960px) { .person { max-width: 460px; } .person__card { right: 12px; } }

.person-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.person-mini img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--sky-200); }
.person-mini strong { display: block; color: var(--ink); font-size: 1.08rem; }
.person-mini span { color: var(--muted); font-size: .9rem; }
.aside-card .contact-list { margin-top: 6px; }

/* ---------- Innovationspartner ---------- */
.partners { border-top: 1px solid var(--line); }
.partners__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.partners__head p:not(.eyebrow) { margin: 0; font-size: 1.06rem; }
.partners__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.partner {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--sky-50)); color: var(--text); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sky-200); color: var(--text); }
.partner__logo { display: flex; align-items: center; height: 52px; }
.partner__logo img { width: auto; max-width: 190px; height: auto; max-height: 38px; object-fit: contain; object-position: left center; }
.partner__logo--tall { height: 52px; }
.partner__logo--tall img { max-height: 52px; }
.partner__name { color: var(--navy); font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.partner__name--caps { letter-spacing: .04em; }
.partner__tag { margin: 14px 0 10px; color: var(--blue-700); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.partner__text { margin-bottom: 22px; font-size: .97rem; line-height: 1.55; }
.partner__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--blue); font-size: .92rem; font-weight: 600; }
.partner__link .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.partner:hover .partner__link .icon { transform: translate(2px, -2px); }
@media (max-width: 900px) { .partners__head, .partners__list { grid-template-columns: 1fr; } }

/* Ansprechpartner-Karte auf der Bildcollage (statt grossem Porträt) */
.collage .contact-chip {
  position: absolute; left: 18px; bottom: 9%; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg);
}
.contact-chip img, .contact-chip picture img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.contact-chip picture { display: block; flex: none; }
.contact-chip small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-chip strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.contact-chip a { color: var(--blue); font-size: .9rem; font-weight: 600; text-decoration: none; }
.contact-chip a:hover { color: var(--navy); }
@media (max-width: 560px) { .collage .contact-chip { left: 8px; bottom: 4%; padding-right: 14px; } }

/* SEO-Runde 2: Suchbegriff in der H1, zusätzliche Links, Laufschrift erst nach dem Klonen */
.h1-kicker { display: flex; margin-bottom: 22px; }
.build .link-arrow { color: #fff; }
.build .link-arrow:hover { color: var(--cyan-soft); }
.more-link { margin-top: 32px; }
.marquee__track:not(.is-ready) { animation: none; }

/* ==========================================================================
   Mobil-Runde (Audit 03.10.2026)
   ========================================================================== */

/* Header: Unschärfe in ein Pseudo-Element, sonst wird der Header zum Bezugsrahmen
   für das fixierte Handy-Menü (Menü war nur 53 px hoch). */
.site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
@media (max-width: 960px) {
  .site-header__actions { margin-left: auto; }
  .nav { overscroll-behavior: contain; padding-bottom: 96px; }
  .site-header.is-open::before { background: #fff; }
}

/* Lange E-Mail-Adressen dürfen umbrechen (Querüberlauf auf /eigentuemer/ bei 360 px) */
.contact-list a > span, .contact-list div > span { min-width: 0; overflow-wrap: anywhere; }


/* Touch-Ziele mindestens 44 px */
.marquee-toggle { min-height: 44px; }
.info-box .link-arrow { min-height: 44px; }
.footer__list a { display: inline-block; padding-block: 6px; }
.footer__list { gap: 4px; }

/* Platz für die Chat-Blase des Portals am Seitenende */
.footer__bottom { padding-bottom: 88px; }

/* Lesbarkeit */
.form__privacy { font-size: .9rem; }

/* Laufschrift: Pause beim Überfahren nur mit Maus (auf Touch blieb sie nach einem Tipp stehen) */
@media (hover: none) {
  .marquee:hover .marquee__track { animation-play-state: running; }
}
.region--marquee.is-paused .marquee__track { animation-play-state: paused; }

/* 4D-Haus: Bühnenhöhe mit vh-Rückfall für ältere iOS-Versionen */
.build--live .build__stage { height: min(calc(100vh - var(--header-h) - 60px), 740px); height: min(calc(100svh - var(--header-h) - 60px), 740px); }
@media (max-width: 860px) {
  .build--live .build__stage { height: 40vh; height: 40svh; }
  .build--live .build__more { display: none; }
}
/* Niedrige Desktop- und Tablet-Bildschirme (z. B. 1366x768, iPad quer): kompakter, damit alles sichtbar bleibt */
@media (min-width: 861px) and (max-height: 860px) {
  .build--live .build__steps li:not(.is-active) p { display: none; }
  .build--live .build__steps li { padding-block: 10px; }
  .build--live h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .build--live .eyebrow { margin-bottom: 10px; }
  .build--live .build__steps { margin-top: 18px; }
  .build--live .build__track { margin-top: 14px; }
  .build--live .build__cta { margin-top: 18px; }
}


/* Audit 03.10.2026: Barrierefreiheit */
.path-card--featured:focus-visible { outline-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5f7390; }
.footer__contact a { overflow-wrap: normal; }
.contact-grid > * { min-width: 0; }
.float-card .float-card__text { display: block; margin: 2px 0 6px; font-size: .9rem; line-height: 1.45; }
.form__noscript { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--sky-200); border-radius: 12px; background: var(--sky-50); font-size: .95rem; }

/* ---------- Fliessende Seitenübergänge (View Transitions) ----------
   Nur in Browsern mit Cross-Document View Transitions; alle anderen wechseln normal.
   Die Namen gelten nur während des Wechsels (:active-view-transition): ein dauerhafter
   view-transition-name würde den Header zum Backdrop-Root machen und das Milchglas abschalten. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
html:active-view-transition .site-header { view-transition-name: kopf; }
html:active-view-transition .hero__content,
html:active-view-transition .page-hero__grid > div:first-child { view-transition-name: titel; }
html:active-view-transition .hero__img,
html:active-view-transition .page-hero__img { view-transition-name: bild; }
/* Bei Ankern (z. B. /#mieter) liegt der Seitenkopf ausserhalb des Bildes: nichts mitfliegen lassen */
html:active-view-transition:has(:target) :is(.hero__content, .hero__img, .page-hero__grid > div:first-child, .page-hero__img) { view-transition-name: none; }

@keyframes vt-aus { to { opacity: 0; } }
@keyframes vt-ein { from { opacity: 0; transform: translateY(18px); } }
@keyframes vt-titel { from { opacity: 0; transform: translateY(34px); } }
::view-transition-old(root), ::view-transition-new(root),
::view-transition-old(titel), ::view-transition-new(titel) { mix-blend-mode: normal; }
::view-transition-old(root) { animation: vt-aus .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-ein .6s cubic-bezier(.16, 1, .3, 1) .1s both; }
::view-transition-group(titel) { animation: none; }
::view-transition-old(titel) { animation: vt-aus .18s ease both; }
::view-transition-new(titel) { animation: vt-titel .78s cubic-bezier(.16, 1, .3, 1) .07s both; }
::view-transition-group(bild) { z-index: 2; animation-duration: .72s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-group(kopf) { z-index: 3; animation-duration: .5s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* ---------- Hinweis auf den Verwaltungs-Check im Seitenkopf ---------- */
.hero-check { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.6; }
.hero-check .link-arrow { display: inline; }
.hero-check .link-arrow .icon { display: inline-block; vertical-align: -.15em; margin-left: 4px; }
.hero-check .nb { white-space: nowrap; }
/* Lange Wörter im Seitenkopf brechen statt die Spalte zu sprengen */
.page-hero h1 { overflow-wrap: break-word; hyphens: manual; }

/* ---------- Direkt zum Anliegen (Mieterinnen und Mieter) ---------- */
.anliegen { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.anliegen__kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: end; margin-bottom: 34px; }
.anliegen__titel { margin: 10px 0 12px; font-size: clamp(1.75rem, 2.8vw, 2.3rem); letter-spacing: -.03em; }
.anliegen__lead { max-width: 520px; margin: 0; color: var(--muted); }

.adressleiste { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; }
.adressleiste__balken { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 56px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.adressleiste__feld { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; }
.adressleiste__feld img { flex: none; width: 20px; height: 20px; }
.adressleiste__url { color: var(--muted); font-weight: 500; white-space: nowrap; }
.adressleiste__url b { color: var(--navy); font-weight: 700; }
.adressleiste__kopieren { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--sky-50); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.adressleiste__kopieren:hover { background: var(--sky-100); color: var(--blue); }
.adressleiste__kopieren.is-done { background: #eef8f2; color: var(--success); }
.adressleiste__kopieren .icon { width: 17px; height: 17px; }
.adressleiste__oeffnen { min-height: 56px; }
.adressleiste__tipp { grid-column: 1 / -1; margin: 0; padding-left: 18px; color: var(--muted); font-size: .86rem; }

.anliegen__kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.anliegen__kacheln li { display: flex; }
.kachel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.kachel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, var(--sky-50), transparent 62%); opacity: 0; transition: opacity .35s; }
.kachel:hover { transform: translateY(-4px); border-color: var(--sky-200); box-shadow: var(--shadow); color: var(--ink); }
.kachel:hover::before { opacity: 1; }
.kachel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--sky-100); color: var(--blue); transition: background-color .3s, color .3s, transform .35s var(--ease); }
.kachel__icon .icon { width: 24px; height: 24px; }
.kachel:hover .kachel__icon { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.04); }
.kachel__text { display: flex; flex-direction: column; gap: 4px; padding-right: 36px; }
.kachel__text strong { font-size: 1.08rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.kachel__text span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.kachel__pfeil { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: background-color .3s, border-color .3s, color .3s, transform .35s var(--ease); }
.kachel__pfeil .icon { width: 16px; height: 16px; }
.kachel:hover .kachel__pfeil { transform: translate(2px, -2px); border-color: var(--navy); background: var(--navy); color: #fff; }
.kachel--notfall::before { background: radial-gradient(120% 90% at 100% 0%, #fdf1ef, transparent 62%); }
.kachel--notfall .kachel__icon { background: #fdecea; color: var(--danger); }
.kachel--notfall:hover .kachel__icon { background: var(--danger); color: #fff; }
.kachel--notfall:hover { border-color: #f5cdc8; }

.notfall-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 16px; padding: 12px 12px 12px 24px; border-radius: 999px; background: var(--navy-900); color: #dbe8f7; }
.notfall-leiste__titel { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font-weight: 700; letter-spacing: .02em; }
.notfall-leiste__punkt { width: 10px; height: 10px; border-radius: 50%; background: #ff5a4f; animation: notfall-puls 2.4s ease-out infinite; }
@keyframes notfall-puls { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 79, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 90, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 79, 0); } }
.notfall-leiste__nummern { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.notfall-leiste__nr { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #dbe8f7; font-size: .92rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.notfall-leiste__nr b { color: #fff; font-weight: 700; letter-spacing: .01em; }
.notfall-leiste__nr:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .14); color: #fff; }
.notfall-leiste__nr--haupt { border-color: #fff; background: #fff; color: var(--ink); }
.notfall-leiste__nr--haupt b { color: var(--navy); }
.notfall-leiste__nr--haupt .icon { width: 17px; height: 17px; color: var(--blue); }
.notfall-leiste__nr--haupt:hover { border-color: #fff; background: var(--sky-50); color: var(--ink); }
.notfall-leiste :focus-visible { outline-color: var(--cyan); }

@media (max-width: 1180px) {
  .anliegen__kopf { grid-template-columns: 1fr; align-items: start; }
  .adressleiste { justify-self: start; }
  .adressleiste__tipp { padding-left: 4px; }
}
@media (max-width: 1060px) {
  .anliegen__kacheln { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .notfall-leiste { border-radius: var(--radius-lg); padding: 18px; }
  .notfall-leiste__nummern { width: 100%; margin-left: 0; }
}
@media (max-width: 600px) {
  .anliegen__kacheln { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .kachel__text { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
  .kachel { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; }
  .kachel__icon { flex: none; width: 46px; height: 46px; border-radius: 13px; }
  .kachel__text { padding-right: 0; }
  .kachel__pfeil { position: static; flex: none; width: 32px; height: 32px; margin-left: auto; }
  .adressleiste { grid-template-columns: 1fr; justify-self: stretch; }
  .adressleiste__balken { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px; border-radius: 22px; }
  .adressleiste__feld { flex: 1 1 100%; justify-content: center; }
  .adressleiste__url { font-size: .94rem; line-height: 1.35; text-align: center; white-space: normal; }
  .adressleiste__url .nb { white-space: nowrap; }
  .adressleiste__kopieren { flex: 1 1 100%; justify-content: center; }
  .adressleiste__oeffnen { width: 100%; justify-content: center; }
  .adressleiste__tipp { padding-left: 4px; }
  .notfall-leiste__nummern { display: grid; grid-template-columns: repeat(3, 1fr); }
  .notfall-leiste__nummern li:first-child { grid-column: 1 / -1; }
  .notfall-leiste { padding: 16px; }
  .notfall-leiste__nr { width: 100%; justify-content: center; padding: 0 12px; }
  .notfall-leiste__nr:not(.notfall-leiste__nr--haupt) { flex-direction: column; gap: 0; padding: 8px 4px; border-radius: 16px; font-size: .78rem; line-height: 1.2; }
  .notfall-leiste__nr:not(.notfall-leiste__nr--haupt) b { font-size: 1.05rem; }
}

/* ---------- Ortsseiten: Foto im Seitenkopf mit Bildnachweis (CC-Lizenz) ---------- */
figure.page-hero__img { margin: 0; }
.page-hero__credit { position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 4px 11px; border-radius: 999px; background: rgba(6, 23, 48, .62); color: #e6eef8; font-size: .72rem; line-height: 1.45; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.page-hero__credit a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 2px; }
.page-hero__credit a:hover { text-decoration-color: currentColor; }
.page-hero__credit :focus-visible { outline-color: var(--cyan); }

/* ---------- Erklärvideo (Eigentümer-Seite) ---------- */
.erklaervideo-sektion { padding-top: clamp(32px, 5vw, 64px); }
.erklaervideo { max-width: 1040px; margin: 0 auto; }
.erklaervideo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--navy-950); box-shadow: var(--shadow-lg); }
.erklaervideo figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; text-align: center; }
.erklaervideo__text { max-width: 820px; margin: 22px auto 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.erklaervideo__text summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 20px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.erklaervideo__text summary::-webkit-details-marker { display: none; }
.erklaervideo__text summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.erklaervideo__text[open] summary::after { content: "−"; }
.erklaervideo__text ol { display: grid; gap: 10px; margin: 0; padding: 0 22px 20px 42px; color: var(--muted); line-height: 1.6; }
.erklaervideo__text strong { color: var(--ink); }
