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

:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #6b7280;
  --accent: #0052cc;
  --accent-light: #e8f0fe;
  --border: #e5e7eb;
  --hero-bg: #0f172a;
  --hero-text: #f8fafc;
  --max: 760px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

/* ── Header / Hero ─────────────────────────────────────── */
header {
  background:
    linear-gradient(rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.68)),
    url(assets/berlin-web.jpg) center 40% / cover no-repeat;
  color: var(--hero-text);
  padding: 4.5rem 1.5rem 4rem;
  text-align: center;
}

.logo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
}

header .wordmark {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 600px;
  margin: 0 auto 1.25rem;
}

header p.lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Main content ──────────────────────────────────────── */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section + section { margin-top: 3rem; }

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

/* ── Contact card ──────────────────────────────────────── */
.contact-card {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  display: grid;
  gap: 0.5rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.contact-card a:hover { text-decoration: underline; }

.contact-card .row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.contact-card .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  min-width: 3.5rem;
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .sep { margin: 0 0.6rem; }

/* ── Impressum / Datenschutz pages ────────────────────── */
.page-header {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.page-header h1 { font-size: 1.6rem; font-weight: 700; }

article {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

article h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
article h2:first-child { margin-top: 0; }

article h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

article p { margin-bottom: 0.75rem; }
article ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
article li { margin-bottom: 0.3rem; }

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
  header { padding: 3rem 1.25rem 2.5rem; }
  main, article { padding: 2rem 1.25rem; }
  .contact-card { padding: 1.25rem; }
}
