/* Das Lui – gemeinsames Stylesheet. Gestaltung: Entwurf 4. Alles lokal, keine externen Quellen. */
@import url("fonts.css");
:root {
  --nacht: #1E1D1D; --anth: #373535; --rot: #E3363A; --kreide: #EDEBE8; --weiss: #FFFFFF; --grau: #A9A4A2; --linie: #3F3C3C;
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --fuge: 8px;
  --weich: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
html { scroll-behavior: smooth; }
.staub { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.staub-vorn { z-index: 15; }
* { box-sizing: border-box; }
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; background: var(--nacht); color: var(--kreide); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-thickness .7s var(--weich), text-underline-offset .7s var(--weich); }
a:hover { text-decoration-thickness: 4px; text-underline-offset: 6px; }
a:focus-visible { outline: 3px solid var(--weiss); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--weiss); color: var(--nacht); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 16px; }
.lg { display: block; width: 100%; height: auto; color: var(--kreide); }
.lg.weiss { color: var(--weiss); } .lg.rot { color: var(--rot); } .lg.anth { color: var(--anth); }
.dsp { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: .9; margin: 0; text-wrap: balance; }
.label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
p { margin: 0; max-width: 64ch; }

/* Kopfzeile */
.kopf { border-bottom: 1px solid var(--linie); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--nacht); transition: box-shadow .6s var(--weich); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 25; background: var(--nacht); }
body.gescrollt .kopf { box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.kopf .wrap, .kopf .lg { transition: padding .6s var(--weich), width .6s var(--weich); }
body.gescrollt .kopf .wrap { padding-block: 10px; }
body.gescrollt .kopf .lg { width: 46px; }
.kopf .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.kopf .lg { width: 58px; }
.kopf ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px 24px; flex-wrap: wrap; font-weight: 600; }
.kopf a { text-decoration: none; padding: 4px 0; }
.kopf a:not(.knopf-rot):not(.sprache) { background: linear-gradient(var(--rot), var(--rot)) 0 100% / 0 3px no-repeat; transition: background-size .8s var(--weich); }
.kopf a:not(.knopf-rot):not(.sprache):hover, .kopf a:not(.knopf-rot):not(.sprache):focus-visible, .kopf a[aria-current="page"]:not(.knopf-rot):not(.sprache) { background-size: 100% 3px; }
.kopf a.knopf-rot { background: var(--rot); color: var(--weiss); padding: 5px 14px; font-size: 19px; font-weight: 700; transition: box-shadow .9s var(--weich), transform .9s var(--weich); }
.kopf a.knopf-rot:hover, .kopf a.knopf-rot:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 28px -12px rgba(227, 54, 58, .8); }
.kopf a.knopf-rot[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--kreide); }
.kopf a.sprache { font-family: var(--f-mono); font-weight: 500; font-size: .95rem; letter-spacing: .06em; padding: 4px 9px; box-shadow: inset 0 0 0 1px var(--linie); background: none; transition: box-shadow .9s var(--weich); }
.kopf a.sprache:hover, .kopf a.sprache:focus-visible { box-shadow: inset 0 0 0 2px var(--kreide); background-size: 0 0; }

main { display: block; }
.seite { padding-block: 40px 0; display: grid; gap: 56px; }
.seitentitel { display: grid; gap: 14px; }
.seitentitel h1 { font-size: clamp(3rem, 9vw, 6rem); }
.seitentitel p { color: var(--grau); font-size: 1.1rem; }
.abschnitt { display: grid; gap: 20px; }
.abschnitt > h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }

/* Fotostreifen und Start */
.fotostreifen { aspect-ratio: 21 / 6; max-width: 100%; position: relative; overflow: hidden; isolation: isolate; background: var(--anth); display: flex; align-items: flex-end; padding: 22px; }
/* Parallaxe: Bildebene ist höher als der Ausschnitt und wird per transform verschoben – funktioniert auch auf dem Handy */
.fotostreifen::before { content: ""; position: absolute; left: 0; right: 0; top: -20%; bottom: -20%; z-index: -2; background: url("../bilder/hero-flasche.jpg") center 42% / cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.fotostreifen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(30,29,29,.85), rgba(30,29,29,.1) 70%); }
.info { display: inline-block; background: var(--weiss); color: var(--nacht); font-family: var(--f-mono); padding: 7px 14px 7px 20px; box-shadow: inset 6px 0 0 var(--rot); }
.start { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--fuge); align-items: start; }
.start h1 { font-size: clamp(3rem, 8vw, 5.6rem); }
.start p { color: var(--grau); margin-top: 18px; font-size: 1.1rem; }
.offen { background: var(--anth); padding: 22px; display: grid; gap: 10px; }
.offen div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; border-bottom: 1px solid var(--linie); padding-bottom: 10px; }
.offen b { font-family: var(--f-mono); font-weight: 500; }
.offen .zu { color: var(--grau); }

/* Termine */
.termine { display: grid; gap: var(--fuge); }
.termin { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: var(--fuge); background: var(--anth); transition: transform 1.1s var(--weich), box-shadow 1.1s var(--weich); }
/* Weicher Hover: nur 2 px Versatz und eine halbtransparente rote Kante, kein Schlagschatten */
.termin:hover { transform: translateX(2px); box-shadow: -3px 0 0 rgba(227, 54, 58, .45); }
.termin .tag { background: var(--rot); color: var(--weiss); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; line-height: 1; padding: 14px 6px; }
.termin .text { padding: 14px 8px; display: flex; flex-direction: column; gap: 4px; justify-content: center; min-width: 0; }
.termin .text .wann { order: -1; }
.termin .text h2, .termin .text h3 { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.termin .text span { color: var(--grau); }
.termin .text .wann { font-family: var(--f-mono); font-size: .85rem; color: var(--kreide); }
.termin .sorte { align-self: center; margin-right: 16px; font-family: var(--f-mono); font-size: .8rem; border: 1px solid var(--grau); padding: 4px 10px; }
.termin.foto { background: linear-gradient(to right, rgba(55,53,53,.95) 30%, rgba(55,53,53,.55)), url("../bilder/karaoke-quer.jpg") center / cover; }
.mehr { justify-self: start; font-weight: 600; }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fuge); }
.kachel { padding: 26px; display: grid; gap: 14px; align-content: space-between; min-height: 240px; text-decoration: none; }
.kachel h3 { font-size: 2.4rem; }
.kachel p { font-size: 1.05rem; }
.kachel.rot { background: var(--rot); color: var(--weiss); }
.kachel.rot p { font-size: 1.2rem; font-weight: 600; }
.kachel.hell { background: var(--kreide); color: var(--anth); }
.kachel.dunkel { background: var(--anth); }
.kachel .pfeil { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; }
a.kachel { transition: transform .9s var(--weich), box-shadow .9s var(--weich); }
a.kachel:hover, a.kachel:focus-visible { transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .8); }
.kachel .pfeil::after { content: "\00a0\2192"; margin-left: .2em; display: inline-block; transition: transform .9s var(--weich); }
a.kachel:hover .pfeil::after, a.kachel:focus-visible .pfeil::after { transform: translateX(8px); }
.bot { transition: box-shadow .9s var(--weich), transform .9s var(--weich); }
.bot:hover, .bot:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .7); }
.bot { display: inline-block; justify-self: start; font-family: var(--f-mono); font-size: 1.05rem; background: var(--nacht); color: var(--weiss); padding: 10px 16px; text-decoration: none; }

/* Karte */
.karte { background: var(--kreide); color: var(--anth); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.karte h2 { font-size: 1.7rem; border-bottom: 3px solid var(--rot); padding-bottom: 6px; margin-bottom: 10px; }
.karte h2 i { font-style: normal; font-family: var(--f-body); font-weight: 600; text-transform: none; font-size: 1rem; letter-spacing: 0; color: #5F5B5A; margin-left: 8px; }
.karte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.karte li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; border-bottom: 1px solid #D5D2CF; padding-bottom: 6px; }
.karte li { transition: background-color .9s var(--weich); }
.karte li:hover { background: #E3E0DC; }
.karte li small { color: #5F5B5A; }
.karte li b { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.karte li q { grid-column: 1 / -1; color: #5F5B5A; font-style: italic; font-size: .95rem; }
.karte .notiz { color: #5F5B5A; font-size: .95rem; }
.happy { background: var(--anth); padding: 22px 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.happy .dsp { font-size: 2.2rem; color: var(--weiss); }

/* Verein, Mitmachen */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--fuge); }
.flaeche { background: var(--anth); padding: 28px; display: grid; gap: 16px; align-content: start; }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--fuge); }
.liste li { background: var(--nacht); padding: 12px 16px; font-weight: 600; }
.knoepfe { display: grid; gap: var(--fuge); align-content: start; }
.knopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; text-decoration: none; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.knopf { transition: background-color .9s var(--weich), color .9s var(--weich), box-shadow .9s var(--weich), transform .9s var(--weich); }
.knopf:hover, .knopf:focus-visible { transform: translateX(3px); }
.knopf small { font-family: var(--f-mono); font-weight: 400; font-size: .8rem; text-transform: none; }
.knopf.rot { background: var(--rot); color: var(--weiss); }
.knopf.rot:hover { box-shadow: 0 16px 34px -16px rgba(227, 54, 58, .75); }
.knopf.hell { background: var(--kreide); color: var(--nacht); }
.knopf.hell:hover { background: var(--weiss); }
.knopf.dunkel { background: var(--nacht); color: var(--kreide); box-shadow: inset 0 0 0 1px var(--linie); }
.knopf.dunkel:hover { box-shadow: inset 0 0 0 2px var(--kreide); }
.gross { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 2.2rem; line-height: .95; }
.mail { font-family: var(--f-mono); font-size: 1.1rem; background: var(--nacht); padding: 8px 12px; justify-self: start; user-select: all; }

/* Rechtstexte */
.recht { max-width: 860px; display: grid; gap: 0; }
.recht h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); margin-bottom: 28px; }
.recht h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; font-size: 1.6rem; line-height: 1.05; margin: 36px 0 10px; }
.recht p, .recht li { max-width: 68ch; }
.recht p { margin: 0 0 14px; }
.block { background: var(--anth); padding: 20px 24px; margin-bottom: var(--fuge); }
.block p:last-child { margin-bottom: 0; }
/* Satzung, Beitragsordnung, Antrag */
.pfad { color: var(--grau); font-size: .95rem; margin-bottom: 8px !important; }
.dok .nr { font-family: var(--f-mono); font-weight: 400; color: var(--grau); }
.dok h2 .nr { display: block; font-size: .85rem; letter-spacing: .04em; margin-bottom: 4px; }
.dok .block .knopf { margin-top: 8px; }
.dok .mono, .mono { font-family: var(--f-mono); }
.inhalt { background: var(--anth); padding: 20px 24px; margin-bottom: var(--fuge); }
.inhalt ol { list-style: none; margin: 8px 0 0; padding: 0; columns: 2 16rem; column-gap: 28px; }
.inhalt li { break-inside: avoid; padding: 3px 0; }
.inhalt .nr { display: inline-block; min-width: 3.2em; }
.para { border-top: 1px solid var(--linie); margin-top: 28px; scroll-margin-top: 110px; }
.para h2 { margin-top: 22px !important; }
ol.abc { margin: 0 0 14px; padding-left: 2.2em; max-width: 68ch; }
ol.abc li { padding-left: .3em; margin-bottom: 4px; }
ol.abc li::marker { content: counter(list-item, lower-alpha) ")\00a0"; font-family: var(--f-mono); color: var(--grau); }
ul.punkte { padding-left: 1.4em; list-style: square; }
.unterschrift { margin-top: 32px; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fuge); counter-reset: s; }
.schritte li { counter-increment: s; background: var(--anth); padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.schritte li::before { content: counter(s); font-family: var(--f-display); font-weight: 900; font-size: 3.4rem; line-height: .9; color: var(--kreide); }
.schritte b { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.kachel .label { align-self: end; }
.kachel.hell .label { color: var(--anth); }

/* Scroll-Effekte (nur mit JavaScript, nie bei reduzierter Bewegung) */
.fortschritt { transition: transform .6s var(--weich); position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 4px; background: var(--rot); transform-origin: 0 50%; transform: scaleX(0); z-index: 30; pointer-events: none; }
.reveal { opacity: 0; transform: translateY(12px); filter: blur(10px); transition: opacity 1.6s var(--weich), transform 1.8s var(--weich), filter 1.6s var(--weich); transition-delay: calc(var(--i, 0) * 140ms); }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.mit-ic { display: inline-flex; align-items: center; gap: .5em; }
.label .ic { width: 1.35em; height: 1.35em; margin-right: .35em; vertical-align: -.35em; }
.knopf small .ic { margin-left: .4em; }
.nach-oben .ic { width: 24px; height: 24px; transition: transform .9s var(--weich); }
.nach-oben:hover .ic, .nach-oben:focus-visible .ic { transform: translateY(-3px); }
.kopf a.sprache .ic { margin-right: .3em; }
/* Nach oben */
.nach-oben { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 25; width: 52px; height: 52px; display: grid; place-items: center; background: var(--kreide); color: var(--nacht); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8); transition: opacity .9s var(--weich), transform .9s var(--weich), visibility 0s .9s; }
.nach-oben svg { width: 22px; height: 22px; transition: transform .9s var(--weich); }
.nach-oben:hover svg, .nach-oben:focus-visible svg { transform: translateY(-3px); }
.js .nach-oben { opacity: 0; visibility: hidden; transform: translateY(12px); }
.js .nach-oben.da { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--weich), transform .9s var(--weich), visibility 0s; }
.js .nach-oben:focus-visible { opacity: 1; visibility: visible; transform: none; }
.reveal.sichtbar { opacity: 1; transform: none; filter: none; }
@keyframes einrasten { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.js .fotostreifen .info { animation: einrasten 1.2s .3s var(--weich) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .fortschritt { display: none; }
}

/* Fußzeile */
.fuss { margin-top: 80px; }
.fuss-kaesten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fuge); }
.fuss-kaesten div { background: var(--anth); padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.fuss-kaesten ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fuss-unten { border-top: 1px solid var(--linie); margin-top: 32px; }
.fuss-unten .wrap { padding-block: 22px 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--grau); font-size: .92rem; }
.lockup { display: flex; align-items: center; gap: 18px; }
.lockup .lg { width: 84px; flex: none; }
.lockup .claim { border-left: 2px solid var(--kreide); padding-left: 16px; color: var(--kreide); font-weight: 600; line-height: 1.25; font-size: 1rem; }
.fuss-unten nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .start, .zwei, .karte { grid-template-columns: minmax(0, 1fr); }
  .kacheln, .fuss-kaesten, .schritte { grid-template-columns: minmax(0, 1fr); }
  .fotostreifen { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .termin { grid-template-columns: 76px minmax(0, 1fr); }
  .termin .tag { font-size: 2rem; }
  .termin .sorte { display: none; }
  .kopf ul { gap: 4px 16px; font-size: .95rem; }
}

/* Happy-Hour-Banner (per JS, nur Mi + Fr 20 bis 22 Uhr) */
.happy-banner { display: flex; justify-content: center; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; padding: 9px 16px; background: var(--rot); color: var(--weiss); text-decoration: none; text-align: center; font-weight: 600; }
.happy-banner[hidden] { display: none; }
.happy-banner b { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: .01em; }
.happy-banner:hover span, .happy-banner:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }
.happy-banner:focus-visible { outline: 3px solid var(--weiss); outline-offset: -6px; }

/* Tag/Nacht-Schalter und Hinweis */
.modus { font: inherit; color: inherit; background: none; border: 0; padding: 4px 9px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--linie); transition: box-shadow .9s var(--weich); line-height: 1; }
.modus:hover, .modus:focus-visible { box-shadow: inset 0 0 0 2px var(--kreide); }
.modus:focus-visible { outline: 3px solid var(--kreide); outline-offset: 3px; }
.modus .ic { width: 1.3em; height: 1.3em; vertical-align: -.3em; }
.hinweis { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; max-width: min(26rem, calc(100vw - 100px)); padding: 14px 18px; background: var(--kreide); color: var(--nacht); font-family: var(--f-mono); font-size: .9rem; line-height: 1.4; box-shadow: inset 6px 0 0 var(--rot); padding-left: 24px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .9s var(--weich), transform .9s var(--weich); }
.hinweis.da { opacity: 1; transform: none; }

/* Tag-Modus: die Farbwerte kehren sich um, Fotoflächen, Rot und die Speisekarte bleiben wie sie sind */
:root[data-theme="hell"] { --nacht: #F6F3EF; --anth: #E7E3DE; --kreide: #1E1D1D; --grau: #625D5B; --linie: #D3CEC8; color-scheme: light; }
[data-theme="hell"] .staub { display: none; }
[data-theme="hell"] .skip, [data-theme="hell"] .info { color: #1E1D1D; }
[data-theme="hell"] .bot { background: #1E1D1D; color: #fff; }
[data-theme="hell"] .karte { background: #EDEBE8; color: #373535; box-shadow: 0 0 0 1px var(--linie); }
[data-theme="hell"] .happy { background: #373535; color: #EDEBE8; }
[data-theme="hell"] .termin.foto { color: #EDEBE8; }
[data-theme="hell"] .termin.foto .text span { color: #A9A4A2; }
[data-theme="hell"] .termin.foto .text .wann { color: #EDEBE8; }
[data-theme="hell"] .knopf.hell:hover { background: #3A3838; }
[data-theme="hell"] .hinweis { background: #1E1D1D; color: #EDEBE8; }

/* Bierglas-Ringe: sehr dezent, auf hellen und dunklen Flächen und an wechselnden Stellen (je nach Position im Raster) */
:root { --ring-hell: rgba(110, 80, 40, .06); --ring-dunkel: rgba(255, 255, 255, .04); }
:is(.karte, .kachel.hell, .flaeche, .block, .kachel.dunkel, .offen) { --rf: var(--ring-dunkel); }
:is(.karte, .kachel.hell) { --rf: var(--ring-hell); }
[data-theme="hell"] :is(.flaeche, .block, .kachel.dunkel, .offen) { --rf: var(--ring-hell); }
[data-theme="hell"] .kachel.hell { --rf: var(--ring-dunkel); }
:is(.karte, .kachel.hell, .flaeche, .block, .kachel.dunkel, .offen):nth-child(3n + 1) { background-image: radial-gradient(circle at 88% 15%, transparent 0 40px, var(--rf) 41px 43px, transparent 45px); }
:is(.karte, .kachel.hell, .flaeche, .block, .kachel.dunkel, .offen):nth-child(3n + 2) { background-image: radial-gradient(circle at 9% 84%, transparent 0 52px, var(--rf) 53px 55px, transparent 57px); }
:is(.karte, .kachel.hell, .flaeche, .block, .kachel.dunkel, .offen):nth-child(3n) { background-image: radial-gradient(circle at 72% 91%, transparent 0 34px, var(--rf) 35px 37px, transparent 39px), radial-gradient(circle at 77% 86%, transparent 0 30px, var(--rf) 31px 32px, transparent 34px); }

/* Regenbogen: nur als dünner Streifen und als Lichtbrechung, nie als Fläche (siehe Styleguide) */
:root { --regenbogen: #E3363A, #F28C28, #F2C94C, #6BBF59, #3FA9D8, #7C5CE0; }
.fuss-unten { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--regenbogen)) 1; }
.fotostreifen::after { background: linear-gradient(112deg, transparent 58%, rgba(227,54,58,.2) 62%, rgba(242,140,40,.2) 65%, rgba(242,201,76,.2) 68%, rgba(107,191,89,.18) 71%, rgba(63,169,216,.2) 74%, rgba(124,92,224,.2) 77%, transparent 82%), linear-gradient(to right, rgba(30,29,29,.85), rgba(30,29,29,.1) 70%); }


/* Startseite: ein weicher Regenbogen-Lichtschein hinter der Überschrift (Lichtbrechung, kein Streifen) */
.start { position: relative; }
.start::before { content: ""; position: absolute; z-index: -1; left: 30%; top: -45%; width: 46%; height: 190%; pointer-events: none; filter: blur(38px); opacity: .55; transform: rotate(14deg);
  background: linear-gradient(90deg, transparent 8%, rgba(227,54,58,.34) 22%, rgba(242,140,40,.34) 34%, rgba(242,201,76,.30) 46%, rgba(107,191,89,.28) 58%, rgba(63,169,216,.34) 70%, rgba(124,92,224,.34) 82%, transparent 94%); }
@media (max-width: 900px) { .start::before { left: 10%; width: 80%; opacity: .4; } }

.termin.reveal.sichtbar { transition: opacity 1.6s var(--weich) calc(var(--i, 0) * 140ms), filter 1.6s var(--weich) calc(var(--i, 0) * 140ms), transform 1.1s var(--weich), box-shadow 1.1s var(--weich); }

/* Länderflaggen an Dokumenten */
.flagge { width: 1.45em; height: 1.45em; flex: none; display: inline-block; vertical-align: -.3em; margin-right: .55em; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(128, 128, 128, .65); }
.pdfkarte .flagge { width: 22px; height: 22px; margin: 0 .5em 0 0; vertical-align: -6px; }
.knopf .flagge { width: 30px; height: 30px; vertical-align: -.22em; }
