:root {
  --ink: #16222d;
  --muted: #627180;
  --line: #d9e1e8;
  --sea: #0f3d5e;
  --signal: #c8272d;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --nav-width: 292px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
}
[v-cloak] { display: none; }
a { color: #075f92; text-decoration-thickness: .08em; text-underline-offset: .2em; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand img { width: 54px; height: auto; }
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.language-switch button {
  width: 34px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.language-switch button:hover {
  opacity: .78;
  transform: translateY(-1px);
}
.language-switch img {
  width: 28px;
  height: 18px;
  object-fit: cover;
  border: 0;
}
html[lang="de"] .lang-option-de,
html[lang="en"] .lang-option-en {
  display: none;
}
.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-button span {
  width: 21px;
  height: 2px;
  background: var(--ink);
}

.side-nav {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: min(var(--nav-width), 88vw);
  padding: 20px 18px;
  overflow-y: auto;
  background: linear-gradient(180deg, #102d43 0%, #0c2639 100%);
  color: #fff;
  transform: translateX(-104%);
  transition: transform .24s ease;
  box-shadow: none;
}
.side-nav.open { transform: translateX(0); }
.side-nav-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.side-nav-head button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background .18s ease, border-color .18s ease;
}
.side-nav-head button:hover {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
}
.nav-scrim {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(6,18,28,.44);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.nav-scrim.active { opacity: 1; pointer-events: auto; }
.nav-tree, .nav-tree ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-tree a {
  position: relative;
  display: block;
  padding: 11px 12px;
  color: rgba(255,255,255,.88);
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.nav-tree a:hover, .nav-tree a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-left-color: var(--signal);
}
.nav-tree a.active {
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  font-weight: 700;
}
.nav-tree li.active-parent > a {
  color: #fff;
  background: rgba(255,255,255,.095);
  border-left-color: transparent;
  font-weight: 700;
}
.nav-tree a:hover {
  transform: translateX(3px);
}
.nav-tree ul {
  margin: 2px 0 8px;
}
.nav-tree ul a {
  padding: 8px 12px 8px 28px;
  font-size: .95rem;
  color: rgba(255,255,255,.82);
}
.nav-tree ul ul a {
  padding-left: 44px;
  font-size: .9rem;
  color: rgba(255,255,255,.76);
}

.page-shell { min-height: calc(100vh - 78px); }
.hero {
  position: relative;
  width: 100%;
  height: clamp(170px, 23vw, 310px);
  overflow: hidden;
  background: var(--soft);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 45, 67, .3), rgba(16, 45, 67, 0) 38%),
    linear-gradient(180deg, rgba(255,255,255,0) 62%, rgba(16, 45, 67, .16));
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  animation: heroSettle 1.2s ease both;
}
.hero-water-canvas {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 31%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
}
.harbor-light {
  position: absolute;
  z-index: 4;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd784;
  box-shadow: 0 0 7px 2px rgba(255, 178, 76, .42);
  pointer-events: none;
  opacity: .72;
  animation: harborTwinkle 3.4s ease-in-out infinite;
}
.light-one { left: 33%; top: 54%; animation-delay: -.4s; }
.light-two { left: 42%; top: 56%; animation-delay: -1.2s; }
.light-three { left: 58%; top: 50%; animation-delay: -2s; }
.light-four { left: 72%; top: 52%; animation-delay: -.8s; }
.light-five { left: 84%; top: 49%; animation-delay: -1.7s; }
.light-six { left: 94%; top: 57%; animation-delay: -2.5s; }
@keyframes harborTwinkle {
  0%, 100% {
    opacity: .48;
    transform: scale(.9);
    box-shadow: 0 0 5px 1px rgba(255, 178, 76, .3);
  }
  50% {
    opacity: .92;
    transform: scale(1.08);
    box-shadow: 0 0 9px 3px rgba(255, 196, 92, .55);
  }
}
@keyframes heroSettle {
  0% {
    opacity: .92;
    transform: scale(1.018);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.content-layout {
  width: min(1360px, calc(100% - 48px));
  margin: 44px auto 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(28px, 5vw, 76px);
}
.content {
  max-width: 880px;
}
.content:has(.content-table),
.content:has(table),
.content:has(.download-list) {
  max-width: 1040px;
}
.content-reveal-enter-active {
  animation: contentFadeIn .38s ease both;
}
.content-reveal-leave-active {
  animation: contentFadeOut .18s ease both;
}
.fade-content {
  animation: contentFadeIn .38s ease both;
}
.is-content-fading .fade-content {
  animation: contentFadeOut .18s ease both;
}
.is-content-fading .content {
  filter: grayscale(.08);
}
.fade-content h1,
.fade-content .content-block,
.fade-content > .richtext {
  animation: contentRiseIn .46s ease both;
}
.fade-content .content-block:nth-of-type(1) { animation-delay: .05s; }
.fade-content .content-block:nth-of-type(2) { animation-delay: .11s; }
.fade-content .content-block:nth-of-type(3) { animation-delay: .17s; }
.fade-content .content-block:nth-of-type(4) { animation-delay: .23s; }
@keyframes contentFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes contentFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes contentRiseIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
h1 {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 14px;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  line-height: 1.16;
  font-weight: 650;
  color: var(--sea);
}
h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(180px, 48%);
  height: 3px;
  background: linear-gradient(90deg, var(--signal), rgba(200, 39, 45, 0));
}
.content-block {
  margin: 0 0 50px;
  padding-top: 6px;
}
.content-block h2,
.richtext h2 {
  position: relative;
  margin: 0 0 20px;
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  line-height: 1.24;
  color: var(--sea);
}
.richtext h3 {
  margin-top: 24px;
  font-size: 1.02rem;
  color: var(--sea);
}
.richtext p {
  margin: 0 0 18px;
  color: #526170;
}
.richtext p:first-child {
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.72;
  color: #344657;
}
.richtext a {
  transition: color .18s ease, text-decoration-color .18s ease;
}
.richtext a:hover {
  color: var(--signal);
  text-decoration-color: var(--signal);
}
.richtext p a,
.richtext li a {
  font-weight: 600;
}
.richtext p:has(a:only-child),
.richtext li:has(a) {
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.richtext p:has(a:only-child) {
  max-width: 760px;
  margin-bottom: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}
.richtext p:has(a:only-child):hover,
.richtext li:has(a):hover {
  background: #f6f9fb;
  border-color: rgba(15, 61, 94, .28);
}
.richtext ul,
.richtext ol {
  padding-left: 1.25rem;
}
.richtext li {
  margin: 8px 0;
  padding-left: .12rem;
  color: #526170;
}
.richtext li::marker {
  color: var(--signal);
}
.richtext figure { margin: 28px 0; }
.richtext figure.float-left { float: left; width: min(46%, 360px); margin: 4px 28px 18px 0; }
.richtext figure.float-right { float: right; width: min(46%, 360px); margin: 4px 0 18px 28px; }
.richtext img {
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(22, 34, 45, .1);
}
.richtext figcaption {
  padding-top: 9px;
  border-top: 1px solid rgba(217, 225, 232, .82);
  color: var(--muted);
  font-size: .9rem;
  margin-top: 10px;
}
.richtext .content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(22, 34, 45, .06);
}
.richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(22, 34, 45, .06);
}
.richtext .content-table th,
.richtext .content-table td,
.richtext table th,
.richtext table td {
  border: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}
.richtext .content-table th,
.richtext table th {
  color: var(--sea);
  background: #f4f7f9;
  font-weight: 700;
}
.richtext .content-table tr:nth-child(even) td,
.richtext table tr:nth-child(even) td {
  background: #fbfcfd;
}
.richtext .download-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.richtext .download-list li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fbfcfd;
  color: #526170;
}
.richtext .video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 26px 0;
  background: #111;
}
.richtext .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.richtext::after { content: ""; display: block; clear: both; }

.banners {
  align-self: start;
  display: grid;
  gap: 16px;
  padding-top: 2px;
}
.banners h2 {
  margin: 0 0 2px;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
}
.banner {
  min-height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f9fbfc 100%);
  text-decoration: none;
  color: var(--ink);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15, 61, 94, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.banner:hover {
  border-color: rgba(15, 61, 94, .38);
  box-shadow: 0 14px 28px rgba(15, 61, 94, .12);
  transform: translateY(-2px);
}
.banner img {
  max-height: 84px;
  width: 100%;
  object-fit: contain;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(180px, auto) auto auto;
  gap: 10px 24px;
  align-items: center;
  padding: 24px clamp(16px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(90deg, #102d43, #153b56);
  font-size: .92rem;
  border-top: 3px solid var(--signal);
}
.site-footer strong {
  letter-spacing: .02em;
}
.site-footer span,
.site-footer a {
  justify-self: start;
}
.site-footer span {
  color: rgba(255,255,255,.86);
}
.site-footer a {
  color: #dff2ff;
  text-decoration-color: rgba(223, 242, 255, .42);
}

@media (min-width: 1120px) {
  .site-header { padding-left: 32px; }
  .site-header .brand {
    width: auto;
    min-width: 380px;
  }
  .menu-button, .nav-scrim, .side-nav-head button { display: none; }
  .side-nav-head { display: none; }
  .side-nav {
    top: 78px;
    z-index: 30;
    transform: none;
    box-shadow: none;
  }
  .page-shell { margin-left: var(--nav-width); }
  .site-footer { margin-left: var(--nav-width); }
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 820px) {
  .brand span { font-size: .82rem; }
  .site-header { gap: 12px; }
  .brand {
    min-width: 0;
    white-space: normal;
  }
  .language-switch button {
    width: 32px;
    height: 24px;
  }
  .side-nav {
    padding: 18px 16px 24px;
    box-shadow: none;
  }
  .side-nav-head {
    margin-bottom: 16px;
  }
  .nav-tree a {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav-tree ul a {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .hero { height: clamp(165px, 36vw, 220px); }
  .hero img { object-position: center 76%; }
  .hero-water-canvas { height: 44%; }
  .harbor-light {
    width: 4px;
    height: 4px;
  }
  .content-layout {
    width: calc(100% - 56px);
    grid-template-columns: 1fr;
    margin-top: 34px;
  }
  h1 { font-size: clamp(1.35rem, 5vw, 1.7rem); }
  .content-block { margin-bottom: 64px; }
  .banners { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .banners {
    align-items: stretch;
    justify-items: stretch;
  }
  .banners h2 {
    grid-column: 1 / -1;
  }
  .banner {
    width: 100%;
    min-height: 78px;
  }
  .richtext figure.float-left,
  .richtext figure.float-right {
    float: none;
    width: 100%;
    margin: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-water-canvas,
  .harbor-light {
    animation: none;
    display: none;
  }
  .hero img,
  .content-reveal-enter-active,
  .content-reveal-leave-active,
  .fade-content,
  .is-content-fading .fade-content,
  .fade-content h1,
  .fade-content .content-block,
  .fade-content > .richtext {
    animation: none;
  }
  .nav-tree a,
  .banner {
    transition: none;
  }
}
