/* Statische Notfallseite – Aldenhoven Testing Center */
:root {
  --blue: #84b8e8;
  --blue-dark: #0345bf;
  --text: #252525;
  --topbar: #333;
  --footer: #171717;
  --warn-bg: #fff4e5;
  --warn-border: #e8a33d;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--blue-dark); }
a:hover, a:focus { color: #4c80ba; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* Top bar */
.topbar { background: var(--topbar); color: #ddd; font-size: .9rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: flex-end; padding-top: .4rem; padding-bottom: .4rem; }
.topbar a { color: #ddd; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eee; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.site-header img.logo { height: 60px; width: auto; display: block; }
.site-header nav a { margin-left: 1.25rem; color: var(--text); text-decoration: none; font-weight: 600; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--blue-dark); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; background: #222 url("../images/ncap.webp") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.hero .gfx { position: absolute; width: 50%; pointer-events: none; }
.hero .gfx-tl { top: 0; left: 0; }
.hero .gfx-br { bottom: 0; right: 0; }
.hero .inner { position: relative; z-index: 2; padding: 5rem 1.25rem; }
.hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; letter-spacing: .05em; line-height: 1.15; }
.hero p { margin: .5rem 0 0; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .1em; }

/* Page title (Unterseiten) */
.page-title { background: var(--blue); color: #fff; padding: 2rem 0; }
.page-title h1 { margin: 0; font-size: 2rem; }

main { flex: 1; padding: 2.5rem 0 3rem; }

/* Hinweis */
.notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left: 6px solid var(--warn-border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.notice h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.notice p { margin: .4rem 0; }
.notice .en { color: #555; font-size: .95rem; border-top: 1px solid #f0d3a8; margin-top: .9rem; padding-top: .7rem; }

/* Kontakt-Karten */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { border: 1px solid #e3e3e3; border-radius: 6px; padding: 1.5rem; background: #fafafa; }
.card.highlight { border-top: 5px solid var(--blue); background: #fff; }
.card h2, .card h3 { margin-top: 0; font-size: 1.25rem; }
.card p { margin: .4rem 0; }

.btn {
  display: inline-block;
  margin-top: .75rem;
  padding: .6rem 1.2rem;
  background: #2d6db5;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover, .btn:focus { background: var(--blue-dark); color: #fff; }

dl.hours { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; margin: .5rem 0 0; }
dl.hours dt { font-weight: 600; }
dl.hours dd { margin: 0; }

/* Rechtstexte */
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.legal h4 { font-size: 1.05rem; margin: 1.5rem 0 .25rem; }
.legal p { margin: .4rem 0 .9rem; }

/* Footer */
.site-footer { background: var(--footer); color: #fff; padding: 2rem 0; font-size: .95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer a { color: #c8c8c8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .2rem 0; }
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .site-header nav a { margin: 0 1rem 0 0; }
  .hero .inner { padding: 3rem 1rem; }
}
