/* Startseite und Textseiten (der Rundgang selbst nutzt stil.css) */
:root {
  --papier: #f5efe4;
  --papier-2: #ebe3d4;
  --tinte: #1e1a15;
  --tinte-2: #5d5548;
  --linie: #d9cfbd;
  --eiche: #b9772f;
  --licht: #e3a857;
  --frei: #2f6b55;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --schrift-titel: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --breite: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0; }
.innen { width: min(var(--breite), 100% - 40px); margin-inline: auto; }

/* Kopf */
.leiste-oben {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px max(20px, calc((100% - var(--breite)) / 2));
  color: #fff;
}
.leiste-oben--dunkel { position: static; color: var(--tinte); border-bottom: 1px solid var(--linie); }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--schrift-titel); font-size: 23px; white-space: nowrap; flex: none; }
.marke img { flex: none; }
.leiste-oben nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.leiste-oben nav a { padding: 8px 12px; border-radius: 999px; font-size: 15px; text-decoration: none; white-space: nowrap; }
.leiste-oben nav a:hover { background: rgba(255, 255, 255, .18); }
.leiste-oben--dunkel nav a:hover { background: var(--papier-2); }
.leiste-oben nav .hervor { background: #fff; color: var(--tinte); font-weight: 600; }
.leiste-oben--dunkel nav .hervor { background: var(--tinte); color: #fff; }

.ton {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: none;
  color: var(--tinte);
  font: inherit;
  font-size: 14.5px;
  white-space: nowrap;
  cursor: pointer;
}
.ton:hover { background: var(--papier-2); }
.ton[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }

/* Auftakt */
.auftakt {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #14110d center / cover no-repeat;
}
.auftakt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 13, .86) 0%, rgba(20, 17, 13, .35) 45%, rgba(20, 17, 13, .45) 100%);
}
.auftakt__text { position: relative; padding: 140px 0 64px; max-width: 760px; }
.auftakt h1 { font-size: clamp(40px, 6.4vw, 78px); margin-bottom: 18px; }
.auftakt p { font-size: clamp(17px, 2vw, 21px); margin: 0 0 28px; max-width: 34em; color: rgba(255, 255, 255, .92); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--tinte);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { background: #000; }
.knopf--hell { background: #fff; color: var(--tinte); }
.knopf--hell:hover { background: var(--papier); }
.knopf--rand { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.knopf--rand:hover { background: rgba(255, 255, 255, .14); }
.knopf--gruen { background: var(--frei); }
.knopf--gruen:hover { background: #24543f; }
.knopf[disabled] { opacity: .55; cursor: default; }

/* Stadtkarte auf der Startseite */
.stadt { padding: 44px 0 30px; }
.stadt__kopf { margin-bottom: 22px; }
.stadt__kopf h1 { font-size: clamp(36px, 5.6vw, 68px); margin-bottom: 12px; }
.stadt__kopf p { margin: 0; max-width: 34em; font-size: clamp(17px, 1.8vw, 20px); color: #3a342b; }
/* Hinweis auf die Saison-Welt über der Stadtkarte */
.saison { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin-top: 20px; padding: 8px 18px 8px 8px; border: 1px solid var(--linie); border-radius: 18px; background: #fffdf8; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.saison:hover, .saison:focus-visible { border-color: var(--tinte); box-shadow: 0 6px 20px rgba(30, 26, 21, .12); outline: none; }
.saison img { width: 92px; height: 58px; object-fit: cover; border-radius: 11px; flex: none; }
.saison span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.saison strong { font-family: var(--schrift-titel); font-weight: 500; font-size: 20px; }
.saison small { font-size: 14px; color: var(--tinte-2); }
.saison b { flex: none; padding: 8px 14px; border-radius: 999px; background: #8f1d1d; color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 600px) { .saison b { display: none; } .saison img { width: 72px; height: 50px; } .saison strong { font-size: 18px; } }
.stadt__rahmen { width: min(1500px, 100%); margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.stadt__rahmen::-webkit-scrollbar { display: none; }
.stadt__flaeche { position: relative; min-width: 820px; }
.stadt__flaeche img { width: 100%; height: auto; }
.stadt__ort { position: absolute; display: block; border-radius: 26px; text-decoration: none; transition: background .25s ease, box-shadow .25s ease; }
a.stadt__ort:hover, a.stadt__ort:focus-visible { background: rgba(255, 255, 255, .22); box-shadow: 0 0 0 2px rgba(30, 26, 21, .5); outline: none; }
.stadt__schild {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -58%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  background: var(--tinte);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: transform .2s ease;
}
a.stadt__ort:hover .stadt__schild { transform: translate(-50%, -66%); }
.stadt__schild strong { font-size: 16px; }
.stadt__schild small { font-size: 12.5px; opacity: .78; }
.stadt__schild i { width: 9px; height: 9px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 0 0 rgba(227, 168, 87, .7); animation: stadtpuls 2.4s ease-out infinite; }
.stadt__ort--bald .stadt__schild { background: rgba(245, 239, 228, .94); color: var(--tinte); border: 1.5px dashed var(--tinte-2); box-shadow: none; padding-left: 16px; }
.stadt__hinweis { margin: 18px auto 0; font-size: 15px; color: var(--tinte-2); }
.stadt__nur-schmal { display: none; }

/* Gut sichtbarer Hinweis auf die Partnerlinks */
.fair { max-width: 44em; margin: 22px 0 0; padding: 14px 18px; border-left: 4px solid var(--eiche); border-radius: 10px; background: var(--papier-2); font-size: 16px; line-height: 1.5; color: var(--tinte); text-align: left; }
.fair strong { display: block; margin-bottom: 3px; font-size: 17px; }
.fair p { margin: 0; }
@keyframes stadtpuls { 0% { box-shadow: 0 0 0 0 rgba(227, 168, 87, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(227, 168, 87, 0); } }
@media (prefers-reduced-motion: reduce) { .stadt__schild i { animation: none; } }

/* Abschnitte */
.abschnitt { padding: 84px 0; }
.abschnitt--hell { background: #fbf8f2; border-block: 1px solid var(--linie); }
.vorzeile { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--eiche); font-weight: 600; }
.abschnitt h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.abschnitt .einleitung { max-width: 40em; margin: 0 0 36px; color: #3a342b; }

/* Welten */
.welten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.welt {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--linie);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.welt:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .14); }
.welt img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--papier-2); }
.welt__text { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.welt h3 { font-size: 26px; }
.welt p { margin: 0; font-size: 15.5px; color: #3a342b; }
.welt small { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--tinte-2); }
.bald { margin: 22px 0 0; font-size: 15px; color: var(--tinte-2); }

/* Schritte und Listen */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritte li { counter-increment: schritt; padding-top: 16px; border-top: 2px solid var(--tinte); }
.schritte li::before { content: counter(schritt, decimal-leading-zero); display: block; font-family: var(--schrift-titel); font-size: 30px; color: var(--eiche); margin-bottom: 6px; }
.schritte h3 { font-family: var(--schrift); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.schritte p { margin: 0; font-size: 15.5px; color: #3a342b; }

.zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.klassen { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.klassen li { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--linie); font-size: 15.5px; }
.klassen strong { font-weight: 700; }
.haken { list-style: none; margin: 0 0 26px; padding: 0; }
.haken li { position: relative; padding: 7px 0 7px 30px; }
.haken li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 7px; border-left: 2.5px solid var(--frei); border-bottom: 2.5px solid var(--frei); transform: rotate(-45deg); }

/* Formular */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 28px; border: 1px solid var(--linie); border-radius: 14px; background: #fff; }
.formular .voll { grid-column: 1 / -1; }
.formular label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.formular label small { font-weight: 400; color: var(--tinte-2); }
.formular input, .formular select, .formular textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #b9ad97;
  border-radius: 8px;
  background: #fff;
  color: var(--tinte);
  font: inherit;
  font-size: 16px;
}
.formular textarea { min-height: 110px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--tinte); outline-offset: 1px; }
.formular .wahl { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.formular .wahl input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.formular__klein { margin: 0; font-size: 13.5px; color: var(--tinte-2); }
.meldung { padding: 14px 16px; border-radius: 10px; background: var(--papier-2); font-size: 15px; }
.meldung[hidden] { display: none; }

/* Fuß */
.fuss { padding: 40px 0 54px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--tinte-2); }
.fuss__zeile { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.fuss p { margin: 0 0 6px; max-width: 60em; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .abschnitt { padding: 60px 0; }
  .leiste-oben nav a:not(.hervor) { display: none; }
  .leiste-oben { padding-block: 12px; }
  /* Auf dem Handy reicht die Stadtkarte als Einstieg, der Knopf würde die Kopfzeile umbrechen */
  .leiste-oben nav .hervor--breit { display: none; }
  .leiste-oben nav { flex-wrap: nowrap; gap: 4px; }
  .leiste-oben { gap: 8px; padding-inline: 14px; }
  .marke { font-size: 18px; gap: 7px; }
  .marke img { width: 32px; height: auto; }
  .ton[data-sprach-knopf] svg { display: none; }
  .leiste-oben nav .hervor { padding: 8px 13px; font-size: 14px; }
  .stadt { padding-top: 28px; }
  .stadt__nur-breit { display: none; }
  .ton span { display: none; }
  .ton { padding: 8px 10px; }
  .stadt__nur-schmal { display: inline; }
  .formular { grid-template-columns: 1fr; padding: 20px; }
  .klassen li { grid-template-columns: 1fr; gap: 2px; }
  .auftakt__text { padding-bottom: 44px; }
}
@media (max-width: 350px) { .leiste-oben [data-ton-knopf] { display: none; } }

/* Impressum und Datenschutz */
.recht { max-width: 760px; }
.recht h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 28px; }
.recht h2 { font-size: 22px; margin: 34px 0 8px; }
.recht p { margin: 0 0 12px; color: #3a342b; }
.recht a { color: var(--frei); }
.recht .einleitung { margin-bottom: 8px; }
.recht__stand { margin-top: 40px !important; font-size: 14px; color: var(--tinte-2) !important; }
