/* ==========================================================================
   Sonivo – Raumakustik aus Berlin
   Architectural B2B Website Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Colors – Sonivo CI Palette */
    --color-bg: #F7F5F2;
    --color-bg-alt: #FFFFFF;
    --color-surface: #FFFFFF;
    --color-text: #0D1B26;
    --color-text-secondary: #6B7E8C;
    --color-text-muted: rgba(107, 126, 140, 0.55);
    --color-accent: #2A6496;
    --color-accent-light: #3574A8;
    --color-accent-subtle: rgba(42, 100, 150, 0.06);
    --color-border: #C8D4DC;
    --color-border-light: rgba(200, 212, 220, 0.5);

    /* Typography */
    --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-headline: 'DM Serif Display', Georgia, serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.85rem;
    --font-size-base: 1.1rem;
    --font-size-md: 1.2rem;
    --font-size-lg: 1.4rem;
    --font-size-xl: clamp(1.6rem, 1.2rem + 1vw, 2rem);
    --font-size-2xl: clamp(2rem, 1.5rem + 1.5vw, 3rem);
    --font-size-3xl: clamp(2.8rem, 2rem + 3vw, 5rem);
    --font-size-4xl: clamp(3.5rem, 2rem + 4vw, 6rem);
    --font-size-5xl: clamp(5rem, 3rem + 7vw, 11rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --space-4xl: 8rem;
    --space-5xl: 12rem;

    /* Layout */
    --container-max: 1400px;
    --container-padding: clamp(1.5rem, 4vw, 4rem);

    /* Border Radius */
    --radius-sm: 2px;
    --radius-md: 2px;
    --radius-lg: 4px;
    --radius-xl: 4px;

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-base: 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Shadows – subtle */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 1px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Header */
    --header-height: 72px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-5xl) 0;
    border-top: 1px solid var(--color-border);
}

.section--alt {
    background-color: transparent;
}

/* --------------------------------------------------------------------------
   Section Header – Architectural, left-aligned with accent line
   -------------------------------------------------------------------------- */
.section__header {
    margin-bottom: var(--space-4xl);
    max-width: 640px;
}

.section__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-family);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.section__label::before {
    content: attr(data-section-index);
    display: block;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--color-text-secondary);
}

.section__label::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background-color: var(--color-accent);
    order: -1;
}

.section__title {
    font-family: var(--font-headline);
    font-size: var(--font-size-3xl);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.section__subtitle {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 560px;
}

/* --------------------------------------------------------------------------
   Buttons – Sharp, confident
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: var(--font-size-sm);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
}

.btn--primary {
    background-color: var(--color-accent);
    color: #FAFAF9;
}

.btn--primary:hover {
    background-color: var(--color-text);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-text);
}

.btn--ghost:hover {
    background-color: var(--color-text);
    color: var(--color-surface);
}

.btn--full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

/* Transparent header on hero – white text */
.header .logo-text {
    color: white;
}

.header .nav__link {
    color: rgba(255,255,255,0.7);
}

.header .nav__link:hover,
.header .nav__link.active {
    color: white;
}

.header .nav__link::after {
    background-color: white;
}

.header .lang-toggle {
    color: rgba(255,255,255,0.7);
}

.header .lang-toggle__current {
    color: rgba(255,255,255,0.9);
}

.header .lang-toggle__divider {
    color: rgba(255,255,255,0.3);
}

.header .lang-toggle__other {
    color: rgba(255,255,255,0.5);
}

.header .lang-toggle:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

.header .lang-toggle:hover .lang-toggle__current,
.header .lang-toggle:hover .lang-toggle__other {
    color: white;
}

.header .nav__toggle span {
    background-color: white;
}

/* Scrolled header – solid bg, dark text */
.header--scrolled {
    background-color: rgba(247, 245, 242, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-light);
}

.header--scrolled .logo-text {
    color: var(--color-text);
}

.header--scrolled .nav__link {
    color: var(--color-text-secondary);
}

.header--scrolled .nav__link:hover,
.header--scrolled .nav__link.active {
    color: var(--color-text);
}

.header--scrolled .nav__link::after {
    background-color: var(--color-text);
}

.header--scrolled .lang-toggle {
    color: var(--color-text-secondary);
}

.header--scrolled .lang-toggle__current {
    color: var(--color-text);
}

.header--scrolled .lang-toggle__divider {
    color: var(--color-border);
}

.header--scrolled .lang-toggle__other {
    color: var(--color-text-muted);
}

.header--scrolled .lang-toggle:hover {
    color: var(--color-text);
    background-color: var(--color-accent-subtle);
}

.header--scrolled .nav__toggle span {
    background-color: var(--color-text);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav__logo {
    z-index: 1001;
}

.logo-text {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--font-size-xl);
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--color-text);
}

.nav__menu {
    display: flex;
    gap: var(--space-2xl);
}

.nav__link {
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-text);
}

.nav__link.active::after,
.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    z-index: 1001;
}

/* Language Toggle */
.lang-toggle {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 0.375rem 0.75rem;
    transition: background-color var(--transition-fast);
}

.lang-toggle:hover {
    background-color: var(--color-accent-subtle);
}

.lang-toggle__current {
    color: var(--color-text);
}

.lang-toggle__divider {
    color: var(--color-border);
    margin: 0 2px;
}

.lang-toggle__other {
    color: var(--color-text-muted);
}

/* Mobile Navigation Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 18px;
    position: relative;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-text);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero Section – Bottom-aligned, dark overlay, white type on video
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 0 6vw 5rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: url('../images/hero.png') center center / cover no-repeat;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(13,27,38,0.15) 0%, rgba(13,27,38,0.05) 60%, rgba(13,27,38,0.3) 100%),
        linear-gradient(to bottom, rgba(13,27,38,0.1) 0%, rgba(13,27,38,0.6) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-lg);
}

.hero__label::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background-color: rgba(255,255,255,0.5);
}

.hero__title {
    font-family: var(--font-headline);
    font-size: clamp(3.5rem, 7.5vw, 8.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 2rem;
    max-width: 900px;
}

.hero__title em {
    font-style: italic;
    color: rgba(255,255,255,0.7);
}

.hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    max-width: 400px;
    margin-bottom: 0;
}

.hero__cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Hero buttons – light on dark */
.hero .btn--primary {
    background-color: var(--color-accent);
    color: white;
}

.hero .btn--primary:hover {
    background-color: white;
    color: var(--color-text);
}

.hero .btn--ghost {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.3);
}

.hero .btn--ghost:hover {
    background-color: white;
    border-color: white;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Logo Marquee
   -------------------------------------------------------------------------- */
.marquee-section {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee-section__label {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.products.section {
    padding-bottom: var(--space-2xl);
}

.marquee-section--partners {
    padding-top: var(--space-lg);
}

.marquee-section--partners .marquee-section__label {
    margin-bottom: var(--space-xl);
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: var(--space-4xl);
    width: max-content;
    animation: marquee 35s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.marquee__logo {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee__logo-img {
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.65;
}

/* Per-logo height tuning so each brand reads at the same visual size,
   despite different aspect ratios and internal padding in the source PNGs. */
.marquee__logo-img--creation { height: 95px; } /* 1:1, Schriftzug mittig */
.marquee__logo-img--ecophon  { height: 44px; } /* 3.5:1, sehr breit */
.marquee__logo-img--ecocero  { height: 32px; } /* 3:1, breit */
.marquee__logo-img--jab      { height: 46px; } /* 1.8:1, mittel */
.marquee__logo-img--object   { height: 90px; } /* 1:1, Schriftzug */

/* Customer logos — alle quadratisch, daher mit Padding-Ausgleich pro Marke */
.marquee__logo-img--aura        { height: 70px; }
.marquee__logo-img--bridgehouse { height: 70px; }
.marquee__logo-img--ibm         { height: 60px; }
.marquee__logo-img--ooono       { height: 65px; }
.marquee__logo-img--verdane     { height: 65px; }
.marquee__logo-img--klarna      { height: 60px; }

/* Partner marquee — ping-pong (hin und her) statt Endlos-Linksscroll */
.marquee-section--partners .marquee__track {
    animation: marquee-pingpong 60s ease-in-out infinite alternate;
}

@keyframes marquee-pingpong {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-66.667%, 0, 0); }
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   About Section – Asymmetric layout
   -------------------------------------------------------------------------- */
.about .section__header {
    max-width: 560px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: var(--space-3xl);
    text-align: right;
}

.about .section__label {
    justify-content: flex-end;
}

.about .section__label::before {
    order: 1;
}

.about .section__label::after {
    order: 2;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-4xl);
    align-items: start;
}

.about__text {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about__text:last-of-type {
    margin-bottom: var(--space-2xl);
}

/* Highlighted lead + closing statements — editorial pull-quote feel */
.about__text--highlight {
    font-family: var(--font-headline);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    line-height: 1.35;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
}

.about__text--highlight:last-of-type {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.about__cta {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.about__cta-title {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin: 0;
}

.about__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    text-decoration: none;
    background: transparent;
    transition: border-color var(--transition-fast), color var(--transition-fast), gap var(--transition-fast);
}

.about__cta-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.about__cta-link:hover {
    border-color: var(--color-text);
    color: var(--color-text);
    gap: 0.85rem;
}

.about__cta-link:hover svg {
    transform: translateX(2px);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat__value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: var(--space-md);
}

.stat__number {
    font-family: var(--font-headline);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    color: var(--color-text);
    line-height: 1;
}

.stat__unit {
    font-family: var(--font-headline);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1;
}

.stat__label {
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.akustik1x1 .about__stats {
    margin-top: var(--space-2xl);
}

.akustik1x1__intro,
.akustik1x1__problems,
.akustik1x1__benefits {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: var(--space-xl) var(--space-3xl);
    align-items: start;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.akustik1x1__intro > *,
.akustik1x1__problems > *,
.akustik1x1__benefits > * {
    grid-column: 2;
}

.akustik1x1__intro > .akustik1x1__intro-title,
.akustik1x1__problems > .akustik1x1__intro-title,
.akustik1x1__benefits > .akustik1x1__intro-title {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
}

.akustik1x1__intro {
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.akustik1x1__problems,
.akustik1x1__benefits {
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.akustik1x1__intro-title {
    font-family: var(--font-headline);
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.akustik1x1__intro-text {
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0 0 var(--space-md);
}

.akustik1x1__intro-text:last-child {
    margin-bottom: 0;
}

.problems-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.problem-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.problem-item__title {
    font-family: var(--font-headline);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.005em;
}

.problem-item__num {
    color: var(--color-accent);
    margin-right: 0.4rem;
}

.problem-item__text {
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0;
}

.about__stats-footnote {
    display: block;
    font-family: var(--font-family);
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-top: var(--space-md);
    letter-spacing: 0.02em;
}

.about__image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background-color: var(--color-bg-alt);
}

.about__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about__image-wrapper:hover img {
    transform: scale(1.03);
}

.about__image-caption {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: var(--space-md);
}

.about__image-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.01em;
}

.about__image-role {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Services Section – Bold numbers, architectural cards
   -------------------------------------------------------------------------- */
.services .section__header {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.services .section__label {
    justify-content: center;
}

.services .section__label::after {
    display: none;
}

.services .section__subtitle {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--color-border-light);
    margin-left: calc(var(--container-padding) * -1);
    margin-right: calc(var(--container-padding) * -1);
}

.service-card {
    background: var(--color-surface);
    padding: var(--space-3xl) var(--space-3xl);
    transition: all var(--transition-base);
    position: relative;
    border: none;
}

.service-card:hover {
    background: var(--color-bg-alt);
    transform: none;
    box-shadow: none;
}

.service-card__icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
}

.service-card__number {
    position: absolute;
    top: var(--space-2xl);
    right: var(--space-2xl);
    font-family: var(--font-headline);
    font-size: var(--font-size-4xl);
    font-weight: 400;
    color: var(--color-border-light);
    letter-spacing: -0.04em;
    line-height: 1;
}

.service-card:hover .service-card__number {
    color: var(--color-accent);
    opacity: 0.15;
}

.service-card__title {
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.service-card__text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-card__list li {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    padding-left: var(--space-lg);
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.6em;
    width: 4px;
    height: 4px;
    background-color: var(--color-accent);
}

/* Audiences */
.about__audiences {
    margin-top: var(--space-4xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--color-border-light);
}

.about__audiences-title {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.audiences__marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.audiences__track {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: max-content;
    animation: marquee 55s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.audience-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border);
    cursor: default;
    pointer-events: none;
    flex-shrink: 0;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.audience-tag svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.audience-tag span {
    white-space: nowrap;
}

@media (max-width: 768px) {
    /* Mask-Image auf Mobile entfernen — iOS Safari hat Rendering-Bugs damit während Animationen */
    .audiences__marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
    .audiences__track {
        gap: var(--space-sm);
        animation-duration: 40s;
    }
    .audience-tag {
        padding: 0.7rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* --------------------------------------------------------------------------
   Products Section – Clean grid, image zoom
   -------------------------------------------------------------------------- */
.products .section__header {
    max-width: 560px;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.products .section__label {
    justify-content: flex-end;
}

.products .section__label::before {
    order: 1;
}

.products .section__label::after {
    order: 2;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-left: calc(var(--container-padding) * -0.5);
    margin-right: calc(var(--container-padding) * -0.5);
}

.product-card {
    background: var(--color-surface);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    position: relative;
}

.product-card:hover {
    border-color: var(--color-text);
}

.product-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--color-bg);
}

.product-card__image-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.product-card__image-img--secondary {
    opacity: 0;
}

@media (hover: hover) {
    .product-card:hover .product-card__image-img--primary {
        opacity: 0;
    }
    .product-card:hover .product-card__image-img--secondary {
        opacity: 1;
    }
}

/* Touch devices: tap toggles the secondary image */
@media (hover: none) {
    .product-card.is-flipped .product-card__image-img--primary {
        opacity: 0;
    }
    .product-card.is-flipped .product-card__image-img--secondary {
        opacity: 1;
    }
}

.product-card__content {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.product-card__title {
    font-size: var(--font-size-md);
    font-weight: 400;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.product-card__text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   References Section – Architectural cards, stronger image zoom
   -------------------------------------------------------------------------- */
.references__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-left: calc(var(--container-padding) * -0.5);
    margin-right: calc(var(--container-padding) * -0.5);
}

.reference-card {
    background: var(--color-surface);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.reference-card:hover {
    border-color: var(--color-text);
}

.reference-card--large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
}

.reference-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--color-bg);
}

.reference-card--large .reference-card__image {
    aspect-ratio: auto;
    min-height: 360px;
}

.reference-card__image-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.reference-card__image-img--secondary {
    opacity: 0;
}

@media (hover: hover) {
    .reference-card:hover .reference-card__image-img--primary {
        opacity: 0;
    }
    .reference-card:hover .reference-card__image-img--secondary {
        opacity: 1;
    }
}

/* Touch devices: tap toggles the secondary image */
@media (hover: none) {
    .reference-card.is-flipped .reference-card__image-img--primary {
        opacity: 0;
    }
    .reference-card.is-flipped .reference-card__image-img--secondary {
        opacity: 1;
    }
}

.reference-card__content {
    padding: var(--space-xl) var(--space-2xl);
}

.reference-card--large .reference-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl);
}

.reference-card__category {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-family);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.reference-card__category::before {
    content: '';
    width: 16px;
    height: 1px;
    background-color: var(--color-accent);
}

.reference-card__title {
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.reference-card--large .reference-card__title {
    font-size: var(--font-size-2xl);
}

.reference-card__text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Testimonial Section – Architectural quote
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   FAQ Section – Minimal, architectural
   -------------------------------------------------------------------------- */
.faq .section__header {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.faq .section__label {
    justify-content: center;
}

.faq .section__label::after {
    display: none;
}

.faq__list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-xl) 0;
    text-align: left;
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.4;
    gap: var(--space-lg);
    transition: color var(--transition-fast);
}

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

.faq-item__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--color-text-muted);
}

.faq-item.active .faq-item__icon {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 1200px;
}

.faq-item__answer p,
.faq-item__answer ul {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 85%;
    margin: 0 0 var(--space-md);
}

.faq-item__answer > :last-child {
    padding-bottom: var(--space-xl);
}

.faq-item__list {
    list-style: none;
    padding-left: 0;
}

.faq-item__list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: var(--space-xs);
}

.faq-item__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 6px;
    height: 1px;
    background: var(--color-accent);
}

.faq-item__answer a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact .section__header {
    max-width: none;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-4xl);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form__group {
    margin-bottom: var(--space-lg);
}

.form__label {
    display: block;
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form__input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    font-size: var(--font-size-base);
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 0;
    transition: all var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

.form__input:focus {
    outline: none;
    border-color: var(--color-text);
    box-shadow: none;
}

.form__input::placeholder {
    color: var(--color-text-muted);
}

.form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23171A1C' stroke-width='2' stroke-opacity='0.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__input.error {
    border-color: #D94444;
}

.form__privacy {
    margin-top: var(--space-xs);
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.form__checkbox input {
    display: none;
}

.form__checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 0;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all var(--transition-fast);
    position: relative;
}

.form__checkbox input:checked + .form__checkmark {
    background-color: var(--color-text);
    border-color: var(--color-text);
}

.form__checkbox input:checked + .form__checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

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

.form__feedback {
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    text-align: center;
}

.form__feedback--success {
    color: var(--color-accent);
}

.form__feedback--error {
    color: #D94444;
}

/* Contact Info */
.contact__info-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--space-2xl);
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.contact__info-title {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.contact__info-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact__info-item:last-child {
    margin-bottom: 0;
}

.contact__info-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

.contact__info-label {
    display: block;
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact__info-item p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.contact__info-item a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   Footer – Dark, architectural
   -------------------------------------------------------------------------- */
.footer {
    background-color: #0D1B26;
    color: rgba(250, 250, 249, 0.5);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer .logo-text {
    color: white;
    display: block;
    margin-bottom: var(--space-md);
}

.footer__tagline {
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.footer__nav h4,
.footer__legal h4 {
    font-family: var(--font-family);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(250, 250, 249, 0.25);
    margin-bottom: var(--space-lg);
}

.footer__nav li,
.footer__legal li {
    margin-bottom: var(--space-sm);
}

.footer__nav a,
.footer__legal a {
    font-size: var(--font-size-base);
    transition: color var(--transition-fast);
}

.footer__nav a:hover,
.footer__legal a:hover {
    color: white;
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(250, 250, 249, 0.08);
}

.footer__bottom p {
    font-size: var(--font-size-xs);
    color: rgba(250, 250, 249, 0.25);
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */

/* Large Tablet / Small Desktop */
@media (max-width: 1200px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .about__grid {
        gap: var(--space-2xl);
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 560px;
        margin: 0 auto;
        border: 1px solid var(--color-border-light);
    }

    .service-card__number {
        font-size: var(--font-size-2xl);
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
        margin-right: 0;
    }

    .references__grid {
        gap: var(--space-md);
        margin-left: 0;
        margin-right: 0;
    }

    .reference-card--large {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact__info-card {
        position: static;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    /* Mobile-style navigation at tablet width — hamburger menu kicks in
       at ≤1024 so iPad portrait (810–834px wide) doesn't break the menu bar */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-2xl);
        transition: right var(--transition-slow);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__menu .nav__link {
        font-size: var(--font-size-lg);
        letter-spacing: 0.04em;
    }

    /* Mobile menu open: force readable dark text on light background,
       regardless of whether header is in transparent or scrolled state */
    .header .nav__menu .nav__link,
    .header .nav__menu .nav__link:hover,
    .header .nav__menu .nav__link.active,
    .header--scrolled .nav__menu .nav__link,
    .header--scrolled .nav__menu .nav__link:hover,
    .header--scrolled .nav__menu .nav__link.active {
        color: var(--color-text);
    }

    /* Close-button (X) needs to be visible on light menu background */
    .header .nav__toggle.active span,
    .header--scrolled .nav__toggle.active span {
        background-color: var(--color-text);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-5xl: 7rem;
        --space-4xl: 5rem;
        --space-3xl: 3.5rem;
        --container-padding: 1.25rem;
    }

    /* Hero */
    .hero {
        padding: 0 var(--container-padding) 3rem;
        min-height: 100vh;
        min-height: 100dvh; /* full viewport on mobile, accounts for browser UI */
    }

    .hero__title {
        margin-bottom: 1.5rem;
    }

    .hero__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .hero__subtitle {
        max-width: 100%;
    }

    /* Reset asymmetric headers on mobile */
    .about .section__header,
    .products .section__header {
        text-align: left;
        margin-left: 0;
    }

    .about .section__label,
    .products .section__label {
        justify-content: flex-start;
    }

    .about .section__label::before,
    .products .section__label::before {
        order: 0;
    }

    .about .section__label::after,
    .products .section__label::after {
        order: -1;
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    /* Akustik 1x1 — Stack heading and content on mobile */
    .akustik1x1__intro,
    .akustik1x1__problems,
    .akustik1x1__benefits {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .akustik1x1__intro > *,
    .akustik1x1__problems > *,
    .akustik1x1__benefits > * {
        grid-column: 1;
    }

    .akustik1x1__intro > .akustik1x1__intro-title,
    .akustik1x1__problems > .akustik1x1__intro-title,
    .akustik1x1__benefits > .akustik1x1__intro-title {
        grid-column: 1;
    }

    .about__image {
        order: -1;
    }

    .about__image-wrapper {
        aspect-ratio: 16 / 10;
    }

    /* Portrait: anchor closer to the top so the head stays visible
       but with some breathing room above and more body below */
    .about__image-wrapper img {
        object-position: center 25%;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Products */
    .products__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    /* FAQ */
    .faq-item__question {
        font-size: var(--font-size-base);
    }

    /* References */
    .references__grid {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    /* Contact Form */
    .form__row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .service-card__number {
        font-size: var(--font-size-xl);
    }

    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner__actions {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Cookie Consent Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    padding: var(--space-lg) 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.cookie-banner__title {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.cookie-banner__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.cookie-banner__accept {
    white-space: nowrap;
    padding: 0.65rem 1.5rem;
    font-size: var(--font-size-xs);
}

.cookie-banner__link {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.cookie-banner__link:hover {
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Legal Pages (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal-page {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-5xl);
    min-height: 100vh;
    background: var(--color-bg-alt);
}

.legal-page .container {
    max-width: 800px;
}

.legal-page__back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: var(--space-2xl);
    transition: color var(--transition-fast);
}

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

.legal-page__back svg {
    width: 16px;
    height: 16px;
}

.legal-page h1 {
    font-family: var(--font-headline);
    font-size: var(--font-size-3xl);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.legal-page__date {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3xl);
}

.legal-page h2 {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--color-text);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.legal-page h3 {
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.legal-page p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.legal-page ul {
    list-style: disc;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-page li {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xs);
}

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

.legal-page a:hover {
    color: var(--color-accent-light);
}
