* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050508;
    --panel: #101018;
    --panel-2: #1a1a26;
    --line: #2c2c3f;
    --text: #f6f4f9;
    --muted: #b6b1c2;
    --red: #ff2a54;
    --red-deep: #8d1030;
    --red-soft: #ff6f8b;
    --paper: #f3eadc;
    --mono: 'IBM Plex Mono', monospace;
    --sans: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--sans);
    color: var(--text);
    background:
        radial-gradient(90rem 40rem at 110% -8%, rgba(255, 42, 84, 0.18), transparent 55%),
        radial-gradient(65rem 30rem at -10% 5%, rgba(141, 16, 48, 0.25), transparent 55%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 48px),
        var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: min(1200px, 92vw);
    margin-inline: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    padding: 6.5rem 0;
    position: relative;
}

/* NAV */
.navbar {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(5, 5, 8, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
}

.nav-brand-logo {
    width: 170px;
    height: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.35rem;
}

.nav-links a {
    padding: 0.48rem 0.78rem;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    border-color: rgba(255, 42, 84, 0.7);
    background: linear-gradient(120deg, rgba(255, 42, 84, 0.2), rgba(141, 16, 48, 0.25));
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

/* HERO */
.hero {
    min-height: calc(100vh - 74px);
    display: grid;
    align-items: center;
    position: relative;
    overflow: clip;
}

.hero::before {
    content: "";
    position: absolute;
    width: 58vw;
    height: 58vw;
    right: -14vw;
    top: -24vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 42, 84, 0.3), transparent 62%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(7, 7, 10, 0.35), rgba(7, 7, 10, 0.78)),
        repeating-linear-gradient(140deg, rgba(255, 255, 255, 0.025) 0 4px, transparent 4px 18px);
}

.start-logo-center {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    margin-bottom: 0.5rem;
}

.start-logo {
    width: min(460px, 72vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45));
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1rem;
    align-items: center;
}

.hero-left {
    border: 2px solid rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(155deg, rgba(18, 18, 26, 0.96), rgba(10, 10, 16, 0.92));
    padding: 2.4rem;
    clip-path: polygon(0 0, 94% 0, 100% 14%, 100% 100%, 0 100%);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.hero-kicker {
    font: 500 0.68rem var(--mono);
    color: #ffcad7;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-serial {
    margin-top: 0.35rem;
    font: 500 0.68rem var(--mono);
    color: #ff8ba5;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.hero-left h1 {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 6vw, 4.6rem);
    line-height: 0.93;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.hero-left h1 em {
    color: var(--paper);
    font-style: normal;
    text-shadow: 0 0 20px rgba(255, 111, 139, 0.3);
}

.hero-text {
    max-width: 58ch;
    color: var(--muted);
    margin-bottom: 1.35rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn {
    border: none;
    padding: 0.78rem 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.83rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(120deg, var(--red), var(--red-deep));
    color: #fff;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px dashed rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover {
    border-color: rgba(255, 111, 139, 0.8);
}

.hero-stats {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.hero-stat {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.68rem;
}

.hero-stat strong {
    display: block;
    font-size: 0.86rem;
    text-transform: uppercase;
}

.hero-stat span {
    color: var(--muted);
    font-size: 0.76rem;
}

.hero-right {
    position: relative;
}

.hero-image-placeholder {
    min-height: 430px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    display: grid;
    place-items: center;
    color: #ffe8ee;
    font-weight: 600;
}

.image-placeholder.has-real-image {
    padding: 0;
    overflow: hidden;
}

.image-placeholder.has-real-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.06);
}

.hero-note {
    position: absolute;
    right: 10px;
    bottom: -14px;
    background: #0f0f17;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffd8e1;
    font: 500 0.7rem var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.62rem;
}

.thread-strip {
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: 20px;
    z-index: 3;
    transform: rotate(-1.8deg);
    background: linear-gradient(100deg, #f8efe0, #efe0c6);
    color: #291f32;
    border-top: 1px dashed #7f7360;
    border-bottom: 1px dashed #7f7360;
    display: flex;
    gap: 1.2rem;
    padding: 0.35rem 1rem;
    overflow: hidden;
    font: 500 0.7rem var(--mono);
    text-transform: uppercase;
    box-sizing: content-box;
}

.thread-strip span {
    white-space: nowrap;
}

/* SHARED */
.section-mark {
    position: absolute;
    top: 24px;
    right: 4vw;
    font: 700 6rem/1 var(--mono);
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-head h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.section-head p {
    color: var(--muted);
}

.mono {
    font: 500 0.72rem var(--mono);
    color: #ffc4d3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* SERVICES */
.service-stage {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 0.7rem;
}

.service-intro {
    grid-row: span 2;
    padding: 1.35rem;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #21121f, #140f1a);
    clip-path: polygon(0 0, 95% 0, 100% 12%, 100% 100%, 0 100%);
}

.service-intro h3 {
    margin: 0.6rem 0;
    font-size: 1.6rem;
    text-transform: uppercase;
    line-height: 1.03;
}

.service-intro p:last-child {
    color: var(--muted);
}

.service-card {
    border: 1px solid var(--line);
    background: linear-gradient(150deg, var(--panel), var(--panel-2));
    padding: 0.95rem;
    transition: 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 42, 84, 0.7);
}

.service-index {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font: 700 0.78rem var(--mono);
    background: linear-gradient(120deg, var(--red), var(--red-deep));
    margin-bottom: 0.55rem;
}

.service-card h3 {
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    font-size: 1rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.87rem;
}

.tilt-a { transform: rotate(-1deg); }
.tilt-b { transform: rotate(0.9deg); }
.tilt-c { transform: rotate(-0.8deg); }
.tilt-d { transform: rotate(0.7deg); }

/* MASCHINENPARK */
.maschinenpark {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.machines-intro {
    max-width: 860px;
    margin-bottom: 1rem;
}

.machines-intro p {
    color: var(--muted);
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.machine-card {
    border: 1px solid var(--line);
    background: #101019;
    overflow: hidden;
}

.machine-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.machine-card figcaption {
    padding: 0.68rem;
    font-size: 0.82rem;
    color: var(--muted);
}

/* GALLERY */
.gallery {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 0.7rem;
}

.gallery-actions {
    margin-top: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-load-more {
    min-width: 290px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.4);
}

.gallery-load-more:hover {
    transform: translate(-3px, -3px);
}

.gallery-load-more:disabled {
    opacity: 0.68;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.gallery-status {
    color: var(--muted);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0b0d14;
}

.gallery-trigger {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    position: relative;
}

.gallery-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.68));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-zoom-chip {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 1;
    padding: 0.38rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(7, 7, 10, 0.82);
    color: #fff;
    font: 600 0.74rem var(--mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-photo:hover img {
    transform: scale(1.05);
}

.gallery-trigger:hover::after,
.gallery-trigger:focus-visible::after,
.gallery-trigger:hover .gallery-zoom-chip,
.gallery-trigger:focus-visible .gallery-zoom-chip {
    opacity: 1;
    transform: translateY(0);
}

.gallery-trigger:focus-visible {
    outline: 2px solid rgba(255, 111, 139, 0.95);
    outline-offset: -2px;
}

.gallery-trigger:focus-visible img {
    transform: scale(1.05);
}

.gallery-photo.tall {
    grid-row: span 2;
}

.gallery-photo.wide {
    grid-column: span 2;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.gallery-modal[hidden] {
    display: none;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 8, 0.84);
    backdrop-filter: blur(8px);
}

.gallery-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1000px, 92vw);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(160deg, rgba(13, 13, 19, 0.98), rgba(20, 17, 28, 0.98));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
    padding: 1rem;
}

.gallery-modal-stage {
    position: relative;
    padding-inline: 4.2rem;
}

.gallery-modal-dialog img {
    width: 100%;
    max-height: 78vh;
    display: block;
    object-fit: contain;
    background: #07080d;
}

.gallery-modal-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 5, 8, 0.88);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(5, 5, 8, 0.88);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-modal-prev {
    left: 0;
}

.gallery-modal-next {
    right: 0;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible,
.gallery-modal-nav:hover,
.gallery-modal-nav:focus-visible {
    border-color: rgba(255, 111, 139, 0.86);
    outline: none;
}

body.gallery-modal-open {
    overflow: hidden;
}

/* CUSTOMERS */
.customers-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.customer-item {
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    background: linear-gradient(160deg, #101019, #191926);
    padding: 0.85rem;
    position: relative;
}

.customer-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-top: 14px solid rgba(255, 42, 84, 0.55);
    border-left: 14px solid transparent;
}

.customer-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.65rem;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1.05;
    text-transform: uppercase;
    padding-bottom: 0.4rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 42, 84, 0.45);
}

.customer-type {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.81rem;
}

.example-tags {
    margin: 0.55rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.tag {
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.48rem;
    font-size: 0.72rem;
    color: #ffe7ed;
}

.customer-description {
    color: var(--muted);
    font-size: 0.83rem;
}

/* CONTACT */
.contact-form {
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #10121b, #191726);
    padding: 1.4rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.72rem;
    margin-bottom: 0.9rem;
}

.form-full {
    grid-column: span 3;
}

.form-group {
    margin-bottom: 0.72rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #3a3a52;
    background: #0b0d14;
    color: #fff;
    font: inherit;
    padding: 0.62rem 0.7rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 42, 84, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.form-privacy {
    margin-top: 0.2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.18rem;
    accent-color: var(--red);
    cursor: pointer;
}

.checkbox-label span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.checkbox-label span a {
    color: var(--red-soft);
    text-decoration: none;
}

.checkbox-label span a:hover {
    text-decoration: underline;
}

.form-success-message {
    margin-bottom: 0.68rem;
    background: linear-gradient(120deg, #1b9d71, #137d59);
    padding: 0.65rem;
    font-size: 0.88rem;
    text-align: center;
}

/* FOOTER */
.footer {
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-inner p {
    color: var(--muted);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-inner ul {
    list-style: none;
    display: flex;
    gap: 0.75rem;
}

.footer-inner a {
    color: #eee7f4;
    font-size: 0.86rem;
    text-transform: uppercase;
}

/* IMPRESSUM */
.impressum-main {
    padding: 6rem 0 5rem;
}

.impressum-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.impressum-block {
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #101019, #191926);
    padding: 1.1rem 1.2rem;
}

.impressum-block h2 {
    font-family: var(--mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red-soft);
    margin-bottom: 0.55rem;
}

.impressum-block p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.impressum-block p + p {
    margin-top: 0.5rem;
}

.impressum-block a {
    color: var(--red-soft);
    text-decoration: none;
}

.impressum-block a:hover {
    text-decoration: underline;
}

/* first block (Angaben) spans full width */
.impressum-block:first-child {
    grid-column: span 2;
}

/* FROM JS */
.scroll-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: none;
    color: #fff;
    background: linear-gradient(120deg, var(--red), var(--red-deep));
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
    z-index: 130;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translate(-2px, -2px);
}

/* RESPONSIVE */
@media (max-width: 1080px) {
    .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 2.2rem;
        padding-bottom: 3.5rem;
    }

    .start-logo {
        width: min(400px, 78vw);
    }

    .hero-image-placeholder {
        min-height: 320px;
    }

    .service-stage {
        grid-template-columns: 1fr 1fr;
    }

    .service-intro {
        grid-row: auto;
        grid-column: span 2;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-photo.wide,
    .gallery-photo.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .machines-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customers-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    section {
        padding: 4.6rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 74px;
        left: 4vw;
        right: 4vw;
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.55rem;
        border: 1px solid #3a3a52;
        background: #12121b;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-mark {
        font-size: 4rem;
        top: 12px;
    }

    .hero-left,
    .hero-image-placeholder {
        clip-path: none;
        border-radius: 10px;
    }

    .start-logo-center {
        padding-top: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .start-logo {
        width: min(300px, 80vw);
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-full {
        grid-column: auto;
    }

    .impressum-body {
        grid-template-columns: 1fr;
    }

    .impressum-block:first-child {
        grid-column: auto;
    }

    .hero-stats,
    .service-stage,
    .machines-grid,
    .gallery-grid,
    .customers-list {
        grid-template-columns: 1fr;
    }

    .service-intro {
        grid-column: auto;
    }

    .gallery-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gallery-load-more {
        min-width: 0;
        width: 100%;
    }

    .gallery-modal-dialog {
        width: min(100%, 92vw);
        padding: 0.85rem;
    }

    .gallery-modal-stage {
        padding-inline: 2.8rem;
    }

    .gallery-modal-dialog img {
        max-height: 72vh;
    }

    .gallery-modal-nav {
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }

    .gallery-photo.wide {
        grid-column: auto;
    }

    .gallery-photo.tall {
        grid-row: auto;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }
}
