/* ================================
   Variables
================================ */
:root {
    --cream: #faf8f5;
    --text: #1c1c1c;
    --accent: #c8714a;
    --muted: #7a7672;
    --border: rgba(28, 28, 28, 0.1);
    --border-solid: #ddd8d2;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
    --nav-height: 64px;
    --banner-height: 36px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: calc(var(--banner-height) + var(--nav-height));
}

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

ul {
    list-style: none;
}

button {
    -webkit-appearance: none;
    appearance: none;
}

/* ================================
   Typography helpers
================================ */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
}

/* ================================
   Utilities
================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.15rem;
    transition: opacity 0.25s;
}

.text-link:hover {
    opacity: 0.65;
}

/* ================================
   Scroll Animations
================================ */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Demo Banner
================================ */
.demo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--banner-height);
    background: var(--text);
    color: rgba(250, 248, 245, 0.8);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-banner a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ================================
   Navigation
================================ */
.nav {
    position: fixed;
    top: var(--banner-height);
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--nav-height);
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.35s, box-shadow 0.35s;
}

.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 28px rgba(28, 28, 28, 0.05);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.nav__logo:hover {
    color: var(--accent);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.75rem;
}

.nav__links a {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.nav__links a:hover {
    opacity: 1;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text);
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ================================
   Hero
================================ */
.hero {
    min-height: calc(100vh - var(--banner-height) - var(--nav-height));
    background-color: var(--cream);
    background-image:
        radial-gradient(ellipse 90% 70% at 50% 110%, rgba(200, 113, 74, 0.09) 0%, transparent 65%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 59px,
        rgba(28, 28, 28, 0.015) 60px
    );
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(4.5rem, 13vw, 11rem);
    font-weight: 400;
    line-height: 0.92;
    color: var(--text);
    margin-bottom: 2rem;
}

.hero__title em {
    font-style: italic;
    color: var(--accent);
}

.hero__subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.78rem, 1.4vw, 0.9rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3.5rem;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 0.2rem;
    transition: color 0.3s, border-color 0.3s;
}

.hero__cta:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.5;
}

.hero__scroll::after {
    content: '';
    width: 1px;
    height: 36px;
    background: var(--muted);
    opacity: 0.5;
}

/* ================================
   Intro
================================ */
.intro {
    padding: 9rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.intro__text {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3.2vw, 2.9rem);
    font-weight: 400;
    line-height: 1.45;
    max-width: 860px;
    margin: 0 auto;
    color: var(--text);
}

/* ================================
   Leistungen
================================ */
.leistungen {
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}

.leistungen > .container > .section-label {
    margin-bottom: 3.5rem;
}

.leistungen__item {
    display: grid;
    grid-template-columns: 72px 1fr 1.1fr;
    gap: 1.5rem 2.5rem;
    align-items: baseline;
    padding: 2.25rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    transition: background 0.35s;
}

.leistungen__item:last-child {
    border-bottom: 1px solid var(--border);
}

.leistungen__item:hover {
    background: rgba(200, 113, 74, 0.035);
}

.leistungen__num {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--accent);
    line-height: 1;
    padding-top: 0.25rem;
    flex-shrink: 0;
}

.leistungen__title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.2;
}

.leistungen__desc {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--muted);
    font-weight: 300;
}

/* ================================
   Portfolio
================================ */
.portfolio {
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}

.portfolio > .container {
    margin-bottom: 3rem;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 290px 290px 320px;
    gap: 0.6rem;
    padding: 0 0.6rem;
}

.portfolio__item {
    overflow: hidden;
    position: relative;
    cursor: default;
}

.portfolio__item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.portfolio__item:nth-child(2) { grid-column: 2; grid-row: 1; }
.portfolio__item:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
.portfolio__item:nth-child(4) { grid-column: 2; grid-row: 2; }
.portfolio__item:nth-child(5) { grid-column: 1; grid-row: 3; }
.portfolio__item:nth-child(6) { grid-column: 2 / 4; grid-row: 3; }

.portfolio__img {
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__item:hover .portfolio__img {
    transform: scale(1.04);
}

.portfolio__img--1 { background: linear-gradient(150deg, #e4d8cc 0%, #c9b8a5 50%, #b4a090 100%); }
.portfolio__img--2 { background: linear-gradient(150deg, #c8b4a0 0%, #b09680 100%); }
.portfolio__img--3 { background: linear-gradient(150deg, #d4784e 0%, #c8714a 40%, #8c4428 100%); }
.portfolio__img--4 { background: linear-gradient(150deg, #d0cac4 0%, #b8b0a8 100%); }
.portfolio__img--5 { background: linear-gradient(150deg, #3a3430 0%, #282220 100%); }
.portfolio__img--6 { background: linear-gradient(150deg, #ddd0c0 0%, #c8b89a 50%, #b8a880 100%); }

.portfolio__caption {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(250, 248, 245, 0.85);
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.35s, transform 0.35s;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.portfolio__item:hover .portfolio__caption {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Über uns
================================ */
.ueber-uns {
    display: flex;
    min-height: 680px;
    border-top: 1px solid var(--border);
}

.ueber-uns__image {
    flex: 0 0 60%;
    background: linear-gradient(145deg, #c8b8a5 0%, #a89278 35%, #8c7860 70%, #705c48 100%);
    position: relative;
    overflow: hidden;
}

.ueber-uns__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(250, 248, 245, 0.08) 100%);
}

.ueber-uns__content {
    flex: 0 0 40%;
    padding: 5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.ueber-uns__content .section-title {
    margin-bottom: 0;
}

.ueber-uns__content p {
    font-family: var(--font-sans);
    font-size: 0.925rem;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
}

/* ================================
   Referenzen
================================ */
.referenzen {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}

.referenzen__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3.5rem;
}

.referenz {
    position: relative;
    padding-top: 1.5rem;
}

.referenz::before {
    content: '\201C';
    font-family: var(--font-serif);
    font-size: 7rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -0.75rem;
    pointer-events: none;
}

.referenz__quote {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    font-weight: 400;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.referenz__author {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    color: var(--muted);
}

/* ================================
   Prozess
================================ */
.prozess {
    padding: 7rem 0;
    background: var(--text);
}

.prozess .section-label {
    color: rgba(250, 248, 245, 0.4);
}

.prozess .section-title {
    color: var(--cream);
}

.prozess__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.prozess__steps::before {
    content: '';
    position: absolute;
    top: 1.15rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: rgba(250, 248, 245, 0.1);
}

.prozess__step {
    position: relative;
}

.prozess__num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
    background: var(--text);
    padding-right: 1rem;
    width: fit-content;
}

.prozess__step-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--cream);
}

.prozess__step p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(250, 248, 245, 0.5);
    font-weight: 300;
}

/* ================================
   FAQ
================================ */
.faq {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}

.faq__list {
    margin-top: 3.5rem;
}

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

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

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: none;
    border: none;
    padding: 1.6rem 0;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: color 0.25s;
}

.faq__question:hover {
    color: var(--accent);
}

.faq__icon {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--muted);
    flex-shrink: 0;
    line-height: 1;
    display: inline-block;
    transition: transform 0.35s ease, color 0.25s;
}

.faq__question[aria-expanded="true"] .faq__icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.faq__answer p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--muted);
    padding-bottom: 1.75rem;
    font-weight: 300;
    max-width: 720px;
}

/* ================================
   Kontakt
================================ */
.kontakt {
    padding: 8rem 0;
    background: linear-gradient(155deg, #f5f0ea 0%, var(--cream) 50%);
    border-top: 1px solid var(--border);
}

.kontakt__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    margin-top: 1rem;
}

.kontakt__info .section-title {
    margin-bottom: 3rem;
}

.kontakt__detail {
    margin-bottom: 2.25rem;
}

.kontakt__label {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.kontakt__value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    transition: color 0.25s;
}

a.kontakt__value:hover {
    color: var(--accent);
}

/* Form */
.form-field {
    margin-bottom: 2.25rem;
}

.form-field label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-solid);
    padding: 0.65rem 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(122, 118, 114, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: var(--accent);
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--text);
    color: var(--cream);
    border: none;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 0.25rem;
}

.form-submit:hover {
    background: var(--accent);
}

.form-note {
    margin-top: 1.25rem;
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.6;
}

.form-note a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ================================
   Footer
================================ */
.footer {
    padding: 2.25rem 0;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__brand {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--text);
}

.footer__nav {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.footer__nav a {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}

.footer__nav a:hover {
    color: var(--text);
}

.footer__copy {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--muted);
    width: 100%;
}

.footer__copy a {
    color: var(--accent);
}

/* ================================
   Legal Pages
================================ */
.legal-page {
    padding: 5rem 2rem 7rem;
    max-width: 780px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-page h2 {
    font-size: 1.2rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-page p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 300;
}

.legal-page a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3rem;
    transition: color 0.2s;
}

.legal-back:hover {
    color: var(--text);
}

/* ================================
   Responsive — Tablet
================================ */
@media (max-width: 1024px) {
    .prozess__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .prozess__steps::before {
        display: none;
    }

    .referenzen__grid {
        gap: 3rem;
    }

    .ueber-uns__content {
        padding: 4rem 3rem;
    }
}

/* ================================
   Responsive — Mobile
================================ */
@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
        --banner-height: 36px;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Nav */
    .nav__hamburger {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: calc(var(--banner-height) + var(--nav-height));
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.5rem 0 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 998;
    }

    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav__links a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        opacity: 1;
        letter-spacing: 0.08em;
    }

    /* Hero */
    .hero__title {
        font-size: clamp(3.8rem, 16vw, 6rem);
    }

    /* Intro */
    .intro {
        padding: 5rem 1.25rem;
    }

    /* Leistungen */
    .leistungen {
        padding: 5rem 0;
    }

    .leistungen__item {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 1rem;
        padding: 1.75rem 1.25rem;
    }

    .leistungen__num {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        padding-top: 0.3rem;
    }

    .leistungen__title {
        grid-column: 2;
        grid-row: 1;
        font-size: 1.25rem;
    }

    .leistungen__desc {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 0.5rem;
    }

    /* Portfolio */
    .portfolio {
        padding: 5rem 0;
    }

    .portfolio__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 210px 210px 200px 200px;
        gap: 0.4rem;
        padding: 0 0.4rem;
    }

    .portfolio__item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
    .portfolio__item:nth-child(2) { grid-column: 2; grid-row: 1; }
    .portfolio__item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .portfolio__item:nth-child(4) { grid-column: 1; grid-row: 3; }
    .portfolio__item:nth-child(5) { grid-column: 2; grid-row: 3; }
    .portfolio__item:nth-child(6) { grid-column: 1 / 3; grid-row: 4; }

    /* Über uns */
    .ueber-uns {
        flex-direction: column;
        min-height: auto;
    }

    .ueber-uns__image {
        flex: none;
        height: 280px;
    }

    .ueber-uns__content {
        flex: none;
        padding: 3rem 1.25rem 4rem;
        gap: 1.25rem;
    }

    /* Referenzen */
    .referenzen {
        padding: 5rem 0;
    }

    .referenzen__grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    /* Prozess */
    .prozess {
        padding: 5rem 0;
    }

    .prozess__steps {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    /* FAQ */
    .faq {
        padding: 5rem 0;
    }

    .faq__question {
        font-size: 1rem;
    }

    /* Kontakt */
    .kontakt {
        padding: 5rem 0;
    }

    .kontakt__grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer__nav {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .prozess__steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 220px);
        gap: 0.4rem;
    }

    .portfolio__item:nth-child(n) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}
