/* nurembergcard.com — Gestaltung „Druckstock“ (30.11.2026)
 *
 * Nürnberg als Stadt Dürers und des frühen Buchdrucks: Papier und Druckerschwarz, Burgsandsteinrot für
 * die Burg-Silhouette und Überschriften-Linien, Pegnitzgrün für Nahverkehr und Links, Lebkuchengold nur
 * für Buchungsknöpfe. Eine Schrift (Literata) mit optischer Größe: groß und schwer für Titel, klein für Text.
 * Das Erkennungszeichen ist die 48-Stunden-Leiste im Buchungsfeld (Druckerlineal mit 48 Strichen).
 * Register der Attraktionen wie ein Buchregister mit Punktlinie.
 */
:root {
    --tinte: #1d1a17;
    --tinte-weich: #514a43;
    --papier: #fbfaf7;
    --bogen: #f1ede4;
    --rot: #8a2b2f;
    --rot-tief: #6d1f23;
    --pegnitz: #275552;
    --gold: #d9a441;
    --gold-hell: #e8bb5e;
    --linie: #d9d2c6;
    --mass: 72rem;
    --text: 40rem;
    --schrift: 'Literata', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
    margin: 0;
    background: var(--papier);
    color: var(--tinte);
    font-family: var(--schrift);
    font-optical-sizing: auto;
    font-size: 1.0625rem;
    line-height: 1.65;
    font-variant-numeric: oldstyle-nums proportional-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pegnitz); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 750; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.klein { font-size: .875rem; color: var(--tinte-weich); line-height: 1.5; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -999px; top: 0; background: var(--tinte); color: var(--papier); padding: .5rem 1rem; z-index: 50; }
.springen:focus { left: 1rem; }
.wrap { width: min(100% - 2.5rem, var(--mass)); margin-inline: auto; }
.wrap-schmal { width: min(100% - 2.5rem, 46rem); }

/* Knöpfe: Gold mit Tinte (Kontrast 8:1) */
.knopf {
    display: inline-block; background: var(--gold); color: var(--tinte); font-weight: 700;
    text-decoration: none; padding: .7rem 1.3rem; border-radius: 3px; border: 1px solid #b9862a;
    font-variant-numeric: lining-nums;
}
.knopf:hover { background: var(--gold-hell); color: var(--tinte); }
.knopf-gross { display: block; text-align: center; font-size: 1.1rem; padding: .9rem 1.2rem; }

/* Kopf */
.kopf { background: var(--papier); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 20; }
.kopf-reihe { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.marke { text-decoration: none; color: var(--tinte); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; margin-right: auto; white-space: nowrap; }
.marke-c { color: var(--rot); }
.marke { display: inline-flex; align-items: center; gap: .5rem; }
.marke-bild { width: auto; height: 2.6rem; }
.menue, .sprachen { position: relative; }
.menue > summary, .sprachen > summary { list-style: none; cursor: pointer; padding: .4rem .2rem; font-weight: 600; white-space: nowrap; }
.menue > summary::-webkit-details-marker, .sprachen > summary::-webkit-details-marker { display: none; }
.menue > summary::after, .sprachen > summary::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.hauptnav, .sprachen ul {
    position: absolute; right: 0; top: calc(100% + .5rem); background: var(--papier); border: 1px solid var(--tinte);
    box-shadow: 4px 4px 0 var(--tinte); padding: .5rem 0; min-width: 14rem; z-index: 30;
}
.hauptnav a, .sprachen a { display: block; padding: .45rem 1rem; text-decoration: none; color: var(--tinte); }
.hauptnav a:hover, .sprachen a:hover { background: var(--bogen); }
.hauptnav a[aria-current], .sprachen a[aria-current] { color: var(--rot); font-weight: 700; }
.sprachen ul { list-style: none; margin: 0; min-width: 6rem; }
.kopf-buchen { font-weight: 700; color: var(--rot); white-space: nowrap; }
.hauptnav-breit { display: none; }
@media (min-width: 68rem) {
    .menue { display: none; }
    .hauptnav-breit { display: flex; gap: .1rem; }
    .hauptnav-breit a { padding: .4rem .5rem; font-size: .95rem; text-decoration: none; color: var(--tinte); }
    .hauptnav-breit a:hover { color: var(--rot); }
    .hauptnav-breit a[aria-current] { color: var(--rot); box-shadow: inset 0 -2px 0 var(--rot); }
}
@media (max-width: 40rem) { .kopf-buchen { display: none; } .kopf-reihe { gap: .7rem; } .marke { font-size: 1.1rem; gap: .4rem; } .marke-bild { height: 2.2rem; } }

/* Startseite: Hero */
.hero { position: relative; background: var(--bogen); padding: 2.5rem 0 0; }
.hero-raster { display: grid; gap: 2rem; align-items: start; padding-bottom: 3rem; }
@media (min-width: 60rem) {
    .hero-raster { grid-template-columns: minmax(0, 1fr) 26rem; grid-template-areas: "text karte" "ablauf karte"; column-gap: 3.5rem; row-gap: 0; padding-top: 1.5rem; }
    .hero-text { grid-area: text; } .hero .karte { grid-area: karte; } .hero-ablauf { grid-area: ablauf; }
}
.hero h1 { margin-bottom: .9rem; }
.hero-name { display: block; font-size: clamp(3.2rem, 11vw, 7rem); font-weight: 800; line-height: .92; letter-spacing: -.03em; font-variation-settings: 'opsz' 72; color: var(--tinte); }
.hero-sub { display: block; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 500; margin-top: .7rem; color: var(--rot); }
.hero-lede { font-size: 1.15rem; max-width: 36rem; }
.hero-rating { font-weight: 600; }
.hero-rating span, .karte-rating span { color: #a85a05; }
.skyline { display: block; width: 100%; height: clamp(70px, 11vw, 140px); fill: var(--rot); }
.skyline .skyline-fels { fill: var(--tinte); }

/* Buchungsfeld */
.karte { background: var(--papier); border: 2px solid var(--tinte); box-shadow: 6px 6px 0 var(--rot); padding: 1.4rem 1.4rem 1.2rem; }
.karte h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.karte-preis { margin: 0; font-variant-numeric: lining-nums; }
.karte-preis strong { font-size: 2rem; font-weight: 800; }
.karte-ab, .karte-pro { color: var(--tinte-weich); }
.karte-rating { font-size: .95rem; margin: .2rem 0 0; }
.karte-form { margin-top: 1rem; }
.felder { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.felder label { display: flex; flex-direction: column; font-size: .8rem; font-weight: 600; gap: .25rem; }
.felder input, .felder select {
    font: inherit; font-size: 1rem; font-variant-numeric: lining-nums; padding: .5rem .45rem; border: 1px solid var(--tinte);
    border-radius: 2px; background: #fff; color: var(--tinte); min-height: 2.75rem; width: 100%;
}
.karte-liste { list-style: none; padding: 0; margin: 1.2rem 0 .8rem; border-top: 1px solid var(--linie); }
.karte-liste li { padding: .45rem 0 .45rem 1.4rem; border-bottom: 1px solid var(--linie); position: relative; font-size: .95rem; }
.karte-liste li::before { content: "✓"; position: absolute; left: 0; color: var(--pegnitz); font-weight: 700; }
.karte-hinweis { margin: .8rem 0 0; }

/* Die 48-Stunden-Leiste: Druckerlineal, Strich je Stunde, lange Striche alle 6 und 12 Stunden */
.leiste { margin: 1.1rem 0 1rem; }
.leiste-band {
    position: relative; height: 2.4rem; border-bottom: 2px solid var(--tinte); margin: 0 .4rem 1.4rem;
    background:
        linear-gradient(var(--rot), var(--rot)) bottom / 100% 6px no-repeat,
        repeating-linear-gradient(90deg, var(--tinte) 0 1px, transparent 1px calc(100% / 48)) bottom / calc(100% + 1px) 10px no-repeat,
        repeating-linear-gradient(90deg, var(--tinte) 0 1.5px, transparent 1.5px calc(100% / 8)) bottom / calc(100% + 1.5px) 18px no-repeat,
        repeating-linear-gradient(90deg, var(--tinte) 0 2px, transparent 2px calc(100% / 4)) bottom / calc(100% + 2px) 28px no-repeat;
}
.leiste-band span {
    position: absolute; bottom: -1.45rem; left: calc(var(--h) / 48 * 100%); transform: translateX(-50%);
    font-size: .75rem; font-variant-numeric: lining-nums tabular-nums; color: var(--tinte-weich);
}
.leiste-text { margin: 0 0 .4rem; font-variant-numeric: lining-nums; display: flex; justify-content: space-between; gap: .5rem; }
.leiste-text > span { display: flex; flex-direction: column; }
.leiste-rechts { text-align: right; }
.leiste-l { font-size: .78rem; color: var(--tinte-weich); }
.leiste-start, .leiste-ende { font-weight: 700; font-size: .95rem; }
.leiste .klein { margin: 0; }

/* Abschnitte */
.abschnitt { padding: 3.5rem 0; border-top: 1px solid var(--linie); }
.abschnitt h2 { padding-bottom: .35rem; border-bottom: 3px solid var(--rot); display: inline-block; }
.einleitung { max-width: var(--text); }
.drei { display: grid; gap: 2rem; }
@media (min-width: 50rem) {
    .drei { grid-template-columns: repeat(3, 1fr); gap: 0; }
    .drei > div { padding: 0 1.5rem; border-left: 1px solid var(--tinte); }
    .drei > div:first-child { padding-left: 0; border-left: 0; }
}
.drei h3 { font-size: 1.35rem; }
.drei > div:nth-child(2) h3 { color: var(--pegnitz); }
.drei > div:nth-child(3) h3 { color: var(--rot); }

/* Rechnung */
.rechnung { width: 100%; border-collapse: collapse; margin: 1rem 0; font-variant-numeric: lining-nums tabular-nums; }
.rechnung td, .rechnung th { padding: .45rem 0; border-bottom: 1px dotted var(--tinte-weich); text-align: left; font-weight: 400; }
.rechnung .zahl { text-align: right; white-space: nowrap; }
.rechnung .tag th { font-weight: 700; border-bottom: 1px solid var(--tinte); padding-top: 1.1rem; }
.rechnung tfoot th, .rechnung tfoot td { font-weight: 700; border-bottom: 1px solid var(--tinte); }
.rechnung tfoot tr:first-child th, .rechnung tfoot tr:first-child td { border-top: 2px solid var(--tinte); }
.rechnung .rest th, .rechnung .rest td { color: var(--rot); font-size: 1.2rem; border-bottom: 3px double var(--tinte); }

/* Ablauf im Hero (echte Reihenfolge, daher Ziffern) */
.ablauf-h { font-size: 1.3rem; margin-top: 1rem; }
.schritte { list-style: none; padding: 0; margin: 0; counter-reset: schritt; max-width: 36rem; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--linie); }
.schritte li::before { content: counter(schritt); grid-row: span 2; font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--rot); font-variant-numeric: lining-nums; }
.schritte h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.schritte p { margin: 0; }

/* Fotos mit Bildnachweis */
.foto { margin: 0 0 .8rem; }
.foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--tinte); }
.foto figcaption { font-size: .7rem; color: var(--tinte-weich); margin-top: .2rem; }
.foto.breit img { aspect-ratio: 16 / 7; }

.top-raster { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 2rem; }
@media (min-width: 40rem) { .top-raster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .top-raster { grid-template-columns: repeat(3, 1fr); } }
.top-raster h3 { margin-bottom: .3rem; }
.top-raster p { margin-bottom: .4rem; }
.tuer { font-size: .9rem; color: var(--tinte-weich); font-variant-numeric: lining-nums; }
.mehr { font-weight: 700; }

.liste { padding-left: 1.2rem; }
.liste li { margin-bottom: .6rem; }
.liste li::marker { color: var(--rot); }

/* Stimmen */
.stimmen { background: var(--tinte); color: var(--papier); border-top: 0; }
.stimmen h2 { border-color: var(--gold); }
.stimmen-raster { display: grid; gap: 2rem; margin-top: 1rem; }
@media (min-width: 56rem) { .stimmen-raster { grid-template-columns: repeat(3, 1fr); } }
.stimmen figure { margin: 0; }
.stimmen blockquote { margin: 0 0 .8rem; font-style: italic; font-size: 1.05rem; line-height: 1.6; }
.stimmen figcaption { font-size: .85rem; color: #d6cfc3; }
.stimmen .klein { color: #d6cfc3; margin-top: 1.5rem; }

/* Fragen */
.fragen dl, .fragen-liste { margin: 1rem 0 1.5rem; }
.fragen dt, .fragen-liste dt { font-weight: 700; margin-top: 1.2rem; font-size: 1.08rem; }
.fragen dd, .fragen-liste dd { margin: .3rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--linie); }

.schluss { padding: 3.5rem 0 4rem; background: var(--rot); color: var(--papier); }
.schluss h2 { color: var(--papier); }

/* Unterseiten: Text links, Buchungsfeld am Rand */
.unterseite .kopfbereich { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--linie); margin-bottom: 2rem; }
.zurueck { font-size: .9rem; margin-bottom: .6rem; }
.lede { font-size: 1.2rem; max-width: var(--text); margin: 0; }
.spalten { display: grid; gap: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 60rem) {
    .spalten { grid-template-columns: minmax(0, var(--text)) 22rem; justify-content: space-between; }
    .rand .karte { position: sticky; top: 5.5rem; }
}
.text { max-width: var(--text); }
.text h2 { margin-top: 2.2rem; padding-bottom: .3rem; border-bottom: 2px solid var(--rot); }
.text > h2:first-child { margin-top: 0; }
.karte-klein { padding: 1.1rem; box-shadow: 5px 5px 0 var(--rot); }

/* Register der Attraktionen: Name …… Ort, darunter der Kurztext */
.register { margin: 1.5rem 0 2rem; }
.register h3 { color: var(--rot); font-size: 1.15rem; margin-bottom: .4rem; }
.register ul { list-style: none; padding: 0; margin: 0; }
.register li { display: grid; grid-template-columns: auto 1fr auto; column-gap: .4rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); }
.register-name { font-weight: 700; }
.register-name a { color: var(--tinte); }
.register li::after { content: ""; grid-column: 2; grid-row: 1; border-bottom: 2px dotted var(--tinte-weich); margin-bottom: .4em; }
.register-ort { grid-column: 3; grid-row: 1; font-size: .9rem; color: var(--tinte-weich); }
.register-text { grid-column: 1 / -1; font-size: .95rem; color: var(--tinte-weich); }
.register .zu .register-name, .register .zu .register-name a { color: var(--tinte-weich); text-decoration: line-through; }
.marke-zu { text-decoration: none; display: inline-block; font-weight: 600; color: var(--rot); }

.portrait { display: grid; gap: 0 1.5rem; margin: 1.5rem 0 2rem; }
@media (min-width: 38rem) { .portrait { grid-template-columns: 13rem 1fr; } .portrait > .foto { grid-row: span 4; } }
.portrait h2, .portrait h3 { margin-top: 0; border: 0; padding: 0; }
.eintrag { margin: 1.2rem 0 1.6rem; }
.eintrag h3 { margin-bottom: .3rem; }

.tabelle { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-variant-numeric: lining-nums; }
.tabelle th, .tabelle td { text-align: left; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle thead th { border-bottom: 2px solid var(--tinte); }

.tagesplan { padding-left: 1.4rem; }
.tagesplan li { margin-bottom: .7rem; padding-left: .3rem; }
.tagesplan li::marker { color: var(--rot); font-weight: 800; font-variant-numeric: lining-nums; }

.rechtstext { padding: 1rem 0 4rem; }

/* Fuß */
.fuss { background: var(--tinte); color: #e9e3d8; padding: 3rem 0 6rem; font-size: .95rem; }
.fuss a { color: #f3ddb0; }
.fuss-raster { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .fuss-raster { grid-template-columns: 2fr 1fr; } .fuss-raster .klein, .fuss-recht { grid-column: 1 / -1; } }
.fuss-nav { display: flex; flex-direction: column; gap: .3rem; }
.fuss-recht { display: flex; gap: 1.5rem; margin: 0; }
.fuss .klein { color: #bdb5a8; }

/* Mobile-Sticky-Leiste */
.sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
    align-items: center; justify-content: space-between; gap: .8rem; background: var(--papier); border-top: 2px solid var(--tinte);
    padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px));
}
.sticky-text { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.sticky-preis { display: block; font-weight: 400; color: var(--tinte-weich); font-variant-numeric: lining-nums; }
.sticky .knopf { padding: .6rem 1.2rem; }
body { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 60rem) { .sticky { display: none !important; } body { padding-bottom: 0; } .fuss { padding-bottom: 3rem; } }

@media (max-width: 30rem) {
    .karte { padding: 1.1rem; box-shadow: 4px 4px 0 var(--rot); }
}
