/* Schloss Terminal Empfang: Komponenten-Styles. Farben, Abstände und Radien kommen aus tokens.css, die Schriften aus fonts/fonts.css. Optik nach schloss-hohenfels.de. */

/* Bewegung und Verläufe. Die Werte stammen von den Karten und dem Popup der Website. */
:root {
  --et-dauer-tipp: 100ms;
  --et-dauer-kurz: 150ms;
  --et-dauer-farbe: 200ms;
  --et-dauer-dialog: 550ms;
  --et-dauer-schliessen: 450ms;
  --et-dauer-oeffnen: 1200ms;
  --et-kurve-feder: cubic-bezier(.2, .9, .3, 1.15);
  --et-verlauf-gelb: linear-gradient(360deg, var(--bernstein) 0%, var(--gelb) 100%);
  --et-verlauf-kopf: linear-gradient(360deg, var(--navy) 0%, var(--navy-hell) 100%);
  --et-verlauf-linie: linear-gradient(90deg, var(--bernstein) 0%, var(--gelb) 100%);
}

.et-root, .et-root * { box-sizing: border-box; }
body { background: var(--grund); color: var(--text); font-family: var(--font-text); font-size: 16px; line-height: 28px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: lining-nums; margin: 0; -webkit-font-smoothing: antialiased; }
.et-num { font-variant-numeric: lining-nums tabular-nums; }
.et-stack { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); }
.et-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-4); }
.et-navy-band { background: var(--et-verlauf-kopf); color: var(--weiss); }
.et-icon { display: inline-block; flex: none; vertical-align: middle; }
.et-leise { color: var(--text-leise); }
.et-card { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-lg); box-shadow: var(--schatten-karte); }

/* Wortmarke: das Logo der Website, daneben der Produktname in Maiandra */
.et-marke { display: inline-flex; align-items: center; gap: var(--space-4); color: var(--text); }
.et-marke-logo { display: block; height: 72px; width: auto; }
.et-marke-text { display: inline-flex; flex-direction: column; }
.et-marke-ober { font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.et-marke-name { font-family: var(--font-head); font-weight: 400; font-size: 25.6px; line-height: 34px; letter-spacing: 0; }
.et-marke-sm .et-marke-logo { height: 48px; }
.et-marke-sm .et-marke-name { font-size: 20px; line-height: 26px; }
.et-marke-lg .et-marke-logo { height: var(--logo-hoehe); }
.et-marke-lg .et-marke-name { font-size: 36px; line-height: 48px; }
.et-auf-navy .et-marke, .et-auf-navy.et-marke { color: var(--weiss); }

/* Button: Pille in Versalien wie auf der Website. Gelb ist die Hauptaktion, Navy die Nebenaktion. */
.et-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border: 1.5px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-text); font-size: 13px; line-height: 14px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; max-width: 100%; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
  transition: transform var(--et-dauer-kurz) ease, box-shadow var(--et-dauer-kurz) ease, background-color var(--et-dauer-farbe) ease, color var(--et-dauer-farbe) ease, border-color var(--et-dauer-farbe) ease, filter var(--et-dauer-farbe) ease; }
.et-btn-pult { min-height: var(--ziel-pult); padding: 0 var(--space-6); }
.et-btn-terminal { min-height: var(--ziel-terminal); padding: 0 38px; }
.et-btn:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-btn:active:not(:disabled) { transform: scale(.97); transition-duration: var(--et-dauer-tipp); }
.et-btn-primary { background: var(--et-verlauf-gelb); color: var(--auf-gelb); box-shadow: var(--schatten-karte); }
.et-btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--schatten-hover); filter: saturate(1.1) brightness(1.03); }
.et-btn-primary:active:not(:disabled) { transform: scale(.97); box-shadow: none; }
.et-btn-secondary { background: var(--aktion); color: var(--auf-aktion); }
.et-btn-secondary:hover:not(:disabled) { background: var(--aktion-hover); }
.et-btn-quiet { background: transparent; color: var(--text); }
.et-btn-quiet:hover:not(:disabled) { background: var(--flaeche-zart); }
.et-btn-danger { background: var(--flaeche); color: var(--fehler); border-color: var(--fehler); }
.et-btn-danger:hover:not(:disabled) { background: var(--fehler-zart); }
.et-btn:disabled { background: var(--flaeche-leise); color: var(--text-leise); border-color: var(--linie); cursor: not-allowed; box-shadow: none; filter: none; }
.et-btn-block { min-height: 56px; padding: 0 var(--space-5); border-radius: var(--radius-sm); font-size: 16px; line-height: 16px; font-weight: 900; letter-spacing: .1875em; }
.et-auf-navy .et-btn-quiet { color: var(--weiss); }
.et-auf-navy .et-btn-quiet:hover:not(:disabled) { background: var(--navy-tief); }
.et-auf-navy :focus-visible { outline-color: var(--gelb); }

/* IconButton: runder Knopf, Hover in Gelb wie der Schließen-Knopf im Popup der Website */
.et-ibtn { display: inline-grid; place-items: center; flex: none; width: var(--ziel-pult); height: var(--ziel-pult); padding: 0; border-radius: 50%; border: 1.5px solid var(--linie); background: var(--flaeche); color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color var(--et-dauer-farbe) ease, color var(--et-dauer-farbe) ease, border-color var(--et-dauer-farbe) ease, transform var(--et-dauer-kurz) ease; }
.et-ibtn .et-icon { transition: transform 300ms ease; }
.et-ibtn-terminal { width: var(--ziel-terminal); height: var(--ziel-terminal); }
.et-ibtn-klein { width: 32px; height: 32px; }
.et-ibtn-leise { border-color: transparent; background: transparent; }
.et-ibtn:hover:not(:disabled) { background: var(--gelb); border-color: var(--gelb); color: var(--navy); }
.et-ibtn.is-dreh:hover:not(:disabled) .et-icon { transform: rotate(90deg); }
.et-ibtn-danger:hover:not(:disabled) { background: var(--fehler-zart); border-color: var(--fehler); color: var(--fehler); }
.et-ibtn:active:not(:disabled) { transform: scale(.94); transition-duration: var(--et-dauer-tipp); }
.et-ibtn:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-ibtn:disabled { color: var(--text-leise); background: transparent; border-color: transparent; cursor: not-allowed; }
.et-ibtn-leise:disabled { opacity: .45; }
.et-auf-navy .et-ibtn { background: var(--navy-tief); border-color: transparent; color: var(--weiss); }

/* StatusBadge: kleine Marke in Versalien, immer Icon und Wort */
.et-badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: 4px 10px 4px 8px; border-radius: var(--radius-pill); font-size: 11px; line-height: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.et-badge-sichtbar { background: var(--erfolg-zart); color: var(--erfolg); }
.et-badge-ausgeblendet { background: var(--flaeche-zart); color: var(--text-leise); }
.et-badge-neu { background: var(--gelb); color: var(--auf-gelb); padding: 4px 10px; }
.et-badge-fehler { background: var(--fehler-zart); color: var(--fehler); }

/* Symbolfeld: Icon, eigenes Bild oder Anfangsbuchstabe */
.et-symbol { display: grid; place-items: center; flex: none; width: var(--kachel-symbol); height: var(--kachel-symbol); border-radius: var(--radius-md); background: var(--symbol); color: var(--weiss); overflow: hidden; }
.et-symbol img { display: block; width: 100%; height: 100%; object-fit: contain; }
.et-symbol.is-bild { background: transparent; border-radius: 0; }
.et-symbol-mono { font-family: var(--font-head); font-size: 28px; line-height: 1; letter-spacing: 0; }
.et-symbol.is-ton-gelb { background: var(--et-verlauf-gelb); color: var(--auf-gelb); }
.et-symbol.is-ton-seegruen { background: var(--seegruen); color: var(--weiss); }
.et-symbol.is-ton-creme { background: var(--creme); color: var(--navy); }
.et-symbol-klein { width: 40px; height: 40px; }
.et-symbol-klein .et-symbol-mono { font-size: 20px; }

/* AppTile: weiße Karte wie die Zimmerkarten der Website, hebt sich beim Überfahren um 3px */
.et-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); min-height: var(--kachel-hoehe); padding: var(--space-4); background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); border-radius: var(--radius-lg); box-shadow: var(--schatten-karte); font: inherit; letter-spacing: inherit; text-align: left; text-decoration: none; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
  transition: transform var(--et-dauer-kurz) ease, box-shadow var(--et-dauer-kurz) ease, border-color var(--et-dauer-farbe) ease, background-color var(--et-dauer-farbe) ease;
  animation: et-auf 400ms ease both; animation-delay: calc(var(--i, 0) * 30ms); }
@media (hover: hover) {
  .et-tile:hover:not(.is-offline) { transform: translateY(-3px); box-shadow: var(--schatten-hover); }
  .et-tile:hover .et-tile-pfeil { opacity: 1; transform: none; }
}
.et-tile:active:not(.is-offline) { transform: scale(.97); box-shadow: var(--schatten-karte); transition-duration: var(--et-dauer-tipp); }
.et-tile:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2); }
.et-tile-ecke { display: flex; align-items: center; gap: var(--space-1); flex: none; color: var(--text-leise); }
.et-tile-pfeil { opacity: 0; transform: translate(-4px, 4px); transition: opacity var(--et-dauer-kurz) ease, transform var(--et-dauer-kurz) ease; }
.et-tile-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.et-tile-name { font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.et-tile-hint { display: flex; align-items: center; gap: var(--space-1); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et-tile-lauf { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--fokus); transform: scaleX(0); transform-origin: left; }
.et-tile.is-oeffnet { border-color: var(--fokus); box-shadow: 0 0 0 1px var(--fokus), 0 0 0 6px var(--leuchten); }
.et-tile.is-oeffnet .et-tile-lauf { animation: et-lauf var(--et-dauer-oeffnen) ease-out forwards; }
.et-tile.is-offline { background: var(--flaeche-leise); box-shadow: none; cursor: not-allowed; }
.et-tile.is-offline .et-symbol { background: var(--flaeche-zart); color: var(--text-leise); }
.et-tile.is-offline .et-symbol img { opacity: .45; }
.et-tile.is-offline .et-tile-name { color: var(--text-leise); }
.et-tile-kompakt { flex-direction: row; align-items: center; justify-content: flex-start; gap: var(--space-3); min-height: 72px; padding: var(--space-3) var(--space-4); }
.et-tile-kompakt .et-tile-top { display: contents; }
.et-tile-kompakt .et-symbol { width: 44px; height: 44px; }
.et-tile-kompakt .et-symbol-mono { font-size: 22px; }
.et-tile-kompakt .et-tile-text { order: 1; flex: 1; }
.et-tile-kompakt .et-tile-ecke { order: 2; }
.et-tile-kompakt .et-tile-name { font-size: 16px; line-height: 22px; -webkit-line-clamp: 1; }
.et-tile-kompakt .et-tile-hint { font-size: 13px; line-height: 18px; }

/* TileGrid und Kategorie */
.et-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--kachel-min), 1fr)); gap: var(--space-5); }
.et-grid-kompakt { grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: var(--space-3); }
.et-rubrik { display: flex; flex-direction: column; gap: var(--space-4); }
.et-rubrik + .et-rubrik { margin-top: var(--space-8); }
.et-rubrik-kopf { display: flex; align-items: center; gap: var(--space-3); }
.et-rubrik-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.et-rubrik-name { margin: 0; font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.et-rubrik-zahl { font-size: 14px; line-height: 16px; font-weight: 500; color: var(--text-leise); }
.et-rubrik-linie { flex: 1; height: 1px; background: var(--linie); }

/* SearchField: Pille wie die Buttons */
.et-suche { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: 0 var(--space-2) 0 var(--space-5); background: var(--flaeche); border: 1.5px solid var(--rand-feld); border-radius: var(--radius-pill); color: var(--text-leise); transition: border-color var(--et-dauer-farbe) ease, box-shadow var(--et-dauer-farbe) ease; }
.et-suche-terminal { height: var(--ziel-terminal); }
.et-suche-pult { height: var(--ziel-pult); padding-left: var(--space-4); }
.et-suche:focus-within { border-color: var(--fokus); box-shadow: 0 0 0 3px var(--leuchten); }
.et-suche input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-family: var(--font-text); font-size: 20px; line-height: 30px; font-weight: 500; letter-spacing: .02em; }
.et-suche-pult input { font-size: 16px; line-height: 28px; }
.et-suche input::placeholder { color: var(--text-leise); opacity: 1; }
.et-suche input::-webkit-search-cancel-button { display: none; }
.et-suche-leeren { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color var(--et-dauer-farbe) ease, color var(--et-dauer-farbe) ease; }
.et-suche-pult .et-suche-leeren { width: 32px; height: 32px; }
.et-suche-leeren:hover { background: var(--gelb); color: var(--navy); }
.et-suche-leeren:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-auf-navy .et-suche { background: var(--weiss); border-color: var(--weiss); color: var(--navy); }
.et-auf-navy .et-suche input { color: var(--navy); }
.et-auf-navy .et-suche input::placeholder { color: var(--navy); opacity: .8; }
.et-auf-navy .et-suche:focus-within { border-color: var(--gelb); box-shadow: 0 0 0 3px var(--gelb); }
.et-auf-navy .et-suche-leeren:focus-visible { outline-color: var(--petrol); }

/* FilterChips: Pillen in Versalien, aktiv gefüllt wie die Auswahl auf der Website */
.et-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.et-chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--ziel-pult); padding: 0 var(--space-5); border: 1.5px solid var(--linie); border-radius: var(--radius-pill); background: var(--flaeche); color: var(--text); font-family: var(--font-text); font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color var(--et-dauer-farbe) ease, color var(--et-dauer-farbe) ease, border-color var(--et-dauer-farbe) ease, transform var(--et-dauer-kurz) ease; }
.et-chips-terminal .et-chip { min-height: 48px; }
.et-chip:hover { background: var(--flaeche-zart); }
.et-chip:active { transform: scale(.97); transition-duration: var(--et-dauer-tipp); }
.et-chip:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-chip.is-aktiv { background: var(--aktion); border-color: var(--aktion); color: var(--auf-aktion); }
.et-chip-zahl { font-weight: 500; letter-spacing: .02em; }

/* Tabs: Navigation in Versalien wie im Header der Website */
.et-tabs { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.et-tab { position: relative; display: inline-flex; align-items: center; min-height: var(--ziel-pult); padding: 0 2px; border: 0; background: none; color: var(--text); font-family: var(--font-text); font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.et-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: var(--radius-pill); background: var(--aktion); transform: scaleX(0); transform-origin: left; transition: transform var(--et-dauer-farbe) ease; }
.et-tab:hover::after { transform: scaleX(.35); }
.et-tab.is-aktiv::after { transform: scaleX(1); }
.et-tab:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; border-radius: var(--radius-sm); }
.et-auf-navy .et-tab { color: var(--weiss); }
.et-auf-navy .et-tab::after { background: var(--et-verlauf-linie); }

/* Clock: Uhrzeit in Maiandra, Datum in Versalien */
.et-uhr { display: inline-flex; align-items: baseline; gap: var(--space-3); color: var(--text); white-space: nowrap; }
.et-uhr-datum { font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.et-uhr-zeit { min-width: 2.6em; font-family: var(--font-head); font-size: 40px; line-height: 50px; font-weight: 400; letter-spacing: 0; text-align: right; }
.et-auf-navy .et-uhr { color: var(--weiss); }

/* ConnectionStatus */
.et-conn { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px var(--space-4) 6px var(--space-3); border: 1px solid var(--linie); border-radius: var(--radius-pill); background: var(--flaeche); color: var(--text); font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; transition: background-color var(--et-dauer-farbe) ease, color var(--et-dauer-farbe) ease, border-color var(--et-dauer-farbe) ease; }
.et-conn-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--erfolg); }
.et-conn.is-verbindet .et-conn-dot { background: var(--bernstein); animation: et-puls 1200ms ease-in-out infinite; }
.et-conn.is-offline { background: var(--fehler-zart); border-color: var(--fehler); color: var(--fehler); }
.et-conn small { font-size: 13px; font-weight: 500; color: var(--text-leise); }
.et-conn.is-offline small { color: var(--fehler); }
.et-auf-navy .et-conn { background: var(--navy-tief); border-color: var(--navy-tief); color: var(--weiss); }
.et-auf-navy .et-conn small { color: var(--weiss); }
.et-auf-navy .et-conn .et-conn-dot { background: var(--weiss); }
.et-auf-navy .et-conn.is-verbindet .et-conn-dot { background: var(--gelb); }
.et-auf-navy .et-conn.is-offline { background: var(--gelb); border-color: var(--gelb); color: var(--navy); }
.et-auf-navy .et-conn.is-offline small { color: var(--navy); }

/* TerminalHeader: Navy-Leiste mit hängendem Logo und gelber Linie, wie der Header der Website */
.et-kopf { position: relative; z-index: 5; display: flex; align-items: center; gap: var(--space-6); height: var(--kopf-hoehe); padding: 0 var(--space-12); background: var(--et-verlauf-kopf); color: var(--weiss); box-shadow: var(--schatten-kopf); }
.et-kopf::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 4px; background: var(--et-verlauf-linie); }
.et-kopf-marke { display: flex; align-items: center; gap: var(--space-4); align-self: stretch; flex: none; }
.et-kopf-logo { position: relative; z-index: 1; display: block; align-self: flex-start; height: var(--logo-hoehe); width: auto; margin-top: 6px; }
.et-kopf-name { font-family: var(--font-head); font-size: 25.6px; line-height: 34px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.et-kopf-mitte { flex: 1; display: flex; justify-content: center; min-width: 0; }
.et-kopf-mitte > .et-suche { max-width: 560px; }
.et-kopf-rechts { display: flex; align-items: center; gap: var(--space-4); flex: none; }

/* EmptyState */
.et-leer { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-12) var(--space-6); text-align: center; }
.et-leer-bild { display: block; width: 200px; height: auto; margin-bottom: var(--space-2); }
.et-leer-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--space-2); border-radius: 50%; background: var(--flaeche-zart); color: var(--text); }
.et-leer h2 { margin: 0; font-family: var(--font-head); font-size: 25.6px; line-height: 34px; font-weight: 400; letter-spacing: 0; }
.et-leer p { margin: 0; max-width: 46ch; color: var(--text-leise); }
.et-leer .et-btn { margin-top: var(--space-3); }

/* EntryTable: Eintragsliste der Verwaltung */
.et-tabelle { overflow: hidden; }
.et-tab-gruppe { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--flaeche-leise); border-bottom: 1px solid var(--linie); font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.et-tab-gruppe span { font-weight: 500; letter-spacing: .02em; color: var(--text-leise); }
.et-zeile { display: grid; grid-template-columns: 68px minmax(190px, 1.3fr) 104px minmax(120px, 1.5fr) 168px 92px; align-items: center; gap: var(--space-3); min-height: 64px; padding: 10px var(--space-4); border-bottom: 1px solid var(--linie); transition: background-color var(--et-dauer-farbe) ease; }
.et-zeile:hover { background: var(--flaeche-zart); }
.et-tabelle > :last-child { border-bottom: 0; }
.et-zeile-ordnung { display: flex; gap: 2px; }
.et-zeile-name { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.et-zeile-texte { min-width: 0; }
.et-zeile-titel { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; line-height: 22px; letter-spacing: .01em; }
.et-zeile-titel > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.et-zeile-hint, .et-zeile-ziel { font-size: 14px; line-height: 20px; color: var(--text-leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.et-typ { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.et-zeile-aktionen { display: flex; justify-content: flex-end; gap: var(--space-1); }
.et-zeile.is-ausgeblendet .et-zeile-titel, .et-zeile.is-ausgeblendet .et-typ { color: var(--text-leise); }
.et-zeile.is-ausgeblendet .et-symbol { background: var(--flaeche-zart); color: var(--text-leise); }
.et-zeile.is-ausgeblendet .et-symbol img { opacity: .45; }
.et-tabelle-leer { padding: var(--space-6) var(--space-4); color: var(--text-leise); text-align: center; }
@media (max-width: 920px) {
  .et-zeile { grid-template-columns: 68px minmax(0, 1fr) 168px 92px; }
  .et-zeile > .et-typ, .et-zeile > .et-zeile-ziel { display: none; }
}

/* Felder: Label immer über dem Feld */
.et-feld { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.et-feld-label { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .02em; color: var(--text); }
.et-feld-pflicht { color: var(--fehler); }
.et-eingabe { width: 100%; height: var(--ziel-pult); padding: 0 var(--space-4); border: 1.5px solid var(--rand-feld); border-radius: var(--radius-md); background: var(--flaeche); color: var(--text); font-family: var(--font-text); font-size: 16px; line-height: 28px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: lining-nums; transition: border-color var(--et-dauer-farbe) ease, box-shadow var(--et-dauer-farbe) ease; }
.et-eingabe::placeholder { color: var(--text-leise); opacity: 1; }
.et-eingabe:focus { outline: 0; border-color: var(--fokus); box-shadow: 0 0 0 3px var(--leuchten); }
.et-eingabe:disabled { background: var(--flaeche-leise); color: var(--text-leise); cursor: not-allowed; }
.et-feld.is-fehler .et-eingabe { border-color: var(--fehler); }
.et-feld-hilfe { font-size: 14px; line-height: 20px; color: var(--text-leise); }
.et-feld-fehler { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fehler); }
.et-auswahl { position: relative; }
.et-auswahl select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.et-auswahl .et-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* SegmentedControl: wie der Umschalter der Zimmerkarten auf der Website */
.et-seg { display: flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1.5px solid var(--linie); border-radius: var(--radius-pill); background: var(--flaeche-leise); }
.et-seg-item { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text); font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; cursor: pointer; transition: background-color var(--et-dauer-kurz) ease, color var(--et-dauer-kurz) ease; }
.et-seg-item:hover:not(.is-aktiv) { background: var(--flaeche-zart); }
.et-seg-item.is-aktiv { background: var(--aktion); color: var(--auf-aktion); }
.et-seg-item:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-seg-farbe { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--linie); flex: none; }
.et-seg-item.is-aktiv .et-seg-farbe { border-color: var(--auf-aktion); }
.et-seg-farbe.is-ton-navy { background: var(--symbol); }
.et-seg-farbe.is-ton-gelb { background: var(--et-verlauf-gelb); }
.et-seg-farbe.is-ton-seegruen { background: var(--seegruen); }
.et-seg-farbe.is-ton-creme { background: var(--creme); }

/* Switch */
.et-schalter { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; padding: 0; border: 0; background: none; color: var(--text); font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .02em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.et-schalter-spur { position: relative; flex: none; width: 48px; height: 28px; border: 1.5px solid var(--rand-feld); border-radius: var(--radius-pill); background: var(--flaeche-leise); transition: background-color var(--et-dauer-farbe) ease, border-color var(--et-dauer-farbe) ease; }
.et-schalter-knopf { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--text-leise); transition: transform 300ms var(--et-kurve-feder), background-color var(--et-dauer-farbe) ease; }
.et-schalter[aria-checked="true"] .et-schalter-spur { background: var(--aktion); border-color: var(--aktion); }
.et-schalter[aria-checked="true"] .et-schalter-knopf { transform: translateX(20px); background: var(--auf-aktion); }
.et-schalter:focus-visible { outline: 0; }
.et-schalter:focus-visible .et-schalter-spur { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-schalter:disabled { color: var(--text-leise); cursor: not-allowed; }

/* IconPicker */
.et-symbole { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: var(--space-2); }
.et-symbol-wahl { display: grid; place-items: center; height: 44px; padding: 0; border: 1.5px solid var(--linie); border-radius: var(--radius-md); background: var(--flaeche); color: var(--text); font-family: var(--font-head); font-size: 20px; line-height: 1; cursor: pointer; transition: background-color var(--et-dauer-kurz) ease, color var(--et-dauer-kurz) ease, border-color var(--et-dauer-kurz) ease; }
.et-symbol-wahl:hover:not(.is-aktiv) { background: var(--flaeche-zart); }
.et-symbol-wahl.is-aktiv { background: var(--aktion); border-color: var(--aktion); color: var(--auf-aktion); }
.et-symbol-wahl:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }

/* EntryForm: Felder links, Vorschau der Kachel rechts */
.et-form { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--space-6); }
.et-form-felder { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.et-form-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.et-form-vorschau { display: flex; flex-direction: column; gap: var(--space-3); align-self: start; padding: var(--space-4); border: 1px solid var(--linie); border-radius: var(--radius-lg); background: var(--flaeche-hinweis); }
.et-form-vorschau .et-tile { animation: none; }
.et-form-bild { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.et-form-bild input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .et-form { grid-template-columns: 1fr; }
  .et-form-zeile { grid-template-columns: 1fr; }
}

/* Dialog: wie das Popup der Website. Steigt 24px auf und wächst von 0,9 auf 1. */
.et-scrim { position: fixed; inset: 0; z-index: 50; display: flex; padding: var(--space-6); overflow: auto; background: var(--scrim); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: et-ein 500ms ease both; }
.et-scrim.is-inline { position: relative; inset: auto; z-index: auto; }
.et-scrim.is-weg { animation: et-aus var(--et-dauer-schliessen) ease both; pointer-events: none; }
.et-dialog { position: relative; display: flex; flex-direction: column; gap: var(--space-5); width: 100%; max-width: 560px; margin: auto; padding: var(--space-8); border: 1px solid var(--linie); border-radius: var(--radius-xl); background: var(--flaeche); color: var(--text); box-shadow: var(--schatten-dialog); animation: et-dialog-ein var(--et-dauer-dialog) var(--et-kurve-feder) both; }
.et-scrim.is-weg .et-dialog { animation: et-dialog-aus var(--et-dauer-schliessen) ease-in both; }
.et-dialog-sm { max-width: 480px; }
.et-dialog-lg { max-width: 900px; }
.et-dialog-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.et-dialog-titel { margin: 0; font-family: var(--font-head); font-size: 25.6px; line-height: 34px; font-weight: 400; letter-spacing: 0; }
.et-dialog-titel.is-gross { font-size: 36px; line-height: 48px; }
.et-dialog p { margin: 0; }
.et-dialog-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-3); }
.et-dialog-fuss .et-links { margin-right: auto; }
.et-dialog-mitte { align-items: center; text-align: center; }

/* Toast: Navy-Pille am unteren Rand, Rückgängig als gelber Knopf */
.et-toast-zone { position: fixed; left: 0; right: 0; bottom: var(--space-6); z-index: 60; display: flex; justify-content: center; padding: 0 var(--space-4); pointer-events: none; }
.et-toast-zone.is-inline { position: static; padding: 0; }
.et-toast { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 52px; max-width: 100%; padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5); border-radius: var(--radius-pill); background: var(--aktion); color: var(--auf-aktion); box-shadow: var(--schatten-kopf); font-size: 16px; line-height: 22px; font-weight: 600; pointer-events: auto; animation: et-toast-ein var(--et-dauer-dialog) var(--et-kurve-feder) both; }
.et-toast.is-weg { animation: et-aus var(--et-dauer-schliessen) ease both; }
.et-toast-text { padding-right: var(--space-3); }
.et-toast-aktion { min-height: 36px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: var(--et-verlauf-gelb); color: var(--auf-gelb); font-family: var(--font-text); font-size: 12px; line-height: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: transform var(--et-dauer-kurz) ease, filter var(--et-dauer-farbe) ease; }
.et-toast-aktion:hover { filter: saturate(1.1) brightness(1.04); }
.et-toast-aktion:active { transform: scale(.96); }
.et-toast-aktion:focus-visible { outline: var(--fokus-breite) solid var(--auf-aktion); outline-offset: 2px; }

/* PinPad: runde Tasten, Ziffern in Maiandra */
.et-pin { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.et-pin-punkte { display: flex; align-items: center; gap: var(--space-4); height: 20px; }
.et-pin-punkt { width: 16px; height: 16px; border: 2px solid var(--rand-feld); border-radius: 50%; background: transparent; transition: background-color var(--et-dauer-farbe) ease, border-color var(--et-dauer-farbe) ease; }
.et-pin-punkt.is-voll { background: var(--aktion); border-color: var(--aktion); animation: et-pop 300ms var(--et-kurve-feder) both; }
.et-pin.is-fehler .et-pin-punkte { animation: et-schuetteln 520ms ease-in-out both; }
.et-pin.is-fehler .et-pin-punkt { background: var(--fehler); border-color: var(--fehler); }
.et-pin.is-ok .et-pin-punkt { background: var(--erfolg); border-color: var(--erfolg); }
.et-pin-meldung { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 20px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-leise); }
.et-pin.is-fehler .et-pin-meldung { color: var(--fehler); }
.et-pin.is-ok .et-pin-meldung { color: var(--erfolg); }
.et-pin-tasten { display: grid; grid-template-columns: repeat(3, 72px); gap: var(--space-4); }
.et-pin-taste { display: grid; place-items: center; width: 72px; height: 72px; padding: 0; border: 1.5px solid var(--linie); border-radius: 50%; background: var(--flaeche); color: var(--text); box-shadow: var(--schatten-karte); font-family: var(--font-head); font-size: 32px; line-height: 1; letter-spacing: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
  transition: background-color var(--et-dauer-farbe) ease, color var(--et-dauer-farbe) ease, border-color var(--et-dauer-farbe) ease, transform var(--et-dauer-kurz) ease; }
@media (hover: hover) { .et-pin-taste:hover { background: var(--flaeche-zart); } }
.et-pin-taste:active { transform: scale(.94); background: var(--aktion); border-color: var(--aktion); color: var(--auf-aktion); transition-duration: var(--et-dauer-tipp); }
.et-pin-taste:focus-visible { outline: var(--fokus-breite) solid var(--fokus); outline-offset: 2px; }
.et-pin-taste.is-leise { border-color: transparent; background: transparent; box-shadow: none; }
.et-pin-taste:disabled { color: var(--text-leise); cursor: not-allowed; box-shadow: none; }

/* Seitenaufbau für Startseite und Verwaltung */
.et-seite { min-height: 100vh; background: var(--grund); }
.et-inhalt { display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-12) var(--space-12) var(--space-16); }
.et-inhalt-pult { gap: var(--space-6); max-width: 1240px; margin: 0 auto; padding: var(--space-12) var(--space-6) var(--space-12); }
.et-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.et-leiste-rechts { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.et-seitentitel { margin: 0; font-family: var(--font-head); font-size: 36px; line-height: 48px; font-weight: 400; letter-spacing: 0; }
.et-abschnitt { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.et-abschnitt h3 { margin: 0; font-family: var(--font-head); font-size: 25.6px; line-height: 34px; font-weight: 400; letter-spacing: 0; }
.et-fuss { padding: var(--space-4) 0 0; font-size: 13px; line-height: 18px; color: var(--text-leise); text-align: center; }

/* Keyframes */
@keyframes et-auf { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes et-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes et-aus { from { opacity: 1; } to { opacity: 0; } }
@keyframes et-dialog-ein { from { transform: translateY(24px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes et-dialog-aus { from { transform: none; opacity: 1; } to { transform: translateY(16px) scale(.95); opacity: 0; } }
@keyframes et-toast-ein { from { transform: translateY(16px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes et-lauf { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes et-puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .5; } }
@keyframes et-pop { from { transform: scale(.6); } to { transform: none; } }
@keyframes et-schuetteln { 0%, 100% { transform: translateX(0); } 12% { transform: translateX(-12px); } 28% { transform: translateX(10px); } 44% { transform: translateX(-7px); } 60% { transform: translateX(5px); } 76% { transform: translateX(-2px); } }

/* Wer reduzierte Bewegung eingestellt hat, sieht nur noch Farbwechsel */
@media (prefers-reduced-motion: reduce) {
  .et-root *, .et-root *::before, .et-root *::after, .et-tile, .et-btn, .et-ibtn, .et-chip, .et-dialog, .et-scrim, .et-toast, .et-pin-punkte, .et-pin-punkt, .et-pin-taste, .et-schalter-knopf { animation: none !important; transition-property: background-color, color, border-color, opacity !important; }
  .et-tile:hover:not(.is-offline), .et-btn-primary:hover:not(:disabled) { transform: none; }
  .et-tile.is-oeffnet .et-tile-lauf { transform: scaleX(1); }
}
