:root {
  --paper: #f5f5f4;
  --ink: #1f2328;
  --muted: #5a6572;
  --line: rgba(31, 35, 40, 0.18);
  --accent: #90241e; /* Bleistift-Rot */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}
a:hover {
  color: var(--accent);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 999;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #f9f9f9;
  backdrop-filter: blur(10px);
  z-index: 50;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  color: var(--accent);
  font-weight: 600;
}
.brand-text {
  font-weight: 600;
  letter-spacing: 0.2px;
}
.brand-sub {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hairline {
  height: 1px;
  background: var(--line);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn:hover {
  background: var(--paper);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.6);
}

.small {
  font-size: 0.92rem;
}
.muted {
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 46px 0 26px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin: 0 0 12px;
  color: #9f0712;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 18px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.note {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
}

/* du nutzt note-dot (im Hero). Lass ihn neutral, damit nichts "verschwindet". */
.note-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
}

.note-dot-red {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
}
.note-dot-black {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: black;
  flex: 0 0 auto;
}

.caption {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Frames */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
  padding: 14px;
}

.frame-inner {
  border: 1px dashed rgba(31, 35, 40, 0.22);
  border-radius: calc(var(--radius) - 6px);
  padding: 16px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.frame-title {
  margin: 0;
  font-weight: 600;
}
.frame-hint {
  margin: 0;
  color: var(--muted);
}

.frame-inner-art {
  border: 1px dashed rgba(31, 35, 40, 0.22);
  border-radius: calc(var(--radius) - 6px);
  padding: 16px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;

  background-image: url("./assets/farbe.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 490px;
  filter: grayscale(1) contrast(1.05) brightness(1.02);
  animation: colorize 1.8s ease-out forwards;
}

@keyframes colorize {
  to {
    filter: grayscale(0) contrast(1) brightness(1);
  }
}

/* Sections */
.section {
  padding: 34px 0;
}

.section-head {
  margin-bottom: 16px;
}

h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  letter-spacing: 0.2px;
}

.subhead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  grid-column: 1 / span 2;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin: 0 0 8px;
}

/* Rundgang Layout */
.rundgang-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: start;
}

/* >>> Fix gegen "abgeschnitten" im Grid (wichtig!) */
.rundgang-layout > * {
  min-width: 0;
}
.stations {
  min-width: 0;
}

.stations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.search input {
  width: min(320px, 46vw);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  outline: none;
}
.search input:focus {
  border-color: rgba(211, 90, 106, 0.6);
  box-shadow: 0 0 0 4px rgba(211, 90, 106, 0.15);
}

/* Stationsliste */
.station-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

/* Top-Liste: kleine optische Trennlinie */
.station-list--top {
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.station {
  display: grid;
  grid-template-columns: 42px 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.08s ease;

  /* Fix: darf schrumpfen */
  min-width: 0;
}

.station:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.badge {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  background: #fff;
}

.station-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.station-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0%) contrast(1.05);
}

.station:hover .station-thumb img {
  filter: grayscale(100%) contrast(1.05);
}

.station-thumb--empty {
  background: repeating-linear-gradient(
    45deg,
    #f4f2ee,
    #f4f2ee 6px,
    #eceae6 6px,
    #eceae6 12px
  );
}

.station-text {
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* Fix: Textcontainer darf schrumpfen */
  min-width: 0;
}

.station-title {
  margin: 0;
  font-weight: 600;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.25;
}

.station-desc {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.35;
}

/* Buchbereich */
.buch-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: start;
}

.buch-cover {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.buch-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(31, 35, 40, 0.12);
  background: #fff;
}

.download-card {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(31, 35, 40, 0.28);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition:
    transform 0.08s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.download-card:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  border-color: rgba(211, 90, 106, 0.55);
}

.dl-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  flex: 0 0 auto;
}

.dl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dl-title {
  font-weight: 700;
}

.dl-meta {
  font-size: 0.92rem;
  color: var(--muted);
}

.dl-arrow {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
}

.preview-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  padding: 10px;
  transition:
    transform 0.08s ease,
    background 0.2s ease;
}

.preview:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

.preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(31, 35, 40, 0.1);
  background: #fff;
}

.preview-cap {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.footer {
  padding: 18px 0 30px;
  margin-top: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Modal */
.modal {
  border: none;
  padding: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

.modal-inner {
  width: min(720px, 92vw);
  margin: 10vh auto;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 20px;
  cursor: pointer;
}

.modal-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.modal-title {
  margin: 0 0 6px;
}

.modal-meta {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.modal-text {
  margin: 0 0 8px;
  color: var(--muted);
}

/* Ausmalbild-Ausschnitt */
.modal-media {
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.modal-image {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
  object-position: 50% 35%;
}

/* Karte */
.map-block {
  display: grid;
  gap: 12px;
}

.map-figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.map-open {
  all: unset;
  display: block;
  cursor: zoom-in;
  position: relative;
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(31, 35, 40, 0.12);
  background: #fff;
  filter: none;
  transition: transform 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.map-open:hover .map-img,
.map-open:focus-visible .map-img {
  transform: translateY(-1px);
}

.map-open:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(211, 90, 106, 0.15);
  border-radius: calc(var(--radius) - 6px);
}

.map-zoom {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.map-notes {
  display: flex;
  flex-flow: wrap;
  gap: 8px;
  font-size: 12px;
}

.note--tight {
  margin: 0;
  padding: 10px 12px;
}
.note--tight p {
  margin: 0;
}

/* Lightbox Karte */
.map-modal-inner {
  width: min(1000px, 94vw);
}

.map-modal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(31, 35, 40, 0.12);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  filter: none;
}

/* Stationsliste Rest: zweispaltig am Desktop */
.station-list.two-column {
  display: grid;
  gap: 10px;
}
@media (min-width: 900px) {
  .station-list.two-column {
    grid-template-columns: 1fr 1fr;
  }
}

.stations-below {
  padding-top: 10px;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav {
    position: absolute;
    right: 4vw;
    top: 64px;
    display: none !important;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(250, 247, 242, 0.98);
    box-shadow: var(--shadow);
    min-width: 220px;
  }

  .nav.is-open {
    display: flex !important;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--line);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .rundgang-layout {
    grid-template-columns: 1fr;
  }
  .buch-grid {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .station {
    grid-template-columns: 36px 60px 1fr;
    gap: 10px;
  }
  .station-thumb {
    width: 60px;
    height: 60px;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   Mobile-Optimierung: Buch
   (ans Ende der style.css)
   =========================== */

@media (max-width: 900px) {
  /* Buch: sicher einspaltig + saubere Abstände */
  .buch-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Cover wirkt schöner, nicht zu breit/klobig */
  .buch-cover {
    padding: 12px;
  }

  /* Cards: span 2 macht auf Mobile keinen Sinn */
  .cards {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  /* Buttons/CTA: auf Mobile gerne volle Breite */
  .cta-row {
    gap: 10px;
  }
  .cta-row .btn {
    width: 100%;
  }

  /* Download-Karte: bricht sauber um */
  .download-card {
    align-items: flex-start;
  }
  .dl-arrow {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  /* Preview untereinander (hast du teils schon, das hier ist stabiler) */
  .preview-grid {
    grid-template-columns: 1fr;
  }

  /* Textgrößen minimal ruhiger */
  .lead {
    font-size: 1.02rem;
  }

  /* Karten etwas kompakter */
  .card {
    padding: 14px;
  }
}

/* =========================================
   Stationen: Nummer am linken Rand (Offset)
   ========================================= */

/* Station muss "position: relative" haben, damit wir sauber offsetten können */
.station {
  position: relative;
}

/* Badge (Nummer) nach links rausziehen */
.badge {
  margin-left: -22px; /* weiter nach links */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Optional: kleine "Randlinie" links als Anker (wirkt wie Notizrand) */
.station::before {
  content: "";
  position: absolute;
  left: 22px; /* passt zur Badge-Position */
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
  opacity: 0.9;
}

/* Damit der Inhalt nicht über die Linie rutscht */
.station-thumb,
.station-text {
  position: relative;
  z-index: 1;
}

/* Mobile: weniger stark rausziehen, damit nichts abgeschnitten wirkt */
@media (max-width: 520px) {
  .badge {
    margin-left: -30px;
  }
  .station::before {
    left: 18px;
  }
}
/* Linie links entfernen (grauer Streifen) */
.station::before {
  content: none !important;
}

/* ==========================================================
   Editoriale Startseite – Linien & Orte
   Ergänzungen/Overrides für ruhigen, buchnahen Hero-Bereich
   ========================================================== */

.site-header {
  background: rgba(249, 249, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-cta {
  background: var(--accent);
  color: var(--paper) !important;
  border-color: var(--accent) !important;
  padding-inline: 14px !important;
}

.nav-cta:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}

.hero {
  min-height: 720px;
}

.hero-editorial {
  display: grid;
  gap: 30px;
}

.hero-copy-centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy-centered .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-copy-centered .kicker::before,
.hero-copy-centered .kicker::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--line);
}

.hero-copy-centered h1 {
  margin: 0 auto 18px;
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-copy-centered h1::first-line {
  color: var(--accent);
}

.hero-copy-centered h1 span {
  font-weight: 300;
}

.hero-copy-centered .lead {
  max-width: 62ch;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.cta-row-centered {
  justify-content: center;
  align-items: center;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 2px;
}

.text-link:hover {
  color: var(--ink);
}

.btn {
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-art-wide {
  width: min(860px, 100%);
  margin: 0 auto;
}

.frame-hero {
  padding: 16px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.36)
  );
  box-shadow: 0 18px 50px rgba(31, 35, 40, 0.08);
}

.frame-inner-art {
  background-image: url("./assets/farbe.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 520px;
  height: min(62vw, 560px);
  border-style: solid;
  filter: grayscale(1) contrast(1.05) brightness(1.02);
  animation: colorize 1.8s ease-out forwards;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 8px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 10px 30px rgba(31, 35, 40, 0.04);
}

.hero-feature {
  background: rgba(255, 255, 255, 0.46);
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
}

.hero-feature-icon {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(144, 36, 30, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.55);
}

.hero-feature h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hero-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

#buch .section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

#buch .section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.buch-cover {
  box-shadow: 0 18px 45px rgba(31, 35, 40, 0.08);
}

.download-card {
  border-style: solid;
}

@media (max-width: 900px) {
  .hero {
    padding: 46px 0 28px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .frame-inner-art {
    min-height: 420px;
    height: 58vw;
  }
}

@media (max-width: 520px) {
  .hero-copy-centered {
    text-align: left;
  }

  .hero-copy-centered .kicker::before {
    display: none;
  }

  .hero-copy-centered .kicker::after {
    width: 34px;
  }

  .cta-row-centered {
    justify-content: flex-start;
  }

  .cta-row-centered .btn {
    width: 100%;
  }

  .text-link {
    padding-left: 2px;
  }

  .frame-hero {
    padding: 10px;
  }

  .frame-inner-art {
    min-height: 300px;
    height: 78vw;
  }

  .hero-feature {
    padding: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.hero-photo {
  min-height: 760px;
  padding: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 245, 244, 0.98) 0%,
      rgba(245, 245, 244, 0.92) 30%,
      rgba(245, 245, 244, 0.55) 48%,
      rgba(245, 245, 244, 0.12) 68%,
      rgba(245, 245, 244, 0) 100%
    ),
    url("./assets/Hero.webp");

  background-size: cover;
  background-position: center right;
}

.hero-photo-inner {
  min-height: 760px;
  display: flex;
  align-items: center;
}

.hero-photo-copy {
  max-width: 460px;
}

.hero-photo h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 26px;
}

.hero-photo h1 span {
  display: block;
  font-size: 0.58em;
  letter-spacing: 0.02em;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}

.hero-photo .lead {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  .hero-photo {
    padding: 260px 0 48px;
    background-image:
      linear-gradient(
        180deg,
        rgba(245, 245, 244, 0.05) 0%,
        rgba(245, 245, 244, 0.95) 55%,
        rgba(245, 245, 244, 1) 100%
      ),
      url("./assets/Hero.webp");
    background-position: 70% top;
    background-size: 125%;
    background-repeat: no-repeat;
  }

  .hero-photo-inner {
    min-height: auto;
  }
}
.hero {
  min-height: 720px;
}
.book-section {
  padding: 90px 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.08)
  );
}

.book-intro {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 54px;
  align-items: center;
}

.book-intro h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  color: var(--ink);
}

.book-intro h2 span {
  color: var(--accent);
}

.book-lead {
  max-width: 560px;
  font-size: 1.12rem;
  color: var(--muted);
}

.book-preview-large {
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(31, 35, 40, 0.1);
  transform: rotate(2deg);
}

.book-preview-large img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.book-cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.book-card {
  padding: 34px 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 35px rgba(31, 35, 40, 0.06);
  text-align: center;
}

.book-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(144, 36, 30, 0.09);
  color: var(--accent);
  font-size: 1.7rem;
}

.book-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.book-card p {
  margin: 0;
  color: var(--muted);
}

.book-look {
  margin-top: 56px;
  /*display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;*/
  gap: 34px;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 50px rgba(31, 35, 40, 0.06);
}

.book-look h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 10px;
}

.preview-grid-book {
  margin-top: 0;
}

@media (max-width: 900px) {
  .book-intro,
  .book-look {
    grid-template-columns: 1fr;
  }

  .book-preview-large {
    max-width: 380px;
  }

  .book-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .book-section {
    padding: 58px 0;
  }

  .book-look {
    padding: 20px;
  }
}
.book-preview-section {
  padding: 110px 0;
  text-align: center;
}

.book-preview-section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 10px 0 20px;
}

.book-preview-section p {
  color: #666;
  max-width: 620px;
  margin: auto;
}

.polaroid-gallery {
  margin-top: 70px;

  display: flex;

  justify-content: center;

  align-items: flex-start;

  gap: 70px;

  flex-wrap: wrap;
}

.polaroid {
  background: white;

  width: 320px;

  padding: 18px;

  border-radius: 8px;

  text-decoration: none;

  color: #222;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

  transition: 0.35s;
}

.polaroid.left {
  transform: rotate(-3deg);
}

.polaroid.right {
  transform: rotate(3deg);

  margin-top: 50px;
}

.polaroid img {
  width: 100%;

  display: block;

  border-radius: 3px;
}

.caption {
  margin-top: 18px;
}

.caption strong {
  display: block;

  font-size: 1.1rem;

  color: #a43129;
}

.caption span {
  color: #777;

  font-size: 0.95rem;
}

.polaroid:hover {
  transform: translateY(-10px) scale(1.03);

  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.polaroid.left:hover {
  transform: rotate(-1deg) translateY(-10px) scale(1.03);
}

.polaroid.right:hover {
  transform: rotate(1deg) translateY(-10px) scale(1.03);
}

.preview-button {
  margin-top: 70px;
}
.preview {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  transition: 0.3s;
  cursor: zoom-in;
}

.preview img {
  transition: transform 0.35s ease;
}

.preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.preview:hover img {
  transform: scale(1.03);
}

.preview-hint {
  text-align: center;
  margin-top: 18px;
  color: #777;
  font-size: 0.95rem;
}
.preview-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.preview-hint {
  margin: 16px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Altstadtrundgang – neuer Look */

#rundgang {
  padding: 90px 0 40px;
}

#rundgang .section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

#rundgang .section-head h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

#rundgang .subhead {
  font-size: 1.1rem;
}

.rundgang-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 50px rgba(31, 35, 40, 0.06);
}

.map-figure {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: 18px;
}

.map-img {
  border-radius: 18px;
}

.caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.caption p {
  margin: 0;
}

.stations-head {
  margin-bottom: 16px;
}

.stations-head .small {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.station-list--top {
  border-top: 0;
  padding-top: 0;
}

.station {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.04);
}

.station:hover {
  background: #fff;
  transform: translateY(-2px);
}

.badge {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

.stations-below {
  padding: 24px 0 80px;
}

.stations-below h3 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .rundgang-layout {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
.map-figure {
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.map-img {
  border-radius: 18px;
}

.rundgang-layout {
  grid-template-columns: 1.15fr 0.85fr;
}
.map-block {
  width: 100%;
}

.map-figure {
  width: 100%;
  padding: 24px;
}

.map-open {
  display: block;
  width: 100%;
}

.map-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.map-zoom {
  z-index: 4;
  cursor: zoom-in;
}
.order-section {
  padding: 90px 0 42px;
  background: rgba(255, 255, 255, 0.22);
}

.order-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.order-grid h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.order-lead {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.08rem;
}

.price-box {
  margin-top: 28px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(31, 35, 40, 0.06);
}

.price {
  color: var(--accent);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.price-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.order-card {
  padding: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(31, 35, 40, 0.06);
}

.order-card h3 {
  margin-top: 0;
  color: var(--accent);
}

.order-card p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
}
.nav a.is-active {
  color: var(--accent);
  border-color: rgba(144, 36, 30, 0.28);
  background: rgba(144, 36, 30, 0.08);
}

.stations-more-title {
  margin-bottom: 10px;
}

@media (max-width: 760px) {
  .stations-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .search,
  .search input {
    width: 100%;
  }

  .station {
    grid-template-columns: 42px 72px 1fr;
    padding: 14px;
  }

  .badge {
    margin-left: 0;
  }

  .station-title,
  .station-desc {
    word-break: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 520px) {
  .station {
    grid-template-columns: 42px 1fr;
    grid-template-areas:
      "badge text"
      "thumb text";
    align-items: start;
  }

  .badge {
    grid-area: badge;
    margin-left: 0;
  }

  .station-thumb {
    grid-area: thumb;
    width: 42px;
    height: 42px;
  }

  .station-text {
    grid-area: text;
  }
}
@media (max-width: 760px) {
  .rundgang-layout {
    display: block;
    grid-template-columns: 1fr !important;
    padding: 0;
  }

  /*.map-block {
    width: 100%;
  }

  .stations {
    width: 100%;
    min-width: 0;
  }

  .stations-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .search,
  .search input {
    width: 100%;
  }

  .station-list--top {
    width: 100%;
  }

  .station {
    width: 100%;
    grid-template-columns: 42px 64px minmax(0, 1fr);
  }

  .badge {
    margin-left: 0;
  }*/
}
