:root {
  color-scheme: light dark;
  --bordeaux: #451923;
  --creme: #ffe6bc;
  --gold: #f3cc97;
  --menuehoehe: 66px;
  --sichtbarer-unterer-abstand: 0px;
  --leseschrift: 26px;
  --startzoom: 1.20;
  --logo-hoehe: calc((100dvh - var(--menuehoehe)) * 0.9);
  --logo-breite: calc(var(--logo-hoehe) * 2100 / 2970);
  --spaltenabstand: clamp(40px, 6vw, 96px);
}

/* Beide Farbschemata verwenden die feste Markenpalette. Browser sollen keine
   automatische Ersatzpalette für die dunkle Darstellung erzeugen. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bordeaux);
  color: var(--creme);
  font-family: Georgia, serif;
}

/* Das Bild füllt das Fenster; die Navigation liegt unten als eigene Ebene darüber. */
main {
  position: relative;
}

.einstieg {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  container-type: size;
  background: var(--bordeaux);
}

/* Querformat: Die Bildfläche füllt das Fenster; Baumkrone und Wiese werden proportional beschnitten. */
.bildkomposition {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.einstieg__bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 67%;
  transform-origin: 50% 52%;
}

/* Der weiche Verlauf verbessert die Lesbarkeit, ohne einen Balken zu erzeugen. */
.einstieg__abdunklung {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 28% 19% at 50% 10%, rgba(69, 25, 35, 0.57) 0%, rgba(69, 25, 35, 0.38) 48%, rgba(69, 25, 35, 0) 100%);
}

.einstieg__titel {
  margin: 0;
}

.einstieg__marke {
  position: absolute;
  top: 0.8%;
  left: 50%;
  width: min(32cqw, 35cqh);
  height: auto;
  transform: translateX(-50%);
}

/* Während des Bildladens bleibt der Schriftzug verborgen; das Lotusmotiv startet vergrößert. */
.einstieg.wird-geladen .einstieg__bild {
  transform: scale(var(--startzoom));
}

.einstieg.wird-geladen .einstieg__marke,
.einstieg.wird-geladen .einstieg__abdunklung {
  opacity: 0;
}

/* Nach dem Laden beginnt die abgestimmte Animation. */
.einstieg.ist-bereit:not(.laeuft) .einstieg__bild {
  transform: scale(var(--startzoom));
}

.einstieg.ist-bereit:not(.laeuft) .einstieg__abdunklung,
.einstieg.ist-bereit:not(.laeuft) .einstieg__marke {
  opacity: 0;
}

.einstieg.laeuft .einstieg__bild {
  animation: herauszoomen 2.4s cubic-bezier(0.45, 0, 0.55, 1) 0.95s both;
}

.einstieg.laeuft .einstieg__abdunklung {
  animation: einblenden 1.2s ease-in-out 3.05s both;
}

.einstieg.laeuft .einstieg__marke {
  animation: einblenden 1.3s ease-in-out 3.25s both;
}

@keyframes herauszoomen {
  0% {
    transform: scale(var(--startzoom));
  }

  100% {
    transform: scale(1);
  }
}

@keyframes einblenden {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animation-bedienung {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

#bild-status {
  max-width: 320px;
  margin: 12px 0 0;
  padding: 10px;
  background: var(--bordeaux);
}

#bild-status:empty {
  display: none;
}

/* Die Navigationszeile bleibt am unteren Fensterrand und führt zu den Abschnitten. */
.navigationsstreifen {
  position: fixed;
  z-index: 4;
  bottom: var(--sichtbarer-unterer-abstand);
  left: 0;
  width: 100%;
  display: grid;
  grid-template-rows: 46px;
  padding: 10px 20px;
  background: var(--bordeaux);
}

/* Der Verlauf liegt über dem Bild und vermeidet eine harte waagerechte Kante. */
.navigationsstreifen::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: clamp(24px, 3.4dvh, 40px);
  background: linear-gradient(to bottom, transparent, var(--bordeaux));
  pointer-events: none;
}

/* Die Bordeaux-Fläche reicht auch während mobiler Browserleisten-Bewegungen
   unter die Navigation; dort darf kein Lesetext durchscheinen. */
.navigationsstreifen::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100lvh;
  background: var(--bordeaux);
  pointer-events: none;
}

.einstieg.wird-geladen~.navigationsstreifen,
.einstieg.ist-bereit:not(.laeuft)~.navigationsstreifen {
  opacity: 0;
  visibility: hidden;
}

.einstieg.laeuft~.navigationsstreifen {
  animation: navigationEinblenden 1.2s ease-in-out 5s both;
}

/* Nach dem Einblenden kehrt die Navigation zur normalen festen Darstellung zurück. */
.einstieg.laeuft~.navigationsstreifen.ist-sichtbar {
  animation: none;
  opacity: 1;
  visibility: visible;
}

@keyframes navigationEinblenden {
  from {
    opacity: 0;
    visibility: hidden;
  }

  to {
    opacity: 1;
    visibility: visible;
  }
}

.hauptnavigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  white-space: nowrap;
  font-family: Garamond, Georgia, serif;
}

.hauptnavigation a {
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: #70433e;
  color: var(--creme);
  font: inherit;
  font-size: 19px;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.hauptnavigation a:hover,
.hauptnavigation a[aria-current="location"] {
  background: #825048;
  color: #fff0d8;
}

.hauptnavigation a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Gleich große äußere Abstände rahmen die Textspalte links und das Logo rechts. */
.lesebereich {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--logo-breite);
  align-items: start;
  gap: var(--spaltenabstand);
  width: calc(100% - 2 * clamp(24px, 2.5vw, 60px));
  margin: 0 auto;
  padding: 60px 0 calc(var(--menuehoehe) + 144px);
}

.lesebereich__texte {
  display: grid;
  gap: 56px;
  min-width: 0;
}

.leseabschnitt {
  scroll-margin-top: 36px;
}

.abschnittstitel {
  margin-bottom: 20px;
  text-align: center;
  color: var(--gold);
  font-family: Garamond, Georgia, serif;
}

.abschnittstitel h2 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
}

.abschnittstitel img {
  display: block;
  width: min(400px, 65%);
  height: auto;
  margin: 8px auto 0;
}

/* CSS Sticky hält das Logo ruhig und begrenzt seine Bewegung auf den Lesebereich. */
.lesebereich__logo {
  position: sticky;
  top: calc((100dvh - var(--menuehoehe) - var(--logo-hoehe)) / 2);
  align-self: start;
}

.lesebereich__logo img,
.lesebereich__logo svg {
  display: block;
  width: 100%;
  height: var(--logo-hoehe);
  object-fit: contain;
}

.textflaeche,
.behandlung {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(120deg, #fff0db, #f3c6ac 60%, #dfaa97);
  border: 1px solid #eab783;
  border-radius: 22px;
  box-shadow: 0 3px 14px rgba(25, 8, 15, 0.12);
  color: #661d35;
  font-family: Garamond, Georgia, serif;
  font-size: var(--leseschrift);
  line-height: 1.55;
}

/* Die warme Außenlinie und helle Innenlinie entsprechen den Flyer-Karten. */
.textflaeche::before,
.behandlung::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 240, 216, 0.85);
  border-radius: 17px;
  pointer-events: none;
}

.textflaeche h3 {
  margin: 30px 0 12px;
  font-size: 28px;
}

.textflaeche>h3:first-child {
  margin-top: 0;
}

.textflaeche p {
  margin: 0 0 18px;
}

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

.textflaeche a {
  color: inherit;
  text-underline-offset: 3px;
}

/* Die Kontaktkarte hebt den Namen als Überschrift hervor und zentriert alle Angaben. */
.kontaktflaeche {
  text-align: center;
}

/* Der persönliche Abschluss steht unter der Kontaktkarte auf dem Bordeaux-Hintergrund. */
.kontaktabschluss {
  margin: 36px 0 0;
}

.kontaktabschluss p {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 36px);
  font-style: italic;
  line-height: 1.3;
}

.kontaktabschluss__logo {
  display: none;
  width: min(88%, 460px);
  height: auto;
  margin: 36px auto 0;
}


/* Goldene Lebensregeln stehen frei auf Bordeaux; der letzte Absatz bleibt über der Navigation lesbar. */
.gokai {
  width: 100%;
  margin: 8px 0 0;
  color: var(--gold);
  font-family: Garamond, Georgia, serif;
  font-size: var(--leseschrift);
  line-height: 1.5;
  text-align: center;
}

.gokai .abschnittstitel {
  margin-bottom: 36px;
}

.gokai__lautsprachlich {
  display: block;
  margin: 4px 0 0;
  font-size: 0.88em;
  font-style: italic;
  font-weight: normal;
}

.gokai__regeln {
  display: grid;
  gap: 28px;
}

.gokai__regeln p {
  margin: 0;
  font-weight: bold;
}

/* Die Behandlungskarten trennen Name, Kurzbeschreibung und Buchungsart von den Zeit- und Preisangaben. */
.behandlungsuebersicht {
  display: grid;
  gap: 24px;
  font-family: Garamond, Georgia, serif;
  container-type: inline-size;
}

/* Die verfügbare Textspalte entscheidet, ob drei gut lesbare Karten Platz haben. */
#inhalt-behandlungen {
  container: behandlungen / inline-size;
}

/* Eigene Textfläche unter den drei Angeboten mit Abstand zu den Karten. */
.behandlungen-individuell {
  margin-top: 24px;
}

.behandlung {
  padding: 28px 32px;
}

.behandlung__kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: baseline;
  column-gap: 20px;
  margin: 0 0 24px;
  font-size: var(--leseschrift);
  font-weight: normal;
  line-height: 1.4;
}

.behandlung__kopf strong {
  text-align: left;
  font-size: 30px;
  letter-spacing: 0.02em;
}

.behandlung__kurzbeschreibung {
  text-align: center;
}

.behandlung__kopf em {
  text-align: right;
  font-size: calc(var(--leseschrift) - 4px);
  font-weight: normal;
}

.behandlung p {
  margin: 0 0 18px;
}

.behandlung__daten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 12px 20px;
  padding-top: 14px;
  border-top: 1px solid #ba805e;
}

.behandlung__daten> :nth-child(2) {
  text-align: center;
}

.behandlung__preis {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 12px;
  text-align: right;
}

.behandlung__preis strong {
  font-size: 32px;
  white-space: nowrap;
}

.behandlung__preis del {
  font-size: calc(var(--leseschrift) - 4px);
  font-weight: normal;
  white-space: nowrap;
}

.behandlung .behandlung__geschenk {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(186, 128, 94, 0.4);
  font-size: calc(var(--leseschrift) - 4px);
  text-align: center;
}

/* Im Querformat erhält die Kurzbeschreibung mehr Raum und eine ruhigere Schriftgröße. */
@media (orientation: landscape) {
  .behandlung__kopf {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    margin-bottom: 32px;
  }

  .behandlung__kurzbeschreibung {
    font-size: 22px;
  }

  .behandlung__kopf em {
    font-size: 18px;
  }
}

/* Schmale Karten erhalten dieselbe ruhige Reihenfolge wie im Hochformat. */
@container (max-width: 680px) {

  .behandlung__kopf,
  .behandlung__daten {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .behandlung__kopf strong,
  .behandlung__kopf em,
  .behandlung__kurzbeschreibung,
  .behandlung__daten> :nth-child(2),
  .behandlung__preis {
    text-align: center;
  }

  .behandlung__daten> :first-child {
    text-align: center;
  }

  .behandlung__preis {
    justify-content: center;
  }
}

/* Gemeinsame Zeilen halten Überschriften, Trennlinien und Preise auf gleicher Höhe. */
@media (orientation: landscape) {
  @container behandlungen (min-width: 1080px) {
    .behandlungsuebersicht {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-template-rows: repeat(3, auto) auto auto auto;
      column-gap: 24px;
      row-gap: 18px;
    }

    .behandlung {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
      padding: 28px 24px;
      min-width: 0;
    }

    .behandlung__kopf {
      grid-row: span 3;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: subgrid;
      margin: 0;
      align-items: start;
    }

    .behandlung__kopf strong,
    .behandlung__kopf em {
      text-align: center;
    }

    .behandlung > p:not(.behandlung__geschenk) {
      margin: 6px 0 0;
      text-align: left;
    }

    .behandlung__daten {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      text-align: center;
      align-self: start;
      padding-top: 20px;
    }

    .behandlung__preis {
      justify-content: center;
      text-align: center;
    }

    .behandlung .behandlung__geschenk {
      margin: 0;
      align-self: start;
    }
  }
}

/* Im Querformat bilden die hervorgehobenen Gokai und das große Logo einen gemeinsamen Abschluss. */
@media (orientation: landscape) {
  .lesebereich {
    padding-bottom: calc(var(--menuehoehe) + 56px);
  }

  .gokai {
    margin-top: -24px;
    font-size: clamp(28px, 2vw, 36px);
    line-height: 1.35;
  }

  .gokai .abschnittstitel h2 {
    font-size: clamp(36px, 2.6vw, 46px);
  }

  .gokai__regeln {
    gap: 24px;
  }

  .gokai__lautsprachlich {
    font-size: 0.76em;
  }
}

/* Im Querformat erscheinen Bild, Schriftzug und Navigation innerhalb einer Sekunde. */
@media (orientation: landscape) and (prefers-reduced-motion: no-preference) {
  .einstieg {
    background: #18090d;
  }

  .einstieg.wird-geladen .einstieg__bild,
  .einstieg.ist-bereit:not(.laeuft) .einstieg__bild {
    opacity: 0;
    transform: none;
  }

  .einstieg.laeuft .einstieg__bild {
    transform: none;
    animation: einblenden 1s ease-in-out both;
  }

  .einstieg.laeuft .einstieg__abdunklung {
    animation: einblenden 0.65s ease-in-out 0.2s both;
  }

  .einstieg.laeuft .einstieg__marke {
    animation: einblenden 0.5s ease-in-out 0.4s both;
  }

  .einstieg.laeuft~.navigationsstreifen {
    animation: navigationEinblenden 0.4s ease-in-out 0.55s both;
  }
}

/* Im Hochformat übernimmt das Flyer-Motiv den Einstieg; die Inhalte folgen einspaltig. */
.einstieg__logo-hochformat,
.einstieg__leseebenen-hochformat,
.symbolnavigation {
  display: none;
}

@media (orientation: portrait) {
  :root {
    --leseschrift: 22px;
    --startzoom: 1;
    --menuehoehe: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  /* Die kleine Fensterhöhe bleibt beim Ein- und Ausblenden der Browserleisten konstant. */
  .einstieg {
    height: 100svh;
    background: #18090d;
  }

  .einstieg__bild {
    object-position: 50% 0%;
    transform-origin: 50% 25%;
  }

  .einstieg__abdunklung {
    display: none;
  }

  /* Das Hochformat-Motiv erscheint ohne Zoom aus dem dunklen Hintergrund. */
  .einstieg.laeuft .einstieg__bild {
    animation: einblenden 1s ease-in-out both;
    transform: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .einstieg.wird-geladen .einstieg__bild,
    .einstieg.ist-bereit:not(.laeuft) .einstieg__bild {
      opacity: 0;
      transform: none;
    }
  }

  .einstieg__leseebenen-hochformat {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
  }

  .einstieg__marke {
    top: clamp(38cqh, 72cqw, 52cqh);
    width: min(88cqw, 40cqh);
  }

  .einstieg__logo-hochformat {
    display: block;
    position: absolute;
    top: calc(clamp(38cqh, 72cqw, 52cqh) + min(88cqw, 40cqh) * 404 / 914 + 2cqh);
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: min(27cqh, 58cqw);
  }

  .einstieg.wird-geladen .einstieg__logo-hochformat,
  .einstieg.wird-geladen .einstieg__leseebenen-hochformat,
  .einstieg.ist-bereit:not(.laeuft) .einstieg__logo-hochformat,
  .einstieg.ist-bereit:not(.laeuft) .einstieg__leseebenen-hochformat {
    opacity: 0;
  }

  /* Zuerst erscheint der Schriftzug, danach das Logo mit seiner Leseebene. */
  .einstieg.laeuft .einstieg__marke {
    animation: einblenden 0.5s ease-in-out 0.4s both;
  }

  .einstieg.laeuft .einstieg__logo-hochformat,
  .einstieg.laeuft .einstieg__leseebenen-hochformat {
    animation: einblenden 0.35s ease-in-out 0.55s both;
  }

  .einstieg.laeuft~.navigationsstreifen {
    animation: navigationEinblenden 0.3s ease-in-out 0.7s both;
  }

  /* Der feste Streifen folgt der sichtbaren Unterkante; nur das Einstiegsbild behält die stabile Höhe. */
  .navigationsstreifen {
    grid-template-rows: 50px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  /* Die dynamische Höhe vermeidet die fehleranfällige Bottom-Verankerung in iOS. */
  .apple-mobil .navigationsstreifen {
    top: calc(100dvh - var(--menuehoehe));
    bottom: auto;
  }

  .symbolnavigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
  }

  .symbolnavigation a,
  .symbolnavigation button {
    display: grid;
    place-items: center;
    width: 50px;
    height: 46px;
    padding: 9px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold);
    background: #70433e;
    cursor: pointer;
  }

  .symbolnavigation svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .symbolnavigation a:focus-visible,
  .symbolnavigation button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  .menue-kreuz {
    display: none;
  }

  .menue-offen .menue-kreuz {
    display: block;
  }

  .menue-offen .menue-linien {
    display: none;
  }

  .hauptnavigation {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 20px;
    right: 20px;
    padding: 16px;
    display: grid;
    gap: 8px;
    white-space: normal;
    background: var(--bordeaux);
    border: 1px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 8px 30px #20091066;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 250ms ease, transform 250ms ease, visibility 250ms;
  }

  .menue-offen .hauptnavigation {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hauptnavigation [data-startseite] {
    display: none;
  }

  .hauptnavigation a {
    background: transparent;
    border: 0;
    text-align: center;
    font-size: 22px;
    padding: 12px 8px;
  }

  .lesebereich {
    display: block;
    width: calc(100% - 32px);
    padding-top: 40px;
  }

  .lesebereich__logo {
    display: none;
  }

  .kontaktabschluss__logo {
    display: block;
  }

  .abschnittstitel h2 {
    font-size: 30px;
  }

  .textflaeche,
  .behandlung {
    padding: 24px;
  }

  .textflaeche h3 {
    font-size: 24px;
  }

  .textflaeche a {
    overflow-wrap: anywhere;
  }

  .behandlung__kopf,
  .behandlung__daten {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .behandlung__kopf strong,
  .behandlung__kopf em,
  .behandlung__kurzbeschreibung,
  .behandlung__daten> :first-child,
  .behandlung__daten> :nth-child(2),
  .behandlung__preis {
    text-align: center;
  }

  .behandlung__preis {
    justify-content: center;
  }
}

/* Auf breiteren Hochformat-Tablets bleibt unter dem Schriftzug Platz für das gesamte Logo. */
@media (orientation: portrait) and (min-width: 600px) {
  .einstieg__marke {
    top: 54cqh;
    width: min(78cqw, 34cqh);
  }

  .einstieg__logo-hochformat {
    top: calc(54cqh + min(78cqw, 34cqh) * 404 / 914 + 2cqh);
    height: 19cqh;
  }
}

@media (prefers-reduced-motion: reduce) {

  .einstieg.laeuft .einstieg__logo-hochformat,
  .einstieg.laeuft .einstieg__leseebenen-hochformat {
    animation: none;
    opacity: 1;
  }

  .einstieg.laeuft~.navigationsstreifen {
    animation: none;
    opacity: 1;
    visibility: visible;
  }

  .einstieg.ist-bereit:not(.laeuft) .einstieg__bild,
  .einstieg.laeuft .einstieg__bild {
    animation: none;
    transform: none;
  }

  .einstieg.ist-bereit:not(.laeuft) .einstieg__abdunklung,
  .einstieg.ist-bereit:not(.laeuft) .einstieg__marke,
  .einstieg.laeuft .einstieg__abdunklung,
  .einstieg.laeuft .einstieg__marke {
    animation: none;
    opacity: 1;
  }
}

/* Dezente Rechtslinks schließen die Textspalte ab und bleiben mit der Tastatur erreichbar. */
.rechtliche-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  color: #d6b58b;
  font-size: 14px;
  line-height: 1.6;
}

.rechtliche-links a {
  color: inherit;
  text-decoration: none;
  padding: 6px 2px;
}

.rechtliche-links a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rechtliche-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Die Rechtslinks bleiben von den Inhaltsbuttons getrennt im Navigationsstreifen. */
.navigationsrechte {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.navigationsrechte a {
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d6b58b;
  font-size: 14px;
}

.navigationsrechte a:hover {
  background: transparent;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (orientation: landscape) {
  .hauptnavigation {
    gap: clamp(8px, 1.25vw, 24px);
  }

  .hauptnavigation>a {
    padding: 10px clamp(8px, 1.05vw, 20px);
    font-size: 19px;
  }

  /* Unabhängig von der mittigen Buttongruppe am rechten Rand verankern. */
  .navigationsrechte {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    justify-content: flex-end;
  }
}

@media (orientation: portrait) {
  .navigationsrechte {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(239, 202, 143, 0.25);
    gap: 24px;
  }

  .navigationsrechte a {
    padding: 6px 2px;
    font-size: 14px;
  }
}

@media (orientation: landscape) and (max-width: 1400px) {
  .hauptnavigation>a {
    font-size: 14px;
  }

  .navigationsrechte {
    flex-direction: column;
    gap: 0;
  }

  .navigationsrechte a {
    padding: 3px 0;
    font-size: 13px;
  }
}

@media (orientation: landscape) and (max-width: 1050px) {
  :root {
    --menuehoehe: 110px;
  }

  .navigationsstreifen {
    grid-template-rows: auto;
    min-height: var(--menuehoehe);
  }

  .hauptnavigation {
    flex-wrap: wrap;
    align-content: center;
    gap: 6px 12px;
    padding-bottom: 26px;
  }

  .navigationsrechte {
    flex-direction: row;
    gap: 16px;
    top: auto;
    bottom: 6px;
    transform: none;
  }
}
