/* =============================================
   Trend Marketing GmbH - Editorial Light Theme
   ============================================= */

:root {
    /* Light editorial palette */
    --bg: #fafaf7;
    --bg-warm: #f4eee5;
    --bg-card: #ffffff;
    --bg-deep: #1a1a18;

    --ink: #1a1a18;
    --ink-soft: #3a3a38;
    --ink-muted: #6e6e6a;
    --ink-faint: #a8a8a3;
    --line: rgba(26, 26, 24, 0.10);
    --line-strong: rgba(26, 26, 24, 0.18);

    --accent: #e85d3a;            /* Terracotta */
    --accent-deep: #c44424;
    --accent-soft: #f7d7cb;
    --accent-tint: #fcefe8;

    --content-max: 1320px;
    --gutter: clamp(1.5rem, 5vw, 4rem);
    --header-h: 84px;

    --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--f-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--bg-card); }

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.0);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(250, 250, 247, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}
.site-header__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5ch;
    font-family: var(--f-display);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ink);
    z-index: 110;
}
.brand__mark {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
    font-size: 1.85rem;
    line-height: 0.85;
}
.brand__name {
    font-weight: 600;
    letter-spacing: -0.015em;
}
.brand__suffix {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-left: 0.4ch;
    align-self: center;
}

/* Nav */
.nav {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}
.nav a {
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.2s ease;
    position: relative;
    padding: 0.4rem 0;
}
.nav a:hover, .nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
}
.nav a.nav__cta {
    font-family: var(--f-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bg-card);
    background: var(--accent);
    padding: 0.56rem 1.08rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    text-transform: none;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 28px rgba(232, 93, 58, 0.25);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.nav a.nav__cta:hover,
.nav a.nav__cta.is-active {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    color: var(--bg-card);
    box-shadow: 0 12px 30px rgba(232, 93, 58, 0.32);
    transform: translateY(-1px);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    z-index: 110;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--accent);
}
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--accent);
}

/* ============ LAYOUT PRIMITIVES ============ */
.wrap {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-deep); color: var(--bg); }

/* Eyebrow / section labels */
.eyebrow {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.eyebrow::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}
.section--dark .eyebrow { color: var(--accent-soft); }

.section__title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 1.4rem;
}
.section--dark .section__title { color: var(--bg); }
.section__title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}
.section__lead {
    font-size: 1.1rem;
    color: var(--ink-muted);
    line-height: 1.7;
    max-width: 60ch;
}
.section--dark .section__lead { color: rgba(255,255,255,0.7); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.94rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    line-height: 1;
}
.btn--primary {
    background: var(--ink);
    color: var(--bg-card);
}
.btn--primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 93, 58, 0.25);
}
.btn--accent {
    background: var(--accent);
    color: var(--bg-card);
}
.btn--accent:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 93, 58, 0.30);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.section--dark .btn--ghost {
    color: var(--bg);
    border-color: rgba(255,255,255,0.25);
}
.section--dark .btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn .arrow {
    width: 18px; height: 18px;
    transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============ HERO (Editorial split with big background letter) ============ */
.hero {
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    position: relative;
    overflow: hidden;
}
.hero__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}
.hero__bg-letter {
    position: absolute;
    right: -4vw;
    top: 35%;
    transform: translateY(-50%);
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(20rem, 48vw, 40rem);
    line-height: 0.8;
    color: var(--accent-soft);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}
.hero__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem 2rem;
    padding-bottom: 1.4rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}
.hero__top strong {
    font-weight: 500;
    color: var(--ink);
}

.hero__headline {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 7.5vw, 6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 2.5rem;
    max-width: 16ch;
    position: relative;
}
.hero__headline em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}
.hero__headline .underline {
    position: relative;
    white-space: nowrap;
}
.hero__headline .underline::after {
    content: '';
    position: absolute;
    left: -2%; right: -2%;
    bottom: 0.05em;
    height: 0.18em;
    background: var(--accent-soft);
    z-index: -1;
}

.hero__body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    max-width: 1100px;
}
.hero__lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 50ch;
    margin-bottom: 2rem;
}
.hero__lead strong {
    color: var(--ink);
    font-weight: 600;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Hero stats / meta panel (right column) */
.hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.7rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 22px 60px rgba(26, 26, 24, 0.06);
}
.hero__meta-item {
    display: block;
}
.hero__meta-num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}
.hero__meta-label {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    line-height: 1.45;
}

/* ============ MARQUEE BAND ============ */
.marquee {
    background: var(--ink);
    color: var(--bg);
    padding: 1.4rem 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.marquee__track {
    display: flex;
    gap: 3.5rem;
    animation: marquee 38s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.marquee__item {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.45rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}
.marquee__item::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ SERVICES — horizontal scroll track ============ */
.services-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: end;
    margin-bottom: 4rem;
}
.services-head__count {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.services-track-wrap {
    margin: 0 calc(var(--gutter) * -1);
    padding: 1rem 0 2rem;
    position: relative;
}
.services-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--gutter) 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-warm);
}
.services-track::-webkit-scrollbar { height: 6px; }
.services-track::-webkit-scrollbar-track {
    background: var(--bg-warm);
    border-radius: 3px;
    margin: 0 var(--gutter);
}
.services-track::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}
.service-card {
    flex: 0 0 360px;
    min-height: 420px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2.4rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(232, 93, 58, 0.10);
}
.service-card__num {
    font-family: var(--f-mono);
    font-size: 0.76rem;
    color: var(--ink-muted);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}
.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--accent-tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease);
}
.service-card:hover .service-card__icon {
    background: var(--accent);
    color: var(--bg-card);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.service-card__title em {
    font-style: italic;
    color: var(--accent);
}
.service-card__text {
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: auto;
}
.service-card__more {
    margin-top: 1.5rem;
    font-family: var(--f-mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, gap 0.3s var(--ease);
}
.service-card__more:hover {
    color: var(--accent);
    gap: 0.7rem;
}

.scroll-hint {
    margin-top: 1.5rem;
    font-family: var(--f-mono);
    font-size: 0.74rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}
.scroll-hint::before, .scroll-hint::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--line-strong);
}

/* ============ PHILOSOPHY (centered statement) ============ */
.statement {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
}
.statement__quote {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.25;
    letter-spacing: -0.018em;
    margin-bottom: 1.8rem;
}
.statement__quote em {
    font-style: italic;
    color: var(--accent);
}
.statement__attribution {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.section--dark .statement__quote { color: var(--bg); }

/* ============ APPROACH (3 numbered cards) ============ */
.approach {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}
.approach__card {
    padding: 2.4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all 0.4s var(--ease);
}
.approach__card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.approach__num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 3.2rem;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}
.approach__title {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
}
.approach__text {
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============ FEATURE LIST (asymmetric editorial) ============ */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.features__col h2 { margin-bottom: 1.5rem; }
.features__col p {
    color: var(--ink-muted);
    margin-bottom: 1rem;
    line-height: 1.75;
}
.features__list {
    list-style: none;
    margin-top: 1.5rem;
}
.features__list li {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.97rem;
}
.features__list li:last-child { border-bottom: 1px solid var(--line); }
.features__list-num {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    padding-top: 0.2rem;
}
.features__list-text { color: var(--ink-soft); line-height: 1.55; }

/* ============ PAGE HEADER (subpages) ============ */
.page-header {
    padding: calc(var(--header-h) + 5rem) 0 4rem;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.page-header__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: end;
    position: relative;
    z-index: 2;
}
.page-header__bg-letter {
    position: absolute;
    right: -2vw;
    bottom: -7vw;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(14rem, 30vw, 26rem);
    line-height: 0.8;
    color: var(--accent-soft);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}
.crumb {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1.4rem;
    display: flex;
    gap: 0.55rem;
    align-items: center;
}
.crumb a { color: var(--ink-muted); transition: color 0.2s ease; }
.crumb a:hover { color: var(--accent); }
.crumb__sep { color: var(--ink-faint); }
.crumb__current { color: var(--accent); }

.page-header h1 {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    max-width: 18ch;
}
.page-header h1 em {
    font-style: italic;
    color: var(--accent);
}
.page-header__sub {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 55ch;
}
.page-header__meta {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-align: right;
    line-height: 1.7;
    align-self: end;
}

/* ============ SERVICE DETAIL ROWS (Leistungen page) ============ */
.detail-row {
    padding: clamp(4rem, 7vw, 6rem) 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: var(--header-h);
}
.detail-row:last-child { border-bottom: none; }
.detail-row__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.detail-row__index {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}
.detail-row__num {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(4rem, 8vw, 6.5rem);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.6rem;
    letter-spacing: -0.025em;
}
.detail-row__cat {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.detail-row__title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
    max-width: 22ch;
}
.detail-row__title em { font-style: italic; color: var(--accent); }
.detail-row__lead {
    font-size: 1.08rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 60ch;
}
.detail-row__list {
    list-style: none;
    margin-top: 1.6rem;
    margin-bottom: 1.8rem;
}
.detail-row__list li {
    padding: 0.95rem 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.97rem;
    display: flex;
    gap: 1rem;
}
.detail-row__list li:last-child { border-bottom: 1px solid var(--line); }
.detail-row__list li::before {
    content: '→';
    color: var(--accent);
    font-weight: 500;
    flex-shrink: 0;
}

/* ============ ABOUT TWO-COL ============ */
.about-grid {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.about-grid__main h2 { margin-bottom: 2rem; }
.about-grid__main p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 1.1rem;
    font-size: 1rem;
}
.about-grid__side {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2rem;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}
.about-grid__side h4 {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-muted);
    margin-bottom: 1.2rem;
}
.about-grid__side dl { margin: 0; }
.about-grid__side dt {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.3rem;
    margin-top: 1.1rem;
}
.about-grid__side dt:first-of-type { margin-top: 0; }
.about-grid__side dd {
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}
.about-grid__side dd a { color: var(--accent); }

/* ============ VALUES (4 squares) ============ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 4rem;
}
.values-grid__item {
    padding: 2.2rem 1.6rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all 0.3s var(--ease);
}
.values-grid__item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: var(--accent-tint);
}
.values-grid__icon {
    width: 44px; height: 44px;
    color: var(--accent);
    margin-bottom: 1.3rem;
}
.values-grid__icon svg { width: 100%; height: 100%; }
.values-grid__item h3 {
    font-family: var(--f-display);
    font-size: 1.12rem;
    font-weight: 500;
    margin-bottom: 0.55rem;
    letter-spacing: -0.01em;
}
.values-grid__item p {
    color: var(--ink-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ LOCATION (text + map) ============ */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
}
.location-text h2 { margin-bottom: 1.5rem; }
.location-text p {
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.location-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.location-info dt {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    margin-bottom: 0.3rem;
}
.location-info dd {
    font-size: 0.96rem;
    color: var(--ink);
    line-height: 1.55;
    margin: 0;
}
.location-map {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 360px;
    position: relative;
}
.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 360px;
    filter: grayscale(0.4) contrast(0.95);
}

/* ============ CONTACT FORM ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.contact-info h2 { margin-bottom: 1.4rem; }
.contact-info > p {
    color: var(--ink-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 1rem;
}
.contact-channel {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.3rem 0;
    border-top: 1px solid var(--line);
}
.contact-channel:last-child { border-bottom: 1px solid var(--line); }
.contact-channel__icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    flex-shrink: 0;
    background: var(--accent-tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-channel__icon svg { width: 18px; height: 18px; }
.contact-channel__label {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    margin-bottom: 0.25rem;
}
.contact-channel__value {
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.5;
}
.contact-channel__value a { transition: color 0.2s ease; }
.contact-channel__value a:hover { color: var(--accent); }

.tags {
    margin-top: 2.2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--line);
}
.tags__label {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.85rem;
    display: block;
}
.tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tag {
    background: var(--bg-warm);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.84rem;
    color: var(--ink-soft);
    border: 1px solid var(--line);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: clamp(1.8rem, 3vw, 2.5rem);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.13em;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 0.96rem;
    transition: all 0.3s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(232, 93, 58, 0.1);
}
.form-group textarea {
    min-height: 130px;
    resize: vertical;
}
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='none' stroke='%23e85d3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.6rem;
    cursor: pointer;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--ink-faint);
}

.form-submit {
    width: 100%;
    padding: 1.05rem;
    background: var(--ink);
    color: var(--bg-card);
    border: none;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.96rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.form-submit:hover:not(:disabled) {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 93, 58, 0.25);
}
.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.form-note {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    color: var(--ink-muted);
    text-align: center;
    margin-top: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.5;
}
.form-note a { color: var(--accent); text-transform: none; letter-spacing: normal; }

.form-message {
    display: none;
    margin-top: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: 4px;
    font-size: 0.92rem;
    line-height: 1.55;
}
.form-message.show { display: block; }
.form-message.success {
    background: var(--accent-tint);
    border: 1px solid var(--accent-soft);
    color: var(--accent-deep);
}
.form-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* ============ CTA BANNER ============ */
.cta-banner {
    background: var(--bg-deep);
    color: var(--bg);
    padding: clamp(4rem, 8vw, 6rem) var(--gutter);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner__bg-letter {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(18rem, 40vw, 30rem);
    line-height: 0.85;
    color: rgba(232, 93, 58, 0.12);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.cta-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.cta-banner h2 {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.cta-banner h2 em {
    font-style: italic;
    color: var(--accent);
}
.cta-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--bg-deep);
    color: var(--bg);
    padding: clamp(4rem, 7vw, 5rem) 0 2rem;
}
.site-footer__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.site-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}
.site-footer .brand {
    color: var(--bg);
    margin-bottom: 1.2rem;
}
.site-footer .brand__name { color: var(--bg); }
.site-footer .brand__suffix { color: rgba(255,255,255,0.5); }
.site-footer__about p {
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    font-size: 0.92rem;
    max-width: 28ch;
}
.site-footer__col h4 {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.3rem;
    font-weight: 500;
}
.site-footer__col ul { list-style: none; }
.site-footer__col li {
    margin-bottom: 0.7rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    line-height: 1.5;
}
.site-footer__col a {
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease;
}
.site-footer__col a:hover { color: var(--accent); }

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.13em;
}
.site-footer__legal {
    display: flex;
    gap: 1.7rem;
    flex-wrap: wrap;
}
.site-footer__legal a { transition: color 0.2s ease; }
.site-footer__legal a:hover { color: var(--accent); }

/* ============ LEGAL PAGES ============ */
.legal {
    padding: calc(var(--header-h) + 4rem) 0 5rem;
    background: var(--bg);
}
.legal__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.legal h1 {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}
.legal h1 em { font-style: italic; color: var(--accent); }
.legal__intro {
    color: var(--ink-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    line-height: 1.6;
}
.legal h2 {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.legal h3 {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.6rem;
    margin-bottom: 0.6rem;
    color: var(--ink);
}
.legal p, .legal li {
    color: var(--ink-soft);
    margin-bottom: 0.85rem;
    line-height: 1.75;
    font-size: 0.96rem;
}
.legal ul { margin: 0.5rem 0 1rem 1.4rem; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); }
.legal__box {
    background: var(--bg-warm);
    border-left: 3px solid var(--accent);
    padding: 1.4rem 1.6rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}
.legal__box p {
    margin-bottom: 0.4rem;
    color: var(--ink);
    font-size: 0.95rem;
}
.legal__box p:last-child { margin-bottom: 0; }

/* ============ 404 ============ */
.error {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-warm);
}
.error__bg-letter {
    position: absolute;
    right: -3vw;
    bottom: -8vw;
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(20rem, 50vw, 38rem);
    line-height: 0.8;
    color: var(--accent-soft);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}
.error__inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.error__code {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(5rem, 14vw, 9rem);
    line-height: 1;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}
.error h1 {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.error p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 50ch;
}
.error__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============ REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============ EDITORIAL IMAGE ============ */
/* Vollflächiges, editoriales Bild zwischen Sektionen.
   Kein hartes Rechteck, sondern mit subtilem Frame, Caption und
   einer kleinen "Tag"-Notation (im Stil der Eyebrows). */
.editorial-image {
    position: relative;
    margin: 0 auto;
    max-width: var(--content-max);
    padding: 0 var(--gutter);
}
.editorial-image__frame {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-warm);
    aspect-ratio: 16 / 7;
    box-shadow: 0 30px 60px -30px rgba(26, 26, 24, 0.25);
}
.editorial-image__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 1.2s var(--ease-out);
}
.editorial-image:hover .editorial-image__frame img { transform: scale(1.025); }

/* Untertitel rechts unter dem Bild im Stil einer Magazin-Bildunterschrift. */
.editorial-image__caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 0 0.2rem;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.editorial-image__caption span:first-child::before {
    content: '— ';
    color: var(--accent);
}

/* Kleinere "side-by-side" Variante: Bild + kurzer Lauftext daneben. */
.editorial-image--split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.editorial-image--split .editorial-image__frame {
    aspect-ratio: 4 / 3;
}
.editorial-image__text {
    max-width: 28rem;
}
.editorial-image__text .eyebrow { margin-bottom: 1rem; }
.editorial-image__text h3 {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}
.editorial-image__text h3 em { color: var(--accent); font-style: italic; }
.editorial-image__text p {
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero__body { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__meta { max-width: 400px; }
    .features { grid-template-columns: 1fr; gap: 2.5rem; }
    .approach { grid-template-columns: 1fr; gap: 1.2rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .location-grid { grid-template-columns: 1fr; }
    .location-map { min-height: 320px; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-grid__side { position: static; }
    .detail-row__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .detail-row__index { position: static; display: flex; align-items: baseline; gap: 1.5rem; }
    .detail-row__num { font-size: 3rem; margin-bottom: 0; }
    .site-footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .page-header__inner { grid-template-columns: 1fr; gap: 1rem; }
    .page-header__meta { text-align: left; }
    .editorial-image--split { grid-template-columns: 1fr; gap: 2rem; }
    .editorial-image--split .editorial-image__frame { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
    :root { --header-h: 72px; }

    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 5rem var(--gutter);
        gap: 1.4rem;
        transition: right 0.4s var(--ease);
    }
    .nav.is-open { right: 0; }
    .nav a {
        font-family: var(--f-display);
        font-style: italic;
        font-size: 2.2rem;
        font-weight: 500;
        color: var(--ink);
        padding: 0.3rem 0;
    }
    .nav__cta {
        font-family: var(--f-mono);
        font-style: normal;
        font-size: 0.85rem;
        font-weight: 500;
        margin-top: 1rem;
    }
    .menu-toggle { display: flex; }

    .brand { font-size: 1.25rem; }
    .brand__mark { font-size: 1.55rem; }
    .brand__suffix { font-size: 0.62rem; }

    .hero__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .hero__bg-letter { font-size: 50vw; opacity: 0.3; }

    .marquee__item { font-size: 1.15rem; gap: 1rem; }

    .services-head { grid-template-columns: 1fr; gap: 1rem; }
    .service-card { flex: 0 0 280px; min-height: 380px; padding: 2rem 1.6rem 1.7rem; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .location-info { grid-template-columns: 1fr; gap: 1rem; }
    .values-grid { grid-template-columns: 1fr; }

    .site-footer__top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }

    .editorial-image__frame { aspect-ratio: 4 / 3; }
    .editorial-image__caption { flex-direction: column; gap: 0.4rem; align-items: flex-start; }
}
