:root {
  --bg-start: #f4f1eb;
  --bg-end: #e6ded1;
  --card: rgba(255, 255, 255, 0.72);
  --text: #1f1c18;
  --muted: #5e5549;
  --line: #d4c8b7;
  --accent: #866b47;
  --ci-link: #307070;
  --shadow: 0 20px 60px rgba(44, 36, 26, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(145deg, var(--bg-start), var(--bg-end));
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.impressum-card {
  width: min(760px, 100%);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeIn 650ms ease-out;
}

.header {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hero img {
  display: block;
  width: 100%;
  height: clamp(170px, 34vw, 280px);
  object-fit: cover;
  object-position: center;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 1rem 1.4rem 1.2rem;
}

.brand {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0.02em;
}

.subline {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.content {
  padding: 1.5rem 2rem 2rem;
}

h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.notice {
  margin: 0.65rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 0.75rem 1rem;
}

dt {
  font-weight: 600;
}

dd {
  margin: 0;
  color: #2f2a23;
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-legal {
  white-space: nowrap;
}

.footer-legal a {
  color: var(--ci-link);
  text-decoration: none;
  font-weight: 600;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: none;
  opacity: 0.9;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero img {
    height: clamp(145px, 42vw, 210px);
  }

  .brand-row {
    padding: 0.85rem 1rem 1rem;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  dt {
    margin-top: 0.65rem;
  }

  footer {
    justify-content: flex-start;
  }

  .footer-legal {
    white-space: normal;
  }
}