/* Startseite im System «Nacht», Fassung 3 (11.11.2026): Fokus Website und Google-Profil mit KI-Pflege. Regeln in DESIGN.md.
   Aufbau: Kopf mit Pflege-Agent → zwei Leistungen → KI-Abschnitt mit Kundenportal → Pakete → Ablauf → Ort und Branchen → Fragen → Schluss.
   Jeder Abschnitt hat EINE Aussage und EIN Bild. Bewegung nur über opacity und transform, ohne Skript steht der Endzustand. */

/* Kopf */
.held { padding: 120px 0 0; overflow: hidden; }
.held h1 { max-width: 24ch; }
.held-zeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; margin-top: 28px; }
.held-lead { max-width: 56ch; font-size: 1.0625rem; line-height: 1.6; color: var(--leise); }
.held-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.held-knoepfe .text-link { color: var(--text); font-weight: 500; min-height: 44px; }
.held-knoepfe .text-link:hover { color: var(--tinte); }

/* Pflege-Agent: links Auftrag und Schritte, rechts die Website, die sich ändert. Feste Höhe, nichts verschiebt sich. */
.agent { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: 480px; margin-top: 72px; border: 1px solid var(--rand-stark); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--karte); overflow: hidden; font-size: 14.5px; line-height: 1.45;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%); }
.agent-links { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--rand); }
.agent-kopf { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 24px; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.agent-kopf span { display: flex; align-items: center; gap: 10px; color: var(--tinte); font-weight: 550; }
.agent-kopf span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tinte); }
.agent-kopf small { font-size: 13px; color: var(--leise); overflow: hidden; text-overflow: ellipsis; }
.agent-lauf { flex: 1; padding: 28px 24px 0; }
.agent-wer { font-size: 13px; color: var(--leise); margin-bottom: 8px; }
.agent-auftrag { padding: 14px 16px; border: 1px solid var(--rand-stark); border-radius: 12px 12px 12px 4px; background: var(--grau); color: var(--tinte); font-size: 15.5px; }
.agent-schritte { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.agent-schritte li { position: relative; padding-left: 30px; color: var(--text); }
.agent-schritte li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border: 1.5px solid var(--leise); border-radius: 50%; }
.agent-schritte li::after { content: ""; position: absolute; left: 5.5px; top: 5px; width: 4px; height: 8px; border-right: 1.5px solid var(--boden); border-bottom: 1.5px solid var(--boden); transform: rotate(40deg); opacity: 0; }
.agent-schritte li.an::before { background: var(--tinte); border-color: var(--tinte); }
.agent-schritte li.an::after { opacity: 1; }
.agent-eingabe { margin: 0 24px 88px; padding: 12px 16px; border: 1px solid var(--rand); border-radius: 10px; color: var(--leise); font-size: 14px; }
.agent-rechts { min-width: 0; padding: 32px 32px 0; background: var(--boden-2); }
.mini { height: 100%; border: 1px solid var(--rand-stark); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--boden); overflow: hidden; }
.mini-leiste { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--rand); }
.mini-leiste i { width: 8px; height: 8px; border-radius: 50%; background: var(--grau-2); }
.mini-leiste span { margin: 0 auto; padding-right: 36px; font-size: 12px; color: var(--leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-hinweis { padding: 10px 20px; background: var(--tinte); color: var(--boden); font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-nav { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--rand); }
.mini-nav b { margin-right: auto; color: var(--tinte); font-size: 14px; font-weight: 550; white-space: nowrap; }
.mini-nav span { width: 40px; height: 6px; border-radius: 3px; background: var(--grau-2); }
.mini-kopf { display: grid; gap: 10px; padding: 32px 20px 28px; }
.mini-kopf span { height: 8px; border-radius: 4px; background: var(--grau-2); }
.mini-kopf .s1 { width: 62%; height: 18px; background: var(--licht); opacity: .85; }
.mini-kopf .s2 { width: 44%; height: 18px; background: var(--licht); opacity: .85; margin-bottom: 8px; }
.mini-kopf .s3 { width: 80%; }
.mini-kopf .s4 { width: 56%; }
.mini-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 20px; }
.mini-raster span { height: 120px; border: 1px solid var(--rand); border-radius: 8px; background: var(--karte); }
/* Zustände der Vorführung (home.js schaltet .an): nur opacity und transform */
.agent-auftrag, .agent-schritte li, .mini-hinweis { transition: opacity .35s ease, transform .35s var(--kurve); }
.agent.spielt .agent-auftrag:not(.an), .agent.spielt .mini-hinweis:not(.an) { opacity: 0; transform: translateY(6px); }
.agent.spielt .agent-schritte li:not(.an) { opacity: .38; }
.agent-schritte li::before, .agent-schritte li::after { transition: opacity .25s ease, background-color .25s ease, border-color .25s ease; }

/* Abschnitte: eine Linie, ein Kopf (Titel links, Aussage rechts) */
main > section.zwei, main > section.funde, main > section.ki, main > section.preise-kurz, main > section.weg, main > section.ort, main > section.fragen { border-top: 1px solid var(--rand); padding-top: 112px !important; padding-bottom: 112px; }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; margin-bottom: 56px; }
.kopfzeile h2 { max-width: 18ch; }
.kopfzeile p { max-width: 46ch; font-size: 1.0625rem; color: var(--leise); }
.kopfzeile p a { color: var(--text); }

/* Zwei Leistungen: zwei grosse Felder mit je einem Bild */
.zwei-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feld { display: flex; flex-direction: column; border: 1px solid var(--rand); border-radius: 16px; background: var(--karte); overflow: hidden; transition: border-color var(--t-zustand); }
.feld:hover { border-color: var(--rand-stark); }
.feld h3 { margin: 28px 32px 0; font-size: 1.375rem; letter-spacing: -0.02em; }
.feld p { margin: 8px 32px 0; max-width: 44ch; font-size: 15.5px; color: var(--leise); }
.feld-fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 24px 32px 28px; padding-top: 20px; border-top: 1px solid var(--rand); font-size: 14px; color: var(--leise); }
.feld-fuss b { font-size: 1.25rem; font-weight: 550; letter-spacing: -0.02em; color: var(--tinte); font-variant-numeric: tabular-nums; }
.feld-fuss .text-link { color: var(--text); font-weight: 500; }
.feld:hover .feld-fuss .text-link { color: var(--tinte); }
.bild { position: relative; height: 300px; background: var(--boden-2); border-bottom: 1px solid var(--rand); overflow: hidden; }
.b { display: block; height: 8px; border-radius: 4px; background: var(--grau-2); transform-origin: left; }
.bw-gross { position: absolute; left: 40px; right: 120px; top: 40px; bottom: -1px; padding: 28px; border: 1px solid var(--rand-stark); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--boden); display: grid; align-content: start; gap: 12px; }
.bw-handy { position: absolute; right: 40px; top: 88px; bottom: -1px; width: 136px; padding: 20px 16px; border: 1px solid var(--rand-stark); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--karte); display: grid; align-content: start; gap: 10px; }
.b.t { width: 58%; height: 16px; background: var(--licht); opacity: .85; }
.b.l1 { width: 82%; } .b.l2 { width: 64%; }
.b.k { width: 96px; height: 26px; border-radius: 13px; background: var(--tinte); margin-top: 6px; }
.bw-handy .b.t { width: 84%; height: 12px; } .bw-handy .b.k { width: 100%; height: 22px; }
.b.q { height: 72px; border-radius: 8px; background: var(--grau); margin-top: 6px; }
.bw-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.bw-reihe .b { height: 84px; border-radius: 8px; background: var(--karte); border: 1px solid var(--rand); }
.bp { position: absolute; left: 50%; top: 36px; bottom: -1px; width: min(340px, calc(100% - 64px)); transform: translateX(-50%); padding: 22px 22px 0; border: 1px solid var(--rand-stark); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--boden); }
.bp-kopf { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--rand); }
.bp-marke { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--grau-2); }
.bp-kopf b { display: block; color: var(--tinte); font-size: 15px; font-weight: 550; }
.bp-kopf small { font-size: 13px; color: var(--leise); }
.bp ul { list-style: none; }
.bp li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--rand); font-size: 14px; color: var(--text); }
.bp li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--tinte); }
.bp li::after { content: ""; position: absolute; left: 5.5px; top: 16px; width: 4px; height: 8px; border-right: 1.5px solid var(--boden); border-bottom: 1.5px solid var(--boden); transform: rotate(40deg); }
/* Auftritt der Bilder: läuft einmal, wenn der Abschnitt eingeblendet wird (.rv setzt app.js nur unterhalb des ersten Bildschirms) */
.b, .bp li, .bp li::before { transition: transform .5s var(--kurve), opacity .4s ease; }
.rv:not(.da) .b { transform: scaleX(0); }
.rv:not(.da) .bp li { opacity: 0; transform: translateY(6px); }
.da .b:nth-child(2) { transition-delay: .08s; } .da .b:nth-child(3) { transition-delay: .16s; } .da .b:nth-child(4) { transition-delay: .24s; }
.da .bw-reihe .b:nth-child(1) { transition-delay: .3s; } .da .bw-reihe .b:nth-child(2) { transition-delay: .36s; } .da .bw-reihe .b:nth-child(3) { transition-delay: .42s; }
.da .bp li:nth-child(1) { transition-delay: .15s; } .da .bp li:nth-child(2) { transition-delay: .3s; } .da .bp li:nth-child(3) { transition-delay: .45s; } .da .bp li:nth-child(4) { transition-delay: .6s; }

/* KI-Abschnitt: Kundenportal mit echten Messwerten der Demo-Website */
.portal { border: 1px solid var(--rand-stark); border-radius: 14px; background: var(--karte); overflow: hidden; }
.portal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 8px 24px; border-bottom: 1px solid var(--rand); font-size: 14px; }
.portal-kopf span { color: var(--tinte); font-weight: 550; }
.portal-kopf small { font-size: 13px; color: var(--leise); text-align: right; }
.portal-werte { display: grid; grid-template-columns: repeat(5, 1fr); }
.portal-werte div { padding: 24px; }
.portal-werte div + div { border-left: 1px solid var(--rand); }
.portal-werte dt { font-size: 13px; color: var(--leise); }
.portal-werte dd { margin-top: 8px; font-size: 1.375rem; font-weight: 550; letter-spacing: -0.02em; color: var(--tinte); font-variant-numeric: tabular-nums; white-space: nowrap; }
.punkt { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--tinte); vertical-align: middle; animation: puls 2.4s ease-in-out infinite; }
@keyframes puls { 50% { opacity: .35; } }
.portal-verlauf { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 24px; padding: 20px 24px; border-top: 1px solid var(--rand); font-size: 13px; color: var(--leise); }
.ticks { display: flex; gap: 3px; height: 28px; }
.ticks i { flex: 1; border-radius: 2px; background: var(--grau-2); transform-origin: bottom; transition: transform .4s var(--kurve), background-color .4s ease; }
.ticks i.ok { background: var(--licht); opacity: .7; }
.rv:not(.da) .ticks i { transform: scaleY(.15); }
.ki-punkte { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 32px; border-top: 1px solid var(--rand); }
.ki-punkte div { padding: 28px 32px 0 0; }
.ki-punkte div + div { padding-left: 32px; border-left: 1px solid var(--rand); }
.ki-punkte h3 { margin-bottom: 8px; font-size: 1rem; }
.ki-punkte p { font-size: 15px; line-height: 1.55; color: var(--leise); }
.ki .text-link { min-height: 44px; color: var(--text); font-weight: 500; }
.ki .text-link:hover { color: var(--tinte); }

/* Pakete: vier Spalten mit Haarlinien */
.preise-raster { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rand); }
.preis { display: flex; flex-direction: column; padding: 28px 28px 32px 0; }
.preis + .preis { padding-left: 28px; border-left: 1px solid var(--rand); }
.preis-name { display: flex; align-items: center; gap: 10px; font: 500 15px/1.2 var(--sans); color: var(--text); }
.preis-empfohlen .preis-name::after { content: "Empfohlen"; padding: 3px 8px; border: 1px solid var(--rand-stark); border-radius: 999px; font-size: 12px; color: var(--leise); }
.preis-betrag { margin-top: 16px; font: 550 2.25rem/1 var(--sans); letter-spacing: -0.035em; color: var(--tinte); font-variant-numeric: tabular-nums; white-space: nowrap; }
.preis-betrag small { font: 450 14px var(--sans); letter-spacing: 0; color: var(--leise); margin-left: 2px; }
.preis ul { list-style: none; display: grid; gap: 8px; margin-top: 24px; }
.preis li { font-size: 15px; line-height: 1.45; color: var(--leise); transition: color var(--t-kurz); }
.preis:hover li { color: var(--text); }
.preise-fakten { border-top: 1px solid var(--rand); }
.preise-fakten div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--rand); }
.preise-fakten dt { color: var(--text); font-weight: 500; font-size: 15px; }
.preise-fakten dd { color: var(--leise); font-size: 15px; }

/* Ablauf: fünf Spalten mit Haarlinien */
.weg-schritte { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rand); }
.weg-schritte li { padding: 28px 24px 0 0; }
.weg-schritte li + li { padding-left: 24px; border-left: 1px solid var(--rand); }
.weg-schritte h3 { display: flex; gap: 12px; margin-bottom: 8px; font-size: 1rem; }
.weg-nr { color: var(--leise); font-weight: 450; font-variant-numeric: tabular-nums; }
.weg-schritte p { font-size: 15px; line-height: 1.55; color: var(--leise); }

/* Ort: ein Bild über die ganze Breite, Titel darauf, darunter die Wege nach Branche und Ort */
.ort-bild { position: relative; height: 440px; border-radius: 16px; overflow: hidden; border: 1px solid var(--rand); }
.ort-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ort-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 15, 18, .94) 0%, rgba(14, 15, 18, .62) 42%, rgba(14, 15, 18, .18) 100%); }
.ort-bild figcaption { position: absolute; z-index: 1; left: 40px; right: 40px; bottom: 36px; }
.ort-bild h2 { max-width: 20ch; }
.ort-bild p { margin-top: 12px; max-width: 52ch; color: var(--text); }
.ort .orte-liste { margin: 40px 0 0; }
@media (min-width: 901px) { .ort .orte-liste { grid-template-columns: repeat(3, 1fr); gap: 0 48px; } }

/* Fragen: Kopf links, Liste rechts */
.fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.fragen-raster .kopfzeile { display: block; margin-bottom: 0; }
.fragen-raster .kopfzeile p { margin-top: 16px; }
.fragen-raster .faq { max-width: none; }

@media (prefers-reduced-motion: reduce) { .punkt { animation: none; } }

@media (max-width: 1040px) {
  .agent { grid-template-columns: minmax(0, 1fr); height: auto; -webkit-mask-image: none; mask-image: none; border-bottom: 1px solid var(--rand-stark); border-radius: 14px; margin-bottom: 64px; }
  .agent-links { border-right: 0; }
  .agent-lauf { padding-bottom: 28px; }
  .agent-eingabe { display: none; }
  .agent-rechts { height: 300px; border-top: 1px solid var(--rand); padding: 24px 24px 0; }
  .zwei-raster { grid-template-columns: 1fr; }
  .portal-werte { grid-template-columns: repeat(3, 1fr); }
  .portal-werte div:nth-child(4) { border-left: 0; }
  .portal-werte div:nth-child(n+4) { border-top: 1px solid var(--rand); }
  .preise-raster { grid-template-columns: 1fr 1fr; }
  .preis:nth-child(3) { padding-left: 0; border-left: 0; }
  .preis:nth-child(n+3) { border-top: 1px solid var(--rand); }
  .weg-schritte { grid-template-columns: 1fr; }
  .weg-schritte li, .weg-schritte li + li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rand); }
  .weg-schritte h3 { margin: 0; }
  .fragen-raster { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  main > section.zwei, main > section.funde, main > section.ki, main > section.preise-kurz, main > section.weg, main > section.ort, main > section.fragen { padding-top: 72px !important; padding-bottom: 72px; }
  .held { padding-top: 56px; }
  .held-zeile { margin-top: 20px; }
  .agent { margin-top: 48px; }
  .agent-kopf, .agent-lauf { padding-left: 16px; padding-right: 16px; }
  .agent-rechts { height: 260px; padding: 16px 16px 0; }
  .mini-raster span { height: 80px; }
  .kopfzeile { grid-template-columns: 1fr; margin-bottom: 32px; }
  .bild { height: 240px; }
  .bw-gross { left: 20px; right: 96px; top: 28px; padding: 20px; }
  .bw-handy { right: 20px; top: 64px; width: 112px; }
  .feld h3 { margin: 24px 20px 0; } .feld p { margin: 8px 20px 0; } .feld-fuss { margin: 20px 20px 24px; }
  .portal-kopf { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; }
  .portal-kopf small { text-align: left; }
  .portal-werte { grid-template-columns: 1fr 1fr; }
  .portal-werte div { padding: 16px; border-left: 0 !important; border-top: 1px solid var(--rand); }
  .portal-werte div:nth-child(-n+2) { border-top: 0; }
  .portal-werte div:nth-child(even) { border-left: 1px solid var(--rand) !important; }
  .portal-werte dd { font-size: 1.125rem; }
  .portal-verlauf { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .ki-punkte { grid-template-columns: 1fr; margin-top: 32px; }
  .ki-punkte div, .ki-punkte div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rand); }
  .preise-fakten div { grid-template-columns: 1fr; gap: 4px; }
  .ort-bild { height: 400px; }
  .ort-bild figcaption { left: 20px; right: 20px; bottom: 24px; }
}
@media (max-width: 600px) {
  .held-knoepfe { width: 100%; }
  .held-knoepfe .btn { width: 100%; min-height: 48px; }
  .preise-raster { grid-template-columns: 1fr; }
  .preis, .preis + .preis { padding: 24px 0; border-left: 0; }
  .preis + .preis { border-top: 1px solid var(--rand); }
  .weg-schritte li, .weg-schritte li + li { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== Fassung 4 (11.11.2026): Alltagssprache für Leute ohne Technik-Wissen. Kopf zeigt die Lage des Kunden (jemand sucht, findet, klickt). ===== */
.szene { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: 460px; margin-top: 72px; border: 1px solid var(--rand-stark); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--karte); overflow: hidden; font-size: 14.5px;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%); }
.szene-suche { padding: 32px; border-right: 1px solid var(--rand); min-width: 0; }
.szene-web { padding: 32px 32px 0; background: var(--boden-2); min-width: 0; display: flex; flex-direction: column; }
.szene-web .mini { flex: 1; }
.szene-frage { margin-bottom: 16px; font-size: 14px; color: var(--leise); }
.such-feld { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px; border: 1px solid var(--rand-stark); border-radius: 999px; background: var(--boden); color: var(--tinte); font-size: 16px; }
.such-feld i { flex: none; width: 13px; height: 13px; border: 1.5px solid var(--leise); border-radius: 50%; position: relative; }
.such-feld i::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 1.5px; background: var(--leise); transform: rotate(45deg); }
#such-wort { transition: opacity .3s ease, transform .3s var(--kurve); }
.szene.spielt #such-wort:not(.an) { opacity: 0; transform: translateY(4px); }
.such-karte { margin-top: 20px; padding: 20px; border: 1px solid var(--rand-stark); border-radius: 12px; background: var(--boden); }
.such-kopf { display: flex; align-items: center; gap: 14px; }
.such-marke { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--grau-2); }
.such-kopf b { display: block; color: var(--tinte); font-size: 16px; font-weight: 550; }
.such-kopf small { font-size: 13px; color: var(--text); }
.such-knoepfe { display: flex; gap: 8px; margin-top: 18px; }
.such-knoepfe span { flex: 1; padding: 9px 0; border: 1px solid var(--rand-stark); border-radius: 999px; text-align: center; font-size: 13px; font-weight: 500; color: var(--tinte); }
.such-knoepfe span:last-child { background: var(--tinte); border-color: var(--tinte); color: var(--boden); }
.such-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.such-fotos span { height: 64px; border-radius: 8px; background: var(--grau); }

/* KI-Abschnitt: Vorführung jetzt hier, mit vollem Rahmen */
.ki .agent { height: 420px; margin-top: 0; border-bottom: 1px solid var(--rand-stark); border-radius: 14px; -webkit-mask-image: none; mask-image: none; }
.ki .agent-lauf { padding-top: 24px; }
.ki .agent-wer { margin: 24px 0 14px; }
.ki .agent-schritte { margin-top: 0; }
.ki .ki-punkte { margin: 48px 0 56px; }
.ki .portal-werte { grid-template-columns: repeat(4, 1fr); }
.ki-fuss { margin-top: 28px; max-width: 64ch; font-size: 15.5px; color: var(--leise); }

@media (max-width: 1040px) {
  .szene { grid-template-columns: minmax(0, 1fr); height: auto; -webkit-mask-image: none; mask-image: none; border-bottom: 1px solid var(--rand-stark); border-radius: 14px; margin-bottom: 64px; }
  .szene-suche { border-right: 0; border-bottom: 1px solid var(--rand); }
  .szene-web { height: 320px; }
  .ki .agent { height: auto; }
  .ki .portal-werte { grid-template-columns: repeat(2, 1fr); }
  .ki .portal-werte div:nth-child(3) { border-left: 0; }
  .ki .portal-werte div:nth-child(n+3) { border-top: 1px solid var(--rand); }
}
@media (max-width: 900px) {
  .szene { margin-top: 48px; }
  .szene-suche { padding: 20px 16px; }
  .szene-web { padding: 20px 16px 0; height: 280px; }
  .ki .ki-punkte { margin: 32px 0 40px; }
}
/* Mini-Website mit lesbarem Inhalt statt grauer Balken (Fassung 4) */
.mini-kopf.echt { gap: 0; padding: 28px 20px 24px; }
.mini-kopf.echt b { color: var(--tinte); font-size: 1.375rem; font-weight: 550; letter-spacing: -0.02em; line-height: 1.2; }
.mini-kopf.echt p { margin-top: 8px; font-size: 13.5px; color: var(--leise); }
.mini-kopf.echt .mini-knopf { justify-self: start; width: auto; height: auto; margin-top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--tinte); color: var(--boden); font-size: 13px; font-weight: 550; }
.mini-raster.echt span { display: flex; align-items: flex-end; padding: 12px; font-size: 13px; font-weight: 500; color: var(--text); }
/* Fotos in den beiden Leistungs-Feldern (Fassung 5, 11.11.2026): echte Bilder statt gezeichneter Platzhalter */
.bild.foto { height: 340px; }
.bild.foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--kurve); }
.feld:hover .bild.foto img { transform: scale(1.03); }
@media (max-width: 900px) { .bild.foto { height: 240px; } }
@media (prefers-reduced-motion: reduce) { .feld:hover .bild.foto img { transform: none; } }
/* Fassung 6 (11.11.2026): die zwei Leistungs-Felder ohne Bild, rein typografisch. KI-Fotos und Drahtmodelle sind beide verworfen. */
.zwei .feld { padding-top: 12px; }
.zwei .feld h3 { margin-top: 28px; font-size: 1.625rem; letter-spacing: -0.025em; }
.zwei .feld p { font-size: 16.5px; max-width: 46ch; }
.feld-liste { list-style: none; margin: 28px 32px 0; border-top: 1px solid var(--rand); }
.feld-liste li { padding: 14px 0; border-bottom: 1px solid var(--rand); font-size: 15.5px; color: var(--text); }
.zwei .feld-fuss { border-top: 0; padding-top: 0; margin-top: 28px; }
@media (max-width: 900px) { .feld-liste { margin: 20px 20px 0; } .zwei .feld h3 { font-size: 1.375rem; } }

/* Aufpoppen je Abschnitt: home.js staffelt die Teile eines Abschnitts (Titel, Felder, Karten, Schritte). Nur opacity und transform. */
.pop { opacity: 0; transform: translateY(28px) scale(.982); transition: opacity .5s ease-out, transform .65s var(--kurve) !important; transition-delay: calc(var(--i, 0) * 75ms) !important; }
.pop.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pop { opacity: 1; transform: none; transition: none; } }

/* Pakete als Karten (Fassung 8): vier Karten, die empfohlene hell umgekehrt, Lichtfleck folgt dem Zeiger. */
.preise-raster { gap: 16px; border-top: 0; align-items: stretch; }
.preis, .preis + .preis { position: relative; overflow: hidden; padding: 28px 26px 26px; border: 1px solid var(--rand); border-radius: 14px; background: var(--karte); transition: transform .3s var(--kurve), border-color var(--t-kurz); }
.preis::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .075), transparent 70%); opacity: 0; transition: opacity var(--t-zustand); pointer-events: none; }
.preis > * { position: relative; }
.preis-name { font-size: 15px; color: var(--text); }
.preis-betrag { margin-top: 20px; font-size: 2.625rem; }
.preis-betrag small { display: block; margin: 10px 0 0; font-size: 13.5px; }
.preis-betrag small::after { content: " einmalig"; }
.preis ul { gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rand); }
.preis li { position: relative; padding-left: 22px; color: var(--text); }
.preis li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 9px; height: 5px; border-left: 1.5px solid var(--leise); border-bottom: 1.5px solid var(--leise); transform: rotate(-45deg); }
.preis-mehr { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; font: 500 14.5px/1 var(--sans); color: var(--tinte); }
.preis-mehr::after { content: "→"; transition: transform var(--t-zustand) var(--kurve); }
.preis-empfohlen, .preis + .preis-empfohlen { background: var(--akzent); border-color: transparent; }
.preis-empfohlen .preis-name, .preis-empfohlen li, .preis-empfohlen:hover li { color: #2a2d33; }
.preis-empfohlen .preis-betrag, .preis-empfohlen .preis-mehr { color: #0e0f12; }
.preis-empfohlen .preis-betrag small { color: #4a4e56; }
.preis-empfohlen ul { border-top-color: rgba(14, 15, 18, .14); }
.preis-empfohlen li::before { border-color: #0e0f12; }
.preis-empfohlen .preis-name::after { border-color: rgba(14, 15, 18, .28); color: #0e0f12; }
.preis-empfohlen::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .7), transparent 70%); }
@media (hover: hover) {
  .preis:hover { transform: translateY(-6px); border-color: var(--rand-stark); }
  .preis-empfohlen:hover { border-color: transparent; }
  .preis:hover::before { opacity: 1; }
  .preis:hover .preis-mehr::after { transform: translateX(4px); }
}
.preise-fakten { margin-top: 40px; }
@media (max-width: 1040px) {
  .preis:nth-child(3) { padding-left: 26px; border-left: 1px solid var(--rand); }
  .preis:nth-child(n+3) { border-top: 1px solid var(--rand); }
}
@media (max-width: 600px) {
  .preise-raster { gap: 12px; }
  .preis, .preis + .preis { padding: 24px 22px; border: 1px solid var(--rand); }
  .preis-empfohlen, .preis + .preis-empfohlen { border-color: transparent; }
  .preis-betrag { font-size: 2.25rem; }
}

/* Abschnitt «Leads und Bauprojekte» (Fassung 9, 11.11.2026 nachts): zwei Felder mit je einer grossen, echten Zahl (home.js liest /daten/*.json). */
.feld-zahl { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 32px 32px 0; font-size: 14.5px; color: var(--leise); }
.feld-zahl b { font: 550 3.5rem/1 var(--sans); letter-spacing: -0.04em; color: var(--tinte); font-variant-numeric: tabular-nums; }
.funde .feld h3 { margin-top: 20px; }
.funde-stand { margin-top: 24px; font-size: 14px; color: var(--leise); }
@media (max-width: 900px) { .feld-zahl { margin: 24px 20px 0; } .feld-zahl b { font-size: 2.75rem; } }
.funde .feld-liste { margin-bottom: 24px; }
.funde .feld-fuss { margin-top: auto; }

/* ===== Kopf «Baukasten» (Fassung 11, 12.11.2026): alles mittig. Titel, ein Feld für den Namen, darunter gross das Fenster mit der
   Beispiel-Website. Die Branchen sind Reiter am Fenster. Sechs Vorlagen mit je eigenem Aufbau (Fächer, Bogen, Ringe, Termine, Band, Regal),
   nicht mehr ein Gerüst mit sechs Farben. Die Vorschau skaliert über Container-Einheiten (cqw). Skript: home.js «Baukasten». */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 400 800; font-display: swap; src: url("/schriften/bricolage.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400 700; font-display: swap; src: url("/schriften/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap; src: url("/schriften/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/schriften/barlow-condensed-700.woff2") format("woff2"); }

:root { --live: #e2603a; }
.held-bau { padding: 0; overflow: hidden; }
.bau-mitte { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 68px; padding-bottom: 128px; }
.bau-mitte h1 { max-width: 21ch; text-wrap: balance; }
.bau-mitte .held-lead { max-width: 76ch; margin-top: 18px; text-wrap: balance; }
.bau-form { width: 100%; max-width: 640px; margin-top: 28px; }
.bau-feld { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 8px 0 24px; border: 1px solid var(--rand-stark); border-radius: 999px; background: var(--karte); text-align: left; transition: border-color var(--t-zustand); }
.bau-feld:focus-within { border-color: var(--live); }
.bau-feld label { flex: none; font-size: 14.5px; color: var(--leise); padding-right: 14px; border-right: 1px solid var(--rand); cursor: text; }
.bau-feld input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--tinte); font: 500 18px/1 var(--sans); caret-color: var(--live); }
.bau-feld input::placeholder { color: var(--leise); opacity: .7; font-weight: 400; }
.bau-feld .btn { flex: none; min-height: 48px; cursor: pointer; font-family: var(--sans); white-space: nowrap; }

.bau-buehne { position: relative; width: min(1040px, 100%); margin-top: 40px; }
.bau-rahmen { border: 1px solid var(--rand-stark); border-radius: 16px; overflow: hidden; background: var(--karte); box-shadow: 0 44px 90px -44px rgba(0, 0, 0, .85); }
.bau-wahl { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--grau); border-bottom: 1px solid var(--rand); }
.bau-wahl button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 8px; border: 0; background: none; color: var(--leise); font: 500 14.5px/1 var(--sans); cursor: pointer; transition: color var(--t-kurz), background var(--t-kurz); }
.bau-wahl button + button { border-left: 1px solid var(--rand); }
.bau-wahl button:hover { color: var(--tinte); }
.bau-wahl button[aria-pressed="true"] { background: var(--karte); color: var(--tinte); }
.bau-wahl button[aria-pressed="true"]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.bau-leiste { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: var(--karte); }
.bau-leiste i { width: 9px; height: 9px; border-radius: 50%; background: var(--grau-2); }
.bau-leiste span { margin: 0 auto; transform: translateX(-24px); min-width: 40%; padding: 6px 16px; border-radius: 8px; background: var(--boden); color: var(--leise); font-size: 13px; line-height: 1.2; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bau-lauf { height: 2px; background: var(--grau); }
.bau-lauf::after { content: ""; display: block; height: 100%; background: var(--live); transform: scaleX(0); transform-origin: left; }
.bau-lauf.an::after { animation: bau-lauf .9s var(--kurve) both; }
@keyframes bau-lauf { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.bau-seite { container-type: inline-size; aspect-ratio: 16 / 9.6; overflow: hidden; }
.bau-handy { position: absolute; right: calc(-1 * min(150px, (100vw - 1040px) / 2 - 28px)); bottom: -40px; width: 200px; padding: 6px; border-radius: 34px; border: 1px solid var(--rand-stark); background: #050506; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.bau-handy .bau-seite { aspect-ratio: 9 / 18.4; border-radius: 28px; }
.bau-unter { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; margin-top: 28px; }
.bau-hinweis { max-width: 90ch; font-size: 13.5px; line-height: 1.5; color: var(--leise); }
.bau-unter .text-link { color: var(--text); font-weight: 500; min-height: 44px; }

/* Die Beispiel-Websites. --u ist die Grundeinheit: im Fenster 1 % der Breite, im Handy gut das Doppelte. */
.ms { --u: 1cqw; --bg: #f5efe4; --ink: #1d1a16; --akz: #e2603a; --auf: #fff; --f: "Bricolage Grotesque", var(--sans); --hw: 750; position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: calc(1.9 * var(--u)); line-height: 1.38; text-align: left; }
.bau-seite .ms p { margin: 0; max-width: none; color: inherit; }
.ms i, .ms u, .ms em { font-style: normal; text-decoration: none; }
.ms-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: calc(3 * var(--u)); padding: calc(2.4 * var(--u)) calc(4.4 * var(--u)); }
.ms-name, .ms-fest { margin-right: auto; color: inherit; max-width: 44cqw; font: 700 calc(2.5 * var(--u))/1.2 var(--f); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-links { display: flex; gap: calc(3 * var(--u)); font-size: calc(1.75 * var(--u)); opacity: .72; }
.ms-knopf { padding: calc(.9 * var(--u)) calc(2.1 * var(--u)); border-radius: 99cqw; background: var(--ink); color: var(--bg); font-size: calc(1.7 * var(--u)); font-weight: 600; }
.ms-b { position: relative; min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(2.2 * var(--u)) calc(4.4 * var(--u)) 0; }
.ms-b > p, .ms-b > .ms-cta, .ms-b > .un, .ms-b > .tx { position: relative; z-index: 1; }
.bau-seite .ms .ms-h { max-width: 15ch; font: var(--hw) calc(7.4 * var(--u))/1 var(--f); letter-spacing: -.03em; text-wrap: balance; }
.ms-h em { display: block; }
.bau-seite .ms .ms-sub { margin-top: calc(2 * var(--u)); max-width: 46ch; font-size: calc(2 * var(--u)); line-height: 1.45; opacity: .8; text-wrap: balance; }
.ms-cta { display: inline-block; margin-top: calc(2.6 * var(--u)); padding: calc(1.4 * var(--u)) calc(2.8 * var(--u)); border-radius: calc(.9 * var(--u)); background: var(--akz); color: var(--auf); font-size: calc(1.9 * var(--u)); font-weight: 600; }

/* Maler: ein Farbfächer, der sich von unten auffächert */
.ms[data-t="maler"] .fa i { position: absolute; left: calc(50% - 7 * var(--u)); bottom: calc(-23 * var(--u)); z-index: var(--z); width: calc(14 * var(--u)); height: calc(37 * var(--u)); border-radius: calc(1.5 * var(--u)); background: var(--c); box-shadow: 0 0 0 calc(.4 * var(--u)) var(--bg); transform-origin: 50% 150%; rotate: calc(var(--n) * 11.5deg); }
.ms[data-t="maler"] .fa u { position: absolute; top: calc(1.5 * var(--u)); left: 0; right: 0; text-align: center; font-size: calc(1.45 * var(--u)); font-weight: 600; color: var(--t, #fff); }
/* Coiffeur: Name in der Mitte, grosse Serifenschrift über einem Bogen */
.ms[data-t="coiffeur"] { --bg: #f4eae3; --ink: #2b1e1b; --akz: #2b1e1b; --auf: #f4eae3; --f: "Instrument Serif", Georgia, serif; --hw: 400; }
.ms[data-t="coiffeur"] .ms-nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.ms[data-t="coiffeur"] .ms-links { order: -1; justify-self: start; }
.ms[data-t="coiffeur"] .ms-name { margin: 0; font-weight: 400; font-size: calc(3.5 * var(--u)); }
.ms[data-t="coiffeur"] .ms-knopf { justify-self: end; }
.ms[data-t="coiffeur"] .bo { position: absolute; left: 50%; bottom: 0; width: calc(34 * var(--u)); height: calc(46 * var(--u)); margin-left: calc(-17 * var(--u)); border-radius: 99cqw 99cqw 0 0; background: #dcab9e; transform-origin: 50% 100%; }
.ms[data-t="coiffeur"] .kr { position: absolute; left: calc(50% + 20 * var(--u)); bottom: calc(4 * var(--u)); width: calc(13 * var(--u)); aspect-ratio: 1; border-radius: 50%; background: #8f4a3c; }
.bau-seite .ms[data-t="coiffeur"] .ms-h { max-width: none; margin-top: calc(3 * var(--u)); font-size: calc(11.4 * var(--u)); line-height: .94; letter-spacing: -.015em; }
.bau-seite .ms[data-t="coiffeur"] .ms-sub { max-width: 30ch; }
.ms[data-t="coiffeur"] .ms-cta { border-radius: 99cqw; }
/* Restaurant: dunkel, Titel in goldenen Ringen, die Karte als Zeile am Fuss */
.ms[data-t="restaurant"] { --bg: #12261e; --ink: #f2e8d5; --akz: #e3b757; --auf: #12261e; --f: "Fraunces", Georgia, serif; --hw: 500; }
.ms[data-t="restaurant"] .ms-knopf { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 45%, transparent); }
.ms[data-t="restaurant"] .ms-b { justify-content: center; padding-bottom: calc(10 * var(--u)); }
.ms[data-t="restaurant"] .ri { position: absolute; left: 50%; top: 43%; aspect-ratio: 1; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--akz) 60%, transparent); translate: -50% -50%; }
.ms[data-t="restaurant"] .r1 { width: calc(47 * var(--u)); }
.ms[data-t="restaurant"] .r2 { width: calc(64 * var(--u)); border-style: dashed; opacity: .55; }
.ms[data-t="restaurant"] .r3 { width: calc(84 * var(--u)); opacity: .3; }
.bau-seite .ms[data-t="restaurant"] .ms-h { max-width: 11ch; font-size: calc(9 * var(--u)); letter-spacing: -.025em; }
.bau-seite .ms[data-t="restaurant"] .ms-sub { max-width: 34ch; }
.ms[data-t="restaurant"] .ms-reihe { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--bg); text-align: left; }
.ms[data-t="restaurant"] .ms-reihe span { display: flex; justify-content: space-between; padding: calc(2.3 * var(--u)) calc(3 * var(--u)); font: 500 calc(2.3 * var(--u))/1.2 var(--f); }
.ms[data-t="restaurant"] .ms-reihe span + span { border-left: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.ms[data-t="restaurant"] .ms-reihe span::after { content: "→"; color: var(--akz); font-family: var(--sans); }
/* Praxis: hell und ruhig, die freien Termine als Karte, die von unten hereinragt */
.ms[data-t="praxis"] { --bg: #edf5f2; --ink: #0f2620; --akz: #17806d; --auf: #fff; --f: var(--sans); --hw: 650; }
.ms[data-t="praxis"] .hk { position: absolute; top: 42%; width: calc(46 * var(--u)); aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--akz) 12%, transparent); translate: 0 -50%; }
.ms[data-t="praxis"] .hk.l { left: calc(-27 * var(--u)); }
.ms[data-t="praxis"] .hk.r { right: calc(-27 * var(--u)); background: color-mix(in srgb, var(--akz) 24%, transparent); }
.bau-seite .ms[data-t="praxis"] .ms-h { max-width: 13ch; letter-spacing: -.035em; }
.ms[data-t="praxis"] .ms-cta { border-radius: 99cqw; }
.ms[data-t="praxis"] .tg { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(1.2 * var(--u)); width: calc(70 * var(--u)); margin-top: calc(3.4 * var(--u)); padding: calc(2.2 * var(--u)) calc(2.4 * var(--u)) calc(3 * var(--u)); border-radius: calc(2.2 * var(--u)) calc(2.2 * var(--u)) 0 0; background: #fff; box-shadow: 0 calc(2 * var(--u)) calc(7 * var(--u)) calc(-2 * var(--u)) rgba(15, 38, 32, .3); }
.ms[data-t="praxis"] .tg div { display: grid; align-content: start; gap: calc(1 * var(--u)); }
.ms[data-t="praxis"] .tg b { color: inherit; padding-bottom: calc(.3 * var(--u)); font-size: calc(1.55 * var(--u)); font-weight: 600; text-align: center; opacity: .6; }
.ms[data-t="praxis"] .tg i { padding: calc(1.15 * var(--u)) 0; border-radius: calc(.8 * var(--u)); background: color-mix(in srgb, var(--ink) 6%, transparent); color: color-mix(in srgb, var(--ink) 40%, transparent); font-size: calc(1.55 * var(--u)); font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; }
.ms[data-t="praxis"] .tg i.f { background: var(--akz); color: #fff; }
/* Garage: schwarz, riesige schmale Versalien, zweite Zeile als gelber Umriss, schräges Band */
.ms[data-t="garage"] { --bg: #0e0e0f; --ink: #f4f4f2; --akz: #ffd21f; --auf: #0e0e0f; --f: "Barlow Condensed", "Arial Narrow", sans-serif; --hw: 700; }
.ms[data-t="garage"] .ms-name { font-size: calc(3.2 * var(--u)); letter-spacing: .01em; text-transform: uppercase; }
.ms[data-t="garage"] .ms-knopf { background: var(--akz); color: var(--auf); border-radius: calc(.6 * var(--u)); }
.ms[data-t="garage"] .ms-b { align-items: flex-start; text-align: left; padding-top: 0; }
.bau-seite .ms[data-t="garage"] .ms-h { max-width: none; font-size: calc(14.6 * var(--u)); line-height: .87; letter-spacing: -.005em; text-transform: uppercase; white-space: nowrap; }
.ms[data-t="garage"] .ms-h em { color: transparent; -webkit-text-stroke: calc(.24 * var(--u)) var(--akz); }
.ms[data-t="garage"] .un { display: flex; align-items: center; justify-content: space-between; gap: calc(4 * var(--u)); width: 100%; margin-top: calc(2.4 * var(--u)); }
.bau-seite .ms[data-t="garage"] .ms-sub { margin: 0; max-width: 40ch; }
.ms[data-t="garage"] .ms-cta { flex: none; margin: 0; border-radius: calc(.6 * var(--u)); }
.ms[data-t="garage"] .bd { position: absolute; left: calc(-5 * var(--u)); right: calc(-5 * var(--u)); bottom: calc(3.4 * var(--u)); display: flex; justify-content: center; gap: calc(3 * var(--u)); padding: calc(1.5 * var(--u)) 0; background: var(--akz); color: var(--auf); font: 700 calc(3.7 * var(--u))/1 var(--f); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; rotate: -3deg; }
.ms[data-t="garage"] .bd span + span::before { content: "/"; margin-right: calc(3 * var(--u)); opacity: .4; }
/* Schreinerei: Titel links, rechts ein Einbauschrank, der bis an den Rand läuft */
.ms[data-t="schreinerei"] { --bg: #ece2d3; --ink: #2a2018; --akz: #2a2018; --auf: #ece2d3; --f: "Fraunces", Georgia, serif; --hw: 600; }
.ms[data-t="schreinerei"] .ms-b { flex-direction: row; align-items: stretch; gap: calc(4 * var(--u)); padding: 0 0 0 calc(4.4 * var(--u)); text-align: left; }
.ms[data-t="schreinerei"] .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-bottom: calc(3 * var(--u)); }
.bau-seite .ms[data-t="schreinerei"] .ms-h { max-width: 9ch; font-size: calc(8.2 * var(--u)); }
.bau-seite .ms[data-t="schreinerei"] .ms-sub { max-width: 30ch; text-wrap: pretty; }
.ms[data-t="schreinerei"] .ms-reihe { display: flex; gap: calc(3 * var(--u)); margin-top: calc(4 * var(--u)); padding-top: calc(2 * var(--u)); border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); font-size: calc(1.75 * var(--u)); font-weight: 600; }
.ms[data-t="schreinerei"] .rg { flex: none; width: calc(47 * var(--u)); margin-top: calc(1 * var(--u)); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; grid-template-rows: 1fr 1.25fr 1fr 1.1fr; grid-template-areas: "a a b c" "d e e c" "d f g g" "h h i i"; gap: calc(.9 * var(--u)); padding: calc(.9 * var(--u)) 0 0 calc(.9 * var(--u)); border-radius: calc(1 * var(--u)) 0 0 0; background: #55321a; }
.ms[data-t="schreinerei"] .rg i { position: relative; background: #c98a4b; }
.ms[data-t="schreinerei"] .rg i:nth-child(1) { grid-area: a; }
.ms[data-t="schreinerei"] .rg i:nth-child(2) { grid-area: b; background: #2f1c0e; }
.ms[data-t="schreinerei"] .rg i:nth-child(3) { grid-area: c; background: #dcb483; }
.ms[data-t="schreinerei"] .rg i:nth-child(4) { grid-area: d; background: #a8642a; }
.ms[data-t="schreinerei"] .rg i:nth-child(5) { grid-area: e; background: #dcb483; }
.ms[data-t="schreinerei"] .rg i:nth-child(6) { grid-area: f; background: #2f1c0e; }
.ms[data-t="schreinerei"] .rg i:nth-child(7) { grid-area: g; }
.ms[data-t="schreinerei"] .rg i:nth-child(8) { grid-area: h; background: #b87838; }
.ms[data-t="schreinerei"] .rg i:nth-child(9) { grid-area: i; background: #a8642a; }
.ms[data-t="schreinerei"] .rg i:nth-child(2n+1)::after { content: ""; position: absolute; right: calc(1.4 * var(--u)); top: 50%; width: calc(.9 * var(--u)); aspect-ratio: 1; margin-top: calc(-.45 * var(--u)); border-radius: 50%; background: #55321a; }

/* Schmale Fassung: Handy-Rahmen und Fenster auf dem Handy */
@container (max-width: 460px) {
  .ms { --u: 2.1cqw; }
  .ms-nav { padding: 5cqw 6cqw 3cqw; }
  .ms-name, .ms-fest { max-width: 58cqw; font-size: calc(2.2 * var(--u)) !important; }
  .ms-links { display: none; }
  .ms-b { padding: 5cqw 6cqw 0; }
  .bau-seite .ms .ms-h { font-size: 12cqw; }
  .bau-seite .ms .ms-sub { margin-top: 4cqw; font-size: 4.3cqw; }
  .ms-cta { margin-top: 5cqw; }
  .ms[data-t="maler"] .fa i { bottom: calc(-12 * var(--u)); rotate: calc(var(--n) * 13deg); }
  .ms[data-t="coiffeur"] .ms-nav { grid-template-columns: 1fr auto; }
  .bau-seite .ms[data-t="coiffeur"] .ms-h { margin-top: 3cqw; font-size: 16.5cqw; }
  .ms[data-t="coiffeur"] .bo { width: 62cqw; height: 78cqw; margin-left: -31cqw; }
  .ms[data-t="coiffeur"] .kr { left: 5cqw; bottom: 8cqw; width: 26cqw; }
  .ms[data-t="restaurant"] .ms-b { padding-bottom: 46cqw; }
  .bau-seite .ms[data-t="restaurant"] .ms-h { font-size: 13.5cqw; }
  .ms[data-t="restaurant"] .ri { top: 36%; }
  .ms[data-t="restaurant"] .r1 { width: 96cqw; } .ms[data-t="restaurant"] .r2 { width: 128cqw; } .ms[data-t="restaurant"] .r3 { width: 164cqw; }
  .ms[data-t="restaurant"] .ms-reihe { grid-template-columns: 1fr; }
  .ms[data-t="restaurant"] .ms-reihe span { padding: 3.2cqw 6cqw; font-size: 4.6cqw; }
  .ms[data-t="restaurant"] .ms-reihe span + span { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
  .ms[data-t="praxis"] .hk { top: 30%; width: 70cqw; }
  .ms[data-t="praxis"] .hk.l { left: -52cqw; } .ms[data-t="praxis"] .hk.r { right: -52cqw; }
  .ms[data-t="praxis"] .tg { width: 100%; margin-top: 7cqw; padding: 4cqw 3.4cqw 6cqw; gap: 1.6cqw; }
  .ms[data-t="praxis"] .tg b { font-size: 3.4cqw; }
  .ms[data-t="praxis"] .tg i { padding: 2.4cqw 0; font-size: 3cqw; }
  .ms[data-t="garage"] .ms-b { padding-top: 3cqw; }
  .bau-seite .ms[data-t="garage"] .ms-h { font-size: 20cqw; white-space: normal; }
  .ms[data-t="garage"] .un { flex-direction: column; align-items: flex-start; gap: 5cqw; margin-top: 5cqw; }
  .ms[data-t="garage"] .bd { bottom: 9cqw; justify-content: flex-start; gap: 4cqw; padding: 3.2cqw 0 3.2cqw 12cqw; font-size: 7cqw; }
  .ms[data-t="garage"] .bd span + span::before { margin-right: 4cqw; }
  .ms[data-t="schreinerei"] .ms-b { flex-direction: column; gap: 7cqw; padding: 5cqw 0 0 6cqw; }
  .ms[data-t="schreinerei"] .tx { flex: none; padding: 0 6cqw 0 0; }
  .bau-seite .ms[data-t="schreinerei"] .ms-h { font-size: 13cqw; }
  .ms[data-t="schreinerei"] .ms-reihe { display: none; }
  .ms[data-t="schreinerei"] .rg { flex: 1; width: auto; margin: 0 0 0 10cqw; gap: 1.6cqw; padding: 1.6cqw 0 0 1.6cqw; }
}

/* Aufbau: Die Teile erscheinen nacheinander, wenn Branche oder Beispiel wechselt. Nur opacity, transform und rotate. */
.ms.neu .ms-nav, .ms.neu .ms-h, .ms.neu .ms-sub, .ms.neu .ms-cta, .ms.neu .un, .ms.neu .ms-reihe, .ms.neu .tg { animation: ms-auf .6s var(--kurve) both; }
.ms.neu .ms-h { animation-delay: .08s; } .ms.neu .ms-sub, .ms.neu .un { animation-delay: .18s; } .ms.neu .ms-cta { animation-delay: .26s; } .ms.neu .ms-reihe { animation-delay: .5s; } .ms.neu .tg { animation-delay: .34s; animation-duration: .8s; }
@keyframes ms-auf { from { opacity: 0; transform: translateY(calc(3 * var(--u))); } to { opacity: 1; transform: none; } }
.ms.neu .fa i { animation: ms-faecher .95s var(--kurve) both; animation-delay: calc(.2s + var(--z) * 40ms); }
@keyframes ms-faecher { from { rotate: 0deg; transform: translateY(calc(26 * var(--u))); } }
.ms.neu .bo { animation: ms-wachs .8s var(--kurve) .1s both; }
@keyframes ms-wachs { from { transform: scaleY(0); } }
.ms.neu .kr { animation: ms-plopp .6s var(--kurve) .45s both; }
@keyframes ms-plopp { from { opacity: 0; transform: scale(.3); } }
.ms.neu .ri { animation: ms-ring 1s var(--kurve) both; }
.ms.neu .r2 { animation-delay: .12s; } .ms.neu .r3 { animation-delay: .24s; }
@keyframes ms-ring { from { opacity: 0; transform: scale(.55) rotate(-40deg); } }
.ms.neu .hk.l { animation: ms-links .9s var(--kurve) both; } .ms.neu .hk.r { animation: ms-rechts .9s var(--kurve) both; }
@keyframes ms-links { from { transform: translateX(-60%); } } @keyframes ms-rechts { from { transform: translateX(60%); } }
.ms.neu .bd { animation: ms-band .8s var(--kurve) .3s both; }
@keyframes ms-band { from { transform: translateX(-104%); } }
.ms.neu .rg i { animation: ms-plopp .5s var(--kurve) both; }
.ms.neu .rg i:nth-child(1) { animation-delay: .1s; } .ms.neu .rg i:nth-child(2) { animation-delay: .16s; } .ms.neu .rg i:nth-child(3) { animation-delay: .22s; } .ms.neu .rg i:nth-child(4) { animation-delay: .28s; } .ms.neu .rg i:nth-child(5) { animation-delay: .34s; } .ms.neu .rg i:nth-child(6) { animation-delay: .4s; } .ms.neu .rg i:nth-child(7) { animation-delay: .46s; } .ms.neu .rg i:nth-child(8) { animation-delay: .52s; } .ms.neu .rg i:nth-child(9) { animation-delay: .58s; }
@media (prefers-reduced-motion: reduce) { .ms.neu * { animation: none !important; } }

@media (max-width: 1279px) { .bau-handy { display: none; } }
@media (max-width: 700px) {
  .bau-mitte { padding-top: 64px; padding-bottom: 72px; }
  .bau-mitte .held-lead { margin-top: 16px; }
  .bau-form { margin-top: 24px; }
  .bau-feld { flex-wrap: wrap; height: auto; padding: 0; border: 0; border-radius: 0; background: none; gap: 10px; }
  .bau-feld label { display: none; }
  .bau-feld input { flex: 1 1 100%; height: 56px; padding: 0 20px; border: 1px solid var(--rand-stark); border-radius: 999px; background: var(--karte); font-size: 17px; text-align: center; }
  .bau-feld input:focus { border-color: var(--live); }
  .bau-feld .btn { flex: 1 1 100%; min-height: 52px; }
  .bau-buehne { margin-top: 36px; }
  .bau-wahl { grid-template-columns: repeat(3, 1fr); }
  .bau-wahl button { height: 44px; font-size: 14px; }
  .bau-wahl button:nth-child(4) { border-left: 0; }
  .bau-wahl button:nth-child(n+4) { border-top: 1px solid var(--rand); }
  .bau-seite { aspect-ratio: 4 / 6.4; }
  .bau-mehr { display: none; }
}

/* Die zwei Leistungs-Felder zeigen, was der Besucher oben eingetippt hat: links seine Beispiel-Website, rechts ein Beispiel-Treffer
   in der Suche. Ohne Skript bleibt das Website-Bild leer und wird ausgeblendet, der Treffer steht mit dem Platzhalter da. */
.feld-bild { display: block; height: 250px; margin: 12px 12px 0; border: 1px solid var(--rand); border-radius: 10px; overflow: hidden; background: var(--boden); }
.feld-seite:has(.bau-seite:empty) { display: none; }
.feld-seite .bau-seite { display: block; width: 100%; transition: transform .6s var(--kurve); }
.feld:hover .feld-seite .bau-seite { transform: translateY(-14px); }
.feld-such { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 clamp(16px, 6%, 40px); }
.such-feld { display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 16px; border: 1px solid var(--rand-stark); border-radius: 999px; color: var(--tinte); font-size: 14.5px; }
.such-feld i { position: relative; flex: none; width: 11px; height: 11px; border: 1.5px solid var(--leise); border-radius: 50%; }
.such-feld i::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1.5px; background: var(--leise); transform: rotate(45deg); }
.such-treffer { display: grid; gap: 3px; padding: 16px 18px 18px; border: 1px solid var(--rand); border-radius: 12px; background: var(--grau); font-size: 14px; color: var(--leise); }
.such-treffer b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--tinte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.such-offen { display: flex; align-items: center; gap: 8px; color: var(--text); }
.such-offen::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.such-knoepfe { display: flex; gap: 8px; margin-top: 10px; }
.such-knoepfe i { font-style: normal; padding: 6px 13px; border: 1px solid var(--rand-stark); border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--tinte); }
@media (max-width: 700px) { .feld-bild { height: 240px; margin: 10px 10px 0; } .feld-seite .bau-seite { aspect-ratio: 16 / 10.2; } }

/* KI-Vorführung: die Demo-Website im selben Bild wie die Vorschau im Kopf (fester Name, kein Platzhalter-Grau mehr) */
.mini-seite { background: #ece2d3; }
.mini-ms { aspect-ratio: 16 / 9.6; }
.mini-hinweis { background: #2a2018 !important; color: #ece2d3 !important; }
@media (max-width: 700px) { .mini-ms { aspect-ratio: 4 / 4.4; } }

/* ===== Fassung 11 (12.11.2026): Abschnitte mittig. Fabio: «warum ist immer alles so linksbündig». Titel und Aussage stehen in der Mitte
   über dem Inhalt, Schritte und Punkte sind mittig gesetzt. Listen in Karten bleiben links, weil sie so lesbar sind. ===== */
.kopfzeile { display: block; margin-bottom: 64px; text-align: center; }
.kopfzeile h2 { max-width: 28ch; margin-inline: auto; text-wrap: balance; }
.kopfzeile p { max-width: 58ch; margin: 18px auto 0; text-wrap: balance; }
.fragen-raster { grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 840px; }
.fragen-raster .kopfzeile { margin-bottom: 0; }
.ki-punkte div, .ki-punkte div + div { padding: 28px 28px 0; text-align: center; }
.ki-fuss, .funde-stand { max-width: none; margin-inline: auto; text-align: center; }
.weg-schritte li, .weg-schritte li + li { padding: 28px 20px 0; text-align: center; }
.weg-schritte h3 { flex-direction: column; align-items: center; gap: 14px; }
.weg-nr { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rand-stark); border-radius: 50%; color: var(--tinte); font-size: 14px; }
.ort-bild figcaption { text-align: center; }
.ort-bild h2 { max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.ort-bild p { margin-inline: auto; }
.feld-zahl { flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; text-align: center; }
.feld-zahl b { font-size: 4.5rem; }
.funde .feld h3, .funde .feld h3 + p { text-align: center; margin-inline: auto; padding-inline: 32px; }
.funde .feld h3 { margin-top: 24px; }
.preise-fakten div { grid-template-columns: 1fr; gap: 6px; text-align: center; }
.preise-fakten dd { max-width: 76ch; margin-inline: auto; }
@media (max-width: 1040px) {
  .weg-schritte li, .weg-schritte li + li { display: block; padding: 24px 0; }
  .weg-schritte h3 { margin-bottom: 8px; }
}
@media (max-width: 900px) {
  .kopfzeile { margin-bottom: 40px; }
  .ki-punkte div, .ki-punkte div + div { padding: 20px 0; }
  .feld-zahl b { font-size: 3.25rem; }
  .funde .feld h3, .funde .feld h3 + p { padding-inline: 20px; }
}

/* ===== Fassung 12 (12.11.2026): Kopf «Zürichsee». Fabio hat aus zehn Entwürfen Nummer 2 gewählt: Luftbild vom See zur blauen Stunde über die
   ganze Breite, Titel in Fraunces mittig, Eingabefeld als Glas-Pille, vier Fakten am Fuss. Der Entwurf (Fenster mit den sechs Vorlagen) steht
   als eigener Abschnitt direkt darunter. Die Kopfleiste liegt auf dem Bild und wird erst beim Scrollen deckend. ===== */
body:has(.held-see) #nav:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body:has(.held-see) #nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, .86); }
.held-see { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin-top: -64px; padding: 0; overflow: hidden; }
.see-bild { position: absolute; inset: 0; z-index: -2; }
.see-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.held-see::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 12, 29, .6) 0%, rgba(6, 12, 29, .1) 42%, rgba(6, 12, 29, .5) 76%, var(--boden) 100%); }
.see-mitte { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(128px, 20vh, 220px); padding-bottom: 56px; }
.see-mitte h1 { max-width: 13.6em; font-size: clamp(2.5rem, 1rem + 4.4vw, 4.875rem); line-height: 1.02; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 30px rgba(4, 8, 22, .35); }
.see-mitte .held-lead { max-width: 34em; margin-top: 24px; font-size: 1.1875rem; line-height: 1.5; color: rgba(255, 255, 255, .92); text-wrap: balance; }
.see-mitte .bau-form { margin-top: 40px; max-width: 600px; }
.held-see .bau-feld { height: 66px; background: rgba(8, 18, 44, .55); border-color: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.held-see .bau-feld:focus-within { border-color: #fff; }
.held-see .bau-feld label { color: rgba(255, 255, 255, .72); border-right-color: rgba(255, 255, 255, .28); }
.held-see .bau-feld input { color: #fff; caret-color: #fff; }
.held-see .bau-feld input::placeholder { color: rgba(255, 255, 255, .6); opacity: 1; }
.held-see .bau-feld .btn { background: #fff; color: #0b1a3a; }
.see-fakten { width: var(--breite); margin: 0 auto; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .3); }
.see-fakten li { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 96px; padding: 14px 24px; text-align: center; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.see-fakten li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.see-fakten b { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
main > section.entwurf { padding-top: 104px; padding-bottom: 112px; }
.entwurf .bau-buehne { margin: 0 auto; }
.entwurf .bau-unter { margin-top: 44px; gap: 12px 28px; }
.entwurf .bau-unter .btn { cursor: pointer; font-family: var(--sans); }
.entwurf .bau-hinweis { margin: 16px auto 0; text-align: center; }
.kopfzeile h2, .ort-bild h2 { letter-spacing: -.022em; }
@media (max-width: 900px) {
  .held-see { min-height: 0; }
  .see-mitte { padding-top: 132px; padding-bottom: 44px; }
  .see-fakten { grid-template-columns: 1fr 1fr; }
  .see-fakten li { min-height: 84px; padding: 12px 10px; }
  .see-fakten li:nth-child(3) { border-left: 0; }
  .see-fakten li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
  main > section.entwurf { padding-top: 64px !important; padding-bottom: 72px; }
}
@media (max-width: 700px) {
  .see-mitte .held-lead { font-size: 1.0625rem; margin-top: 18px; }
  .see-mitte .bau-form { margin-top: 28px; }
  .held-see .bau-feld { height: auto; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .held-see .bau-feld input { background: rgba(8, 18, 44, .6); border-color: rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .see-fakten b { font-size: 1.0625rem; }
  .see-fakten li { font-size: 13px; }
}
#entwurf { scroll-margin-top: 24px; }


/* ── Fassung 13 (12.11.2026): Schaufenster statt Baukasten. Kopf mit zwei Knöpfen, darunter sechs echte Entwürfe als grosses Bild. ── */
.see-knoepfe { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; margin-top: 40px; }
.see-knoepfe .btn { min-height: 54px; padding: 0 30px; background: #fff; color: #0b1a3a; font-size: 1rem; }
.see-knoepfe .btn:hover { background: #e9edf6; }
.see-zweit { color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 3px; transition: border-color var(--t-kurz, .2s); }
.see-zweit:hover { border-bottom-color: #fff; }
.feld-werk img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--kurve, ease); }
.feld:hover .feld-werk img { transform: scale(1.03); }
@media (hover: none) { .werk-live { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .see-knoepfe { margin-top: 28px; }
}

/* Fassung 14 (12.11.2026): Schaufenster mit erfundenen Betrieben entfernt (Fabio: «fake, keine Kundenprojekte»). Bis die neuen Entwürfe gewählt sind,
   stehen die zwei Leistungs-Felder ohne Bild, damit beide gleich aufgebaut sind. */
.zwei .feld-bild { display: none; }

/* Fassung 16 (12.11.2026): Der Kopf füllt immer genau den Bildschirm (vorher bei 960 px gedeckelt und am Handy ohne Mindesthöhe, darum
   schaute der nächste Abschnitt hervor). KI-Assistent als Alleinstellungsmerkmal: drei Schritte, was er ändern kann, Knopf. */
@media (max-width: 900px) { .held-see { min-height: 100vh; min-height: 100svh; } }
.ki-schritte { margin-bottom: 56px; }
.ki-kann { max-width: 60ch; margin: 40px auto 0; text-align: center; color: var(--text); }
.ki-knopf { margin-top: 44px; text-align: center; }
.ki-knopf + .ki-fuss { margin-top: 20px; }

/* Fassung 17 (12.11.2026): «Das kann er» als drei Felder statt einer Zeile. */
.ki .ki-punkte.ki-kann { max-width: none; margin: 40px 0 0; text-align: inherit; color: inherit; }
