/* DFH / UFA – Notseite
   Statisch, ohne externe Ressourcen (keine Webfonts, kein CDN, kein Tracking). */

:root {
  --blue: #07a0e1;
  --blue-dark: #05729f;
  --yellow: #eed428;
  --taupe: #746b61;
  --ink: #2a2622;
  --ink-soft: #5b544d;
  --line: #e6e1db;
  --bg: #f7f5f2;
  --card: #ffffff;
  --radius: 10px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 70%, var(--yellow) 70% 100%);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: block; line-height: 0; }
.logo img { width: 200px; height: auto; }

.lang-nav { display: flex; gap: 6px; }
.lang-nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--taupe);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.lang-nav a:hover { border-color: var(--blue); color: var(--blue-dark); }

/* ---------- Main ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 20px 56px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff8d6;
  border: 1px solid #ecd95a;
  color: #5a4a00;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e0a800;
  box-shadow: 0 0 0 0 rgba(224, 168, 0, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 168, 0, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(224, 168, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 168, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 30px 30px;
  scroll-margin-top: 16px;
}
.notice .lang-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 10px;
}
.notice h1,
.notice h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--ink);
}
.notice h3 {
  font-size: 1.05rem;
  margin: 26px 0 8px;
  color: var(--ink);
}
.notice p { margin: 0 0 14px; color: var(--ink-soft); }
.notice p.lead { color: var(--ink); }

.services {
  list-style: none;
  margin: 8px 0 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.services li {
  padding: 10px 14px 10px 40px;
  position: relative;
  border-top: 1px solid var(--line);
  background: #fcfbf9;
  color: var(--ink);
  font-weight: 500;
}
.services li:first-child { border-top: 0; }
.services li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid #c9c1b8;
  background:
    linear-gradient(45deg, transparent 45%, #c9c1b8 45% 55%, transparent 55%);
}

.thanks {
  margin-top: 22px !important;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--ink) !important;
}

/* ---------- Legal pages ---------- */
.legal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px 36px;
  max-width: 820px;
}
.legal h1 { font-size: 1.7rem; margin: 0 0 6px; }
.legal .sub { color: var(--taupe); margin: 0 0 24px; }
.legal h2 { font-size: 1.15rem; margin: 30px 0 8px; }
.legal h3 { font-size: 1rem; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { overflow-wrap: anywhere; }
.legal ul { padding-left: 22px; }
.legal address { font-style: normal; color: var(--ink-soft); margin-bottom: 14px; }
.back { display: inline-block; margin-bottom: 18px; font-size: 15px; }
.placeholder {
  background: #fff8d6;
  border: 1px dashed #d9c240;
  border-radius: 6px;
  padding: 12px 14px;
  color: #5a4a00 !important;
  font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--taupe);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--taupe); text-decoration: none; }
.footer-links a:hover { color: var(--blue-dark); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .header-inner { padding: 14px 16px; }
  .logo img { width: 160px; }
  main { padding: 24px 16px 40px; }
  .notice, .legal { padding: 22px 18px 24px; }
  .notice h1, .notice h2 { font-size: 1.25rem; }
  .footer-inner { padding: 16px; flex-direction: column; }
}

@media print {
  body { background: #fff; }
  .lang-nav, .status-dot, .skip { display: none; }
  .columns { grid-template-columns: 1fr; }
  .notice, .legal { border: 0; padding: 0 0 20px; }
}
