/* ============================================================
   EFS Baudekoration & Asbestsanierung – Stylesheet
   Farbschema abgeleitet aus dem Firmenlogo (Blau / Anthrazit)
   ============================================================ */

:root {
    --blue: #4fb0dc;
    --blue-dark: #2f93bf;
    --ink: #2c3136;
    --ink-2: #34393e;
    --ink-3: #444b52;
    --gray: #8a9299;
    --line: #e6e9ec;
    --bg: #ffffff;
    --bg-alt: #f4f6f8;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(44, 49, 54, 0.12);
    --shadow-sm: 0 8px 22px rgba(44, 49, 54, 0.08);
    --radius: 14px;
    --radius-lg: 22px;
    --maxw: 1180px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: "Barlow Condensed", "Inter", sans-serif;
    line-height: 1.05;
    letter-spacing: 0.2px;
    color: var(--ink-2);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
    white-space: nowrap;
}
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--blue);
    color: #06222e;
    box-shadow: 0 12px 26px rgba(79, 176, 220, 0.4);
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-3px); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-3px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(44, 49, 54, 0.18);
    backdrop-filter: blur(2px);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(44, 49, 54, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
    height: 46px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 4px 6px;
    box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
    transition: color 0.35s var(--ease);
}
.brand-text small {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.35s var(--ease);
}
.scrolled .brand-text strong { color: var(--ink-2); }
.scrolled .brand-text small { color: var(--gray); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    transition: color 0.25s var(--ease);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.scrolled .nav-link { color: var(--ink-3); }
.scrolled .nav-link.active { color: var(--blue-dark); }

.nav-cta {
    margin-left: 12px;
    padding: 10px 22px;
    background: var(--blue);
    color: #06222e;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-cta:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 26px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.scrolled .nav-toggle span { background: var(--ink-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #14171a url("../assets/hero-bg.png") center/cover no-repeat;
    overflow: hidden;
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(120% 80% at 50% 120%, rgba(8, 10, 12, 0.6), transparent 60%),
        linear-gradient(90deg, rgba(13, 15, 18, 0.95) 0%, rgba(13, 15, 18, 0.74) 40%, rgba(13, 15, 18, 0.32) 72%, rgba(13, 15, 18, 0.16) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 90px;
    padding-bottom: 60px;
    max-width: 760px;
}
.hero-eyebrow {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.25s forwards;
}
.hero-title span { color: var(--blue); }
.hero-sub {
    margin: 22px 0 20px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}
.hero-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 32px;
    max-width: 640px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}
.hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 14px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff;
    background: rgba(79, 176, 220, 0.14);
    border: 1px solid rgba(79, 176, 220, 0.45);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-chips li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px rgba(79, 176, 220, 0.9);
}
.hero-chips li:hover {
    transform: translateY(-2px);
    background: rgba(79, 176, 220, 0.24);
    border-color: var(--blue);
}
.hero-chips li span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--blue);
    color: #06222e;
    padding: 2px 9px;
    border-radius: 50px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.65s forwards;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 3;
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    display: flex;
    justify-content: center;
}
.hero-scroll span {
    width: 4px;
    height: 8px;
    margin-top: 7px;
    background: #fff;
    border-radius: 2px;
    animation: scrollDot 1.6s infinite;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-kicker {
    display: inline-block;
    color: var(--blue-dark);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-intro { color: var(--ink-3); font-size: 1.05rem; }

/* ---------- Über uns ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-text p { color: var(--ink-3); margin-bottom: 16px; }
.about-points { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.about-points span {
    flex: none;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    background: rgba(79, 176, 220, 0.15);
    color: var(--blue-dark);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}
.about-lead { font-size: 1.05rem; color: var(--ink-2); margin-top: 8px; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-card strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2rem;
    color: var(--blue-dark);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card span { font-size: 0.92rem; color: var(--ink-3); }

/* ---------- Leistungen ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-img {
    height: 210px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease);
}
.service-card:hover .service-img { transform: scale(1.06); }
.service-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-size: 1.55rem; text-transform: uppercase; }
.service-body p { color: var(--ink-3); font-size: 0.96rem; flex: 1; }
.service-tag {
    align-self: flex-start;
    background: rgba(79, 176, 220, 0.14);
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}
.service-card--cta {
    background: linear-gradient(150deg, var(--ink-2), var(--ink));
    color: #fff;
    justify-content: center;
    align-items: flex-start;
    border: none;
}
.service-card--cta .service-body { justify-content: center; }
.service-card--cta h3 { color: #fff; }
.service-card--cta p { color: rgba(255, 255, 255, 0.8); }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
    position: relative;
    background: #14171a url("../assets/hero-bg.png") center/cover no-repeat;
    padding: 150px 0 70px;
    overflow: hidden;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 80% 10%, rgba(79, 176, 220, 0.18), transparent 55%),
        linear-gradient(90deg, rgba(13, 15, 18, 0.94) 0%, rgba(13, 15, 18, 0.78) 60%, rgba(13, 15, 18, 0.6) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .section-kicker { color: var(--blue); }
.page-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}
.page-hero-sub { color: rgba(255, 255, 255, 0.82); max-width: 560px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

.project-cta {
    margin-top: 60px;
    text-align: center;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 24px;
}
.project-cta p {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.7rem;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 20px;
}

/* ---------- Bauvorhaben / Galerie ---------- */
.project { margin-top: 10px; }
.project + .project { margin-top: 64px; }
.project-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ink-2);
    background: rgba(79, 176, 220, 0.12);
    border-left: 4px solid var(--blue);
    padding: 10px 20px;
    border-radius: 6px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 14px;
}
/* erstes Bild größer hervorgehoben */
.gallery .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .gallery-item:nth-child(6) { grid-column: span 2; }

.gallery-item {
    position: relative;
    padding: 0;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery-item::after {
    content: "+";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    background: rgba(20, 23, 26, 0.45);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 12, 14, 0.92);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-img {
    max-width: 90vw;
    max-height: 86vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform 0.3s var(--ease);
}
.lightbox.open .lb-img { transform: scale(1); }
.lb-close, .lb-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--blue); border-color: var(--blue); }
.lb-close {
    top: 22px; right: 26px;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 1.8rem; line-height: 1;
}
.lb-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    font-size: 2rem; line-height: 1;
}
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

/* ---------- Kontakt ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.contact-list { list-style: none; margin-top: 30px; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-icon {
    flex: none;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: rgba(79, 176, 220, 0.12);
    border-radius: 12px;
    font-size: 1.2rem;
}
.contact-list strong { display: block; color: var(--ink-2); margin-bottom: 2px; }
.contact-list div { color: var(--ink-3); line-height: 1.5; }
.contact-list a:hover { color: var(--blue-dark); }

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.form-field input,
.form-field select,
.form-field textarea {
    font: inherit;
    font-size: 0.96rem;
    color: var(--ink);
    padding: 13px 15px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--bg-alt);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 176, 220, 0.15);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: #e25555; box-shadow: 0 0 0 4px rgba(226, 85, 85, 0.12); }

.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.84rem; color: var(--ink-3); cursor: pointer; }
.form-check input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--blue-dark); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { font-size: 0.92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #1f9d56; }
.form-status.err { color: #e25555; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 50px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 56px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand p { font-size: 0.92rem; }
.footer-nav { display: flex; gap: 22px; justify-content: flex-end; }
.footer-nav a { font-weight: 600; color: rgba(255, 255, 255, 0.85); transition: color 0.25s var(--ease); }
.footer-nav a:hover { color: var(--blue); }
.footer-copy {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    margin-top: 12px;
    font-size: 0.82rem;
    text-align: center;
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
    .gallery .gallery-item:first-child,
    .gallery .gallery-item:nth-child(6) { grid-column: span 2; }
    .gallery .gallery-item:first-child { grid-row: span 1; }
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        inset: 74px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        padding: 12px 24px 24px;
        box-shadow: var(--shadow);
        transform: translateY(-130%);
        transition: transform 0.4s var(--ease);
        z-index: 99;
    }
    .main-nav.open { transform: translateY(0); }
    .nav-link { color: var(--ink-2); padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .nav-link::after { display: none; }
    .nav-cta { margin: 14px 0 0; text-align: center; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .section { padding: 70px 0; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { flex-direction: column; text-align: center; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .contact-form-wrap { padding: 24px; }
    .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .gallery .gallery-item:first-child,
    .gallery .gallery-item:nth-child(6) { grid-column: span 1; }
    .lb-prev { left: 12px; } .lb-next { right: 12px; }
    .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
