/* ============================================
   TOKMAK GmbH – Design System
   Räume mit Stil
   ============================================ */

/* --- Karla Font (Lokal, DSGVO-konform) ---
   Dateien in /assets/fonts/ ablegen:
   - karla-bold.woff2
   - karla-regular.woff2
   - karla-light.woff2
   ------------------------------------------------------------ */
@font-face {
    font-family: 'Karla';
    src: url('../fonts/karla-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karla';
    src: url('../fonts/karla-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karla';
    src: url('../fonts/karla-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* --- CSS Custom Properties – Tokmak Farbwelt --- */
:root {
    /* Farben – Brand (aus Design Guidelines) */
    --color-primary: #8C8279;          /* Warmgrau – CMYK 37/28/27/15 */
    --color-primary-light: #A49A91;
    --color-primary-dark: #6B635C;
    --color-secondary: #2D2926;        /* Anthrazit – Pantone Black 3C */
    --color-secondary-light: #4A4541;
    --color-accent: #8C8279;           /* Warmgrau als Akzent (kein knalliges Rot) */
    --color-accent-hover: #6B635C;

    /* Farben – Neutral */
    --color-white: #ffffff;
    --color-off-white: #F8F7F5;
    --color-light: #EFEDEA;
    --color-border: #DDD9D4;
    --color-muted: #9A9189;
    --color-text: #3D3835;
    --color-dark: #2D2926;
    --color-black: #1C1917;

    /* Farben – Semantisch */
    --color-success: #4A7C59;
    --color-error: #B44130;
    --color-warning: #C49A2A;

    /* Typografie – Karla */
    --font-heading: 'Karla', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Karla', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Schriftgrößen – Fluid Skala */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.55rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.85rem, 1.5rem + 1.75vw, 2.75rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-hero: clamp(2.5rem, 1.8rem + 3.5vw, 4.2rem);

    /* Zeilenhöhen */
    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Buchstabenabstand – Brand-Guideline: Versalien mit Spationierung */
    --tracking-tight: -0.01em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-heading: 0.08em;  /* Versalien-Spationierung laut Guidelines */

    /* Abstände */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    --space-section: clamp(5rem, 4rem + 5vw, 9rem);

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 780px;
    --container-wide: 1400px;
    --container-padding: clamp(1.25rem, 1rem + 2vw, 3rem);

    /* Radien – Minimal, architektonisch */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Schatten – Dezent */
    --shadow-sm: 0 1px 3px rgba(45, 41, 38, 0.06);
    --shadow-md: 0 4px 16px rgba(45, 41, 38, 0.08);
    --shadow-lg: 0 8px 32px rgba(45, 41, 38, 0.1);

    /* Übergänge */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.25, 0.1, 0.25, 1);

    /* Header */
    --header-height: 160px;

    /* Hero */
    --hero-min-height: 92vh;
    --hero-bg-color: var(--color-secondary);
    --hero-overlay-gradient: linear-gradient(
        170deg,
        rgba(28, 25, 23, 0.92) 0%,
        rgba(45, 41, 38, 0.82) 50%,
        rgba(28, 25, 23, 0.65) 100%
    );
    --hero-text-color: var(--color-white);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

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

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

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

a:hover,
a:focus-visible {
    color: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-dark);
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

::selection {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.container-wide {
    max-width: var(--container-wide);
}

.content-narrow {
    max-width: var(--container-narrow);
}

/* ============================================
   HEADER – Tokmak
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 41, 38, 0.04);
    overflow: hidden;
    transition: background 0.4s ease, box-shadow 0.4s ease,
                backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 6px rgba(45, 41, 38, 0.06), 0 4px 24px rgba(45, 41, 38, 0.04);
    border-bottom-color: rgba(45, 41, 38, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding-block: 0.5rem;
}

/* Logo */
.site-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    z-index: 1001;
    gap: 1px;
    margin-right: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
    line-height: 1.1;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
    line-height: 1;
}

.logo-img {
    height: 144px;
    width: auto;
    max-width: 70vw;
    max-height: none;
    object-fit: contain;
}

.site-logo:hover .logo-text {
    color: var(--color-primary-dark);
}

/* Navigation */
.nav-list {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-secondary);
}

/* Kontakt-Button in Navigation */
.nav-link-cta {
    background: var(--color-secondary);
    color: var(--color-white) !important;
    padding: 0.55em 1.3em;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base), color var(--transition-base),
                transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 2px 8px rgba(45, 41, 38, 0.12);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 41, 38, 0.2);
}

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-secondary);
    border-radius: 1px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* ============================================
   HERO ENGINE – Tokmak
   ============================================ */
.hero {
    position: relative;
    min-height: var(--hero-min-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--hero-bg-color);
}

.hero-bg-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 40%;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay-gradient);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    color: var(--hero-text-color);
    width: 100%;
}

.hero-kicker {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--hero-text-color);
    margin-bottom: var(--space-lg);
    letter-spacing: var(--tracking-tight);
}

.hero-headline-accent {
    color: var(--color-primary-light);
}

.hero-subheadline {
    font-size: var(--text-lg);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Trust-Leiste unter Hero */
.hero-trust {
    position: relative;
    z-index: 2;
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-trust-item {
    font-size: var(--text-sm);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: var(--tracking-wide);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.hero-trust-item strong {
    color: var(--color-white);
    font-weight: 700;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
}

.hero-scroll-arrow {
    display: block;
    font-size: 1.2rem;
    margin-top: var(--space-xs);
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Staggered Reveal */
.reveal-stagger {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

/* ============================================
   BUTTONS – Tokmak
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.9em 2.2em;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--color-white);
}

/* Outline auf hellem Hintergrund */
.btn-outline-dark {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-border);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-lg {
    padding: 1.05em 2.8em;
    font-size: var(--text-base);
}

/* ---- Edle Glow-Puls-Animation für CTA-Buttons ---- */
@keyframes glowPulse {
    0%, 100% {
        box-shadow:
            0 0 8px rgba(164, 154, 145, 0.25),
            0 0 24px rgba(164, 154, 145, 0.08);
    }
    50% {
        box-shadow:
            0 0 16px rgba(164, 154, 145, 0.45),
            0 0 48px rgba(164, 154, 145, 0.15),
            0 2px 12px rgba(0, 0, 0, 0.1);
    }
}

@keyframes glowPulseLight {
    0%, 100% {
        box-shadow:
            0 0 8px rgba(255, 255, 255, 0.2),
            0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow:
            0 0 20px rgba(255, 255, 255, 0.4),
            0 0 48px rgba(255, 255, 255, 0.12),
            0 8px 32px rgba(0, 0, 0, 0.2);
    }
}

@keyframes glowPulseSubtle {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.6);
    }
}

.btn-glow.btn-primary {
    animation: glowPulse 3s ease-in-out infinite;
}

.btn-glow.btn-primary:hover {
    animation: none;
    box-shadow: 0 0 20px rgba(164, 154, 145, 0.5), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-glow.btn-cta-highlight {
    animation: glowPulseLight 3s ease-in-out infinite;
}

.btn-glow.btn-cta-highlight:hover {
    animation: none;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.45), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-glow-subtle {
    animation: glowPulseSubtle 3s ease-in-out infinite;
}

.btn-glow-subtle:hover {
    animation: none;
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding-block: var(--space-section);
}

.section-alt {
    background: var(--color-off-white);
}

.section-dark {
    background: var(--color-secondary);
    color: var(--color-white);
}

.section-header {
    margin-bottom: var(--space-3xl);
    max-width: 680px;
}

.section-header.is-centered {
    text-align: center;
    margin-inline: auto;
}

.section-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    display: block;
}

.section-dark .section-label {
    color: var(--color-primary-light);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-dark);
    letter-spacing: var(--tracking-tight);
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-subtitle {
    font-size: var(--text-lg);
    font-weight: 300;
    color: var(--color-muted);
    line-height: var(--leading-relaxed);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* Page Header (Unterseiten) – gleicher Look wie Startseiten-Hero */
.page-header {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    background: var(--color-secondary);
    color: var(--color-white);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--color-secondary);
}

.page-header-bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 40%;
    will-change: transform;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(28, 25, 23, 0.92) 0%,
        rgba(45, 41, 38, 0.82) 50%,
        rgba(28, 25, 23, 0.65) 100%
    );
    z-index: 1;
}

.page-header > .container {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    width: 100%;
}

.page-header-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-lg);
    display: block;
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: var(--tracking-tight);
}

.page-header-subtitle {
    font-size: var(--text-lg);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* ============================================
   CARDS – Tokmak
   ============================================ */
.card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-light);
    transition: transform 0.45s cubic-bezier(.25,.46,.45,.94),
                box-shadow 0.45s cubic-bezier(.25,.46,.45,.94),
                border-color 0.3s ease;
    opacity: 0;
    transform: translateY(24px) scale(0.97);
}

.card.card-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.10);
    border-color: var(--color-warmgray);
}

.card-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-md);
    letter-spacing: var(--tracking-tight);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.card-text {
    color: var(--color-muted);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

/* ============================================
   PROCESS STEPS (Startseite + Badsanierung)
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    counter-reset: process;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background: var(--color-secondary);
    color: var(--color-white);
    font-weight: 700;
    font-size: var(--text-base);
    border-radius: 50%;
}

.process-step-title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-xs);
    color: var(--color-dark);
}

.process-step-text {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--color-muted);
    line-height: var(--leading-relaxed);
}

/* Verbindungslinie */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 1px;
    background: var(--color-border);
}

/* ============================================
   PROBLEM vs. LÖSUNG (Startseite Sektion 2)
   – Einzelne Karten mit Hover-Animation
   ============================================ */
.contrast-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contrast-card {
    padding: var(--space-2xl) clamp(var(--space-xl), 3vw, var(--space-2xl));
    position: relative;
    border-radius: var(--radius-lg);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.contrast-card:hover {
    transform: translateY(-8px) scale(1.015);
}

.contrast-card-problem {
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(45, 41, 38, 0.06);
}

.contrast-card-problem:hover {
    box-shadow: 0 20px 60px rgba(45, 41, 38, 0.12), 0 8px 24px rgba(45, 41, 38, 0.06);
}

.contrast-card-solution {
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(45, 41, 38, 0.15);
}

.contrast-card-solution:hover {
    box-shadow: 0 24px 64px rgba(45, 41, 38, 0.25), 0 8px 24px rgba(45, 41, 38, 0.12);
}

.contrast-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    opacity: 0.45;
}

.contrast-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.contrast-card-solution .contrast-title {
    color: var(--color-white);
}

.contrast-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

.contrast-list li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}

.contrast-card-problem .contrast-list li::before {
    content: '✗';
    color: var(--color-error);
}

.contrast-card-solution .contrast-list li::before {
    content: '✓';
    color: var(--color-primary-light);
}

/* ============================================
   CONTENT SPLIT (Leistungen / Badsanierung)
   ============================================ */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.content-split-reverse .content-split-text {
    order: 2;
}

.content-split-reverse .content-split-visual {
    order: 1;
}

.content-split-text p {
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

.content-split-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.content-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border-radius: var(--radius-md);
    min-height: 320px;
    color: var(--color-muted);
    font-size: var(--text-sm);
    border: 1px dashed var(--color-border);
}

/* Check-Liste */
.check-list {
    margin-top: var(--space-md);
}

.check-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    font-weight: 300;
}

.check-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* Feature Blocks */
.feature-block {
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-secondary);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.feature-block.feature-visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-block:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 36px rgba(45, 41, 38, 0.10);
    border-left-color: var(--color-primary);
}

.feature-block:hover .feature-title {
    color: var(--color-primary);
}

.feature-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    transition: color 0.3s ease;
}

.feature-text {
    color: var(--color-muted);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

/* ============================================
   REFERENZEN – Projektgalerie
   ============================================ */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-light);
}

.project-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.project-card:hover .project-card-image img {
    transform: scale(1.03);
}

.project-card-body {
    padding: var(--space-lg);
}

.project-card-type {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-heading);
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.project-card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-dark);
}

.project-card-desc {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--color-muted);
}

.project-card-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.project-tag {
    font-size: var(--text-xs);
    font-weight: 400;
    padding: 0.25em 0.75em;
    background: var(--color-off-white);
    border-radius: var(--radius-sm);
    color: var(--color-muted);
}

/* 3D-Showcase: Planung vs. Ergebnis */
.showcase-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.showcase-compare-item {
    position: relative;
}

.showcase-compare-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.showcase-compare-label {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-heading);
    color: var(--color-white);
    background: rgba(45, 41, 38, 0.75);
    padding: 0.35em 0.8em;
    border-radius: var(--radius-sm);
}

/* ============================================
   FAQ AKKORDEON
   ============================================ */
.faq-list {
    max-width: var(--container-narrow);
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-dark);
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform var(--transition-base);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-secondary);
    border-radius: 1px;
}

.faq-icon::before {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1.5px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 1.5px;
    transform: translateX(-50%);
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.faq-item.is-open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-base);
}

.faq-answer-inner {
    padding-bottom: var(--space-lg);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    color: var(--color-muted);
}

.faq-answer-inner p {
    margin-bottom: var(--space-sm);
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* ============================================
   STATS / ZAHLEN
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.section-dark .stat-number {
    color: var(--color-white);
}

.stat-label {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CTA BLOCK – Tokmak
   ============================================ */
.cta-block {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.cta-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: var(--text-lg);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
    max-width: 550px;
    margin-inline: auto;
}

.section-cta-block {
    padding-block: var(--space-section);
    overflow: hidden;
}

/* ============================================
   KONTAKT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

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

.contact-detail strong {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-heading);
    color: var(--color-muted);
    margin-bottom: var(--space-xs);
}

.contact-detail p {
    color: var(--color-text);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

.contact-detail a {
    color: var(--color-secondary);
}

.contact-detail a:hover {
    color: var(--color-primary);
}

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

.contact-trust p {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--color-muted);
    line-height: var(--leading-relaxed);
}

/* Erwartungsmanagement */
.contact-process {
    margin-top: var(--space-xl);
}

.contact-process-title {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-heading);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.contact-process-steps {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-process-step {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.contact-process-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: 50%;
}

/* ============================================
   CONTACT FORM – Tokmak
   ============================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
}

.form-label .required {
    color: var(--color-error);
}

.form-label .optional {
    font-weight: 300;
    color: var(--color-muted);
    font-size: var(--text-xs);
}

.form-input,
.form-select {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 300;
    padding: 0.8em 1em;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238C8279' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    padding-right: 2.5em;
    cursor: pointer;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(45, 41, 38, 0.08);
}

.form-input.is-invalid,
.form-select.is-invalid {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(180, 65, 48, 0.08);
}

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

.form-privacy {
    font-size: var(--text-xs);
    font-weight: 300;
    color: var(--color-muted);
    line-height: var(--leading-relaxed);
}

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

/* Honeypot */
.form-field-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Meldungen */
.form-message {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.form-message-success {
    background: #EBF5ED;
    border: 1px solid var(--color-success);
    color: #2D5A35;
}

.form-message-error {
    background: #FDF0ED;
    border: 1px solid var(--color-error);
    color: #8A2C1F;
}

/* ============================================
   CONTENT (Impressum, Datenschutz)
   ============================================ */
.content-narrow h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.content-narrow h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.content-narrow p {
    margin-bottom: var(--space-md);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    color: var(--color-text);
}

.content-narrow ul,
.content-narrow ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.content-narrow ul {
    list-style: disc;
}

.content-narrow ol {
    list-style: decimal;
}

.content-narrow li {
    margin-bottom: var(--space-xs);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

.content-narrow a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ============================================
   FOOTER – Tokmak
   ============================================ */
.site-footer {
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.6);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-lg);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
    align-items: start;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-heading);
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-lg);
}

.footer-address {
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

.footer-address a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-address a:hover {
    color: var(--color-white);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: var(--text-sm);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Rechtliches inline unter Kontakt */
.footer-legal-inline {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.footer-legal-inline a {
    font-size: var(--text-xs);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer-legal-inline a:hover {
    color: var(--color-white);
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: var(--text-xs);
}

/* Footer Map */
.footer-col-map {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-map {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1a1a1a;
    filter: grayscale(1) brightness(1.15) contrast(0.9) invert(1);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-map-address {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
}

.footer-map-pin {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
}

/* Footer CTA Button */
.footer-cta {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: var(--text-xs);
    font-weight: 400;
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all var(--transition-fast);
    text-align: center;
}

.footer-cta:hover {
    border-color: var(--color-white);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* --- Webdesign Credit Animation --- */
.footer-credit {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
    padding-bottom: 6px;
}

.footer-credit a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Linie unter dem gesamten Text – wartet auf .animate */
.credit-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 1px;
}

.footer-credit.animate .credit-line {
    animation: creditDrawLine 3.5s ease-in-out forwards;
    animation-delay: 0.5s;
}

/* Stern am Ende – wartet auf .animate */
.credit-pen-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.credit-pen {
    width: 14px;
    height: 14px;
    opacity: 0;
    filter: drop-shadow(0 0 0px var(--color-primary));
}

.footer-credit.animate .credit-pen {
    animation: creditStarGlow 3.5s ease-in-out forwards;
    animation-delay: 0.5s;
}

/* Punkt wird nicht mehr gebraucht */
.credit-dot {
    display: none;
}

@keyframes creditDrawLine {
    0% { width: 0; }
    60% { width: 100%; }
    100% { width: 100%; }
}

@keyframes creditStarGlow {
    0%, 55% { opacity: 0; filter: drop-shadow(0 0 0px var(--color-primary)); }
    65% { opacity: 1; filter: drop-shadow(0 0 6px var(--color-primary-light)); }
    80% { opacity: 1; filter: drop-shadow(0 0 3px var(--color-primary)); }
    100% { opacity: 0.7; filter: drop-shadow(0 0 0px var(--color-primary)); }
}

/* ============================================
   KARRIERE-SEITE
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit-card {
    padding: var(--space-2xl) var(--space-xl);
    border: 1px solid var(--color-light);
    border-radius: var(--radius-lg);
    text-align: center;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
}

.benefit-card.benefit-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: benefitPopIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes benefitPopIn {
    0%   { transform: translateY(30px) scale(0.85); opacity: 0; }
    50%  { transform: translateY(-6px) scale(1.04); opacity: 1; }
    70%  { transform: translateY(2px) scale(0.99); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-warmgray));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(45, 41, 38, 0.12);
    border-color: var(--color-warmgray);
}

.benefit-icon {
    font-size: 2.4rem;
    margin-bottom: var(--space-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-offwhite);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.15) rotate(-5deg);
    background: var(--color-light);
}

.benefit-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.benefit-text {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--color-muted);
}

/* ============================================
   CTA BLOCK – Bild-Hintergrund Variante
   ============================================ */
.cta-block-image {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-block-bg {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}

.cta-block-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(28, 25, 23, 0.88) 0%,
        rgba(45, 41, 38, 0.82) 50%,
        rgba(45, 41, 38, 0.75) 100%
    );
    z-index: 1;
}

.cta-block-content {
    position: relative;
    z-index: 2;
}

.btn-cta-highlight {
    background: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-highlight:hover,
.btn-cta-highlight:focus-visible {
    background: var(--color-off-white);
    color: var(--color-secondary);
    border-color: var(--color-off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================
   3D TILT CARD – Planungssektion
   ============================================ */
.tilt-card {
    perspective: 800px;
    cursor: grab;
    overflow: hidden;
}

.tilt-card:active {
    cursor: grabbing;
}

.tilt-card-inner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
    box-shadow: 0 12px 48px rgba(45, 41, 38, 0.15);
}

.tilt-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* Dezentes Koordinaten-Grid Overlay */
.tilt-card-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 25% 25%;
}

/* Achsenkreuz */
.tilt-card-grid::before,
.tilt-card-grid::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
}

.tilt-card-grid::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

.tilt-card-grid::after {
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
}

.tilt-card:hover .tilt-card-grid,
.tilt-card.is-animating .tilt-card-grid {
    opacity: 1;
}

.tilt-card-shine {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--shine-x, 50%) var(--shine-y, 50%),
        rgba(255, 255, 255, 0.15) 0%,
        transparent 60%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tilt-card:hover .tilt-card-shine {
    opacity: 1;
}

/* Endloses sanftes Wackeln – lädt zum Klicken ein */
@keyframes idleWobble {
    0%   { transform: perspective(800px) rotateX(0deg) rotateY(0deg); }
    20%  { transform: perspective(800px) rotateX(-2deg) rotateY(3deg); }
    40%  { transform: perspective(800px) rotateX(1.5deg) rotateY(-2deg); }
    60%  { transform: perspective(800px) rotateX(-1deg) rotateY(1.5deg); }
    80%  { transform: perspective(800px) rotateX(0.5deg) rotateY(-1deg); }
    100% { transform: perspective(800px) rotateX(0deg) rotateY(0deg); }
}

.tilt-card.is-idle-wobble .tilt-card-inner {
    animation: idleWobble 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.tilt-card.is-idle-wobble .tilt-card-grid {
    opacity: 0.5;
}

.tilt-card.is-idle-wobble .tilt-card-shine {
    opacity: 0.3;
}

/* ============================================
   PROCESS STEPS – Hover-Pop + Scroll-Reveal
   ============================================ */

/* Scroll-Reveal: Startzustand (unsichtbar) */
.process-step.step-animate {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
    transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Scroll-Reveal: Sichtbar */
.process-step.step-animate.step-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Initialer Pop-Effekt beim ersten Einblenden */
.process-step.step-pop {
    animation: stepPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stepPopIn {
    0%   { transform: translateY(30px) scale(0.85); opacity: 0; }
    50%  { transform: translateY(-8px) scale(1.06); opacity: 1; }
    70%  { transform: translateY(3px) scale(0.98); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Desktop: Hover-Pop-Effekt */
@media (min-width: 681px) {
    .process-step.step-visible {
        transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
                    transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
                    box-shadow 0.35s ease;
        border-radius: var(--radius-lg);
        padding: var(--space-lg);
        cursor: default;
    }

    .process-step.step-visible:hover {
        transform: translateY(-6px) scale(1.04);
        box-shadow: 0 16px 48px rgba(45, 41, 38, 0.12);
        background: var(--color-white);
    }

    .process-step.step-visible:hover .process-step-number {
        transform: scale(1.15);
        box-shadow: 0 4px 16px rgba(45, 41, 38, 0.2);
    }
}

.process-step-number {
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.35s ease;
}

/* ============================================
   FOOTER – Logo & Inhaber Portrait
   ============================================ */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    height: 144px;
    width: auto;
    max-width: calc(100vw - 2 * var(--container-padding));
    max-height: none;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 1;
}

.footer-inhaber {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.footer-inhaber-portrait {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-inhaber-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-inhaber-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-inhaber-name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-white);
}

.footer-inhaber-role {
    font-size: var(--text-xs);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    text-transform: none;
    letter-spacing: var(--tracking-wide);
}

.footer-inhaber-quote {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    line-height: var(--leading-relaxed);
    margin-top: var(--space-sm);
    border: none;
    padding: 0;
}

/* ============================================
   SECTION REVEAL ANIMATION
   ============================================ */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Rechtstexte (Datenschutz, Impressum) – sofort sichtbar, kein Reveal */
.section:has(.content-narrow) {
    opacity: 1;
    transform: none;
    transition: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 960px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .content-split-reverse .content-split-text,
    .content-split-reverse .content-split-visual {
        order: unset;
    }

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

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

    .footer-map {
        height: 180px;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

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

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

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

    .showcase-compare {
        grid-template-columns: 1fr;
    }

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

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

/* Mobile */
@media (max-width: 680px) {
    :root {
        --header-height: 100px;
    }

    /* ===== GLOBAL MOBILE STABILITY ===== */
    *,
    *::before,
    *::after {
        max-width: 100vw;
    }

    .site-footer {
        overflow-x: clip;
    }

    /* Header: overflow aufheben damit Mobile-Nav sichtbar wird */
    .site-header {
        overflow: visible;
    }

    /* Logo auf Mobile */
    .logo-img {
        height: 80px;
    }

    /* ===== MOBILE NAVIGATION (Burger) ===== */
    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: var(--color-secondary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 10000;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        text-align: center;
        width: 100%;
        padding: 0 var(--space-xl);
    }

    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: var(--text-xl);
        color: var(--color-white);
        display: block;
        padding: var(--space-lg) var(--space-md);
        font-weight: 400;
        letter-spacing: var(--tracking-wide);
        transition: background 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.is-active {
        background: rgba(255, 255, 255, 0.06);
        color: var(--color-white);
    }

    .nav-link-cta {
        font-size: var(--text-lg);
        margin-top: var(--space-lg);
        background: var(--color-white) !important;
        color: var(--color-secondary) !important;
        padding: var(--space-md) var(--space-xl) !important;
        border-radius: var(--radius-sm);
        font-weight: 700;
        display: inline-block;
        width: auto;
        letter-spacing: var(--tracking-heading);
        box-shadow: none;
    }

    .nav-link-cta:hover,
    .nav-link-cta.is-active {
        background: var(--color-white) !important;
        color: var(--color-secondary) !important;
    }

    /* Burger Toggle auf Mobile: über Nav-Overlay */
    .nav-toggle {
        position: relative;
        z-index: 10001;
    }

    /* Burger X icon white on dark bg */
    .nav-toggle.is-open .nav-toggle-bar {
        background: var(--color-white);
    }

    /* ===== PAGE HEADER (Unterseiten Hero) – Mobile ===== */
    .page-header {
        min-height: 55vh;
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .page-header > .container {
        text-align: center;
    }

    .page-header-title {
        font-size: clamp(1.8rem, 1.2rem + 3vw, 2.8rem);
    }

    .page-header-subtitle {
        margin-inline: auto;
        font-size: var(--text-base);
    }

    .page-header-bg {
        position: absolute;
        inset: 0;
    }

    .page-header-bg img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .page-header-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(45, 41, 38, 0.75) 0%,
            rgba(45, 41, 38, 0.55) 100%
        );
        z-index: 1;
    }

    /* ===== HERO (Startseite) – Mobile ===== */
    .hero {
        min-height: 85vh;
        padding-bottom: var(--space-3xl);
    }

    .hero-content {
        text-align: center;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 1.2rem + 3vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
        text-align: center;
    }

    /* ===== CTA BLOCK – Mobile ===== */
    .cta-block {
        padding: var(--space-2xl) var(--space-lg);
    }

    .cta-block-image {
        border-radius: var(--radius-md);
    }

    .cta-block-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .cta-block-overlay {
        background: linear-gradient(
            180deg,
            rgba(45, 41, 38, 0.72) 0%,
            rgba(45, 41, 38, 0.55) 100%
        );
    }

    .cta-title {
        font-size: clamp(1.4rem, 1rem + 2vw, 2rem);
    }

    .cta-block-image .btn-lg {
        width: 100%;
        max-width: 320px;
    }

    /* ===== GRIDS – Mobile ===== */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* ===== PROCESS STEPS – Mobile ===== */
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .process-step {
        display: grid;
        grid-template-columns: 48px 1fr;
        text-align: left;
        gap: var(--space-md);
        align-items: start;
    }

    .process-step-number {
        margin: 0;
    }

    /* Touch-Tap Feedback auf Mobile */
    .process-step.step-visible {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .process-step.step-visible:active {
        transform: scale(0.97);
    }

    /* ===== CONTRAST CARDS – Mobile ===== */
    .contrast-cards {
        gap: var(--space-lg);
    }

    .contrast-card {
        padding: var(--space-xl);
    }

    /* ===== CARDS (Leistungsumfang etc.) – Mobile ===== */
    .card {
        padding: var(--space-lg);
    }

    /* Touch Feedback */
    .card.card-visible:active {
        transform: scale(0.97);
    }

    /* ===== BENEFIT CARDS (Karriere) – Mobile ===== */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .benefit-card {
        padding: var(--space-xl);
    }

    .benefit-icon {
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }

    /* Touch Feedback */
    .benefit-card.benefit-visible:active {
        transform: scale(0.97);
    }

    /* ===== FEATURE BLOCKS (Stellenangebote) – Mobile ===== */
    .feature-block {
        padding: var(--space-lg);
    }

    .feature-block.feature-visible:active {
        transform: scale(0.97);
    }

    /* ===== CONTENT SPLIT – Mobile ===== */
    .content-split {
        gap: var(--space-lg);
    }

    .content-split-visual img {
        border-radius: var(--radius-md);
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    /* ===== FAQ – Mobile ===== */
    .faq-question {
        padding: var(--space-md);
        font-size: var(--text-base);
    }

    /* ===== STATS – Mobile ===== */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }

    /* ===== TILT CARD – Mobile ===== */
    .tilt-card {
        cursor: default;
    }

    /* ===== FOOTER – Mobile ===== */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-col-brand {
        order: 1;
    }

    .footer-col-map {
        order: 2;
    }

    .footer-logo-img {
        height: 100px;
    }

    .footer-inhaber {
        gap: var(--space-md);
    }

    .footer-inhaber-portrait {
        width: 56px;
        height: 56px;
    }

    /* Map – gleich wie Desktop, nur passende Höhe */
    .footer-map {
        height: 200px;
        border-radius: var(--radius-md);
    }

    .footer-map iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

    .footer-map-wrapper {
        width: 100%;
    }

    /* ===== CONTACT FORM – Mobile ===== */
    .contact-grid {
        gap: var(--space-lg);
    }

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

    /* ===== SECTION SPACING – Mobile ===== */
    .section {
        padding-block: var(--space-2xl);
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-title {
        font-size: clamp(1.4rem, 1rem + 2vw, 2rem);
    }

    /* ===== LEGAL PAGES – Mobile ===== */
    .content-narrow {
        padding-inline: 0;
    }

    .content-narrow h2 {
        font-size: var(--text-xl);
    }

    .content-narrow h3 {
        font-size: var(--text-lg);
    }
}

/* Kleine Handys */
@media (max-width: 400px) {
    :root {
        --header-height: 88px;
    }

    .logo-img {
        height: 64px;
    }

    .hero-headline,
    .page-header-title {
        font-size: clamp(1.5rem, 1rem + 2.5vw, 2.2rem);
    }

    .section-title {
        font-size: clamp(1.2rem, 0.9rem + 1.5vw, 1.6rem);
    }

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

    .stat-number {
        font-size: var(--text-xl);
    }

    .footer-map {
        height: 180px;
    }

    .footer-logo-img {
        height: 80px;
    }

    .nav-link {
        font-size: var(--text-lg);
        padding: var(--space-md) var(--space-sm);
    }

    .page-header {
        min-height: 45vh;
    }

    .hero {
        min-height: 80vh;
    }

    .cta-title {
        font-size: clamp(1.2rem, 0.8rem + 1.5vw, 1.6rem);
    }

    .benefit-card,
    .feature-block,
    .card {
        padding: var(--space-md);
    }

    .contrast-card {
        padding: var(--space-lg);
    }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .site-header,
    .hero-scroll-indicator,
    .nav-toggle,
    .section-cta-block,
    .site-footer {
        display: none;
    }

    body {
        font-size: 11pt;
        line-height: 1.5;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
