@font-face {
  font-family: 'Fraunces';
  src: url('schriften/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('schriften/fraunces-kursiv.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('schriften/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('schriften/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --nacht: #0b1620;
  --wand: #0f1e2b;
  --tafel: #14273a;
  --creme: #f1e9d8;
  --leise: #a9b4bf;
  --gold: #c9a961;
  --gold-tief: #8f7436;
  --linie: rgba(201, 169, 97, 0.28);
  --nm-blau: #41a9e0;
  --nm-pink: #e8408e;
  --nm-tinte: #061a29;
  --schrift: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --titel: 'Fraunces', 'Iowan Old Style', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  background: var(--nacht);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--nacht);
  color: var(--creme);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.65;
  hyphens: manual;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--titel);
  font-weight: 380;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}
h3 {
  font-size: 1.24rem;
  font-weight: 480;
}
h1 em,
h2 em {
  font-style: italic;
  color: var(--gold);
}
p {
  margin: 0 0 1em;
  max-width: 62ch;
}
.unsichtbar {
  position: absolute;
  left: -9999px;
}
.unsichtbar:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--creme);
  color: var(--nacht);
  padding: 8px 14px;
}

.galerie {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
}
.wand {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 0 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.leinwand {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--gold-tief);
  outline: 1px solid var(--gold);
  outline-offset: 5px;
  margin: 6px;
  background: var(--wand);
}
.gemaelde {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.4s ease,
    transform 9s ease-out;
}
.gemaelde.an {
  opacity: 1;
  transform: scale(1);
}
.gemaelde[data-bild='segelyacht'] {
  object-position: 78% 50%;
}
.gemaelde[data-bild='hafen'] {
  object-position: 30% 50%;
}
.schild {
  margin: 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  max-width: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leise);
}
.schild b {
  font-family: var(--titel);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
}

.blatt {
  min-width: 0;
  padding: 0 clamp(22px, 4.4vw, 68px);
}
.kopf {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 20px;
  align-items: center;
  padding-top: 30px;
}
.marke {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--creme);
}
.marke:hover {
  color: var(--creme);
}
.marke svg {
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--gold);
}
.m-rose {
  transform-origin: 24px 24px;
  animation: peilen 9s ease-in-out infinite;
}
.m-wort {
  display: grid;
  line-height: 1;
}
.m-wort b {
  font-family: var(--titel);
  font-weight: 420;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.m-wort small {
  font-family: var(--titel);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 3px;
}
.kopf nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  padding: 11px 0;
}
.kopf nav a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leise);
  white-space: nowrap;
}
.kopf nav a:hover,
.kopf nav a[aria-current] {
  color: var(--gold);
}
.sprachwahl {
  display: flex;
  gap: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.sprachwahl > * {
  padding: 5px 8px;
  text-decoration: none;
  color: var(--leise);
}
.sprachwahl span {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
.betreiber {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  max-width: none;
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: var(--leise);
}
.betreiber b {
  color: var(--creme);
}
.nm-marke {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Manrope', var(--schrift);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--creme);
  flex: none;
}
.nm-marke img {
  width: 22px;
  height: 22px;
}

.pille {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.vorspann {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--leise);
  max-width: 52ch;
}
.knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--nacht);
  font-weight: 620;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}
.knopf:hover {
  background: transparent;
  color: var(--gold);
}
.knopf.eigen {
  background: var(--nm-blau);
  border-color: var(--nm-blau);
  color: var(--nm-tinte);
}
.knopf.eigen:hover {
  background: transparent;
  color: var(--nm-blau);
}
.knopf.leise {
  background: transparent;
  color: var(--creme);
  border-color: var(--linie);
}
.knopf.leise:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.auftakt {
  padding-block: clamp(40px, 7vh, 84px) 8px;
}
.auftakt .zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.abschnitt {
  padding-block: clamp(46px, 7vw, 84px);
  border-bottom: 1px solid var(--linie);
}
.kopfzeile {
  margin-bottom: 28px;
}
.kopfzeile .nr {
  display: block;
  font-family: var(--titel);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.kopfzeile .nr::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 54px;
  height: 1px;
  background: var(--gold);
  margin-left: 12px;
}

.satz p {
  font-family: var(--titel);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 340;
  line-height: 1.75;
  max-width: none;
  margin-bottom: 0.5em;
}
.satz select,
.satz input {
  font: inherit;
  font-style: italic;
  color: var(--gold);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  padding: 0 2px;
  margin: 0 2px;
  cursor: pointer;
}
.satz select option {
  background: var(--wand);
  color: var(--creme);
  font-style: normal;
}
.satz input[type='number'] {
  width: 4.2ch;
  -moz-appearance: textfield;
  appearance: textfield;
}
.satz input[type='number']::-webkit-outer-spin-button,
.satz input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.satz #yt-antrieb {
  width: 4.6ch;
}
.satz input[type='text'] {
  width: 7.6ch;
  text-align: right;
}
.luecke {
  white-space: nowrap;
  color: var(--gold);
  font-style: italic;
}
.satz .hinweis,
.hinweis {
  font-family: var(--schrift);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--leise);
  margin: 0;
}

.brett {
  margin-top: 30px;
  background: var(--tafel);
  border: 1px solid var(--gold-tief);
  padding: clamp(16px, 2.4vw, 28px);
  min-width: 0;
}
.brett h3 {
  font-style: italic;
  color: var(--gold);
}
.brett h3 small {
  display: block;
  font-family: var(--schrift);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--leise);
  margin-top: 6px;
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 10px;
}
.matrix th,
.matrix td {
  border: 1px solid var(--linie);
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
.matrix thead th {
  font-family: var(--titel);
  font-size: 1.08rem;
  font-weight: 460;
  padding: 12px 4px 10px;
}
.matrix thead th small {
  display: block;
  font-family: var(--schrift);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--leise);
}
.matrix thead th.ecke {
  font-family: var(--schrift);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--leise);
  width: 22%;
}
.matrix tbody th {
  padding: 6px 2px;
}
.matrix tbody th b {
  font-family: var(--titel);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--creme);
  white-space: nowrap;
}
.zelle {
  display: block;
  width: 100%;
  font: inherit;
  font-family: var(--titel);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 420;
  color: var(--creme);
  background: transparent;
  border: 0;
  padding: 15px 2px 14px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s;
}
.zelle::after {
  content: '';
  position: absolute;
  left: 14%;
  bottom: 6px;
  height: 2px;
  width: calc(var(--anteil, 0) * 72%);
  background: var(--gold-tief);
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.zelle:hover {
  background: rgba(201, 169, 97, 0.12);
}
.zelle[aria-pressed='true'] {
  background: var(--gold);
  color: var(--nacht);
}
.zelle[aria-pressed='true']::after {
  background: var(--nacht);
}
.zelle.guenstig::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border: 8px solid var(--nm-pink);
  border-left-color: transparent;
  border-bottom-color: transparent;
}
.zelle.fest {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 6px;
  white-space: normal;
}
.zelle.fest small {
  font-family: var(--schrift);
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
  line-height: 1.3;
}
.matrix.laedt .zelle {
  opacity: 0.35;
}
.zahl {
  display: inline-block;
}
.zahl.neu {
  animation: umschlagen 0.55s ease;
}
.ergebnis {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
}
.ergebnis .summe {
  font-family: var(--titel);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 360;
  line-height: 1;
  color: var(--gold);
}
.ergebnis .summe small {
  font-family: var(--schrift);
  font-size: 0.84rem;
  color: var(--leise);
  margin-left: 8px;
}
.ergebnis p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--leise);
}
.brett > .hinweis {
  margin-top: 16px;
}
.meldung {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-left: 2px solid var(--nm-pink);
  font-size: 0.93rem;
}
.meldung[hidden] {
  display: none;
}

.stufen {
  display: grid;
  gap: 0;
}
.stufe {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 18px;
  padding: 24px 0;
  border-top: 1px solid var(--linie);
}
.stufe::before {
  content: attr(data-nr);
  grid-row: 1 / span 3;
  font-family: var(--titel);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}
.stufe > * {
  grid-column: 2;
}
.fund {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.spalten {
  display: grid;
  gap: 34px;
}
.liste {
  list-style: none;
  padding: 0;
  margin: 0;
}
.liste li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--linie);
  max-width: 62ch;
}
.liste li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 24px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.liste.nein li {
  color: var(--leise);
}
.liste.nein li::before {
  background: var(--leise);
}

.fragen details {
  border-bottom: 1px solid var(--linie);
}
.fragen summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--titel);
  font-size: 1.18rem;
  padding: 17px 40px 17px 0;
  position: relative;
}
.fragen summary::-webkit-details-marker {
  display: none;
}
.fragen summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.25s;
}
.fragen details[open] summary::after {
  transform: rotate(45deg);
}
.fragen details p {
  color: var(--leise);
  padding-bottom: 14px;
}

.seite {
  padding-block: clamp(40px, 7vh, 80px) clamp(46px, 7vw, 84px);
}
.seite .vorspann {
  margin-bottom: 36px;
}
.text {
  padding-block: 28px;
  border-top: 1px solid var(--linie);
}
.text h2 {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
}
.text ul,
.text ol {
  max-width: 62ch;
  padding-left: 1.2em;
  margin: 0 0 1em;
}
.text li {
  margin-bottom: 0.5em;
}
.text li::marker {
  color: var(--gold);
}
.merk {
  border-left: 2px solid var(--gold);
  background: var(--tafel);
  padding: 18px 22px;
  max-width: 62ch;
  margin: 0 0 1em;
}
.merk p:last-child {
  margin: 0;
}
.tafel-huelle {
  overflow-x: auto;
  margin: 4px 0 30px;
}
.tafel {
  width: 100%;
  border-collapse: collapse;
  background: var(--tafel);
  font-size: 0.93rem;
  min-width: 560px;
}
.tafel caption {
  caption-side: top;
  text-align: left;
  font-size: 0.84rem;
  color: var(--leise);
  padding-bottom: 10px;
}
.tafel th,
.tafel td {
  border: 1px solid var(--linie);
  padding: 11px 12px;
  text-align: right;
  white-space: nowrap;
}
.tafel thead th {
  font-size: 0.76rem;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.tafel th:first-child,
.tafel td:nth-child(3) {
  text-align: left;
}
.tafel tbody th {
  font-family: var(--titel);
  font-weight: 440;
}
.tafel tbody th small {
  font-family: var(--schrift);
  color: var(--leise);
}
.tafel td {
  font-family: var(--titel);
  font-size: 1.04rem;
}
.tafel td b {
  color: var(--gold);
  font-weight: 460;
}
.tafel-fuss {
  font-size: 0.84rem;
  color: var(--leise);
  margin-top: 10px;
}
.pruefliste {
  list-style: none;
  counter-reset: frage;
  padding: 0;
  margin: 0 0 20px;
}
.pruefliste li {
  counter-increment: frage;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 18px;
  padding: 22px 0;
  border-top: 1px solid var(--linie);
}
.pruefliste li::before {
  content: counter(frage);
  grid-row: 1 / span 2;
  font-family: var(--titel);
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
}
.pruefliste li > * {
  grid-column: 2;
}
.pruefliste p {
  margin: 0;
  color: var(--leise);
}

.fuss {
  padding-block: 44px 34px;
  font-size: 0.9rem;
  color: var(--leise);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}
.fuss > div:first-child {
  grid-column: 1 / -1;
}
.fuss h2 {
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  margin: 12px 0 10px;
}
.fuss ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fuss li {
  margin-bottom: 7px;
}
.fuss a {
  color: var(--creme);
}
.fuss a:hover {
  color: var(--gold);
}
.stand-zeile {
  grid-column: 1 / -1;
  border-top: 1px solid var(--linie);
  padding-top: 16px;
  margin: 0;
  max-width: none;
  font-size: 0.82rem;
}

.js .rein {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .rein.da {
  opacity: 1;
  transform: none;
}
[data-v='1'] {
  --i: 1;
}
[data-v='2'] {
  --i: 2;
}

@keyframes peilen {
  0%,
  100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(9deg);
  }
}
@keyframes umschlagen {
  0% {
    transform: translateY(-40%);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1000px) {
  .galerie {
    display: block;
  }
  .wand {
    position: relative;
    height: 46vh;
    min-height: 260px;
    padding: 14px 14px 0;
  }
  .gemaelde:not(:first-child) {
    display: none;
  }
  .gemaelde:first-child {
    opacity: 1;
    transform: none;
  }
  .kopf {
    padding-top: 20px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .kopf nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
  }
  .kopf nav a {
    white-space: normal;
    font-size: 0.72rem;
  }
  .matrix thead th {
    font-size: 0.9rem;
  }
  .matrix thead th.ecke {
    font-size: 0.54rem;
    letter-spacing: 0;
    width: 29%;
    padding-inline: 0;
  }
  .matrix tbody th b {
    font-size: 0.86rem;
  }
  .brett {
    padding: 12px;
  }
  .fuss {
    grid-template-columns: 1fr;
  }
  .stufe,
  .pruefliste li {
    grid-template-columns: 40px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .rein {
    opacity: 1;
    transform: none;
  }
}
