/* ========================================
   01. Base / Global
   ======================================== */

:root {
    --bg: #f7f7f5;
    --surface: #ffffff;
    --surface-soft: #efeee9;
    --text: #171717;
    --muted: #686868;
    --border: #deded8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ========================================
   02. Leistungen Hero
   ======================================== */

.page-hero {
    min-height: calc(100svh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(72px, 10vh, 120px) 6vw;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.34), transparent 48%),
        var(--accent-soft);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 8vw;
    align-items: end;
    margin-top: clamp(42px, 7vh, 72px);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(64px, 8.2vw, 126px);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 0.86;
}

.page-hero-copy {
    max-width: 520px;
    padding-bottom: 8px;
}

.page-hero-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 19px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    border-color: var(--text);
    background: var(--text);
    color: #fff;
}

.button-light {
    background: transparent;
}

.inline-links a {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.inline-links a:hover {
    opacity: 0.55;
}

/* ========================================
   03. Leistungen Facts
   ======================================== */

.page-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 6vw;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.page-facts > div {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 34px;
    border-right: 1px solid var(--border);
}

.page-facts > div:first-child {
    padding-left: 0;
}

.page-facts > div:last-child {
    border-right: 0;
}

.page-facts span {
    margin-bottom: 9px;
    color: #999;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.page-facts p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

/* ========================================
   04. Shared Section Structure
   ======================================== */

.content-section {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(88px, 10vh, 140px) 6vw;
}

#leistungen,
.featured-section {
    background: var(--surface);
}

.section-heading {
    margin-bottom: clamp(48px, 7vh, 78px);
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 8vw;
    align-items: end;
}

.section-heading h2,
.principles-grid h2,
.page-cta h2 {
    margin: 18px 0 0;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.split-heading > p,
.featured-copy > p {
    max-width: 540px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

/* ========================================
   05. Leistungen Options
   ======================================== */

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

.capability-card {
    min-height: clamp(170px, 19vh, 210px);
    display: grid;
    grid-template-columns: 70px minmax(220px, 0.75fr) minmax(320px, 1.25fr);
    grid-template-rows: auto 1fr;
    gap: 18px 32px;
    align-content: center;
    padding: clamp(28px, 4vh, 42px) 0;
    border-bottom: 1px solid var(--border);
}

.card-number {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 6px 0 0;
    color: #999;
    font-size: 12px;
    font-weight: 700;
}

.capability-card h3,
.process-grid h3 {
    margin: 0 0 16px;
    font-size: 25px;
    letter-spacing: -0.025em;
}

.capability-card h3 {
    grid-column: 2;
    grid-row: 1 / 3;
    padding-right: 20px;
}

.capability-card > p,
.process-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.capability-card > p {
    grid-column: 3;
    grid-row: 1;
    max-width: 600px;
}

.capability-card ul {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.capability-card li {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #454545;
    font-size: 13px;
}

/* ========================================
   06. Interactive Design Directions
   ======================================== */

.design-directions-section {
    background: #e9e8e3;
}

.design-lab {
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1.58fr);
    gap: clamp(38px, 6vw, 92px);
    align-items: stretch;
    overflow-anchor: none;
}

.design-tabs {
    align-self: center;
    border-top: 1px solid #c9c8c2;
}

.design-note {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px 0 20px;
    color: #6f6c66;
    font-size: 14px;
    line-height: 1.5;
}

.design-tabs button {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 24px 42px 24px 0;
    border: 0;
    border-bottom: 1px solid #c9c8c2;
    background: transparent;
    color: #77746e;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.design-tabs button::after {
    content: "→";
    position: absolute;
    top: 25px;
    right: 4px;
    color: #aaa7a0;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.design-tabs button:hover,
.design-tabs button[aria-selected="true"] {
    padding-left: 12px;
    color: var(--text);
}

.design-tabs button[aria-selected="true"]::after {
    opacity: 1;
    transform: translateX(0);
}

.design-tabs button span {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.design-tabs button small {
    max-width: 260px;
    color: #8b8882;
    font-size: 12px;
    line-height: 1.5;
}

.design-preview {
    --preview-bg: #f2f0ea;
    --preview-surface: #ded9cd;
    --preview-ink: #171717;
    --preview-muted: #68635c;
    --preview-accent: #294d50;
    min-width: 0;
    height: 650px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #f7f7f5;
    box-shadow: 0 26px 70px rgba(33, 33, 30, 0.12);
}

.design-browser-bar {
    height: 34px;
    display: grid;
    grid-template-columns: 8px 8px 8px 1fr;
    gap: 6px;
    align-items: center;
    padding: 0 16px;
    background: #d7d6d1;
}

.design-browser-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aaa8a1;
}

.design-browser-bar p {
    margin: 0 46px 0 28px;
    color: #77746e;
    font-size: 10px;
    text-align: center;
}

.design-site {
    height: 522px;
    padding-top: 1px;
    background: var(--preview-bg);
    color: var(--preview-ink);
    transition: background 0.35s ease, color 0.35s ease;
}

.design-site-header {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0 clamp(24px, 4vw, 54px);
    border-bottom: 1px solid color-mix(in srgb, var(--preview-ink) 14%, transparent);
    transition:
        min-height 0.35s ease,
        margin 0.35s ease,
        padding 0.35s ease,
        border-radius 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.design-site-header strong {
    font-size: 14px;
    letter-spacing: -0.02em;
}

.design-site-header nav {
    display: flex;
    gap: clamp(14px, 2.2vw, 28px);
    font-size: 11px;
    font-weight: 600;
}

.design-site-hero {
    min-height: 399px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(210px, 0.88fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(42px, 6vw, 76px) clamp(24px, 4vw, 54px);
    transition: opacity 0.16s ease, transform 0.2s ease;
}

.design-site-copy {
    position: relative;
    z-index: 1;
}

.design-kicker {
    margin: 0 0 20px;
    color: var(--preview-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.design-site-copy h3 {
    max-width: 610px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.95;
    transition: color 0.35s ease;
}

.design-site-copy > p:not(.design-kicker) {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--preview-muted);
    font-size: 12px;
    line-height: 1.65;
}

.design-site-button {
    display: inline-flex;
    margin-top: 26px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    color: var(--preview-accent);
    font-size: 10px;
    font-weight: 700;
}

.design-site-visual {
    min-height: 270px;
    position: relative;
    align-self: stretch;
}

.visual-shape {
    position: absolute;
    display: block;
    transition:
        inset 0.35s ease,
        width 0.35s ease,
        height 0.35s ease,
        border-radius 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.visual-shape-main {
    inset: 0 8% 0 0;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(20, 30, 31, 0.22)),
        linear-gradient(135deg, #a9b6b2, #384e50);
}

.visual-shape-small {
    right: 0;
    bottom: -12px;
    width: 38%;
    height: 45%;
    border: 10px solid var(--preview-bg);
    background: var(--preview-accent);
}

.visual-index {
    position: absolute;
    top: 16px;
    right: 13%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.design-context {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #f7f7f5;
    border-top: 1px solid #deded8;
    transition: opacity 0.16s ease;
}

.design-preview.is-changing .design-site-hero {
    opacity: 0;
    transform: translateY(6px);
}

.design-preview.is-changing .design-context {
    opacity: 0;
}

.design-context > div {
    min-height: 94px;
    padding: 22px 28px;
}

.design-context > div + div {
    border-left: 1px solid #deded8;
}

.design-context span {
    display: block;
    margin-bottom: 7px;
    color: #999;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.design-context p {
    margin: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.5;
}

.design-preview[data-style="trust"] {
    --preview-bg: #f4e9df;
    --preview-surface: #d8c2b0;
    --preview-ink: #2b211d;
    --preview-muted: #75665d;
    --preview-accent: #7a3040;
}

.design-preview[data-style="trust"] .design-site {
    background:
        radial-gradient(circle at 88% 18%, rgba(177, 124, 94, 0.17), transparent 30%),
        var(--preview-bg);
}

.design-preview[data-style="trust"] .design-site-header {
    min-height: 70px;
    border-bottom: 0;
    background: #6f2937;
    color: #fff9f3;
    box-shadow: 0 16px 34px rgba(78, 35, 42, 0.18);
}

.design-preview[data-style="trust"] .design-site-header strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.design-preview[data-style="trust"] .design-site-header nav {
    color: rgba(255, 249, 243, 0.78);
}

.design-preview[data-style="trust"] .design-site-hero {
    grid-template-columns: minmax(210px, 0.84fr) minmax(0, 1.16fr);
    gap: clamp(34px, 5vw, 74px);
}

.design-preview[data-style="trust"] .design-site-copy h3 {
    font-size: clamp(34px, 4.4vw, 60px);
    line-height: 1;
}

.design-preview[data-style="trust"] .design-site-button {
    margin-top: 28px;
    padding: 11px 15px;
    border: 0;
    border-radius: 999px;
    background: var(--preview-accent);
    color: #fff9f3;
}

.design-preview[data-style="trust"] .design-site-visual {
    order: -1;
    min-height: 270px;
}

.design-preview[data-style="trust"] .visual-shape-main {
    inset: 0 8% 0 6%;
    border-radius: 48% 48% 18px 18px / 34% 34% 18px 18px;
    background:
        linear-gradient(180deg, rgba(255, 248, 240, 0.06), rgba(68, 42, 34, 0.2)),
        radial-gradient(circle at 68% 30%, #ead9c8 0 12%, transparent 13%),
        linear-gradient(135deg, #c8a88f, #786153);
}

.design-preview[data-style="trust"] .visual-shape-small {
    right: 0;
    bottom: 18px;
    left: auto;
    width: 38%;
    height: auto;
    aspect-ratio: 1;
    border: 8px solid var(--preview-bg);
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.28), transparent 24%),
        var(--preview-accent);
}

.design-preview[data-style="trust"] .visual-index {
    top: auto;
    right: 12%;
    bottom: 42px;
    z-index: 1;
}

.design-preview[data-style="progressive"] {
    --preview-bg: #142126;
    --preview-surface: #213238;
    --preview-ink: #f5f7f5;
    --preview-muted: #9caaad;
    --preview-accent: #8ee0cb;
}

.design-preview[data-style="progressive"] .design-site {
    background:
        radial-gradient(circle at 82% 62%, rgba(87, 184, 164, 0.16), transparent 31%),
        var(--preview-bg);
}

.design-preview[data-style="progressive"] .design-site-header {
    min-height: 54px;
    margin: 16px 20px 0;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.design-preview[data-style="progressive"] .design-site-copy h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -0.06em;
}

.design-preview[data-style="progressive"] .visual-shape-main {
    inset: 6% 4% 5% 6%;
    border-radius: 48% 52% 42% 58% / 55% 38% 62% 45%;
    background:
        radial-gradient(circle at 35% 28%, #a2efdc, transparent 26%),
        linear-gradient(145deg, #3d7a72, #17272d 70%);
    transform: rotate(-7deg);
}

.design-preview[data-style="progressive"] .visual-shape-small {
    right: 3%;
    bottom: 3%;
    width: 36%;
    height: 36%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ========================================
   07. Project Process
   ======================================== */

.dark-section {
    background: var(--accent-deep);
    color: #fff;
}

.dark-section .eyebrow {
    color: var(--accent-on-dark);
}

.dark-section .split-heading > p,
.dark-section .process-grid p {
    color: var(--accent-on-deep);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article {
    min-height: clamp(240px, 31vh, 340px);
    padding: 28px 28px 0 0;
    border-right: 1px solid var(--accent-line);
}

.process-grid article:not(:first-child) {
    padding-left: 28px;
}

.process-grid article:last-child {
    border-right: 0;
}

.process-grid span {
    display: block;
    margin-bottom: clamp(48px, 8vh, 88px);
    color: var(--accent-on-dark);
    font-size: 12px;
    font-weight: 700;
}

/* ========================================
   08. Project Result
   ======================================== */

.principles-section {
    background: var(--surface-soft);
}

.principles-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 9vw;
    align-items: center;
}

.large-copy {
    max-width: 670px;
    margin: 0;
    font-size: clamp(25px, 2.4vw, 38px);
    letter-spacing: -0.035em;
    line-height: 1.3;
}

.principle-list {
    margin-top: clamp(44px, 7vh, 72px);
    border-top: 1px solid #cccac4;
}

.principle-list > div {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #cccac4;
}

.principle-list span {
    color: #999;
    font-size: 12px;
}

.principle-list p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   09. Related Project
   ======================================== */

.featured-section {
    background: var(--accent-soft);
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(60px, 9vw, 150px);
    align-items: center;
}

.featured-copy h2 {
    margin: 18px 0 0;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.featured-copy > p {
    margin-top: 32px;
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 30px;
}

.project-preview {
    display: block;
    padding: clamp(28px, 4vw, 64px);
    overflow: visible;
    border-radius: 18px;
    background: transparent;
}

.project-preview-browser {
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.project-preview-bar {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.project-preview-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
}

.project-preview picture {
    display: block;
    overflow: hidden;
}

.project-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
}

.project-preview:hover img {
    transform: scale(1.02);
}

/* ========================================
   10. Frequently Asked Questions
   ======================================== */

.faq-section {
    min-height: clamp(700px, 88svh, 920px);
    background: var(--bg);
}

.compact-heading {
    max-width: 850px;
}

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

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    position: relative;
    padding: 26px 54px 26px 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-list summary:focus-visible,
.design-tabs button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 24px;
    right: 4px;
    color: #777;
    font-size: 22px;
    font-weight: 400;
}

.faq-list details.is-open summary::after {
    content: "–";
}

.faq-list details p {
    max-width: 720px;
        margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, margin 0.35s ease, opacity 0.25s ease;
}
    .faq-list details.is-open p {
        max-height: 180px;
        margin: -4px 0 28px;
        opacity: 1;
    }

/* ========================================
   11. Contact CTA
   ======================================== */

.page-cta {
    min-height: 72svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(90px, 12vh, 150px) 6vw;
    background: var(--text);
    color: #fff;
    text-align: center;
}

.page-cta .eyebrow {
    color: var(--accent-on-dark);
}

.page-cta h2 {
    max-width: 900px;
}

.page-cta > p:not(.eyebrow) {
    max-width: 580px;
    margin: 28px 0 0;
    color: #999;
    font-size: 17px;
    line-height: 1.65;
}

.cta-mail {
    max-width: 100%;
    margin-top: 38px;
    padding-bottom: 7px;
    border-bottom: 1px solid #777;
    color: #fff;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 600;
    letter-spacing: -0.03em;
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* ========================================
   12. Responsive: Tablet (≤ 900px)
   ======================================== */

@media (min-width: 701px) and (max-width: 1200px) {
    .design-tabs button small {
        white-space: nowrap;
    }

    .design-tabs button:hover,
    .design-tabs button[aria-selected="true"] {
        padding-left: 12px;
    }

    .design-preview {
        height: 560px;
    }

    .design-site {
        height: 432px;
    }

    .design-site-header,
    .design-preview[data-style="trust"] .design-site-header,
    .design-preview[data-style="progressive"] .design-site-header {
        min-height: 64px;
        margin: 0;
    }

    .design-site-hero,
    .design-preview[data-style="trust"] .design-site-hero {
        min-height: 0;
        height: 362px;
        gap: 28px;
        padding: 28px 32px;
    }

    .design-site-copy h3,
    .design-preview[data-style="trust"] .design-site-copy h3 {
        font-size: clamp(34px, 4vw, 48px);
        line-height: 0.96;
    }

    .design-kicker {
        margin-bottom: 12px;
    }

    .design-site-copy > p:not(.design-kicker) {
        margin-top: 14px;
        font-size: 11px;
        line-height: 1.5;
    }

    .design-site-button,
    .design-preview[data-style="trust"] .design-site-button {
        margin-top: 16px;
    }

    .design-site-visual,
    .design-preview[data-style="trust"] .design-site-visual {
        min-height: 220px;
    }
}

@media (min-width: 901px) and (max-width: 1200px) and (orientation: portrait) {
    #leistungen {
        min-height: 100svh;
    }

    .featured-section-raumkante .project-preview-browser {
        box-shadow: none;
    }

    .process-grid article {
        padding-right: 16px;
    }

    .process-grid article:not(:first-child) {
        padding-left: 16px;
    }

    .process-grid article:last-child h3 {
        font-size: 20px;
        white-space: nowrap;
    }

    .page-hero {
        min-height: 0;
        align-items: stretch;
        justify-content: flex-start;
        padding: 160px 6vw 162px;
    }

    .page-hero-grid {
        align-items: start;
    }

    .principles-section,
    .featured-section {
        min-height: 0;
        padding-top: 145px;
        padding-bottom: 145px;
    }

    .dark-section {
        min-height: 0;
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .featured-layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .project-preview {
        padding: 22px;
    }

    .faq-section {
        min-height: 0;
    }
}

@media (min-width: 701px) and (max-width: 1100px) and (orientation: portrait) {
    .page-hero {
        height: calc(100svh - 80px - 150px);
        min-height: 0;
        justify-content: center;
    }

    .page-facts {
        height: 150px;
        min-height: 0;
    }

    .featured-section-raumkante {
        min-height: 100svh;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) and (max-height: 1100px) {
    .design-directions-section {
        min-height: 100svh;
        overflow: visible;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .design-directions-section .section-heading {
        margin-bottom: 48px;
    }

    .design-tabs button small {
        white-space: nowrap;
    }

    .design-tabs button:hover,
    .design-tabs button[aria-selected="true"] {
        padding-left: 12px;
    }

    .design-preview {
        height: 500px;
    }

    .design-site {
        height: 372px;
    }

    .design-site-header,
    .design-preview[data-style="trust"] .design-site-header,
    .design-preview[data-style="progressive"] .design-site-header {
        min-height: 58px;
        margin: 0;
    }

    .design-site-hero,
    .design-preview[data-style="trust"] .design-site-hero {
        min-height: 0;
        height: 302px;
        gap: 24px;
        padding: 24px 28px;
    }

    .design-site-copy h3,
    .design-preview[data-style="trust"] .design-site-copy h3 {
        font-size: clamp(32px, 3.6vw, 42px);
        line-height: 0.96;
    }

    .design-kicker {
        margin-bottom: 12px;
    }

    .design-site-copy > p:not(.design-kicker) {
        margin-top: 14px;
        font-size: 11px;
        line-height: 1.5;
    }

    .design-site-button,
    .design-preview[data-style="trust"] .design-site-button {
        margin-top: 16px;
    }

    .design-site-visual,
    .design-preview[data-style="trust"] .design-site-visual {
        min-height: 220px;
    }
}

@media (min-width: 2000px) and (min-height: 1300px) and (max-height: 1600px) {
    .principles-section,
    .featured-section {
        min-height: 85svh;
        padding-top: 8.5vh;
        padding-bottom: 8.5vh;
    }
}

@media (max-width: 900px) {
    .content-section {
        min-height: 100svh;
    }

    .design-preview {
        height: 560px;
        min-height: 0;
    }

    .design-site {
        height: 432px;
        min-height: 0;
    }

    .design-site-hero {
        min-height: 0;
        padding: 34px 24px;
    }

    .design-site-visual {
        min-height: 190px;
    }

    .design-preview[data-style="trust"] .design-site-visual {
        min-height: 190px;
    }

    .page-hero {
        min-height: calc(100svh - 80px);
        padding: clamp(64px, 8vh, 90px) 24px;
    }

    .page-hero-grid,
    .split-heading,
    .principles-grid,
    .featured-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .page-hero h1 {
        font-size: clamp(58px, 12vw, 96px);
    }

    .page-hero-copy {
        padding-bottom: 0;
    }

    .page-facts {
        padding: 0 24px;
    }

    .content-section {
        padding-right: 24px;
        padding-left: 24px;
    }

    .capability-card {
        grid-template-columns: 54px minmax(190px, 0.7fr) minmax(260px, 1.3fr);
    }

    .design-lab {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .design-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .design-tabs button {
        padding: 20px 34px 20px 16px;
        border-right: 1px solid #c9c8c2;
    }

    .design-tabs button:last-child {
        border-right: 0;
    }

    .design-tabs button:hover,
    .design-tabs button[aria-selected="true"] {
        padding-left: 22px;
    }

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

    .process-grid article:nth-child(2) {
        border-right: 0;
    }

    .process-grid article:nth-child(3),
    .process-grid article:nth-child(4) {
        border-top: 1px solid var(--accent-line);
    }

    .process-grid article:nth-child(3) {
        padding-left: 0;
    }
}

/* ========================================
   13. Responsive: Mobile (≤ 700px)
   ======================================== */

@media (max-width: 700px) {
    .page-hero {
        min-height: calc(100svh - 70px);
        padding: 56px 24px 64px;
    }

    .page-hero-grid {
        margin-top: 42px;
    }

    .page-hero h1 {
        font-size: clamp(48px, 15vw, 68px);
        line-height: 0.9;
    }

    .page-hero-copy > p {
        font-size: 17px;
    }

    .button-row {
        align-items: flex-start;
    }

    .page-facts {
        grid-template-columns: 1fr;
    }

    .page-facts > div,
    .page-facts > div:first-child {
        min-height: 105px;
        padding: 23px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .page-facts > div:last-child {
        border-bottom: 0;
    }

    .content-section {
        min-height: 100svh;
        padding: clamp(76px, 10vh, 100px) 24px;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .section-heading h2,
    .principles-grid h2,
    .page-cta h2 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .capability-card {
        min-height: 0;
        grid-template-columns: 42px 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px 10px;
        padding: 34px 0 38px;
    }

    .card-number {
        grid-column: 1;
        grid-row: 1;
        margin-top: 6px;
    }

    .capability-card h3 {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    .capability-card > p {
        grid-column: 2;
        grid-row: 2;
    }

    .capability-card ul {
        grid-column: 2;
        grid-row: 3;
    }

    .design-directions-section {
        min-height: 0;
    }

    .design-tabs {
        grid-template-columns: 1fr;
    }

    .design-tabs button,
    .design-tabs button:last-child {
        padding: 20px 42px 20px 0;
        border-right: 0;
    }

    .design-tabs button:hover,
    .design-tabs button[aria-selected="true"] {
        padding-left: 10px;
    }

    .design-site {
        height: auto;
        min-height: 0;
    }

    .design-site-header {
        min-height: 62px;
        padding: 0 18px;
    }

    .design-site-header nav {
        gap: 12px;
        font-size: 9px;
    }

    .design-site-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 18px 14px;
    }

    .design-preview[data-style="trust"] .design-site-hero {
        grid-template-columns: 1fr;
    }

    .design-preview[data-style="trust"] .design-site-visual {
        min-height: 110px;
    }

    .design-preview[data-style="trust"] .design-site-header {
        min-height: 52px;
    }

    .design-preview[data-style="trust"] .design-site-copy h3 {
        font-size: clamp(25px, 7vw, 30px);
    }

    .design-preview[data-style="trust"] .design-site-button {
        margin-top: 16px;
        padding: 8px 12px;
    }

    .design-preview {
        height: auto;
        min-height: 0;
    }

    .design-site-copy h3 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .design-kicker {
        margin-bottom: 12px;
    }

    .design-site-copy > p:not(.design-kicker) {
        margin-top: 12px;
        font-size: 11px;
        line-height: 1.45;
    }

    .design-site-visual {
        min-height: 110px;
    }

    .design-preview[data-style="progressive"] .design-site-header {
        min-height: 50px;
        margin: 12px 12px 0;
        padding: 0 18px;
    }

    .design-context {
        grid-template-columns: 1fr;
    }

    .design-context > div {
        min-height: auto;
        padding: 10px 18px;
    }

    .design-context > div + div {
        border-top: 1px solid #deded8;
        border-left: 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-grid article,
    .process-grid article:not(:first-child),
    .process-grid article:nth-child(3) {
        min-height: auto;
        padding: 28px 0 42px;
        border-top: 1px solid var(--accent-line);
        border-right: 0;
    }

    .process-grid article:first-child {
        border-top: 0;
    }

    .process-grid span {
        margin-bottom: 44px;
    }

    .principle-list {
        margin-top: 44px;
    }

    .project-preview {
        padding: 0;
    }

    .project-preview picture {
        height: auto;
        overflow: hidden;
        border-radius: 0 0 16px 16px;
    }

    .project-preview-browser {
        position: relative;
        padding: 24px 8px 8px;
        border: 1px solid #3a3a3a;
        border-radius: 24px;
        background: #171717;
        box-shadow: 0 22px 64px rgba(0, 0, 0, 0.14);
    }

    .project-preview-browser::before {
        content: "";
        position: absolute;
        top: 12px;
        left: 16px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #777;
        box-shadow: 10px 0 #5d5d5d, 20px 0 #444;
        z-index: 1;
    }

    .project-preview-browser::after {
        content: "studio-raumkante.de";
        position: absolute;
        top: 4px;
        left: 50%;
        width: clamp(118px, 44%, 148px);
        height: 18px;
        border-radius: 9px;
        background: #292929;
        color: #8b8b8b;
        font-size: 8px;
        line-height: 18px;
        text-align: center;
        transform: translateX(-50%);
        z-index: 1;
    }

    .project-preview-bar {
        display: none;
    }

    .faq-list summary {
        font-size: 16px;
        line-height: 1.45;
    }

    .page-cta {
        min-height: 72svh;
        padding: 90px 24px;
    }
}

/* ========================================
   14. Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
