/* Laufhaus Bochum – Anwesenheits-Seite, Bereich "Mein Zimmer" und Verwaltung */

:root {
  --lh-bg: #121012; --lh-flaeche: #1A1619; --lh-flaeche-2: #181417; --lh-linie: #2E282C; --lh-linie-2: #3A3237;
  --lh-text: #EFE8DF; --lh-leise: #B8AEA4; --lh-gold: #D9B872; --lh-gold-hell: #F0D79C;
  --lh-gruen: #5FD69B; --lh-rot: #E07A85; --lh-rot-dunkel: #8C2F39;
}

.lh-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lh-gruen);
  box-shadow: 0 0 0 3px rgba(95, 214, 155, .18), 0 0 10px rgba(95, 214, 155, .7); flex: none; }
.lh-aus .lh-punkt, .lh-st-weg .lh-punkt, .lh-st-offen .lh-punkt { background: #6E6469; box-shadow: none; }
.lh-st-offen .lh-punkt { background: transparent; border: 2px solid #6E6469; box-sizing: border-box; }
.lh-status.lh-st-weg { color: #A89E95; }
.lh-badge.lh-st-da { color: var(--lh-gruen); border-color: rgba(95, 214, 155, .4); }
.lh-badge.lh-st-da .lh-punkt { background: var(--lh-gruen); }
.lh-status-gross.lh-st-da { color: var(--lh-gruen); border-color: rgba(95, 214, 155, .35); }
.lh-status-gross.lh-st-weg { color: #C9C0B6; }
.lh-status-gross.lh-st-offen { color: var(--lh-leise); }
.lh-status-gross small { display: block; font-size: 13px; font-weight: 400; color: var(--lh-leise); margin-top: 2px; }
.lh-status-knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.lh-status-knoepfe form { margin: 0; }

/* ---------- Öffentliche Seite ---------- */
.lh-seite { max-width: 1200px; margin: 0 auto; padding: 88px 24px 96px; display: flex; flex-direction: column; gap: 56px; }
.lh-kopf { display: flex; flex-direction: column; gap: 16px; }
.lh-h1 { margin: 0; font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: clamp(40px, 6vw, 68px); line-height: 1.05; }
.lh-intro { margin: 0; max-width: 640px; color: #C9C0B6; font-size: 19px; }
.lh-stand { margin: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--lh-leise); font-size: 14px; letter-spacing: .04em; }
.lh-aufbau { margin: 8px 0 0; max-width: 640px; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px;
  border: 1px solid #5C4C2C; border-left: 3px solid var(--lh-gold); background: var(--lh-flaeche-2); color: #C9C0B6; font-size: 15px; }
.lh-aufbau strong { color: var(--lh-gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lh-block { display: flex; flex-direction: column; gap: 24px; }
.lh-h2 { margin: 0; font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; display: flex; align-items: center; gap: 14px; }
.lh-h2-leise { color: var(--lh-leise); font-size: clamp(22px, 2.6vw, 30px); }
.lh-anzahl { font-family: 'Manrope', system-ui, sans-serif; font-size: 14px; font-weight: 700; color: var(--lh-bg); background: var(--lh-gold);
  border-radius: 999px; min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; box-sizing: border-box; }
.lh-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.lh-raster-klein { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }

.lh-karte { background: var(--lh-flaeche); border: 1px solid var(--lh-linie); display: flex; flex-direction: column; overflow: hidden; }
.lh-foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #0D0B0D; }
.lh-foto-leer { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #2A1F27, #0D0B0D 70%); }
.lh-foto-leer span { font-family: 'Bodoni Moda', serif; font-size: 72px; color: #4A3D45; }
.lh-karte-text { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.lh-status { margin: 0 0 4px; display: flex; align-items: center; gap: 9px; color: var(--lh-gruen); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.lh-name { margin: 0; font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.lh-zimmer { margin: 0; color: var(--lh-gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lh-text { margin: 6px 0 0; color: #C9C0B6; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.lh-karte-weg { opacity: .55; }
.lh-karte-weg .lh-foto { filter: grayscale(1); }
.lh-karte-weg .lh-name { font-size: 20px; }
.lh-karte-weg .lh-text { display: none; }

.lh-leer { background: var(--lh-flaeche); border: 1px solid var(--lh-linie); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lh-leer p { margin: 0; max-width: 620px; color: #C9C0B6; }
.lh-hinweis { margin: 0; color: #8E848A; font-size: 14px; }

/* ---------- Knöpfe ---------- */
.lh-knopf, .lh-knopf-rand, .lh-knopf-gefahr, .lh-link-knopf { font: inherit; cursor: pointer; border-radius: 2px; text-decoration: none; box-sizing: border-box; }
.lh-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: var(--lh-gold); color: #121012 !important;
  font-weight: 700; padding: 12px 22px; border: 1px solid var(--lh-gold); }
.lh-knopf:hover { background: var(--lh-gold-hell); }
.lh-knopf-rand { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: transparent; color: var(--lh-gold);
  font-weight: 700; padding: 11px 20px; border: 1px solid var(--lh-gold); }
.lh-knopf-rand:hover { color: var(--lh-gold-hell); border-color: var(--lh-gold-hell); }
.lh-knopf-gefahr { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: transparent; color: var(--lh-rot);
  font-weight: 700; padding: 10px 18px; border: 1px solid #5A2A31; }
.lh-knopf-gefahr:hover { border-color: var(--lh-rot); }
.lh-link-knopf { background: none; border: 0; color: var(--lh-gold); padding: 10px 4px; font-size: 14px; font-weight: 600; }
.lh-klein { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.lh-breit { width: 100%; }
.lh-inline { display: inline; margin: 0; }
.lh-knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- App-Rahmen (Mein Zimmer / Verwaltung) ---------- */
.lh-app { min-height: 100vh; background: var(--lh-bg); color: var(--lh-text); font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
.lh-app-kopf { border-bottom: 1px solid var(--lh-linie); padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  max-width: 1000px; margin: 0 auto; box-sizing: border-box; }
.lh-logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.lh-logo-1 { font-family: 'Yellowtail', cursive; font-size: 30px; line-height: 1; color: #FFE3F4; text-shadow: 0 0 4px #FF4FB8, 0 0 12px #FF2E9E, 0 0 24px #E0167F; }
.lh-logo-2 { font-family: 'Tilt Neon', sans-serif; font-size: 12px; letter-spacing: .4em; color: #E9DBFF; text-shadow: 0 0 4px #9B6BFF, 0 0 12px #7A3DFF; }
.lh-app-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.lh-sprachen { display: flex; flex-wrap: wrap; gap: 2px; }
.lh-sprache { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: #C9C0B6; padding: 8px 6px; min-width: 32px; text-align: center; border-radius: 2px; }
.lh-sprache.lh-aktiv { background: var(--lh-gold); color: #121012; }
.lh-app-inhalt { max-width: 1000px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
.lh-app-h1 { margin: 8px 0 0; font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: clamp(30px, 6vw, 44px); line-height: 1.1; }
.lh-app-h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.lh-gold { color: var(--lh-gold); }
.lh-karte-box { background: var(--lh-flaeche); border: 1px solid var(--lh-linie); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.lh-schmal { max-width: 440px; width: 100%; margin: 24px auto 0; box-sizing: border-box; }
.lh-leise { color: var(--lh-leise); margin: 0; }
.lh-label { margin: 0; color: var(--lh-gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lh-klein-text { font-size: 13px; }

.lh-status-gross { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; padding: 14px 16px; border: 1px solid var(--lh-linie); background: var(--lh-flaeche-2); }
.lh-status-gross.lh-an { color: var(--lh-gruen); border-color: rgba(95, 214, 155, .35); }
.lh-status-gross .lh-punkt { width: 12px; height: 12px; }
.lh-da-form { display: flex; flex-direction: column; gap: 10px; }
.lh-da-form .lh-knopfreihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }
.lh-da-form .lh-knopfreihe .lh-knopf, .lh-da-form .lh-knopfreihe .lh-knopf-rand { padding: 12px 6px; white-space: nowrap; }

/* Formulare */
.lh-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.lh-feld { display: flex; flex-direction: column; gap: 6px; }
.lh-feld > span { font-weight: 700; font-size: 14px; }
.lh-feld small, .lh-loeschen small { color: var(--lh-leise); font-size: 13px; }
.lh-feld input:not([type=checkbox]):not([type=file]), .lh-feld textarea, .lh-ablehnen input {
  font: inherit; font-size: 16px; color: var(--lh-text); background: #0F0D0F; border: 1px solid var(--lh-linie-2); border-radius: 2px; padding: 12px 14px; min-height: 48px; box-sizing: border-box; width: 100%; }
.lh-feld textarea { resize: vertical; min-height: 110px; }
.lh-feld input:focus, .lh-feld textarea:focus, .lh-ablehnen input:focus { outline: 2px solid var(--lh-gold); outline-offset: 1px; border-color: var(--lh-gold); }
.lh-feld input[type=file] { font: inherit; font-size: 15px; color: var(--lh-leise); padding: 10px 0; }
.lh-feld input[type=file]::file-selector-button { font: inherit; font-weight: 700; color: var(--lh-gold); background: transparent; border: 1px solid var(--lh-gold); padding: 10px 16px; margin-right: 12px; border-radius: 2px; cursor: pointer; }
.lh-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.lh-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lh-gold); flex: none; }
.lh-einw { background: var(--lh-flaeche-2); border: 1px solid var(--lh-linie); padding: 14px; color: #C9C0B6; }
.lh-foto-zeile { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lh-mini { width: 84px; height: 105px; object-fit: cover; border: 1px solid var(--lh-linie-2); }
.lh-regeln { font-size: 14px; color: #C9C0B6; border-left: 3px solid var(--lh-gold); padding: 8px 0 8px 14px; }
.lh-vorschau { max-width: 280px; }
.lh-loeschen { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border-top: 1px solid var(--lh-linie); padding-top: 16px; margin: 0; }

/* Meldungen */
.lh-meldung { padding: 12px 14px; border: 1px solid var(--lh-linie-2); background: var(--lh-flaeche-2); font-size: 15px; }
.lh-meldung-ok { border-color: rgba(95, 214, 155, .45); color: var(--lh-gruen); }
.lh-meldung-fehler { border-color: #6A2B33; color: #F2B8BF; background: #24141A; }
.lh-meldung-info { border-color: #5C4C2C; color: var(--lh-gold-hell); }

/* Verwaltung */
.lh-kennzahlen { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--lh-leise); }
.lh-kennzahlen b { color: var(--lh-text); font-size: 20px; margin-right: 4px; }
.lh-freigabe { border-top: 1px solid var(--lh-linie); padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.lh-freigabe-titel { margin: 0; font-size: 17px; }
.lh-freigabe-titel small { color: var(--lh-leise); font-weight: 400; font-size: 13px; margin-left: 6px; }
.lh-vergleich { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.lh-vergleich-spalte { background: var(--lh-flaeche-2); border: 1px solid var(--lh-linie); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.lh-vergleich-spalte p { margin: 0; }
.lh-vergleich-spalte.lh-neu { border-color: #5C4C2C; }
.lh-vergleich-foto { width: 100%; max-width: 240px; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.lh-ablehnen { display: flex; flex: 1 1 280px; gap: 8px; margin: 0; }
.lh-ablehnen input { min-height: 44px; flex: 1; }
.lh-zimmerliste { display: flex; flex-direction: column; }
.lh-zeile { border-top: 1px solid var(--lh-linie); padding: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.lh-zeile-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.lh-zeile-nr { font-weight: 800; color: var(--lh-gold); min-width: 40px; font-size: 18px; }
.lh-zeile-name { font-weight: 600; min-width: 120px; }
.lh-zeile-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.lh-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 3px 10px; border: 1px solid var(--lh-linie-2); border-radius: 999px; color: var(--lh-leise); }
.lh-badge.lh-an { color: var(--lh-gruen); border-color: rgba(95, 214, 155, .4); }
.lh-badge .lh-punkt { width: 7px; height: 7px; }
.lh-badge-gold { color: var(--lh-gold); border-color: #5C4C2C; }
.lh-form-reihe { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.lh-form-reihe .lh-feld { flex: 1 1 140px; }
.lh-tabelle { border-collapse: collapse; width: 100%; max-width: 360px; }
.lh-tabelle th, .lh-tabelle td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--lh-linie); }
.lh-pin { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: .12em; color: var(--lh-gold); }

@media print {
  body, .lh-app { background: #fff !important; color: #000 !important; }
  .lh-app-kopf, .lh-app-inhalt > *:not(.lh-pins) { display: none !important; }
  .lh-pins { border: 0; background: #fff; color: #000; }
  .lh-pins button, .lh-pins a, .lh-pins .lh-leise { display: none; }
  .lh-pin { color: #000; }
}
