:root {
  --background: #f7f6f2;
  --surface: rgba(255,255,255,.78);
  --text: #111;
  --muted: #666;
  --line: rgba(17,17,17,.16);
  --warning: #8a6415;
  --warning-bg: #fffaf0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.96), transparent 35%),
    radial-gradient(circle at 80% 85%, rgba(230,227,218,.66), transparent 40%),
    var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 4px; }

.startseite main {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 32px;
}

.card {
  width: min(940px, 100%);
  min-height: min(650px, calc(100vh - 128px));
  padding: clamp(44px, 8vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 28px 80px rgba(0,0,0,.07);
  backdrop-filter: blur(16px);
}

.logo {
  display: block;
  width: min(760px, 100%);
  height: auto;
}

.divider {
  width: 58px;
  height: 1px;
  margin: clamp(34px, 6vw, 54px) 0 28px;
  background: var(--line);
}

.aufbau {
  margin: 0 0 30px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .02em;
}

address {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }

footer {
  min-height: 64px;
  padding: 20px 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}

.rechtliches {
  width: min(820px, calc(100% - 32px));
  margin: 32px auto;
  padding: clamp(30px, 6vw, 64px);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 24px 70px rgba(0,0,0,.06);
}
.rechtliches h1 {
  margin: 0 0 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 400;
}

.rechtliches h2 {
  margin: 38px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.rechtliches p,
.rechtliches li {
  color: #383838;
  line-height: 1.75;
}

.rechtliches ul { padding-left: 20px; }

.hinweis {
  padding: 18px;
  border: 1px solid #c6a04d;
  background: var(--warning-bg);
  color: #4a390f !important;
}

.zurueck {
  display: inline-block;
  margin-top: 38px;
}

@media (max-width: 600px) {
  .startseite main { padding: 16px; }
  .card {
    min-height: calc(100vh - 96px);
    padding: 40px 24px;
  }
  address { letter-spacing: .05em; }
  .rechtliches { margin: 16px auto; }
}

.rechtliches .legal-top {
  margin-bottom: 34px;
}

.rechtliches .legal-top a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  letter-spacing: .04em;
}

.rechtliches .legal-top a:hover {
  text-decoration: underline;
}

.rechtliches .caps {
  font-weight: 700;
  text-transform: uppercase;
}
