/* =========================================================
   Gernot Heitmann Consulting – Platzhalterseite
   CI: Blau #278bb6 · Schrift: DINish Condensed SemiBold (SIL OFL 1.1, siehe DINish-OFL-1.1.txt)
   Ersatz für Apples DIN Condensed (nicht fürs Web lizenziert); Laufweite
   per letter-spacing an die Original-DIN angeglichen.
   Theme: <body class="theme-dunkel">
   ========================================================= */

@font-face {
  font-family: "DINish Condensed";
  src: url("DINishCondensed-SemiBold.woff2") format("woff2");
  font-weight: 100 900; /* einziger Schnitt – verhindert künstliches Fetten */
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #278bb6;
  --font-head: "DINish Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Themes ---------- */
.theme-dunkel {
  --bg: #07090b;
  --head: #278bb6;
  --text: rgba(255, 255, 255, 0.82);
  --mute: rgba(255, 255, 255, 0.5);
  --accent: #4fa9d0;
  --line: rgba(255, 255, 255, 0.18);
  --hover-bg: #278bb6;
  --hover-text: #ffffff;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* ---------- Stage ---------- */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 48px;
}
.logo { width: min(260px, 64vw); height: auto; display: block; margin-bottom: clamp(40px, 7vh, 80px); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) { .status__dot { animation: none; } }

h1 {
  margin: 0;
  max-width: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 6.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em; /* Großbuchstaben: auf Breite der Original-DIN */
  text-transform: uppercase;
  color: var(--head);
  hyphens: manual;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.audience {
  margin: 20px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  line-height: 1.2;
  color: var(--head);
  opacity: 0.85;
}
.lead { margin: clamp(32px, 5vh, 52px) 0 22px; max-width: 46ch; color: var(--text); }

/* ---------- Contact ---------- */
.contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.contact > li > a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.contact a:hover { background: var(--hover-bg); border-color: var(--hover-bg); color: var(--hover-text); }
.contact a:hover .contact__label { color: inherit; }
.contact__label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  padding: 24px;
  font-size: 0.85rem;
  color: var(--mute);
}
.footer a { color: var(--mute); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; width: 100%; }
.legal__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.legal__top img { width: 190px; height: auto; display: block; }
.legal__top a { font-size: 0.9rem; color: var(--accent); text-decoration: none; }
.legal__top a:hover { text-decoration: underline; }
.legal h1 { max-width: none; font-size: clamp(2.4rem, 6vw, 3.4rem); text-transform: none; letter-spacing: -0.015em; }
.legal h2 {
  margin: 36px 0 8px;
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--head);
}
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal address { font-style: normal; }

h1 .line { display: block; }
.contact > li > a { white-space: nowrap; }
@media (max-width: 520px) {
  .contact { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .contact > li > a { justify-content: space-between; width: 100%; }
}
.audience, .lead { text-wrap: balance; }
.audience, .legal h2 { letter-spacing: -0.015em; } /* gemischte Schreibung: nur leicht enger */

/* Impressum: Angaben als Label/Wert-Liste */
.facts { margin: 0; display: grid; grid-template-columns: minmax(160px, 34%) 1fr; gap: 14px 24px; }
.facts dt { font-weight: 600; color: var(--text); }
.facts dd { margin: 0; color: var(--text); }
.facts a, .legal p a { color: var(--accent); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 14px; } }

/* Datenschutz: Unterüberschriften und Stand */
.legal h2 { margin-top: 48px; font-size: 1.7rem; }
.legal h3 { margin: 26px 0 6px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text); }
.legal h2 + h3 { margin-top: 12px; }
.legal .stand { margin-top: 40px; font-size: 0.9rem; color: var(--mute); }
