/* ==========================================================================
   Reisekompass – Erlebnis-Elemente (v1.4)
   Reiserätsel (interaktiv), Kamera & Sucher, Überraschungskompass,
   „Die Welt in 60 Sekunden“ (Fotoalbum)
   ========================================================================== */

/* ---------- Reiserätsel ---------- */
.js .rk-raetsel.is-aktiv > .rk-raetsel__tipp,
.js .rk-raetsel.is-aktiv > .rk-raetsel__loesung,
.js .rk-raetsel.is-aktiv > .rk-raetsel__info { display: none; }
.rk-raetsel.is-aktiv > .rk-raetsel__bild img { transform: scale(var(--rk-zoom, 2.4)); filter: saturate(.9); }
.rk-raetsel.is-aktiv.is-tipp > .rk-raetsel__bild img { transform: scale(calc(var(--rk-zoom, 2.4) * .72)); }
.rk-raetsel.is-geloest > .rk-raetsel__bild img { transform: scale(1); filter: none; }
.rk-raetsel__lupe { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: rgba(43, 38, 32, .72); color: #fff; font-size: .72rem; letter-spacing: .04em; backdrop-filter: blur(4px); transition: opacity .4s; }
.rk-raetsel.is-geloest .rk-raetsel__lupe { opacity: 0; }
.rk-raetsel__stempel { position: absolute; right: 18px; top: 18px; z-index: 3; width: 112px; height: 112px; border: 3px solid currentColor; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--rk-ok); background: rgba(255, 255, 255, .7); font: 600 .78rem/1.15 var(--rk-sans); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-14deg) scale(0); opacity: 0; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .6), inset 0 0 0 6px currentColor; }
.rk-raetsel__stempel b { display: block; font-family: var(--rk-hand); font-size: 1.6rem; letter-spacing: 0; text-transform: none; }
.rk-raetsel.is-geloest .rk-raetsel__stempel { animation: rk-stempel .55s cubic-bezier(.3, 1.6, .5, 1) .45s forwards; }
.rk-raetsel.is-aufgeloest .rk-raetsel__stempel { color: var(--rk-accent); }
@keyframes rk-stempel { from { transform: rotate(-30deg) scale(2.2); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: 1; } }

.rk-raetsel__form { display: flex; gap: 8px; align-items: stretch; }
.rk-raetsel__form input { flex: 1; min-width: 0; padding: 10px 16px; border: 1.5px solid var(--rk-line); border-radius: 12px; background: #fffdf8 repeating-linear-gradient(transparent 0 33px, rgba(60, 40, 20, .08) 33px 34px); font-family: var(--rk-hand); font-size: 1.45rem; color: var(--rk-ink); transition: border-color .2s, box-shadow .2s; }
.rk-raetsel__form input:focus { outline: none; border-color: var(--rk-accent-soft); box-shadow: 0 0 0 3px rgba(201, 162, 126, .25); }
.rk-raetsel__form input.is-falsch { border-color: var(--rk-bad); animation: rk-shake .4s; }
.rk-raetsel__form input:disabled { background: var(--rk-paper); }
.rk-raetsel__form .rk-btn { flex: none; }
.rk-raetsel__status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; min-height: 28px; font-size: .9rem; }
.rk-raetsel__meldung { flex: 1; min-width: 200px; color: var(--rk-ink-soft); }
.rk-raetsel__meldung.is-nah { color: var(--rk-accent-dark); }
.rk-raetsel__meldung.is-falsch { color: var(--rk-bad); }
.rk-raetsel__versuche { display: flex; gap: 5px; }
.rk-raetsel__versuche span { width: 9px; height: 9px; border-radius: 50%; background: var(--rk-paper-3); transition: background .3s; }
.rk-raetsel__versuche span.is-weg { background: var(--rk-bad); }
.rk-raetsel__links { display: flex; gap: 14px; }
.rk-raetsel__tippbox { margin: 12px 0 0; padding: 12px 16px; background: #fbf3dc; border-left: 3px solid #d9b45a; border-radius: 6px; font-size: .92rem; animation: rk-fade .4s var(--rk-ease); }
.rk-raetsel__aufloesung { margin-top: 16px; padding: 18px 20px; border-radius: 10px; background: var(--rk-paper); animation: rk-fade .5s var(--rk-ease); }
.rk-raetsel__aufloesung strong { display: block; font-family: var(--rk-serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 4px; }
.rk-raetsel__aufloesung p { margin: 0 0 10px; color: var(--rk-ink-soft); font-size: .95rem; }
.rk-raetsel__aufloesung p:last-child { margin: 0; }
@media (max-width: 560px) { .rk-raetsel__form { flex-direction: column; } .rk-raetsel__stempel { width: 84px; height: 84px; font-size: .62rem; } .rk-raetsel__stempel b { font-size: 1.2rem; } }

/* ---------- Kamera ---------- */
.js .rk-kamera.is-aktiv > .wp-block-video { display: none; }
.rk-kamera.is-aktiv { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rk-kamera__knopf { position: relative; width: min(100%, 330px); padding: 0; border: 0; background: none; cursor: pointer; transition: transform .35s var(--rk-ease); -webkit-tap-highlight-color: transparent; }
.rk-kamera__knopf svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 18px 18px rgba(40, 25, 10, .28)); }
.rk-kamera__knopf:hover, .rk-kamera__knopf:focus-visible { transform: rotate(-3deg) translateY(-4px); }
.rk-kamera__knopf .glanz { transition: transform .6s var(--rk-ease); transform-origin: 120px 98px; }
.rk-kamera__knopf:hover .glanz { transform: rotate(40deg); }
.rk-kamera__knopf .ausloeser { transition: transform .12s; transform-origin: 184px 24px; }
.rk-kamera__knopf:active .ausloeser, .rk-kamera__knopf.is-klick .ausloeser { transform: translateY(3px); }
.rk-kamera__knopf .blinker { animation: rk-blink 1.6s ease-in-out infinite; }
@keyframes rk-blink { 50% { opacity: .15; } }
.rk-kamera__hinweis { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 5px 14px; border-radius: 999px; background: var(--rk-card); box-shadow: var(--rk-shadow); font-size: .78rem; color: var(--rk-ink-soft); }
.rk-kamera__hinweis::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d23b2b; animation: rk-blink 1.2s infinite; }
.rk-kamera.is-aktiv .rk-kamera__text { margin-top: 12px; }

/* Sucher (Vollbild) */
.rk-sucher { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0a09; color: #fff; display: none; }
.rk-sucher[open] { display: grid; place-items: center; animation: rk-sucher-auf .45s ease-out; }
.rk-sucher::backdrop { background: #000; }
@keyframes rk-sucher-auf { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
.rk-sucher__okular { position: relative; width: min(94vw, calc((100dvh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 10px #1b1916, 0 0 0 12px #2e2a25, 0 30px 80px rgba(0, 0, 0, .8); }
.rk-sucher video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(1.25) saturate(.8); transform: scale(1.06); transition: filter .9s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.rk-sucher.is-scharf video { filter: none; transform: scale(1); }
.rk-sucher__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55) 100%); }
.rk-sucher__raster { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255, 255, 255, .22) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .22) 66.66%, transparent calc(66.66% + .5px)), linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255, 255, 255, .22) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .22) 66.66%, transparent calc(66.66% + .5px)); }
.rk-sucher__ecken { position: absolute; inset: 22px; pointer-events: none; --l: 34px; background: linear-gradient(#fff, #fff) top left / var(--l) 2px, linear-gradient(#fff, #fff) top left / 2px var(--l), linear-gradient(#fff, #fff) top right / var(--l) 2px, linear-gradient(#fff, #fff) top right / 2px var(--l), linear-gradient(#fff, #fff) bottom left / var(--l) 2px, linear-gradient(#fff, #fff) bottom left / 2px var(--l), linear-gradient(#fff, #fff) bottom right / var(--l) 2px, linear-gradient(#fff, #fff) bottom right / 2px var(--l); background-repeat: no-repeat; opacity: .85; }
.rk-sucher__fokus { position: absolute; left: 50%; top: 50%; width: 120px; height: 84px; transform: translate(-50%, -50%) scale(1.6); pointer-events: none; opacity: .9; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1), opacity .4s; --c: #fff; background: linear-gradient(var(--c), var(--c)) top left / 16px 2px, linear-gradient(var(--c), var(--c)) top left / 2px 16px, linear-gradient(var(--c), var(--c)) top right / 16px 2px, linear-gradient(var(--c), var(--c)) top right / 2px 16px, linear-gradient(var(--c), var(--c)) bottom left / 16px 2px, linear-gradient(var(--c), var(--c)) bottom left / 2px 16px, linear-gradient(var(--c), var(--c)) bottom right / 16px 2px, linear-gradient(var(--c), var(--c)) bottom right / 2px 16px; background-repeat: no-repeat; }
.rk-sucher.is-scharf .rk-sucher__fokus { transform: translate(-50%, -50%) scale(1); --c: #7be07b; }
.rk-sucher.is-scharf.is-laeuft .rk-sucher__fokus { opacity: 0; transition-delay: .9s; }
.rk-sucher__hud { position: absolute; left: 38px; right: 38px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 clamp(.62rem, 1.2vw, .8rem)/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); pointer-events: none; }
.rk-sucher__hud--oben { top: 34px; }
.rk-sucher__hud--unten { bottom: 34px; }
.rk-sucher__hud span { display: inline-flex; align-items: center; gap: 6px; }
.rk-sucher__rec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; animation: rk-blink 1s steps(2) infinite; }
.rk-sucher__akku { width: 26px; height: 12px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.rk-sucher__akku::before { content: ""; position: absolute; inset: 2px 6px 2px 2px; background: #fff; }
.rk-sucher__akku::after { content: ""; position: absolute; right: -5px; top: 3px; width: 3px; height: 4px; background: #fff; border-radius: 0 1px 1px 0; }
.rk-sucher__belicht { display: flex; gap: clamp(10px, 2.4vw, 26px); }
.rk-sucher__titel { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); max-width: 80%; font-family: var(--rk-hand); font-size: clamp(1.2rem, 2.6vw, 2rem); text-align: center; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .6s .6s; pointer-events: none; }
.rk-sucher.is-scharf .rk-sucher__titel { opacity: 1; }
.rk-sucher__blende { position: absolute; inset: 0; pointer-events: none; }
.rk-sucher__blende::before, .rk-sucher__blende::after { content: ""; position: absolute; left: 0; right: 0; height: 50%; background: #000; transform: scaleY(0); transition: transform .12s ease-in; }
.rk-sucher__blende::before { top: 0; transform-origin: top; }
.rk-sucher__blende::after { bottom: 0; transform-origin: bottom; }
.rk-sucher.is-ausloesen .rk-sucher__blende::before, .rk-sucher.is-ausloesen .rk-sucher__blende::after { transform: scaleY(1); }
.rk-sucher__blitz { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.rk-sucher.is-blitz .rk-sucher__blitz { animation: rk-blitz .6s ease-out; }
@keyframes rk-blitz { 0% { opacity: .95; } 100% { opacity: 0; } }
.rk-sucher__ende { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; background: rgba(0, 0, 0, .38); opacity: 0; pointer-events: none; transition: opacity .5s; }
.rk-sucher.is-fertig .rk-sucher__ende { opacity: 1; pointer-events: auto; }
.rk-sucher__ende p { margin: 0; font-family: var(--rk-hand); font-size: clamp(1.4rem, 3vw, 2.2rem); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.rk-sucher__ende div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.rk-sucher__ende .rk-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.rk-sucher__ende .rk-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.rk-sucher__zu { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.rk-sucher__zu:hover { background: rgba(255, 255, 255, .24); }
@media (max-width: 640px) {
	.rk-sucher__okular { width: 96vw; border-radius: 14px; }
	.rk-sucher__hud { left: 18px; right: 18px; }
	.rk-sucher__hud--oben { top: 16px; } .rk-sucher__hud--unten { bottom: 16px; }
	.rk-sucher__ecken { inset: 10px; --l: 20px; }
	.rk-sucher__titel { bottom: 40px; }
	.rk-sucher__belicht span:nth-child(n+3) { display: none; }
}

/* ---------- „Nur 1 Minute?“-Knopf ---------- */
.rk-hero__aktionen { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.rk-minute-btn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; background: rgba(251, 247, 240, .88); color: var(--rk-ink); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--rk-line), 0 6px 16px -10px rgba(60, 42, 20, .5); backdrop-filter: blur(6px); transition: transform .2s var(--rk-ease), box-shadow .2s; }
.rk-minute-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--rk-accent-soft), 0 10px 20px -10px rgba(60, 42, 20, .55); }
.rk-minute-btn__uhr { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--rk-paper-3); display: grid; place-items: center; color: var(--rk-accent-dark); }
.rk-minute-btn__uhr .rk-i { width: 21px; height: 21px; }
.rk-minute-btn__uhr::after { content: ""; position: absolute; left: 50%; top: 57%; width: 1.6px; height: 6px; background: currentColor; border-radius: 1px; transform-origin: 50% 0; transform: rotate(180deg); }
.rk-minute-btn:hover .rk-minute-btn__uhr::after { animation: rk-zeiger 1s linear infinite; }
@keyframes rk-zeiger { to { transform: rotate(540deg); } }
.rk-minute-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.rk-minute-btn__text strong { font-size: .86rem; font-weight: 500; }
.rk-minute-btn__text small { font-size: .7rem; color: var(--rk-muted); }
@media (max-width: 600px) { .rk-header__minute { display: none; } }

/* ---------- Überraschungskompass ---------- */
.rk-zufall { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 5vw, 70px); align-items: center; padding: clamp(24px, 4vw, 48px) clamp(22px, 5vw, 64px); background: var(--rk-card) var(--rk-grain); border-radius: var(--rk-radius); box-shadow: var(--rk-shadow); overflow: hidden; }
.rk-zufall::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 126, .22), transparent 70%); pointer-events: none; }
.rk-zufall__text h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 .4rem; }
.rk-zufall__text p { color: var(--rk-ink-soft); max-width: 460px; }
.rk-zufall__hinweis { font-size: 1.45rem; color: var(--rk-accent-dark) !important; transform: rotate(-2deg); margin: 6px 0 0; }
.rk-zufall__buehne { position: relative; width: clamp(200px, 24vw, 260px); }
.rk-zufall__kompass { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 18px 24px rgba(60, 42, 20, .35)); transition: transform .3s var(--rk-ease); }
.rk-zufall__kompass:hover { transform: scale(1.04); }
.rk-zufall__kompass:focus-visible { outline-offset: 6px; }
.rk-zufall__svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rk-zufall__rand { fill: #8a5a36; stroke: #6f4527; stroke-width: 2; }
.rk-zufall__striche line { stroke: var(--rk-ink-soft); stroke-width: 1; }
.rk-zufall__rose path { fill: rgba(138, 90, 54, .14); stroke: rgba(111, 69, 39, .4); stroke-width: .8; }
.rk-zufall__rose path.hell { fill: rgba(138, 90, 54, .07); }
.rk-zufall__richtungen text { font: 600 12px/1 var(--rk-serif); fill: var(--rk-ink); text-anchor: middle; }
.rk-zufall__nadel { transform-origin: 100px 100px; transform: rotate(var(--rk-winkel, 18deg)); }
.rk-zufall__nadel .nord { fill: #b5623b; }
.rk-zufall__nadel .sued { fill: #e9dcc6; stroke: #8c8172; stroke-width: .6; }
.rk-zufall__nadel .achse { fill: #6f4527; }
.rk-zufall__glas { fill: url(#rk-zg); fill-opacity: 0; stroke: rgba(255, 255, 255, .6); stroke-width: 1.5; }
.rk-zufall__kompass:hover .rk-zufall__nadel, .rk-zufall__kompass:focus-visible .rk-zufall__nadel { animation: rk-wirbel .45s linear infinite; }
.rk-zufall__kompass:hover .rk-zufall__rose { animation: rk-wirbel 6s linear infinite reverse; transform-origin: 100px 100px; }
.rk-zufall__kompass.is-dreht .rk-zufall__nadel, .rk-zufall__kompass.is-dreht .rk-zufall__rose { animation: none; }
@keyframes rk-wirbel { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.rk-zufall__ergebnis { position: absolute; left: 50%; bottom: -9%; z-index: 2; width: max(250px, 112%); transform: translateX(-50%); pointer-events: none; }
.rk-zufall__karte { display: flex; gap: 12px; align-items: center; padding: 10px; background: #fff; border-radius: 12px; box-shadow: var(--rk-shadow-lg); text-align: left; animation: rk-zufall-karte .5s cubic-bezier(.3, 1.4, .5, 1) both; pointer-events: auto; }
.rk-zufall__karte img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.rk-zufall__karte small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rk-muted); }
.rk-zufall__karte strong { display: block; font-family: var(--rk-serif); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.rk-zufall__karte > span { min-width: 0; flex: 1; }
.rk-zufall__karte a { display: block; font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-zufall__karte img { width: 52px; height: 52px; }
.rk-zufall__touch { display: none; }
@media (hover: none) { .rk-zufall__maus { display: none; } .rk-zufall__touch { display: inline; } }
@keyframes rk-zufall-karte { from { opacity: 0; transform: translateY(-14px) scale(.9); } }
@media (max-width: 700px) {
	.rk-zufall { grid-template-columns: 1fr; text-align: center; }
	.rk-zufall__text p { margin-inline: auto; }
	.rk-zufall__buehne { margin: 0 auto; }
}

/* ---------- Fotoalbum „Die Welt in 60 Sekunden“ ---------- */
.rk-album { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: radial-gradient(ellipse at 50% 40%, #3a3129, #1d1813 70%); color: var(--rk-ink); display: none; overflow: hidden; }
.rk-album[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; animation: rk-fade .4s ease-out; }
.rk-album::backdrop { background: #1d1813; }
.rk-album__buch { position: relative; width: min(94vw, calc((100dvh - 110px) * 1.62), 1180px); aspect-ratio: 1.62; perspective: 2400px; }
.rk-album__seite { position: absolute; inset: 0; display: grid; grid-template-columns: 1.08fr 1fr; overflow: hidden; border-radius: 6px 10px 10px 6px; background: #f3e9d6 var(--rk-grain); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .15); transform-origin: left center; backface-visibility: hidden; --akzent: #b5623b; }
.rk-album__seite::after { content: ""; position: absolute; top: 0; bottom: 0; left: 52%; width: 70px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(80, 55, 30, .16) 46%, rgba(80, 55, 30, .28) 50%, rgba(80, 55, 30, .12) 54%, transparent); pointer-events: none; }
.rk-album__seite.is-raus { animation: rk-blaettern .85s cubic-bezier(.45, .05, .55, .95) forwards; z-index: 3; }
.rk-album__seite.is-zurueck { animation: rk-zurueckblaettern .85s cubic-bezier(.45, .05, .55, .95) both; z-index: 3; }
@keyframes rk-blaettern { 0% { transform: rotateY(0); filter: brightness(1); } 100% { transform: rotateY(-102deg); filter: brightness(.6); } }
@keyframes rk-zurueckblaettern { 0% { transform: rotateY(-102deg); filter: brightness(.6); } 100% { transform: rotateY(0); filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) { .rk-album__seite.is-raus, .rk-album__seite.is-zurueck { animation: rk-fade .3s reverse forwards; } }

/* Fotoseite links */
.rk-album__links { position: relative; display: grid; place-items: center; padding: 7% 8% 9%; }
.rk-album__foto { position: relative; width: 100%; margin: 0; padding: 4% 4% 13%; background: #fff; transform: rotate(var(--dreh, -2.5deg)); box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 22px 34px -18px rgba(60, 42, 20, .55); }
.rk-album__foto img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; animation: rk-album-zoom 12s ease-out both; }
@keyframes rk-album-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.rk-album__foto figcaption { position: absolute; left: 6%; right: 6%; bottom: 2.5%; font-family: var(--rk-hand); font-size: clamp(.95rem, 1.9vw, 1.5rem); line-height: 1.1; text-align: center; color: var(--rk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-album__ecke { position: absolute; width: 11%; aspect-ratio: 1; background: #3a2a1d; opacity: .85; }
.rk-album__ecke--lo { left: -3%; top: -3%; clip-path: polygon(0 0, 100% 0, 0 100%); }
.rk-album__ecke--ro { right: -3%; top: -3%; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rk-album__ecke--lu { left: -3%; bottom: -3%; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.rk-album__ecke--ru { right: -3%; bottom: -3%; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.rk-album__tape { position: absolute; width: 22%; height: 7%; background: color-mix(in srgb, var(--akzent) 45%, #fff 55%); opacity: .82; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px); }

/* Infoseite rechts */
.rk-album__rechts { position: relative; padding: 7% 8% 6% 9%; display: flex; flex-direction: column; min-width: 0; }
.rk-album__kicker { margin: 0 0 .5em; font-size: clamp(.55rem, 1vw, .72rem); letter-spacing: .24em; text-transform: uppercase; color: var(--akzent); font-weight: 600; }
.rk-album__titel { margin: 0; font-family: var(--rk-serif); font-weight: 500; font-size: clamp(1.4rem, 3.4vw, 2.9rem); line-height: 1.02; color: var(--rk-ink); }
.rk-album__unter { margin: .35em 0 0; font-size: clamp(.68rem, 1.2vw, .9rem); color: var(--rk-ink-soft); }
.rk-album__mitte { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: center; margin: 4% 0; min-height: 0; }
.rk-album__karte { position: relative; height: 100%; max-height: 220px; display: grid; place-items: center; }
.rk-album__karte svg { width: 100%; height: 100%; overflow: visible; }
.rk-album__karte path { fill: color-mix(in srgb, var(--akzent) 22%, #efe2c8 78%); stroke: color-mix(in srgb, var(--akzent) 60%, #5f564b 40%); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.rk-album__karte .pin { position: absolute; width: 16px; height: 22px; transform: translate(-50%, -100%); color: var(--akzent); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); animation: rk-pin-fall .6s cubic-bezier(.3, 1.6, .5, 1) .5s both; }
.rk-album__karte .pin::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; border: 1.5px solid var(--akzent); transform: scale(0); opacity: 0; animation: rk-puls 1.8s ease-out 1.1s infinite; }
@keyframes rk-pin-fall { from { transform: translate(-50%, -260%); opacity: 0; } }
@keyframes rk-puls { 0% { transform: scale(.3) translateY(50%); opacity: .9; } 100% { transform: scale(2) translateY(25%); opacity: 0; } }
.rk-album__stempel { position: relative; justify-self: center; width: min(100%, 150px); aspect-ratio: 1; border-radius: 50%; border: 2.5px solid var(--akzent); color: var(--akzent); display: grid; place-items: center; text-align: center; transform: rotate(-12deg); opacity: .85; box-shadow: inset 0 0 0 5px rgba(243, 233, 214, .9), inset 0 0 0 6.5px var(--akzent); animation: rk-stempel .5s cubic-bezier(.3, 1.6, .5, 1) .8s both; mix-blend-mode: multiply; }
.rk-album__stempel span { display: block; font: 600 clamp(.5rem, .9vw, .7rem)/1.2 var(--rk-sans); letter-spacing: .16em; text-transform: uppercase; }
.rk-album__stempel.is-lang b { font-size: clamp(.75rem, 1.35vw, 1.05rem); letter-spacing: 0; }
.rk-album__stempel b { display: block; font-family: var(--rk-serif); font-size: clamp(.95rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1; margin: 3px 0; padding: 0 10%; }
.rk-album__ticket { position: relative; display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 0 clamp(10px, 2vw, 22px); align-items: end; padding: 3.5% 5% 3.5% 6%; background: #fffaf0; border-radius: 6px; box-shadow: 0 2px 6px rgba(60, 42, 20, .12); border-left: 5px dashed color-mix(in srgb, var(--akzent) 70%, #fff 30%); transform: rotate(.8deg); }
.rk-album__ticket div small { display: block; font-size: clamp(.45rem, .8vw, .6rem); letter-spacing: .18em; text-transform: uppercase; color: var(--rk-muted); }
.rk-album__ticket div strong { display: block; font-family: var(--rk-serif); font-size: clamp(.8rem, 1.5vw, 1.15rem); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-album__ticket .barcode { justify-self: end; width: clamp(36px, 6vw, 70px); height: clamp(22px, 3.4vw, 36px); background: repeating-linear-gradient(90deg, var(--rk-ink) 0 2px, transparent 2px 4px, var(--rk-ink) 4px 5px, transparent 5px 8px, var(--rk-ink) 8px 11px, transparent 11px 13px); opacity: .75; }
.rk-album__link { align-self: flex-start; margin-top: 4%; font-size: clamp(.7rem, 1.2vw, .88rem); color: var(--akzent); text-decoration: none; border-bottom: 1px solid currentColor; }
.rk-album__link:hover { color: var(--rk-ink); }
.rk-album__nr { position: absolute; right: 5%; bottom: 3.5%; font-family: var(--rk-hand); font-size: clamp(.9rem, 1.4vw, 1.1rem); color: var(--rk-muted); }

/* Deckblatt & Schluss */
.rk-album__seite--deckel { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2%; background: #5a3b24 linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .18)); color: #f1e2c8; border-radius: 8px 14px 14px 8px; }
.rk-album__seite--deckel::after { left: 4%; width: 30px; background: linear-gradient(90deg, rgba(0, 0, 0, .3), transparent); }
.rk-album__seite--deckel::before { content: ""; position: absolute; inset: 4%; border: 1.5px solid rgba(241, 226, 200, .45); border-radius: 6px; pointer-events: none; }
.rk-album__seite--deckel .rk-emblem { width: clamp(60px, 11vw, 120px); height: auto; color: #e3c79d; }
.rk-album__seite--deckel h2 { margin: 2% 0 0; font-family: var(--rk-serif); font-weight: 500; font-size: clamp(1.8rem, 5vw, 4rem); line-height: 1; color: #f6e8cf; text-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.rk-album__seite--deckel p { margin: 0; font-family: var(--rk-hand); font-size: clamp(1.1rem, 2.6vw, 2rem); color: #e3c79d; }
.rk-album__seite--deckel small { font-size: clamp(.55rem, 1vw, .75rem); letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.rk-album__seite--ende { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3%; padding: 6%; }
.rk-album__seite--ende h2 { margin: 0; font-family: var(--rk-hand); font-weight: 500; font-size: clamp(2rem, 5vw, 3.8rem); }
.rk-album__seite--ende p { margin: 0; color: var(--rk-ink-soft); max-width: 460px; font-size: clamp(.8rem, 1.4vw, 1rem); }
.rk-album__seite--ende div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 2%; }
.rk-album__seite--ende .rk-emblem { width: 70px; height: 70px; color: var(--rk-accent); animation: rk-compass 4s ease-in-out infinite alternate; }

/* Steuerleiste */
.rk-album__leiste { display: flex; align-items: center; gap: 8px; width: min(94vw, 640px); padding: 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #f1e2c8; backdrop-filter: blur(6px); }
.rk-album__knopf { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.rk-album__knopf:hover { background: rgba(255, 255, 255, .12); }
.rk-album__knopf .rk-i { width: 20px; height: 20px; }
.rk-album .ico-play { display: none; }
.rk-album.is-pause .ico-play { display: block; }
.rk-album.is-pause .ico-pause { display: none; }
.rk-album__zeit { flex: 1; display: flex; align-items: center; gap: 10px; font: 500 .8rem/1 ui-monospace, Menlo, Consolas, monospace; }
.rk-album__balken { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.rk-album__balken span { display: block; height: 100%; width: 100%; background: #e3c79d; transform-origin: left; transform: scaleX(0); }
.rk-album__laden { position: absolute; inset: 0; display: grid; place-items: center; color: #f1e2c8; font-family: var(--rk-hand); font-size: 1.6rem; }

/* Hochformat (Handy): eine Spalte, Seite nutzt die volle verfügbare Höhe */
@media (max-aspect-ratio: 1/1), (max-width: 700px) {
	.rk-album[open] { gap: 10px; padding: 10px 0 max(10px, env(safe-area-inset-bottom)); }
	.rk-album__buch { width: min(94vw, 480px); height: calc(100dvh - 86px - env(safe-area-inset-bottom)); max-height: 820px; aspect-ratio: auto; }
	.rk-album__seite { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
	.rk-album__seite::after { display: none; }
	.rk-album__links { padding: 6% 9% 1%; }
	.rk-album__foto { padding: 3% 3% 10%; }
	.rk-album__foto img { aspect-ratio: 16 / 10; max-height: 30dvh; }
	.rk-album__foto figcaption { font-size: 1.05rem; }
	.rk-album__rechts { padding: 3% 7% 6%; min-height: 0; overflow: hidden; }
	.rk-album__kicker { font-size: .62rem; }
	.rk-album__titel { font-size: clamp(1.3rem, 6.4vw, 2.2rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.rk-album__unter { font-size: .78rem; }
	.rk-album__mitte { flex: 1 1 auto; margin: 2% 0; min-height: 0; }
	.rk-album__karte { max-height: min(200px, 22dvh); }
	.rk-album__stempel { width: min(100%, 110px); }
	.rk-album__rechts .rk-album__tape { display: none; }
	.rk-album__ticket { flex: none; grid-template-columns: repeat(3, auto); padding: 3% 4% 3% 5%; }
	.rk-album__ticket .barcode { display: none; }
	.rk-album__link { flex: none; margin-top: 3%; }
	.rk-album__nr { bottom: 2.5%; }
	.rk-album__leiste { flex: none; }
}
/* Kleine Handys / Browserleisten: Kartenzeile kompakter, notfalls ausblenden */
@media (max-aspect-ratio: 1/1) and (max-height: 700px), (max-width: 700px) and (max-height: 700px) {
	.rk-album__foto img { max-height: 26dvh; }
	.rk-album__mitte { grid-template-columns: 1fr auto; }
	.rk-album__karte { max-height: 84px; }
	.rk-album__stempel { width: 74px; }
	.rk-album__stempel span { font-size: .45rem; }
	.rk-album__stempel b { font-size: .8rem; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 600px), (max-width: 700px) and (max-height: 600px) {
	.rk-album__mitte { display: none; }
}
}
