/* ═══════════════════════════════════════
   MAYDO CLASSIC – Apple-Minimalist System
   ═══════════════════════════════════════ */

/* ── Self-hosted Inter (DSGVO-konform, kein externer Request) ── */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('./fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('./fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Text Selection — grüne Markierfarbe statt Browser-Blau */
::selection {
    background: rgba(122, 173, 139, 0.35);
    color: #2A1F14;
}

/* Screen-reader-only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-Link (Accessibility) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--lime);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}
.skip-link:focus {
    position: fixed;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
}

:root {
    /* Core — warm beige with subtle bronze gradient */
    --black: #EDE5D4;
    --ink: #E4D8C2;
    --ink-2: #D8CBAF;
    --ink-3: #D0C0A0;

    /* Chrome — warm brown tones */
    --chrome: #6B5A42;
    --chrome-light: #8A7660;
    --chrome-dim: #9C8A70;
    --chrome-glass: rgba(107, 90, 66, 0.06);
    --chrome-border: rgba(107, 90, 66, 0.15);
    --chrome-border-strong: rgba(107, 90, 66, 0.30);

    /* Accent — forest green */
    --lime: #4A7C59;
    --lime-dim: rgba(74, 124, 89, 0.12);
    --lime-glow: rgba(74, 124, 89, 0.20);

    /* Accent 2 — bronze */
    --bronze: #B87333;
    --bronze-dim: rgba(184, 115, 51, 0.12);
    --bronze-glow: rgba(184, 115, 51, 0.20);

    /* Text — dark espresso */
    --text-primary: #2A1F14;
    --text-secondary: #5C4A2E;
    --text-dim: #8A7660;

    /* CTA — forest green */
    --cta: #4A7C59;
    --cta-hover: #3d6649;
    --cta-light: rgba(74, 124, 89, 0.10);

    /* Utility */
    --nav-h: 72px;
    --max: 1100px;
    --radius: 18px;
    --radius-lg: 28px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.42, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    cursor: auto;
    color-scheme: light;
    scroll-padding-top: calc(var(--nav-h) + 12px);
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, #EDE5D4 0%, #E0D4BE 40%, #D4C4A6 80%, #C8B494 100%),
        radial-gradient(ellipse at 30% 20%, rgba(74, 124, 89, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

ul {
    list-style: none;
}

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

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

/* Buttons that visually read as links (actions that look like links) */
.footer-linklike,
.inline-linklike {
    font-family: inherit;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-linklike:hover,
.inline-linklike:hover {
    color: var(--lime);
}

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

/* ── Global keyboard focus ring (only shows for keyboard nav, not mouse clicks) ── */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ── Headings: prevent widows/orphans ── */
h1, h2, h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* ── Touch targets ── */
button,
a.btn,
.nav-link,
.burger {
    touch-action: manipulation;
}

/* ── Respect "Reduce Motion" system setting ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Particle Canvas ── */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* ── Ambient background ── */
.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}




/* ── Container ── */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Magnetic GPU hint ── */
.magnetic {
    will-change: transform;
    transition: transform 0.25s var(--spring);
}

/* ── Reveal animation ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: transform 0.25s var(--spring), opacity 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--spring);
    flex-shrink: 0;
}

.btn:hover svg {
    transform: translateX(5px);
}

.btn-chrome {
    background: linear-gradient(130deg, #4A7C59 0%, #7AAD8B 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.25), 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s var(--spring), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-chrome::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(74, 124, 89, 0.3);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.btn-chrome:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(130deg, #3d6649 0%, #5f9973 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(74, 124, 89, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-chrome:hover::before {
    opacity: 1;
}

.btn-ghost {
    border: 1px solid var(--chrome-border-strong);
    color: var(--text-primary);
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--chrome);
    background: rgba(107, 90, 66, 0.06);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ═══════ NAVBAR ═══════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
    pointer-events: none;
}

.nav a,
.nav button {
    pointer-events: auto;
}

.nav.scrolled {
    background: rgba(237, 229, 212, 0.92);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-color: var(--chrome-border);
}

.nav-inner {
    max-width: none;
    margin: 0;
    padding-left: max(40px, env(safe-area-inset-left));
    padding-right: max(40px, env(safe-area-inset-right));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-brand {
    flex-shrink: 0;
    margin-right: auto;
}

.nav-logo {
    height: 100px;
    width: auto;
    filter: brightness(0.55) contrast(1.4) saturate(0.8);
    transition: filter 0.3s, transform 0.3s var(--spring);
}

.nav-logo:hover {
    filter: brightness(0.45) contrast(1.5) saturate(0.8);
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.2s;
    letter-spacing: 0.01em;
    position: relative;
    /* Added for ::after positioning */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    margin-left: 12px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
    background: rgba(200, 200, 200, 0.08);
    border: 1px solid rgba(200, 200, 200, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.burger:hover {
    background: rgba(200, 200, 200, 0.15);
    border-color: rgba(200, 200, 200, 0.3);
}

.burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--chrome);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    transform-origin: center;
}

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

.burger.open span:nth-child(2) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ═══════ HERO ═══════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--nav-h) + 80px) 40px 100px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}



.hero-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.hero-inner a,
.hero-inner button {
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 10;
}



.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--chrome-dim);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(1.75rem, 7vw, 7rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    min-height: 4.2em;
}

.typewriter-line {
    white-space: nowrap;
}

.hero-headline em {
    font-style: normal;
    background: linear-gradient(130deg, #4A7C59 0%, #7AAD8B 45%, #2C2418 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-right: 2px solid #4A7C59;
    animation: blink 0.8s step-end infinite;
    white-space: nowrap;
}

@keyframes blink {

    0%,
    100% {
        border-color: var(--lime);
    }

    50% {
        border-color: transparent;
    }
}

.hero-body {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 44px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-device {
    width: 100%;
    max-width: 420px;
    background: var(--ink-2);
    border-radius: 24px;
    border: 1px solid var(--chrome-border);
    padding: 24px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(107, 90, 66, 0.08) inset;
    animation: device-float 6s ease-in-out infinite;
}

@keyframes device-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.device-screen {
    width: 100%;
}

.screen-grid {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 14px;
}

.screen-card {
    background: var(--ink-3);
    border: 1px solid var(--chrome-border);
    border-radius: 14px;
    padding: 16px;
}

.sc-1 {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--chrome);
    box-shadow: 0 0 8px var(--chrome);
    animation: dot-pulse 2.4s infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        box-shadow: 0 0 8px var(--chrome);
    }

    50% {
        box-shadow: 0 0 20px var(--chrome-light), 0 0 40px rgba(200, 200, 200, 0.3);
    }
}

.sc-1 span {
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sc-1 strong {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--chrome-light);
    letter-spacing: -0.03em;
}

.sc-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-bar {
    height: 6px;
    border-radius: 100px;
    background: var(--chrome-border);
    overflow: hidden;
    position: relative;
}

.sc-bar::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    background: linear-gradient(90deg, var(--chrome-dim), var(--chrome-light));
    border-radius: inherit;
    animation: bar-fill 1.8s var(--ease) forwards;
}

@keyframes bar-fill {
    from {
        width: 0;
    }

    to {
        width: var(--w);
    }
}

.sc-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.screen-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0.9) contrast(1.1);
}

/* ═══════ TICKER ═══════ */
.ticker {
    border-block: 1px solid var(--chrome-border);
    background: rgba(107, 90, 66, 0.03);
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 2;
}

.ticker-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: ticker-move 28s linear infinite;
    padding: 14px 0;
}

.ticker-track span {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 28px;
    position: relative;
}

.ticker-track span::after {
    content: '·';
    position: absolute;
    right: -2px;
    color: var(--chrome-border);
}

@keyframes ticker-move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ═══════ TRUST BAR ═══════ */
.trust-bar {
    padding: 28px 0;
    border-bottom: 1px solid var(--chrome-border);
    position: relative;
    z-index: 2;
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.trust-item svg {
    flex-shrink: 0;
    color: var(--chrome-dim);
}

.trust-item--highlight {
    color: var(--lime);
    font-weight: 600;
    position: relative;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--lime-dim);
}

.trust-item--highlight svg {
    color: var(--lime);
}

/* ═══════ STATS ═══════ */
.stats-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-num {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(130deg, #4A7C59 0%, #7AAD8B 45%, #2C2418 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suf {
    font-size: 1.8rem;
    font-weight: 500;
    background: linear-gradient(130deg, #B87333 0%, #D4956A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 6px;
    letter-spacing: 0.03em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--chrome-border);
    flex-shrink: 0;
}

/* ═══════ SECTION SHARED ═══════ */
.section-head {
    margin-bottom: 64px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text-primary);
}

/* ═══════ SERVICES ═══════ */
.services {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--chrome-border);
    background: linear-gradient(160deg, rgba(107, 90, 66, 0.04), rgba(107, 90, 66, 0.01));
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.15s;
    cursor: pointer;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    isolation: isolate;
}

.service-card:hover {
    border-color: var(--chrome-border-strong);
}

.service-card--featured {
    border-color: rgba(200, 200, 200, 0.22);
    background: linear-gradient(160deg, rgba(107, 90, 66, 0.07), rgba(107, 90, 66, 0.02));
}

.sv-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(130deg, #4A7C59 0%, #7AAD8B 100%);
    padding: 4px 10px;
    border-radius: 100px;
}

.sv-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--bronze);
    margin-bottom: 16px;
}

.sv-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--chrome-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(107, 90, 66, 0.06);
}

.sv-icon svg {
    width: 24px;
    height: 24px;
    color: var(--chrome);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.service-card li {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--chrome-dim);
    flex-shrink: 0;
}

.sv-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lime);
    transition: gap 0.25s var(--spring), color 0.2s;
    cursor: pointer;
}

.sv-link:hover {
    gap: 12px;
    color: var(--text-primary);
}

.sv-glow {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 124, 89, 0.10), transparent 70%);
    opacity: 0;
    filter: blur(40px);
    -webkit-filter: blur(40px);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition: opacity 0.4s;
    will-change: opacity;
    pointer-events: none;
}

.service-card:hover .sv-glow {
    opacity: 1;
}

/* ═══════ PROCESS ═══════ */
.process {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
}

.ps {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 28px;
    padding: 32px 28px;
    border-radius: var(--radius);
    transition: background 0.3s;
    position: relative;
}

.ps::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 64px;
    bottom: -32px;
    width: 1px;
    background: linear-gradient(180deg, var(--chrome-border), transparent);
}

.ps:last-child::after {
    display: none;
}

.ps:hover {
    background: rgba(107, 90, 66, 0.04);
    border-radius: var(--radius);
}

.ps-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--lime);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(209, 254, 23, 0.25);
    flex-shrink: 0;
    background: rgba(209, 254, 23, 0.06);
}

.ps-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    padding-top: 8px;
}

.ps-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ═══════ WORK ═══════ */
.work {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.work-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--chrome-border);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s var(--spring);
    cursor: pointer;
    position: relative;
    /* Safari fix: isolate transform context */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    isolation: isolate;
}

.work-card:hover {
    border-color: var(--chrome-border-strong);
    transform: translateY(-6px) scale(1.01);
    -webkit-transform: translateY(-6px) scale(1.01);
}

.wc-lg {
    grid-column: 1 / -1;
}

.wc-bg {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.wc-lg .wc-bg {
    height: 280px;
}

.wc-1 {
    background: linear-gradient(135deg, var(--ink), var(--ink-2), var(--ink));
}

.wc-2 {
    background: linear-gradient(135deg, var(--ink-2), var(--ink-3), var(--ink-2));
}

.wc-3 {
    background: linear-gradient(135deg, var(--ink), var(--ink-3), var(--ink));
}

.wc-4 {
    background: linear-gradient(135deg, var(--ink-2), var(--ink), var(--ink-2));
}

.wc-shapes {
    position: absolute;
    inset: 0;
}

.wcs {
    position: absolute;
    border-radius: 50%;
    animation: wcs-float 7s ease-in-out infinite;
}

.wcs.s1 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(180, 180, 180, 0.18), transparent 70%);
    top: -40px;
    right: -20px;
}

.wcs.s2 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(140, 140, 140, 0.12), transparent 70%);
    bottom: 10px;
    left: 30px;
    animation-delay: -3s;
}

@keyframes wcs-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(8px, -10px) scale(1.05);
    }
}

.wc-info {
    padding: 22px 24px;
    background: var(--ink-2);
}

.wc-info span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--chrome-dim);
    display: block;
    margin-bottom: 6px;
}

.wc-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.wc-info p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ═══════ TECH PARTNERS ═══════ */
.tech-partners {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.tp-track-wrap {
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    margin-top: 32px;
}

.tp-track {
    display: flex;
    gap: 64px;
    width: max-content;
    align-items: center;
    animation: tp-scroll 30s linear infinite;
    padding: 28px 0;
}

@keyframes tp-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 24px));
    }
}

.tp-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    opacity: 0.45;
    transition: opacity 0.4s var(--ease), color 0.4s var(--ease);
    flex-shrink: 0;
    user-select: none;
}

.tp-logo::after {
    content: '';
    width: 1px;
    height: 32px;
    background: var(--chrome-border);
    margin-left: 20px;
    flex-shrink: 0;
}

.tp-logo:hover {
    opacity: 1;
    color: var(--text-primary);
}

.tp-logo svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.tp-logo > span {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ═══════ TESTIMONIALS ═══════ */
.testimonials {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.t-track-wrap {
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.t-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: t-scroll 50s linear infinite;
}

@keyframes t-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 10px));
    }
}

.t-card {
    width: 340px;
    flex-shrink: 0;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--chrome-border);
    background: rgba(107, 90, 66, 0.04);
    transition: border-color 0.3s;
}

.t-card:hover {
    border-color: var(--chrome-border-strong);
}

/* Stat cards */
.t-card--stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.t-stat-num {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: var(--lime);
    margin-bottom: 10px;
}

.t-card--stat p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 14px;
}

.t-source {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Testimonial cards */
.t-card--testimonial {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(160deg, rgba(74, 124, 89, 0.06), rgba(107, 90, 66, 0.03));
    border-color: rgba(74, 124, 89, 0.20);
}

.t-stars {
    font-size: 1.1rem;
    color: var(--cta);
    letter-spacing: 2px;
}

.t-card--testimonial blockquote {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.65;
    font-style: italic;
    flex: 1;
}

.t-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
}

.t-author strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.t-author span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Transformation cards */
.t-card--transform {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.t-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.t-before .t-label {
    color: var(--text-dim);
}

.t-after .t-label {
    color: var(--lime);
}

.t-before p,
.t-after p {
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: normal;
    margin-bottom: 0;
}

.t-before p {
    color: var(--text-dim);
    text-decoration: line-through;
}

.t-after p {
    color: var(--text-primary);
    font-weight: 600;
}

.t-arrow {
    font-size: 1.5rem;
    color: var(--lime);
    text-align: center;
}

/* ═══════ VOR-ORT ═══════ */
.vor-ort {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.vor-ort-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vor-ort-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.vor-ort-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.vor-ort-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.vor-ort-benefits svg {
    color: var(--lime);
    flex-shrink: 0;
}

.vor-ort-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.voi-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--chrome-border);
    background: linear-gradient(160deg, rgba(74, 124, 89, 0.06), rgba(107, 90, 66, 0.03));
    text-align: center;
    max-width: 360px;
}

.voi-card svg {
    color: var(--lime);
    margin-bottom: 20px;
}

.voi-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* ═══════ TEAM ═══════ */
.team {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 720px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--chrome-border);
    background: rgba(107, 90, 66, 0.03);
    transition: border-color 0.3s, transform 0.3s var(--spring);
}

.team-card:hover {
    border-color: var(--chrome-border-strong);
    transform: translateY(-4px);
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--chrome-border);
}

.team-photo img,
.team-photo svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.team-photo--zoomed img {
    transform: scale(1.3);
    object-position: center 20%;
}

.team-photo--contain {
    background: var(--ink-2);
}

.team-photo--contain img {
    object-fit: contain;
    object-position: center;
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lime);
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ═══════ LEAD MAGNET ═══════ */
.lead-magnet {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.lm-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px;
    border-radius: 32px;
    border: 1px solid var(--chrome-border);
    background:
        radial-gradient(ellipse at 30% 50%, rgba(74, 124, 89, 0.06) 0%, transparent 60%),
        rgba(107, 90, 66, 0.03);
}

.lm-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.lm-includes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 500;
}

.lm-includes svg {
    color: var(--lime);
    flex-shrink: 0;
}

.lm-form-wrap {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--chrome-border);
    background: var(--ink);
}

.lm-form-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.lm-form .form-group {
    margin-bottom: 16px;
}

.form-group--checkbox {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #4A7C59;
    cursor: pointer;
}

.checkbox-label a {
    color: rgba(255,255,255,.7);
    text-decoration: underline;
}

/* ═══════ CTA ═══════ */
.cta-section {
    padding: 60px 0 120px;
    position: relative;
    z-index: 2;
}

.cta-card {
    border-radius: 32px;
    border: 1px solid var(--chrome-border);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(74, 124, 89, 0.06) 0%, transparent 60%),
        linear-gradient(160deg, rgba(107, 90, 66, 0.04), rgba(107, 90, 66, 0.01));
}

.cta-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    opacity: 1;
}

.cta-logo img {
    height: 220px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0.55) contrast(1.4) saturate(0.8);
}

.cta-card h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 52ch;
    margin: 0 auto 40px;
    line-height: 1.65;
}

/* ═══════ CONTACT ═══════ */
.contact {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ci-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--chrome-border);
    background: rgba(107, 90, 66, 0.04);
    transition: border-color 0.3s;
}

.ci-item:hover {
    border-color: var(--chrome-border-strong);
}

.ci-item svg {
    color: var(--chrome-dim);
    flex-shrink: 0;
}

.ci-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.ci-item span {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.contact-form {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--chrome-border);
    background: rgba(107, 90, 66, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
    padding: 13px 16px;
    background: rgba(107, 90, 66, 0.04);
    border: 1px solid var(--chrome-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    outline: none;
    border-color: var(--chrome);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.25);
}

.form-group select option {
    background: var(--ink);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ═══════ FOOTER ═══════ */
.footer {
    border-top: 1px solid var(--chrome-border);
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    height: 140px;
    width: auto;
    filter: brightness(0.55) contrast(1.4) saturate(0.8);
}

.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--chrome-border);
    font-size: 0.8rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 8px;
}

.form-privacy-notice {
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
}

.form-privacy-notice a {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: calc(var(--nav-h) + 60px);
    }

    .hero-visual {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

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

    .wc-lg {
        grid-column: 1;
    }

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

    .stats-row {
        flex-wrap: wrap;
        gap: 36px;
    }

    .stat-divider {
        display: none;
    }

    .vor-ort-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .lm-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {

    :root {
        --nav-h: 64px;
    }

    .stats-row {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .stat-item {
        display: flex;
        align-items: baseline;
        gap: 10px;
        text-align: left;
    }

    .stat-item p {
        margin-top: 0;
        font-size: 0.9rem;
    }

    .nav-inner {
        padding: 0 20px;
        gap: 0;
        justify-content: space-between;
    }

    .nav-logo {
        height: 80px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .container {
        padding: 0 24px;
    }

    .cta-card {
        padding: 48px 28px;
    }

    .hero {
        padding-left: 24px;
        padding-right: 24px;
    }


    .cta-logo img {
        height: auto;
        max-height: 140px;
    }

    .footer-logo {
        height: auto;
        max-height: 100px;
        max-width: 100%;
    }

    .contact-form {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    html {
        cursor: auto;
    }

    .cursor,
    .cursor-ring {
        display: none;
    }

    .trust-items {
        gap: 16px;
    }

    .trust-item {
        font-size: 0.78rem;
    }

    .lm-card {
        padding: 32px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ═══════════════════════════════════════════
   SERVICE GRID 2×2
═══════════════════════════════════════════ */
.service-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 960px) {
    .service-grid--2x2 {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ═══════════════════════════════════════════
   SERVICE GRID 5-KARTEN (3+2, zentriert)
═══════════════════════════════════════════ */
.service-grid--5 {
    grid-template-columns: repeat(6, 1fr);
}

.service-grid--5>.service-card {
    grid-column: span 2;
}

/* Untere Reihe (Karte 4 & 5) zentriert */
.service-grid--5>.service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.service-grid--5>.service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

@media (max-width: 960px) {
    .service-grid--5 {
        grid-template-columns: 1fr;
    }

    .service-grid--5>.service-card,
    .service-grid--5>.service-card:nth-child(4),
    .service-grid--5>.service-card:nth-child(5) {
        grid-column: auto;
    }
}

/* ═══════════════════════════════════════════
   PRICING TEASER
═══════════════════════════════════════════ */
.pricing-teaser {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.pricing-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--chrome-border);
    background: linear-gradient(160deg, rgba(107, 90, 66, 0.04), rgba(107, 90, 66, 0.01));
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s var(--ease), transform 0.15s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card:hover {
    border-color: var(--chrome-border-strong);
    transform: translateY(-4px);
}

.pricing-card--highlight {
    border-color: rgba(200, 200, 200, 0.22);
    background: linear-gradient(160deg, rgba(107, 90, 66, 0.07), rgba(107, 90, 66, 0.02));
}

.pricing-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.pricing-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bronze);
}

.pricing-card__range {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(130deg, #B87333 0%, #D4956A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card__note {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    opacity: 0.55;
}

.pricing-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.pricing-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

/* "Pakete ansehen" subtle link inside pricing card */
.pkg-details-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    color: var(--chrome-dim);
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    text-align: left;
    font-family: inherit;
}

.pkg-details-btn:hover {
    color: var(--chrome-light);
}

.pkg-details-btn:focus-visible {
    outline: 1px solid var(--chrome-border-strong);
    border-radius: 4px;
}

/* Pricing card: pointer cursor on hover */
.pricing-card[data-pkg] {
    cursor: pointer;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   PRICING MODAL
   ═══════════════════════════════════════════ */

.pkg-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    overscroll-behavior: contain;
}

.pkg-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.pkg-modal {
    background: var(--ink);
    border: 1px solid var(--chrome-border-strong);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 88vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    transform: translateY(28px) scale(0.97);
    transition: transform 0.35s var(--ease);
    scrollbar-width: thin;
    scrollbar-color: var(--chrome-border) transparent;
}

.pkg-overlay.open .pkg-modal {
    transform: translateY(0) scale(1);
}

.pkg-modal::-webkit-scrollbar {
    width: 4px;
}

.pkg-modal::-webkit-scrollbar-track {
    background: transparent;
}

.pkg-modal::-webkit-scrollbar-thumb {
    background: var(--chrome-border);
    border-radius: 2px;
}

/* Modal header */
.pkg-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 36px;
    border-bottom: 1px solid var(--chrome-border);
    position: sticky;
    top: 0;
    background: var(--ink);
    z-index: 2;
}

.pkg-modal__title {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

.pkg-modal__close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--chrome-border);
    background: transparent;
    color: var(--chrome-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: inherit;
}

.pkg-modal__close:hover {
    border-color: var(--chrome-border-strong);
    color: var(--text-primary);
    background: rgba(107, 90, 66, 0.06);
}

.pkg-modal__close:focus-visible {
    outline: 1px solid var(--chrome-border-strong);
}

/* Modal body */
.pkg-modal__body {
    padding: 32px 36px;
    flex: 1;
}

/* Package grid */
.pkg-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.pkg-package {
    background: rgba(107, 90, 66, 0.04);
    border: 1px solid var(--chrome-border);
    border-radius: var(--radius);
    padding: 22px 20px;
    transition: border-color 0.25s var(--ease);
}

.pkg-package:hover {
    border-color: var(--chrome-border-strong);
}

.pkg-package__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.pkg-package__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.pkg-package__price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bronze);
    white-space: nowrap;
    padding: 2px 8px;
    background: var(--bronze-dim);
    border-radius: 6px;
    flex-shrink: 0;
}

.pkg-package__items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pkg-package__items li {
    font-size: 0.84rem;
    color: var(--text-secondary);
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.pkg-package__items li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--chrome-dim);
}

/* Footer note */
.pkg-footer-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    border: 1px solid var(--chrome-border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 4px;
    line-height: 1.55;
}

.pkg-footer-note::before {
    content: '* ';
    color: var(--chrome-dim);
}

/* Modal footer */
.pkg-modal__footer {
    padding: 22px 36px 28px;
    border-top: 1px solid var(--chrome-border);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Mobile */
@media (max-width: 640px) {
    .pkg-overlay {
        padding: 16px;
        align-items: flex-end;
    }

    .pkg-modal {
        max-height: 92vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .pkg-modal__header,
    .pkg-modal__body,
    .pkg-modal__footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pkg-packages {
        grid-template-columns: 1fr;
    }

    .pkg-package__header {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pkg-overlay,
    .pkg-modal {
        transition: none;
    }
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════ */
.faq-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.faq-list {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--chrome-border);
    transition: background 0.25s;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.2s;
}

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

.faq-question::marker {
    display: none;
}

.faq-question:hover {
    background: linear-gradient(130deg, #4A7C59 0%, #7AAD8B 45%, #2C2418 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--chrome-border);
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.25s, background 0.25s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--chrome);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-icon::before {
    width: 12px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 1.5px;
    height: 12px;
    transform: translate(-50%, -50%);
}

details[open] .faq-icon {
    border-color: var(--chrome-border-strong);
    background: rgba(107, 90, 66, 0.06);
}

details[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 0 24px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.72;
    max-width: 64ch;
}

.faq-question:hover .faq-icon {
    border-color: var(--chrome-border-strong);
}

/* ═══════════════════════════════════════════
   LEISTUNGEN PAGE LAYOUT
═══════════════════════════════════════════ */
.leistungen-hero {
    min-height: 50vh;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 80px;
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.leistungen-pillar {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.leistungen-intro>p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 46ch;
    margin-bottom: 32px;
}

.leistungen-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.services--alt {
    background: rgba(107, 90, 66, 0.02);
}

@media (max-width: 960px) {
    .leistungen-pillar {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .leistungen-cards {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   LÖSUNGSBEISPIELE – Frame & Layout
═══════════════════════════════════════════ */
.demos-page-hero {
    position: relative;
    z-index: 2;
}

.demos-section {
    position: relative;
    z-index: 2;
}

.demo-block {
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .demo-layout {
        flex-direction: column;
    }

    .demo-layout .iphone-frame {
        align-self: center;
    }
}

@media (max-width: 600px) {
    .demo-meta {
        flex-direction: column;
    }

    .demo-3d-wrap {
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: 12px;
        touch-action: manipulation;
    }

    .demo-3d-wrap .demo-frame {
        transform-origin: top left;
        transform: scale(var(--mobile-scale, 0.4));
        width: calc(100% / var(--mobile-scale, 0.4));
    }

    .demo-frame__viewport {
        pointer-events: none;
    }
}

/* ═══════════════════════════════════════════
   COOKIE BANNER (Meta Pixel Consent)
   ═══════════════════════════════════════════ */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--chrome-border-strong);
    padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
    padding-left: calc(24px + env(safe-area-inset-left));
    padding-right: calc(24px + env(safe-area-inset-right));
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

#cookie-banner.cookie-banner--hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-banner__text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-banner__text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cookie-banner__text a {
    color: var(--lime);
    text-decoration: none;
}

.cookie-banner__text a:hover {
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
    font-family: inherit;
    white-space: nowrap;
    line-height: 1;
}

.cookie-banner__btn--neutral {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--chrome-border-strong);
}

.cookie-banner__btn--neutral:hover {
    color: var(--text-primary);
    border-color: var(--chrome);
}

.cookie-banner__btn--accept {
    background: linear-gradient(130deg, #4A7C59 0%, #7AAD8B 100%);
    color: #FFFFFF;
    border: 1px solid transparent;
}

.cookie-banner__btn--accept:hover {
    background: linear-gradient(130deg, #3d6649 0%, #5f9973 100%);
}

@media (max-width: 780px) {
    #cookie-banner {
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .cookie-banner__text {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .cookie-banner__actions {
        width: 100%;
        gap: 6px;
    }

    .cookie-banner__actions .cookie-banner__btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 9px 6px;
        font-size: 0.8125rem;
    }
}

/* ═══════════════════════════════════════════
   CONSENT SETTINGS MODAL
   ═══════════════════════════════════════════ */
#consent-settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    animation: consent-fade-in 0.25s var(--ease);
}

@keyframes consent-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.consent-settings {
    position: relative;
    background: var(--ink-2);
    border: 1px solid var(--chrome-border-strong);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--text-primary);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.1);
}

.consent-settings__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
    font-family: inherit;
}

.consent-settings__close:hover {
    color: var(--text-primary);
    background: var(--chrome-glass);
}

.consent-settings__title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.consent-settings__intro {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 24px;
}

.consent-settings__section {
    border-top: 1px solid var(--chrome-border);
    padding: 22px 0;
}

.consent-settings__section:last-of-type {
    border-bottom: 1px solid var(--chrome-border);
    margin-bottom: 26px;
}

.consent-settings__section-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.consent-settings__section-text {
    flex: 1;
    min-width: 0;
}

.consent-settings__section-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.consent-settings__section-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.consent-settings__badge {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-dim);
    padding: 6px 12px;
    border: 1px solid var(--chrome-border);
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.consent-settings__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Toggle Switch */
.consent-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}

.consent-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.consent-toggle__slider {
    position: absolute;
    inset: 0;
    background: rgba(200, 200, 200, 0.18);
    border: 1px solid var(--chrome-border-strong);
    border-radius: 26px;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.consent-toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.consent-toggle input:checked + .consent-toggle__slider {
    background: linear-gradient(130deg, #4A7C59 0%, #7AAD8B 100%);
    border-color: #4A7C59;
}

.consent-toggle input:checked + .consent-toggle__slider::before {
    transform: translateX(20px);
    background: var(--text-primary);
}

.consent-toggle input:focus-visible + .consent-toggle__slider {
    box-shadow: 0 0 0 3px var(--lime-dim);
}

@media (max-width: 560px) {
    .consent-settings {
        padding: 32px 22px;
        border-radius: var(--radius);
    }

    .consent-settings__actions {
        flex-direction: column-reverse;
    }

    .consent-settings__actions .cookie-banner__btn {
        width: 100%;
    }

    .consent-settings__section-head {
        gap: 14px;
    }
}