/*
 * toledopass.com — Design „Pulsera“ (30.11.2026, Skill frontend-design).
 *
 * Idee: Der Toledo Pass ist ein Armband mit sieben Stationen. Dieses Band ist das eine Element, das
 * auffallen darf: ein grünes Textilband mit orangefarbener Steppnaht und sieben Nieten, die zu den
 * Monumenten springen (Reihenfolge = Rundgang, deshalb nummeriert). Alles andere bleibt ruhig:
 * Kalkweiß, Salbei für helle Abschnitte, Fotos ohne Rahmen. Farben aus dem bestehenden Logo
 * (Alcázar in Ziegelorange, Brücke in Graugrün).
 *
 *   --tajo       #24493a  Flussgrün: Band, Kopfzonen, Schlussband (weiße Schrift 9,4:1)
 *   --tajo-hell  #e3e9e1  Salbei für helle Abschnitte
 *   --kalk       #f8f9f6  Seitengrund (kühles Kalkweiß)
 *   --tinte      #1c2320  Text
 *   --ziegel     #a8441a  Kaufen-Knöpfe und Steppnaht (weiße Schrift 5,6:1)
 *   --linie      #c6d0c3  Trennlinien
 *
 * Schrift: Alegreya (Überschriften, Kursiv für spanische Namen) und Alegreya Sans (Text). Alegreya
 * kommt aus der Kalligrafie; Toledo war mit der Übersetzerschule eine Stadt der Handschriften.
 * Keine Akzentleisten, keine Versalien-Labels, keine Kartenschatten.
 */
:root {
  --tajo: #24493a;
  --tajo-dunkel: #1a362b;
  --tajo-hell: #e3e9e1;
  --kalk: #f8f9f6;
  --tinte: #1c2320;
  --grau: #4f5a53;
  --ziegel: #a8441a;
  --ziegel-dunkel: #8a3612;
  --naht: #e08a4f;
  --linie: #c6d0c3;
  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Helvetica Neue", Arial, sans-serif;
  --breite: 70rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-variant-numeric: lining-nums; margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.55; color: var(--tinte); background: var(--kalk); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tajo); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ziegel-dunkel); }
:focus-visible { outline: 3px solid var(--naht); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .55em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em, i { font-style: italic; }
.tp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp-sprung { position: absolute; left: -999px; top: 0; background: var(--kalk); padding: .6rem 1rem; z-index: 50; }
.tp-sprung:focus { left: 1rem; top: 1rem; }

/* Kopf */
.tp-kopf { position: sticky; top: 0; z-index: 20; background: var(--kalk); border-bottom: 1px solid var(--linie); }
.tp-kopf__innen { max-width: var(--breite); margin: 0 auto; padding: .55rem 1.25rem; display: flex; align-items: center; gap: 1.4rem; }
.tp-marke { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--tinte); margin-right: auto; }
.tp-marke img { width: 40px; height: 40px; }
.tp-marke__text { display: flex; flex-direction: column; line-height: 1.05; }
.tp-marke__name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--tajo); }
.tp-marke__zusatz { font-size: .82rem; color: var(--grau); }
.tp-nav { display: flex; gap: 1.3rem; }
.tp-nav a { color: var(--tinte); text-decoration: none; font-size: 1rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.tp-nav a:hover, .tp-nav a[aria-current] { border-bottom-color: var(--ziegel); color: var(--tinte); }
.tp-kopf__kaufen { background: var(--ziegel); color: #fff; text-decoration: none; padding: .5rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.tp-kopf__kaufen:hover { background: var(--ziegel-dunkel); color: #fff; }
.tp-kopf__burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.tp-burger, .tp-burger::before, .tp-burger::after { display: block; width: 22px; height: 2px; background: var(--tinte); position: relative; }
.tp-burger::before, .tp-burger::after { content: ""; position: absolute; left: 0; }
.tp-burger::before { top: -7px; } .tp-burger::after { top: 7px; }
.tp-sprache { position: relative; }
.tp-sprache summary { list-style: none; cursor: pointer; font-weight: 700; font-size: .95rem; padding: .35rem .55rem; border: 1px solid var(--linie); border-radius: 4px; }
.tp-sprache summary::-webkit-details-marker { display: none; }
.tp-sprache__liste { position: absolute; right: 0; top: calc(100% + .4rem); background: #fff; border: 1px solid var(--linie); border-radius: 4px; padding: .35rem 0; min-width: 10rem; z-index: 30; }
.tp-sprache__liste a { display: block; padding: .35rem 1rem; color: var(--tinte); text-decoration: none; }
.tp-sprache__liste a:hover, .tp-sprache__liste a[aria-current] { background: var(--tajo-hell); }

/* Hero: Foto über die ganze Breite, Text auf grüner Tafel, die unten ins Foto ragt */
.tp-hero { position: relative; background: var(--tajo); }
.tp-hero__bild img { width: 100%; height: clamp(18rem, 52vw, 38rem); object-fit: cover; object-position: 40% 35%; }
.tp-hero__tafel { position: relative; max-width: var(--breite); margin: -9rem auto 0; padding: 0 1.25rem; }
.tp-hero__tafel-innen { background: var(--tajo); color: #fff; max-width: 40rem; padding: 2rem 2.2rem 2.2rem; border-radius: 6px 6px 0 0; }
.tp-hero h1 { color: #fff; margin-bottom: .2em; }
.tp-hero__unter { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin-bottom: 1rem; color: #f3d9c5; }
.tp-hero p { color: #eef3ee; }
.tp-hero__daten { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; font-size: 1.05rem; color: #fff; }
.tp-hero__daten li::before { content: "•"; color: var(--naht); margin-right: .45rem; }
.tp-hero__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin: 0; }
.tp-hero__knoepfe a.tp-link-hell { color: #fff; }

/* Das Armband */
.tp-pulsera { background: var(--tajo); padding: 0 1.25rem 2.6rem; }
.tp-pulsera__band { position: relative; max-width: var(--breite); margin: 0 auto; padding: 1.15rem 1.6rem; list-style: none; counter-reset: station;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem;
  background: var(--tajo-dunkel); border-radius: 999px;
  box-shadow: inset 0 0 0 5px var(--tajo-dunkel), inset 0 0 0 6px var(--naht); }
.tp-pulsera__band::before { content: ""; position: absolute; left: 2.2rem; right: 2.2rem; top: 50%; border-top: 2px dashed rgba(224, 138, 79, .55); }
.tp-pulsera__band li { position: relative; counter-increment: station; }
.tp-pulsera__band a { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; color: #fff; text-decoration: none; font-size: .95rem; line-height: 1.15; padding: .2rem .1rem; }
.tp-pulsera__niete { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--kalk); color: var(--tajo); font-family: var(--serif); font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 3px var(--tajo-dunkel), 0 0 0 4px var(--naht); position: relative; z-index: 1; }
.tp-pulsera__niete::before { content: counter(station); }
.tp-pulsera__band a:hover .tp-pulsera__niete, .tp-pulsera__band a:focus-visible .tp-pulsera__niete { background: var(--naht); color: #fff; }
.tp-pulsera__name { background: var(--tajo-dunkel); padding: 0 .25rem; position: relative; z-index: 1; }

/* Abschnitte */
.tp-abschnitt { padding: clamp(3rem, 7vw, 5rem) 1.25rem; }
.tp-abschnitt--salbei { background: var(--tajo-hell); }
.tp-innen { max-width: var(--breite); margin: 0 auto; }
.tp-innen--schmal { max-width: 46rem; }
.tp-einleitung { font-size: 1.25rem; color: var(--grau); max-width: 44rem; }
.tp-klein { font-size: .95rem; color: var(--grau); }
.tp-weiter { margin-top: 1.5rem; font-weight: 700; }
.tp-spalten { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
.tp-liste { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.tp-liste li { margin-bottom: .5rem; }
.tp-liste li::marker { color: var(--ziegel); }

/* Kaufen */
.tp-kauf__innen { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.tp-kauf__box { background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: 1.8rem; text-align: center; }
.tp-kauf__preis { font-size: 1.05rem; color: var(--grau); margin-bottom: 1rem; }
.tp-kauf__preis strong { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1.05; color: var(--tinte); }
.tp-kauf__bewertung { margin-bottom: .8rem; }

/* Knöpfe */
.tp-knopf { display: inline-block; background: var(--ziegel); color: #fff; text-decoration: none; font-weight: 700; padding: .75rem 1.5rem; border-radius: 999px; font-size: 1.05rem; text-align: center; }
.tp-knopf:hover { background: var(--ziegel-dunkel); color: #fff; }
.tp-knopf--gross { display: block; padding: 1rem 1.5rem; font-size: 1.15rem; margin-bottom: .8rem; }
.tp-knopf--klein { padding: .5rem 1.1rem; font-size: 1rem; }
.tp-knopf--hell { background: #fff; color: var(--tajo); }
.tp-knopf--hell:hover { background: var(--tajo-hell); color: var(--tajo-dunkel); }

/* Monumente */
.tp-monumente { display: grid; gap: 0; margin-top: 2rem; counter-reset: monument; }
.tp-monument { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0 1.4rem; padding: 2rem 0; border-top: 1px solid var(--linie); counter-increment: monument; }
.tp-monument::before { content: counter(monument); font-family: var(--serif); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ziegel); width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 2px solid var(--ziegel); display: grid; place-items: center; font-size: 1.6rem; }
.tp-monument h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-bottom: .1em; }
.tp-monument__es { font-family: var(--serif); font-style: italic; color: var(--grau); margin-bottom: .8rem; }
.tp-monument__text { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.2rem; }
.tp-monument__fakten { margin: 0; font-size: 1rem; }
.tp-monument__fakten div { padding: .45rem 0; border-bottom: 1px dotted var(--linie); }
.tp-monument__fakten dt { font-weight: 700; color: var(--tajo); }
.tp-monument__fakten dd { margin: 0; }
.tp-monument__bild { margin: 0 0 1rem; max-width: 22rem; }
.tp-monument__bild img { border-radius: 4px; }
.tp-monument__bild--rechts { margin: 1.4rem 0 0; max-width: 16rem; }
.tp-ausgenommen { margin-top: 1rem; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--linie); border-radius: 6px; }
.tp-ausgenommen h3 { margin-bottom: .3em; }

/* Rechnung */
.tp-rechnung { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--linie); border-radius: 6px; font-size: 1.02rem; }
.tp-rechnung caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; padding-bottom: .6rem; }
.tp-rechnung td, .tp-rechnung th { padding: .5rem 1rem; text-align: left; border-bottom: 1px solid var(--tajo-hell); font-weight: 400; }
.tp-rechnung td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-rechnung tfoot th, .tp-rechnung tfoot td { font-weight: 700; border-bottom: 0; }
.tp-rechnung tfoot tr:first-child th, .tp-rechnung tfoot tr:first-child td { border-top: 2px solid var(--tinte); }
.tp-rechnung tr.tp-rechnung__pass th, .tp-rechnung tr.tp-rechnung__pass td { color: var(--ziegel-dunkel); }

/* Über Toledo */
.tp-stadt { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.tp-stadt figure { margin: 0; }
.tp-stadt figcaption { font-size: .85rem; color: var(--grau); margin-top: .4rem; }
.tp-stadt__bilder { display: grid; gap: 1rem; align-self: center; }
.tp-stadt__bilder img { border-radius: 4px; }

/* Tabellen (Öffnungszeiten) */
.tp-tabelle-wrap { overflow-x: auto; }
.tp-tabelle { width: 100%; border-collapse: collapse; background: #fff; font-size: 1rem; min-width: 34rem; }
.tp-tabelle th, .tp-tabelle td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tp-tabelle thead th { background: var(--tajo); color: #fff; font-weight: 700; }
.tp-tabelle tbody th { font-weight: 700; }

/* Rundgang: Stationen als senkrechtes Band */
.tp-route { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: halt; }
.tp-route li { position: relative; padding: 0 0 2rem 4rem; counter-increment: halt; }
.tp-route li::before { content: counter(halt); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--tajo); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--kalk), 0 0 0 4px var(--naht); }
.tp-route li::after { content: ""; position: absolute; left: 1.25rem; top: 2.8rem; bottom: .2rem; border-left: 2px dashed var(--naht); }
.tp-route li:last-child::after { display: none; }
.tp-route h3 { margin-bottom: .2em; padding-top: .3rem; }
.tp-route__adresse { font-size: .98rem; color: var(--grau); margin-bottom: .5rem; }

/* Angebote */
.tp-angebote { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--linie); }
.tp-angebot { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem 1.6rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--linie); }
.tp-angebot__text strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: .15rem; }
.tp-angebot__text span { color: var(--grau); font-size: 1rem; }
.tp-angebot__werte { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; font-size: .98rem; }
.tp-sterne { white-space: nowrap; }
.tp-sterne span[aria-hidden] { color: #a85a05; }
.tp-sterne__anzahl { color: var(--grau); }
.tp-preis strong { font-size: 1.15rem; }
.tp-preis__ab { color: var(--grau); }

/* FAQ */
.tp-faq { border-top: 1px solid var(--linie); }
.tp-faq__frage { border-bottom: 1px solid var(--linie); }
.tp-faq__frage summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; list-style: none; position: relative; }
.tp-faq__frage summary::-webkit-details-marker { display: none; }
.tp-faq__frage summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.5rem; color: var(--ziegel); font-family: var(--sans); }
.tp-faq__frage[open] summary::after { content: "–"; }
.tp-faq__antwort { padding: 0 0 1.1rem; }

/* Seitenkopf der Unterseiten */
.tp-kopfzeile { background: var(--tajo); color: #fff; padding: clamp(2.6rem, 6vw, 4rem) 1.25rem 2.4rem; }
.tp-kopfzeile h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.tp-kopfzeile .tp-einleitung { color: #e6eee7; }
.tp-kopfzeile + .tp-pulsera { padding-top: 0; }

/* Schluss */
.tp-schluss { background: var(--tajo); color: #fff; padding: 3rem 1.25rem; }
.tp-schluss__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.tp-schluss__text { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0; max-width: 38rem; }

/* Rechtliches, 404 */
.tp-recht { max-width: 46rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }

/* Fuß */
.tp-fuss { background: var(--tajo-dunkel); color: #d5dfd7; padding: 2.6rem 1.25rem 3rem; font-size: .98rem; }
.tp-fuss__innen { max-width: var(--breite); margin: 0 auto; }
.tp-fuss a { color: #fff; }
.tp-fuss__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.2rem 0; }
.tp-fuss__hinweis { max-width: 48rem; }
.tp-fuss__bilder, .tp-fuss__copy { font-size: .88rem; color: #b6c4b9; margin: .3rem 0; }

/* Schmal */
@media (max-width: 980px) {
  .tp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--kalk); border-bottom: 1px solid var(--linie); flex-direction: column; gap: 0; padding: .4rem 1.25rem 1rem; }
  .tp-nav.tp-offen { display: flex; }
  .tp-nav a { padding: .7rem 0; border-bottom: 1px solid var(--tajo-hell); }
  .tp-kopf__burger { display: block; order: 3; }
  .tp-kopf__innen { position: relative; gap: .7rem; }
  .tp-pulsera__band { grid-template-columns: repeat(4, 1fr); border-radius: 28px; row-gap: 1rem; }
  .tp-pulsera__band::before { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .tp-kopf__kaufen { display: none; }
  .tp-marke__zusatz { display: none; }
  .tp-hero__bild img { height: 17rem; }
  .tp-hero__tafel { margin-top: -3rem; padding: 0 .75rem; }
  .tp-hero__tafel-innen { padding: 1.5rem 1.3rem 1.6rem; }
  .tp-pulsera { padding: 0 .75rem 2rem; }
  .tp-pulsera__band { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; padding: 1rem .8rem; gap: .2rem; }
  .tp-pulsera__band li { flex: 0 0 6.4rem; scroll-snap-align: start; }
  .tp-spalten, .tp-kauf__innen, .tp-stadt, .tp-monument__text { grid-template-columns: 1fr; gap: 1.6rem; }
  .tp-monument { grid-template-columns: 1fr; }
  .tp-monument::before { margin-bottom: .8rem; width: 2.8rem; height: 2.8rem; font-size: 1.3rem; }
  .tp-angebot { grid-template-columns: 1fr; }
  .tp-angebot__werte { flex-direction: row; gap: 1rem; align-items: baseline; }
}
