/* ============================================================
   NOVANTROPIC – Editorial (Hauptdesign)
   Monochrome Fläche, EIN Akzent (= Marken-Lila), Typografie
   als Layout. Die Nova-Kugel als einziger Vollfarb-Anker.
   Typo-Skala: 0.72 / 0.82 / 0.92 / 0.98 / 1.0625 rem.
   Uppercase-Tracking einheitlich 0.14em, Ziffern-Labels 0.1em.
   ============================================================ */

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

/* ── Tokens ─────────────────────────────────────────────── */
:root {
    --bg:       #ffffff;
    --ink:      #0e0e11;
    --ink-2:    #5f5f66;
    --ink-3:    #75757c;               /* >= 4.5:1 auf Weiß (WCAG AA) */
    --hairline: rgba(14, 14, 17, 0.14);
    --hairline-strong: rgba(14, 14, 17, 0.32);
    --field-line: rgba(14, 14, 17, 0.55); /* >= 3:1 (WCAG 1.4.11) */
    --accent:   #6d28ff;               /* identisch mit dem Marken-Lila */
    --accent-ink: #ffffff;
    --surface-mock: #f4f4f6;
    --wa-green: #1faf57;               /* WhatsApp-FAB, wie Hauptwebsite */
    --error:    #b3261e;               /* Formular-Fehler, >= 4.5:1 auf Weiß */

    /* Nova-Kugel: unverändert aus der Hauptwebsite */
    --brand-blue:   #2e6bff;
    --brand-purple: #6d28ff;
    --brand-pink:   #ec4899;
    --brand-grad: linear-gradient(135deg, #2e6bff 0%, #6d28ff 52%, #ec4899 100%);
    --glow:        rgba(109, 40, 255, 0.16);
    --glow-strong: rgba(109, 40, 255, 0.32);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max: 1280px;
    --pad: clamp(1.25rem, 4vw, 3rem);
    --header-h: 64px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    color-scheme: light;
}

/* Dark-Tokens als Mixin-Block (Toggle) … */
[data-theme="dark"] {
    --bg:       #0c0c0e;
    --ink:      #f2f2f4;
    --ink-2:    #a5a5ad;
    --ink-3:    #8a8a93;               /* >= 4.5:1 auf #0c0c0e */
    --hairline: rgba(242, 242, 244, 0.16);
    --hairline-strong: rgba(242, 242, 244, 0.38);
    --field-line: rgba(242, 242, 244, 0.55);
    --accent:   #9b6bff;               /* Marken-Lila, für Dunkel aufgehellt */
    --accent-ink: #0c0c0e;
    --surface-mock: #1a1a1e;
    --wa-green: #2ed573;
    --error:    #ff8a80;               /* Formular-Fehler, >= 4.5:1 auf #0c0c0e */
    --glow:        rgba(155, 107, 255, 0.2);
    --glow-strong: rgba(155, 107, 255, 0.4);

    color-scheme: dark;
}

/* … und als System-Fallback, falls JS nicht lädt (kein weißer Flash) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg:       #0c0c0e;
        --ink:      #f2f2f4;
        --ink-2:    #a5a5ad;
        --ink-3:    #8a8a93;
        --hairline: rgba(242, 242, 244, 0.16);
        --hairline-strong: rgba(242, 242, 244, 0.38);
        --field-line: rgba(242, 242, 244, 0.55);
        --accent:   #9b6bff;
        --accent-ink: #0c0c0e;
        --surface-mock: #1a1a1e;
        --wa-green: #2ed573;
        --error:    #ff8a80;
        --glow:        rgba(155, 107, 255, 0.2);
        --glow-strong: rgba(155, 107, 255, 0.4);

        color-scheme: dark;
    }

    /* Select-Pfeil im System-Dark auch ohne JS hell zeichnen */
    :root:not([data-theme="light"]) .f-field select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5a5ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    }
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

h1:focus, h2:focus { outline: none; }

.wrap {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* Skip-Link: unsichtbar bis zum Tastatur-Fokus */
.skip-link {
    position: fixed;
    top: 0.6rem; left: 0.6rem;
    z-index: 60;
    padding: 0.55rem 1rem;
    background: var(--ink);
    color: var(--bg);
    font-size: 0.82rem;
    font-weight: 600;
    transform: translateY(-250%);
}
.skip-link:focus-visible { transform: none; }

/* Kleinkapitälchen-Label – das zentrale Ordnungselement */
.tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* ── Header ─────────────────────────────────────────────── */
.top {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    transition: background-color 0.35s var(--ease);
}

.top__in {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    height: 100%;
}

/* Logo: Vollfarbe wie Hauptwebsite (Blau/Lila/Pink), bewusst ohne Animation */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.05rem;
}

.brand svg { display: block; }
.brand .b-core { fill: url(#brand-grad); }
.brand .b-ring { stroke: url(#brand-grad); }
.brand .b-dot { fill: var(--brand-pink); }

.top__cta {
    margin-left: auto;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.top__cta .ar { display: inline-block; transition: transform 0.25s var(--ease); }
.top__cta:hover .ar { transform: translateX(3px); }

@media (max-width: 560px) {
    .top__cta { display: none; }
    .top__in { gap: 0.75rem; }
    /* .top__cta trägt sonst das margin-left: auto - ohne sie rutschen
       Theme-Toggle/Burger neben das Logo statt an den rechten Rand */
    .mode { margin-left: auto; }
}

.mode {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--hairline-strong);
    border-radius: 50%;
    transition: border-color 0.2s var(--ease);
}

.mode:hover { border-color: var(--ink); }
.mode svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.mode .moon { display: none; fill: var(--ink); stroke: none; }
[data-theme="dark"] .mode .sun { display: none; }
[data-theme="dark"] .mode .moon { display: block; }

/* ── Burger: drei Linien, morpht zum X ──────────────────── */
.burger {
    position: relative;
    width: 40px;
    height: 40px;
}

.burger span {
    position: absolute;
    left: 9px;
    height: 1.5px;
    border-radius: 1px;
    background: var(--ink);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease),
                top 0.4s var(--ease), width 0.3s var(--ease);
}

.burger span:nth-child(1) { top: 13px; width: 22px; }
.burger span:nth-child(2) { top: 19.5px; width: 14px; }
.burger span:nth-child(3) { top: 26px; width: 22px; }

.burger:hover span:nth-child(2) { width: 22px; }

.burger[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 19.5px; transform: rotate(-45deg); }

/* ── Fullscreen-Menü mit Stagger-Animation ──────────────── */
.menu {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 1.5rem) 0 2rem;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    /* Flache Viewports (z. B. Handy quer): Menü scrollbar statt abgeschnitten */
    overflow-y: auto;
    transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}

@media (max-height: 560px) {
    .menu { justify-content: flex-start; }
}

.menu.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s var(--ease);
}

.menu__links {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.menu__links:focus { outline: none; }

.menu__links a {
    --d: 0s;
    display: flex;
    align-items: baseline;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(0.7rem, 2vh, 1.3rem) 0.25rem;
    border-top: 1px solid var(--hairline);
    font-size: clamp(2rem, 5.5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.55s var(--ease) var(--d),
                transform 0.6s var(--ease) var(--d),
                padding-left 0.3s var(--ease) 0s;
}

.menu__links a:last-of-type { border-bottom: 1px solid var(--hairline); }

.menu.open .menu__links a { opacity: 1; transform: none; }
.menu.open .menu__links a:nth-child(1) { --d: 0.07s; }
.menu.open .menu__links a:nth-child(2) { --d: 0.14s; }
.menu.open .menu__links a:nth-child(3) { --d: 0.21s; }
.menu.open .menu__links a:nth-child(4) { --d: 0.28s; }

.menu__links a:hover { padding-left: 1.1rem; }

.menu__links .no {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ink-3);
    transition: color 0.25s var(--ease);
}

.menu__links a:hover .no,
.menu__links a.on .no { color: var(--accent); }

.menu__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2.5rem;
    justify-content: center;
    padding: 2.75rem var(--pad) 0;
    font-size: 0.92rem;
    color: var(--ink-2);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease) 0s, transform 0.55s var(--ease) 0s;
}

.menu.open .menu__foot {
    opacity: 1;
    transform: none;
    transition-delay: 0.38s, 0.38s;
}

.menu__foot a:hover { color: var(--ink); }

/* ── Hero: alles über der Falz ──────────────────────────── */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--header-h));
    overflow: clip;
}

.hero > .wrap { width: 100%; }

.hero__head { padding-block: clamp(2.5rem, 6vh, 4.25rem) 0; }

.hero h1 {
    font-size: clamp(2.9rem, 6.8vw, 6.15rem);
    line-height: 0.99;
    letter-spacing: -0.045em;
    font-weight: 800;
    max-width: 11ch;
}

.hero h1 em { font-style: normal; color: var(--ink-3); }

.hero__row {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-block: clamp(1.25rem, 3.5vh, 2.75rem);
}

.hero__lead {
    max-width: 30rem;
    font-size: clamp(1.08rem, 1.4vw, 1.28rem);
    line-height: 1.55;
    color: var(--ink-2);
}

.hero__acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }

.tlink {
    font-weight: 600;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--hairline-strong);
    padding-bottom: 2px;
    transition: border-color 0.2s var(--ease);
}

.tlink:hover { border-color: var(--ink); }

/* Meta-Zeile als unterer Hero-Abschluss */
.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hairline);
}

.hero__meta div { padding: 1.3rem 0; font-size: 0.92rem; color: var(--ink-2); }
.hero__meta div + div { border-left: 1px solid var(--hairline); padding-left: 1.75rem; }
.hero__meta strong { display: block; color: var(--ink); font-weight: 650; letter-spacing: -0.01em; }

/* Flache Screens: Typo und Kugel weiter einkürzen */
@media (min-width: 861px) and (max-height: 800px) {
    .hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.7rem); }
    .hero__head { padding-block: clamp(1.75rem, 4vh, 3rem) 0; }
}

@media (max-width: 860px) {
    .hero { min-height: 0; }
    .hero__row { grid-template-columns: 1fr; }
    .hero__meta { grid-template-columns: 1fr; }
    .hero__meta div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--hairline); }
}

/* ── Nova-Kugel: 1:1 aus der Hauptwebsite übernommen ────── */
/* Eigene Ebene über dem ganzen Hero: Kugel-Mittelpunkt = Hero-Mitte,
   Spaltenraster identisch mit .hero__row, damit sie rechts neben dem Text sitzt */
.nova-layer {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    pointer-events: none;
}

.nova-layer .nova-stage { grid-column: 2; }

.nova-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: 100%;
    max-width: min(400px, 46vh);
    margin-inline: auto;
}

.nova-core {
    position: absolute;
    width: 52%;
    height: 52%;
    border-radius: 50%;
    background: var(--brand-grad);
    filter: blur(2px);
    box-shadow: 0 0 90px 12px var(--glow-strong), 0 0 180px 48px var(--glow);
    animation: nova-pulse 6s var(--ease) infinite;
}

.nova-core::after {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, rgba(255,255,255,0.92), transparent 58%);
}

.nova-orbits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: nova-spin 44s linear infinite;
}

.nova-orbits .ring { fill: none; stroke: var(--ink); stroke-opacity: 0.14; stroke-width: 1; }
.nova-orbits .ring--grad { stroke: url(#nova-grad); stroke-opacity: 0.9; stroke-width: 2; }
.nova-spin-rev { animation: nova-spin 30s linear infinite reverse; transform-origin: center; }
.nova-dot { fill: var(--brand-pink); }
.nova-dot--blue { fill: var(--brand-blue); }

@keyframes nova-spin { to { transform: rotate(360deg); } }
@keyframes nova-pulse {
    0%, 100% { transform: scale(1); opacity: 0.92; }
    50% { transform: scale(1.06); opacity: 1; }
}

@media (max-width: 860px) {
    /* Kugel zurück in den Fluss: steht dann zwischen Headline und Lead */
    .nova-layer { position: static; display: block; padding-top: clamp(1.5rem, 4vh, 2.75rem); }
    .nova-stage { max-width: min(290px, 62vw); }
}

/* ── Sektionen: Label links, Inhalt rechts ──────────────── */
.sec {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-block: clamp(4rem, 9vw, 7.5rem);
    border-top: 1px solid var(--hairline);
}

.sec > .tag { padding-top: 0.35rem; }

.sec-lead {
    max-width: 36rem;
    color: var(--ink-2);
    margin-bottom: 2rem;
}

@media (max-width: 860px) {
    .sec { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Statement mit Wort-für-Wort-Einfärbung beim Scrollen */
.statement {
    font-size: clamp(1.55rem, 3.4vw, 2.7rem);
    line-height: 1.32;
    letter-spacing: -0.022em;
    font-weight: 550;
    max-width: 24ch;
}

.statement .w { color: var(--ink-3); transition: color 0.35s linear; }
.statement .w.lit { color: var(--ink); }

/* Leistungs-Index: Zeilen statt Karten */
.index a {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 1.25rem;
    padding-block: 1.9rem;
    border-top: 1px solid var(--hairline);
    transition: padding-left 0.3s var(--ease);
}

.index a:last-child { border-bottom: 1px solid var(--hairline); }
.index a:hover { padding-left: 0.9rem; }

.index .no {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-3);
    letter-spacing: 0.1em;
}

.index .ti {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.index .su {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.98rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ink-2);
}

.index .go {
    font-size: 1.4rem;
    color: var(--ink-3);
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.index a:hover .go { transform: translate(4px, -4px); color: var(--accent); }

/* ── Arbeiten: Browser-Mockups, monochrom ───────────────── */
.works {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.work:nth-child(2) { margin-top: clamp(2rem, 6vw, 5.5rem); }

.mock {
    border: 1px solid var(--hairline);
    border-radius: 10px;
    overflow: clip;
    background: var(--bg);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.work:hover .mock { transform: translateY(-5px); border-color: var(--hairline-strong); }

.mock__bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid var(--hairline);
}

.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline-strong); }

.mock__url {
    margin-left: 0.5rem;
    flex: 1;
    max-width: 220px;
    padding: 0.22rem 0.75rem;
    border-radius: 999px;
    background: var(--surface-mock);
    font-size: 0.72rem;
    color: var(--ink-2);
    letter-spacing: 0.03em;
}

.mock__body { padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 0.9rem; }

.b  { border-radius: 4px; background: var(--surface-mock); }
.b--line  { height: 10px; }
.b--line.w60 { width: 60%; } .b--line.w40 { width: 40%; } .b--line.w80 { width: 80%; }
.b--title { height: 22px; width: 70%; background: var(--hairline-strong); }
.b--block { height: 110px; }
.b--split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.b--accent { height: 10px; width: 26%; background: var(--accent); opacity: 0.85; }

.work__cap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.9rem;
    font-size: 0.92rem;
    color: var(--ink-2);
}

.work__cap strong { color: var(--ink); font-weight: 650; }

@media (max-width: 860px) {
    .works { grid-template-columns: 1fr; }
    .work:nth-child(2) { margin-top: 0; }
}

/* ── Benchmarks: eine Zeile, keine Kacheln ──────────────── */
.bench {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.bench div { padding: 1.9rem 0; }
.bench div + div { border-left: 1px solid var(--hairline); padding-left: 1.75rem; }

.bench b {
    display: block;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.bench span { font-size: 0.92rem; color: var(--ink-2); }

@media (max-width: 860px) {
    .bench { grid-template-columns: 1fr 1fr; }
    .bench div:nth-child(3) { border-left: 0; padding-left: 0; }
    .bench div:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}

/* ── Outro ──────────────────────────────────────────────── */
.outro {
    padding-block: clamp(5rem, 11vw, 9rem);
    border-top: 1px solid var(--hairline);
    text-align: center;
}

.outro h2 {
    font-size: clamp(2.2rem, 5.5vw, 4.4rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-weight: 800;
    margin: 1rem auto 1.5rem;
    max-width: 18ch;
}

.outro p { color: var(--ink-2); max-width: 34rem; margin: 0 auto 2.5rem; }

/* ── Unterseiten ────────────────────────────────────────── */
.page-head { padding-block: clamp(3.5rem, 8vh, 6rem) clamp(2.5rem, 6vh, 4rem); }

.page-head h1 {
    font-size: clamp(2.6rem, 6.5vw, 5.5rem);
    letter-spacing: -0.04em;
    line-height: 1;
    font-weight: 800;
    max-width: 22ch;   /* passt auch für „Datenschutzerklärung" auf eine Zeile */
    margin-top: 1rem;
    /* Fallback für extrem schmale Screens: bricht ohne Bindestrich-Zeichen */
    overflow-wrap: break-word;
}

.page-head p { max-width: 34rem; margin-top: 1.5rem; color: var(--ink-2); font-size: 1.12rem; }

/* Leistungs-Detail */
.svc .svc-h {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    letter-spacing: -0.025em;
    font-weight: 700;
}

.svc > p { max-width: 38rem; margin-block: 1.1rem 1.75rem; color: var(--ink-2); }

.svc ul { border-top: 1px solid var(--hairline); max-width: 38rem; }

.svc li {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink-2);
    font-size: 0.98rem;
    display: flex;
    gap: 0.9rem;
}

.svc li::before { content: "—"; color: var(--ink-3); }

.svc .tlink { display: inline-block; margin-top: 1.6rem; color: var(--accent); border-color: transparent; }
.svc .tlink:hover { border-color: var(--accent); }

/* Studio */
.values { counter-reset: v; max-width: 44rem; }

.values li {
    counter-increment: v;
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 1.6rem;
    border-top: 1px solid var(--hairline);
}

.values li:last-child { border-bottom: 1px solid var(--hairline); }

.values li::before {
    content: "0" counter(v);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ink-3);
    padding-top: 0.3rem;
}

.values strong { display: block; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.25rem; }
.values p { color: var(--ink-2); font-size: 0.98rem; }

.founder { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.5rem; }

.founder i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid var(--hairline-strong);
    border-radius: 50%;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.founder strong { display: block; font-weight: 700; }
.founder span { color: var(--ink-2); font-size: 0.92rem; }

/* Kontakt */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
    padding-bottom: clamp(4rem, 9vw, 7rem);
}

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

.chan { border-top: 1px solid var(--hairline); }

.chan a, .chan div { display: block; padding-block: 1.15rem; border-bottom: 1px solid var(--hairline); }
.chan .tag { margin-bottom: 0.2rem; }
.chan b { font-weight: 650; letter-spacing: -0.01em; }
.chan a:hover b { color: var(--accent); }

/* Formular: Linien statt Kästen */
.f-field { position: relative; margin-bottom: 2.1rem; }

.f-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.35rem;
}

.f-field input,
.f-field select,
.f-field textarea {
    width: 100%;
    padding: 0.55rem 0;
    font: inherit;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--field-line);
    border-radius: 0;
    transition: border-color 0.25s var(--ease);
}

.f-field textarea { resize: vertical; min-height: 96px; }

/* Fokus: Unterlinie färbt sich, Tastatur behält den globalen Ring */
.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus { border-bottom-color: var(--accent); }

.f-field input:focus:not(:focus-visible),
.f-field select:focus:not(:focus-visible),
.f-field textarea:focus:not(:focus-visible) { outline: none; }

.f-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5f66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 14px;
}

[data-theme="dark"] .f-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5a5ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.f-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 2.1rem;
    font-size: 0.92rem;
    color: var(--ink-2);
}

.f-consent input { width: 17px; height: 17px; margin-top: 0.2rem; accent-color: var(--accent); }


/* ── Footer ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--hairline); padding-block: 2rem; }

.foot {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    align-items: center;
    font-size: 0.82rem;
    color: var(--ink-3);
}

.foot nav { display: flex; gap: 1.5rem; margin-left: auto; }
.foot nav a:hover { color: var(--ink); }

/* ── Reveals ────────────────────────────────────────────── */
main { padding-top: var(--header-h); }

/* Nur mit aktivem JS ausblenden – ohne JS bleibt alles sichtbar */
html.js .r { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .r.in { opacity: 1; transform: none; }

/* ── Rechtstexte (Impressum, Datenschutz) ───────────────── */
.legal { max-width: 46rem; padding-bottom: 5rem; }
.legal h2 {
    margin: 2.6rem 0 0.9rem;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.legal h3 {
    margin: 1.8rem 0 0.6rem;
    font-size: 0.98rem;
    font-weight: 700;
}
.legal p, .legal li {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink-2);
}
.legal p + p { margin-top: 0.8rem; }
.legal ul { margin: 0.8rem 0 0.8rem 1.25rem; list-style: disc; }
.legal ul li { margin-top: 0.35rem; }
.legal ul li::marker { color: var(--ink-3); }
.legal a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--hairline-strong);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;   /* lange URLs in Rechtstexten umbrechen */
}
.legal a:hover { color: var(--accent); text-decoration-color: currentColor; }
.legal strong { color: var(--ink); }

/* ── Formular: Honeypot, Fehler, Statusmeldungen ────────── */
.hp-field {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
}

.f-error {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: var(--error);
}

.f-alert {
    margin-bottom: 1.6rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--accent);
    font-size: 0.92rem;
    line-height: 1.55;
}
.f-alert--success { border-left-color: #1e7d3c; }
.f-alert--error   { border-left-color: #b3261e; }

/* WhatsApp-FAB: Funktion wie Hauptwebsite, Ausführung editorial.
   z-Index unter dem Fullscreen-Menü (45) */
.wa-fab {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 42;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 52px;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--hairline-strong);
    color: var(--wa-green);
    transition: gap 0.3s var(--ease), transform 0.25s var(--ease),
                border-color 0.25s var(--ease), background-color 0.35s var(--ease);
}

.wa-fab:hover {
    gap: 0.6rem;
    transform: translateY(-2px);
    border-color: var(--wa-green);
}

.wa-fab__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    transition: max-width 0.35s var(--ease);
}

.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label { max-width: 120px; }


@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .r { opacity: 1; transform: none; }
    .statement .w { color: var(--ink); }
    .menu__links a, .menu__foot { opacity: 1; transform: none; }
}
