/* ==========================================================================
   MINICH PATRICK — Swiss / Brutalist, Schwarz-Weiß
   Tinte: #1F1B20 (Logofarbe) auf Weiß. Keine Farben, nur Grauabstufungen.
   ========================================================================== */

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #1F1B20;
    --paper: #FFFFFF;
    --gray-100: #F5F4F5;
    --gray-200: #E7E6E8;
    --gray-400: #B7B4B8;
    --gray-600: #6E6A70;
    --line: var(--ink);
    --font-sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --font-label: var(--font-sans);
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --header-h: 4.5rem;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--gutter);
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-size: 0.875rem;
}
.skip-link:focus { top: 0.5rem; }

/* ---- Typo-Bausteine ---- */
.mono, .hero__kicker, .page-head__kicker, .section__index, .services__num,
.services__tags, .work__num, .work__meta, .process__num, .timeline__year,
.portfolio__meta, .site-footer__label, .stats__label, .cta__kicker,
.hero__scroll, .menu-toggle__label, .site-nav a, .mobile-menu__meta,
.form-field label, .contact__location, .contact__hint {
    font-family: var(--font-label);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 var(--gutter);
}

.site-header__logo { color: var(--ink); }
.site-header__logo svg { height: 2rem; width: auto; }

.site-nav ul { display: flex; gap: 2.25rem; }

.site-nav a {
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s var(--ease-out);
}
.site-nav a:hover::after,
.site-nav a[aria-current='page']::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle { display: none; align-items: center; gap: 0.75rem; padding: 0.5rem; }
.menu-toggle__bars { display: flex; flex-direction: column; gap: 5px; width: 1.5rem; }
.menu-toggle__bars i {
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease-out);
}
.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---- Mobile-Menü ---- */
.mobile-menu[hidden] { display: none; }

.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 8vh, 5rem) var(--gutter) 2rem;
    background: var(--paper);
}
.mobile-menu a {
    display: block;
    padding: 0.35rem 0;
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.15;
}
.mobile-menu a:hover { color: var(--gray-400); }
.mobile-menu__meta { color: var(--gray-600); line-height: 1.8; }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100dvh;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.hero__logo {
    position: absolute;
    top: 50%;
    right: -6vw;
    z-index: 0;
    width: clamp(20rem, 52vw, 56rem);
    color: var(--gray-100);
    transform: translateY(-50%);
    will-change: transform;
}
.hero__logo svg { width: 100%; height: auto; }

.hero__inner { position: relative; z-index: 1; max-width: 72rem; }

.hero__kicker { margin-bottom: 1.5rem; color: var(--gray-600); }

.hero__title {
    font-size: clamp(3.25rem, 11.5vw, 10.5rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}
.hero__line { display: block; }

.hero__sub {
    max-width: 34rem;
    margin-top: 2.25rem;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.55;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: var(--gutter);
    color: var(--gray-600);
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--ink);
    font-family: var(--font-label);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--paper); color: var(--ink); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
}
.marquee__track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 28s linear infinite;
    font-family: var(--font-label);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   Sektionen (allgemein)
   ========================================================================== */
.section {
    padding: clamp(4rem, 10vw, 8rem) var(--gutter);
    border-bottom: 1px solid var(--line);
}

.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.section__index { color: var(--gray-400); font-size: 1rem; }

/* ---- Seitenkopf (Unterseiten) ---- */
.page-head {
    padding: calc(var(--header-h) + clamp(3rem, 9vw, 7rem)) var(--gutter) clamp(3rem, 7vw, 6rem);
    border-bottom: 1px solid var(--line);
}
.page-head--compact { padding-bottom: clamp(2rem, 4vw, 3rem); }

.page-head__kicker { margin-bottom: 1.25rem; color: var(--gray-600); }

.page-head__title {
    font-size: clamp(3rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.page-head__sub {
    max-width: 36rem;
    margin-top: 2rem;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

/* ==========================================================================
   Leistungen (Startseite: Zeilen)
   ========================================================================== */
.services__list li { border-top: 1px solid var(--line); }
.services__list li:last-child { border-bottom: 1px solid var(--line); }

.services__row {
    display: grid;
    grid-template-columns: 4rem 1fr auto 3rem;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0.5rem;
    text-decoration: none;
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), padding-left 0.25s var(--ease-out);
}
.services__row:hover {
    background: var(--ink);
    color: var(--paper);
    padding-left: 1.5rem;
}

.services__num { color: var(--gray-400); }
.services__row:hover .services__num { color: var(--gray-400); }

.services__name {
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.1;
}

.services__tags { color: var(--gray-600); text-align: right; }
.services__row:hover .services__tags { color: var(--gray-400); }

.services__arrow {
    font-size: 1.5rem;
    transition: transform 0.25s var(--ease-out);
}
.services__row:hover .services__arrow { transform: translateX(0.5rem); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
}

.stats__item {
    padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
    border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }

.stats__value {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}
.stats__value span { color: var(--gray-400); }

.stats__label { margin-top: 0.75rem; color: var(--gray-600); }

/* ==========================================================================
   Arbeiten (Startseite: Grid)
   ========================================================================== */
.work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.work__tile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: clamp(14rem, 24vw, 20rem);
    padding: 2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.work__tile:hover { background: var(--ink); color: var(--paper); }

.work__num { color: var(--gray-400); }

.work__title {
    margin-top: auto;
    font-size: clamp(1.4rem, 2.6vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.1;
}

.work__meta { color: var(--gray-600); }
.work__tile:hover .work__meta { color: var(--gray-400); }

/* ==========================================================================
   Prozess
   ========================================================================== */
.process__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    counter-reset: step;
}

.process__step {
    padding: 2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process__num { margin-bottom: 3.5rem; color: var(--gray-400); }

.process__step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.process__step p { color: var(--gray-600); font-size: 0.95rem; }

/* ==========================================================================
   Leistungen (Detailseite)
   ========================================================================== */
.service-detail__grid {
    display: grid;
    grid-template-columns: minmax(4rem, 1fr) 4fr;
    gap: clamp(1.5rem, 4vw, 4rem);
}

.service-detail__num {
    font-family: var(--font-label);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gray-200);
    line-height: 1;
}

.service-detail__body h2 {
    font-size: clamp(1.9rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.service-detail__lead {
    max-width: 36rem;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    margin-bottom: 2rem;
}

.service-detail__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.75rem 2rem;
    max-width: 44rem;
}
.service-detail__items li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-600);
}
.service-detail__items li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ink);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list { border-top: 1px solid var(--line); max-width: 56rem; }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0.25rem;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
    flex-shrink: 0;
    font-weight: 400;
    font-size: 1.5rem;
    transition: transform 0.25s var(--ease-out);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__item p {
    padding: 0 0.25rem 1.75rem;
    max-width: 44rem;
    color: var(--gray-600);
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
}

.portfolio__link-wrap { text-decoration: none; display: block; }

.portfolio__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    background: var(--gray-100);
    overflow: hidden;
}
.portfolio__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: transform 0.4s var(--ease-out);
}
.portfolio__item a:hover .portfolio__visual img { transform: scale(1.03); }

.portfolio__placeholder {
    font-family: var(--font-label);
    font-size: clamp(4rem, 10vw, 9rem);
    color: var(--gray-200);
    line-height: 1;
}

.portfolio__info { padding-top: 1.25rem; }

.portfolio__info h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.1;
}

.portfolio__meta { margin: 0.5rem 0 0.75rem; color: var(--gray-600); }
.portfolio__desc { max-width: 30rem; color: var(--gray-600); }

.portfolio__note {
    margin-top: clamp(3rem, 6vw, 5rem);
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Über mich
   ========================================================================== */
.about__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.about__photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--line);
    filter: grayscale(1);
}

.about__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--line);
    background: var(--gray-100);
}
.about__photo-placeholder svg { width: 45%; height: auto; color: var(--gray-200); }

.about__photo figcaption {
    margin-top: 0.75rem;
    font-family: var(--font-label);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.about__text h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.75rem;
}

.about__text p { max-width: 38rem; margin-bottom: 1.25rem; font-size: 1.05rem; }

/* ---- Timeline ---- */
.timeline__list { border-top: 1px solid var(--line); }

.timeline__item {
    display: grid;
    grid-template-columns: minmax(6rem, 1fr) 4fr;
    gap: 1.5rem;
    padding: 2rem 0.25rem;
    border-bottom: 1px solid var(--line);
}

.timeline__year { font-size: 1rem; color: var(--gray-400); }

.timeline__item h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.timeline__item p { max-width: 38rem; color: var(--gray-600); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.contact__mail {
    display: inline-block;
    margin: 1rem 0 1.5rem;
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    border-bottom: 2px solid var(--ink);
}
.contact__mail:hover { color: var(--gray-600); border-color: var(--gray-600); }

.contact__location { color: var(--gray-600); line-height: 1.9; margin-bottom: 1.5rem; }
.contact__hint { color: var(--gray-400); text-transform: none; letter-spacing: 0; }

/* ---- Formular ---- */
.form-hp { position: absolute; left: -9999px; }

.form-field { margin-bottom: 1.75rem; }

.form-field label { display: block; margin-bottom: 0.6rem; color: var(--gray-600); }

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 1rem;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
    transition: box-shadow 0.15s var(--ease-out);
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    box-shadow: 4px 4px 0 var(--ink);
}

.form-field--error input,
.form-field--error textarea { box-shadow: 4px 4px 0 var(--gray-400); }

.form-field__error { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; }

.form-privacy { margin-bottom: 1.75rem; font-size: 0.875rem; color: var(--gray-600); }
.form-privacy a { color: var(--ink); }

.form-error, .form-success {
    padding: 1.5rem;
    border: 1px solid var(--ink);
    margin-bottom: 2rem;
}
.form-success { background: var(--ink); color: var(--paper); }
.form-success__title {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Rechtliches
   ========================================================================== */
.legal { max-width: 52rem; }
.legal h2 {
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 2.5rem 0 0.75rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-bottom: 1rem; color: var(--gray-600); }
.legal a { color: var(--ink); }
.legal__updated { margin-top: 3rem; font-family: var(--font-label); font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

/* ==========================================================================
   CTA-Band
   ========================================================================== */
.cta {
    padding: clamp(5rem, 12vw, 10rem) var(--gutter);
    background: var(--ink);
    color: var(--paper);
    text-align: left;
}

.cta__kicker { margin-bottom: 1.5rem; color: var(--gray-400); }

.cta__link {
    display: inline-flex;
    align-items: baseline;
    gap: 2rem;
    text-decoration: none;
}

.cta__text {
    font-size: clamp(3rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.cta__arrow {
    font-size: clamp(2rem, 6vw, 5rem);
    transition: transform 0.3s var(--ease-out);
}
.cta__link:hover .cta__arrow { transform: translateX(1.5rem); }
.cta__link:hover .cta__text { color: var(--gray-400); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); }

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}

.site-footer__mark svg { width: 3rem; height: auto; color: var(--ink); margin-bottom: 1rem; }
.site-footer__brand p { color: var(--gray-600); }

.site-footer__label { margin-bottom: 1rem; color: var(--gray-400); }

.site-footer__grid ul li { margin-bottom: 0.5rem; color: var(--gray-600); }
.site-footer__grid ul a { text-decoration: none; color: var(--ink); }
.site-footer__grid ul a:hover { text-decoration: underline; }

.site-footer__baseline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1.25rem var(--gutter);
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ==========================================================================
   Reveal-Animationen
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Ohne JS (oder vor JS-Ausführung nach 2s Fallback) trotzdem sichtbar */
.no-observer [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .marquee__track { animation: none; }
    .hero__logo { transform: translateY(-50%) !important; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .process__list { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .site-nav { display: none; }
    .menu-toggle { display: flex; }

    .hero__logo {
        right: -20vw;
        width: 90vw;
        opacity: 0.9;
    }

    .services__row { grid-template-columns: 3rem 1fr 2rem; }
    .services__tags { display: none; }

    .stats { grid-template-columns: 1fr; }
    .stats__item { border-right: 0; border-bottom: 1px solid var(--line); }
    .stats__item:last-child { border-bottom: 0; }

    .work__grid { grid-template-columns: 1fr; }
    .process__list { grid-template-columns: 1fr; }
    .portfolio__grid { grid-template-columns: 1fr; }

    .service-detail__grid,
    .about__grid,
    .contact__grid,
    .timeline__item { grid-template-columns: 1fr; }

    .about__photo { max-width: 24rem; }
    .site-footer__grid { grid-template-columns: 1fr; }
}
