:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  color: #302722;
  background: #f4eee2;
  --accent: #88392e;
  --muted: #65574b;
  --border: #ded2c0;
  --surface: #fffbf4;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 38rem); margin: auto; padding-bottom: 2rem; }
header { border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.top { width: min(100% - 2rem, 38rem); margin: auto; min-height: 3.75rem; display: flex; align-items: center; gap: 1rem; }
.top a { color: var(--accent); padding: .5rem 0; text-decoration: none; }
.top strong { margin-left: auto; }
h1 { font-family: Georgia, serif; font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1.08; margin: 0 0 .65rem; }
h2 { font-size: 1.15rem; margin: 1.35rem 0 .65rem; }
p { margin: 0 0 1rem; }
.intro { color: var(--muted); max-width: 44ch; }
.tour-list { list-style: none; display: grid; gap: .65rem; padding: 0; margin: 1.25rem 0; }
.tour-link { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 5rem; padding: .8rem 1rem; color: inherit; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; }
.tour-link strong, .tour-link small { display: block; }
.tour-link strong { font-size: 1.1rem; }
.tour-link small { color: var(--muted); margin-top: .15rem; }
.chevron { flex: none; color: var(--accent); font-size: 1.5rem; }
figure { margin: 1.1rem 0 0; background: #eee3ce; border: 1px solid var(--border); border-radius: .9rem; overflow: hidden; }
figure svg { display: block; width: 100%; height: auto; max-height: 23rem; }
figcaption { padding: .45rem .75rem; color: var(--muted); font-size: .82rem; background: var(--surface); }
.stops { border: 1px solid var(--border); border-radius: .8rem; overflow: hidden; background: var(--surface); }
details + details { border-top: 1px solid var(--border); }
summary { list-style: none; display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; font-weight: 650; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "⌄"; margin-left: auto; color: var(--accent); }
details[open] summary::after { transform: rotate(180deg); }
.number { display: grid; place-items: center; flex: 0 0 1.7rem; height: 1.7rem; border-radius: 50%; background: #efe1ce; color: var(--accent); font-size: .85rem; }
details p { padding: 0 .85rem 0 3.25rem; color: var(--muted); margin: 0 0 .8rem; }
footer { position: sticky; bottom: 0; background: #f4eee2; border-top: 1px solid var(--border); padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); text-align: center; }
footer button { width: min(100%, 38rem); min-height: 2.8rem; background: #e6d8c7; color: #5f4d41; border: 0; border-radius: .65rem; font: inherit; font-weight: 700; }
footer p { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }

.city-tours--hamburg { --city-image: url("../bilder/hintergruende/hamburg-skyline.png"); }
.city-tours--muenster { --city-image: url("../bilder/hintergruende/muenster-uebersicht.jpg"); }
.city-tours { position: relative; isolation: isolate; min-height: 100vh; }
.city-tours::before {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background:
    linear-gradient(180deg, #35221870 0%, #3522182b 40%, #35221850 100%),
    var(--city-image) center / cover no-repeat;
}
.city-tours header { background: #f4eee2f5; }
.city-tours main > h1 {
  color: #fffbf4;
  text-shadow: 0 2px 12px #24140ee6;
  padding-block: clamp(.65rem, 3.5vw, 3.25rem);
}
@media (max-width: 43.99rem) {
  .city-tours::before { background-position: center, 65% center; }
}
.city-tours .top, .city-tours main { width: min(100% - 2rem, 56rem); }
.city-tours header { margin-bottom: clamp(1.5rem, 5vw, 3rem); }
.city-tours .top a { display: inline-flex; align-items: center; min-height: 44px; }
.city-tours .top a:hover { text-decoration: underline; }
.city-tours .tour-list { gap: 1rem; margin-top: 1.4rem; }
.city-tours .tour-list li { display: flex; min-width: 0; }
.city-tours .tour-link {
  width: 100%; flex-direction: column; align-items: flex-start;
  justify-content: flex-start; gap: 1rem; min-height: 10rem;
  padding: 1.25rem; border-radius: 1rem;
}
.city-tours .tour-link strong { font: 700 1.55rem/1.2 Georgia, serif; }
.city-tours .tour-link small { font-size: .9375rem; margin-top: .35rem; }
.city-tours .tour-action {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-top: auto; padding: .5rem .9rem; border-radius: .5rem;
  background: #f2e5d6; color: #752f25; font-weight: 650;
}
.city-tours .tour-link:hover { border-color: var(--accent); }
.city-tours .tour-link:hover .tour-action, .city-tours .tour-link:focus-visible .tour-action {
  background: var(--accent); color: white;
}
.city-tours a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 44rem) {
  .city-tours .tour-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stops .visit-stop-name { min-width: 0; font-size: clamp(1rem, 3.4vw, 1.1rem); }
.stops .visit-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 4px;
  vertical-align: .04em;
  white-space: nowrap;
}
.stops .visit-icons svg {
  display: block;
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}
