/* Parkhotel Intern – Seiten des Portals im Stil der Website parkhotel-jever.de (Adde 06.12.2026).
   Wird nach portal.css geladen und überschreibt nur Farben, Schrift und Formen. Quelle: Parkhotel Jever/portal/stil/,
   eingebaut von parkhotel-anpassen.mjs. Die Kopfleiste steht in parkhotel-shell.css (gilt auch in den Modulen). */

/* Schrift lokal (SIL Open Font License 1.1, /fonts/OFL-Cormorant-Garamond.txt), hier für die Anmeldeseite ohne Kopfleiste */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #fff7ec; --card: #ffffff; --text: #404041; --muted: #827365; --line: #e9ddcc;
  --accent: #c25131; --green: #457363; --red: #a33; --dark: #464543;
  --rot: #c25131; --rot-dunkel: #a5442a; --braun: #827365;
  --schrift: "Cormorant Garamond", "Cormorant", Garamond, "Palatino Linotype", Palatino, Georgia, serif;
}
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body { font-family: var(--schrift); font-weight: 500; font-size: 1.1rem; line-height: 1.5; background: var(--bg); color: var(--text); }
a { color: var(--rot-dunkel); text-underline-offset: .16em; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
main { padding-top: 32px; }

h1 { font-family: var(--schrift); font-weight: 600; font-size: clamp(2rem, 4.2vw, 2.8rem); line-height: 1.12; color: var(--rot); margin: .1em 0 .55em; }
h2 { font-family: var(--schrift); font-size: .84rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--braun); margin: 2rem 0 .7rem; }
.tile h3 { font-family: var(--schrift); font-weight: 700; font-size: 1.4rem; color: var(--rot); }

.card, .tile, table { border-radius: 16px; box-shadow: 0 4px 22px rgba(64, 64, 65, .08); }
.tile { border-top: 0; box-shadow: inset 0 4px 0 var(--rot), 0 4px 22px rgba(64, 64, 65, .08); }
.tile:hover { box-shadow: inset 0 4px 0 var(--rot), 0 8px 28px rgba(64, 64, 65, .16); }
.tile.down { box-shadow: inset 0 4px 0 #c9c2b8, 0 4px 22px rgba(64, 64, 65, .08); }
.tile.warn { box-shadow: inset 0 4px 0 var(--dark), 0 4px 22px rgba(64, 64, 65, .08); }

label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--braun); }
.roles label { text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 500; }
input, select { font-family: var(--schrift); font-size: 1.1rem; font-weight: 600; border: 1px solid var(--line); border-radius: 12px; padding: .5em .8em; }
input:focus, select:focus { border-color: var(--rot); outline: none; box-shadow: 0 0 0 3px rgba(194, 81, 49, .18); }

/* Knöpfe wie auf der Website: Pillen, Terrakotta für die Hauptaktion, Dunkel für den Rest */
button { font-family: var(--schrift); font-weight: 700; font-size: 1.08rem; border-radius: 40px; padding: .5em 1.35em; background: var(--line); color: var(--text); transition: background .15s, color .15s; }
button:hover { background: #ddcfba; }
button.primary { background: var(--rot); color: #fff; }
button.primary:hover { background: var(--rot-dunkel); }

th { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--braun); }
.badge { background: var(--bg); color: var(--rot-dunkel); font-weight: 700; }
.key { background: var(--bg); border: 1px dashed var(--rot); }
dialog { border-radius: 20px; font-family: var(--schrift); }
.err { color: var(--red); font-weight: 600; }

/* Anmeldung: Hausfoto wie das Startbild der Website, darauf die Karte mit dem Logo */
#login:not([hidden]) {
  max-width: none; margin: 0; min-height: 100vh; min-height: 100svh; padding: 24px 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(30, 28, 26, .45), rgba(30, 28, 26, .25) 40%, rgba(30, 28, 26, .5)), url("/hintergrund.webp") center / cover no-repeat, var(--dark);
}
.login { margin: 0; width: 100%; max-width: 400px; padding: 30px 30px 26px; border-radius: 24px; box-shadow: 0 16px 50px rgba(0, 0, 0, .3); text-align: center; }
.login::before { content: ""; display: block; width: 92px; height: 96px; margin: 0 auto 8px; background: url("/logo-parkhotel.png") center / contain no-repeat; }
.login h1 { font-size: 2.1rem; margin-bottom: .4em; }
.login label { text-align: left; }
.login button { margin-top: 1.4rem; font-size: 1.15rem; }
