:root {
    --bg: #fbf7f2;
    --bg-2: #ffffff;
    --bg-3: #f3ebe2;
    --ink: #1e262c;
    --ink-2: #5a6874;
    --ink-3: #8b98a3;
    --line: #e4d9cd;
    --line-2: #efe7dd;
    --accent: #c8102e;
    --accent-soft: #fceceb;
    --blue: #2c5a78;
    --rose: #e4909b;
    --gold: #d9a13a;
    --shadow: 0 1px 2px rgba(30, 38, 44, .05), 0 10px 30px -18px rgba(30, 38, 44, .35);
    --radius: 18px;
    --radius-sm: 12px;
    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
    --wrap: 62rem;
    --header-h: 5rem;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #15191d;
        --bg-2: #1c2227;
        --bg-3: #232a31;
        --ink: #ece7e0;
        --ink-2: #a7b1ba;
        --ink-3: #7c8790;
        --line: #2f373f;
        --line-2: #262d34;
        --accent: #ef485f;
        --accent-soft: #2a1a1e;
        --blue: #7fb3d0;
        --rose: #e9a3ac;
        --gold: #e8bc63;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -20px rgba(0, 0, 0, .8);
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
}

/* Kurze Seiten wie der Fotobereich sollen die Fußzeile unten halten. */
.main { flex: 1 0 auto; }
.sitefoot { flex: none; }

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0;
}

p { margin: 0; }

a { color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; }

svg { stroke-width: 1.7; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skiplink {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 60;
    padding: .7rem 1.1rem;
    background: var(--ink);
    color: var(--bg);
    border-radius: 0 0 var(--radius-sm) 0;
    text-decoration: none;
}

.skiplink:focus { left: 0; }

/* ---------- Herzen ---------- */

.heart { width: 100%; height: 100%; }

.brand__hearts,
.hero__hearts,
.sitefoot__hearts {
    display: inline-flex;
    align-items: flex-end;
    flex: none;
}

.rings {
    position: relative;
    z-index: 1;
    flex: none;
    overflow: visible;
    stroke-width: 2.3;
}

/* 6 s Zyklus: 3 s Bewegung (0-50 %), danach 3 s Endzustand halten. */
.rings__a { animation: ring-join-left 6s cubic-bezier(.22, .9, .28, 1.06) .35s infinite both; }
.rings__b { animation: ring-join-right 6s cubic-bezier(.22, .9, .28, 1.06) .35s infinite both; }
.rings__link { animation: ring-link 6s ease-out .35s infinite both; }

@keyframes ring-join-left {
    0% { transform: translateX(-11px); opacity: 0; }
    12% { opacity: 1; }
    50% { transform: translateX(0); }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes ring-join-right {
    0% { transform: translateX(11px); opacity: 0; }
    12% { opacity: 1; }
    50% { transform: translateX(0); }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes ring-link {
    0%, 38% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

.brand__hearts .heart { width: 19px; height: 17px; }
.brand__hearts .heart--de { transform: rotate(-9deg); }
.brand__hearts .heart--ua { transform: rotate(9deg); margin-left: -5px; }

.hero__hearts {
    justify-content: center;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45));
}

.hero__hearts .heart--de,
.hero__hearts .heart--ua { width: 60px; height: 54px; }
.hero__hearts .heart--de { transform: rotate(-10deg); }
.hero__hearts .heart--ua { transform: rotate(10deg); }

.hero__hearts .rings {
    width: 66px;
    height: 36px;
    margin: 0 -23px 12px -23px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .45));
}

.hero__hearts .heart--baby {
    width: 26px;
    height: 23px;
    margin: 0 0 6px -12px;
    animation: beat 3.4s ease-in-out infinite;
}

@keyframes beat {
    0%, 100% { transform: scale(1) rotate(6deg); }
    12% { transform: scale(1.16) rotate(6deg); }
    24% { transform: scale(1) rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__hearts .heart--baby { animation: none; }
    .rings__a, .rings__b, .rings__link { animation: none; }
    .shot img { transition: none; }
}

.sitefoot__hearts .heart--de,
.sitefoot__hearts .heart--ua { width: 26px; height: 24px; }
.sitefoot__hearts .heart--de { transform: rotate(-9deg); }
.sitefoot__hearts .heart--ua { transform: rotate(9deg); }

.sitefoot__hearts .rings {
    width: 29px;
    height: 16px;
    margin: 0 -7px 5px -7px;
    stroke-width: 2.9;
}

/* ---------- Kopfzeile ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line-2);
}

.topbar__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: .55rem clamp(1rem, 4vw, 2rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    margin-right: auto;
}

.brand__text {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    letter-spacing: .04em;
}

.nav {
    order: 3;
    width: 100%;
    display: flex;
    gap: .15rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem));
    padding: .1rem clamp(1rem, 4vw, 2rem) .3rem;
}

.nav::-webkit-scrollbar { display: none; }

.nav__link {
    flex: none;
    padding: .38rem .78rem;
    border-radius: 999px;
    font-size: .92rem;
    color: var(--ink-2);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease;
}

.nav__link:hover { background: var(--bg-3); color: var(--ink); }

.nav__link.is-active { background: var(--ink); color: var(--bg); }

.langswitch { display: inline-flex; gap: .3rem; flex: none; }

.langswitch__btn {
    display: grid;
    place-items: center;
    padding: .28rem;
    border: 1px solid transparent;
    border-radius: 9px;
    opacity: .45;
    transition: opacity .16s ease, border-color .16s ease, background-color .16s ease;
}

.langswitch__btn .flag {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .14);
}

.langswitch__btn:hover { opacity: .8; }

.langswitch__btn.is-active {
    opacity: 1;
    background: var(--bg-2);
    border-color: var(--line);
}

@media (min-width: 46rem) {
    .nav {
        order: 0;
        width: auto;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

/* ---------- Grundraster ---------- */

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section { padding: clamp(2rem, 5vw, 3.2rem) 0; }

.section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.section__head { max-width: 40rem; margin-bottom: clamp(1.2rem, 3vw, 1.8rem); }

.section__title { font-size: clamp(1.55rem, 4.2vw, 2.2rem); }

.section__lead {
    margin-top: .7rem;
    color: var(--ink-2);
    font-size: 1.05rem;
}

.eyebrow {
    display: block;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow--spaced { margin: 1.6rem 0 1.1rem; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: center;
    min-height: min(90svh, 44rem);
    padding: clamp(3rem, 9vw, 5rem) 0;
    text-align: center;
    background: #12161a;
    --ink: #ffffff;
    --ink-2: rgba(255, 255, 255, .88);
    --hero-accent: #f0c064;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 58%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 14, 18, .74) 0%, rgba(10, 14, 18, .48) 45%, rgba(10, 14, 18, .86) 100%);
}

.hero__inner {
    position: relative;
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    color: var(--ink);
}

.hero .eyebrow { color: var(--hero-accent); }

.hero__names {
    font-size: clamp(2.2rem, 9.5vw, 4rem);
    line-height: 1.03;
    margin: .1rem 0 .9rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}

.hero__amp {
    display: block;
    font-size: .46em;
    color: var(--hero-accent);
    font-style: italic;
    margin: .12em 0;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .3rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
}

@media (min-width: 32rem) {
    .hero__meta span + span::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--hero-accent);
        vertical-align: middle;
        margin-right: .9rem;
    }
}

.hero__lead {
    margin: 1.4rem auto 0;
    max-width: 34rem;
    font-size: 1.06rem;
    color: var(--ink-2);
    text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-top: 1.7rem;
}

.hero .btn--ghost {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
    backdrop-filter: blur(6px);
}

.hero .btn--ghost:hover { border-color: #fff; }

.hero .countdown__value { color: var(--hero-accent); }

.greetbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .2rem .6rem;
    padding: .75rem clamp(1rem, 4vw, 2rem);
    background: var(--ink);
    color: var(--bg);
    font-size: .92rem;
    text-align: center;
}

.greetbar strong { font-weight: 600; }
.greetbar span { color: color-mix(in srgb, var(--bg) 74%, transparent); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, background-color .16s ease, border-color .16s ease;
}

.btn:active { transform: translateY(1px); }

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }

.btn--ghost {
    background: var(--bg-2);
    border-color: var(--line);
    color: var(--ink);
}

.btn--ghost:hover { border-color: var(--ink-3); }

.linkline {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    padding-bottom: 1px;
}

.linkline:hover { border-bottom-color: var(--accent); }
.linkline svg { width: 15px; height: 15px; }

.richlink { color: var(--accent); text-underline-offset: 3px; }

.countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: .1rem .75rem;
    margin-top: 1.9rem;
    font-family: var(--font-serif);
}

.countdown__value { font-size: clamp(2rem, 6vw, 2.6rem); color: var(--accent); line-height: 1; }

.countdown__label {
    color: var(--ink-2);
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ---------- Karten ---------- */

.grid {
    display: grid;
    gap: clamp(.8rem, 2vw, 1.1rem);
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}

.card__icon,
.note__icon,
.place__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--bg-3);
    color: var(--accent);
    flex: none;
}

.card__icon { margin-bottom: .85rem; }

.card__icon svg,
.note__icon svg,
.place__icon svg { width: 19px; height: 19px; }

.card__kicker {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.card__title { font-size: 1.22rem; margin: .18rem 0 .5rem; }
.card__lines { color: var(--ink-2); font-size: .96rem; }

.note {
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
    align-items: start;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}

.note--before { border-left: 3px solid var(--gold); }
.note--before .note__icon { color: var(--gold); }

.note--after { border-left: 3px solid var(--rose); margin-top: clamp(1.4rem, 3vw, 2rem); }
.note--after .note__icon { color: var(--rose); }

.note--rsvp { border-left: 3px solid var(--accent); margin-bottom: clamp(.9rem, 2vw, 1.2rem); }

.note--later { border-left: 3px solid var(--blue); margin-top: clamp(.9rem, 2vw, 1.2rem); }
.note--later .note__icon { color: var(--blue); }

.note__list { margin-top: .5rem; }

.channels {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.1rem;
}

.contact .channels { justify-content: center; }

.note__title { font-size: 1.18rem; margin-bottom: .3rem; }
.note__text { color: var(--ink-2); }

.contact {
    margin-top: clamp(.8rem, 2vw, 1.1rem);
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 1.4rem 1.35rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact__title { font-size: 1.24rem; }
.contact__text { color: var(--ink-2); margin-top: .35rem; }
.contact .btn { margin-top: 1rem; }

/* ---------- Zeitplan ---------- */

.timeline { --tl-col: 4.6rem; }

.tl {
    position: relative;
    display: grid;
    grid-template-columns: var(--tl-col) 1fr;
    gap: 0 1rem;
    padding-bottom: 1.6rem;
}

.tl::before {
    content: "";
    position: absolute;
    left: calc(var(--tl-col) + .5rem - 1px);
    top: 1.9rem;
    bottom: -.2rem;
    width: 2px;
    background: var(--line);
}

.tl:last-child { padding-bottom: 0; }
.tl:last-child::before { display: none; }

.tl__time {
    grid-column: 1;
    padding-top: .2rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
}

.tl__dot {
    position: absolute;
    left: calc(var(--tl-col) + .5rem - 6px);
    top: .45rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--accent);
}

.tl__body { grid-column: 2; padding-left: 1.15rem; }

.tl__title { font-size: 1.14rem; }
.tl__text { margin-top: .3rem; color: var(--ink-2); }

.tl__addr {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .55rem;
    font-size: .9rem;
    color: var(--ink-3);
}

.tl__addr svg { width: 15px; height: 15px; flex: none; }

.tl__actions { margin-top: .55rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Orte & Karte ---------- */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .34rem .85rem .34rem .6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--ink-3);
    font: inherit;
    font-size: .88rem;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.chip__mark {
    width: 16px;
    height: 16px;
    flex: none;
    stroke-width: 2;
    color: var(--ink-3);
    transition: color .16s ease;
}

.chip:hover { border-color: var(--ink-3); color: var(--ink-2); }

.chip[aria-pressed="true"] {
    border-color: var(--chip-accent, var(--ink));
    background: color-mix(in srgb, var(--chip-accent, var(--ink)) 12%, var(--bg-2));
    color: var(--ink);
}

.chip[aria-pressed="true"] .chip__mark { color: var(--chip-accent, var(--ink)); }

.mapbox {
    position: relative;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-3);
    box-shadow: var(--shadow);
    height: clamp(18rem, 48vw, 25rem);
}

.mapbox__canvas { position: absolute; inset: 0; }

.mapconsent {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .7rem;
    text-align: center;
    padding: 1.6rem;
    background:
        radial-gradient(90% 70% at 50% 0%, var(--accent-soft) 0%, transparent 70%),
        var(--bg-3);
}

.mapconsent__title { font-size: 1.15rem; }
.mapconsent__text { max-width: 26rem; color: var(--ink-2); font-size: .95rem; }

.mapmark {
    position: relative;
    display: grid;
    justify-items: center;
    padding-bottom: 9px;
    cursor: pointer;
}

.mapmark::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #ffffff;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .28));
}

.mapmark__disc {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mark-bg);
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
    color: #ffffff;
}

.mapmark__disc svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.2;
}

.mapmark--venue .mapmark__disc { width: 52px; height: 52px; border-width: 4px; }
.mapmark--venue .mapmark__disc svg { width: 27px; height: 27px; stroke-width: 2.1; }
.mapmark--venue::after { border-left-width: 8px; border-right-width: 8px; border-top-width: 12px; }

.mapmark--transport .mapmark__disc { width: 34px; height: 34px; }
.mapmark--transport .mapmark__disc svg { width: 18px; height: 18px; stroke-width: 2.4; }

.places { display: grid; gap: .8rem; margin-top: 1.1rem; }

.place {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem 1rem;
    align-items: start;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 1.05rem 1.2rem;
}

.place.is-hidden { display: none; }

.place--slate .place__icon { color: var(--ink-2); }
.place--blue .place__icon { color: var(--blue); }

.place__role {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.place__name { font-size: 1.14rem; margin-top: .05rem; }
.place__text { color: var(--ink-2); font-size: .97rem; margin-top: .25rem; }
.place__addr { color: var(--ink-3); font-size: .9rem; margin-top: .3rem; }

.place__actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: .5rem;
}

/* ---------- Fotos ---------- */

.shots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
}

.shot {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--bg-3);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.shot:hover img { transform: scale(1.04); }

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 11, 14, .95);
    overflow: hidden;
}

.lightbox::backdrop { background: rgba(8, 11, 14, .95); }

.lightbox__frame {
    display: grid;
    align-content: center;
    justify-items: center;
    height: 100%;
    padding: clamp(3.2rem, 8vw, 4.5rem) clamp(1rem, 9vw, 5rem);
}

.lightbox__img {
    max-width: 100%;
    max-height: 82svh;
    width: auto;
    height: auto;
    border-radius: 10px;
}

.lightbox__btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn svg { width: 20px; height: 20px; stroke-width: 2; }

.lightbox__btn--close { top: 1rem; right: 1rem; }
.lightbox__btn--save { top: 1rem; right: 4.2rem; }
.lightbox__btn--prev { left: .7rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: .7rem; top: 50%; transform: translateY(-50%); }

/* ---------- Fotobereich ---------- */

.gate {
    max-width: 30rem;
    margin: clamp(1rem, 6vw, 4rem) auto;
    padding: clamp(1.6rem, 5vw, 2.4rem);
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.gate__icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bg-3);
    color: var(--accent);
    margin-bottom: 1rem;
}

.gate__icon svg { width: 24px; height: 24px; }
.gate__title { font-size: 1.5rem; }
.gate__text { color: var(--ink-2); margin-top: .6rem; }
.gate__hint { color: var(--ink-3); font-size: .88rem; margin-top: .9rem; }

.gate__error {
    margin-top: 1rem;
    padding: .6rem .9rem;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: .92rem;
}

.gate__form {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.2rem;
}

.field,
.gate__form input {
    flex: 1 1 11rem;
    min-width: 0;
    padding: .62rem .8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: .95rem;
}

/* Nur der globale Fokusring, kein zusätzlicher Rahmenwechsel – sonst zwei Ringe. */
.field:focus-visible,
.gate__form input:focus-visible { outline-offset: 1px; }

.uploader {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow);
}

.uploader__row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
}

.uploader__row .btn { flex: none; cursor: pointer; }
.uploader__hint { color: var(--ink-3); font-size: .88rem; margin-top: .75rem; }

.queue { display: grid; gap: .45rem; margin-top: .9rem; }

.pbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6rem auto;
    align-items: center;
    gap: .7rem;
    font-size: .85rem;
}

.pbar__name {
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pbar__track {
    height: 6px;
    border-radius: 999px;
    background: var(--bg-3);
    overflow: hidden;
}

.pbar__fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width .18s ease;
}

.pbar__state { display: flex; align-items: center; color: var(--ink-3); font-size: .8rem; }
.pbar__state svg { width: 15px; height: 15px; stroke-width: 2.2; }
.pbar.is-done .pbar__state { color: #1a7f45; }
.pbar.is-failed .pbar__fill { background: var(--ink-3); }
.pbar.is-failed .pbar__state { color: var(--accent); }

.photobar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin: clamp(1.2rem, 3vw, 1.8rem) 0 1rem;
}

.photobar__count { color: var(--ink-2); font-size: .92rem; }
.photobar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.photobar__tools .linkline { background: none; border: 0; font: inherit; cursor: pointer; }

.shotwrap { display: grid; gap: .35rem; }

.shotwrap__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .8rem;
    color: var(--ink-3);
    min-height: 1.6rem;
}

.shotwrap__by { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shotwrap__tools { display: flex; gap: .2rem; flex: none; }

.iconbtn {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: none;
    color: var(--ink-3);
    cursor: pointer;
}

.iconbtn:hover { background: var(--bg-3); color: var(--ink); }
.iconbtn--danger:hover { color: var(--accent); }
.iconbtn svg { width: 16px; height: 16px; }

.emptystate {
    padding: clamp(2rem, 6vw, 3.5rem) 1rem;
    text-align: center;
    color: var(--ink-3);
    background: var(--bg-2);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

/* ---------- Infos ---------- */

.info { display: grid; gap: .9rem; }

.info__group {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 1.15rem 1.3rem;
}

.info__head {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .7rem;
}

.info__head svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.info__title { font-size: 1.14rem; }

.info__list { display: grid; gap: .55rem; color: var(--ink-2); }

.info__list li { position: relative; padding-left: 1.1rem; }

.info__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rose);
}

/* ---------- Fußzeile ---------- */

.sitefoot {
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    padding: 2.2rem clamp(1rem, 4vw, 2rem) 2.6rem;
    border-top: 1px solid var(--line-2);
    display: grid;
    justify-items: center;
    gap: .7rem;
    text-align: center;
    background: var(--bg-3);
}

.sitefoot__text {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--ink-2);
}

.noscript {
    max-width: var(--wrap);
    margin: 2rem auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.noscript ul { display: grid; gap: .5rem; margin-top: 1rem; }

@media (min-width: 46rem) {
    .place { grid-template-columns: auto 1fr auto; align-items: center; }
    .place__actions {
        grid-column: 3;
        margin-top: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
        padding-left: 1rem;
    }
    .info { grid-template-columns: 1fr 1fr; }
    .shots { grid-template-columns: repeat(4, 1fr); gap: .8rem; }
    .timeline { --tl-col: 5.6rem; }
    .tl__time { font-size: .88rem; }
}
