/* ══════════════════════════════════════════════════════════════
   DONATELLO MEDIA — Konzept "INDEX" · v2
   ----------------------------------------------------------------
   #10071A Nacht · #ECDAFF Lavendel · #7D37C3 Violett
   Form: Rundungen wie in der Bildmarke — großzügig,
   nur unten links die eine scharfe Ecke.
   Schrift: Montserrat. Dark & Light Mode. DE/EN.
══════════════════════════════════════════════════════════════ */

/* ── Montserrat: lokal, aus den Original-TTFs gebaut ──
   Überlappende Glyphen-Konturen wurden mit FontTools
   entfernt (removeOverlaps) — das behebt die Artefakte
   der Kontur-Schrift (-webkit-text-stroke) endgültig. ── */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/montserrat-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/montserrat-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/montserrat-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/montserrat-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/montserrat-800.woff2') format('woff2');
}

:root {
    --night:    #10071A;
    --lavender: #ECDAFF;
    --violet:   #7D37C3;

    /* D-Radius: deutlich runder, kalibriert an der Bildmarke */
    --d-xs: 12px 12px 12px 0;
    --d-sm: 20px 20px 20px 0;
    --d-md: 30px 30px 30px 0;
    --d-lg: 48px 48px 48px 0;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

    --nav-h: 76px;
    --pad: clamp(20px, 5vw, 72px);
}

/* ── Themes ────────────────────────────────────────────────── */
body {
    /* Dark (Standard) */
    --bg:        var(--night);
    --ink:       var(--lavender);
    --ink-60:    rgba(236, 218, 255, 0.60);
    --ink-35:    rgba(236, 218, 255, 0.35);
    --line:      rgba(236, 218, 255, 0.14);
    --line-soft: rgba(236, 218, 255, 0.08);
    --vio-14:    rgba(125, 55, 195, 0.14);
    --vio-30:    rgba(125, 55, 195, 0.30);
    --glass:     rgba(16, 7, 26, 0.95);
    --grain:     0.05;
}
body.light {
    --bg:        var(--lavender);
    --ink:       var(--night);
    --ink-60:    rgba(16, 7, 26, 0.64);
    --ink-35:    rgba(16, 7, 26, 0.42);
    --line:      rgba(16, 7, 26, 0.16);
    --line-soft: rgba(16, 7, 26, 0.08);
    --vio-14:    rgba(125, 55, 195, 0.10);
    --vio-30:    rgba(125, 55, 195, 0.30);
    --glass:     rgba(236, 218, 255, 0.95);
    --grain:     0.03;
}

/* ── Reset & Basis ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Anker-Ziele: nur Sektionen ohne eigenes Padding oben brauchen
   Abstand zur Nav — global würde der Sprung zu tief landen */
#ueber, #kontakt { scroll-margin-top: calc(var(--nav-h) + 34px); }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--violet); color: var(--lavender); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 3px;
    border-radius: var(--d-xs);
}

/* Feines Filmkorn */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: var(--grain);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Typo-Bausteine ────────────────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--violet);
}
.eyebrow::before {
    content: '';
    width: 10px; height: 10px;
    border-radius: 4px 4px 4px 0;   /* Mini-D */
    background: var(--violet);
}

.display {
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.display .thin   { font-weight: 300; }
.display .violet { color: var(--violet); }
.display .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink-60);
}
@supports not (-webkit-text-stroke: 1px #000) {
    .display .outline { color: var(--ink-60); }
}

.lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-60); max-width: 52ch; }

/* ── Scroll-Reveal ─────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.revealed { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION — schwebende D-Kapsel + Toggles
══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: min(calc(100% - 28px), 1160px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--d-sm);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.nav-brand {
    display: flex;
    align-items: center;
}
.nav-brand svg { width: 26px; height: 26px; color: var(--violet); flex-shrink: 0; }

.logo-full {
    display: block;
    width: 160px; /* anpassen */
    height: auto;
    transition: 
        transform 0.35s var(--ease),
        filter 0.35s ease;
}

.logo-full:hover {
    transform: translateY(-3px) scale(1.04);
    filter: drop-shadow(0 8px 18px rgba(125, 55, 195, 0.35));
}

.logo-icon {
    display: none;
    width: 42px;
    height: 42px;
}


@media (max-width: 768px) {

    .logo-full {
        display: none;
    }

    .logo-icon {
        display: block;
    }

}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-60);
    border-radius: var(--d-xs);
    transition: color 0.2s, background 0.25s;
}
.nav-link:hover { color: var(--ink); background: var(--vio-14); }
.nav-cta {
    margin-left: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--d-xs);
    background: var(--violet);
    color: var(--lavender);
    transition: border-radius 0.3s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { border-radius: 14px; transform: translateY(-1px); }

/* Sprach- & Theme-Toggle */
.nav-tools { display: flex; align-items: center; gap: 6px; }
.tool-btn {
    height: 38px;
    min-width: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-60);
    border: 1px solid var(--line);
    border-radius: var(--d-xs);
    transition: color 0.2s, border-color 0.2s, background 0.25s, border-radius 0.3s var(--ease);
}
.tool-btn:hover { color: var(--violet); border-color: var(--violet); border-radius: 12px; }
/* Explizite Farben — garantiert sichtbar in beiden Themes */
body:not(.light) .nav .tool-btn { color: #ECDAFF; border-color: rgba(236, 218, 255, 0.22); }
body.light .nav .tool-btn { color: #10071A; border-color: rgba(16, 7, 26, 0.22); }
body:not(.light) .nav .tool-btn:hover,
body.light .nav .tool-btn:hover { color: #7D37C3; border-color: #7D37C3; }
.tool-btn svg { stroke: currentColor; }
.tool-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.tool-btn svg { width: 16px; height: 16px; }
body:not(.light) .icon-sun  { display: block; }
body:not(.light) .icon-moon { display: none; }
body.light .icon-sun  { display: none; }
body.light .icon-moon { display: block; }

.nav-burger { display: none; width: 40px; height: 40px; border-radius: var(--d-xs); flex-shrink: 0; }
.nav-burger span {
    display: block;
    width: 20px; height: 2px;
    margin: 4px auto;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border-radius: var(--d-sm);
        border: 1px solid var(--line);
        background: var(--glass);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: all 0.3s var(--ease);
    }
    .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-link { padding: 13px 16px; }
    .nav-cta { margin: 4px 0 0; text-align: center; }
    .nav-burger { display: block; }
    .nav-brand span { display: none; } /* mobil nur Bildmarke */
}

/* ══════════════════════════════════════════════════════════════
   HERO — Statement + echte Bildmarke
══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) var(--pad) 60px;
    overflow: hidden;
}
/* Die echte Bildmarke, riesig, als Wasserzeichen */
.hero-mark {
    position: absolute;
    right: -4vw;
    top: 50%;
    transform: translateY(-50%);
    width: min(48vw, 660px);
    color: var(--violet);
    opacity: 0.12;
    pointer-events: none;
    filter: drop-shadow(0 0 80px rgba(125, 55, 195, 0.5));
}
.hero-corner {
    position: absolute;
    left: var(--pad); bottom: 46px;
    width: 64px; height: 64px;
    border-left: 2px solid var(--violet);
    border-bottom: 2px solid var(--violet);
    border-bottom-left-radius: 0;
    animation: corner-breathe 5s ease-in-out infinite;
}
@keyframes corner-breathe {
    0%, 100% { width: 64px; height: 64px; opacity: 1; }
    50%      { width: 48px; height: 48px; opacity: 0.5; }
}

.hero-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; width: 100%; }
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 9px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-60);
    border: 1px solid var(--line);
    border-radius: var(--d-xs);
}
.hero-status i {
    width: 8px; height: 8px;
    border-radius: 3px 3px 3px 0;
    background: var(--violet);
    animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-h1 { font-size: clamp(42px, 7.6vw, 104px); margin-bottom: 30px; }
.hero-sub { margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
    margin-top: clamp(48px, 8vh, 90px);
    display: flex;
    gap: clamp(24px, 4vw, 64px);
    flex-wrap: wrap;
}
.hero-meta div { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-35); font-weight: 500; }
.hero-meta strong { display: block; font-size: 15px; letter-spacing: 0.02em; text-transform: none; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

@media (max-width: 900px) {
    .hero-mark { opacity: 0.07; right: -30vw; width: 85vw; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--d-sm);
    transition: border-radius 0.35s var(--ease), transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-fill { background: var(--violet); color: var(--lavender); }
.btn-fill:hover { border-radius: 20px; transform: translateY(-2px); }
.btn-line { border: 1px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--violet); color: var(--violet); border-radius: 20px; transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════════════
   SEKTIONS-GERÜST
══════════════════════════════════════════════════════════════ */
.section { padding: clamp(80px, 12vh, 150px) var(--pad); position: relative; }
.wrap { max-width: 1160px; margin: 0 auto; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(36px, 5vh, 64px); flex-wrap: wrap; }
.sec-title { font-size: clamp(30px, 4.4vw, 56px); }
.sec-note { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-35); font-weight: 500; }

/* ══════════════════════════════════════════════════════════════
   DER INDEX
══════════════════════════════════════════════════════════════ */
.index { border-top: 1px solid var(--line); }
.index-row {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr auto 48px;
    align-items: center;
    gap: clamp(14px, 3vw, 40px);
    padding: clamp(22px, 3.6vh, 38px) clamp(10px, 1.8vw, 24px);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
}
/* Füllung wächst aus der D-Ecke */
.index-row::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--violet);
    border-radius: var(--d-md);
    transform: scale(0);
    transform-origin: bottom left;
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.35s;
}
.index-row:hover::before, .index-row:focus-visible::before { transform: scale(1); opacity: 1; }

.index-num { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--violet); transition: color 0.3s; }
.index-name {
    font-size: clamp(25px, 3.8vw, 50px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    transition: transform 0.4s var(--ease), color 0.3s;
}
.index-tags {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-35);
    text-align: right;
    transition: color 0.3s;
}
.index-arrow {
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--d-xs);
    transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.index-arrow svg { width: 16px; height: 16px; }

.index-row:hover .index-name { transform: translateX(10px); color: var(--lavender); }
.index-row:hover .index-num,
.index-row:hover .index-tags { color: rgba(236, 218, 255, 0.85); }
.index-row:hover .index-arrow {
    border-color: rgba(236, 218, 255, 0.5);
    background: rgba(236, 218, 255, 0.14);
    color: var(--lavender);
    transform: rotate(45deg);
}
@media (max-width: 760px) {
    .index-row { grid-template-columns: 44px 1fr 40px; }
    .index-tags { display: none; }
    .index-arrow { width: 40px; height: 40px; }
}

/* ══════════════════════════════════════════════════════════════
   ÜBER
══════════════════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p + p { margin-top: 1.2em; }
.about-text { color: var(--ink-60); font-size: clamp(16px, 1.6vw, 19px); }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-text a { border-bottom: 1px solid var(--line); }
.about-text a:hover { color: var(--violet); border-color: var(--violet); }

.stat-stack { display: grid; gap: 12px; }
.stat {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: var(--d-md);
    background: var(--vio-14);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.stat:hover { border-color: var(--vio-30); transform: translateX(6px); }
.stat b { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--violet); }
.stat span { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-35); }

/* ══════════════════════════════════════════════════════════════
   KONTAKT — Trading Card + Formular
══════════════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; justify-items: center; } }

/* ── Die Trading Card ──────────────────────────────────────
   Bleibt in beiden Themes "Nacht" — wie eine echte Sammelkarte. */
.tcard-scene {
    width: min(320px, 84vw);
    aspect-ratio: 32 / 45;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    cursor: pointer;
    user-select: none;
}
.tcard {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
}
.tcard-face {
    position: absolute; inset: 0;
    border-radius: var(--d-md);
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    border: 1px solid var(--vio-30);
    background:
        radial-gradient(circle at 75% 12%, rgba(125, 55, 195, 0.4), transparent 55%),
        #10071A;
    color: var(--lavender);
    box-shadow: 0 30px 70px -30px rgba(16, 7, 26, 0.9);
}
.tcard-back { transform: rotateY(180deg) translateZ(0); -webkit-transform: rotateY(180deg) translateZ(0); }

/* Holo-Glanz, folgt der Maus (JS setzt --mx/--my) */
.tcard-holo {
    position: absolute; inset: 0;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(ellipse at var(--mx, 50%) var(--my, 50%),
        rgba(236, 218, 255, 0.22) 0%,
        rgba(125, 55, 195, 0.12) 40%,
        transparent 70%);
}
.tcard-scene:hover .tcard-holo { opacity: 1; }
/* Automatischer Glanz-Sweep im Ruhezustand */
.tcard-sheen {
    position: absolute; inset: 0;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    background: linear-gradient(115deg,
        transparent 20%, rgba(236, 218, 255, 0.14) 42%,
        rgba(125, 55, 195, 0.18) 52%, transparent 75%);
    background-size: 300% 100%;
    animation: sheen 5.5s ease-in-out infinite;
}
@keyframes sheen {
    0%   { background-position: 120% 0; opacity: 0; }
    12%  { opacity: 1; }
    55%  { background-position: -60% 0; opacity: 1; }
    70%, 100% { background-position: -80% 0; opacity: 0; }
}

/* Vorderseite */
.tcard-portrait {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, #2A1040 0%, #10071A 100%);
}
.tcard-portrait img { width: 100%; height: 100%; object-fit: cover; }
.tcard-portrait .ph {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(236, 218, 255, 0.35);
}
.tcard-fade {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 62%;
    background: linear-gradient(to top, rgba(10, 4, 20, 0.97) 0%, rgba(10, 4, 20, 0.65) 50%, transparent 100%);
}
.tcard-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 4; }
.tcard-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.tcard-role {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(236, 218, 255, 0.55);
    margin: 3px 0 12px;
}
.tcard-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tcard-chip {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 8px 8px 8px 0;
    background: rgba(125, 55, 195, 0.28);
    border: 1px solid rgba(125, 55, 195, 0.55);
    color: #D9BEF5;
}
.tcard-hint {
    position: absolute; top: 14px; right: 14px;
    z-index: 4;
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(236, 218, 255, 0.5);
    animation: hint-pulse 2.6s ease-in-out infinite;
}
.tcard-hint svg { width: 11px; height: 11px; }
@keyframes hint-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* Rückseite: Kontakt statt Skills */
.tcard-back-inner {
    position: relative;
    z-index: 4;
    height: 100%;
    padding: 22px;
    display: flex;
    flex-direction: column;
}
.tcard-back-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(125, 55, 195, 0.35);
}
.tcard-back-head b { font-size: 13px; font-weight: 700; }
.tcard-back-head svg { width: 22px; height: 22px; color: var(--violet); }
.tcard-lines { flex: 1; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.tcard-line span {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(236, 218, 255, 0.4);
    margin-bottom: 3px;
}
.tcard-line a, .tcard-line b { font-size: 13px; font-weight: 600; color: var(--lavender); }
.tcard-line a { border-bottom: 1px solid rgba(236, 218, 255, 0.2); transition: color 0.2s, border-color 0.2s; }
.tcard-line a:hover { color: #C9A0F0; border-color: #C9A0F0; }
.tcard-socials { display: flex; gap: 8px; margin-top: 16px; }
.tcard-social {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px 12px 12px 0;
    background: rgba(125, 55, 195, 0.22);
    border: 1px solid rgba(125, 55, 195, 0.5);
    color: #D9BEF5;
    transition: background 0.25s, transform 0.25s var(--ease);
}
.tcard-social:hover { background: rgba(125, 55, 195, 0.45); transform: translateY(-2px); }
.tcard-back-hint {
    text-align: center;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(236, 218, 255, 0.35);
    margin-top: 14px;
    animation: hint-pulse 2.6s ease-in-out infinite;
}
/* Ecken-Winkel auch auf der Karte */
.tcard-face::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 26px; height: 26px;
    border-left: 2px solid var(--violet);
    border-bottom: 2px solid var(--violet);
    z-index: 5;
    opacity: 0.7;
}

/* ── Formular ──────────────────────────────────────────────── */
.form {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--d-lg);
    background: var(--vio-14);
    position: relative;
    width: 100%;
}
.form::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 32px;
    border-left: 2px solid var(--violet);
    border-bottom: 2px solid var(--violet);
    pointer-events: none;
}
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-35);
    margin-bottom: 9px;
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: 14px 18px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--d-sm);
    transition: border-color 0.25s, border-radius 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-35); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); border-radius: 20px; }
.field textarea { resize: none; min-height: 130px; }

/* Select: eigener Pfeil im Violett, da native Pfeile nicht themebar sind */
.field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D37C3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 42px;
}
.field select option { background: var(--night); color: var(--lavender); }
/* Solange nichts gewählt ist, etwas gedämpfter wie ein Placeholder */
.field select:invalid, .field select option[value=""] { color: var(--ink-35); }

/* Bereich + Paket nebeneinander (mobil untereinander) */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field-row .field { margin-bottom: 0; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 20px; } }
.form-note { font-size: 12px; color: var(--ink-35); margin-top: 14px; }
.form .btn { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { padding: 40px var(--pad) 34px; border-top: 1px solid var(--line); position: relative; }
.footer::before {
    content: '';
    position: absolute;
    top: -1px; left: var(--pad);
    width: 120px; height: 1px;
    background: var(--violet);
}
.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-35);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--violet); }

/* ══════════════════════════════════════════════════════════════
   UNTERSEITEN
══════════════════════════════════════════════════════════════ */
.sub-hero {
    padding: calc(var(--nav-h) + clamp(60px, 10vh, 120px)) var(--pad) clamp(40px, 6vh, 70px);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.sub-hero-num {
    position: absolute;
    right: var(--pad);
    bottom: -0.18em;
    font-size: clamp(120px, 22vw, 300px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--vio-30);
    pointer-events: none;
    user-select: none;
}
@supports not (-webkit-text-stroke: 1px #000) { .sub-hero-num { color: var(--vio-14); } }
.sub-hero .eyebrow { margin-bottom: 20px; }
.sub-hero h1 { font-size: clamp(38px, 6.6vw, 88px); margin-bottom: 22px; }
.sub-hero .lede { margin-bottom: 28px; }
.sub-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-tag {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    border: 1px solid var(--line);
    border-radius: var(--d-xs);
    color: var(--ink-60);
}

.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.work { grid-column: span 3; }
.work.wide { grid-column: span 6; }
.work.third { grid-column: span 2; }
@media (max-width: 860px) { .work, .work.wide, .work.third { grid-column: span 6; } }

.work-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--d-md);
    background:
        radial-gradient(circle at 70% 20%, var(--vio-30), transparent 55%),
        var(--vio-14);
    overflow: hidden;
    transition: border-color 0.35s, transform 0.35s var(--ease);
}
.work.third .work-media { aspect-ratio: 4 / 5; }
.work:hover .work-media { border-color: var(--vio-30); transform: translateY(-4px); }
.work-media::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 26px; height: 26px;
    border-left: 2px solid var(--violet);
    border-bottom: 2px solid var(--violet);
    opacity: 0.55;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
}
.work:hover .work-media::after { width: 40px; height: 40px; opacity: 1; }
.work-media img, .work-media video { width: 100%; height: 100%; object-fit: contain; }
.work-media .ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-35);
}
.work-cap { display: flex; justify-content: space-between; gap: 12px; padding: 14px 6px 0; }
.work-cap b { font-size: 15px; font-weight: 600; }
.work-cap span { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-35); }

.sub-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 8vh, 90px); }
.sub-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--d-md);
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.sub-nav a:hover { border-color: var(--vio-30); background: var(--vio-14); transform: translateY(-3px); }
.sub-nav span { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-35); }
.sub-nav b { font-size: clamp(17px, 2vw, 22px); font-weight: 700; }
.sub-nav .next { text-align: right; align-items: flex-end; }
@media (max-width: 600px) { .sub-nav { grid-template-columns: 1fr; } .sub-nav .next { text-align: left; align-items: flex-start; } }

.cta-band {
    margin-top: clamp(60px, 10vh, 110px);
    padding: clamp(40px, 6vh, 70px) clamp(28px, 4vw, 60px);
    border: 1px solid var(--vio-30);
    border-radius: var(--d-lg);
    background:
        radial-gradient(circle at 85% 15%, var(--vio-30), transparent 55%),
        var(--vio-14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 48px; height: 48px;
    border-left: 2px solid var(--violet);
    border-bottom: 2px solid var(--violet);
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 42px); }

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-corner, .hero-status i, .tcard-sheen, .tcard-hint, .tcard-back-hint { animation: none; }
    .tcard { transition: none !important; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ══════════════════════════════════════════════════════════════
   HERO v3 — Showreel in der D-Leinwand + Lightbox
══════════════════════════════════════════════════════════════ */
.hero { padding: calc(var(--nav-h) + 18px) 16px 16px; align-items: stretch; }
.hero-canvas {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 56px 56px 56px 0;
    border: 1px solid var(--line);
    background:
        radial-gradient(ellipse 80% 60% at 75% 15%, rgba(125, 55, 195, 0.25), transparent 60%),
        #10071A;
    /* In der Leinwand ist es immer Nacht — Text bleibt Lavendel */
    color: var(--lavender);
    padding: clamp(28px, 5vw, 72px);
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.38;
    z-index: 0;
}
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(75deg, rgba(16, 7, 26, 0.88) 0%, rgba(16, 7, 26, 0.45) 55%, rgba(16, 7, 26, 0.15) 100%);
}
.hero-canvas .hero-mark { z-index: 1; }
.hero-canvas .hero-corner { left: 0; bottom: 0; z-index: 2; }
.hero-canvas .hero-inner { z-index: 3; }
.hero-canvas .hero-status { color: rgba(236, 218, 255, 0.75); border-color: rgba(236, 218, 255, 0.22); }
.hero-canvas .lede { color: rgba(236, 218, 255, 0.68); }
.hero-canvas .display .outline { -webkit-text-stroke-color: rgba(236, 218, 255, 0.65); }
.hero-canvas .btn-line { color: var(--lavender); border-color: rgba(236, 218, 255, 0.3); }
.hero-canvas .btn-line:hover { color: #C9A0F0; border-color: #C9A0F0; }
.hero-canvas .hero-meta div { color: rgba(236, 218, 255, 0.4); }
.hero-canvas .hero-meta strong { color: var(--lavender); }
@media (max-width: 768px) {
    .hero { padding: calc(var(--nav-h) + 12px) 10px 10px; }
    .hero-canvas { border-radius: 34px 34px 34px 0; }
}

/* Lightbox: Showreel mit Ton */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(16, 7, 26, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox.on { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-inner {
    width: min(1080px, 100%);
    border-radius: var(--d-md);
    overflow: hidden;
    border: 1px solid var(--vio-30);
    box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
    background: #000;
}
.lightbox-inner video { width: 100%; aspect-ratio: 16 / 9; display: block; }
.lightbox-close {
    position: absolute;
    top: clamp(14px, 3vw, 28px);
    right: clamp(14px, 3vw, 28px);
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--lavender);
    border: 1px solid rgba(236, 218, 255, 0.3);
    border-radius: var(--d-xs);
    transition: border-color 0.2s, color 0.2s, border-radius 0.3s var(--ease), transform 0.2s;
}
.lightbox-close:hover { color: var(--violet); border-color: var(--violet); border-radius: 14px; transform: rotate(90deg); }


/* Sprachwahl im Mobilmenü (redundant zum Nav-Button) */
.nav-lang-mobile { display: none; }
@media (max-width: 860px) {
    .nav-lang-mobile {
        display: block;
        text-align: left;
    }
    .nav-lang-mobile.active { color: var(--violet); }
    .nav-links .nav-sep {
        display: block;
        height: 1px;
        margin: 6px 4px;
        background: var(--line);
    }
}
@media (min-width: 861px) { .nav-links .nav-sep { display: none; } }

/* ══════════════════════════════════════════════════════════════
   PREISPAKETE — Start · Studio · Signature (Unterseiten)
══════════════════════════════════════════════════════════════ */
.price-section { margin-top: clamp(60px, 10vh, 110px); }
.price-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 14px 0 12px; flex-wrap: wrap; }
.price-lede { font-size: 15px; color: var(--ink-60); max-width: 60ch; margin-bottom: 34px; }

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--d-md);
    background: var(--vio-14);
    transition: border-color .3s, transform .3s var(--ease);
    overflow: hidden;
}
.price-card:hover { border-color: var(--vio-30); transform: translateY(-4px); }
.price-card::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 26px; height: 26px;
    border-left: 2px solid var(--violet); border-bottom: 2px solid var(--violet);
    opacity: .55; transition: width .3s var(--ease), height .3s var(--ease), opacity .3s;
}
.price-card:hover::after { width: 38px; height: 38px; opacity: 1; }
.price-card.featured {
    border-color: var(--vio-30);
    background: radial-gradient(circle at 80% 0%, var(--vio-30), transparent 55%), var(--vio-14);
}
.price-badge {
    position: absolute; top: 16px; right: 16px;
    font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 9px 9px 9px 0;
    background: var(--violet); color: var(--lavender);
}
.price-name { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-60); }
.price-tag { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px; }
.price-tag .from { font-size: 13px; color: var(--ink-35); font-weight: 500; }
.price-tag .amount { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--violet); line-height: 1.1; }
.price-desc { font-size: 13px; color: var(--ink-60); margin: 8px 0 18px; min-height: 3.2em; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; padding: 0; flex: 1; }
.price-list li { position: relative; padding-left: 22px; font-size: 13px; color: var(--ink-60); }
.price-list li::before {
    content: ''; position: absolute; left: 0; top: .38em;
    width: 9px; height: 9px;
    border-radius: 3px 3px 3px 0;   /* Mini-D wie im Logo */
    background: var(--violet);
}
.price-card .btn { width: 100%; justify-content: center; }
.price-note { font-size: 12px; color: var(--ink-35); margin-top: 22px; text-align: center; }
.price-section .cta-band { margin-top: 40px; }
.price-section .cta-band h2 { font-size: clamp(20px, 3vw, 32px); }

/* ══════════════════════════════════════════════════════════════
   HEADLINE-D — ersetzt den violetten Satzpunkt am Ende von
   Überschriften durch das D-Bullet-Element (wie in .eyebrow und
   .price-list), für Konsistenz mit dem Rest der Seite.
   em-basiert, damit die Größe automatisch zur jeweiligen
   Überschrift passt (Hero, Section-Title, Card-Titel, ...).
══════════════════════════════════════════════════════════════ */
.dot-d {
    display: inline-block;
    width: 0.22em;
    height: 0.22em;
    min-width: 6px;
    min-height: 6px;
    margin-left: 0.12em;
    border-radius: 100% 100% 100% 0;   /* rund, außer unten links */
    background: var(--violet);
}
