@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(fonts/manrope-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format('woff2'); }

:root {
  --navy: #0e2236;
  --navy-2: #17344f;
  --orange: #f08a24;
  --orange-d: #c96d12;
  --grund: #f3f5f8;
  --karte: #ffffff;
  --text: #15202b;
  --leise: #5b6b7b;
  --linie: #dfe4ea;
  --gruen: #1f8a5b;
  --rot: #c0392b;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(14, 34, 54, .06), 0 8px 24px rgba(14, 34, 54, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Manrope, system-ui, sans-serif; color: var(--text); background: var(--grund); line-height: 1.5; }
a { color: var(--navy-2); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }

.kopf { background: var(--navy); color: #fff; }
.kopf .innen { max-width: 1100px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.marke .zeichen { width: 40px; height: 40px; border-radius: 10px; background: var(--orange); color: var(--navy); font-weight: 800; display: grid; place-items: center; font-size: 15px; letter-spacing: -.02em; }
.marke b { display: block; font-size: 16px; }
.marke small { display: block; font-size: 12px; opacity: .75; }
.kopf .rechts { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.seite { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
.schmal { max-width: 680px; }

.held { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.held .innen { max-width: 1100px; margin: 0 auto; padding: 48px 16px 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.held h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; }
.held p { color: #d5dee8; font-size: 17px; max-width: 34em; }
.held .marker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }

.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 22px; }
.held .karte { color: var(--text); }
.karte + .karte { margin-top: 16px; }

label { display: block; font-size: 13px; font-weight: 700; color: var(--leise); margin: 0 0 6px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #c9d2dc; border-radius: 10px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
textarea { resize: vertical; min-height: 80px; }
.feld { margin-bottom: 14px; }
.reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.code-feld { font-size: 22px; letter-spacing: .18em; text-transform: uppercase; text-align: center; font-weight: 700; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 700; cursor: pointer;
  background: var(--orange); color: var(--navy); text-decoration: none; transition: background .15s, transform .1s; }
.knopf:hover { background: #f59a3d; }
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: .5; cursor: default; }
.knopf.zweit { background: #e8edf2; color: var(--navy); }
.knopf.zweit:hover { background: #dce3ea; }
.knopf.hell { background: rgba(255, 255, 255, .12); color: #fff; }
.knopf.rot { background: #fbe7e4; color: var(--rot); }
.knopf.klein { padding: 7px 12px; font-size: 14px; }
.knopf.breit { width: 100%; }

.hinweis { font-size: 14px; color: var(--leise); }
.fehler { color: var(--rot); font-weight: 600; font-size: 14px; min-height: 1.2em; margin: 8px 0 0; }
.ok-text { color: var(--gruen); font-weight: 600; }

.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.schritt { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; }
.schritt .nr { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.schritt p { margin: 0; color: var(--leise); font-size: 15px; }

/* Kundenseite */
.objekt { display: grid; gap: 4px; }
.objekt .adresse { font-size: 20px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #e8edf2; color: var(--navy-2); }
.chip.orange { background: #fdebd8; color: var(--orange-d); }
.chip.gruen { background: #dff3ea; color: var(--gruen); }

.gebucht { border: 2px solid var(--gruen); background: #f2fbf7; border-radius: 12px; padding: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.gebucht .wann { font-size: 18px; font-weight: 800; }
.gebucht .art { font-size: 13px; font-weight: 700; color: var(--gruen); text-transform: uppercase; letter-spacing: .05em; }

.tage { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.tag { flex: 0 0 auto; scroll-snap-align: start; min-width: 76px; text-align: center; border: 1px solid var(--linie); background: #fff; border-radius: 12px; padding: 8px 10px; cursor: pointer; }
.tag b { display: block; font-size: 20px; }
.tag small { display: block; font-size: 12px; color: var(--leise); }
.tag[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag[aria-pressed="true"] small { color: #c7d3df; }
.zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.zeit { border: 1px solid #c9d2dc; background: #fff; border-radius: 10px; padding: 10px; font-weight: 700; cursor: pointer; }
.zeit:hover { border-color: var(--orange); }
.zeit[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }

.chat { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; padding: 4px; }
.blase { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 15px; white-space: pre-wrap; word-wrap: break-word; }
.blase small { display: block; font-size: 11px; opacity: .65; margin-top: 3px; }
.blase.ich { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.blase.du { align-self: flex-start; background: #e8edf2; border-bottom-left-radius: 4px; }
.blase.system { align-self: center; background: transparent; color: var(--leise); font-size: 13px; text-align: center; max-width: 100%; }
.schreiben { display: flex; gap: 8px; margin-top: 10px; }
.schreiben textarea { min-height: 46px; height: 46px; }

.fuss { text-align: center; font-size: 13px; color: var(--leise); padding: 24px 16px; }
.fuss a { color: var(--leise); }

/* Dashboard */
.leiste { display: flex; gap: 4px; flex-wrap: wrap; }
.leiste button { background: transparent; color: #c7d3df; border: 0; padding: 8px 12px; border-radius: 8px; font-weight: 700; cursor: pointer; position: relative; }
.leiste button[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.zahl { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--orange); color: var(--navy); font-size: 12px; margin-left: 4px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kachel { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; }
.kachel b { display: block; font-size: 28px; font-weight: 800; }
.kachel span { color: var(--leise); font-size: 14px; }
.tabelle-huelle { overflow-x: auto; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--leise); background: #f8fafb; position: sticky; top: 0; }
tr.klickbar { cursor: pointer; }
tr.klickbar:hover td { background: #fbf6f0; }
td input, td select { padding: 6px 8px; font-size: 13px; min-width: 90px; }
.werkzeug { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.werkzeug input[type="search"] { max-width: 280px; }
.status { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #e8edf2; white-space: nowrap; }
.status.offen { background: #fdebd8; color: var(--orange-d); }
.status.eingeladen { background: #e6eefb; color: #2856a3; }
.status.begehung, .status.montage { background: #dff3ea; color: var(--gruen); }
.status.fertig { background: #1f8a5b; color: #fff; }
.status.abgesagt { background: #fbe7e4; color: var(--rot); }
.zwei-spalten { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.ablage { border: 2px dashed #b8c3cf; border-radius: var(--radius); padding: 28px; text-align: center; background: #fff; cursor: pointer; }
.ablage.drueber { border-color: var(--orange); background: #fff8f1; }
.versteckt { display: none !important; }
.overlay { position: fixed; inset: 0; background: rgba(14, 34, 54, .45); display: grid; place-items: start center; padding: 40px 12px; overflow-y: auto; z-index: 20; }
.overlay .karte { width: min(900px, 100%); }
.tagliste h3 { font-size: 15px; margin: 18px 0 8px; }
.slot { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--linie); border-radius: 8px; padding: 5px 8px; margin: 0 6px 6px 0; font-size: 13px; background: #fff; }
.slot.belegt { background: #f2fbf7; border-color: #b9e2cf; }
.slot button { border: 0; background: none; color: var(--leise); cursor: pointer; padding: 0 2px; font-size: 15px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 600; z-index: 40; box-shadow: var(--schatten); }

@media (max-width: 820px) {
  .held .innen, .zwei-spalten { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr; }
  .held .innen { padding: 32px 16px 40px; gap: 24px; }
}
@media print { .kopf, .fuss, .nicht-drucken { display: none !important; } body { background: #fff; } }

/* ---------- Gestaltung 2 (21.11.2026) ---------- */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(14, 34, 54, .96); backdrop-filter: blur(8px); }
.knopf.hell { border: 1px solid rgba(255, 255, 255, .18); }
.knopf.hell:hover { background: rgba(255, 255, 255, .2); }
.knopf.gross { padding: 14px 20px; font-size: 17px; }
.knopf:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--orange); }

.held { position: relative; overflow: hidden; background:
  radial-gradient(900px 420px at 85% -10%, rgba(240, 138, 36, .16), transparent 60%),
  radial-gradient(700px 400px at 0% 110%, rgba(56, 120, 180, .25), transparent 60%),
  linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.held::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.held .innen { position: relative; z-index: 1; padding: 64px 16px 72px; }
.held h1 { font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -.025em; text-wrap: balance; }
.held .akzent { color: var(--orange); }
.held .karte p.hinweis { color: var(--leise); font-size: 14px; margin: 2px 0 0; }
.vorteile { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.vorteile li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #e6edf4; }
.vorteile svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(240, 138, 36, .18); fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.code-karte { padding: 26px; border: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .12); }
.code-kopf { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.code-kopf h2 { margin: 0; font-size: 21px; }
.code-symbol { flex: 0 0 48px; height: 48px; border-radius: 12px; background: #fdebd8; display: grid; place-items: center; }
.code-symbol svg { width: 26px; height: 26px; fill: none; stroke: var(--orange-d); stroke-width: 2; stroke-linejoin: round; }
.code-feld { font-size: 24px; padding: 14px 12px; background: #f8fafb; border-width: 2px; }
.code-feld::placeholder { color: #b5c0cb; }
.klein-text { font-size: 13px; text-align: center; margin: 14px 0 0; }

.abschnitt { padding: 72px 0; }
.abschnitt.hell { background: #fff; border-block: 1px solid var(--linie); }
.abschnitt > .innen { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.abschnitt > .schmal-innen { max-width: 780px; }
.marker.dunkel { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 10px; }
.gross-titel { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 28px; text-wrap: balance; }

.ablauf { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.haus-bild { background: linear-gradient(180deg, #e9eff5, #f6f8fa); border: 1px solid var(--linie); border-radius: 22px; padding: 28px 24px 0; overflow: hidden; }
.haus-bild svg { display: block; width: 100%; height: auto; }
.faser { stroke-dasharray: 10 8; animation: faser 3s linear infinite; }
@keyframes faser { to { stroke-dashoffset: -36; } }
@media (prefers-reduced-motion: reduce) { .faser { animation: none; } }

.zeitleiste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.zeitleiste li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; position: relative; padding-bottom: 26px; }
.zeitleiste li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: linear-gradient(var(--orange), #f6c999); }
.zeitleiste .punkt { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; box-shadow: 0 0 0 5px #fdebd8; }
.zeitleiste h3 { font-size: 19px; margin: 9px 0 4px; }
.zeitleiste h3 small { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--orange-d); background: #fdebd8; padding: 2px 8px; border-radius: 99px; vertical-align: 2px; }
.zeitleiste p { margin: 0; color: var(--leise); }

.tipps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tipp { background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .tipp:hover { transform: translateY(-2px); box-shadow: var(--schatten); } }
.tipp h3 { font-size: 17px; margin: 14px 0 6px; }
.tipp p { margin: 0; color: var(--leise); font-size: 15px; }
.tipp-symbol { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.tipp-symbol svg { width: 24px; height: 24px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.fragen { display: grid; gap: 10px; }
.fragen details { background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 0 20px; }
.fragen details[open] { box-shadow: var(--schatten); }
.fragen summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 28px 18px 0; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2.5px solid var(--orange-d); border-bottom: 2.5px solid var(--orange-d); transform: rotate(45deg); transition: transform .2s ease; }
.fragen details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.fragen details p { margin: 0 0 18px; color: var(--leise); }

.gross-fuss { background: var(--navy); color: #c7d3df; text-align: left; padding: 36px 16px; }
.gross-fuss .innen { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.gross-fuss a { color: #e6edf4; text-decoration: none; }
.gross-fuss a:hover { color: var(--orange); }
.fuss-kontakt, .fuss-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.fuss-links a { color: #9fb0c1; font-weight: 500; }

/* Terminseite */
#bereiche { display: grid; gap: 16px; margin: 16px 0; }
#inhalt > .karte + #bereiche { margin-top: 16px; }
.fortschritt { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: f; }
.fortschritt li { position: relative; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--leise); }
.fortschritt li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 99px; background: #e3e8ee; }
.fortschritt li.erledigt::before { background: var(--gruen); }
.fortschritt li.jetzt::before { background: linear-gradient(90deg, var(--orange) 50%, #e3e8ee 50%); }
.fortschritt li.erledigt { color: var(--gruen); }
.fortschritt li.jetzt { color: var(--text); }
.gebucht { border-width: 0; border-left: 5px solid var(--gruen); }
.tag { transition: border-color .15s, background .15s; }
@media (hover: hover) { .tag:hover { border-color: var(--orange); } }
.zeit { transition: border-color .15s, background .15s; }
.chat { background: var(--grund); border-radius: 12px; padding: 12px; min-height: 90px; }

@media (max-width: 820px) {
  .ablauf { grid-template-columns: 1fr; gap: 32px; }
  .tipps { grid-template-columns: 1fr; }
  .abschnitt { padding: 52px 0; }
  .held .innen { padding: 36px 16px 44px; }
  .nur-gross { display: none; }
  .gross-fuss .innen { flex-direction: column; align-items: flex-start; }
}

#bereiche > .karte + .karte { margin-top: 0; }
.fehler:empty { min-height: 0; margin: 0; }


/* ---------- Mitarbeiter und Erklärung (21.11.2026) ---------- */
.foto-rund { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 50%; background: #e3e8ee; overflow: hidden; display: grid; place-items: center; font-weight: 800; color: var(--navy-2); font-size: 22px; }
.foto-rund img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-rund.klein { width: 44px; height: 44px; flex-basis: 44px; font-size: 14px; }
.foto-wahl { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.m-liste { display: grid; gap: 8px; }
.m-eintrag { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.m-eintrag:hover, .m-eintrag.aktiv { border-color: var(--orange); background: #fffaf4; }
.m-eintrag b, .m-eintrag small { display: block; }
.m-eintrag small { color: var(--leise); }
.m-eintrag .status { margin-left: auto; }

.techniker { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; }
.techniker .foto-rund { width: 56px; height: 56px; flex-basis: 56px; font-size: 17px; }
.techniker b, .techniker small, .techniker .hinweis { display: block; }
.techniker b { font-size: 17px; }
.techniker small { color: var(--leise); font-size: 13px; }

.team-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.person { margin: 0; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.person-bild { aspect-ratio: 1; background: linear-gradient(160deg, var(--navy), var(--navy-2)); display: grid; place-items: center; color: var(--orange); font-size: 44px; font-weight: 800; }
.person-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person figcaption { padding: 14px 16px 16px; }
.person b, .person small { display: block; }
.person small { color: var(--leise); }

.erklaer { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.erklaer:has(.video-platz:not(.versteckt)) { grid-template-columns: 1.1fr 1fr; }
.einleitung { font-size: 18px; color: var(--text); max-width: 40em; margin: -12px 0 24px; }
.begriffe { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.begriffe > div { border-left: 4px solid var(--orange); background: var(--grund); border-radius: 0 12px 12px 0; padding: 14px 16px; }
.begriffe dt { font-weight: 800; margin-bottom: 4px; }
.begriffe dd { margin: 0; color: var(--leise); font-size: 15px; }
.video-platz { border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--schatten); }
.video-platz video { display: block; width: 100%; height: auto; max-height: 78vh; }
@media (max-width: 820px) {
  .erklaer:has(.video-platz:not(.versteckt)) { grid-template-columns: 1fr; }
  .begriffe { grid-template-columns: 1fr; }
}

.team-raster { grid-template-columns: repeat(auto-fill, minmax(150px, 220px)); }
@media (max-width: 520px) { .team-raster { grid-template-columns: repeat(2, 1fr); } }


/* ---------- Mitarbeiter-Dashboard und Dateien (21.11.2026) ---------- */
.zugang { border: 1px solid var(--linie); border-radius: 12px; padding: 14px 16px 12px; margin: 4px 0 16px; background: var(--grund); }
.zugang legend { font-weight: 800; padding: 0 6px; }
.dateien { display: grid; gap: 8px; margin-top: 12px; }
.datei { display: flex; gap: 8px; align-items: center; }
.datei-name { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.datei-name:hover { border-color: var(--orange); }
.datei-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.datei-name small { display: block; color: var(--leise); font-size: 12px; }
.datei-name > span:last-child { min-width: 0; }
.datei-typ { flex: 0 0 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--orange); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.tag-titel { font-size: 15px; margin: 22px 0 10px; color: var(--navy-2); }
.tag-titel.alt { color: var(--leise); }
.einsatz { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--schatten); }
.einsatz:hover { border-color: var(--orange); }
.einsatz-zeit { flex: 0 0 62px; text-align: center; }
.einsatz-zeit b { display: block; font-size: 19px; }
.einsatz-zeit small { color: var(--leise); font-size: 12px; }
.einsatz-text { flex: 1; min-width: 0; }
.einsatz-text b { display: block; margin-top: 4px; font-size: 16px; }
.einsatz-text small { display: block; color: var(--leise); }
.notiz-intern { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff8ec; border: 1px solid #f6d9b0; font-size: 14px; }
#detail > .karte, #dTermine > .karte { margin-top: 16px; }
@media (max-width: 520px) { .einsatz { flex-wrap: wrap; } .einsatz .status { margin-left: 76px; } }

/* ---------- 3D-Fassung (21.11.2026) ---------- */
.held-3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.held-3d .gl-flaeche { width: 100%; height: 100%; display: block; }
.held::after { z-index: 0; }
.haus-bild { position: relative; }
.haus-bild.mit-3d { padding: 0; aspect-ratio: 4 / 3.4; cursor: grab; touch-action: pan-y; background: #e9eff5; }
.haus-bild.mit-3d:active { cursor: grabbing; }
.haus-bild.mit-3d svg { display: none; }
.haus-bild .gl-flaeche { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: inherit; }
.dreh-hinweis { display: none; position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 12px; font-weight: 700; color: var(--navy-2); background: rgba(255,255,255,.85); padding: 5px 10px; border-radius: 99px; }
.haus-bild.mit-3d .dreh-hinweis { display: block; }
.zeitleiste li { cursor: pointer; border-radius: 14px; padding: 10px 10px 26px; margin: 0 -10px; transition: background .25s ease; outline-offset: 2px; }
.zeitleiste li:not(:last-child)::before { left: 31px; top: 56px; }
.zeitleiste li.aktiv { background: #fff; box-shadow: var(--schatten); }
.zeitleiste li.aktiv .punkt { background: var(--orange); color: var(--navy); }
@media (min-width: 821px) { .ablauf { align-items: start; } .haus-bild.mit-3d { position: sticky; top: 92px; } }
@media (max-width: 820px) {
  .haus-bild.mit-3d { position: sticky; top: 68px; z-index: 3; aspect-ratio: auto; height: 42vh; min-height: 240px; box-shadow: 0 10px 24px rgba(14,34,54,.18); }
  .ablauf { gap: 20px; }
}

.zeichen-bild { width: 40px; height: 40px; border-radius: 10px; display: block; flex: 0 0 40px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }

