:root {
  --bg: #f4f5f2;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --text: #141414;
  --muted: #5f6664;
  --line: rgba(20, 20, 20, 0.12);
  --overlay: rgba(7, 20, 28, 0.36);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #c8d3d8 url("/assets/hero-slider/ostsee-01.jpg") center center / cover no-repeat;
}

.hero__slider,
.hero__slide,
.hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero__slider {
  z-index: 0;
  overflow: hidden;
  background: #c8d3d8 url("/assets/hero-slider/ostsee-01.jpg") center center / cover no-repeat;
}

.hero__slide {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 2000ms ease-in-out;
  pointer-events: none;
}

.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero__slide--1 { background-image: url("/assets/hero-slider/ostsee-01.jpg"); }
.hero__slide--2 { background-image: url("/assets/hero-slider/ostsee-02.jpg"); }
.hero__slide--3 { background-image: url("/assets/hero-slider/ostsee-03.jpg"); }
.hero__slide--4 { background-image: url("/assets/hero-slider/ostsee-04.jpg"); }
.hero__slide--5 { background-image: url("/assets/hero-slider/ostsee-05.jpg"); }

@media (max-width: 700px) {
  .hero {
    min-height: 100vh;
    background-image: url("/assets/hero-slider/ostsee-01-mobile.jpg");
  }
  .hero__slider { background-image: url("/assets/hero-slider/ostsee-01-mobile.jpg"); }
  .hero__slide--1 { background-image: url("/assets/hero-slider/ostsee-01-mobile.jpg"); }
  .hero__slide--2 { background-image: url("/assets/hero-slider/ostsee-02-mobile.jpg"); }
  .hero__slide--3 { background-image: url("/assets/hero-slider/ostsee-03-mobile.jpg"); }
  .hero__slide--4 { background-image: url("/assets/hero-slider/ostsee-04-mobile.jpg"); }
  .hero__slide--5 { background-image: url("/assets/hero-slider/ostsee-05-mobile.jpg"); }
}

.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(to top, rgba(7, 20, 28, 0.58) 0%, rgba(7, 20, 28, 0.18) 42%, rgba(7, 20, 28, 0.1) 100%),
    var(--overlay);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 4.5rem;
  color: #ffffff;
}


.hero__brand {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 0 1.25rem;
  overflow: hidden;
  border-radius: 22px;
}

.hero__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

@media (max-width: 700px) {
  .hero__brand {
    width: 104px;
    height: 104px;
  }
}

.hero__eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin: 1.4rem 0 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

.image-credit {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.site-main {
  padding-top: 0.9rem;
}

.notice {
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.notice h2,
.legal-page h1,
.legal-card h2 {
  letter-spacing: -0.03em;
}

.notice h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 2rem 0 2.5rem;
}

.site-footer__inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a,
.back-link,
.legal-card a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.legal-card a:hover,
.legal-card a:focus-visible {
  border-bottom-color: currentColor;
}

.subpage-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #dbe6eb 0%, #eff2ed 18%, #f4f5f2 100%);
}

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

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.legal-page h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.legal-card {
  padding: 1.4rem 1.3rem;
  margin-bottom: 1rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.legal-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.legal-card p {
  margin: 0 0 0.8rem;
  line-height: 1.72;
  color: var(--muted);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card--note {
  border-color: rgba(145, 104, 26, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
}

@media (max-width: 720px) {
  .hero {
    min-height: 86vh;
    min-height: 86svh;
    place-items: end center;
  }

  .hero__content {
    padding-bottom: 3.2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .image-credit {
    font-size: 0.74rem;
  }
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.error-card {
  width: min(100%, 680px);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.error-code {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.error-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
}

.error-card p {
  line-height: 1.7;
}

.error-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
