/* ============================================================
   Seite: hausordnung.html
   Loest den frueheren Inline-<style>-Block und die hunderte
   Zeilen style="..."-Attribute in der Seite ab. Grundraster
   (.web-section, .head, .display, .label) kommt aus
   base/typography.css, hier stehen nur die Seiten-Bausteine.
   ============================================================ */

/* — Hero — helle Variante: Foto unter einem Paper-Verlauf, damit die
     dunkle Schrift darauf lesbar bleibt (die uebrigen Seiten-Heroes
     arbeiten andersherum mit Ink-Grund und weisser Schrift). — */
.haus-hero { position: relative; height: 540px; background: var(--paper); color: var(--ink); overflow: hidden; }
.haus-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  background-image: url('../../assets/hero-stadthalle.jpg');
}
.haus-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(250,248,245,0.95) 0%, rgba(250,248,245,0.78) 44%, rgba(250,248,245,0.38) 72%, rgba(250,248,245,0.12) 100%),
    linear-gradient(0deg, rgba(250,248,245,0.60) 0%, transparent 42%);
}
.haus-hero .giant-number { position: absolute; right: -60px; top: -90px; font-size: 380px; opacity: 0.16; }
.haus-hero-inner { position: absolute; left: 56px; top: 80px; max-width: 880px; z-index: 3; }
.haus-hero-inner .label { font-size: 12px; letter-spacing: 0.32em; }
.haus-hero-inner h1 { font-size: 120px; margin: 18px 0 0; color: var(--ink); line-height: 0.88; }
.haus-hero-inner h1 .r { color: var(--red); }
.haus-hero-inner p { font-size: 17px; line-height: 1.55; max-width: 680px; margin: 26px 0 0; color: rgba(11,46,63,0.78); }

/* — Notrufnummern — die eigentliche Daseinsberechtigung der Seite:
     der QR-Code auf der Akkreditierungs-Karte fuehrt hierher. Deshalb
     ganz oben und als einziger Block in Vollrot. — */
.notruf-section { background: var(--red); color: white; padding-top: 48px; padding-bottom: 48px; }
.notruf-section .head { border-top-color: rgba(255,255,255,0.30); }
.notruf-section .head .l { color: white; }
.notruf-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.notruf-cell { padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.28); }
.notruf-cell:first-child { padding-left: 0; }
.notruf-cell:last-child { border-right: none; padding-right: 0; }
.notruf-cell .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.notruf-cell .num {
  font-family: var(--display); font-weight: 900; font-style: normal;
  font-size: 72px; line-height: 0.95; margin-top: 6px;
}
.notruf-cell .num.wort { font-size: 48px; }
.notruf-cell .num a { color: white; text-decoration: none; }
.notruf-cell .who { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.90); margin-top: 8px; }

/* — Die sechs Zugangsstufen — Referenz zu den Codes auf der Karte. — */
.bereich-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bereich-tile { background: white; border: 1px solid rgba(11,46,63,0.10); padding: 24px 22px; }
.bereich-tile.special { border-color: var(--red); border-width: 2px; }
.bereich-tile .code {
  font-family: var(--display); font-weight: 900; font-style: normal;
  font-size: 56px; line-height: 0.9; color: var(--red);
}
.bereich-tile .code small {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #6B7B82; font-weight: 700; margin-top: 6px;
}
.bereich-tile .name {
  font-family: var(--display); font-weight: 900; font-style: normal;
  font-size: 24px; line-height: 1; text-transform: uppercase; margin-top: 14px;
}
.bereich-tile .who {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 8px;
}
.bereich-tile .desc { font-size: 13px; line-height: 1.55; color: #5b5853; margin-top: 10px; }

/* — Verhaltensregeln — drei gleichwertige Karten. Die Presse-Karte war
     frueher eine eigene Sektion aus drei Kacheln; ihr Inhalt sind aber
     schlicht weitere Regeln, deshalb steht sie jetzt hier. — */
.regeln-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.regel-card { background: white; border: 1px solid rgba(11,46,63,0.10); border-left: 4px solid #1F8A5B; padding: 26px 24px; }
.regel-card.danger { border-left-color: var(--red); }
.regel-card.presse { border-left-color: var(--ink); }
.regel-card .h {
  font-family: var(--display); font-weight: 900; font-style: normal;
  font-size: 26px; line-height: 1; text-transform: uppercase; margin-top: 8px;
}
.regel-card ul { list-style: none; margin: 16px 0 0; padding: 0; font-size: 14px; line-height: 1.5; }
.regel-card li { padding: 5px 0 5px 22px; position: relative; }
.regel-card li::before { position: absolute; left: 0; font-weight: 700; }
.regel-card li::before { content: '·'; color: var(--ink); }
.regel-card:not(.danger):not(.presse) li::before { content: '✓'; color: #1F8A5B; }
.regel-card.danger li::before { content: '✕'; color: var(--red); }
.regeln-note {
  margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #5b5853; text-align: center;
}

/* — Kontakt — bewusst eine schlichte Karte: dahinter stehen eine
     Mailadresse und Oeffnungszeiten, keine Personenvorstellung. — */
.haus-kontakt {
  background: white; border: 1px solid rgba(11,46,63,0.10); border-left: 4px solid var(--red);
  padding: 32px 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.haus-kontakt .h {
  font-family: var(--display); font-weight: 900; font-style: normal;
  font-size: 30px; line-height: 1; text-transform: uppercase;
}
.haus-kontakt .h .r { color: var(--red); }
.haus-kontakt .facts { font-family: var(--mono); font-size: 13px; line-height: 1.8; color: rgba(11,46,63,0.78); margin-top: 14px; }
.haus-kontakt p { font-size: 14px; line-height: 1.55; color: rgba(11,46,63,0.78); margin: 0 0 16px; }
.haus-kontakt a.cta {
  background: var(--red); color: white; text-decoration: none;
  font-family: var(--display); font-weight: 900; font-style: normal; font-size: 17px;
  padding: 13px 20px; text-transform: uppercase; letter-spacing: 0.02em;
  display: inline-block;
}
.haus-meta {
  margin-top: 32px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(11,46,63,0.45); text-align: center; line-height: 1.9;
}

/* ============================================================
   MOBILE ≤ 760px — Desktop bleibt unveraendert.
   Gleiches Muster wie pages/akkreditierung.css: fester Hero und
   absolut gesetzter Textblock werden fliessend, mehrspaltige
   Raster stapeln.
   ============================================================ */
@media (max-width: 760px) {
  .haus-hero { height: auto !important; }
  .haus-hero-inner {
    position: relative !important; left: auto !important; top: auto !important;
    max-width: none !important; padding: 88px 20px 52px;
  }
  .haus-hero-inner h1 { font-size: clamp(44px, 13vw, 60px) !important; line-height: 0.9 !important; }
  .haus-hero-inner p { font-size: 15px !important; max-width: none !important; }
  .haus-hero .giant-number { font-size: 110px !important; right: -6px !important; top: 12px !important; }

  .notruf-row { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .notruf-cell { padding: 0 !important; border-right: none !important; }
  .notruf-cell .num { font-size: 46px; }
  .notruf-cell .num.wort { font-size: 30px; }

  .bereich-grid { grid-template-columns: 1fr; }
  .bereich-tile { padding: 20px 18px; }
  .bereich-tile .code { font-size: 44px; }

  .regeln-grid { grid-template-columns: 1fr; }
  .haus-kontakt { grid-template-columns: 1fr; padding: 24px 20px; }
}
