/* Gemeinsame Vorlage – nur die Farbvariablen unterscheiden sich je Domain */
:root {
  --accent: #bacc00;    /* Markenfarbe 1 (Balken, Akzente) */
  --accent-2: #1a1a1a; /* Markenfarbe 2 */
  --ink: #5f6b00;          /* lesbare Akzentfarbe für Text/Links */
  --text: #3d434b;
  --muted: #6b7280;
  --bg: #f3f4f6;
  --card: #ffffff;
  --line: #e5e7eb;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 50% -200px, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    var(--bg);
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) 2rem;
}

.brand { text-align: center; margin-bottom: clamp(1.75rem, 5vw, 3rem); }

.logo {
  display: inline-block;
  width: min(420px, 82%);
  height: auto;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 32px -12px rgba(17, 24, 39, .14);
  padding: clamp(1.5rem, 5vw, 3rem);
  overflow: hidden;
  animation: rise .6s ease-out both;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.block + .block {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

h1, h2 {
  margin: 0 0 .6rem;
  color: #1f2329;
  line-height: 1.25;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem); font-weight: 700; }
h1::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: .6rem;
  border-radius: 3px;
  background: var(--accent);
}

h2 { font-size: 1.05rem; font-weight: 650; }

p {
  margin: 0;
  font-size: .95rem;
  color: var(--text);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

address {
  font-style: normal;
  font-size: .95rem;
  margin-top: 1rem;
}
address .line { display: block; }
address .firm { font-weight: 650; color: #1f2329; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover, a:focus-visible { color: var(--accent-2); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.foot {
  text-align: center;
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--muted);
}
.foot p { margin: 0; font-size: inherit; color: inherit; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}

@media print {
  body { background: #fff; }
  .card { box-shadow: none; border: 0; padding: 0; animation: none; }
  .card::before { display: none; }
}
