/* WinFlow360 Website – Farben und Schrift wie in der Anwendung (Navy + Gold, Poppins), alles lokal (keine fremden Server) */
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #0B1F3A; --nacht: #071629; --navy-2: #14305A;
  --gold: #F5A623; --gold-hell: #FFF4DF; --gold-dunkel: #9A5B00;
  --blau: #2F5BD3; --glas: #A9DCFB;
  --grund: #F4F6FA; --karte: #FFFFFF; --text: #0E1B2E; --leise: #56627A; --linie: #E1E6EE;
  --hell-text: #E9EEF7; --hell-leise: #A9B6CC; --hell-linie: rgba(255, 255, 255, .12);
  --titel: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fliess: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --weich: cubic-bezier(.2, .7, .2, 1);
  --schatten: 0 2px 6px rgba(11, 31, 58, .06), 0 24px 60px rgba(11, 31, 58, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--karte); color: var(--text); font: 17px/1.6 var(--fliess); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--titel); line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0; }
.breite { width: min(1320px, 100%); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .breite { padding-inline: 16px; } }
.abschnitt { padding-block: clamp(72px, 10vw, 128px); }
.abschnitt.grau { background: var(--grund); }
.abschnitt.dunkel { background: radial-gradient(1200px 600px at 85% 0%, #17396b 0%, transparent 60%), var(--navy); color: var(--hell-text); }
.eyebrow { font: 600 13px/1 var(--titel); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dunkel); margin-bottom: 16px; }
.eyebrow.hell { color: var(--gold); }
.einleitung { color: var(--leise); max-width: 64ch; margin-top: 18px; }
.einleitung.hell, .dunkel p { color: var(--hell-leise); }
.gross-text { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; margin-top: 22px; max-width: 60ch; }
.dunkel .gross-text { color: var(--hell-text); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; font: 600 16px/1 var(--titel); text-decoration: none; transition: transform .2s var(--weich), box-shadow .2s, background .2s; }
.knopf.gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(245, 166, 35, .32); }
.knopf.gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245, 166, 35, .42); }
.knopf.rand-hell { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.knopf.rand-hell:hover { background: rgba(255, 255, 255, .08); }
.knopf.klein { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.knopf.breit { width: 100%; margin-top: 18px; }
.knopf:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.textlink { display: inline-block; margin-top: 22px; font: 600 16px var(--titel); text-decoration: none; color: var(--gold); }
.textlink:hover { text-decoration: underline; }

/* Kopf */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, box-shadow .3s; }
.kopf.fest { background: rgba(7, 22, 41, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--hell-linie); }
.kopf-innen { width: min(1320px, 100%); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 28px; }
.marke img { width: 168px; height: auto; }
.menue { display: flex; gap: 26px; margin-left: auto; }
.menue a { white-space: nowrap; color: var(--hell-text); text-decoration: none; font: 500 15px var(--titel); opacity: .85; }
.menue a:hover { opacity: 1; color: var(--gold); }
@media (max-width: 900px) { .menue { display: none; } .kopf .knopf { margin-left: auto; } .marke img { width: 140px; } }
@media (max-width: 420px) { .kopf .knopf { padding: 0 12px; font-size: 13px; } .marke img { width: 120px; } .kopf-innen { padding-inline: 16px; gap: 12px; } }

/* Hero */
.hero { position: relative; min-height: min(860px, 100svh); display: grid; align-items: center; background: var(--nacht); color: #fff; overflow: hidden; padding-block: 140px 90px; }
.hero-video { position: absolute; top: 0; bottom: 0; right: -5%; width: 74%; height: 100%; object-fit: cover; object-position: 78% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.hero-verlauf { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 22, 41, .9) 0%, rgba(7, 22, 41, .55) 40%, rgba(7, 22, 41, 0) 70%), linear-gradient(0deg, rgba(7, 22, 41, .8), transparent 30%); }
.hero-innen { position: relative; }
.hero h1 { font-size: clamp(36px, 5.2vw, 68px); font-weight: 700; letter-spacing: -.02em; max-width: 13ch; }
.hero-text { font-size: clamp(18px, 1.8vw, 21px); color: var(--hell-text); max-width: 54ch; margin-top: 26px; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.referenz-chip { display: inline-flex; align-items: center; gap: 14px; margin-top: 44px; padding: 8px 18px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid var(--hell-linie); text-decoration: none; color: var(--hell-text); font-size: 15px; max-width: 100%; }
.referenz-chip b { color: #fff; }
.chip-logo { background: #fff; border-radius: 10px; padding: 6px 10px; flex: none; }
.chip-logo img { width: 96px; }
@media (max-width: 900px) { .hero-video { right: 0; width: 100%; -webkit-mask-image: none; mask-image: none; } .hero-verlauf { background: linear-gradient(0deg, rgba(7, 22, 41, .98) 30%, rgba(7, 22, 41, .55) 75%, rgba(7, 22, 41, .35)); } .hero { align-items: end; } .hero-video { object-position: 85% 30%; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-innen > * { animation: rein .9s var(--weich) both; }
  .hero-innen > :nth-child(2) { animation-delay: .08s; } .hero-innen > :nth-child(3) { animation-delay: .16s; } .hero-innen > :nth-child(4) { animation-delay: .24s; } .hero-innen > :nth-child(5) { animation-delay: .32s; }
}
@keyframes rein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Ansatz */
.ansatz-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.ansatz-raster > div > p:not(.eyebrow):not(.gross-text) { margin-top: 18px; color: var(--leise); max-width: 60ch; }
.ziele { background: var(--navy); color: var(--hell-text); border-radius: 24px; padding: clamp(26px, 3vw, 38px); box-shadow: var(--schatten); position: relative; overflow: hidden; }
.ziele::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border: 2px solid rgba(245, 166, 35, .35); border-radius: 50%; }
.ziele h3 { color: var(--gold); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.ziele dl { margin: 18px 0 0; display: grid; gap: 18px; }
.ziele dt { font: 600 18px var(--titel); color: #fff; }
.ziele dd { margin: 4px 0 0; color: var(--hell-leise); font-size: 16px; }
@media (max-width: 900px) { .ansatz-raster { grid-template-columns: 1fr; } }

/* Vorher / nachher */
.vorher-nachher { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.vn { border: 1px solid var(--linie); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.vn-vorher { padding: 20px 24px; color: var(--leise); background: var(--grund); font-size: 16px; position: relative; padding-left: 52px; }
.vn-vorher::before { content: ''; position: absolute; left: 22px; top: 25px; width: 16px; height: 2px; background: #B9C3D3; }
.vn-nachher { padding: 20px 24px 22px 52px; position: relative; font-weight: 500; }
.vn-nachher::before { content: ''; position: absolute; left: 20px; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 760px) { .vorher-nachher { grid-template-columns: 1fr; } }

/* Funktionen */
.funktion { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.funktion.umgekehrt { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.funktion.umgekehrt .funktion-text { order: 2; }
.funktion h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin-top: 14px; }
.nummer-chip { display: inline-block; font: 600 13px var(--titel); color: var(--gold-dunkel); background: var(--gold-hell); padding: 6px 12px; border-radius: 999px; }
.haken { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.haken li { position: relative; padding-left: 32px; color: #2A3850; }
.haken li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.bildschirm { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--schatten), 0 0 0 1px rgba(11, 31, 58, .06); }
.bildschirm.schmal { max-width: 380px; width: 100%; justify-self: center; max-height: 760px; overflow: hidden; border-radius: 28px; }
.bildschirm.schmal img { width: 100%; }
@media (max-width: 900px) { .funktion, .funktion.umgekehrt { grid-template-columns: 1fr; } .funktion.umgekehrt .funktion-text { order: 0; } }
@media (prefers-reduced-motion: no-preference) { .bildschirm { transition: transform .5s var(--weich); } .bildschirm:hover { transform: translateY(-4px); } }

.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 8vw, 96px); }
.kachel { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 26px; }
.kachel h3 { font-size: 18px; }
.kachel p { color: var(--leise); font-size: 16px; margin-top: 10px; }
@media (max-width: 900px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kacheln { grid-template-columns: 1fr; } }

/* Fenni */
.fenni-abschnitt { background: linear-gradient(180deg, #fff, var(--grund)); overflow: hidden; }
.fenni-raster { display: grid; grid-template-columns: 260px minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: center; }
.fenni-buehne { position: relative; display: grid; place-items: center; padding: 30px 0; }
.fenni-buehne::before { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 166, 35, .25), rgba(47, 91, 211, .1) 55%, transparent 70%); }
#fenniGross { position: relative; }
#fenniGross .fenni { width: 190px; height: 238px; }
.fenni-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fenni-knoepfe button { font: 600 14px var(--titel); padding: 9px 15px; border-radius: 999px; border: 1px solid var(--linie); background: #fff; color: var(--navy); cursor: pointer; }
.fenni-knoepfe button:hover { border-color: var(--gold); background: var(--gold-hell); }
.assistent-bild { max-width: 320px; max-height: 560px; border-radius: 22px; }
@media (max-width: 1000px) { .fenni-raster { grid-template-columns: 200px minmax(0, 1fr); } .assistent-bild { display: none; } #fenniGross .fenni { width: 150px; height: 188px; } }
@media (max-width: 640px) { .fenni-raster { grid-template-columns: 1fr; } .fenni-buehne { padding: 0; } }

/* Velle */
.velle-kopf { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.velle-kopf .eyebrow { margin: 0; }
.velle-logo { background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.velle-logo img { width: 190px; }
.velle-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 10px; }
.velle-text p:not(.gross-text) { margin-top: 18px; max-width: 58ch; }
.velle-bilder { position: relative; min-height: 520px; }
.velle-team { width: 78%; border-radius: 22px; object-fit: cover; aspect-ratio: 4 / 5; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.velle-andre { position: absolute; right: 0; bottom: -30px; width: 44%; margin: 0; }
.velle-andre img { border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; border: 5px solid var(--navy); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.velle-andre figcaption { font: 500 14px var(--titel); color: var(--hell-leise); margin-top: 10px; text-align: right; }
@media (max-width: 900px) { .velle-raster { grid-template-columns: 1fr; } .velle-bilder { min-height: 0; margin-bottom: 30px; } }

.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(64px, 8vw, 96px); background: var(--hell-linie); border-radius: 20px; overflow: hidden; }
.zahlen div { background: rgba(7, 22, 41, .6); padding: 26px 22px; display: grid; gap: 6px; }
.zahlen b { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--titel); color: var(--gold); }
.zahlen span { color: var(--hell-leise); font-size: 15px; }
@media (max-width: 900px) { .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.zwischen { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: #fff; margin-top: clamp(64px, 8vw, 96px); }
.zeitleiste { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.zeitleiste li { background: rgba(255, 255, 255, .05); border: 1px solid var(--hell-linie); border-radius: 20px; padding: 26px; position: relative; }
.zeitleiste li::before { content: ''; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(245, 166, 35, .2); }
.tag { font: 600 13px var(--titel); color: var(--gold); letter-spacing: .04em; }
.zeitleiste h4 { font-size: 20px; color: #fff; margin-top: 8px; }
.zeitleiste p { margin-top: 10px; font-size: 16px; }
@media (max-width: 900px) { .zeitleiste { grid-template-columns: 1fr; } }

.feedback-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.fb { display: grid; gap: 8px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hell-linie); }
.fb-wunsch { color: var(--hell-text); font-size: 16px; padding-left: 28px; position: relative; }
.fb-wunsch::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 15px; border-radius: 5px 5px 5px 1px; background: #8FA3C2; }
.fb-loesung { color: var(--gold); font: 600 15px var(--titel); padding-left: 28px; position: relative; }
.fb-loesung::before { content: '→'; position: absolute; left: 2px; top: 0; }
@media (max-width: 760px) { .feedback-liste { grid-template-columns: 1fr; } }

/* Zusammenarbeit */
.schritte { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.schritte li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 22px; }
.schritte li::before { content: counter(s); font: 700 15px var(--titel); color: var(--navy); background: var(--gold); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
.schritte p { color: var(--leise); font-size: 16px; margin-top: 10px; }
@media (max-width: 900px) { .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .schritte { grid-template-columns: 1fr; } }
.anbindungen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--linie); }
.anbindungen span { color: var(--leise); font-size: 15px; margin-right: 6px; }
.anbindungen b { font: 600 14px var(--titel); padding: 9px 14px; border-radius: 12px; background: var(--grund); border: 1px solid var(--linie); color: var(--navy); }

/* Sicherheit */
.sicher-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.sicher-raster article { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 26px; }
.sicher-raster h3 { font-size: 18px; display: flex; gap: 12px; align-items: center; }
.sicher-raster h3::before { content: ''; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3C/svg%3E") center/16px no-repeat; }
.sicher-raster p { color: var(--leise); font-size: 16px; margin-top: 10px; }
@media (max-width: 900px) { .sicher-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sicher-raster { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.kontakt h2 { color: #fff; }
.kontakt-karte { background: #fff; color: var(--text); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.kk-name { font: 700 22px var(--titel); color: var(--navy) !important; }
.kk-firma { color: var(--leise) !important; font-size: 15px; margin-top: 4px; }
.kk-zeile { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--linie); text-decoration: none; font: 600 17px var(--titel); color: var(--navy); flex-wrap: wrap; }
.kk-zeile span { font: 400 15px var(--fliess); color: var(--leise); }
.kk-zeile:hover { color: var(--blau); }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* Fuß */
.fuss { background: var(--nacht); color: var(--hell-leise); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.fuss-innen { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fuss nav { margin-left: auto; display: flex; gap: 20px; }
.fuss a { color: var(--hell-text); text-decoration: none; }
.fuss a:hover { color: var(--gold); }

/* Fenni schwebt unten rechts */
.fenni-fab { position: fixed; z-index: 60; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 70px; height: 88px; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 12px 20px rgba(7, 22, 41, .35)); transition: transform .2s var(--weich); }
.fenni-fab:hover { transform: translateY(-3px) scale(1.05); }
.fenni-fab .fenni { width: 70px; height: 88px; }
.fenni-blase { position: fixed; z-index: 61; right: calc(max(18px, env(safe-area-inset-right)) + 76px); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 52px); max-width: min(280px, calc(100vw - 120px)); padding: 11px 15px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--navy); font: 500 15px/1.4 var(--fliess); box-shadow: 0 14px 34px rgba(7, 22, 41, .22), 0 0 0 1px rgba(245, 166, 35, .6); opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 100% 100%; pointer-events: none; transition: opacity .25s, transform .25s; cursor: pointer; }
.fenni-blase.an { opacity: 1; transform: none; pointer-events: auto; }

/* sanftes Einblenden beim Scrollen (nur mit JS, Inhalt ist ohne JS sichtbar) */
@media (prefers-reduced-motion: no-preference) {
  .js .einblenden { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--weich), transform .8s var(--weich); }
  .js .einblenden.da { opacity: 1; transform: none; }
}

/* Übersicht aller Funktionen */
.uebersicht { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.uebersicht section { border: 1px solid var(--linie); border-radius: 20px; padding: 24px 24px 26px; background: #fff; }
.uebersicht h3 { font-size: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.uebersicht ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.uebersicht li { position: relative; padding-left: 18px; font-size: 15.5px; color: #2A3850; }
.uebersicht li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--navy); }
@media (max-width: 960px) { .uebersicht { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uebersicht { grid-template-columns: 1fr; } }
.mehr-link { margin-top: 48px; text-align: center; }
.ki-liste { margin-top: 18px; }
.ki-liste li { font-size: 16px; }

/* Hero mit Foto (11.10.): links Text auf Navy, rechts das Foto über die volle Höhe */
.hero { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: stretch; padding: 0; min-height: min(860px, 100svh); }
.hero-text-spalte { display: grid; align-items: center; padding: 120px clamp(24px, 4vw, 56px) 70px max(24px, calc((100vw - 1200px) / 2 + 24px)); background: radial-gradient(700px 500px at 0% 100%, rgba(47, 91, 211, .22), transparent 70%), var(--nacht); position: relative; z-index: 1; }
.hero .hero-innen { width: 100%; max-width: 560px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 60px); max-width: 12ch; }
.hero-text { max-width: 46ch; }
.hero-foto { margin: 0; position: relative; min-height: 100%; overflow: hidden; }
.hero-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 30%; }
.hero-foto::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, var(--nacht), transparent); z-index: 1; }
.hero-foto figcaption { position: absolute; right: 16px; bottom: 14px; z-index: 1; font: 500 12px var(--fliess); color: #fff; background: rgba(7, 22, 41, .55); padding: 5px 10px; border-radius: 8px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-foto { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-foto::before { inset: auto 0 0 0; width: auto; height: 35%; background: linear-gradient(0deg, var(--nacht), transparent); }
  .hero-foto figcaption { top: auto; bottom: 10px; right: 10px; }
  .hero-text-spalte { padding: 28px 16px 56px; }
  .kopf:not(.fest) { background: linear-gradient(180deg, rgba(7, 22, 41, .75), transparent); }
}
/* Video-Band mit der Fenster-Animation */
.video-band { position: relative; overflow: hidden; background: var(--nacht); color: #fff; min-height: 380px; display: grid; align-items: center; }
.video-band video { position: absolute; top: 0; right: 0; height: 100%; width: 70%; object-fit: cover; object-position: 75% 50%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.video-band-verlauf { position: absolute; inset: 0; background: linear-gradient(90deg, var(--nacht) 30%, transparent 75%); }
.video-band-text { position: relative; padding-block: 72px; }
.band-satz { font: 700 clamp(24px, 3vw, 38px)/1.25 var(--titel); max-width: 22ch; text-wrap: balance; }
@media (max-width: 760px) { .video-band video { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; } .video-band-verlauf { background: linear-gradient(0deg, var(--nacht) 20%, rgba(7, 22, 41, .4)); } }
.hero-foto::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(180deg, rgba(7, 22, 41, .7), transparent); z-index: 1; }

/* ============ Unterwegs: WinFlow360 im Smartphone (geraet.js) ============ */
.unterwegs { background: radial-gradient(900px 600px at 78% 40%, rgba(47, 91, 211, .10), transparent 65%), var(--grund); overflow: hidden; }
.uw-raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.uw-schritte { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: uw; }
.uw-schritte button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; width: 100%; padding: 14px 16px; border-radius: 16px; transition: background .3s, box-shadow .3s; position: relative; overflow: hidden; }
.uw-schritte button::before { counter-increment: uw; content: counter(uw); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--titel); background: #fff; color: var(--navy); border: 1.5px solid var(--linie); transition: background .3s, color .3s, border-color .3s; }
.uw-schritte b { font: 600 18px/1.3 var(--titel); color: var(--navy); }
.uw-schritte span { color: var(--leise); font-size: 15.5px; line-height: 1.5; }
.uw-schritte button:hover { background: rgba(255, 255, 255, .6); }
.uw-schritte button.aktiv { background: #fff; box-shadow: var(--schatten); }
.uw-schritte button.aktiv::before { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.uw-schritte button.aktiv::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.uw-hinweis { margin-top: 22px; font-size: 14px; color: var(--leise); }
.uw-mobil { display: none; }

.geraet-buehne { --s: .9; position: relative; margin: 0; display: grid; justify-items: center; }
.geraet-buehne::before { content: ""; position: absolute; left: 50%; top: 46%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(245, 166, 35, .16), rgba(47, 91, 211, .08) 42%, transparent 66%); pointer-events: none; }
.geraet { position: relative; width: calc(414px * var(--s)); height: calc(868px * var(--s)); padding: calc(12px * var(--s)); border-radius: calc(62px * var(--s));
  background: linear-gradient(145deg, #2c3442, #0c111a 42%, #1d2430); box-shadow: inset 0 0 0 1.5px #3d4656, inset 0 0 0 3px #0b0f16, 0 60px 100px -36px rgba(11, 31, 58, .55), 0 26px 46px -26px rgba(47, 91, 211, .35); }
.geraet::before, .geraet::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2c3442; }
.geraet::before { right: -3px; top: 25%; height: 11%; }
.geraet::after { left: -3px; top: 19%; height: 6%; box-shadow: 0 calc(58px * var(--s)) 0 #2c3442, 0 calc(108px * var(--s)) 0 #2c3442; }
.g-schirm { position: relative; width: calc(390px * var(--s)); height: calc(844px * var(--s)); border-radius: calc(50px * var(--s)); overflow: hidden; background: #000; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(#fff, #000); mask-image: radial-gradient(#fff, #000); transform: translateZ(0); }
.geraet-buehne figcaption { margin-top: 18px; font-size: 13px; color: var(--leise); text-align: center; max-width: 34ch; }
@media (prefers-reduced-motion: no-preference) { .geraet { animation: g-schweben 7s ease-in-out infinite; } }
@keyframes g-schweben { 50% { transform: translateY(-8px); } }

/* Betriebssystem: 390 × 844 Punkte, per --s skaliert */
.g-os { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0; font: 15px/1.45 var(--fliess); color: #0E1B2E; background: #071629; overflow: hidden; -webkit-user-select: none; user-select: none; }
.g-os * { box-sizing: border-box; }
.g-status { position: absolute; z-index: 20; inset: 0 0 auto 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px; font: 600 16px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #fff; pointer-events: none; transition: color .3s; }
.g-status-r { display: flex; gap: 6px; align-items: center; }
.g-status svg { height: 13px; width: auto; fill: currentColor; }
.g-insel { position: absolute; z-index: 21; top: 11px; left: 50%; width: 122px; height: 35px; margin-left: -61px; border-radius: 20px; background: #000; }
.g-heimbalken { position: absolute; z-index: 21; bottom: 0; left: 50%; width: 180px; height: 30px; margin-left: -90px; cursor: pointer; display: grid; place-items: center; }
.g-heimbalken::after { content: ""; width: 136px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .9); transition: background .3s; }
.g-os.hell .g-heimbalken::after { background: rgba(14, 27, 46, .75); }
.g-glanz { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .07) 32%, transparent 46%); }
.g-bild { position: absolute; inset: 0; }
.g-seite { position: absolute; inset: 0; background: #F4F6FA; display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s, border-radius .6s; will-change: transform; }
.g-seite.g-dunkel { background: #000; color: #fff; }
.g-seite.rein-vor { transform: translateX(100%); } .g-seite.rein-heim { opacity: 0; transform: scale(1.08); } .g-seite.rein-app { transform: scale(.12); opacity: 0; border-radius: 60px; transform-origin: 72% 52%; }
.g-seite.da { transform: none; opacity: 1; border-radius: 0; }
.g-seite.raus-vor { transform: translateX(-28%); opacity: .4; } .g-seite.raus-app { transform: scale(1.06); opacity: 0; } .g-seite.raus-heim { transform: scale(.9); opacity: 0; }
.g-gedrueckt { transform: scale(.94); filter: brightness(.94); transition: transform .12s, filter .12s; }
.g-finger { position: absolute; z-index: 25; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid rgba(11, 31, 58, .35); box-shadow: 0 6px 18px rgba(11, 31, 58, .3); opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.3, .7, .2, 1), opacity .3s; }
.g-finger::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(245, 166, 35, .9); opacity: 0; }
.g-finger.an { opacity: 1; } .g-finger.druck { background: rgba(255, 255, 255, .85); } .g-finger.druck::after { animation: g-welle .5s ease-out; }
@keyframes g-welle { from { opacity: 1; transform: scale(.8); } to { opacity: 0; transform: scale(1.9); } }
.g-toast { position: absolute; z-index: 15; left: 50%; bottom: 46px; transform: translate(-50%, 20px); max-width: 330px; width: max-content; padding: 11px 16px; border-radius: 14px; background: #0B1F3A; color: #fff; font: 500 13.5px/1.35 var(--titel); box-shadow: 0 12px 30px rgba(11, 31, 58, .35); opacity: 0; transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1); text-align: center; }
.g-toast.an { opacity: 1; transform: translate(-50%, 0); }

/* Startbildschirm */
.g-seite.g-heim { background: #050d1a url('/img/wallpaper.webp?v=1') center / cover; padding: 74px 22px 0; }
.g-heim-uhr { text-align: center; color: #fff; margin: 10px 0 34px; }
.g-heim-uhr small { display: block; font: 600 17px/1 -apple-system, BlinkMacSystemFont, sans-serif; opacity: .85; }
.g-heim-uhr b { display: block; font: 300 76px/1.05 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; letter-spacing: -.02em; }
.g-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 12px; }
.g-app { display: grid; justify-items: center; gap: 6px; color: #fff; cursor: default; }
.g-app small { font: 500 11.5px/1 -apple-system, BlinkMacSystemFont, sans-serif; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); white-space: nowrap; }
.g-icon { width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25); color: #fff; }
.g-icon svg { width: 30px; height: 30px; }
.g-wf { cursor: pointer; }
.g-wf .g-icon { background: linear-gradient(160deg, #14305A, #0B1F3A); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 0 0 rgba(245, 166, 35, .6); animation: g-ruf 2.4s ease-out infinite; }
.g-wf .g-logo { width: 46px; height: 46px; }
@keyframes g-ruf { 0% { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 0 rgba(245, 166, 35, .55); } 70%, 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 14px rgba(245, 166, 35, 0); } }
.g-dock { position: absolute; left: 12px; right: 12px; bottom: 26px; display: flex; justify-content: space-around; padding: 14px 10px; border-radius: 32px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.g-dock .g-icon { background: rgba(255, 255, 255, .12); }

/* App-Rahmen wie WinFlow360 */
.g-kopf { flex: none; background: #0B1F3A; color: #fff; padding: 54px 16px 0; box-shadow: 0 8px 24px rgba(7, 27, 54, .18); position: relative; z-index: 2; }
.g-kopf-zeile { display: flex; align-items: center; gap: 10px; height: 48px; }
.g-marke { display: flex; align-items: center; gap: 8px; font: 700 21px/1 var(--titel); }
.g-marke em { font-style: normal; color: #F5A623; }
.g-marke .g-logo { width: 32px; height: 32px; }
.g-zur { width: 34px; height: 34px; display: grid; place-items: center; margin-left: -6px; }
.g-zur svg { width: 22px; height: 22px; }
.g-kopf-titel { font: 600 17px/1.2 var(--titel); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-postknopf { margin-left: auto; position: relative; width: 46px; height: 38px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .28); display: grid; place-items: center; color: #F5A623; flex: none; }
.g-postknopf svg { width: 20px; height: 20px; }
.g-postknopf i, .g-navi i { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #F5A623; color: #0B1F3A; font: 700 11px/20px var(--titel); font-style: normal; text-align: center; }
.g-navi { display: flex; justify-content: space-between; padding: 8px 4px 10px; }
.g-navi span { position: relative; display: grid; justify-items: center; gap: 3px; color: rgba(255, 255, 255, .78); width: 62px; }
.g-navi svg { width: 23px; height: 23px; }
.g-navi small { font: 500 11px/1 var(--titel); }
.g-navi .aktiv { color: #F5A623; }
.g-navi i { top: -6px; right: 6px; }
.g-inhalt { flex: 1; overflow: hidden; position: relative; }
.g-roll { padding: 16px 16px 60px; }
.g-titel { font: 600 17px/1.3 var(--titel); color: #0B1F3A; margin: 18px 2px 10px; display: flex; align-items: center; gap: 8px; }
.g-titel > span { color: #5A6577; font-weight: 500; font-size: 15px; }
.g-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #E1E6EE; background: #fff; font: 600 12.5px/1.1 var(--titel); color: #0B1F3A; white-space: nowrap; transition: transform .12s; }
.g-knopf.voll { background: #0B1F3A; color: #fff; border-color: #0B1F3A; }
.g-knopf.breit { display: flex; width: 100%; min-height: 46px; font-size: 15px; margin-top: 14px; border-radius: 13px; }
.g-sym { width: 34px; height: 34px; border-radius: 10px; background: #F4F6FA; display: grid; place-items: center; font-size: 17px; flex: none; }

/* Startseite */
.g-hallo { border-radius: 20px; padding: 18px 18px 20px; color: #fff; background: radial-gradient(240px 160px at 90% 100%, rgba(245, 166, 35, .2), transparent 70%), linear-gradient(135deg, #14305A, #0B1F3A 70%); box-shadow: 0 14px 30px rgba(11, 31, 58, .25); }
.g-hallo small { display: block; color: #A9B6CC; font-size: 13.5px; }
.g-hallo b { display: block; font: 700 25px/1.2 var(--titel); margin: 4px 0 6px; }
.g-hallo span { color: #D7DFEC; font-size: 14px; } .g-hallo em { font-style: normal; color: #F5A623; font-weight: 700; }
.g-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.g-kachel { background: #fff; border-radius: 14px; padding: 11px 6px 10px; text-align: center; font-size: 18px; box-shadow: 0 1px 2px rgba(11,31,58,.05), 0 6px 18px rgba(11,31,58,.06); }
.g-kachel b { display: block; font: 600 12px/1.25 var(--titel); color: #0B1F3A; margin-top: 4px; }
.g-liste { display: grid; gap: 8px; }
.g-aufgabe { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 11px; align-items: start; padding: 12px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(11,31,58,.05), 0 6px 18px rgba(11,31,58,.06); border-left: 4px solid #E1E6EE; opacity: 0; transform: translateY(14px); --i: 0; transition: opacity .5s calc(var(--i) * .12s), transform .5s calc(var(--i) * .12s) cubic-bezier(.2,.8,.2,1), max-height .5s, padding .5s, margin .5s; max-height: 200px; overflow: hidden; }
.g-liste.da .g-aufgabe { opacity: 1; transform: none; }
.g-aufgabe:nth-child(2) { --i: 1; } .g-aufgabe:nth-child(3) { --i: 2; } .g-aufgabe:nth-child(4) { --i: 3; }
.g-aufgabe.prio { border-left-color: #F5A623; }
.g-aufgabe b { font: 600 14px/1.3 var(--titel); color: #0B1F3A; } .g-aufgabe small { color: #5A6577; font-size: 12.5px; }
.g-aufgabe p { margin: 2px 0 1px; font-size: 13.5px; line-height: 1.35; }
.g-aufgabe .g-knopf { grid-column: 2; justify-self: start; margin-top: 6px; }
.g-liste.da .g-aufgabe.weg { opacity: 0; transform: translateX(40px); max-height: 0; padding-block: 0; margin-top: -8px; transition-delay: 0s; }

/* Kamera und Beleg */
.g-kamera { position: absolute; inset: 0; background: #000; }
.g-sucher { position: absolute; inset: 96px 0 180px; overflow: hidden; perspective: 900px; }
.g-tisch { position: absolute; inset: 0; background: radial-gradient(circle at 40% 30%, #6b5845, #3b2f25 70%); filter: saturate(.8); }
.g-tisch::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(95deg, transparent 0 22px, rgba(0,0,0,.06) 22px 24px); }
.g-bon { position: absolute; left: 50%; top: 50%; width: 240px; padding: 18px 16px 22px; margin: -190px 0 0 -120px; background: #fbfaf6; color: #222; font: 11.5px/1.5 ui-monospace, Menlo, Consolas, monospace; transform: rotateX(18deg) rotateZ(-7deg) scale(.96); box-shadow: 0 18px 30px rgba(0, 0, 0, .45); transition: transform .5s; }
.g-bon b { display: block; text-align: center; font-size: 13px; } .g-bon > span { display: block; text-align: center; color: #555; }
.g-bon hr { border: 0; border-top: 1px dashed #999; margin: 8px 0; }
.g-bon p { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 11px; white-space: nowrap; } .g-bon p.sum { font-weight: 700; font-size: 13px; }
.g-bon .g-bon-dank { margin-top: 10px; font-size: 10.5px; }
.g-bon .e { position: absolute; width: 26px; height: 26px; border: 0 solid #F5A623; opacity: 0; transition: opacity .3s, transform .4s; transform: scale(1.5); }
.g-bon .e1 { left: -8px; top: -8px; border-width: 4px 0 0 4px; } .g-bon .e2 { right: -8px; top: -8px; border-width: 4px 4px 0 0; } .g-bon .e3 { right: -8px; bottom: -8px; border-width: 0 4px 4px 0; } .g-bon .e4 { left: -8px; bottom: -8px; border-width: 0 0 4px 4px; }
.g-bon.erkannt { box-shadow: 0 18px 30px rgba(0, 0, 0, .45), 0 0 0 9999px rgba(0, 0, 0, .28); } .g-bon.erkannt .e { opacity: 1; transform: none; }
.g-kamera-hinweis { position: absolute; top: 62px; left: 0; right: 0; text-align: center; color: #fff; font: 600 14px var(--titel); }
.g-ausloeser-zeile { position: absolute; left: 0; right: 0; bottom: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 30px; color: #fff; font-size: 15px; }
.g-ausloeser { width: 76px; height: 76px; border-radius: 50%; border: 5px solid #fff; box-shadow: inset 0 0 0 4px #000, inset 0 0 0 40px #fff; }
.g-blitz { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; } .g-blitz.an { animation: g-blitz .4s ease-out; }
@keyframes g-blitz { 0% { opacity: .95; } 100% { opacity: 0; } }
.g-bon-karte { position: relative; height: 150px; border-radius: 14px; overflow: hidden; background: #e9ecf2; box-shadow: inset 0 0 0 1px #E1E6EE; }
.g-bon-karte .g-bon { transform: scale(.62); top: 0; margin: -58px 0 0 -120px; box-shadow: 0 6px 14px rgba(0, 0, 0, .15); }
.g-bon-karte .g-bon .e { display: none; }
.g-ki-zeile, .g-lesen { display: flex; align-items: center; gap: 10px; margin: 12px 2px; color: #5A6577; font-size: 13.5px; }
.g-ki-zeile .fenni.mini, .g-lesen .fenni.mini { width: 26px; height: 33px; }
.g-felder { display: grid; gap: 9px; }
.g-felder label { display: grid; gap: 3px; font: 600 12px/1 var(--titel); color: #5A6577; }
.g-felder label > span { min-height: 40px; padding: 10px 12px; border-radius: 11px; background: #fff; border: 1.5px solid #E1E6EE; font: 500 14px/1.3 var(--fliess); color: #0E1B2E; }
.g-feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.g-schreibt { border-color: #2F5BD3 !important; }
.g-schreibt::after { content: "|"; animation: g-cursor .8s steps(1) infinite; color: #2F5BD3; margin-left: 1px; }
@keyframes g-cursor { 50% { opacity: 0; } }
.g-felder .g-chips { display: flex !important; gap: 6px; border: 0 !important; background: none !important; padding: 0 !important; }
.g-chips i { font-style: normal; padding: 8px 10px; border-radius: 9px; background: #fff; border: 1.5px solid #E1E6EE; font: 500 12.5px var(--titel); color: #5A6577; transition: background .3s, color .3s; }
.g-chips i.an { background: #0B1F3A; border-color: #0B1F3A; color: #fff; }
.g-beleg { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(11,31,58,.05), 0 6px 18px rgba(11,31,58,.06); }
.g-beleg b { font: 600 14px var(--titel); color: #0B1F3A; } .g-beleg small { display: block; color: #5A6577; font-size: 12px; } .g-beleg p { margin: 2px 0 0; font-size: 13px; }
.g-beleg strong { font: 700 15px var(--titel); color: #0B1F3A; }
.g-beleg .g-knopf, .g-beleg .g-ok { grid-column: 1 / -1; justify-self: start; }
.g-beleg.neu { box-shadow: 0 0 0 2px #F5A623, 0 6px 18px rgba(11,31,58,.08); animation: g-auf .5s cubic-bezier(.2,.8,.2,1); }
@keyframes g-auf { from { opacity: 0; transform: translateY(-12px); } }
.g-ok { color: #13795B; font: 600 12.5px var(--titel); background: #E2F5EE; padding: 6px 10px; border-radius: 9px; }
.g-ok.frisch { animation: g-auf .4s; }

/* Kundenakte und Angebot */
.g-akte-kopf b { display: block; font: 700 22px/1.2 var(--titel); color: #0B1F3A; } .g-akte-kopf small { color: #5A6577; }
.g-stand { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0; }
.g-stand i { font-style: normal; font: 500 11.5px/1 var(--titel); padding: 7px 9px; border-radius: 20px; background: #fff; color: #8a93a3; border: 1px solid #E1E6EE; }
.g-stand i.ok { background: #E2F5EE; color: #13795B; border-color: #bfe6d6; } .g-stand i.ok::before { content: "✓ "; }
.g-stand i.jetzt { background: #FFF4DF; color: #9A5B00; border-color: #F5A623; }
.g-ordner { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-ordner span { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 11px; font-size: 16px; box-shadow: 0 1px 2px rgba(11,31,58,.05), 0 6px 18px rgba(11,31,58,.06); }
.g-ordner b { font: 600 12.5px/1.2 var(--titel); color: #0B1F3A; } .g-ordner small { color: #5A6577; font-weight: 600; }
.g-ablage { border: 2px dashed #b9c4d6; border-radius: 16px; padding: 22px 14px; text-align: center; background: #fff; transition: background .3s, border-color .3s; }
.g-ablage span { display: block; font: 600 14.5px var(--titel); color: #0B1F3A; } .g-ablage small { color: #5A6577; font-size: 12.5px; }
.g-ablage.voll { border-style: solid; border-color: #2F5BD3; background: #EAF0FF; padding: 14px; }
.g-pdf { position: absolute; z-index: 5; left: 50%; top: 140px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(11, 31, 58, .3); transform: translate(140px, 520px) rotate(10deg); transition: transform 1s cubic-bezier(.3, .7, .2, 1); font-size: 13px; white-space: nowrap; }
.g-pdf.fliegt { transform: translate(-50%, 0) rotate(-2deg); }
.g-pdf b { background: #B42318; color: #fff; font: 700 11px var(--titel); padding: 8px 6px; border-radius: 6px; } .g-pdf small { display: block; color: #5A6577; }
.g-lesen > div { flex: 1; } .g-lesen b { display: block; font: 600 13px var(--titel); color: #0B1F3A; margin-bottom: 5px; }
.g-fort { display: block; height: 6px; border-radius: 3px; background: #E1E6EE; overflow: hidden; } .g-fort i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2F5BD3, #F5A623); transition: width .55s; }
.g-pos { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #fff; border-radius: 13px; padding: 10px; margin-bottom: 7px; box-shadow: 0 1px 2px rgba(11,31,58,.05), 0 6px 18px rgba(11,31,58,.06); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.g-pos.da { opacity: 1; transform: none; }
.g-zeichnung { width: 54px; height: 58px; border-radius: 8px; background: #F4F6FA; display: grid; place-items: center; }
.g-zeichnung svg { width: 42px; height: 46px; fill: none; stroke: #0B1F3A; stroke-width: 2; } .g-zeichnung .d { stroke: #2F5BD3; stroke-width: 1.2; stroke-dasharray: 3 2; }
.g-pos b { font: 600 13px/1.25 var(--titel); color: #0B1F3A; } .g-pos small { display: block; font-size: 11.5px; color: #5A6577; line-height: 1.35; }
.g-pos strong { font: 700 13px var(--titel); color: #0B1F3A; white-space: nowrap; }
.g-summe { background: #fff; border-radius: 14px; padding: 12px 14px; margin-top: 4px; box-shadow: 0 1px 2px rgba(11,31,58,.05), 0 6px 18px rgba(11,31,58,.06); animation: g-auf .5s; }
.g-summe p { display: flex; justify-content: space-between; margin: 0; padding: 3px 0; font-size: 13.5px; color: #5A6577; }
.g-summe p.gesamt { border-top: 1px solid #E1E6EE; margin-top: 4px; padding-top: 8px; font: 700 16px var(--titel); color: #0B1F3A; }

/* Kalender */
.g-teams { margin-left: auto; display: flex; gap: 6px; }
.g-teams i { font-style: normal; font: 600 11px var(--titel); padding: 4px 8px; border-radius: 8px; }
.t1 { background: #EAF0FF; color: #2F5BD3; } .t2 { background: #E2F5EE; color: #13795B; } .lief { background: #FFF4DF; color: #9A5B00; }
.g-vorschlag { display: grid; grid-template-columns: auto 1fr; gap: 6px 11px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 0 0 2px #F5A623, 0 10px 24px rgba(11,31,58,.1); margin-bottom: 12px; opacity: 0; transform: translateY(-10px); transition: opacity .45s, transform .45s, max-height .5s, padding .5s, margin .5s; max-height: 220px; overflow: hidden; }
.g-vorschlag.da { opacity: 1; transform: none; }
.g-vorschlag.weg { opacity: 0; max-height: 0; padding-block: 0; margin: 0; }
.g-vorschlag b { font: 600 13.5px var(--titel); color: #9A5B00; } .g-vorschlag p { margin: 3px 0 0; font-size: 13.5px; }
.g-vk { grid-column: 2; display: flex; gap: 6px; margin-top: 4px; }
.g-woche { display: grid; gap: 7px; }
.g-tag { display: grid; grid-template-columns: 52px 1fr; gap: 10px; background: #fff; border-radius: 13px; padding: 10px; min-height: 58px; box-shadow: 0 1px 2px rgba(11,31,58,.05), 0 6px 18px rgba(11,31,58,.06); }
.g-tag-k b { display: block; font: 700 15px var(--titel); color: #0B1F3A; } .g-tag-k small { color: #5A6577; font-size: 12px; }
.g-tag-e { display: grid; gap: 5px; align-content: center; }
.g-tag-e i { font-style: normal; font: 500 12.5px/1.3 var(--titel); padding: 7px 9px; border-radius: 8px; border-left: 3px solid currentColor; }
.g-tag-e i.neu { animation: g-rein .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes g-rein { from { opacity: 0; transform: translateY(-30px) scale(.9); } }

/* Assistent */
.g-ass-kopf { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; }
.g-ass-fenni { width: 40px; height: 48px; display: grid; place-items: center; }
.g-ass-fenni .fenni.mini { width: 36px; height: 45px; }
.g-ass-kopf b { display: block; font: 600 17px var(--titel); } .g-ass-kopf small { color: #A9B6CC; font-size: 12px; }
.g-chat .g-roll { padding-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.g-blase { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.g-blase.da { opacity: 1; transform: none; }
.g-blase.ich { align-self: flex-end; background: #0B1F3A; color: #fff; border-bottom-right-radius: 5px; }
.g-blase.vonfenni { align-self: flex-start; background: #fff; border: 1px solid #E1E6EE; border-bottom-left-radius: 5px; }
.g-blase p { margin: 0; } .g-blase ul { margin: 6px 0; padding-left: 18px; } .g-blase li { margin: 2px 0; }
.g-blase .g-knopf { margin-top: 8px; }
.g-entwurf { margin-top: 8px; padding: 9px 11px; border-radius: 10px; background: #F4F6FA; border-left: 3px solid #F5A623; }
.g-entwurf b { display: block; font: 600 12.5px var(--titel); color: #0B1F3A; } .g-entwurf span { font-size: 12.5px; color: #5A6577; }
.g-punkte { display: inline-flex; gap: 4px; padding: 4px 2px; } .g-punkte i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6b8; animation: g-punkt 1s infinite; } .g-punkte i:nth-child(2) { animation-delay: .15s; } .g-punkte i:nth-child(3) { animation-delay: .3s; }
@keyframes g-punkt { 50% { transform: translateY(-4px); background: #2F5BD3; } }
.g-chat-fuss { flex: none; background: #fff; border-top: 1px solid #E1E6EE; padding: 10px 12px 34px; }
.g-chat-chips { display: flex; gap: 6px; overflow: hidden; margin-bottom: 9px; }
.g-chat-chips i { font-style: normal; white-space: nowrap; padding: 7px 11px; border-radius: 16px; background: #EEF0FF; color: #3b3fae; font: 500 12.5px var(--titel); border: 1px solid #dfe2fb; }
.g-chat-chips i.ja { background: #0B1F3A; color: #fff; border-color: #0B1F3A; }
.g-eingabe { display: grid; grid-template-columns: 42px 1fr 42px; gap: 7px; align-items: center; }
.g-mikro, .g-send { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid #E1E6EE; color: #0B1F3A; }
.g-send { background: #0B1F3A; color: #fff; border-color: #0B1F3A; }
.g-mikro svg, .g-send svg { width: 19px; height: 19px; }
.g-mikro.hoert { background: #B42318; color: #fff; border-color: #B42318; animation: g-hoert 1s infinite; }
@keyframes g-hoert { 50% { box-shadow: 0 0 0 7px rgba(180, 35, 24, .15); } }
.g-feld { min-height: 42px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #c9d3f5; color: #8a93a3; font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.g-feld.spricht, .g-feld.g-schreibt { color: #0E1B2E; }
.g-chat-fuss > small { display: block; text-align: center; color: #8a93a3; font-size: 11px; margin-top: 7px; }

@media (max-width: 900px) {
  .uw-raster { grid-template-columns: 1fr; }
  .uw-schritte { display: none; }
  .uw-mobil { display: block; margin-top: 16px; min-height: 92px; }
  .uw-mobil-text b { display: block; font: 600 18px/1.3 var(--titel); color: var(--navy); }
  .uw-mobil-text span { color: var(--leise); font-size: 15.5px; }
  .uw-punkte { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
  .uw-punkte button { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--titel); background: #fff; color: var(--navy); border: 1.5px solid var(--linie); }
  .uw-punkte button.aktiv { background: var(--navy); color: var(--gold); border-color: var(--navy); }

}

/* ============ Zerlegt: Bildfolge folgt dem Scrollen, ohne die Seite festzuhalten ============ */
.zerlegt { --zl-links: max(24px, 50% - 636px); position: relative; height: max(640px, 100svh); background: radial-gradient(900px 600px at 70% 50%, #03132e, #010817 70%); color: #fff; overflow: hidden; }
.zl-bild, .zl-standbild { position: absolute; top: 0; bottom: 0; left: var(--zl-links); right: auto; width: calc(100% - var(--zl-links)); height: 100%; object-fit: contain; object-position: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(0deg, transparent 0, #000 22%, #000 80%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 24%), linear-gradient(0deg, transparent 0, #000 22%, #000 80%, transparent 100%); mask-composite: intersect; }
.zl-standbild { display: none; }
.zl-verlauf { display: none; }
.zl-text { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.zl-stufen { list-style: none; margin: 0; padding: 0; display: grid; max-width: 400px; }
.zl-stufen li { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--weich); pointer-events: none; }
.zl-stufen li.an { opacity: 1; transform: none; }
.zl-stufen b { display: block; font: 700 clamp(30px, 3vw, 46px)/1.12 var(--titel); letter-spacing: -.01em; text-wrap: balance; }
.zl-stufen span { display: block; margin-top: 18px; font-size: clamp(17px, 1.3vw, 19px); color: var(--hell-text); }
.zl-skala { margin-top: 34px; width: 180px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.zl-skala i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 900px) {
  .zerlegt { height: auto; display: flex; flex-direction: column; }
  .zl-bild, .zl-standbild { position: relative; left: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 14%); mask-image: linear-gradient(0deg, transparent 0, #000 14%); }
  .zl-text { padding-block: 4px 64px; }
}
@media (prefers-reduced-motion: reduce) { .zl-bild { display: none; } .zl-standbild { display: block; } .zl-stufen { gap: 26px; } .zl-stufen li { grid-area: auto; opacity: 1; transform: none; } .zl-skala { display: none; } }

@media (max-width: 1180px) and (min-width: 901px) { .menue { gap: 18px; } .menue a { font-size: 14px; } .kopf-innen { gap: 20px; } }
@media (min-width: 961px) { .uebersicht section:last-child { grid-column: 1 / -1; } .uebersicht section:last-child ul { display: block; columns: 3; column-gap: 32px; } .uebersicht section:last-child li { margin-bottom: 8px; break-inside: avoid; } }
.zl-teile { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.zl-teile li { position: absolute; transform: translate(-50%, 8px); opacity: 0; transition: opacity .5s, transform .6s var(--weich); font: 600 14px/1.25 var(--titel); color: #fff; text-align: center; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.zl-teile li::before { content: ""; display: block; width: 1px; height: 18px; margin: 0 auto 6px; background: linear-gradient(var(--gold), transparent); transform: rotate(180deg); }
.zl-teile small { display: block; font: 500 12px var(--fliess); color: var(--hell-leise); }
.zl-teile.an li { opacity: 1; transform: translate(-50%, 0); }
.zl-teile.an li:nth-child(2) { transition-delay: .08s; } .zl-teile.an li:nth-child(3) { transition-delay: .16s; } .zl-teile.an li:nth-child(4) { transition-delay: .24s; } .zl-teile.an li:nth-child(5) { transition-delay: .32s; } .zl-teile.an li:nth-child(6) { transition-delay: .4s; }
@media (max-width: 1100px) { .zl-teile { display: none; } }
@media (min-width: 901px) { .uw-raster { grid-template-columns: minmax(0, 1fr) 470px; } }

/* ============ Anfrageformular (kontakt.js → /api/anfrage → Freshservice) ============ */
.kontakt .kontakt-raster { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.kontakt-links .kontakt-karte { margin-top: 34px; background: rgba(255, 255, 255, .06); border: 1px solid var(--hell-linie); box-shadow: none; color: var(--hell-text); max-width: 460px; }
.kontakt-links .kk-name { color: #fff !important; } .kontakt-links .kk-firma { color: var(--hell-leise) !important; }
.kontakt-links .kk-zeile { color: #fff; border-color: var(--hell-linie); } .kontakt-links .kk-zeile:last-child { border-bottom: 0; padding-bottom: 0; }
.kontakt-links .kk-zeile span { color: var(--hell-leise); } .kontakt-links .kk-zeile:hover { color: var(--gold); }
.anfrage { background: #fff; color: var(--text); border-radius: 24px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.af-anliegen { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.af-anliegen legend { font: 600 14px var(--titel); color: var(--navy); margin-bottom: 10px; padding: 0; }
.af-anliegen label { position: relative; cursor: pointer; }
.af-anliegen input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.af-anliegen span { display: block; height: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--linie); transition: border-color .2s, background .2s, box-shadow .2s; }
.af-anliegen b { display: block; font: 600 15px/1.3 var(--titel); color: var(--navy); }
.af-anliegen small { display: block; margin-top: 3px; font-size: 13px; color: var(--leise); }
.af-anliegen label:hover span { border-color: #c7d0de; }
.af-anliegen input:checked + span { border-color: var(--gold); background: var(--gold-hell); box-shadow: 0 0 0 1px var(--gold); }
.af-anliegen input:focus-visible + span { outline: 3px solid rgba(47, 91, 211, .45); outline-offset: 2px; }
.af-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 24px; }
.af-raster label { display: block; font: 600 14px var(--titel); color: var(--navy); }
.af-raster label > input, .af-raster label > select, .af-raster label > textarea { display: block; margin-top: 6px; }
.af-raster i { font: 400 13px var(--fliess); color: var(--leise); }
.af-raster input, .af-raster select, .af-raster textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--linie); background: #fff; font: 400 16px var(--fliess); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.af-raster textarea { resize: vertical; min-height: 110px; }
.af-raster input:focus, .af-raster select:focus, .af-raster textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(47, 91, 211, .15); }
.af-raster .falsch input, .af-raster .falsch textarea { border-color: #B42318; }
.af-breit { grid-column: 1 / -1; }
.af-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.af-fehler { margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: #FDECEA; color: #B42318; font-size: 15px; }
.anfrage .knopf.breit { margin-top: 20px; border: 0; cursor: pointer; }
.anfrage .knopf:disabled { opacity: .7; cursor: wait; }
.af-hinweis { margin-top: 12px; font-size: 13px; color: var(--leise) !important; text-align: center; }
.af-hinweis a { color: var(--blau); }
.af-danke { text-align: center; padding: 30px 10px; }
.af-danke b { display: block; font: 700 26px var(--titel); color: var(--navy); }
.af-danke p { margin-top: 10px; color: var(--leise) !important; font-size: 17px; }
@media (max-width: 1000px) { .kontakt .kontakt-raster { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .af-raster { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .af-anliegen { grid-template-columns: 1fr 1fr; gap: 8px; } .af-anliegen label:last-child { grid-column: 1 / -1; } .af-anliegen span { padding: 11px 12px; } .af-anliegen b { font-size: 14px; } .af-anliegen small { font-size: 12px; } }
.zahlen-stand { margin-top: 14px; font-size: 13.5px; color: var(--hell-leise) !important; }
@media (max-width: 900px) { .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Vorher/Nachher: kleines festes Symbol je Karte */
.vn { position: relative; }
.vn-symbol { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.vn-symbol svg { width: 22px; height: 22px; }
.vn-vorher { padding-right: 70px; min-height: 68px; }

/* ============ Feedback-Portal (portal.js) – Komponente „Conto IT arbeitet“ wie in der App (app.css) ============ */
.portal { background: var(--grund); --blau-hell: #EAF0FF; }
.fb-zahnrad { width: 22px; height: 22px; fill: currentColor; flex: none; }
.fb-arbeit-marke { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 7px; border-radius: 999px; font: 700 12px/1.3 var(--titel); white-space: nowrap;
  color: var(--blau); background: linear-gradient(90deg, var(--blau-hell) 0%, #fff 50%, var(--blau-hell) 100%); background-size: 200% 100%; }
.fb-arbeit-marke .fb-zahnrad { width: 16px; height: 16px; }
.fb-arbeit { margin-bottom: 16px; padding: 16px 18px; border-radius: 14px; color: var(--blau); background: linear-gradient(120deg, var(--blau-hell), #fff 60%, var(--blau-hell)); background-size: 220% 100%; border: 1px solid var(--blau-hell); box-shadow: 0 6px 22px rgba(30, 80, 160, .08); }
.fb-arbeit-kopf { display: flex; gap: 12px; align-items: center; }
.fb-arbeit-kopf .fb-zahnrad { width: 34px; height: 34px; }
.fb-arbeit strong { font: 700 16px/1.3 var(--titel); }
.fb-arbeit .leise { color: var(--blau); opacity: .8; margin-top: 2px; }
.fb-punkte i { font-style: normal; display: inline-block; }
.fb-arbeit-balken { position: relative; height: 8px; margin-top: 12px; border-radius: 99px; background: rgba(255, 255, 255, .8); overflow: hidden; box-shadow: inset 0 0 0 1px var(--blau-hell); }
.fb-arbeit-balken span { position: absolute; inset: 0 auto 0 0; width: 4%; border-radius: inherit; background: linear-gradient(90deg, var(--blau), #5aa0f0, var(--blau)); background-size: 200% 100%; transition: width 1.2s var(--weich, ease); }
@media (prefers-reduced-motion: no-preference) {
  .fb-zahnrad { animation: fbdrehen 3s linear infinite; }
  .fb-arbeit, .fb-arbeit-marke { animation: fbschimmer 3.5s ease-in-out infinite; }
  .fb-arbeit-balken span { animation: fbschimmer 1.6s linear infinite; }
  .fb-punkte i { animation: fbpunkt 1.4s ease-in-out infinite; }
  .fb-punkte i:nth-child(2) { animation-delay: .2s; }
  .fb-punkte i:nth-child(3) { animation-delay: .4s; }
}
@keyframes fbdrehen { to { transform: rotate(360deg); } }
@keyframes fbschimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes fbpunkt { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
.portal-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portal-vorteile { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.portal-vorteile li { position: relative; padding-left: 40px; }
.portal-vorteile li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.portal-vorteile b { display: block; font: 600 17px/1.3 var(--titel); color: var(--navy); }
.portal-vorteile span { color: var(--leise); font-size: 15.5px; }
.portal-live { position: relative; }
.pl-karte { background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--schatten); border: 1px solid var(--linie); }
.pl-kopf { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pl-kopf b { display: block; font: 700 20px/1.25 var(--titel); color: var(--navy); }
.pl-kopf small { color: var(--leise); font-size: 13.5px; }
.pl-status { flex: none; padding: 5px 12px; border-radius: 99px; font: 700 12.5px var(--titel); transition: background .4s, color .4s; }
.pl-status[data-s="neu"] { background: var(--gold-hell); color: var(--gold-dunkel); }
.pl-status[data-s="arbeit"] { background: #EAF0FF; color: var(--blau); }
.pl-status[data-s="fertig"] { background: #E2F5EE; color: #13795B; }
.pl-text { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--grund); font-size: 15.5px; color: #2A3850; }
.pl-arbeit { margin: 14px 0 0; animation-name: fbschimmer; }
.pl-rest { font-size: 13.5px; color: var(--blau); opacity: .85; margin-top: 2px; }
.pl-antwort { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--navy); color: #fff; animation: pl-rein .5s var(--weich); }
.pl-antwort small { color: var(--gold); font: 600 12.5px var(--titel); }
.pl-antwort p { margin-top: 4px; font-size: 15px; color: var(--hell-text); }
@keyframes pl-rein { from { opacity: 0; transform: translateY(10px); } }
.pl-zeit { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.pl-zeit::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 9px; height: 2px; background: var(--linie); }
.pl-zeit li { position: relative; text-align: center; font-size: 13.5px; color: var(--leise); padding-top: 26px; }
.pl-zeit li::before { content: ""; position: absolute; left: 50%; top: 2px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--linie); transition: background .4s, border-color .4s, transform .4s; }
.pl-zeit li.an::before { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
.pl-zeit b { display: block; font: 700 15px var(--titel); color: var(--navy); }
.pl-quelle { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--leise); }
.portal-bilder { position: relative; margin-top: clamp(56px, 7vw, 90px); padding-right: clamp(0px, 14vw, 220px); }
.portal-gross { margin: 0; }
.portal-handy { position: absolute; right: 0; bottom: -40px; width: clamp(150px, 19vw, 260px); margin: 0; border: 6px solid #0c111a; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(11, 31, 58, .3); }
.portal-zwischen { margin-top: clamp(72px, 8vw, 110px); font-size: 24px; color: var(--navy); }
.portal .fb { background: #fff; border-color: var(--linie); }
.portal .fb-wunsch { color: var(--text); } .portal .fb-loesung { color: var(--gold-dunkel); }
@media (max-width: 900px) { .portal-raster { grid-template-columns: 1fr; } .portal-bilder { padding-right: 0; } .portal-handy { position: relative; right: auto; bottom: auto; width: 62%; margin: -60px 0 0 auto; } .feedback-liste { grid-template-columns: 1fr; } }

/* ============ Ernstfall (ernstfall.js) ============ */
.ef-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ef-netz { position: relative; aspect-ratio: 1 / .82; max-width: 560px; width: 100%; margin-inline: auto; }
.ef-netz::before { content: ""; position: absolute; inset: 14% 12%; border: 1.5px dashed rgba(255, 255, 255, .16); border-radius: 50%; }
.ef-mitte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; text-align: center; font: 600 15px var(--titel); color: var(--navy); background: var(--gold); box-shadow: 0 0 0 10px rgba(245, 166, 35, .15), 0 0 60px rgba(245, 166, 35, .35); }
.ef-geraet { position: absolute; transform: translate(-50%, -50%); width: 150px; padding: 12px 10px; border-radius: 16px; text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid var(--hell-linie); font: 600 14px/1.3 var(--titel); color: #fff; transition: background .4s, border-color .4s, opacity .4s, transform .4s; }
.ef-geraet b { display: block; font-size: 24px; margin-bottom: 4px; }
.ef-geraet small { display: block; font: 400 12px var(--fliess); color: var(--hell-leise); margin-top: 2px; }
.ef-geraet:nth-of-type(2) { left: 18%; top: 14%; } .ef-geraet:nth-of-type(3) { left: 82%; top: 14%; } .ef-geraet:nth-of-type(4) { left: 88%; top: 62%; }
.ef-geraet:nth-of-type(5) { left: 50%; top: 92%; } .ef-geraet:nth-of-type(6) { left: 12%; top: 62%; }
.ef-geraet.aus { background: rgba(180, 35, 24, .25); border-color: #E5534B; transform: translate(-50%, -50%) scale(.94); animation: ef-wackeln .5s; }
.ef-geraet.aus small { text-decoration: line-through; color: #ffb3ae; }
@keyframes ef-wackeln { 20% { transform: translate(-52%, -50%) scale(.94); } 40% { transform: translate(-48%, -50%) scale(.94); } 60% { transform: translate(-51%, -50%) scale(.94); } }
.ef-meldung { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 76px); width: 240px; text-align: center; font: 600 13.5px var(--titel); color: #ffb3ae; opacity: 0; transition: opacity .4s; }
.ef-meldung.an { opacity: 1; }
.ef-zwischen { margin-top: clamp(56px, 7vw, 88px); font-size: 24px; color: #fff; }
.ef-faelle, .ef-loesung { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
.ef-faelle article, .ef-loesung article { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hell-linie); }
.ef-faelle h4, .ef-loesung h4 { font: 600 17px/1.3 var(--titel); color: #fff; padding-left: 30px; position: relative; }
.ef-faelle h4::before, .ef-loesung h4::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; }
.ef-faelle h4::before { background: #E5534B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18h.01'/%3E%3C/svg%3E") center/13px no-repeat; }
.ef-loesung h4::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.ef-faelle p, .ef-loesung p { margin-top: 10px; font-size: 15px; color: var(--hell-leise); }
.ef-loesung article { background: rgba(245, 166, 35, .07); border-color: rgba(245, 166, 35, .28); }
@media (max-width: 900px) { .ef-raster { grid-template-columns: 1fr; } .ef-geraet { width: 120px; font-size: 13px; } .ef-mitte { width: 100px; height: 100px; font-size: 13px; } }
@media (max-width: 480px) { .ef-netz { aspect-ratio: 1 / 1.05; } .ef-geraet small { display: none; } .ef-geraet { width: 104px; padding: 9px 6px; } }
.ef-faelle h4, .ef-loesung h4 { hyphens: auto; overflow-wrap: break-word; }

/* ============ Zeitersparnis (zeit.js) ============ */
.zeit { background: #fff; }
.zeit-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.zeit-kacheln div { padding: 24px 26px; border-radius: 20px; background: var(--grund); border: 1px solid var(--linie); }
.zeit-kacheln div:last-child { background: var(--navy); border-color: var(--navy); }
.zeit-kacheln small { display: block; font: 600 13px var(--titel); letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.zeit-kacheln b { display: block; margin-top: 6px; font: 700 clamp(32px, 3.6vw, 48px)/1.05 var(--titel); color: var(--navy); }
.zeit-kacheln div:last-child small { color: var(--hell-leise); } .zeit-kacheln div:last-child b { color: var(--gold); }
.zeit-kacheln span { display: block; margin-top: 6px; color: var(--hell-text); font-size: 15px; }
.zeit-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; align-items: start; }
.zeit-grafik h3, .zeit-rechner h3, .zeit-frei h3 { font-size: 19px; color: var(--navy); margin-bottom: 18px; }
.zeit-balken { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.zeit-balken li { position: relative; display: grid; grid-template-columns: minmax(150px, 15em) 1fr 74px; gap: 14px; align-items: center; }
.zb-name { font-size: 15px; color: var(--text); }
.zb-spur { height: 14px; border-radius: 4px; background: var(--grund); overflow: hidden; }
.zb-spur i { display: block; height: 100%; width: 0; border-radius: 0 4px 4px 0; background: var(--navy); transform-origin: left; transform: scaleX(0); transition: width .5s var(--weich), transform 1s var(--weich); }
.zeit-grafik.da .zb-spur i { transform: scaleX(1); }
.zeit-balken li:first-child .zb-spur i { background: var(--gold); }
.zb-wert { font: 600 15px var(--titel); color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.zb-tipp { position: absolute; right: 86px; top: -26px; padding: 4px 9px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12.5px; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; }
.zeit-balken li:hover .zb-tipp { opacity: 1; }
.zeit-quelle { margin-top: 18px; font-size: 13px; color: var(--leise); }
.zeit-rechner { padding: 24px; border-radius: 20px; background: var(--grund); border: 1px solid var(--linie); display: grid; gap: 16px; }
.zeit-rechner h3 { margin-bottom: 2px; }
.zeit-rechner label { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 15px; color: var(--text); }
.zeit-rechner output { font: 700 15px var(--titel); color: var(--navy); font-variant-numeric: tabular-nums; }
.zeit-rechner input { grid-column: 1 / -1; width: 100%; accent-color: var(--navy); }
.zeit-frei { margin-top: clamp(48px, 6vw, 72px); }
.zf-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.zf-raster article { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--linie); border-top: 3px solid var(--gold); }
.zf-raster b { font: 600 16px var(--titel); color: var(--navy); } .zf-raster p { margin-top: 6px; font-size: 15px; color: var(--leise); }
@media (max-width: 900px) { .zeit-raster { grid-template-columns: 1fr; } .zf-raster { grid-template-columns: 1fr 1fr; } .zeit-kacheln { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .zeit-balken li { grid-template-columns: 1fr 64px; } .zb-spur { grid-column: 1 / -1; grid-row: 2; } .zf-raster { grid-template-columns: 1fr; } .zb-tipp { display: none; } }

/* Handy: kurzer Kopfknopf, ruhiges Scrollen (keine Weichzeichner, keine Dauer-Animationen, Fenster-Zerlegung als Standbild) */
.k-kurz { display: none; }
@media (max-width: 480px) { .k-voll { display: none; } .k-kurz { display: inline; } }
@media (max-width: 900px) {
  .kopf.fest { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(7, 22, 41, .97); }
  .geraet { animation: none !important; }
  .g-icon, .g-dock { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .zl-bild { display: none; } .zl-standbild { display: block; }
  .zl-stufen { gap: 24px; } .zl-stufen li { grid-area: auto; opacity: 1; transform: none; } .zl-skala { display: none; }
}
h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1000px) { .kontakt .kontakt-raster, .ef-raster, .portal-raster { grid-template-columns: minmax(0, 1fr); } }
.ernstfall { overflow: hidden; }
@media (max-width: 480px) { .ef-geraet:nth-of-type(2) { left: 22%; } .ef-geraet:nth-of-type(3) { left: 78%; } .ef-geraet:nth-of-type(4) { left: 80%; } .ef-geraet:nth-of-type(6) { left: 20%; } .ef-geraet { width: 96px; font-size: 12px; } }

/* Handy: Kopfleiste flacher und weicht beim Runterscrollen aus, Fenni klein und beim Scrollen ausgeblendet (main.js) */
.kopf { transition: background .3s, box-shadow .3s, transform .35s var(--weich); }
@media (max-width: 900px) {
  .kopf-innen { padding-block: 10px; }
  .kopf .knopf.klein { min-height: 38px; font-size: 13.5px; padding: 0 14px; }
  .kopf.versteckt { transform: translateY(-100%); }
  html { scroll-padding-top: 64px; }
  .fenni-fab { width: 50px; height: 63px; filter: none; transition: opacity .3s, transform .3s var(--weich); }
  .fenni-fab .fenni { width: 50px; height: 63px; }
  .fenni-fab.weg { opacity: 0; transform: translateY(24px); pointer-events: none; }
  .fenni-blase { right: calc(max(14px, env(safe-area-inset-right)) + 56px); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 34px); font-size: 14px; }
  .g-wf .g-icon { animation: none; }
}
/* Handy: Kopfleiste immer deckend, Inhalt beginnt darunter (nie Text hinter dem Logo) */
@media (max-width: 900px) {
  .kopf, .kopf.fest { background: #071629; box-shadow: 0 1px 0 var(--hell-linie); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .kopf-innen { min-height: 58px; }
  .hero { padding-top: calc(58px + env(safe-area-inset-top, 0px)); }
  .hero-foto::after { display: none; }
}

/* ============ Häufige Fragen ============ */
.faq { background: var(--grund); }
.faq-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .einleitung a { color: var(--blau); font-weight: 600; }
.faq-liste { display: grid; gap: 10px; }
.faq-liste details { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: 0 20px; }
.faq-liste summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font: 600 17px/1.35 var(--titel); color: var(--navy); }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 500 24px var(--titel); color: var(--gold-dunkel); transition: transform .2s; }
.faq-liste details[open] summary::after { transform: rotate(45deg); }
.faq-liste details p { padding: 0 0 18px; color: var(--leise); font-size: 16px; }
@media (max-width: 900px) { .faq-raster { grid-template-columns: minmax(0, 1fr); } }

/* ============ Handy-Hero: Foto groß als Einstieg, Überschrift liegt auf dem unteren Bildrand ============ */
@media (max-width: 900px) {
  .hero-foto { aspect-ratio: 4 / 5; max-height: 78svh; width: 100%; }
  .hero-foto img { object-position: 50% 22%; }
  .hero-foto::before { height: 55%; background: linear-gradient(0deg, var(--nacht) 4%, rgba(7, 22, 41, .75) 40%, transparent); }
  .hero-foto figcaption { top: 12px; bottom: auto; left: 12px; right: auto; font-size: 11.5px; }
  .hero-text-spalte { margin-top: -150px; padding-top: 0; background: none; z-index: 2; }
  .hero h1 { text-shadow: 0 2px 18px rgba(7, 22, 41, .6); }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero-foto img { animation: hero-zoom 14s ease-out both; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ============ Branchenseiten (tools/branchenseiten.mjs) ============ */
.unterseite .branche-kopf { padding-top: clamp(120px, 14vw, 170px); }
.branche-kopf h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.02em; max-width: 18ch; margin-top: 4px; }
.krumen { font-size: 14px; color: var(--hell-leise); margin-bottom: 26px; } .krumen a { color: var(--hell-text); }
.branche-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.branche-raster article { padding: 24px; border-radius: 20px; border: 1px solid var(--linie); border-top: 3px solid var(--gold); background: #fff; }
.branche-raster h3 { font-size: 18px; color: var(--navy); } .branche-raster p { margin-top: 10px; color: var(--leise); font-size: 16px; }
.branche-velle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.branche-velle img { border-radius: 22px; box-shadow: var(--schatten); }
.branche-velle .textlink { color: var(--gold-dunkel); }
.branche-weiter { margin-top: 40px; font-size: 15px; color: var(--hell-leise); } .branche-weiter a { color: var(--hell-text); margin-left: 14px; white-space: nowrap; }
.fuss-branchen { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; } .fuss-branchen a { color: inherit; opacity: .8; }
@media (max-width: 900px) { .branche-raster { grid-template-columns: minmax(0, 1fr); } .branche-velle { grid-template-columns: minmax(0, 1fr); } .unterseite .branche-kopf { padding-top: 96px; } }
@media (max-width: 900px) { .hero-foto figcaption { display: none; } }
