:root {
  --page: #ffffff;
  --surface: #ffffff;
  --ink: #162038;
  --muted: #7e8392;
  --accent-gold: #d9a64a;
  --border: rgba(22, 32, 56, 0.055);
  --shadow-card: 0 16px 36px rgba(22, 32, 56, 0.08), 0 1px 2px rgba(22, 32, 56, 0.05);
  --shadow-video: 0 14px 28px rgba(22, 32, 56, 0.22);
  --radius-media: 17px;
  --radius-card: 15px;
  --content-width: 830px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 32, 56, 0.055), transparent 390px),
    var(--page);
}

button,
video {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(var(--content-width), calc(100% - 108px));
  margin: 0 auto;
  padding: 64px 0 36px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-frame {
  display: block;
  width: min(650px, 100%);
  aspect-ratio: 1.52;
  border-radius: var(--radius-media);
  box-shadow: var(--shadow-video);
  cursor: pointer;
  overflow: hidden;
  background: #b4401b;
}

.sunset-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  outline: none;
  transform: scale(1.12);
  transform-origin: center center;
}

.video-frame:focus-within {
  box-shadow: var(--shadow-video), 0 0 0 4px rgba(217, 166, 74, 0.42);
}

h1 {
  max-width: 760px;
  margin: 36px 0 20px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.25rem, 7.35vw, 5.05rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.separator {
  display: grid;
  grid-template-columns: 108px 32px 108px;
  align-items: center;
  justify-content: center;
  gap: 21px;
  width: 100%;
  margin-bottom: 26px;
  color: var(--accent-gold);
}

.separator span {
  height: 2px;
  background: currentColor;
}

.heart-icon {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 22px;
}

.language-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  min-height: 180px;
  padding: 32px 32px 30px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.flag {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(22, 32, 56, 0.18);
}

.flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.language-text {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.52;
}

.language-text[dir="rtl"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

.page-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 38px;
}

.brand-logo {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin-bottom: -18px;
}

.impressum-link {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 8px 12px;
  background: transparent;
  color: #6f7282;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.impressum-link:hover,
.impressum-link:focus-visible {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
  text-decoration-color: rgba(217, 166, 74, 0.85);
  text-underline-offset: 5px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(22, 32, 56, 0.34);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  padding: 38px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(22, 32, 56, 0.26);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  appearance: none;
  border: 1px solid rgba(22, 32, 56, 0.12);
  border-radius: 999px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22, 32, 56, 0.08);
}

.modal-close svg {
  width: 22px;
  height: 22px;
}

.modal-close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: rgba(217, 166, 74, 0.65);
  outline: none;
}

.modal-content {
  max-width: 570px;
  max-height: calc(min(86vh, 760px) - 76px);
  margin: 0 auto;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-gutter: stable;
}

.modal-title {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.92rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
}

.impressum-language-switch {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0 0 26px;
}

.impressum-lang-button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  appearance: none;
  border: 2px solid rgba(22, 32, 56, 0.1);
  border-radius: 999px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(22, 32, 56, 0.08);
}

.impressum-lang-button:hover,
.impressum-lang-button:focus-visible {
  border-color: rgba(217, 166, 74, 0.7);
  outline: none;
}

.impressum-lang-button[aria-pressed="true"] {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(217, 166, 74, 0.18), 0 9px 20px rgba(22, 32, 56, 0.12);
}

.impressum-flag,
.impressum-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.impressum-text {
  margin: 0;
}

.impressum-text[hidden] {
  display: none;
}

.impressum-text h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.68rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.16;
}

.modal-content p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .page-shell {
    width: calc(100% - 64px);
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .video-frame {
    width: 100%;
    aspect-ratio: 1.95;
    border-radius: 18px;
  }

  .sunset-video {
    transform: scale(1.24);
  }

  h1 {
    margin: 28px -8px 18px;
    font-size: clamp(2.25rem, 8.4vw, 3.35rem);
    line-height: 1.03;
  }

  .separator {
    grid-template-columns: 116px 34px 116px;
    gap: 20px;
    margin-bottom: 17px;
  }

  .heart-icon {
    width: 34px;
    height: 34px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .language-card {
    grid-template-columns: 96px 1fr;
    min-height: 145px;
    padding: 21px 25px 20px 28px;
    border-radius: 17px;
  }

  .flag {
    width: 61px;
    height: 61px;
  }

  .language-text {
    font-size: clamp(1.06rem, 4vw, 1.43rem);
    line-height: 1.36;
  }

  .page-footer {
    margin-top: 22px;
  }

  .brand-logo {
    width: 178px;
    height: 178px;
    margin-bottom: -24px;
  }

  .impressum-link {
    font-size: 1.18rem;
  }

  .modal-backdrop {
    padding: 18px;
  }

  .modal-panel {
    padding: 54px 24px 26px;
    border-radius: 17px;
  }

  .modal-content {
    max-height: calc(min(86vh, 760px) - 80px);
    padding-right: 10px;
  }

  .modal-title {
    margin-bottom: 16px;
    font-size: 1.72rem;
  }

  .impressum-language-switch {
    gap: 12px;
    margin-bottom: 22px;
  }

  .impressum-lang-button {
    width: 54px;
    height: 54px;
  }

  .impressum-text h3 {
    font-size: 1.48rem;
  }
}

@media (max-width: 430px) {
  .page-shell {
    width: calc(100% - 36px);
  }

  h1 {
    font-size: clamp(2rem, 9.5vw, 2.7rem);
  }

  .separator {
    grid-template-columns: minmax(72px, 1fr) 30px minmax(72px, 1fr);
    width: min(260px, 100%);
    gap: 14px;
  }

  .language-card {
    grid-template-columns: 70px 1fr;
    padding: 19px 18px;
  }

  .language-text {
    font-size: 1rem;
  }
}

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