/* ============================================================
   DIGITARO — test.css
   Fresh design system. No inheritance from coming-soon.css.
   ============================================================ */

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

/* ---------- Design Tokens ---------- */
:root {
    --bg:           #0a0a0a;
    --bg-surface:   #111111;
    --text:         #fafafa;
    --text-muted:   #71717a;
    --text-dim:     #3f3f46;
    --accent:       #dc2626;
    --accent-dark:  #b91c1c;
    --gold:         #f59e0b;
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-primary: linear-gradient(135deg, #b91c1c 0%, #f59e0b 100%);
    --light-bg:     #f9fafb;
    --white:        #ffffff;
    --border:       rgba(255, 255, 255, 0.08);
    --border-light: rgba(0, 0, 0, 0.08);
    --font:         'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --container-w:  min(90vw, 1320px);
    --section-py:   clamp(5rem, 8vw, 9rem);
    --nav-h:        72px;
    --marquee-py:   1rem;
    --marquee-h:    calc(var(--marquee-py) * 2 + 1.1rem);
    --radius-card:  2rem;
    --radius-btn:   100px;
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none;
}

/* Scrollbar — Logo-Farben (Rot → Gold) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.12);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid rgba(10, 10, 10, 0.4);
    box-shadow:
        inset 0 0 5px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(245, 158, 11, 0.35);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--gold) 100%);
    box-shadow:
        inset 0 0 5px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(245, 158, 11, 0.5);
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.85) rgba(30, 41, 59, 0.12);
}

@media (hover: hover) and (pointer: fine) {
    *,
    *::before,
    *::after {
        cursor: none !important;
    }

    a,
    button,
    input,
    textarea,
    select,
    .btn,
    .nav-link,
    .contact-item {
        cursor: none !important;
    }
}

.custom-cursor-dot {
    position: fixed;
    width: 18px;
    height: 18px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 14px rgba(245, 158, 11, 0.8),
        0 0 28px rgba(220, 38, 38, 0.5),
        inset 0 0 7px rgba(255, 255, 255, 0.3);
    transition: transform 0.1s ease-out, background 0.3s ease, box-shadow 0.3s ease, width 0.2s ease, height 0.2s ease;
    will-change: transform, background, box-shadow;
}

.custom-cursor-dot.hover {
    width: 24px;
    height: 24px;
    background: rgba(220, 38, 38, 0.95) !important;
    box-shadow:
        0 0 20px rgba(220, 38, 38, 1),
        0 0 40px rgba(245, 158, 11, 0.6),
        inset 0 0 12px rgba(255, 200, 200, 0.4) !important;
}

.custom-cursor-dot.color-dark {
    background: rgba(245, 158, 11, 0.9);
    box-shadow:
        0 0 14px rgba(245, 158, 11, 0.8),
        0 0 28px rgba(220, 38, 38, 0.5),
        inset 0 0 7px rgba(255, 255, 255, 0.3);
}

.custom-cursor-dot.color-light {
    background: rgba(220, 38, 38, 0.95);
    box-shadow:
        0 0 14px rgba(220, 38, 38, 0.9),
        0 0 28px rgba(249, 115, 22, 0.6),
        inset 0 0 7px rgba(255, 200, 200, 0.4);
}

.custom-cursor-dot.color-text {
    background: rgba(249, 115, 22, 0.9);
    box-shadow:
        0 0 14px rgba(249, 115, 22, 0.8),
        0 0 28px rgba(245, 158, 11, 0.5),
        inset 0 0 7px rgba(255, 255, 255, 0.3);
}

.click-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

@keyframes digitaro-ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

@media (max-width: 768px), (pointer: coarse) {
    body,
    body * {
        cursor: auto !important;
    }

    .custom-cursor-dot {
        display: none !important;
    }
}

/* Kein Markieren — Ausnahme: Kontaktdaten & Formularfelder */
*,
*::before,
*::after {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.trust-line a,
.contact-details .contact-item,
.contact-details .contact-item span,
a[href^="mailto:"],
a[href^="tel:"],
.legal-info .contact-link,
.legal-info a[href^="mailto:"],
.legal-info a[href^="tel:"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

input,
textarea,
select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Grain overlay — always fixed, never on scroll containers */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px;
}

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

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

button {
    font-family: var(--font);
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 1.25rem;
    left: 5vw;
    right: 5vw;
    z-index: 1000;
    border-radius: var(--radius-btn);
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.45);
    animation: navSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes navSlideDown {
    from { opacity: 0; margin-top: -1.5rem; }
    to   { opacity: 1; margin-top: 0; }
}

.nav-container {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    padding-inline: 1.5rem;
    gap: 1.5rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-btn);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.nav-link--soon {
    color: rgba(255, 255, 255, 0.42);
    opacity: 1;
    pointer-events: none;
}

/* Desktop: nav-links overlay the floating pill (sibling of .navbar) */
@media (min-width: 769px) {
    .nav-links {
        position: fixed;
        top: 1.25rem;
        left: 5vw;
        right: 5vw;
        height: var(--nav-h);
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0.125rem;
        padding-inline: 1.5rem;
        margin-left: 0;
        transform: none;
        visibility: visible;
        opacity: 1;
        pointer-events: none;
        background: transparent;
        border: none;
        box-shadow: none;
        z-index: 1001;
        overflow: visible;
    }

    .nav-links .nav-link:not(.nav-link--soon) {
        pointer-events: auto;
        width: auto;
        max-width: none;
        min-height: 0;
        border-bottom: none;
        font-size: 0.9375rem;
        font-weight: 500;
        padding: 0.5rem 0.875rem;
        color: rgba(255, 255, 255, 0.92);
    }

    .nav-links .nav-link:not(.nav-link--soon):hover {
        color: var(--text);
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-links .nav-link--soon {
        color: rgba(255, 255, 255, 0.4);
    }

    .nav-links .nav-link--soon::after {
        display: none;
    }
}

body.menu-open {
    overflow: hidden;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

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

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.8125rem 1.5rem;
    border-radius: var(--radius-btn);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease,
        background 0.2s ease,
        opacity 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn:active {
    transform: scale(0.97) !important;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    font-size: 0.75rem;
}

.btn--primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.32);
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(220, 38, 38, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-2px);
}

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

.btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 5rem;
    background:
        radial-gradient(ellipse 70% 55% at 75% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 65%),
        var(--bg);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

/* Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
}

.eyebrow-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.65); }
    50%       { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* Hero Title */
.hero-title {
    font-size: clamp(3rem, 3.5vw + 1.5rem, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.93;
    color: var(--text);
    margin-bottom: 1.75rem;
    text-wrap: balance;
}

.gradient-text {
    background: linear-gradient(130deg, var(--accent) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero-desc {
    font-size: clamp(1rem, 1vw + 0.5rem, 1.1875rem);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 48ch;
    margin-bottom: 2.5rem;
    text-wrap: pretty;
}

/* CTA row */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2.25rem;
    align-items: center;
}

/* Trust line */
.trust-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.trust-line a {
    transition: color 0.2s ease;
}

.trust-line a:hover {
    color: var(--text-muted);
}

.trust-sep {
    opacity: 0.35;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 1 / 1.05;
    max-height: 580px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 32px 80px rgba(0, 0, 0, 0.5);
}

#shader-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* 3D model floats above the shader */
#model-3d-v1 {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease 0.5s;
}

#model-3d-v1 canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    mix-blend-mode: screen;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--marquee-py) 0;
    overflow: hidden;
    position: relative;
}

.marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8rem;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade--left  { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.marquee-fade--right { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    flex-shrink: 0;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
    will-change: transform;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.m-dot {
    color: var(--gold);
    font-size: 0.5rem;
    opacity: 0.7;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Desktop: hero + marquee bar visible without scrolling */
@media (min-width: 1025px) {
    .hero {
        min-height: calc(100dvh - var(--marquee-h));
        padding-bottom: 2rem;
    }

    .hero-visual {
        max-height: 520px;
    }
}

#services,
#contact {
    scroll-margin-top: calc(var(--nav-h) + 2.5rem);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    background: var(--light-bg);
    padding: var(--section-py) 0;
}

/* Section labels */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.875rem;
}

.section-title {
    font-size: clamp(2rem, 2vw + 1rem, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 3rem;
    text-wrap: balance;
}

/* Bento grid */
.services-bento {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.25rem;
}

/* Z-pattern: swap cards 3 and 4 in row 2 */
.service-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.service-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

/* Base card */
.service-card {
    padding: clamp(1.75rem, 3vw, 2.75rem);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Card styles */
.card--dark {
    background: #0d0d0d;
    color: var(--text);
    border: 1px solid rgba(220, 38, 38, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 50px rgba(0, 0, 0, 0.35);
}

.card--dark::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -10%;
    width: 60%;
    height: 75%;
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.card--dark:hover {
    border-color: rgba(220, 38, 38, 0.26);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 28px 64px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(220, 38, 38, 0.07);
}

.card--light {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card--light:hover {
    border-color: rgba(220, 38, 38, 0.16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card--gray {
    background: #f5f5f4;
    color: #1c1917;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card--gray:hover {
    background: #eeede9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.card--red {
    background: linear-gradient(135deg, #dc2626 0%, #c2410c 52%, #9a3412 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 100, 50, 0.2);
    box-shadow: 0 8px 40px rgba(220, 38, 38, 0.32), 0 2px 8px rgba(220, 38, 38, 0.18);
}

.card--red:hover {
    box-shadow: 0 14px 52px rgba(220, 38, 38, 0.42), 0 4px 12px rgba(220, 38, 38, 0.22);
}

/* Card icon */
.sc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    flex-shrink: 0;
}

.card--dark  .sc-icon { background: rgba(245, 158, 11, 0.12); color: var(--gold); }
.card--light .sc-icon { background: rgba(220, 38,  38, 0.08); color: var(--accent); }
.card--gray  .sc-icon { background: rgba(28,  25,  23, 0.07); color: #78716c; }
.card--red   .sc-icon { background: rgba(255, 255, 255, 0.18); color: #ffffff; }

/* Card headings */
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.card--dark  h3, .card--red   h3 { color: #ffffff; }
.card--light h3                   { color: #111111; }
.card--gray  h3                   { color: #1c1917; }

/* Card body text */
.service-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    flex: 1;
}

.card--dark  p { color: rgba(255, 255, 255, 0.52); }
.card--light p { color: #6b7280; }
.card--gray  p { color: #78716c; }
.card--red   p { color: rgba(255, 255, 255, 0.72); }

/* Card label */
.sc-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.25rem;
}

.sc-label--light { color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--white);
    padding: var(--section-py) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.contact .section-title { color: #0f172a; }

.contact-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 42ch;
    text-wrap: pretty;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #374151;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

a.contact-item:hover .ci-icon {
    background: rgba(220, 38, 38, 0.12);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-wrap {
    margin-bottom: 2rem;
}

.form-field {
    width: 100%;
    font-family: var(--font);
    font-size: 1rem;
    color: #0f172a;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #e2e8f0;
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.25s ease;
}

.form-field::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-field:focus {
    border-bottom-color: var(--accent);
}

.form-field:invalid:not(:placeholder-shown) {
    border-bottom-color: #ef4444;
}

.form-field:valid:not(:placeholder-shown) {
    border-bottom-color: #22c55e;
}

.form-field--ta {
    resize: vertical;
    min-height: 120px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 2rem;
    margin-bottom: 0;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 26ch;
    line-height: 1.65;
}

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.footer-links a:hover {
    color: var(--text);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-top: 2rem;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 20%,
        rgba(245, 158, 11, 0.6) 50%,
        rgba(255, 255, 255, 0.25) 80%,
        transparent 100%
    );
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a:hover i {
    color: var(--text);
    transform: scale(1.15);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 4rem));
    opacity: 0;
    background: #18181b;
    color: var(--text);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-btn);
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    z-index: 9998;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    pointer-events: none;
}

.toast {
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity   0.4s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success { border-color: rgba(34,  197, 94,  0.35); }
.toast.error   { border-color: rgba(239, 68,  68,  0.35); }

/* ============================================================
   NOTIFY MODAL (Benachrichtigen lassen)
   ============================================================ */
.notify-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notify-modal-backdrop.is-visible {
    opacity: 1;
}

.notify-modal {
    width: min(100%, 28rem);
    padding: 2rem 1.75rem;
    border-radius: 20px;
    background: linear-gradient(160deg, #1a1a1a 0%, #111 100%);
    border: 1px solid rgba(245, 158, 11, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(220, 38, 38, 0.12);
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.notify-modal-backdrop.is-visible .notify-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.notify-modal__title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notify-modal__text {
    margin: 0 0 1.5rem;
    color: rgba(250, 250, 250, 0.65);
    line-height: 1.55;
    font-size: 0.95rem;
}

.notify-modal__input {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-modal__input:focus {
    outline: none;
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.notify-modal__input.is-invalid {
    border-color: rgba(239, 68, 68, 0.7);
}

.notify-modal__error {
    margin: -0.75rem 0 1rem;
    font-size: 0.8125rem;
    color: #f87171;
    min-height: 1.25rem;
}

.notify-modal__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.notify-modal__actions .btn {
    flex: 1;
    min-width: 7.5rem;
}

@media (max-width: 768px) {
    .notify-modal-backdrop {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(5, 5, 5, 0.94);
    }
}

/* ============================================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.75rem, 4vw + 1rem, 4.5rem);
    }

    .hero-visual {
        max-height: 460px;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --nav-h:        60px;
        --section-py:   clamp(4rem, 10vw, 6rem);
        --radius-card:  1.5rem;
    }

    /* Navbar */
    .navbar {
        top: 0.75rem;
        left: 3vw;
        right: 3vw;
        z-index: 10001;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 10, 10, 0.96);
    }

    .nav-container {
        overflow: visible;
    }

    .nav-logo-img {
        height: 32px;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 10005;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: calc(0.75rem + var(--nav-h) + 0.5rem);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        height: calc(100dvh - 0.75rem - var(--nav-h) - 0.5rem);
        margin-left: 0;
        background: #0a0a0a;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 2rem;
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
        transition:
            transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        overflow-x: hidden;
        overflow-y: auto;
        border-top: 1px solid rgba(245, 158, 11, 0.15);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    }

    .nav-links.active {
        display: flex;
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .nav-link {
        font-size: 1.125rem;
        font-weight: 600;
        padding: 1.25rem 2rem;
        text-align: center;
        color: var(--text);
        border-radius: 0;
        width: 100%;
        max-width: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-link:hover {
        background: rgba(245, 158, 11, 0.08);
        color: var(--gold);
    }

    .nav-link--soon {
        opacity: 1;
        color: rgba(255, 255, 255, 0.55);
        pointer-events: none;
    }

    .nav-link--soon::after {
        content: 'Bald';
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--gold);
        padding: 0.2rem 0.5rem;
        border: 1px solid rgba(245, 158, 11, 0.35);
        border-radius: 100px;
        margin-left: 0.35rem;
    }

    /* Hero stacked */
    .hero {
        padding-bottom: 4rem;
        padding-top: calc(var(--nav-h) + 2rem);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        aspect-ratio: 4 / 3;
        max-height: 280px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .trust-line {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    /* Services */
    .services-bento {
        grid-template-columns: 1fr;
    }

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

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 1.25rem;
        position: relative;
    }
}

/* ============================================================
   RESPONSIVE — Small (max 480px)
   ============================================================ */
@media (max-width: 480px) {
    .nav-logo-img {
        height: 28px;
    }

    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }

    .hero-visual {
        aspect-ratio: 3 / 2;
        max-height: 240px;
    }

    .toast {
        left: 1rem;
        right: 1rem;
        transform: translateX(0) translateY(140%);
        white-space: normal;
        text-align: center;
    }

    .toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* ============================================================
   LEGAL PAGES — Light editorial layer (Impressum, Datenschutz, AGB)
   Palette: DIGITARO red + amber on warm zinc (matches contact section)
   ============================================================ */
.page-legal {
    --legal-bg:           #f4f4f5;
    --legal-bg-mesh:      radial-gradient(ellipse 90% 55% at 50% -8%, rgba(245, 158, 11, 0.09) 0%, transparent 58%),
                          radial-gradient(ellipse 60% 40% at 100% 0%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
                          #f4f4f5;
    --legal-surface:      #ffffff;
    --legal-surface-ring: #e4e4e7;
    --legal-text:         #18181b;
    --legal-text-muted:   #52525b;
    --legal-text-dim:     #71717a;
    --legal-border:       rgba(24, 24, 27, 0.08);
    --legal-border-accent: rgba(217, 119, 6, 0.35);
    --legal-shadow:       0 1px 2px rgba(24, 24, 27, 0.04),
                          0 8px 28px rgba(24, 24, 27, 0.06);
    --legal-shadow-hover: 0 2px 4px rgba(24, 24, 27, 0.05),
                          0 14px 36px rgba(24, 24, 27, 0.08);
    background: var(--legal-bg-mesh);
    color: var(--legal-text);
}

body.page-legal::after {
    opacity: 0.018;
    mix-blend-mode: multiply;
}

.legal-content {
    padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
    background: transparent;
    min-height: 100vh;
}

.legal-content > .container {
    max-width: var(--container-w);
}

.legal-header {
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 2.5rem 2rem 2.25rem;
    background: var(--legal-surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--legal-border);
    box-shadow: var(--legal-shadow);
    position: relative;
    overflow: visible;
}


.legal-header h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
    padding-bottom: 0.06em;
    background: linear-gradient(128deg, var(--accent) 0%, #ea580c 45%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    overflow: visible;
}

.legal-subtitle {
    font-size: 1.0625rem;
    color: var(--legal-text-muted);
    font-weight: 500;
    max-width: 42ch;
    margin-inline: auto;
    line-height: 1.6;
}

/* Double-bezel card: outer ring + inner surface */
.legal-section {
    margin-bottom: 1.75rem;
    padding: 0.35rem;
    background: var(--legal-surface-ring);
    border-radius: calc(var(--radius-card) + 0.25rem);
    border: 1px solid var(--legal-border);
    box-shadow: var(--legal-shadow);
    transition:
        box-shadow 0.35s cubic-bezier(0.32, 0.72, 0, 1),
        transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
        border-color 0.25s ease;
}

.legal-section:hover {
    border-color: var(--legal-border-accent);
    box-shadow: var(--legal-shadow-hover);
    transform: translateY(-2px);
}

.legal-section > h2,
.legal-section > .legal-info {
    background: var(--legal-surface);
    border-radius: calc(var(--radius-card) - 0.15rem);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.legal-section > h2 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--legal-text);
    margin: 0;
    padding: 1.35rem 1.75rem 1rem;
    border-bottom: 1px solid var(--legal-border);
    border-left: 3px solid var(--gold);
    border-radius: calc(var(--radius-card) - 0.15rem) calc(var(--radius-card) - 0.15rem) 0 0;
}

.legal-section > .legal-info {
    padding: 1.25rem 1.75rem 1.5rem;
    border-radius: 0 0 calc(var(--radius-card) - 0.15rem) calc(var(--radius-card) - 0.15rem);
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--legal-text);
    margin: 1.25rem 0 0.625rem;
}

.legal-info {
    line-height: 1.75;
    color: var(--legal-text-muted);
    font-size: 0.9375rem;
}

.legal-info p {
    margin-bottom: 0.875rem;
}

.legal-info p:last-child {
    margin-bottom: 0;
}

.legal-info ul {
    margin: 0.75rem 0;
    padding-left: 1.35rem;
}

.legal-info li {
    margin-bottom: 0.5rem;
    color: var(--legal-text-muted);
}

.legal-info a {
    color: #b45309;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-info a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.legal-info .contact-link {
    user-select: text;
}

.legal-footer {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--legal-surface);
    border-radius: 1.25rem;
    text-align: center;
    border: 1px solid var(--legal-border);
    box-shadow: var(--legal-shadow);
}

.legal-footer p {
    margin-bottom: 0.375rem;
    color: var(--legal-text-dim);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .legal-content {
        padding-top: calc(var(--nav-h) + 3.25rem);
        padding-bottom: 4rem;
    }

    .legal-header {
        padding: 2rem 1.25rem 1.5rem;
        margin-bottom: 2.5rem;
    }

    .legal-header h1 {
        font-size: 1.875rem;
    }

    .legal-section > h2 {
        padding: 1.15rem 1.25rem 0.875rem;
    }

    .legal-section > .legal-info {
        padding: 1rem 1.25rem 1.25rem;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
