/* Akkordeon-Orchester Frohe Klänge – Konzept „Konzertprogramm“
   Nachtblau und Königsblau wie die Vereinswesten, Wappen-Rot, Messing wie die Beschläge am Akkordeon,
   Notenpapier als Grund. Musikalische Motive: Notensystem in der Navigation, Tempobezeichnungen als
   Abschnittsnummern, Balg als Trenner, Register-Symbole, Programmzettel, Schlussstrich „Fine“. */

@font-face { font-family: "Bodoni Moda"; src: url(/fonts/BodoniModa-Variable.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(/fonts/BodoniModa-Italic-Variable.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/InstrumentSans-Variable.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --night: #0d1733;
  --night-2: #16244d;
  --royal: #2448b8;
  --royal-soft: #e4e9f8;
  --crest: #c8202a;
  --crest-dark: #a3151e;
  --brass: #b8923f;
  --brass-light: #e0c27a;
  --paper: #faf7f0;
  --paper-2: #f1ebdf;
  --ink: #1a1e2c;
  --muted: #565c6c;
  --line: #d9d0bf;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --staff: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 5px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--royal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--crest); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass-light); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.kicker { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.preview-note { background: var(--brass-light); color: var(--ink); text-align: center; font: 600 .82rem/1.4 var(--sans); padding: 6px 12px; }
.todo { background: #fff3c4; outline: 1px dashed #b38f00; padding: 0 .25em; }

/* ---------- Kopf mit Notensystem ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: rgb(250 247 240 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .shield { width: 38px; height: auto; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .15)); }
.brand b { display: block; font: 400 1.45rem/1 var(--serif); font-style: italic; }
.brand small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand small:first-child { margin: 0 0 3px; font-weight: 700; color: var(--ink); }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.mainnav li { position: relative; }
.mainnav a { position: relative; display: block; padding: 30px 12px 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
/* fünf Notenlinien hinter den Menüpunkten, wie eine Zeile Partitur */
.mainnav a::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 21px; background: var(--staff); color: var(--line); }
.mainnav li:first-child a::before { border-left: 2px solid var(--line); }
.mainnav li:last-child a::before { border-right: 4px double var(--line); }
.mainnav .note { position: absolute; left: 50%; top: calc(var(--y) * 1px - 8px); width: 11px; margin-left: -5px; fill: var(--night); color: var(--night); transform-origin: 40% 80%; transition: color .2s, fill .2s; }
.mainnav a::after { content: ""; position: absolute; left: calc(50% + 6px); top: 0; width: 9px; height: 14px; opacity: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'%3E%3Cellipse cx='4.6' cy='15.6' rx='4.1' ry='2.9' fill='%23b8923f' transform='rotate(-22 4.6 15.6)'/%3E%3Cpath d='M8.3 15V1.2' stroke='%23b8923f' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; }
.mainnav a:hover, .mainnav a:focus-visible { color: var(--crest); }
.mainnav a:hover .note, .mainnav a:focus-visible .note { fill: var(--crest); color: var(--crest); animation: hop .6s cubic-bezier(.3, 1.6, .5, 1); }
.mainnav a:hover::after { animation: float 1.1s ease-out; }
.mainnav a[aria-current="page"] { color: var(--crest); }
.mainnav a[aria-current="page"] .note { fill: var(--crest); color: var(--crest); }
.mainnav a[aria-current="page"] span { box-shadow: inset 0 -2px var(--crest); }
@keyframes hop { 0% { transform: none; } 35% { transform: translateY(-7px) rotate(-16deg); } 65% { transform: translateY(1px) rotate(7deg); } 100% { transform: none; } }
@keyframes float { 0% { opacity: 0; transform: translate(0, 10px) rotate(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -14px) rotate(18deg); } }
.navtoggle { display: none; }

/* ---------- Knöpfe ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0; }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .78em 1.35em; border-radius: 999px; border: 1.5px solid var(--royal); color: var(--royal); background: transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--royal); color: #fff; transform: translateY(-1px); }
.btn.red { background: var(--crest); border-color: var(--crest); color: #fff; }
.btn.red:hover { background: var(--crest-dark); border-color: var(--crest-dark); }
.btn.brass { background: var(--brass-light); border-color: var(--brass-light); color: var(--night); }
.btn.brass:hover { background: #fff; border-color: #fff; color: var(--night); }
.btn.ghost { border-color: currentColor; color: inherit; }
.btn.ghost:hover { background: rgb(255 255 255 / .12); color: inherit; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " →"; transition: margin .2s; }
.more:hover::after { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: #f3efe6; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% 18% -10%; height: 41px; color: rgb(224 194 122 / .14); background: var(--staff); transform: rotate(-4deg); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 64px 72px; position: relative; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.8rem); font-style: italic; font-weight: 500; margin-bottom: .3em; }
.hero h1 small { display: block; font: 600 clamp(.85rem, 1.6vw, 1rem)/1.4 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: .5rem; }
.hero .lead { color: #cfd5e6; }
.hero .kicker { color: #9fb0dc; }
.hero .btn { border-color: var(--brass-light); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { border-radius: 4px; outline: 1px solid var(--brass); outline-offset: 10px; box-shadow: 0 30px 60px rgb(0 0 0 / .4); }
.hero-photo figcaption { margin-top: 22px; font-size: .85rem; color: #9fa8c4; text-align: right; font-style: italic; font-family: var(--serif); }

/* Eintrittskarte „Nächster Auftritt“ */
.ticket { --notch: 100px; display: grid; grid-template-columns: var(--notch) 1fr; max-width: 500px; margin-top: 28px; background: var(--paper); color: var(--ink); border-radius: 8px; text-decoration: none; position: relative; transition: transform .25s; }
.ticket[hidden] { display: none; }
.ticket:hover { transform: rotate(-1deg) translateY(-2px); color: var(--ink); }
.ticket .stub { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 20px; border-right: 2px dashed var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; }
.ticket .stub b { font: 600 2.3rem/1 var(--serif); color: var(--crest); letter-spacing: 0; }
.ticket .stub small { margin-top: 4px; text-transform: none; letter-spacing: 0; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: var(--notch); width: 18px; height: 18px; border-radius: 50%; background: var(--night); transform: translateX(-50%); }
.ticket::before { top: -9px; } .ticket::after { bottom: -9px; }
.ticket .tk-body { padding: 14px 20px; display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.ticket .tk-body small { color: var(--brass); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
.ticket strong { font: 600 1.2rem/1.25 var(--serif); color: var(--ink); margin: 2px 0 3px; }
.ticket em { margin-top: 4px; font-style: italic; color: var(--ink); }
.tk-more { margin-top: 8px; font-weight: 600; font-size: .82rem; color: var(--royal); }
.tk-more::after { content: " →"; }
.ticket:hover .tk-more { color: var(--crest); }

/* Balg als Trenner: Falten, die langsam atmen */
.balg { height: 26px; background:
  linear-gradient(var(--brass) 0 0) top / 100% 2px no-repeat,
  linear-gradient(var(--brass) 0 0) bottom / 100% 2px no-repeat,
  repeating-linear-gradient(90deg, var(--night-2) 0 9px, var(--night) 9px 11px, #24356a 11px 20px, var(--night) 20px 22px);
  background-color: var(--night); animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { from { background-size: 100% 2px, 100% 2px, 22px 100%; } to { background-size: 100% 2px, 100% 2px, 27px 100%; } }

/* ---------- Abschnitte ---------- */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec.tint { background: var(--paper-2); }
.sec-head { margin-bottom: 2rem; }
.sec-head .lead { margin-top: -.2rem; }
.tempo { display: flex; align-items: baseline; gap: .6em; margin-bottom: .6rem; color: var(--brass); }
.tempo span { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 4px 8px; border: 1px solid currentColor; border-radius: 2px; }
.tempo i { font: italic 500 1.15rem/1 var(--serif); color: var(--royal); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.framed { margin: 0; }
.framed img { border-radius: 4px; outline: 1px solid var(--brass); outline-offset: 8px; }
.framed figcaption { margin-top: 16px; font: italic .95rem/1.4 var(--serif); color: var(--muted); }
.flyer-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 400px)); justify-content: center; gap: clamp(32px, 6vw, 72px); }
.flyer { margin: 0; }
.flyer[hidden] { display: none; }
.flyer img { display: block; width: 100%; height: auto; border-radius: 4px; outline: 1px solid var(--brass); outline-offset: 8px; box-shadow: 0 18px 40px rgb(13 23 51 / .25); transition: transform .25s; }
.flyer:nth-child(odd) img { transform: rotate(-1deg); }
.flyer:nth-child(even) img { transform: rotate(1deg); }
.flyer a:hover img, .flyer a:focus-visible img { transform: rotate(0) translateY(-3px); }
.flyer figcaption { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; color: var(--muted); }
.flyer figcaption b { font: 600 1.15rem/1.3 var(--serif); color: var(--ink); }
.flyer figcaption .more { margin-top: 6px; }
.sepia img { filter: sepia(.25) contrast(1.05); }

/* Zahlen als Takte mit Taktstrichen */
.takte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-left: 2px solid var(--night); border-right: 5px double var(--night); position: relative; }
.takte::before { content: ""; position: absolute; inset: 50% 0 auto; height: 0; }
.takte li { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.takte li:nth-child(2n) { border-right: 0; }
.takte li:nth-child(n+3) { border-bottom: 0; }
.takte b { display: block; font: 600 2.1rem/1.1 var(--serif); color: var(--night); margin-bottom: 4px; }

/* ---------- Programmzettel ---------- */
.program { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--night); }
.event { display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ev-date { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 8px 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--crest); border-radius: 4px; line-height: 1; }
.ev-day { font: 600 2.2rem/1 var(--serif); color: var(--night); }
.ev-mon { font-weight: 600; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; margin-top: 4px; }
.ev-wd { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.ev-body h3 { margin: 2px 0 6px; font-size: 1.4rem; }
.ev-time { margin: 0; font-size: .88rem; font-weight: 600; color: var(--royal); }
.ev-note { margin: 0 0 4px; }
.ev-place { margin: 0; color: var(--muted); font-size: .95rem; }
.ev-tag { margin: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.own, .done { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.own { background: var(--crest); color: #fff; }
.done { display: none; border: 1px solid var(--line); color: var(--muted); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.event.past { opacity: .55; }
.event.past .ev-date { border-top-color: var(--line); }
.event.past .done { display: inline-block; }
.note-box { margin-top: 2rem; padding: 18px 22px; background: var(--royal-soft); border-left: 4px solid var(--royal); border-radius: 2px; }

.archive { border-top: 1px solid var(--line); }
.archive:last-child { border-bottom: 1px solid var(--line); }
.archive summary { cursor: pointer; padding: 18px 0; font: 600 1.35rem/1.2 var(--serif); list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary span { font: 500 .9rem var(--sans); color: var(--muted); }
.archive summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--brass); }
.archive[open] summary::after { content: "–"; }
.table-wrap { overflow-x: auto; padding-bottom: 18px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
td { padding: 10px 12px 10px 0; border-bottom: 1px dotted var(--line); vertical-align: top; }
td:first-child { white-space: nowrap; font-weight: 600; }
td small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Register ---------- */
.registers { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.registers li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px 10px 14px 14px;
  box-shadow: 0 4px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.registers li:hover { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.registers .reg { flex: none; width: 34px; color: var(--night); fill: var(--crest); }
.registers b { display: block; font: 600 1.08rem/1.25 var(--serif); }
.registers small { display: block; color: var(--muted); font-size: .8rem; }
.registers.big li { align-items: flex-start; }
.registers.big span { font-size: .92rem; color: var(--muted); }
.registers.big b { color: var(--ink); }

/* ---------- Mitspielen ---------- */
.pult { background: var(--royal); color: #fff; }
.pult .tempo, .pult .tempo i { color: var(--brass-light); }
.pult .lead, .pult.page-head .lead { color: #dfe5f7; }
.pult .kicker { color: var(--brass-light); }
.pult h1, .pult h2 { color: #fff; }
.pult .btn.ghost { color: #fff; }
.pult-art { text-align: center; color: #fff; }
.pult-art .hairpin { width: min(100%, 420px); margin: 0 auto 14px; }
.pult-art text { font: italic 700 30px var(--serif); fill: currentColor; }
.pult-art p { font: italic 1.4rem/1.3 var(--serif); color: var(--brass-light); }
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who li { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 4px; border-top: 3px solid var(--royal); }
.who .note { width: 18px; fill: var(--crest); color: var(--crest); margin-bottom: 12px; }
.who h3 { font-size: 1.25rem; }
.who p { margin: 0; color: var(--muted); font-size: .97rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 21px; color: var(--line); background: var(--staff); }
.steps li { position: relative; padding: 0 20px 0 0; }
.step-n { position: relative; display: grid; place-items: center; width: 44px; height: 34px; margin: 10px 0 18px; border-radius: 50%; background: var(--night); color: #fff; font: 700 1.05rem/1 var(--sans); transform: rotate(-20deg); }
.step-n::after { content: ""; position: absolute; right: 1px; bottom: 50%; width: 2px; height: 46px; background: var(--night); transform: rotate(20deg); transform-origin: bottom; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .97rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--brass); }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--muted); }
.split > .contact-card { align-self: start; }

/* ---------- Über uns ---------- */
.names { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.names li { font: 600 1.1rem/1.3 var(--serif); }
.names small { display: block; font: 400 .82rem var(--sans); color: var(--muted); }
.chronik { align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding-bottom: 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: -4px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.tl-bar { margin: 0; font: 600 1rem/1.3 var(--serif); color: var(--crest); text-align: right; padding-right: 14px; position: relative; }
.tl-bar::after { content: ""; position: absolute; right: -11px; top: 5px; width: 9px; height: 7px; border-radius: 50%; background: var(--night); transform: rotate(-22deg); }
.timeline h3 { font-size: 1.15rem; margin-bottom: .2em; }
.timeline p:not(.tl-bar) { color: var(--muted); font-size: .97rem; margin: 0; }
.timeline.wide { max-width: 820px; }
.friends { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.friends li { padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.friends b { font: 600 1.08rem/1.3 var(--serif); }
.friends span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 600; }

/* ---------- Akkordeon-Seite ---------- */
.diagram { margin: 0; }
.acc-diagram .a-body { fill: var(--night); }
.acc-diagram .a-keys rect { fill: #fff; }
.acc-diagram .a-keys .blk { fill: var(--night); }
.acc-diagram .a-reg rect { fill: var(--brass-light); }
.acc-diagram .a-bass circle { fill: var(--paper); }
.acc-diagram .a-balg { fill: none; stroke: var(--crest); stroke-width: 3; stroke-linejoin: round; transform-origin: 160px 150px; animation: squeeze 4s ease-in-out infinite alternate; }
.acc-diagram .a-balg2 { stroke: var(--crest); stroke-width: 3; }
.acc-diagram .a-lbl text { font: 600 15px var(--sans); fill: var(--ink); text-anchor: middle; }
.acc-diagram .a-lbl text:nth-child(n+4) { font: italic 400 13px var(--serif); fill: var(--muted); }
@keyframes squeeze { from { transform: scaleX(1); } to { transform: scaleX(.97); } }
.source { margin-top: 1.5rem; font-size: .88rem; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--crest); border-radius: 4px; }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-card li { display: flex; flex-direction: column; margin-bottom: 10px; }
.contact-card li b { font: 600 1.1rem var(--serif); }
.c-name { font: 600 1.35rem/1.25 var(--serif); overflow-wrap: anywhere; }
.f-h { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--brass); margin-bottom: .5rem; }
.anliegen { list-style: none; padding: 0; margin: 0; }
.anliegen a { display: flex; flex-direction: column; padding: 16px 40px 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; color: var(--ink); }
.anliegen a::after { content: "→"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--brass); transition: right .2s; }
.anliegen a:hover::after { right: 2px; }
.anliegen b { font: 600 1.15rem/1.3 var(--serif); }
.anliegen span { color: var(--muted); font-size: .93rem; }
.cta-box { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }

/* ---------- Unterseiten-Kopf ---------- */
.page-head { background: var(--night); color: #f3efe6; padding-block: 60px 56px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -5%; bottom: 22%; width: 60%; height: 21px; color: rgb(224 194 122 / .16); background: var(--staff); transform: rotate(-3deg); }
.page-head .lead { color: #cfd5e6; }
.page-head .kicker { color: var(--brass-light); }
.page-head h1 { max-width: 20ch; position: relative; }
.page-head.slim { padding-block: 44px 36px; }
.page-head.pult { background: var(--royal); }
/* das Original-Vereinswappen neben der Überschrift (Über uns) */
.page-head .with-crest { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-head .crest { width: 168px; height: auto; position: relative; transform: rotate(3deg); filter: drop-shadow(0 10px 18px rgb(0 0 0 / .35)); }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.notfound { text-align: center; padding-block: 90px; }
.notfound h1 { margin-inline: auto; }
.notfound .lead { margin-inline: auto; }
.notfound .cta-row { justify-content: center; }
.fermata { width: 90px; margin: 0 auto 20px; fill: var(--brass-light); color: var(--brass-light); }

/* ---------- Fuß mit spielbarer Klaviatur ---------- */
.footer { background: var(--night); color: #c4cbe0; font-size: .95rem; }
.footer a { color: #fff; }
.footer a:hover { color: var(--brass-light); }
.keybed { background: #070d20; padding: 22px 0 16px; border-bottom: 2px solid var(--brass); }
.keys { position: relative; display: flex; height: 92px; max-width: 640px; margin: 0 auto; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.keys .w { flex: 1; background: linear-gradient(#fff, #ece7dc); border: 1px solid #0b1430; border-radius: 0 0 5px 5px; cursor: pointer; transition: background .1s; }
.keys .b { position: absolute; top: 0; left: calc((var(--i) + 1) * (100% / 15) - (100% / 15 * .3)); width: calc(100% / 15 * .6); height: 58%; background: linear-gradient(#2a2f3e, #0a0c12); border-radius: 0 0 4px 4px; cursor: pointer; z-index: 1; }
.keys .w.down, .keys .w:active { background: linear-gradient(#f6e7bf, var(--brass-light)); }
.keys .b.down, .keys .b:active { background: var(--crest); }
.keys-hint { text-align: center; margin: 12px 0 0; font: italic .9rem var(--serif); color: #8e97b4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 48px 32px; }
.f-brand { display: flex; gap: 12px; align-items: flex-start; }
.f-brand .shield { width: 34px; height: auto; flex: none; }
.f-brand b { display: block; font: italic 600 1.35rem var(--serif); color: #fff; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 6px; }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 28px; border-top: 1px solid #26335e; font-size: .85rem; color: #8e97b4; position: relative; }
.fine p { margin: 0; }
.finebar { position: absolute; right: 0; top: -36px; display: flex; align-items: center; gap: 10px; }
.finebar i { font: italic 600 1rem var(--serif); color: var(--brass-light); }
.finebar::after { content: ""; width: 9px; height: 26px; border-left: 2px solid var(--brass-light); border-right: 5px solid var(--brass-light); margin-left: 2px; box-sizing: border-box; width: 12px; }

/* ---------- Rückblick ---------- */
.year-links { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.year-links a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font: 600 1rem/1.2 var(--serif); color: var(--night); transition: background .2s, color .2s; }
.year-links a:hover { background: var(--night); color: #fff; }
.year-links.on-dark { margin-top: 1.6rem; position: relative; }
.year-links.on-dark a { background: transparent; border-color: rgb(224 194 122 / .5); color: var(--brass-light); }
.year-links.on-dark a:hover { background: var(--brass-light); color: var(--night); }
.stories { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
/* wie Abzüge im Fotoalbum, leicht schräg; beim Darüberfahren gerade */
.story { background: #fff; padding: 12px 12px 18px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgb(13 23 51 / .08); transform: rotate(-.6deg); transition: transform .25s; scroll-margin-top: 110px; }
.story:nth-child(2n) { transform: rotate(.7deg); }
.story:hover, .story:target { transform: none; }
.story:target { outline: 2px solid var(--brass); }
.story figure { margin: 0 0 14px; }
.story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story div { padding: 0 6px; }
.story-year { margin: 0 0 2px; font: italic 600 1rem var(--serif); color: var(--crest); }
.story h3 { font-size: 1.25rem; }
.story p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }
.archive { scroll-margin-top: 100px; }
.gap { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font: italic .95rem var(--serif); }
.memory { background: var(--night); color: #d6dbea; }
.memory h2, .memory h3 { color: #fff; }
.memory .tempo i { color: var(--brass-light); }
.memory .lead { color: #aab3cf; }
.memorial { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1px solid #26335e; }
.memorial li { padding: 24px 24px 24px 0; border-bottom: 1px solid #26335e; }
.memorial h3 { font-size: 1.3rem; margin-bottom: .1em; }
.mem-role { margin: 0 0 .6em; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-light); font-weight: 600; }
.memorial p:last-child { margin: 0; font-size: .95rem; }
.mem-close { margin: 2rem 0 0; font: italic 1.25rem var(--serif); color: var(--brass-light); }
.gut-ton { font: italic 600 1.05rem var(--serif); color: var(--brass-light); margin-top: -.4rem; }

/* ---------- Tablet & Handy ---------- */
@media (max-width: 1060px) {
  .navtoggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
  .navtoggle i { width: 20px; height: 13px; color: var(--ink); background: repeating-linear-gradient(to bottom, currentColor 0 1.5px, transparent 1.5px 2.85px); }
  .mainnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; box-shadow: 0 20px 30px rgb(0 0 0 / .08); }
  .mainnav.open { display: block; }
  .mainnav ul { flex-direction: column; width: min(100% - 32px, var(--wrap)); margin: 0 auto; padding: 8px 0 16px; }
  .mainnav a { padding: 12px 0 12px 34px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .mainnav a::before { display: none; }
  .mainnav .note { left: 8px; top: 13px; margin: 0; width: 13px; }
  .mainnav a::after { left: 18px; top: 2px; }
  .who { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
}
@media (max-width: 880px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero-grid { padding-block: 44px 56px; gap: 40px; }
  .hero-photo { max-width: 520px; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .page-head .with-crest { gap: 24px; }
  .page-head .crest { width: 112px; }
  .footer-grid { gap: 24px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand b { font-size: 1.25rem; }
  .brand small { font-size: .62rem; letter-spacing: .06em; white-space: nowrap; }
  .hero-photo img, .framed img { outline-offset: 5px; }
  .masthead .wrap { min-height: 66px; gap: 12px; }
  .page-head .with-crest { grid-template-columns: 1fr; }
  .page-head .crest { grid-row: 1; width: 96px; }
  .event { grid-template-columns: 64px 1fr; gap: 14px; }
  .ev-tag { grid-column: 2; align-items: flex-start; flex-direction: row; }
  .ev-day { font-size: 1.7rem; }
  .ev-body h3 { font-size: 1.2rem; }
  .who, .steps { grid-template-columns: 1fr; }
  .takte li { padding: 18px 14px; }
  .takte b { font-size: 1.6rem; }
  .timeline li { grid-template-columns: 84px 1fr; gap: 16px; }
  .timeline li::before { left: 90px; }
  .ticket { --notch: 82px; }
  .ticket .stub { padding: 12px 14px; }
  .names { grid-template-columns: 1fr; }
  .keys { height: 70px; }
  .finebar { position: static; }
  .stories { grid-template-columns: 1fr; }
  .story, .story:nth-child(2n) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .masthead, .keybed, .balg, .cta-row { display: none; }
  .hero, .page-head, .footer, .pult { background: none; color: #000; }
}
