/* ARC-Stil: Linien und Akzente blau, Rot nur für echte Fehler */
:root {
  --marine: #001f47; --blau: #002856; --akzent: #2f5c8f; --text: #1d1d1b;
  --grau: #4a5568; --linie: #d3dae4; --flaeche: #f2f5f9; --kopfhoehe: 64px; --leiste: 272px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--flaeche); color: var(--text);
  font: 15px/1.55 "Segoe UI", system-ui, -apple-system, Arial, Helvetica, sans-serif; }
a { color: var(--akzent); }
h1 { margin: 0; font-size: 24px; line-height: 1.25; color: var(--marine); letter-spacing: -.01em; }
.start h2 { margin: 32px 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.dachzeile { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--akzent); font-weight: 600; }

/* Kopf über die ganze Breite, darunter Seitenleiste und Inhalt */
.kopf { position: sticky; top: 0; z-index: 40; height: var(--kopfhoehe); display: flex; align-items: center; gap: 18px;
  padding: 0 20px; background: #fff; border-top: 4px solid var(--akzent); border-bottom: 1px solid var(--linie); }
.marke img { display: block; }
.kopf__app { padding-left: 18px; border-left: 1px solid var(--linie); color: var(--marine); font-weight: 600; font-size: 16px; }

.rahmen { display: grid; grid-template-columns: var(--leiste) minmax(0, 1fr); min-height: calc(100vh - var(--kopfhoehe)); }
.leiste { min-width: 0; position: sticky; top: var(--kopfhoehe); align-self: start; height: calc(100vh - var(--kopfhoehe));
  overflow-y: auto; background: #fff; border-right: 1px solid var(--linie); padding: 16px 12px 20px;
  display: flex; flex-direction: column; }
.leiste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.leiste a { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 6px;
  color: var(--text); text-decoration: none; border-left: 3px solid transparent; }
.leiste a:hover { background: var(--flaeche); }
.leiste a.ist-aktiv { background: #e8eef6; border-left-color: var(--akzent); }
.leiste a.ist-aktiv b { color: var(--marine); }
.leiste svg { width: 17px; height: 17px; flex: none; margin-top: 2px; fill: none; stroke: var(--akzent);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.leiste b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.leiste small { display: block; color: var(--grau); font-size: 12px; }
.leiste__start { font-weight: 600; font-size: 14.5px; align-items: center !important; }
.leiste__gruppe { margin: 18px 12px 6px; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  color: #6b7686; font-weight: 600; }
.leiste__fuss { margin: auto 12px 0; padding-top: 24px; font-size: 12.5px; color: var(--grau); }
.leiste__fuss a { display: inline; padding: 0; border: 0; color: var(--akzent); }

.inhalt { min-width: 0; padding: 24px 28px 28px; display: flex; flex-direction: column; }

/* Übersicht */
.start { max-width: 980px; }
.start h1 { font-size: 28px; }
.start__lead { margin: 10px 0 0; color: var(--grau); max-width: 62ch; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.kachel { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--linie);
  border-left: 4px solid var(--akzent); border-radius: 6px; padding: 16px 18px; text-decoration: none; color: var(--text);
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.kachel:hover { border-color: var(--akzent); box-shadow: 0 6px 18px rgba(0, 31, 71, .08); transform: translateY(-1px); }
.kachel small { color: var(--akzent); font-size: 12px; font-weight: 600; }
.kachel b { color: var(--marine); font-size: 16.5px; }
.kachel span { color: var(--grau); font-size: 14px; }

/* Formularansicht: Kopf mit Knöpfen, darunter das Blatt im Rahmen */
.formkopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-bottom: 16px; }
.formkopf__knoepfe { display: flex; gap: 10px; }
.knopf { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 6px;
  border: 1px solid var(--marine); background: var(--marine); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; }
.knopf:hover { background: var(--akzent); border-color: var(--akzent); }
.knopf svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.knopf--hell { background: #fff; color: var(--marine); border-color: var(--linie); }
.knopf--hell:hover { background: var(--flaeche); color: var(--marine); border-color: var(--akzent); }
.knopf:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.blatt { flex: 1; width: 100%; min-height: 70vh; border: 1px solid var(--linie); border-radius: 8px; background: #e9edf2; }

@media (max-width: 900px) {
  .kopf { padding: 0 14px; gap: 12px; }
  .kopf .marke img { width: 140px; height: auto; }
  .kopf__app { padding-left: 12px; font-size: 14px; }
  .rahmen { grid-template-columns: 1fr; }
  .leiste { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--linie); padding: 8px 12px;
    flex-direction: row; overflow-x: auto; gap: 4px; align-items: center; }
  .leiste ul { display: flex; gap: 4px; }
  .leiste__gruppe, .leiste__fuss, .leiste small, .leiste svg { display: none; }
  .leiste a { white-space: nowrap; padding: 7px 12px; border-left: 0; border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; }
  .leiste a.ist-aktiv { border-bottom-color: var(--akzent); }
  .inhalt { padding: 16px; }
  .blatt { min-height: 75vh; }
}
/* Anmeldung: links Bühne mit Formularmotiv, rechts Anmeldefeld (Vorbild concepts.nuarc.cloud) */
.anmeldeseite { background: #152a47; }
.anmeldung { max-width: none; margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); }
.anmeldung__buehne { position: relative; overflow: hidden; min-width: 0; display: flex; padding: 48px 56px; color: #fff;
  background: radial-gradient(120% 90% at 85% 100%, #1d3a5f 0%, #152a47 55%, #0d1c31 100%); }
.anmeldung__buehne::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,28,49,.97) 0%, rgba(13,28,49,.93) 38%, rgba(13,28,49,.55) 66%, rgba(13,28,49,.2) 100%); }
.anmeldung__text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px; max-width: 560px; min-width: 0; }
.anmeldung__marke { display: block; height: 30px; width: auto; align-self: flex-start; }
.anmeldung__dach { margin: 0 0 14px; font: 500 11px/1.4 Consolas, "SF Mono", Menlo, monospace; letter-spacing: .14em;
  text-transform: uppercase; color: #9ccdea; }
.anmeldung__text h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.025em;
  max-width: 15ch; text-wrap: balance; }
.anmeldung__lead { margin: 20px 0 0; color: #dbe5f0; font-size: 18px; max-width: min(44ch, 100%); }
.anmeldung__punkte { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; border-top: 1px solid #2c4666; }
.anmeldung__punkte b { display: block; font-size: 14px; color: #fff; }
.anmeldung__punkte span { font-size: 13px; color: #b9c9dd; line-height: 1.45; }
.anmeldung__seite { background: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px 0; }
.anmeldung__karte { margin: auto 0; max-width: 380px; display: grid; gap: 16px; justify-items: start; }
.anmeldung__karte h2 { margin: 0; font-size: 30px; letter-spacing: -.02em; color: #152a47; }
.anmeldung__karte p { margin: 0; color: #55637a; font-size: 15.5px; }
.anmeldung__karte .klein { font-size: 13px; color: #8b97a8; }
.anmeldung__karte a { color: #1d3a5f; }
.anmeldung__signet { display: block; width: 44px; height: 44px; }
/* Microsoft-Knopf nach Microsofts Gestaltungsvorgaben: weiß, graue Kante, Logo links */
.ms-knopf { display: inline-flex; align-items: center; gap: 12px; height: 44px; margin-top: 6px; padding: 0 18px 0 14px;
  background: #fff; border: 1px solid #8c8c8c; border-radius: 4px; color: #5e5e5e !important; text-decoration: none;
  font: 600 15px/1 "Segoe UI", system-ui, Arial, sans-serif; transition: background .15s, border-color .15s; }
.ms-knopf:hover { background: #f3f3f3; border-color: #5e5e5e; }
.ms-knopf:focus-visible { outline: 2px solid #2e9fd6; outline-offset: 2px; }
.ms-logo { display: block; flex: none; }
.rechtlich { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap;
  margin: 32px -48px 0; padding: 16px 48px 20px; border-top: 1px solid #dde3ea; font-size: 12.5px; color: #55637a; }
.rechtlich nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.rechtlich a { color: #55637a; text-decoration: none; }
.rechtlich a:hover { color: #152a47; text-decoration: underline; }



/* Formularmotiv: Blätter treiben langsam, Haken setzen sich nacheinander, unten entsteht die Unterschrift */
.motiv { position: absolute; inset: 0; width: 100%; height: 100%; }
.fm-punkt { fill: #2a4670; }
.fm-raster { opacity: .55; }
.fm-drift { animation: fm-drift 60s ease-in-out infinite alternate; transform-origin: 60% 50%; }
.fm-blatt { fill: #1a3150; stroke: #4a6c94; stroke-width: 1.2; }
.fm-hinten { opacity: .65; } .fm-hinten2 { opacity: .4; }
.fm-kopf { fill: #2f5c8f; }
.fm-titel { fill: #4a6c94; }
.fm-feld { fill: #233d61; }
.fm-box { fill: none; stroke: #6f8fb4; stroke-width: 1.6; }
.fm-linie { stroke: #4a6c94; stroke-width: 1.2; stroke-dasharray: 3 5; }
.fm-haken { fill: none; stroke: #37b6c4; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 30; stroke-dashoffset: 30; animation: fm-haken 14s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(55, 182, 196, .7)); }
.fm-h1 { animation-delay: .9s; } .fm-h2 { animation-delay: 1.8s; } .fm-h3 { animation-delay: 2.7s; }
.fm-h4 { animation-delay: 3.6s; } .fm-h5 { animation-delay: 4.5s; } .fm-h6 { animation-delay: 5.4s; }
.fm-schrift { fill: none; stroke: #9ccdea; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 400; stroke-dashoffset: 400; animation: fm-schrift 14s ease-in-out infinite; animation-delay: 6.4s; }
@keyframes fm-haken { 0% { stroke-dashoffset: 30; } 4%, 80% { stroke-dashoffset: 0; } 90%, 100% { stroke-dashoffset: 30; } }
@keyframes fm-schrift { 0% { stroke-dashoffset: 400; } 14%, 40% { stroke-dashoffset: 0; } 50%, 100% { stroke-dashoffset: 400; } }
@keyframes fm-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-22px, -12px) scale(1.03); } }

@media (prefers-reduced-motion: reduce) {
  .fm-drift, .fm-haken, .fm-schrift { animation: none; }
  .fm-haken, .fm-schrift { stroke-dashoffset: 0; }
}
@media (max-width: 900px) {
  .anmeldeseite { background: #fff; }
  .anmeldung { grid-template-columns: 1fr; }
  .anmeldung__buehne { min-height: 0; padding: 28px 20px 26px; }
  .anmeldung__buehne::after { background: linear-gradient(180deg, rgba(13,28,49,.62) 0%, rgba(13,28,49,.42) 55%, rgba(13,28,49,.78) 100%); }
  .anmeldung__text { gap: 28px; }
  .anmeldung__text h1 { font-size: 30px; }
  .anmeldung__lead { font-size: 16px; margin-top: 14px; }
  .anmeldung__punkte { grid-template-columns: 1fr; gap: 8px; }
  .anmeldung__punkte span { display: inline; }
  .anmeldung__punkte b { display: inline; margin-right: 6px; }
  .anmeldung__seite { padding: 32px 20px 0; min-width: 0; }
  .anmeldung__text, .anmeldung__lead, .anmeldung__punkte { max-width: 100%; }
  .anmeldung__karte { margin: 0 0 8px; }
  .rechtlich { margin: 32px -20px 0; padding: 16px 20px 20px; }
}


/* Konto im Kopf: Avatar mit Klappmenü statt Mailadresse und Abmelden als Text.
   details/summary, damit es ohne JavaScript funktioniert. */
.konto { margin-left: auto; position: relative; }
.konto > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 3px; }
.konto > summary::-webkit-details-marker { display: none; }
.konto > summary:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.konto__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--marine); color: #fff;
  display: grid; place-items: center; font: 600 13px/1 "Segoe UI", system-ui, Arial, sans-serif;
  letter-spacing: .02em; flex: none; border: 1px solid #0b2143; }
.konto__pfeil { width: 10px; height: 10px; flex: none; color: var(--grau); transition: transform .15s; }
.konto[open] .konto__pfeil { transform: rotate(180deg); }
.konto__klapp { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 244px;
  background: #fff; border: 1px solid var(--linie); border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 31, 71, .14); padding: 6px; }
.konto__kopf { padding: 10px 12px 12px; border-bottom: 1px solid var(--linie); margin-bottom: 6px; }
.konto__kopf b { display: block; color: var(--marine); font-size: 14px; }
.konto__kopf span { display: block; color: var(--grau); font-size: 12.5px; word-break: break-all; }
.konto__klapp a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 4px;
  color: var(--text); text-decoration: none; font-size: 14px; }
.konto__klapp a:hover { background: var(--flaeche); color: var(--marine); }
.konto__klapp a svg { width: 15px; height: 15px; flex: none; color: var(--grau); }
.konto__klapp hr { border: 0; border-top: 1px solid var(--linie); margin: 6px 0; }
.konto__ab { color: #8a3a2a !important; }
.konto__ab:hover { background: #fbf1ee !important; color: #7a3024 !important; }
/* Flaeche, die das Menue beim Klick daneben schliesst, ohne JavaScript */
.konto[open] > summary::before { content: ""; position: fixed; inset: 0; z-index: 20; }

/* Demogeräte-Planung: Zeitleiste, links die Geräte, oben Monate und Tage, Balken je Buchung */
.dp-leiste { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 10px; }
.dp-nav { display: flex; align-items: center; gap: 6px; }
.dp-nav b { margin-left: 10px; color: var(--marine); font-size: 15px; }
.dp-pfeil { width: 38px; height: 38px; border: 1px solid var(--linie); border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.dp-pfeil:hover { border-color: var(--akzent); background: var(--flaeche); }
.dp-pfeil svg, .dp-suche svg { width: 16px; height: 16px; fill: none; stroke: var(--marine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dp-heute { height: 38px; }
.dp-suche { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: #fff;
  border: 1px solid var(--linie); border-radius: 6px; min-width: 240px; }
.dp-suche:focus-within { border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(47, 92, 143, .15); }
.dp-suche input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; min-width: 0; background: transparent; }
.dp-zoom { display: flex; border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; background: #fff; }
.dp-zoom button { border: 0; background: none; padding: 0 12px; height: 36px; font: inherit; font-size: 13.5px; color: var(--grau); cursor: pointer; }
.dp-zoom button + button { border-left: 1px solid var(--linie); }
.dp-zoom button[aria-pressed="true"] { background: var(--marine); color: #fff; font-weight: 600; }
.dp-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; font-size: 12.5px; color: var(--grau); }
.dp-art { display: inline-flex; align-items: center; gap: 6px; }
.dp-art i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.dp-aus { margin-left: auto; cursor: pointer; }

.dp-plan { position: relative; overflow: auto; max-height: calc(100vh - 290px); min-height: 320px; background: #fff;
  border: 1px solid var(--linie); border-radius: 8px; overscroll-behavior: contain; }
.dp-laden { padding: 24px; color: var(--grau); margin: 0; }
.dp-raster { --name: 230px; --we: #f3f5f8; width: max-content; min-width: 100%; }
.dp-kopf, .dp-zeile { display: grid; grid-template-columns: var(--name) calc(var(--dw) * var(--tage)); }
.dp-kopf { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--linie); }
.dp-ecke { position: sticky; left: 0; z-index: 2; background: #fff; border-right: 1px solid var(--linie); display: flex; align-items: flex-end;
  padding: 0 14px 7px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.dp-monate, .dp-tage { display: flex; }
.dp-monate span { flex: none; padding: 7px 8px 3px; font-weight: 600; font-size: 13px; color: var(--marine); border-left: 1px solid var(--linie);
  white-space: nowrap; overflow: hidden; }
.dp-tage span { flex: none; width: var(--dw); text-align: center; font-size: 11.5px; color: var(--grau); padding: 3px 0 6px; line-height: 1.15;
  font-variant-numeric: tabular-nums; }
.dp-tage span small { display: block; font-size: 10px; color: #8b97a8; }
.dp-tage span.we { background: var(--we); color: #8b97a8; }
.dp-tage span.kw { overflow: visible; white-space: nowrap; text-align: left; padding-left: 3px; border-left: 1px solid var(--linie); }
.dp-tage span.heute { background: var(--marine); color: #fff; border-radius: 4px 4px 0 0; font-weight: 700; }
.dp-tage span.heute small { color: #cdd9e8; }
.dp-gruppe { position: sticky; left: 0; display: flex; align-items: baseline; gap: 8px; width: var(--name); padding: 12px 14px 4px;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--akzent); font-weight: 700; }
.dp-gruppe small { letter-spacing: 0; text-transform: none; font-weight: 400; color: #8b97a8; }
.dp-zeile { border-bottom: 1px solid #edf0f4; }
.dp-zeile:hover .dp-name, .dp-zeile:hover .dp-spur { background-color: #f8fafc; }
.dp-zeile.ist-aus { opacity: .55; }
.dp-name { position: sticky; left: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; text-align: left;
  min-height: 44px; padding: 5px 14px; border: 0; border-right: 1px solid var(--linie); background: #fff; font: inherit; cursor: pointer; }
.dp-name b { color: var(--marine); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-name small { color: var(--grau); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-name:hover b { text-decoration: underline; }
.dp-name:focus-visible, .dp-balken:focus-visible { outline: 2px solid var(--akzent); outline-offset: -2px; }
.dp-spur { position: relative; cursor: crosshair; touch-action: pan-x pan-y;
  background: linear-gradient(90deg, transparent calc(var(--dw) * 5), var(--we) calc(var(--dw) * 5)) 0 0 / calc(var(--dw) * 7) 100%; }
.mit-tagen .dp-spur { background-image: linear-gradient(90deg, transparent calc(var(--dw) * 5), var(--we) calc(var(--dw) * 5)),
  repeating-linear-gradient(90deg, transparent 0 calc(var(--dw) - 1px), #eef1f5 calc(var(--dw) - 1px) var(--dw));
  background-size: calc(var(--dw) * 7) 100%, auto; }
.dp-jetzt { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--marine); opacity: .35; pointer-events: none; }

.dp-balken { --farbe: var(--akzent); position: absolute; top: 7px; bottom: 7px; display: flex; align-items: center; padding: 0 8px;
  border: 0; border-radius: 5px; background: var(--farbe); color: #fff; font: 600 12px/1.2 inherit; font-family: inherit; text-align: left;
  overflow: hidden; cursor: grab; touch-action: none; box-shadow: 0 1px 2px rgba(0, 31, 71, .18); transition: box-shadow .12s, filter .12s; }
.dp-balken span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.dp-balken:hover { filter: brightness(1.08); box-shadow: 0 3px 10px rgba(0, 31, 71, .25); }
.dp-balken.ab-links { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.dp-balken.ab-rechts { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.dp-balken.wird-gezogen { z-index: 4; cursor: grabbing; box-shadow: 0 8px 22px rgba(0, 31, 71, .32); }
.dp-balken.gedimmt { opacity: .25; }
.vorlaeufig { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px) !important;
  outline: 1.5px dashed rgba(0, 31, 71, .45); outline-offset: -1.5px; }
.art-demo { --farbe: #2f5c8f; background-color: #2f5c8f; }
.art-messe { --farbe: #6b4c9a; background-color: #6b4c9a; }
.art-schulung { --farbe: #b7791f; background-color: #b7791f; }
.art-service { --farbe: #5b6b7f; background-color: #5b6b7f; }
.art-verkauft { --farbe: #2f7d5b; background-color: #2f7d5b; }
.art-sonstiges { --farbe: #8b97a8; background-color: #8b97a8; }
.dp-geist { position: absolute; top: 7px; bottom: 7px; border-radius: 5px; background: rgba(47, 92, 143, .14); border: 1.5px dashed var(--akzent);
  color: var(--marine); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.dp-tipp { margin: 10px 0 0; font-size: 12.5px; color: #8b97a8; }

.dp-modal { width: min(560px, calc(100vw - 32px)) !important; overflow: visible; }
.dp-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 14px; }
.dp-felder label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--grau); }
.dp-felder .dp-voll { grid-column: 1 / -1; }
.dp-felder input:not([type=checkbox]), .dp-felder select, .dp-felder textarea { font: inherit; font-size: 14px; font-weight: 400; color: var(--text);
  padding: 8px 10px; border: 1px solid #c3ccd8; border-radius: 6px; background: #fff; width: 100%; }
.dp-felder input:focus, .dp-felder select:focus, .dp-felder textarea:focus { outline: 0; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(47, 92, 143, .15); }
.dp-felder .dp-haken { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; color: var(--text); font-size: 14px; }
.dp-felder textarea { resize: vertical; }
.dp-fehler { margin: 12px 0 0; padding: 9px 12px; border-radius: 6px; background: #fbf1ee; color: #7a3024; font-size: 13.5px; }
.dp-stand { margin: 10px 0 0; font-size: 12px; color: #8b97a8; }
.dp-stand:empty { display: none; }
.arc-modal .dp-loeschen { margin-right: auto; color: #8a3a2a !important; }
.arc-modal .dp-loeschen:hover { background: #fbf1ee !important; border-color: #d9a99c !important; }
.dp-meldung { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; padding: 11px 18px; border-radius: 8px;
  background: var(--marine); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 31, 71, .3); max-width: calc(100vw - 32px); }
.dp-meldung.ist-fehler { background: #7a3024; }
@media (max-width: 900px) {
  .dp-suche { margin-left: 0; min-width: 0; flex: 1; }
  .dp-raster { --name: 150px; }
  .dp-plan { max-height: none; }
  .dp-felder { grid-template-columns: 1fr; }
}

/* Buchungsseite demo.arclaser.cloud: Ablauf wie bei Terminbuchungen, Gerät statt Person */
.bk-gesamt { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--marine); text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; }
.bk-gesamt:hover { background: var(--flaeche); }
.bk-gesamt svg { width: 16px; height: 16px; fill: none; stroke: var(--akzent); stroke-width: 1.6; stroke-linecap: round; }
.bk-gesamt + .konto { margin-left: 4px; }
.bk { max-width: 1120px; margin: 0 auto; padding: 36px 28px 64px; }
.bk-held h1 { font-size: 30px; max-width: 26ch; }
.bk-held > p:last-child { margin: 10px 0 0; color: var(--grau); font-size: 16px; max-width: 60ch; }
.bk-schritte { list-style: none; display: flex; gap: 8px 28px; flex-wrap: wrap; margin: 28px 0 18px; padding: 0; font-size: 14px; color: #8b97a8; }
.bk-schritte li { display: flex; align-items: center; gap: 8px; }
.bk-schritte span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #c3ccd8;
  font-size: 12px; font-weight: 700; }
.bk-schritte .ist-aktiv { color: var(--marine); font-weight: 600; }
.bk-schritte .ist-aktiv span { background: var(--marine); border-color: var(--marine); color: #fff; }
.bk-schritte .ist-fertig { color: var(--akzent); }
.bk-schritte .ist-fertig span { border-color: var(--akzent); color: var(--akzent); }
.bk-leer { color: var(--grau); margin: 0; }

.bk-typen { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.bk-typ { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 18px 18px 16px; text-align: left;
  background: #fff; border: 1px solid var(--linie); border-radius: 10px; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.bk-typ:hover { border-color: var(--akzent); box-shadow: 0 8px 22px rgba(0, 31, 71, .09); transform: translateY(-1px); }
.bk-typ:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.bk-typ b { font-size: 19px; color: var(--marine); }
.bk-typ small { color: var(--grau); font-size: 13px; }
.bk-status { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.bk-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.bk-status.frei { color: #2f7d5b; } .bk-status.frei::before { background: #2f7d5b; }
.bk-status.belegt { color: #9a6a12; } .bk-status.belegt::before { background: #c48a12; }

.bk-karte { background: #fff; border: 1px solid var(--linie); border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 31, 71, .04); }
.bk-buehne { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; scroll-margin-top: 80px; }
.bk-kalender { padding: 18px 22px 16px; }
.bk-kal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-kal-kopf b { color: var(--marine); font-size: 16px; }
.dp-pfeil:disabled { opacity: .35; cursor: default; }
.bk-monate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 10px; }
.bk-monat h3 { margin: 6px 0 10px; font-size: 14px; color: var(--marine); text-align: center; }
.bk-gitter { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.bk-wt { text-align: center; font-size: 11.5px; color: #8b97a8; padding-bottom: 4px; }
.bk-tag { aspect-ratio: 1 / .92; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border: 0; border-radius: 8px; background: #eef4fb; color: var(--marine); font: inherit; cursor: pointer; transition: background .1s; }
.bk-tag b { font-size: 14.5px; font-weight: 600; }
.bk-tag small { font-size: 10px; color: #2f7d5b; font-weight: 600; white-space: nowrap; overflow: hidden; max-width: 100%; }
.bk-tag:hover { background: #d9e6f4; }
.bk-tag.we { background: #f4f7fa; }
.bk-tag.heute b { text-decoration: underline; text-underline-offset: 3px; }
.bk-tag.voll { background: #fff; color: #a7b1be; }
.bk-tag.voll b { text-decoration: line-through; font-weight: 400; }
.bk-tag.vorbei { background: none; color: #c6cdd6; cursor: default; }
.bk-tag.im-bereich { background: #c9daee; border-radius: 0; }
.bk-tag.im-bereich-falsch { background: #f6e3dd; border-radius: 0; }
.bk-tag.anfang { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.bk-tag.ende { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.bk-tag.im-bereich.anfang, .bk-tag.im-bereich.ende { background: var(--marine); color: #fff; }
.bk-tag.im-bereich.anfang small, .bk-tag.im-bereich.ende small { color: #cfe3d8; }
.bk-tag:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
.bk-hinweis { margin: 14px 0 0; font-size: 13px; color: var(--grau); }
.bk-hinweis.ist-warnung { color: #7a3024; }

.bk-seite { position: sticky; top: 84px; padding: 20px 22px 22px; }
.bk-seite h2 { margin: 0; font-size: 24px; color: var(--marine); }
.bk-wechsel { float: right; border: 0; background: none; color: var(--akzent); font: inherit; font-size: 13px; cursor: pointer; padding: 2px 0; }
.bk-wechsel:hover { text-decoration: underline; }
.bk-fakten { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 4px; font-size: 14px; }
.bk-fakten dt { color: var(--grau); }
.bk-fakten dd { margin: 0; color: var(--text); font-weight: 600; }
.bk-seite .dp-felder { grid-template-columns: 1fr; }
.bk-buchen { width: 100%; justify-content: center; height: 44px; font-size: 15px; }
.bk-buchen:disabled { background: #c3ccd8; border-color: #c3ccd8; cursor: default; }

.bk-fertig { padding: 34px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.bk-fertig h2 { margin: 12px 0 6px; color: var(--marine); font-size: 26px; }
.bk-fertig p { margin: 0; color: var(--grau); max-width: 56ch; }
.bk-haken { width: 56px; height: 56px; }
.bk-haken circle { fill: #e6f2ec; stroke: #2f7d5b; stroke-width: 2; }
.bk-haken path { fill: none; stroke: #2f7d5b; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 32; stroke-dashoffset: 32; animation: bk-haken .5s .15s ease-out forwards; }
@keyframes bk-haken { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .bk-haken path { animation: none; stroke-dashoffset: 0; } }
.bk-fertig__knoepfe { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.bk-fertig__knoepfe a { text-decoration: none; }

.bk-meine { margin-top: 40px; }
.bk-meine h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.bk-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bk-liste li { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #fff; border: 1px solid var(--linie); border-radius: 10px; }
.bk-datum { width: 48px; flex: none; text-align: center; border-right: 1px solid var(--linie); padding-right: 14px; }
.bk-datum b { display: block; font-size: 20px; color: var(--marine); line-height: 1.1; }
.bk-datum small { font-size: 12px; color: var(--grau); text-transform: uppercase; }
.bk-text { flex: 1; min-width: 0; }
.bk-text b { display: block; color: var(--marine); }
.bk-text span { color: var(--grau); font-size: 13.5px; }
.bk-storno { height: 34px; font-size: 13px; }
@media (max-width: 900px) {
  .bk { padding: 24px 16px 48px; }
  .bk-held h1 { font-size: 24px; }
  .bk-buehne, .bk-monate { grid-template-columns: 1fr; }
  .bk-seite { position: static; }
  .bk-gesamt { display: none; }
  .bk-liste li { flex-wrap: wrap; }
}
[hidden] { display: none !important; }
/* Packlisten: ein Formular, Geräte als Leiste über dem Blatt */
.geraetewahl { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 14px; }
.geraetewahl a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--linie); background: #fff; color: var(--marine);
  text-decoration: none; font-size: 14px; font-weight: 600; }
.geraetewahl a:hover { border-color: var(--akzent); background: var(--flaeche); }
.geraetewahl a.ist-aktiv { background: var(--marine); border-color: var(--marine); color: #fff; }
.geraetewahl a:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
@media (max-width: 900px) { .geraetewahl { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .geraetewahl a { white-space: nowrap; } }
