/* HS-Webdesign — Stil nach dem Vorbild von cal.com (gemessen am 08.11.2026).
   Hell im Standard, dunkel im Dunkelmodus des Geräts oder per Schalter im Fußbereich.
   Flach: keine Verläufe, keine Glows. Bewegung nur als Zustandswechsel. */

@font-face {
  font-family: "Cal Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/CalSansVF.woff2) format("woff2");
}

/* ---------- Farben: hell ---------- */
:root {
  color-scheme: light;
  --page: #ffffff;
  --plate: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --field: #f3f4f6;
  --chip: #f3f4f6;
  --raised: #ffffff;
  --well: #e5e7eb;
  --ink: #242424;
  --text: #111111;
  --body: #374151;
  --muted: #6a6e78;
  --quiet: #858993;
  --subtle: #5f6570;
  --line: #e5e7eb;
  --line-2: #dee1e6;
  --hairline: #0f234b12;
  --plate-line: #0f234b0f;
  --accent: #cc4510;
  --ok: #16a34a;
  --mac-close: #ff5f57; --mac-min: #febc2e; --mac-zoom: #28c840;

  --btn-bg: #242424; --btn-text: #ffffff; --btn-border: #242424;
  --btn-shadow: inset 0 1px 0 #ffffff29, 0 1px 2px #0000000d;
  --btn2-bg: #ffffff; --btn2-text: #242424; --btn2-border: #e5e7eb;
  --btn2-shadow: 0 1px 2px #0f234b0a;
  --pill-bg: #f3f4f6; --pill-tag: #ffffff;

  --bar: rgba(255, 255, 255, .72);
  --shadow-bar: 0 0 0 1px #0f234b0f, 0 2px 6px -2px #0f234b14;
  --shadow-plate: inset 0 0 0 1px #0f234b0d;
  --shadow-card: inset 0 0 0 1px #0f234b12;
  --shadow-raised: inset 0 1px 0 #fff, 0 0 0 1px #0f234b12, 0 1px 2px #0f234b0a;
  --shadow-window: 0 0 0 .5px #00000029, 0 1px 2px #0000000f, 0 24px 64px -8px #0f1e3252;
  --shadow-print: 0 1px 2px #0000000f, 0 10px 18px -10px #00000038;
  --logo-filter: brightness(0);
  --logo-opacity: .55;

  --foot: #111111;
  --font: "Cal Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 1320px;
  --pad: 28px;
}

/* ---------- Farben: dunkel ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0f0f0f; --plate: #181818; --surface: #1c1c1c; --surface-2: #202020;
    --field: #242424; --chip: #272727; --raised: #212121; --well: #0a0a0a;
    --ink: #f2f2f2; --text: #fafafa; --body: #d4d5d8; --muted: #9c9c9c; --quiet: #9c9c9c; --subtle: #ababb3;
    --line: #282828; --line-2: #2e2e2e; --hairline: #ffffff14; --plate-line: #ffffff0f;
    --accent: #e8602a; --ok: #22c55e;
    --btn-bg: #e5e5e5; --btn-text: #111111; --btn-border: #e5e5e5; --btn-shadow: inset 0 1px 0 #ffffff29, 0 1px 2px #0000000d;
    --btn2-bg: rgba(255, 255, 255, .048); --btn2-text: #fafafa; --btn2-border: rgba(255, 255, 255, .15); --btn2-shadow: none;
    --pill-bg: #1f1f1f; --pill-tag: rgba(255, 255, 255, .12);
    --bar: rgba(23, 23, 23, .72);
    --shadow-bar: inset 0 0 0 1px #ffffff0f;
    --shadow-plate: inset 0 0 0 1px #ffffff0d;
    --shadow-card: inset 0 0 0 1px #ffffff14;
    --shadow-raised: inset 0 1px 0 #ffffff0f, 0 0 0 1px #ffffff12, 0 1px 2px #0000004d;
    --shadow-window: inset 0 .5px 0 #ffffff29, 0 0 0 1px #000000b3, 0 28px 72px -8px #000000b3;
    --shadow-print: 0 1px 2px #0003, 0 8px 14px -8px #0000005c;
    --logo-filter: brightness(0) invert(1);
    --logo-opacity: .6;
    --foot: #161616;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0f0f0f; --plate: #181818; --surface: #1c1c1c; --surface-2: #202020;
  --field: #242424; --chip: #272727; --raised: #212121; --well: #0a0a0a;
  --ink: #f2f2f2; --text: #fafafa; --body: #d4d5d8; --muted: #9c9c9c; --quiet: #9c9c9c; --subtle: #ababb3;
  --line: #282828; --line-2: #2e2e2e; --hairline: #ffffff14; --plate-line: #ffffff0f;
  --accent: #e8602a; --ok: #22c55e;
  --btn-bg: #e5e5e5; --btn-text: #111111; --btn-border: #e5e5e5; --btn-shadow: inset 0 1px 0 #ffffff29, 0 1px 2px #0000000d;
  --btn2-bg: rgba(255, 255, 255, .048); --btn2-text: #fafafa; --btn2-border: rgba(255, 255, 255, .15); --btn2-shadow: none;
  --pill-bg: #1f1f1f; --pill-tag: rgba(255, 255, 255, .12);
  --bar: rgba(23, 23, 23, .72);
  --shadow-bar: inset 0 0 0 1px #ffffff0f;
  --shadow-plate: inset 0 0 0 1px #ffffff0d;
  --shadow-card: inset 0 0 0 1px #ffffff14;
  --shadow-raised: inset 0 1px 0 #ffffff0f, 0 0 0 1px #ffffff12, 0 1px 2px #0000004d;
  --shadow-window: inset 0 .5px 0 #ffffff29, 0 0 0 1px #000000b3, 0 28px 72px -8px #000000b3;
  --shadow-print: 0 1px 2px #0003, 0 8px 14px -8px #0000005c;
  --logo-filter: brightness(0) invert(1);
  --logo-opacity: .6;
  --foot: #161616;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--foot); }
body {
  margin: 0; background: var(--foot); color: var(--ink);
  font: 400 16px/1.5 var(--font); font-variation-settings: "GEOM" 25;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--page); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--page); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* Die Seite liegt als Fläche über dem dunklen Fußbereich und ist unten abgerundet */
.page { position: relative; z-index: 1; background: var(--page); border-radius: 0 0 40px 40px; overflow: clip; }

.measure { max-width: var(--measure); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 128px 0; }
.section.tight-top { padding-top: 0; }
@media (max-width: 1024px) { .section { padding: 96px 0; } }
@media (max-width: 640px) { :root { --pad: 16px; } .section { padding: 72px 0; } }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; font-variation-settings: "GEOM" 50; color: var(--ink); text-wrap: balance; }
h1, .h1 { font-size: 80px; line-height: 1.08; letter-spacing: -.01em; }
h2, .h2 { font-size: 56px; line-height: 1.05; letter-spacing: -.01em; }
h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
@media (max-width: 1024px) { h1, .h1 { font-size: 60px; } h2, .h2 { font-size: 44px; } }
@media (max-width: 640px) { h1, .h1 { font-size: 42px; } h2, .h2 { font-size: 34px; } h3 { font-size: 20px; } }

.lead { font-size: 24px; line-height: 1.35; font-weight: 500; font-variation-settings: "GEOM" 50; color: var(--quiet); max-width: 640px; }
.sub { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--muted); }
.small { font-size: 14px; line-height: 20px; color: var(--muted); }
.small a, .small strong { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .lead { font-size: 19px; } .sub { font-size: 17px; line-height: 25px; } }
.head { display: grid; gap: 20px; margin-bottom: 56px; }
.head .btn-row { margin-top: 4px; }
.center { text-align: center; }
.center .lead, .center .sub { margin-left: auto; margin-right: auto; }

/* ---------- Knöpfe ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 1px 14px 0; border-radius: 12px; border: 1px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--btn-shadow);
  font-size: 14px; line-height: 21px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: opacity .15s, background-color .15s;
}
.btn:hover { opacity: .88; }
.btn-2 { background: var(--btn2-bg); color: var(--btn2-text); border-color: var(--btn2-border); box-shadow: var(--btn2-shadow); }
.btn-2:hover { opacity: 1; background: var(--chip); }
.btn-lg { height: 64px; padding: 0 28px; min-width: 280px; border-radius: 14px; font-size: 20px; line-height: 28px; }
.btn-xl { height: 72px; padding: 20px 36px; border-radius: 20px; font-size: 32px; line-height: 32px; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.01em; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-lg svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.center .btn-row { justify-content: center; }
.btn-row-lg { gap: 16px; }
@media (max-width: 640px) {
  .btn-lg { width: 100%; min-width: 0; height: 56px; font-size: 18px; }
  .btn-xl { height: 60px; font-size: 24px; padding: 14px 28px; }
}
.chev { display: inline-block; font-size: 1.1em; line-height: 1; transform: translateY(-1px); }

/* ---------- Kopfleiste (schwebender Balken) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 12px 16px; pointer-events: none; }
.bar {
  pointer-events: auto; max-width: var(--measure); margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 12px 0 28px; border-radius: 18px;
  background: var(--bar); box-shadow: var(--shadow-bar);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.02em; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--page); display: grid; place-items: center; font-size: 15px; letter-spacing: -.03em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink); transition: background-color .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--chip); }
.bar-right { display: flex; align-items: center; gap: 4px; }
.bar-right .nav-link { display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.bar-right .nav-link:hover { background: var(--chip); }
.menu-toggle { display: none; height: 36px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--chip); font-size: 14px; font-weight: 500; cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 1024px) {
  .bar { padding: 0 10px 0 18px; }
  .nav, .bar-right .nav-link { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .mobile-nav {
    pointer-events: auto; max-width: var(--measure); margin: 8px auto 0; padding: 8px; border-radius: 18px;
    background: var(--surface); box-shadow: var(--shadow-window);
  }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { display: block; padding: 14px 16px; border-radius: 12px; font-size: 18px; font-weight: 500; }
  .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--chip); }
  .mobile-nav .btn { margin-top: 8px; height: 52px; font-size: 17px; }
}
@media (max-width: 640px) { .bar-right > .btn { display: none; } .logo { font-size: 19px; } }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 96px; text-align: center; }
@media (max-width: 1024px) { .hero { padding: 136px 0 72px; } }
@media (max-width: 640px) { .hero { padding: 112px 0 56px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px;
  background: var(--pill-bg); font-size: 14px; color: var(--ink); max-width: 100%; margin-bottom: 28px;
}
.pill b { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--pill-tag); box-shadow: var(--shadow-card); font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero h1 { max-width: 1264px; margin: 0 auto; }
.hero .btn-row, .page-hero .btn-row { justify-content: center; }
.hero .sub { margin-top: 24px; }
.hero .btn-row { margin-top: 36px; }
.hero .small { margin-top: 20px; }

/* Kleine echte Elemente mitten in der Überschrift */
.tile {
  display: inline-flex; vertical-align: middle; align-items: center; gap: 10px; height: 64px; margin: -8px 4px 0;
  border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-raised); overflow: hidden;
  font-size: 15px; line-height: 1.2; letter-spacing: 0; font-weight: 500; font-variation-settings: "GEOM" 25; text-align: left;
}
.tile-img { width: 112px; padding: 0; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 30%; }
.tile-ui { padding: 0 14px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.tile-ui .t1 { display: flex; gap: 8px; align-items: baseline; color: var(--ink); font-weight: 600; }
.tile-ui .t1 em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 13px; }
.tile-ui .t2 { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.tile-pin { padding: 0 16px 0 12px; gap: 8px; }
.tile-pin svg { width: 26px; height: 26px; }
.tile-pin .t2 { font-size: 13px; color: var(--muted); display: block; }
.tile-pin .t1 { font-weight: 600; color: var(--ink); display: block; }
@media (max-width: 1024px) { .tile { height: 52px; border-radius: 12px; } .tile-img { width: 88px; } .tile-ui, .tile-pin { display: none; } }
@media (max-width: 640px) { .tile { display: none; } }

/* ---------- Fensterleiste (für die kleinen Browser in den Karten) ---------- */
.window-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--mac-close); }
.lights i:nth-child(2) { background: var(--mac-min); }
.lights i:nth-child(3) { background: var(--mac-zoom); }
.url { flex: 1; max-width: 360px; margin: 0 auto; height: 26px; border-radius: 8px; background: var(--field); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); transform: translateX(-30px); }
.url svg { width: 11px; height: 11px; }
@media (max-width: 640px) { .window-bar { height: 32px; } .lights i { width: 8px; height: 8px; } .url { height: 20px; font-size: 11px; transform: none; } }

/* ---------- Logo-Zeile ---------- */
.logos { padding: 32px 0 0; text-align: center; }
.logos p { font-size: 14px; color: var(--muted); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; margin-top: 28px; }
.logo-row img { filter: var(--logo-filter); opacity: var(--logo-opacity); width: auto; height: var(--h, 32px); }
@media (max-width: 640px) { .logo-row { gap: 24px 36px; } .logo-row img { height: calc(var(--h, 32px) * .8); } }

/* ---------- Abschnitt mit Schritten und Bildfläche ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split h2 { margin-bottom: 32px; }
.steps { display: grid; gap: 8px; }
.step {
  position: relative; display: block; width: 100%; text-align: left; border: 0; cursor: pointer;
  padding: 16px 20px; border-radius: 16px; background: var(--plate); box-shadow: var(--shadow-plate); overflow: hidden;
  transition: background-color .3s;
}
.step strong { display: block; font-size: 18px; font-weight: 500; color: var(--muted); transition: color .3s; }
.step span { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--muted); transition: max-height .5s ease, opacity .5s ease, margin .5s ease; }
.step[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-raised); }
.step[aria-selected="true"] strong { color: var(--ink); }
.step[aria-selected="true"] span { max-height: 120px; opacity: 1; margin-top: 6px; }
.step i { position: absolute; left: 20px; top: 0; height: 2px; width: 0; background: var(--ink); border-radius: 2px; }
.step[aria-selected="true"] i { animation: progress var(--step-time, 6s) linear forwards; }
.steps.paused .step i { animation: none; width: 0; }
@keyframes progress { to { width: 40px; } }
@media (prefers-reduced-motion: reduce) { .step i { display: none; } }
.split .small { margin-top: 24px; }

.visual { position: relative; border-radius: 22px; background: var(--plate); box-shadow: var(--shadow-plate); aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; }
.visual .scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .6s ease; }
.visual .scene.on { opacity: 1; }
.phone {
  width: 248px; aspect-ratio: 390 / 844; border-radius: 40px; padding: 8px; background: #111; box-shadow: var(--shadow-window);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.float {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: min(380px, 86%);
  border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-window); padding: 14px 16px; text-align: left;
}
.float .f-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.float .f-meta svg { width: 12px; height: 12px; flex: none; }
.float .f-title { margin-top: 4px; font-size: 17px; font-weight: 600; color: #1a0dab; }
:root[data-theme="dark"] .float .f-title { color: #8ab4f8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .float .f-title { color: #8ab4f8; } }
.float .f-text { margin-top: 2px; font-size: 14px; color: var(--body); line-height: 1.4; }
.float.call { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.float.call .f-title { color: var(--ink); }
.call-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.call-btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .phone { width: 200px; border-radius: 32px; padding: 6px; } .phone img { border-radius: 26px; } .float { bottom: 20px; } }

/* ---------- Karten-Raster („Bento“) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 8px 8px 22px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-card);
}
.card.wide { grid-column: span 2; }
.card-plate {
  position: relative; display: grid; place-items: center; height: 248px; margin-bottom: 20px; overflow: hidden;
  border-radius: 18px; background: var(--plate); box-shadow: var(--shadow-plate);
}
.card h3 { padding: 0 12px; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.card p { padding: 0 12px; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--body); }
.card .card-list { margin: 14px 12px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card .card-list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--body); }
.card .card-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 1024px) { .bento { grid-template-columns: 1fr 1fr; } .card.wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card.wide { grid-column: auto; } .card-plate { height: 220px; } }

/* Mini-Oberflächen in den Karten */
.mini { border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-raised); font-size: 13px; color: var(--ink); text-align: left; }
.mini-browser { width: min(520px, 86%); overflow: hidden; transform: translateY(28px); }
.mini-browser .window-bar { height: 28px; padding: 0 10px; }
.mini-browser .lights i { width: 8px; height: 8px; }
.mini-browser .url { height: 18px; font-size: 11px; max-width: 220px; transform: translateX(-20px); }
.mini-browser img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; object-position: top; }
.mini-phone { width: 132px; aspect-ratio: 390 / 844; border-radius: 24px; padding: 5px; background: #111; box-shadow: var(--shadow-window); transform: translateY(70px); }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 19px; }
.mini-search { width: min(360px, 88%); padding: 14px 16px; }
.mini-search .q { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--field); color: var(--muted); margin-bottom: 14px; }
.mini-search .q svg { width: 14px; height: 14px; }
.mini-search .r-site { font-size: 12px; color: var(--muted); }
.mini-search .r-title { font-size: 15px; font-weight: 600; color: #1a0dab; margin-top: 2px; }
:root[data-theme="dark"] .mini-search .r-title { color: #8ab4f8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mini-search .r-title { color: #8ab4f8; } }
.mini-search .r-text { color: var(--body); margin-top: 2px; line-height: 1.4; }
.chat { width: min(400px, 86%); display: grid; gap: 8px; }
.bubble { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; box-shadow: var(--shadow-raised); background: var(--surface); }
.bubble.me { justify-self: end; background: var(--btn-bg); color: var(--btn-text); box-shadow: none; }
.bubble small { display: block; margin-top: 4px; font-size: 11px; opacity: .6; }
.redirects { width: min(420px, 88%); padding: 6px; }
.redirects div { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; font-size: 13px; }
.redirects div + div { border-top: 1px solid var(--line); border-radius: 0; }
.redirects code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.redirects code.new { color: var(--ink); }
.redirects .ok { color: var(--ok); font-weight: 600; font-size: 12px; }
.domain { width: min(300px, 86%); padding: 6px; }
.domain .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; font-size: 13px; }
.domain .row + .row { border-top: 1px solid var(--line); }
.domain .row span:first-child { color: var(--muted); }
.domain .row b { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.domain svg { width: 12px; height: 12px; }

/* ---------- Ablauf-Fläche mit Verbindungslinien ---------- */
.flow { border-radius: 28px; background: var(--plate); box-shadow: var(--shadow-plate); padding: 48px 32px 32px; }
.flow-diagram { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; max-width: 820px; margin: 0 auto; }
.flow-col { display: grid; gap: 48px; }
.flow-col.right { justify-items: end; }
.flow-node { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-raised); font-size: 14px; font-weight: 500; width: max-content; }
.flow-node b { width: 28px; height: 28px; border-radius: 8px; background: var(--chip); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.flow-center { width: 96px; height: 96px; border-radius: 24px; background: var(--ink); color: var(--page); display: grid; place-items: center; font-size: 34px; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.04em; margin: 0 64px; position: relative; z-index: 1; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.flow-list h3 { font-size: 15px; line-height: 1.3; }
.flow-list p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.flow-list span { display: block; font-size: 13px; color: var(--quiet); margin-bottom: 8px; }
@media (max-width: 1024px) { .flow-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .flow { padding: 24px 16px 20px; border-radius: 22px; }
  .flow-diagram { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .flow-col, .flow-col.right { gap: 8px; justify-items: center; }
  .flow-center { width: 64px; height: 64px; border-radius: 18px; font-size: 24px; margin: 4px 0; }
  .flow-lines { display: none; }
  .flow-list { grid-template-columns: 1fr; }
}

/* ---------- Vereine: Text links, Oberfläche rechts ---------- */
.agent-card { margin-top: 24px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; max-width: 460px; }
.agent-card .tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.agent-card .tabs span { height: 28px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 13px; color: var(--muted); }
.agent-card .tabs span:first-child { background: var(--chip); color: var(--ink); font-weight: 500; }
.agent-card ol { margin: 0; padding: 14px 16px 16px 36px; font-size: 14px; line-height: 1.5; color: var(--body); display: grid; gap: 6px; }
.panel { border-radius: 28px; background: var(--plate); box-shadow: var(--shadow-plate); padding: 28px; display: grid; gap: 12px; }
@media (max-width: 640px) { .panel { padding: 14px; border-radius: 22px; } }
.panel .mini { padding: 16px; }
.app-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.app-head b { color: var(--ink); font-weight: 600; font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--chip); font-size: 11px; color: var(--ink); }
.fields { display: grid; gap: 8px; }
.fields div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: var(--field); font-size: 13px; }
.fields span { color: var(--muted); }
.fields b { font-weight: 500; text-align: right; }
.next { display: flex; gap: 16px; align-items: center; font-size: 13px; }
.next .when { color: var(--muted); font-size: 12px; min-width: 88px; }

/* ---------- Projekte als aufklappbare Stories ---------- */
.stories { display: grid; gap: 12px; }
.story { border-radius: 22px; background: var(--plate); box-shadow: var(--shadow-plate); overflow: hidden; }
.story summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 16px; }
.story summary::-webkit-details-marker { display: none; }
.story-mark { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-raised); display: grid; place-items: center; flex: none; font-size: 15px; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.02em; }
.story-text { flex: 1; min-width: 0; }
.story-text small { display: block; font-size: 13px; color: var(--muted); }
.story-text h3 { margin-top: 2px; font-size: 24px; line-height: 1.1; }
.story-chev { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-raised); display: grid; place-items: center; flex: none; transition: transform .25s; }
.story-chev svg { width: 14px; height: 14px; }
.story[open] .story-chev { transform: rotate(180deg); }
.story-body { padding: 0 16px 20px; }
.story-media { position: relative; border-radius: 16px; overflow: hidden; display: block; background: var(--surface-2); }
.story-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: top; }
.story-chips { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.story-chips > span { display: inline-flex; align-items: baseline; gap: 6px; height: 40px; align-items: center; padding: 0 14px; border-radius: 999px; background: #fff; color: #111; font-size: 16px; font-weight: 700; font-variation-settings: "GEOM" 50; box-shadow: 0 1px 2px #0000001f; }
.story-chips > span em { font-style: normal; font-weight: 500; font-size: 13px; color: #6a6e78; font-variation-settings: "GEOM" 25; }
.story-chips a { margin-left: auto; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 12px; background: #fff; color: #111; font-size: 14px; font-weight: 500; box-shadow: 0 1px 2px #0000001f; }
.story-built { margin-top: 14px; padding: 0 4px; font-size: 14px; color: var(--muted); }
.story-built b { color: var(--ink); font-weight: 500; }
.story-built + .story-built { margin-top: 6px; }
@media (max-width: 640px) {
  .story summary { gap: 12px; padding: 12px; }
  .story-mark { width: 40px; height: 40px; font-size: 13px; }
  .story-text h3 { font-size: 18px; }
  .story-media img { aspect-ratio: 16 / 10; }
  .story-chips { position: static; padding: 12px 0 0; }
  .story-chips > span { height: 34px; font-size: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-raised); }
  .story-chips a { margin-left: 0; background: var(--btn-bg); color: var(--btn-text); }
  .story-body { padding: 0 12px 16px; }
}

/* ---------- Zitat (Über mich) ---------- */
.quote { max-width: 980px; }
.quote blockquote { margin: 0; font-size: 48px; line-height: 1.12; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; font-weight: 500; color: var(--ink); }
.quote figcaption span { color: var(--muted); }
.quote .btn { margin-top: 28px; }
@media (max-width: 1024px) { .quote blockquote { font-size: 36px; } }
@media (max-width: 640px) { .quote blockquote { font-size: 28px; } }

/* ---------- Fragen ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
@media (max-width: 1024px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }
.faq-grid .lead { margin-top: 20px; }
.faq-grid .btn-row { margin-top: 24px; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 22px; background: var(--field); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 14px; height: 14px; flex: none; color: var(--muted); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; font-size: 15px; line-height: 1.55; color: var(--body); max-width: 60ch; }
.faq details a { text-decoration: underline; text-underline-offset: 3px; }
.faq-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 22px; background: var(--plate); box-shadow: var(--shadow-plate); font-size: 17px; font-weight: 600; color: var(--muted); }
.faq-more:hover { color: var(--ink); }

/* ---------- Abschluss mit Formular ---------- */
.final { text-align: center; padding: 128px 0 120px; }
.final h2 { font-size: 80px; line-height: .95; letter-spacing: -.01em; }
.final .sub { margin-left: auto; margin-right: auto; margin-top: 24px; font-size: 18px; line-height: 1.45; font-weight: 400; }
@media (max-width: 1024px) { .final h2 { font-size: 60px; } }
@media (max-width: 640px) { .final { padding: 80px 0 72px; } .final h2 { font-size: 42px; line-height: 1; } }
.form-card { max-width: 640px; margin: 48px auto 0; text-align: left; padding: 8px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-card); }
.form-inner { border-radius: 18px; background: var(--plate); box-shadow: var(--shadow-plate); padding: 24px; }
@media (max-width: 640px) { .form-inner { padding: 16px; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
label, .label { font-size: 14px; font-weight: 500; color: var(--ink); }
label .opt { color: var(--muted); font-weight: 400; }
input, textarea {
  width: 100%; font: 400 16px/1.4 var(--font); font-variation-settings: "GEOM" 25; color: var(--ink);
  background: var(--surface); border: 0; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-raised);
}
textarea { min-height: 112px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--quiet); }
input:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-raised); font-size: 14px; font-weight: 500; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { background: var(--btn-bg); color: var(--btn-text); box-shadow: none; }
.choice label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 400; margin: 4px 0 16px; }
.consent input { width: 16px; height: 16px; margin-top: 2px; flex: none; accent-color: var(--ink); box-shadow: none; padding: 0; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: grid; gap: 8px; }
.form-actions .btn { width: 100%; height: 52px; border-radius: 14px; font-size: 17px; }
.form-hint { font-size: 13px; color: var(--muted); text-align: center; }
.form-error { display: none; color: var(--accent); font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.form-error.show { display: block; }
.final .small { margin-top: 20px; }

/* ---------- Unterseiten ---------- */
.page-hero { padding: 168px 0 72px; text-align: center; }
@media (max-width: 1024px) { .page-hero { padding: 136px 0 56px; } }
@media (max-width: 640px) { .page-hero { padding: 112px 0 40px; } }
.page-hero h1 { max-width: 980px; margin: 0 auto; }
.page-hero .sub { margin-top: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.page-hero .btn-row { margin-top: 32px; }

.about-hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; padding: 168px 0 96px; }
@media (max-width: 1024px) { .about-hero { grid-template-columns: 1fr; gap: 40px; padding: 136px 0 72px; } }
@media (max-width: 640px) { .about-hero { padding: 112px 0 56px; } }
.portrait { border-radius: 28px; background: var(--plate); box-shadow: var(--shadow-plate); padding: 8px; max-width: 480px; }
.portrait img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-hero h1 { margin-bottom: 28px; }
.about-hero p.body { font-size: 20px; line-height: 1.5; color: var(--body); }
.about-hero p.body + p.body { margin-top: 16px; }
.about-hero .btn-row { margin-top: 32px; }

.prose p { font-size: 20px; line-height: 1.5; color: var(--body); }
.prose p + p { margin-top: 16px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.legal { max-width: 760px; margin: 0 auto; padding: 168px var(--pad) 120px; }
@media (max-width: 640px) { .legal { padding-top: 112px; } }
.legal h1 { font-size: 56px; margin-bottom: 40px; }
@media (max-width: 640px) { .legal h1 { font-size: 36px; } }
.legal h2 { font-size: 22px; line-height: 1.2; margin: 40px 0 12px; }
.legal p, .legal li, .legal address { font-size: 16px; line-height: 1.6; color: var(--body); font-style: normal; }
.legal p + p { margin-top: 12px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .muted { color: var(--muted); }
.mt-40 { margin-top: 40px; }

/* ---------- Fußbereich ---------- */
.site-footer { position: relative; margin-top: -40px; padding: 120px 0 0; background: var(--foot); color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 21px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: #fff; color: #111; }
.footer-brand p { margin-top: 16px; max-width: 240px; }
.footer-brand .help { margin-top: 20px; color: #fff; font-weight: 500; }
.footer-brand .help + p { margin-top: 4px; }
.footer-brand a:hover, .footer-col a:hover { color: #fff; }
.footer-col p { color: #fff; font-weight: 500; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.theme-switch { display: inline-flex; gap: 4px; margin-top: 20px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.theme-switch button { width: 32px; height: 28px; border: 0; border-radius: 9px; background: transparent; color: rgba(255, 255, 255, .6); display: grid; place-items: center; cursor: pointer; }
.theme-switch button svg { width: 15px; height: 15px; }
.theme-switch button[aria-pressed="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }
.wordmark { margin: 48px 0 -1px; user-select: none; }

/* ======================================================================
   Gezeichnete Visualisierungen (statt Screenshots von Kundenseiten)
   ====================================================================== */
.ln { display: block; height: 6px; border-radius: 99px; background: var(--line-2); }
.ln.thick { height: 9px; }
.w12 { width: 12%; } .w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; }
.w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }

/* Hero-Kästchen: Mini-Layout */
.tile-wire { width: 112px; padding: 10px 12px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.tile-wire .tw-nav { display: flex; gap: 4px; margin-bottom: 2px; }
.tile-wire .tw-nav i { width: 14px; height: 4px; border-radius: 4px; background: var(--line-2); }
.tile-wire .tw-nav i:first-child { width: 8px; background: var(--ink); }
.tile-wire .tw-h { width: 78px; height: 8px; border-radius: 4px; background: var(--ink); }
.tile-wire .tw-s { width: 56px; height: 5px; border-radius: 4px; background: var(--line-2); }
.tile-wire .tw-b { width: 30px; height: 9px; border-radius: 4px; background: var(--accent); margin-top: 2px; }
@media (max-width: 1024px) { .tile-wire { width: 88px; padding: 8px 10px; gap: 4px; } .tile-wire .tw-h { width: 60px; } }

/* Handy mit gezeichnetem Bildschirm */
.phone.wire { background: #111; }
.phone .screen {
  width: 100%; height: 100%; border-radius: 32px; background: var(--surface); overflow: hidden;
  padding: 14px 14px 0; display: flex; flex-direction: column; gap: 8px; text-align: left;
  font-size: 11px; line-height: 1.35; color: var(--ink);
}
@media (max-width: 640px) { .phone .screen { border-radius: 26px; } }
.s-status { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 600; padding: 0 6px 4px; }
.s-sig { display: flex; gap: 2px; align-items: flex-end; }
.s-sig i { width: 3px; border-radius: 1px; background: var(--ink); }
.s-sig i:nth-child(1) { height: 4px; } .s-sig i:nth-child(2) { height: 6px; } .s-sig i:nth-child(3) { height: 8px; }
.s-nav { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.s-logo { width: 56px; height: 10px; border-radius: 3px; background: var(--ink); }
.s-burger { display: grid; gap: 3px; } .s-burger i { width: 14px; height: 2px; border-radius: 2px; background: var(--ink); }
.s-eyebrow { margin-top: 6px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.s-h { font-size: 17px; line-height: 1.12; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.01em; }
.s-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-text); font-size: 11px; font-weight: 600; margin-top: 4px; }
.s-btn svg { width: 12px; height: 12px; }
.s-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; height: 74px; }
.s-photos span { border-radius: 10px; background: var(--plate); box-shadow: var(--shadow-plate); position: relative; overflow: hidden; }
.s-photos span::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%; border-radius: 50% 50% 0 0; background: var(--line-2); }
.s-open { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--plate); font-size: 10px; color: var(--body); }
.s-search { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 99px; background: var(--field); color: var(--muted); font-size: 11px; }
.s-search svg { width: 11px; height: 11px; }
.s-result { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--plate); }
.s-result.on { background: var(--surface); box-shadow: var(--shadow-raised); }
.s-result b { font-size: 12px; line-height: 1.25; color: #1a0dab; font-weight: 600; }
.s-site { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--muted); }
.s-fav { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.s-map { position: relative; height: 70px; border-radius: 10px; background: var(--plate); overflow: hidden; }
.s-road { position: absolute; background: var(--surface); }
.s-road.r1 { left: -10%; right: -10%; top: 40%; height: 8px; transform: rotate(-12deg); }
.s-road.r2 { top: -10%; bottom: -10%; left: 62%; width: 6px; transform: rotate(18deg); }
.s-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); }
.s-pin svg { width: 22px; height: 22px; }
.s-lock { display: grid; justify-items: center; margin: 14px 0 10px; }
.s-time { font-size: 44px; line-height: 1; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.02em; }
.s-date { font-size: 11px; color: var(--muted); margin-top: 4px; }
.s-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px; border-radius: 14px; background: var(--plate); box-shadow: var(--shadow-plate); font-size: 10.5px; color: var(--body); }
.s-note b { display: flex; justify-content: space-between; gap: 6px; font-weight: 600; color: var(--ink); font-size: 11px; margin-bottom: 1px; }
.s-note b em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 9.5px; }
.s-note > span:last-child { flex: 1; min-width: 0; }
.s-app { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; flex: none; }
.s-app svg { width: 12px; height: 12px; }
.s-app.a1 { background: var(--ink); color: var(--page); } .s-app.a2 { background: #25d366; } .s-app.a3 { background: #34c759; }
:root[data-theme="dark"] .s-result b { color: #8ab4f8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .s-result b { color: #8ab4f8; } }

/* kleines Handy in der Karte */
.mini-phone-wrap { transform: translateY(64px); }
.phone.small { width: 150px; border-radius: 26px; padding: 5px; }
.phone.small .screen { border-radius: 21px; padding: 10px 10px 0; gap: 6px; font-size: 9px; }
.phone.small .s-h { font-size: 13px; }
.phone.small .s-status { font-size: 8px; }
.phone.small .s-btn { height: 24px; font-size: 9px; }

/* kleiner Browser mit Beispiel-Website */
.mini-browser.wire { position: relative; overflow: visible; }
.mini-browser.wire > .window-bar { border-radius: 14px 14px 0 0; }
.wb-page { padding: 14px 18px 18px; display: grid; gap: 8px; justify-items: start; }
.wb-nav { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 8px; }
.wb-nav .ln { height: 5px; }
.wb-logo { width: 34px; height: 10px; border-radius: 3px; background: var(--ink); margin-right: auto; }
.wb-cta { width: 42px; height: 14px; border-radius: 5px; background: var(--btn-bg); }
.wb-eyebrow { width: 90px; height: 12px; border-radius: 99px; background: var(--chip); box-shadow: var(--shadow-card); }
.wb-h { font-size: 22px; line-height: 1.05; font-weight: 700; font-variation-settings: "GEOM" 50; letter-spacing: -.01em; color: var(--ink); }
.wb-btns { display: flex; gap: 6px; } .wb-btns span { width: 62px; height: 18px; border-radius: 6px; }
.wb-b1 { background: var(--btn-bg); } .wb-b2 { background: var(--surface); box-shadow: var(--shadow-raised); }
.wb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 6px; }
.wb-cards span { height: 54px; border-radius: 10px; background: var(--plate); box-shadow: var(--shadow-plate); }
.wb-check {
  position: absolute; right: -18px; top: 52px; width: 150px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow-window); display: grid; grid-template-columns: 16px 1fr; gap: 6px 4px; font-size: 12px; align-items: center;
}
.wb-check b { grid-column: 1 / -1; font-weight: 600; font-size: 12px; margin-bottom: 2px; }
.wb-check .ok { color: var(--ok); font-weight: 700; }
.wb-check .wip { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); }
@media (max-width: 640px) { .wb-check { display: none; } }

/* Trainingszeiten im Vereins-Kasten */
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slots span { display: grid; padding: 10px 12px; border-radius: 10px; background: var(--field); font-size: 12px; color: var(--muted); }
.slots b { color: var(--ink); font-weight: 600; font-size: 13px; }

/* Seitenstruktur eines Projekts */
.sitemap {
  position: relative; padding: 40px 32px 104px; background: var(--surface-2);
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 18px 18px;
}
.sm-root {
  position: relative; width: max-content; margin: 0 auto; display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-raised);
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.sm-root svg { width: 12px; height: 12px; color: var(--muted); }
.sm-root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 24px; background: var(--line-2); }
.sm-pages { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 16px; margin-top: 48px; }
.sm-pages::before { content: ""; position: absolute; top: -24px; height: 1.5px; background: var(--line-2); left: calc(50% / var(--n)); right: calc(50% / var(--n)); }
.sm-page { position: relative; display: grid; justify-items: center; gap: 10px; }
.sm-page::before { content: ""; position: absolute; top: -24px; left: 50%; width: 1.5px; height: 24px; background: var(--line-2); }
.sm-thumb { width: 100%; max-width: 190px; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-raised); padding: 10px; display: grid; align-content: start; gap: 6px; }
.sm-thumb .t-hero { height: 40px; border-radius: 7px; background: var(--plate); }
@media (max-width: 860px) { .sm-thumb .t-hero { height: 28px; } }
.sm-page.home .t-hero { background: var(--brand); }
.sm-thumb .t-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 2px; }
.sm-thumb .t-cards i { height: 18px; border-radius: 5px; background: var(--plate); }
.sm-page.home .sm-thumb .ln.w70 { background: var(--brand); opacity: .35; }
.sm-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.story-media { background: transparent; }
@media (max-width: 860px) {
  .sitemap { padding: 24px 16px 20px; }
  .sm-pages { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
  .sm-pages::before, .sm-page::before, .sm-root::after { display: none; }
}
@media (max-width: 480px) { .sm-pages { grid-template-columns: repeat(2, 1fr); } }

/* ======================================================================
   Logo „hs ▪ webdesign“ und Intro-Animation beim ersten Aufruf
   ====================================================================== */
.logo-svg { display: block; height: 20px; width: auto; aspect-ratio: 1277 / 185; color: var(--ink); }
.site-footer .logo-svg { color: #fff; }
@media (max-width: 640px) { .site-header .logo-svg { height: 17px; } }
.wordmark { font-size: 0; }
.wordmark .logo-svg { height: auto; width: 100%; color: rgba(255, 255, 255, .06); --logo-accent: currentColor; }

.intro-layer { display: none; }
html.intro .intro-layer { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; cursor: pointer; }
.intro-layer::before { content: ""; position: absolute; inset: 0; background: var(--page); transition: opacity .7s ease .2s; }
.intro-layer.land::before { opacity: 0; }
html.intro .site-header .logo-svg { opacity: 0; }
html.intro body { overflow: hidden; }
.intro-logo { position: relative; width: min(76vw, 720px); transform-origin: 0 0; transition: transform .9s cubic-bezier(.7, 0, .15, 1); }
.intro-logo .logo-svg { width: 100%; height: auto; overflow: hidden; }

/* Buchstaben steigen von der Grundlinie auf, das Quadrat dreht sich hinein */
.intro-logo .l { transform: translateY(200px); }
.intro-logo.play .l { animation: logo-rise 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 45ms + var(--d, 0ms)); }
.intro-logo .l.b { --d: 300ms; }
.intro-logo .sq { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.intro-logo.play .sq { animation: logo-square .8s cubic-bezier(.34, 1.56, .64, 1) .22s both; }
@keyframes logo-rise { from { transform: translateY(200px); } to { transform: none; } }
@keyframes logo-square { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
