:root {
  color-scheme: light;
  --ink: #18212b;
  --muted: #5f6b76;
  --paper: #fffdf8;
  --soft: #f4f7f2;
  --line: #dfe7df;
  --green: #2f7d59;
  --blue: #2f6fa3;
  --coral: #c75f45;
  --yellow: #f2c94c;
  --poster-blue: #d7e3fd;
  --poster-ink: #3a2119;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(24, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--coral);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 1.35rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--ink);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--green);
}

.hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  color: var(--poster-ink);
  background: var(--poster-blue);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../media/images/hero-plakat.svg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(215, 227, 253, 0.98) 0%, rgba(215, 227, 253, 0.88) 39%, rgba(215, 227, 253, 0.18) 78%);
}

.hero-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
}

.hero h1 {
  max-width: 640px;
  font-size: 5.3rem;
  font-weight: 900;
  line-height: 0.93;
  color: var(--poster-ink);
}

.hero p {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--poster-ink);
  font-size: 1.15rem;
}

.hero .eyebrow {
  display: inline-block;
  color: var(--poster-ink);
  background: rgba(255, 253, 248, .72);
  border-radius: 8px;
  padding: .35rem .65rem;
}

.hero-date {
  display: inline-grid;
  gap: .15rem;
  margin-top: 1.4rem;
  padding: .95rem 1.15rem;
  border: 3px solid var(--poster-ink);
  border-radius: 8px;
  background: rgba(255, 253, 248, .78);
  color: var(--poster-ink);
  box-shadow: 10px 10px 0 rgba(58, 33, 25, .12);
}

.hero-date span {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-date strong {
  font-size: 1.9rem;
  line-height: 1;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button,
button.button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button.ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--line);
}

.button:hover,
button.button:hover,
input[type="submit"]:hover {
  background: var(--coral);
  color: var(--white);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(43, 139, 134, .26) 0 150px, transparent 151px),
    radial-gradient(circle at 78% 92%, rgba(203, 221, 162, .5) 0 210px, transparent 211px),
    radial-gradient(circle at 10% 94%, rgba(212, 116, 121, .3) 0 180px, transparent 181px),
    var(--poster-blue);
  border-bottom: 1px solid var(--line);
  color: var(--poster-ink);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.page-hero::before {
  right: max(2rem, calc((100vw - 1120px) / 2));
  top: 1.6rem;
  width: 170px;
  height: 100px;
  background: url("../media/images/hero-plakat.svg") 80% 16% / 520px auto no-repeat;
  opacity: .68;
}

.page-hero::after {
  right: max(1rem, calc((100vw - 1120px) / 2 + 190px));
  bottom: -34px;
  width: 118px;
  height: 156px;
  border-radius: 50% 50% 46% 54%;
  background: rgba(212, 116, 121, .54);
  box-shadow: 74px -28px 0 rgba(43, 139, 134, .32);
}

.page-hero-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.75rem;
  position: relative;
}

.page-hero p {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: var(--poster-ink);
}

.page-hero .eyebrow {
  display: inline-block;
  color: var(--poster-ink);
  background: rgba(255, 253, 248, .7);
  border-radius: 8px;
  padding: .3rem .6rem;
}

.page-hero h1 {
  color: var(--poster-ink);
}

.section,
.content-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 3.75rem 0;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  padding: 3.5rem 0;
}

.content-main > * + * {
  margin-top: 1.5rem;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 96px;
}

.card,
.info-card,
.news-item,
.market-card,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(24, 33, 43, 0.07);
}

.card,
.info-card,
.news-item,
.market-card,
.form-panel {
  padding: 1.25rem;
}

.market-card {
  border-top: 5px solid var(--yellow);
}

.market-card h2 {
  margin: 0.1rem 0 0;
  font-size: 2rem;
}

.market-title,
.eyebrow,
.news-date {
  color: var(--muted);
  font-weight: 800;
}

.eyebrow {
  margin: 0;
  color: var(--coral);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.fact-list {
  margin: 1rem 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.fact-list dt {
  color: var(--muted);
  font-weight: 800;
}

.fact-list dd {
  margin: 0;
}

.status-note,
.countdown-note,
.highlight {
  border-left: 4px solid var(--coral);
  background: #fff4ef;
  padding: 0.9rem 1rem;
  border-radius: 0 8px 8px 0;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card h3,
.news-item h3,
.card h2,
.card h3 {
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.info-card p,
.news-item p,
.card p {
  margin: 0.5rem 0 0;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.schedule {
  border-top: 1px solid var(--line);
}

.schedule-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.schedule-row span {
  color: var(--muted);
  font-weight: 800;
}

.schedule-row ul {
  margin: 0;
  padding-left: 1rem;
}

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

.download-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.download-link:hover,
.download-link:focus {
  border-color: var(--green);
  color: var(--green);
  background: var(--white);
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label,
.field-label {
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 700;
}

.radio-row input {
  width: auto;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner a {
  color: var(--white);
}

.legal-text h2,
.legal-text h3 {
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.8rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 620px;
    background-position: 60% center;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(215, 227, 253, .98) 0%, rgba(215, 227, 253, .9) 56%, rgba(215, 227, 253, .24) 100%);
  }

  .page-hero {
    background:
      radial-gradient(circle at 96% 8%, rgba(43, 139, 134, .2) 0 100px, transparent 101px),
      radial-gradient(circle at 2% 100%, rgba(212, 116, 121, .25) 0 130px, transparent 131px),
      var(--poster-blue);
  }

  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.1rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .content-shell,
  .grid,
  .grid.two,
  .gallery-grid,
  .form-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .schedule-row,
  .fact-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-inner {
    display: block;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .button-row,
  .sidebar,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .content-shell,
  .section {
    width: 100%;
    padding: 0;
  }
}
