:root {
  --bg: #f5f2e8;
  --surface: #fffdf7;
  --text: #616163;
  --muted: #7c7c7e;
  --line: #1e1e1e;
  --accent: #ffcd00;
  --accent-dark: #c59e00;
  --footer-text: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 205, 0, 0.16), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.hero {
  padding: 1rem 1rem 0;
}

.hero__inner {
  position: relative;
  width: min(100%, 1450px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  box-shadow: var(--shadow);
}

.hero__logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 4rem;
  width: min(18rem, 44vw);
  height: auto;
  transform: translateX(-50%);
}

.hero__image {
  width: 100%;
  height: auto;
}

.intro {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

h1,
h3 {
  width: min(80%, 920px);
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
}

h2 {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--footer-text);
  font-size: clamp(1.1rem, 1.1vw + 0.95rem, 1.5rem);
  text-transform: uppercase;
  font-weight: 700;
}

h3 {
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1vw + 0.9rem, 1.45rem);
}

.intro__icon {
  margin: 2rem auto 0;
}

.split {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split--imprint {
  align-items: start;
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card--wide {
  margin-top: 2rem;
}

.center {
  text-align: center;
}

.list {
  margin: 0;
  padding: 0 0 0 1.25rem;
}

.list li {
  margin-bottom: 1rem;
  padding-left: 0.35rem;
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.35rem);
}

.note,
.notice {
  padding-top: 1.5rem;
}

.note p,
.notice p,
.imprint,
.footer {
  font-size: clamp(1rem, 0.5vw + 0.92rem, 1.15rem);
}

.notice {
  padding-bottom: 1rem;
}

.imprint {
  padding: 3rem 0 4rem;
}

.imprint__bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.page {
  padding: 2rem 0 4rem;
}

.page__back {
  margin: 0 0 1.5rem;
}

.page__section {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page__lead {
  font-size: 1.05rem;
}

.pdf-frame {
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #ffffff;
}

.footer {
  padding: 2rem 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 22%),
    var(--accent);
}

.footer__inner {
  text-align: center;
}

.footer__inner img {
  margin: 0 auto 1rem;
}

.footer__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.footer__legal {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
}

.print-button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.print-button img,
.footer__actions a img {
  margin: 0;
}

@media (max-width: 900px) {
  .hero__logo {
    bottom: 1.5rem;
    width: min(14rem, 48vw);
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-inline: 0;
  }

  .hero__inner {
    border-radius: 0;
  }

  .hero__logo {
    width: min(11rem, 52vw);
    bottom: 1rem;
  }

  h1,
  h3 {
    width: min(100%, 34rem);
    padding: 1rem 0;
  }

  .card {
    padding: 1rem;
  }
}

@media print {
  .hero,
  .footer {
    box-shadow: none;
  }

  .print-button {
    display: none;
  }
}
