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

:root {
  --overlay: rgba(0, 0, 0, 0.48);
  --card-bg: rgba(255, 255, 255, 0.10);
  --card-border: rgba(255, 255, 255, 0.18);
  --text: #f0ede8;
  --text-muted: rgba(240, 237, 232, 0.65);
  --accent: #d4a96a;
  --radius: 12px;
}

html, body { height: 100%; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url('haus.jpg') center center / cover no-repeat;
}

/* Center layout */
.center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

/* Card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.card h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Button */
.btn {
  display: inline-block;
  background: #1a1410;
  color: #f0ede8;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.7rem 2rem;
  border-radius: 6px;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Impressum card extras */
.card--text {
  text-align: left;
  max-width: 460px;
}

.card--text h1 {
  text-align: left;
  margin-bottom: 1.25rem;
}

.card--text h2 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 1.25rem 0 0.4rem;
}

address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact { margin-bottom: 1.25rem; }
.card a { color: #9a9a9a; text-decoration: none; }
.card a:hover { color: var(--text); }
.contact a:hover { text-decoration: underline; }

.legal {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.back {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.15s;
}
.back:hover { color: var(--text); }

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
}

.footer a {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer a:hover { color: var(--text); }
