/*
  Beispiel «Seehotel Muster» (erfundener Betrieb) für webbach
  Mehrseitig (Paket Standard) mit allen Zusätzen: zweite Sprache (Englisch unter en/),
  Anfrageformular, Besucherstatistik und «Änderungen durch webbach». Ein Stil für alle Seiten.
  Gleiche Regeln wie die Hauptseite: mobile zuerst, Farben nur über Variablen,
  keine Inline-Stile, keine Skripte, nur Schriften vom eigenen Server.
  Die Zeichnungen (Panorama, Bilder) haben feste Farben, wie Fotos.
  Kontrast: werkzeuge/kontrast_beispiele.py
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../schriften/fraunces-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../schriften/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../schriften/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Farben ---------- */

:root {
  --see: #1D4E63;
  --see-tief: #123544;
  --messing: #B88A3E;
  --messing-hell: #E8C987;

  --bg: #FAF7F1;
  --bg-alt: #EDF2F0;
  --karte: #FFFFFF;
  --text: #17262C;
  --text-leise: #4F5E63;
  --linie: #D6DEDA;
  --akzent: var(--see);
  --fokus: #17262C;

  --knopf: var(--see);
  --knopf-text: #FFFFFF;
  --knopf-hover: #143A4A;

  /* immer dunkel: Wochenmenü-Band und Fusszeile */
  --dunkel: var(--see-tief);
  --dunkel-text: #F4F1EA;
  --dunkel-leise: #C3D3D6;
  --dunkel-fokus: var(--messing-hell);
  --streifen-knopf: var(--messing-hell);
  --streifen-knopf-text: var(--see-tief);
  --streifen-knopf-hover: #F2DCAB;

  --vegi-bg: #E3F0DC;
  --vegi-text: #2C5E2A;

  /* Plan auf der Kontaktseite */
  --plan-see: #BFD8DE;
  --plan-land: #EFE9DC;
  --plan-strasse: #FFFFFF;
  --plan-text: #24363C;

  /* Leiste unten auf dem Handy */
  --aktion-bg: var(--karte);
  --aktion-text: var(--akzent);
  --aktion-rand: var(--akzent);
  --aktion-linie: var(--linie);
  --aktion-fokus: var(--fokus);

  /* Hinweisband von webbach */
  --band: #14232B;
  --band-text: #FAF6EE;
  --band-link: #F2B49F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D171B;
    --bg-alt: #122127;
    --karte: #172A31;
    --text: #EEF2F0;
    --text-leise: #B5C4C6;
    --linie: #2A3E45;
    --akzent: #8CC3D3;
    --fokus: var(--messing-hell);

    --knopf: #8CC3D3;
    --knopf-text: #0D171B;
    --knopf-hover: #A9D4E0;

    --dunkel: #081114;

    --vegi-bg: #233A22;
    --vegi-text: #A9D9A2;

    --plan-see: #1B3A45;
    --plan-land: #18262B;
    --plan-strasse: #3A4E55;
    --plan-text: #DCE6E4;
  }
}

/* ---------- Grundlagen ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  /* Lange Wörter (z. B. «mehrwertsteuerpflichtig») bei grosser Schrift umbrechen,
     statt über den Rand zu laufen (Audit 15.11.2026, W-005). Bewusst ohne hyphens: auto */
  overflow-wrap: break-word;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
}

a {
  color: var(--akzent);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 4px;
}

svg {
  display: block;
}

.huelle {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.unsichtbar {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprung {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--knopf);
  color: var(--knopf-text);
  font-weight: 600;
}

.sprung:focus {
  top: 1rem;
}

/* ---------- Hinweisband (gehört zu webbach, nicht zum Hotel) ---------- */

.hinweis {
  background: var(--band);
  color: var(--band-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.hinweis__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding-block: 0.65rem;
}

.hinweis__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.hinweis a {
  color: var(--band-link);
  font-weight: 600;
}

.hinweis :focus-visible {
  outline-color: var(--band-link);
}

/* ---------- Kopf ---------- */

.kopf {
  border-bottom: 1px solid var(--linie);
  background: var(--bg);
}

.kopf__oben {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.logo svg {
  flex: none;
  width: 38px;
  height: 38px;
}

.logo__rand {
  fill: none;
  stroke: var(--messing);
  stroke-width: 1.5;
}

.logo__welle {
  fill: none;
  stroke: var(--akzent);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.logo__berg {
  fill: var(--akzent);
}

.logo__text {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  line-height: 1.1;
}

.logo__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 0.9rem + 1.3vw, 1.45rem);
  font-weight: 600;
}

.logo__ort {
  color: var(--text-leise);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kopf__rechts {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sprache {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sprache a {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--text-leise);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.sprache a:hover {
  color: var(--akzent);
}

.sprache a[aria-current="true"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--messing);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

/* Auf dem Handy reicht «Kontakt» im Menü */
.kopf .kopf__anfrage {
  display: none;
}

.nav {
  border-top: 1px solid var(--linie);
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--akzent);
}

.nav a[aria-current="page"] {
  color: var(--akzent);
  box-shadow: inset 0 -3px 0 var(--messing);
}

@media (min-width: 760px) {
  .kopf .kopf__anfrage {
    display: inline-flex;
  }

  .nav ul {
    gap: 0 2.5rem;
  }

  .nav a {
    font-size: 0.9375rem;
  }
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--knopf);
  border-radius: 4px;
  background: var(--knopf);
  color: var(--knopf-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.knopf:hover {
  border-color: var(--knopf-hover);
  background: var(--knopf-hover);
}

.knopf--klein {
  min-height: 44px;
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
}

.knopf--rand {
  background: transparent;
  color: var(--akzent);
}

.knopf--rand:hover {
  border-color: var(--akzent);
  background: var(--bg-alt);
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.mehr {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  padding-block: 3.5rem;
}

.abschnitt--alt {
  background: var(--bg-alt);
}

@media (min-width: 860px) {
  .abschnitt {
    padding-block: 5rem;
  }
}

.dach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  color: var(--akzent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dach::before {
  content: "";
  flex: 0 0 1.75rem;
  height: 2px;
  background: var(--messing);
}

.dach + h1,
.dach + h2 {
  margin-top: 0.6rem;
}

.einleitung {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--text-leise);
  font-size: 1.125rem;
}

.klein {
  margin-top: 1rem;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

.zwei {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .zwei {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 4rem;
  }
}

/* Zeichnungen wie Fotos: abgerundet, feste Farben */
.bild {
  overflow: hidden;
  border-radius: 10px;
  background: #CFE3E6;
}

.bild svg {
  width: 100%;
  height: 100%;
}

/* ---------- Startseite: Panorama ---------- */

.panorama {
  position: relative;
}

.panorama__bild {
  height: clamp(240px, 46vw, 560px);
  background: #CFE3E6;
}

.panorama__bild svg,
.panorama__bild img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hotel rechts im Bild bleibt auch auf dem Handy sichtbar */
.panorama__bild img {
  object-fit: cover;
  object-position: 68% 55%;
}

.panorama__karte {
  position: relative;
  margin-top: -2.5rem;
  padding: 1.75rem 1.4rem 2rem;
  border-radius: 10px;
  background: var(--karte);
  box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.45);
}

.panorama__satz {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--text-leise);
  font-size: 1.125rem;
}

@media (min-width: 900px) {
  .panorama__karte {
    width: min(100%, 40rem);
    margin-top: -9rem;
    padding: 2.5rem 2.75rem 2.75rem;
  }
}

.fakten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .fakten {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fakten li {
  padding-left: 0.9rem;
  border-left: 2px solid var(--messing);
  color: var(--text-leise);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.fakten strong {
  display: block;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
}

/* ---------- Startseite: Vorschau auf die Unterseiten ---------- */

.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .teaser {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.teaser li {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: var(--karte);
}

.teaser .bild {
  border-radius: 0;
  aspect-ratio: 3 / 2;
}

.teaser__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1rem;
}

.teaser__text p {
  margin-top: 0.5rem;
  color: var(--text-leise);
}

.teaser__text .mehr {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ---------- Dunkler Streifen (Wochenmenü) ---------- */

.streifen {
  padding-block: 3.25rem;
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 14px),
    var(--dunkel);
  color: var(--dunkel-text);
}

@media (min-width: 860px) {
  .streifen {
    padding-block: 4.5rem;
  }
}

.streifen .dach {
  color: var(--messing-hell);
}

.streifen p {
  color: var(--dunkel-leise);
}

.streifen :focus-visible {
  outline-color: var(--dunkel-fokus);
}

.streifen .knopf {
  border-color: var(--streifen-knopf);
  background: var(--streifen-knopf);
  color: var(--streifen-knopf-text);
}

.streifen .knopf:hover {
  border-color: var(--streifen-knopf-hover);
  background: var(--streifen-knopf-hover);
}

.streifen__gericht {
  max-width: 30ch;
  margin-top: 0.6rem;
  color: var(--dunkel-text);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  line-height: 1.2;
}

.streifen .streifen__preis {
  margin-top: 0.75rem;
  color: var(--messing-hell);
  font-weight: 600;
}

/* ---------- Gastgeber ---------- */

.gastgeber {
  display: flex;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.gastgeber li {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 1.5px solid var(--messing);
  border-radius: 50%;
  background: var(--karte);
  color: var(--akzent);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.zitatlos {
  max-width: 38rem;
  margin-top: 1rem;
}

/* ---------- Unterseiten: Titel ---------- */

.titel {
  position: relative;
  padding-block: 2.75rem 4.25rem;
  background: var(--bg-alt);
}

.titel h1 {
  max-width: 18ch;
}

.titel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22px;
  background:
    radial-gradient(circle at 12px -6px, transparent 13px, var(--bg) 14px) 0 0 / 24px 22px repeat-x;
}

@media (min-width: 860px) {
  .titel {
    padding-block: 4rem 5.5rem;
  }
}

/* ---------- Zimmer ---------- */

.zimmer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zimmer > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--karte);
}

@media (min-width: 760px) {
  .zimmer > li {
    grid-template-columns: 13rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2rem 1.25rem 1.25rem;
  }
}

.zimmer .bild {
  aspect-ratio: 3 / 2;
}

.zimmer__daten {
  margin-top: 0.35rem;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

.zimmer__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.zimmer__liste li {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 0.875rem;
}

.zimmer__preis {
  color: var(--text-leise);
  font-size: 0.9375rem;
  line-height: 1.3;
}

.zimmer__preis strong {
  display: block;
  color: var(--akzent);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
}

@media (min-width: 760px) {
  .zimmer__preis {
    text-align: right;
  }
}

.haken {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem 2rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .haken {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.haken li {
  position: relative;
  padding-left: 1.75rem;
}

.haken li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0.3rem;
  width: 0.45rem;
  height: 0.8rem;
  border-right: 2.5px solid var(--messing);
  border-bottom: 2.5px solid var(--messing);
  transform: rotate(45deg);
}

/* ---------- Tabellen (Zeiten, Wochenmenü, Räume) ---------- */

.tabelle {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
}

.tabelle th,
.tabelle td {
  padding: 0.85rem 0.75rem 0.85rem 0;
  border-bottom: 1px solid var(--linie);
  text-align: left;
  vertical-align: top;
}

.tabelle thead th {
  padding-top: 0;
  color: var(--text-leise);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tabelle tbody th {
  font-weight: 600;
}

.tabelle .rechts {
  padding-right: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.tabelle .leise {
  display: block;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

.vegi {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--vegi-bg);
  color: var(--vegi-text);
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: 0.15em;
}

/* ---------- Speisekarte ---------- */

.karte-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .karte-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

.karte {
  padding: 1.5rem 1.4rem;
  border-top: 3px solid var(--messing);
  border-radius: 0 0 10px 10px;
  background: var(--karte);
}

.liste {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.liste li {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--linie);
}

.liste li:last-child {
  border-bottom: 0;
}

.liste__zeile {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
}

.liste__preis {
  color: var(--akzent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.liste__text {
  margin-top: 0.15rem;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

/* ---------- Anlässe ---------- */

.anlaesse {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .anlaesse {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.anlaesse li {
  overflow: hidden;
  border-radius: 10px;
  background: var(--karte);
}

.anlaesse .bild {
  border-radius: 0;
  aspect-ratio: 3 / 2;
}

.anlaesse__text {
  padding: 1.25rem 1.4rem 1.5rem;
}

.anlaesse__text p {
  margin-top: 0.5rem;
  color: var(--text-leise);
}

.schritte {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: schritt;
}

@media (min-width: 760px) {
  .schritte {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.schritte li {
  counter-increment: schritt;
}

.schritte li::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.75rem;
  border: 1.5px solid var(--messing);
  border-radius: 50%;
  color: var(--akzent);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.schritte p {
  margin-top: 0.35rem;
  color: var(--text-leise);
}

/* ---------- Bilder ---------- */

.galerie {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .galerie {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 13rem;
    gap: 1rem;
  }

  .galerie__gross {
    grid-column: span 2;
    grid-row: span 2;
  }

  .galerie__breit {
    grid-column: span 2;
  }
}

.galerie li {
  display: flex;
  min-height: 0;
}

.galerie__gross,
.galerie__breit {
  grid-column: span 2;
}

.galerie figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  margin: 0;
}

.galerie .bild {
  aspect-ratio: 3 / 2;
}

@media (min-width: 860px) {
  .galerie .bild {
    aspect-ratio: auto;
  }
}

.galerie figcaption {
  padding-top: 0.4rem;
  color: var(--text-leise);
  font-size: 0.875rem;
}

.galerie__gross figcaption,
.galerie__breit figcaption {
  font-size: 0.9375rem;
}

/* ---------- Kontakt und Formular ---------- */

.kontakt {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

@media (min-width: 900px) {
  .kontakt {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.formular {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--karte);
}

@media (min-width: 760px) {
  .formular {
    padding: 2rem;
  }
}

.formular h2 {
  grid-column: 1 / -1;
  font-size: 1.6rem;
}

.feld {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-column: 1 / -1;
  gap: 0.35rem;
}

@media (min-width: 520px) {
  .feld--halb {
    grid-column: span 1;
  }
}

.feld label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.feld__frei {
  color: var(--text-leise);
  font-weight: 400;
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--text-leise);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.feld textarea {
  min-height: 7.5rem;
  resize: vertical;
}

/* Rahmen, sobald irgendein Teil des Feldes den Fokus hat. Datumsfelder haben
   mehrere Tab-Stopps (Tag, Monat, Jahr, Kalender), nicht alle melden :focus-visible. */
.feld:focus-within input,
.feld:focus-within select,
.feld:focus-within textarea {
  border-color: var(--akzent);
  outline: 3px solid var(--fokus);
  outline-offset: 2px;
}

.formular__fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  grid-column: 1 / -1;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

button.knopf {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.formular__hinweis {
  color: var(--text-leise);
  font-size: 0.875rem;
}

.titel-klein {
  margin-top: 2.25rem;
  font-size: 1.5rem;
}

.adresse {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
}

.weg {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.weg li {
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--linie);
}

.weg li:last-child {
  border-bottom: 0;
}

.plan {
  margin: 2rem 0 0;
}

.plan svg {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.plan figcaption {
  margin-top: 0.4rem;
  color: var(--text-leise);
  font-size: 0.875rem;
}

.plan__see { fill: var(--plan-see); }
.plan__land { fill: var(--plan-land); }

.plan__strasse {
  fill: none;
  stroke: var(--plan-strasse);
  stroke-width: 10;
  stroke-linecap: round;
}

.plan__steg { fill: var(--plan-strasse); }

.plan__text {
  fill: var(--plan-text);
  font-size: 11px;
  font-weight: 600;
}

.plan__text--see {
  font-size: 13px;
  font-style: italic;
}

.plan__marke { fill: var(--see); }
.plan__marke-text { fill: #FFFFFF; font-size: 11px; font-weight: 600; }
.plan__nadel { fill: #B5432C; }
.plan__nadel-punkt { fill: #FFFFFF; }

/* ---------- Danke ---------- */

.danke {
  max-width: 40rem;
  padding-block: 4rem 5rem;
}

.danke p {
  margin-top: 1rem;
  color: var(--text-leise);
}

/* ---------- Fuss ---------- */

.fuss {
  padding-block: 3rem;
  background: var(--dunkel);
  color: var(--dunkel-leise);
  font-size: 0.9375rem;
}

.fuss__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 760px) {
  .fuss__raster {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.fuss__name {
  color: var(--dunkel-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.fuss p + p,
.fuss h2 + p {
  margin-top: 0.4rem;
}

.fuss h2 {
  color: var(--dunkel-text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fuss ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.fuss__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.fuss a {
  color: var(--dunkel-text);
}

.fuss :focus-visible {
  outline-color: var(--dunkel-fokus);
}

.fuss__beispiel {
  max-width: 46rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(244 241 234 / 0.14);
  font-size: 0.875rem;
}

.karte .titel-klein {
  margin-top: 0;
}

/* ---------- Schnellzugriff auf dem Handy (feste Leiste unten) ---------- */

.aktionen {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--aktion-linie);
  background: var(--aktion-bg);
  box-shadow: 0 -10px 24px -14px rgb(0 0 0 / 0.35);
}

.aktionen a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.5rem 0.6rem;
  border: 2px solid var(--aktion-rand);
  border-radius: 4px;
  color: var(--aktion-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.aktionen .aktionen__haupt {
  border-color: var(--knopf);
  background: var(--knopf);
  color: var(--knopf-text);
}

.aktionen svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.aktionen a:focus-visible {
  outline: 3px solid var(--aktion-fokus);
  outline-offset: 2px;
}

/* Platz, damit die Leiste das Ende der Fusszeile nicht verdeckt */
@media (max-width: 759px) {
  .fuss {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 760px) {
  .aktionen {
    display: none;
  }
}
