@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink: #f4f0e7;
    --text: #f4f0e7;
    --accent: #91d5ff;
    --accent-hover: #bce6ff;
    --muted: #ffffff;
    --dim: #ffffff;
    --line: rgba(244, 240, 231, .14);
    --line-strong: rgba(244, 240, 231, .28);
    --on-ink: #1b2935;
    /* Glas-Material: transparente Fläche + Weichzeichner des Hintergrunds, helle Lichtkante oben */
    --glass: rgba(244, 240, 231, .055);
    --glass-hover: rgba(244, 240, 231, .095);
    --glass-solid: #263642;
    --glass-solid-hover: #30434d;
    --glass-blur: 16px;
    --glass-edge: rgba(244, 240, 231, .16);
    --glass-rim: inset 0 1px 0 rgba(244, 240, 231, .12);
    --glass-shadow: 0 24px 48px -28px rgba(4, 10, 18, .65);
    --glass-well: rgba(8, 16, 24, .38);
    --glass-well-focus: rgba(8, 16, 24, .52);
    color-scheme: dark;
    --radius: 18px;
    --max: 1600px;
    --header-h: 84px;
    --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-heading: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, summary, [role="button"] { touch-action: manipulation; }

::selection { background: var(--accent); color: var(--on-ink); }

/* ---------- Hintergrund: gedecktes Navy mit ruhigem Lichtschein ---------- */

html::before {
    content: "";
    position: fixed;
    inset: -30%;
    height: 160vh;
    height: 160lvh;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 78% 18%, rgba(145, 213, 255, .2), transparent 70%),
        radial-gradient(ellipse 45% 40% at 22% 55%, rgba(145, 213, 255, .09), transparent 70%),
        radial-gradient(ellipse 60% 50% at 10% 95%, rgba(244, 240, 231, .06), transparent 70%),
        #1b2935;
}

html { background: #1b2935; }

/* Feines Korn nimmt den Flächen die digitale Glätte – reine SVG-Textur, keine Bilddatei. */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Glas-Material: siehe Block vor "Responsive" ---------- */

@media (prefers-contrast: more) {
    html::before { background: #1b2935; }
    .bg { display: none; }
}


.page {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: height .4s var(--ease), opacity var(--page-fade-duration, .32s) ease, transform .35s var(--ease);
}

.site-header.is-hidden:not(:focus-within) { transform: translateY(-100%); }
body.nav-open .site-header.is-hidden,
html.pt-leaving .site-header.is-hidden,
html.pt-arriving .site-header.is-hidden { transform: none; }

.site-header.scrolled { height: 68px; }

/* Glas liegt auf einem Pseudo-Element: ein backdrop-filter direkt auf dem Header würde das fixierte Mobil-Menü einfangen. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(27, 41, 53, .58);
    border-bottom: 1px solid var(--glass-edge);
    box-shadow: 0 1px 0 rgba(244, 240, 231, .04) inset, 0 12px 32px -24px rgba(4, 10, 18, .7);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
}

.site-header.scrolled::before { opacity: 1; }
body.nav-open .site-header::before { opacity: 0; }

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -.04em;
    color: var(--ink);
}

.brand img { height: 30px; width: auto; transition: height .4s var(--ease); }
.brand picture { display: block; }
.site-header.scrolled .brand img { height: 26px; }
.brand-name span { color: var(--dim); }

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.site-nav a {
    position: relative;
    display: inline-block;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .3s;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.site-nav a[aria-current="page"],
.site-nav a[aria-current="true"] { color: var(--accent); }

.site-nav a[aria-current="page"]::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
    .site-nav a:hover { color: var(--accent); }
    .site-nav a:hover::after { transform: scaleX(1); }
}

.site-nav .nav-cta {
    margin-left: 10px;
    border: 1px solid rgba(145, 213, 255, .55);
    border-radius: 999px;
    color: var(--accent);
    padding: 9px 20px;
    background: rgba(145, 213, 255, .08);
    box-shadow: var(--glass-rim);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    transition: color .3s, background .3s, border-color .3s;
}

.site-nav .nav-cta::after { display: none; }
@media (hover: hover) and (pointer: fine) {
    .site-nav .nav-cta:hover { background: var(--accent); color: var(--on-ink); border-color: var(--accent); }
}

@media (min-width: 861px) {
    .site-header .container { position: relative; }
    .site-nav { position: absolute; left: 0; right: 0; pointer-events: none; }
    .site-nav ul { display: grid; grid-template-columns: repeat(4, 1fr); width: max-content; margin: 0 auto; }
    .site-nav a { display: block; text-align: center; pointer-events: auto; }
    .site-nav li:last-child { position: absolute; right: clamp(28px, 5vw, 96px); }
}

@media (min-width: 861px) and (max-width: 1100px) {
    .brand img { height: 24px; }
    .site-nav a { padding-left: 8px; padding-right: 8px; font-size: 10px; letter-spacing: .16em; }
    .site-nav .nav-cta { margin-left: 0; padding: 9px 12px; }
    .site-nav a::after { left: 8px; right: 8px; }
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 60;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .35s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Typo / Buttons ---------- */

.eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
}

h1, h2, h3 {
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.05;
    overflow-wrap: break-word;
    hyphens: auto;
}

h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; }
h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; }

/* Hervorgehobenes Wort in großen Überschriften als Outline */
.hero h1 span,
.page-hero h1 span {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1.4px var(--accent);
    letter-spacing: inherit;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }

.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .25em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}

.btn:not(.btn-primary) {
    background: rgba(244, 240, 231, .06);
    color: var(--ink);
    border-color: rgba(145, 213, 255, .6);
    box-shadow: var(--glass-rim);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
}

.btn-primary { background: var(--accent); color: var(--on-ink); border-color: var(--accent); box-shadow: 0 10px 24px -14px rgba(145, 213, 255, .55); }

@media (hover: hover) and (pointer: fine) {
    .btn:hover { transform: translateY(-2px); }
    .btn:not(.btn-primary):hover { background: rgba(145, 213, 255, .14); border-color: var(--accent); }
    .btn-primary:hover { background: var(--accent-hover); color: var(--on-ink); border-color: var(--accent-hover); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .btn::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .24) 50%, transparent 75%);
        transform: translateX(-120%);
        pointer-events: none;
    }
    .btn:hover::after,
    .btn:focus-visible::after { animation: button-sheen .65s ease-out; }
}

@keyframes button-sheen {
    to { transform: translateX(120%); }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 32px) 0 64px;
}

/* Stimmungsbild hinter dem Hero: liegt unter dem Inhalt und läuft nach unten in das Seiten-Navy aus. */
.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(27, 41, 53, .78) 0%, rgba(27, 41, 53, .55) 45%, rgba(27, 41, 53, .2) 100%),
        linear-gradient(180deg, rgba(27, 41, 53, .4) 0%, rgba(27, 41, 53, .08) 40%, #1b2935 100%);
}
@media (prefers-contrast: more) {
    .hero-backdrop { display: none; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 3.6vw, 4.5rem);
    letter-spacing: 0;
    line-height: 1.15;
}

.hero .lead { margin: 26px 0 32px; }
.hero h1 .handwritten,
.page-hero h1 .handwritten { position: relative; display: inline-block; -webkit-text-stroke: 0; }
.handwritten svg { position: absolute; left: 0; top: 14%; width: 100%; height: 75%; overflow: visible; }
.handwritten path { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
    .handwritten.write-pending path { stroke-dasharray: 1; stroke-dashoffset: 1; }
    /* Jeder Buchstabe trägt seinen Versatz als --letter-delay im HTML; der Faktor regelt das Tempo des ganzen Wortes. */
    .handwritten.is-writing path {
        stroke-dasharray: 1;
        animation: handwriting .55s ease-in-out both;
        animation-delay: calc(var(--letter-delay, 0s) * .6);
    }
    @keyframes handwriting {
        from { stroke-dashoffset: 1; }
        to { stroke-dashoffset: 0; }
    }
}

.hero-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
}

/* Weicher Bodenschatten, damit die Geräte nicht frei im Raum schweben. */
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18% -6% 6%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, .45), transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}
.hero-visual figcaption { text-align: center; font-size: 13px; color: var(--text); }
.hero-visual figcaption span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mockup-slides { display: grid; width: 100%; }
.mockup-slide {
    grid-area: 1 / 1;
    min-width: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
}
.mockup-slide.is-active { opacity: 1; visibility: visible; }
.mockup-error[hidden] { display: none; }
.mockup-error { font-size: 12px; color: var(--muted); }
.mockup-slides:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 4px; }

.page-hero {
    min-height: 68vh;
    min-height: 68svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 32px;
}

.page-hero > .container { width: 100%; }

.page-hero h1 {
    font-size: clamp(2.4rem, 3.6vw, 4.5rem);
    letter-spacing: 0;
    line-height: 1.15;
    margin-bottom: 30px;
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }


.page > section + section { position: relative; }
.page > section + section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(min(100%, var(--max)) - 56px);
    height: 1px;
    background: var(--line-strong);
    transform: translateX(-50%);
    transform-origin: left center;
    transition: transform 1s var(--ease);
    pointer-events: none;
}

.page > section.effect-pending::before { transform: translateX(-50%) scaleX(0); }

@media (max-width: 640px) {
    .page > section + section::before { width: calc(100% - 40px); }
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.section-head .lead { max-width: 440px; }

.service-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 30px; font-size: 14px; color: var(--muted); }
.service-nav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.service-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
    .service-nav a:hover { color: var(--ink); border-bottom-color: currentColor; }
}
.service-overview .container { max-width: var(--max); }
.service-entry { display: flex; flex-direction: column; }
.service-entry ul { margin-bottom: 24px; }
.service-entry .btn { margin-top: auto; align-self: flex-start; }
.package-note a { text-decoration: underline; text-underline-offset: 3px; }

.personal-intro { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.personal-intro .lead { margin: 24px 0; }
.about-profile { display: flex; align-items: center; gap: 24px; }
.split.profile-layout { align-items: center; }
.about-profile .profile-portrait { margin: 0; width: 46%; flex-shrink: 0; }
.profile-details { min-width: 0; }
.about-profile .profile-name { font-size: clamp(1.3rem, 1.7vw, 1.8rem); line-height: 1.2; color: var(--ink); margin-bottom: 8px; }
.profile-role { margin-bottom: 22px; }
.profile-contact { border-top: 1px solid var(--line-strong); padding-top: 18px; margin-bottom: 24px; }
.profile-contact p { margin-bottom: 12px; }
.profile-contact a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.profile-details .btn { padding: 10px 14px; font-size: 10px; letter-spacing: .12em; max-width: 100%; }
.profile-portrait {
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}
.section-faq { background: rgba(0, 0, 0, .06); }
.section-faq .container { max-width: 1200px; }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list details:first-child { border-top: 1px solid var(--line-strong); }
.faq-list summary {
    position: relative;
    padding: 22px 48px 22px 8px;
    cursor: pointer;
    font-size: 18px;
    list-style: none;
    transition: background .25s ease, color .25s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 14px;
    height: 1px;
    background: currentColor;
    transition: transform .3s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details[open] summary { background: rgba(255, 255, 255, .04); }
.faq-list summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.faq-list details p { max-width: 820px; padding: 0 8px 24px; color: var(--muted); }
.faq-list a { text-decoration: underline; text-underline-offset: 3px; }

/* Ausklappbare Textblöcke: Absätze bleiben im HTML, werden aber erst auf Wunsch sichtbar */
.read-more { margin: 18px 0 0; }
.read-more summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 6px 0;
    transition: color .25s ease;
}
.read-more summary::-webkit-details-marker { display: none; }
.read-more summary::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background:
        linear-gradient(currentColor, currentColor) center / 6px 1px no-repeat,
        linear-gradient(currentColor, currentColor) center / 1px 6px no-repeat;
    transition: transform .3s var(--ease), background-size .3s var(--ease);
}
.read-more[open] summary::before { background-size: 6px 1px, 1px 0; }
.read-more summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.read-more .read-more-label-open { display: none; }
.read-more[open] .read-more-label-open { display: inline; }
.read-more[open] .read-more-label-closed { display: none; }
.read-more > :not(summary) { margin-top: 14px; }
.read-more > p + p { margin-top: 1em; }
.audience-panel .read-more { margin-top: 0; }
.audience-panel .read-more p { margin-top: 14px; }
@media (hover: hover) and (pointer: fine) {
    .read-more summary:hover { color: var(--ink); }
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chips-band { margin: -20px 0 40px; }
.chips-track .chips[aria-hidden] { display: none; }
.chips li {
    padding: 9px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--glass);
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}
/* Mobil: Branchen als randloses Laufband statt Chip-Wolke */
@media (max-width: 860px) {
    .chips-band {
        --chips-gap: 8px;
        margin: -12px -28px 36px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    }
    .chips-band::-webkit-scrollbar { display: none; }
    .chips-track { display: flex; width: max-content; padding: 4px 0; }
    .chips-track .chips { flex-wrap: nowrap; gap: var(--chips-gap); padding: 0 var(--chips-gap) 0 0; }
    .chips-track .chips:first-child { padding-left: 28px; }
    .chips-track .chips li { font-size: 13px; padding: 8px 15px; }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
    .chips-band.is-ready { overflow: hidden; }
    .chips-band.is-ready .chips-track .chips:first-child { padding-left: 0; }
    .chips-band.is-ready .chips-track .chips[aria-hidden] { display: flex; }
    .chips-band.is-ready .chips-track { animation: chips-scroll 38s linear infinite; }
}
@keyframes chips-scroll {
    to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
    .chips-band { margin-left: -20px; margin-right: -20px; }
    .chips-track .chips:first-child { padding-left: 20px; }
}

/* Karten */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    transition: background .65s ease, border-color .65s ease, transform .85s cubic-bezier(.45, 0, .25, 1), box-shadow .65s ease;
    overflow: hidden;
}

.card:focus-within {
    background: var(--glass-hover);
    border-color: rgba(145, 213, 255, .5);
    box-shadow: var(--glass-rim), 0 28px 56px -28px rgba(4, 10, 18, .75);
}
@media (hover: hover) and (pointer: fine) {
    .card:hover {
        background: var(--glass-hover);
        border-color: rgba(145, 213, 255, .5);
        box-shadow: var(--glass-rim), 0 28px 56px -28px rgba(4, 10, 18, .75);
    }
}

.card .num {
    font-size: 12px;
    letter-spacing: .3em;
    color: var(--dim);
    margin-bottom: 26px;
    display: block;
}

.card h3 { margin-bottom: 14px; transition: color .65s ease; }
.card:focus-within h3 { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
    .card:hover h3 { color: var(--accent); }
}
.card p { color: var(--muted); font-size: 15.5px; }

.service-overview .service-entry { padding: clamp(28px, 3vw, 42px) clamp(24px, 3vw, 44px); }
.service-overview .service-entry h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.service-overview .service-entry p { font-size: 16px; }

/* Kontur-Ziffer über Leistungskarten, gleiche Formensprache wie die Ziffern der Startseite */
.card .card-num {
    display: block;
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(145, 213, 255, .35);
    transition: color .5s ease, -webkit-text-stroke-color .5s ease;
}
@media (hover: hover) and (pointer: fine) {
    .card:hover .card-num,
    .card:focus-within .card-num { color: rgba(145, 213, 255, .18); -webkit-text-stroke-color: var(--accent); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .card .card-num { color: var(--dim); -webkit-text-stroke: 0; }
}

.card ul {
    list-style: none;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.card li {
    font-size: 14.5px;
    color: var(--muted);
    padding: 5px 0 5px 22px;
    position: relative;
}

.card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 10px;
    height: 1px;
    background: var(--ink);
}

.package-note {
    max-width: 720px;
    margin: 36px auto 0;
    text-align: center;
    font-size: 14px;
    color: var(--dim);
}

/* Leistungskarten: Icon, Titel, Text und Liste je Reihe auf gleicher Höhe */
@media (min-width: 1001px) {
    .grid-services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .grid-services > .card { grid-column: span 2; }
    .grid-services > .card:nth-child(n+4) { grid-column: span 3; }
}

@media (min-width: 641px) and (max-width: 1000px) {
    .grid-services > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@supports (grid-template-rows: subgrid) {
    .grid-services { row-gap: 0; margin-bottom: -22px; }
    .grid-services > .card {
        display: grid;
        grid-row: span 4;
        grid-template-rows: subgrid;
        row-gap: 0;
        align-content: start;
        margin-bottom: 22px;
    }
    .grid-services > .card ul { align-self: start; }
}

/* Prozess */

.process {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.process-step {
    position: relative;
    min-width: 0;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    overflow: hidden;
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    margin-bottom: 24px;
    font-size: 13px;
    letter-spacing: .3em;
    color: var(--dim);
}

.process-step h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 14px; }
.process-step p { color: var(--muted); }
.process-step::before { transition: color .5s ease; }
.process-step.is-current::before { color: var(--ink); }

.service-line {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 72px minmax(180px, 1fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 28px;
    padding: 32px 28px;
    margin: 0 -28px;
    border-top: 1px solid var(--line);
}
/* Radius nur auf den Pseudo-Elementen, damit die Trennlinie gerade bleibt und beim Hover unter der Glasfläche verschwindet. */
.service-line::before,
.service-line::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s var(--ease);
}
/* Glasfläche */
.service-line::before {
    z-index: -2;
    background: var(--glass);
    box-shadow: var(--glass-rim), inset 0 0 0 1px var(--glass-edge);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
}
/* Lichtfleck unter dem Zeiger (Position liefert main.js über --mx/--my) */
.service-line::after {
    z-index: -1;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(145, 213, 255, .16), transparent 70%);
}
.service-line:last-child { border-bottom: 1px solid var(--line); }
.service-line:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Große Ghost-Ziffer in Konturschrift */
.service-line .num {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 3.6vw, 3.6rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(145, 213, 255, .35);
    transition: color .5s ease, -webkit-text-stroke-color .5s ease, transform .6s var(--ease);
}
.service-line h3 { font-size: clamp(1.4rem, 2.5vw, 2.4rem); transition: color .3s; }
.service-line p { color: var(--muted); }
.service-line:focus-visible h3 { color: var(--accent); }
.service-line:focus-visible::before,
.service-line:focus-visible .num { opacity: 1; -webkit-text-stroke-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
    .service-line:hover { border-top-color: transparent; }
    .service-line:hover + .service-line { border-top-color: transparent; }
    .service-line:hover:last-child { border-bottom-color: transparent; }
    .service-line:hover::before,
    .service-line:hover::after { opacity: 1; }
    .service-line:hover h3 { color: var(--accent); }
    .service-line:hover .num { color: rgba(145, 213, 255, .18); -webkit-text-stroke-color: var(--accent); transform: translateX(4px); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .service-line::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-solid); }
    .service-line::after { display: none; }
    .service-line .num { color: var(--dim); -webkit-text-stroke: 0; }
}
.audience-switch { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 100px); }
.audience-tabs { display: flex; flex-direction: column; align-items: stretch; }
.audience-tabs[hidden], .audience-panel[hidden] { display: none; }
.audience-tabs button {
    position: relative;
    text-align: left;
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--dim);
    font-size: clamp(1.3rem, 2.5vw, 2.4rem);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -.025em;
    cursor: pointer;
}
.audience-tabs button[aria-selected="true"] { color: var(--accent); }
.audience-tabs button::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
}
.audience-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.audience-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.audience-panel { padding: 24px 0; }
.audience-panel h3 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.15; margin-bottom: 24px; }
.audience-panel p { color: var(--muted); max-width: 620px; }
.audience-panel ul { list-style: none; margin-top: 26px; }
.audience-panel li { border-top: 1px solid var(--line); padding: 10px 0; }
.audience-panels {
    min-width: 0;
    padding-left: clamp(20px, 3vw, 48px);
    border-left: 1px solid var(--accent);
    background: linear-gradient(110deg, rgba(145, 213, 255, .09), transparent 70%);
}
.process.process-timeline { position: relative; grid-template-columns: 1fr; gap: 0; }
.process-timeline::before, .process-timeline::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}
.process-timeline::after {
    background: linear-gradient(180deg, var(--accent), rgba(145, 213, 255, .55));
    box-shadow: 0 0 14px rgba(145, 213, 255, .45), 0 0 32px rgba(145, 213, 255, .18);
    transform: scaleY(var(--process-progress, 0));
    transform-origin: top;
}
.process-timeline .process-step {
    isolation: isolate;
    z-index: 1;
    padding: 30px 0 44px 100px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
}
/* Nummer als Glasscheibe über der Linie */
.process-timeline .process-step::before {
    position: absolute;
    left: 0;
    top: 30px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    text-align: center;
    letter-spacing: .08em;
    border-radius: 50%;
    /* Deckende Navy-Basis unter der Glas-Tönung: die Linie endet am Kreisrand statt durchzulaufen. */
    background: linear-gradient(rgba(244, 240, 231, .06), rgba(244, 240, 231, .06)), #1b2935;
    box-shadow: var(--glass-rim), inset 0 0 0 1px var(--glass-edge), 0 12px 24px -16px rgba(4, 10, 18, .7);
    transition: color .5s ease, background .5s ease, box-shadow .5s ease, transform .6s var(--ease);
}
/* Glasfläche hinter dem aktiven Schritt */
.process-timeline .process-step::after {
    content: "";
    position: absolute;
    inset: 10px -24px 24px 76px;
    z-index: -1;
    border-radius: var(--radius);
    background: var(--glass);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    box-shadow: var(--glass-rim), inset 0 0 0 1px var(--glass-edge);
    opacity: 0;
    transition: opacity .6s var(--ease);
    pointer-events: none;
}
.process-timeline .process-step.is-current::after { opacity: 1; }
.process-timeline .process-step.is-current::before {
    color: var(--accent);
    background: linear-gradient(rgba(145, 213, 255, .16), rgba(145, 213, 255, .16)), #1b2935;
    box-shadow: var(--glass-rim), inset 0 0 0 1px var(--accent), 0 0 0 6px rgba(145, 213, 255, .08), 0 0 28px rgba(145, 213, 255, .35);
    transform: scale(1.06);
}
.process-timeline .process-step h3 { transition: color .4s; }
.process-timeline .process-step.is-current h3 { color: var(--accent); }
.process-timeline .process-step p { max-width: 680px; }
@media (hover: hover) and (pointer: fine) {
    .process-timeline .process-step:hover { background: transparent; box-shadow: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .process-timeline .process-step::before { background: #1b2935; }
    .process-timeline .process-step::after { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .service-line h3 { transition: color .65s ease-in-out, transform .85s cubic-bezier(.45, 0, .25, 1); }
    .audience-tabs button { transition: color .65s ease-in-out, padding-left .85s cubic-bezier(.45, 0, .25, 1); }
    .audience-tabs button::after { transition: transform .5s var(--ease); }
    .audience-panel:not([hidden]) > * { animation: audience-in .65s var(--ease) both; }
    .audience-panel:not([hidden]) h3 { animation-delay: .08s; }
    .audience-panel:not([hidden]) p { animation-delay: .16s; }
    .audience-panel:not([hidden]) ul { animation-delay: .24s; }
    .audience-panel:not([hidden]) li { animation: audience-in .6s var(--ease) both; animation-delay: .28s; }
    .audience-panel:not([hidden]) li:nth-child(2) { animation-delay: .36s; }
    .audience-panel:not([hidden]) li:nth-child(3) { animation-delay: .44s; }
    @keyframes audience-in {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: none; }
    }
    @media (hover: hover) and (pointer: fine) {
        .service-line:hover h3 { transform: translateX(6px); }
        .audience-tabs button:hover { color: var(--ink); padding-left: 6px; }
    }
}
@media (max-width: 700px) {
    .service-line { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 20px; margin: 0 -20px; }
    .service-line::before, .service-line::after { border-radius: 14px; }
    .service-line .num { font-size: 1.9rem; }
    .service-line p { grid-column: 2; }
    .audience-switch { grid-template-columns: 1fr; gap: 20px; }
    .audience-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
    .audience-tabs button { font-size: 1rem; padding: 12px 0; }
    .process-timeline .process-step { padding-left: 76px; }
    .process-timeline .process-step::after { inset: 12px -12px 24px 60px; border-radius: 14px; }
}

/* Referenzen */

.work {
    display: block;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--glass);
    transition: transform .5s var(--ease), box-shadow .4s;
}

@media (hover: hover) and (pointer: fine) {
    .work:hover { transform: translateY(-4px); box-shadow: var(--glass-rim), 0 28px 56px -28px rgba(4, 10, 18, .75); }
}

.work-visual {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #77787c, #5a5b5f);
}

.work-visual.v2 { background: linear-gradient(200deg, #6c6d71, #4c4d51); }
.work-visual.v3 { background: linear-gradient(160deg, #828387, #626367); }
.work-visual.v4 { background: linear-gradient(20deg, #55565a, #75767a); }

.work-visual .mock {
    width: 72%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    background: #f4f4f5;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .35);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .7s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .work:hover .mock { transform: scale(1.04) translateY(-4px); }
}

.work-visual .shot {
    width: 86%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
    transition: transform .7s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .work:hover .shot { transform: scale(1.04) translateY(-4px); }
}

.mock i {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .1);
}

.mock i:nth-child(1) { width: 30%; height: 8px; background: rgba(0, 0, 0, .55); margin-bottom: 8px; }
.mock i:nth-child(2) { width: 80%; }
.mock i:nth-child(3) { width: 65%; }
.mock i:nth-child(4) { margin-top: auto; width: 26%; height: 16px; border-radius: 8px; background: var(--on-ink); }

.work-info {
    padding: 24px 26px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.work-info h3 { margin-bottom: 6px; }

.tag {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--dim);
}

/* Zitat */

.quote {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote blockquote {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.3;
    color: var(--ink);
}

.quote cite {
    display: block;
    margin-top: 28px;
    font-style: normal;
    font-size: 11px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--dim);
    margin-right: -.35em;
}

/* Preise */

.price-card { display: flex; flex-direction: column; }
.price-card .price {
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: -.05em;
    color: var(--ink);
    margin: 4px 0 6px;
    line-height: 1;
}
.price-card .price small { font-size: 14px; letter-spacing: 0; color: var(--dim); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-card ul { margin-bottom: 30px; }
.price-card.featured { background: rgba(145, 213, 255, .07); border-color: rgba(145, 213, 255, .45); }
.section.section-packages { padding: 48px 0; }
.section-packages .container { max-width: var(--max); }
.section-packages .section-head { margin-bottom: 30px; }
.section-packages .grid { gap: 22px; }
.section-packages .price-card { padding: clamp(28px, 3vw, 42px) clamp(24px, 3vw, 44px); }
.section-packages .price-card .price { font-size: 2.6rem; }
.section-packages .price-card h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.section-packages .price-card p { font-size: 16px; line-height: 1.55; }
.section-packages .price-card ul { margin-top: 22px; padding-top: 18px; margin-bottom: 30px; }
.section-packages .price-card li { font-size: 14.5px; padding-top: 5px; padding-bottom: 5px; }
.section-packages .price-card li::before { top: 15px; }
.section-packages .price-card .btn { padding: 12px 18px; }
.section-packages .package-note { margin-top: 20px; font-size: 13px; }
.section-packages .package-note + .package-note { margin-top: 10px; }
.section-packages .badge { top: 16px; right: 16px; padding: 4px 10px; }
@supports (grid-template-rows: subgrid) {
    @media (min-width: 641px) {
        .section-packages .grid { row-gap: 0; margin-bottom: -22px; }
        .section-packages .price-card {
            display: grid;
            grid-row: span 4;
            grid-template-rows: subgrid;
            row-gap: 0;
            margin-bottom: 22px;
        }
        .section-packages .grid-2 .price-card,
        .section-packages .grid-hosting .price-card { grid-row: span 5; }
        .section-packages .price-card .btn { align-self: end; }
    }
}
.badge {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-ink);
}

/* Über uns */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.logo-stage {
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--glass);
    display: grid;
    place-items: center;
}

.logo-stage img { width: 70%; height: auto; }

.prose p + p { margin-top: 18px; }
.prose p { color: var(--muted); }
.prose h2 { margin-bottom: 28px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:focus-visible { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
    .prose a:hover { color: var(--accent); }
}
/* Freistehender Textblock ohne Split-Layout: Zeilenlänge begrenzen */
.prose-narrow { max-width: 760px; }

/* CTA */

.cta {
    text-align: center;
    padding: 68px 40px;
    border-radius: 28px;
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--text);
}

.cta h2 { color: var(--ink); margin-bottom: 22px; }
.cta .eyebrow { color: var(--accent); }
.cta .lead { color: var(--muted); margin: 0 auto 40px; }
.cta .btn-row { justify-content: center; }
.cta .btn-primary { background: var(--accent); color: var(--on-ink); border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
    .cta .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
}

/* Kontakt */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
}

.contact-page { padding: 84px 0; }

.contact-grid { align-items: stretch; }

.contact-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    letter-spacing: -.03em;
    margin-bottom: 10px;
}

.contact-intro { color: var(--muted); max-width: 420px; }

.contact-list { list-style: none; }
.contact-list li, .card .contact-list li { padding: 22px 0; font-size: inherit; color: inherit; border-top: 1px solid var(--line-strong); }
.card .contact-list li::before { content: none; }
.card .contact-list li:first-child { border-top: 0; padding-top: 0; }
.card .contact-list li:last-child { padding-bottom: 0; }
.contact-list .tag { display: block; margin-bottom: 6px; }
.contact-list a, .contact-list .value { font-size: 1.2rem; color: var(--ink); font-style: normal; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
    .contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.form .full { grid-column: 1 / -1; }

.contact-grid > .card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 72px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 3px 3px;
}
.contact-card .contact-list { margin-top: 24px; padding-top: 0; border-top: 0; }
.contact-card .contact-list li { padding-left: 64px; }
.contact-symbol {
    position: absolute;
    left: 0;
    top: 24px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(145, 213, 255, .25);
    border-radius: 12px;
    background: rgba(145, 213, 255, .07);
    color: var(--accent);
    transition: background .65s ease, border-color .65s ease;
}
.contact-list li:first-child .contact-symbol { top: 2px; }
.contact-symbol svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
    .contact-list li:hover .contact-symbol { background: rgba(145, 213, 255, .15); border-color: var(--accent); }
}
.contact-heading,
.form-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); }
.form-heading { margin-bottom: 6px; }
.contact-heading .eyebrow,
.form-heading .eyebrow { margin-bottom: 12px; }
.form-heading h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 10px; }
.form-heading p { max-width: 480px; }
.contact-grid .field:focus-within label { color: var(--accent); }

.field label {
    display: block;
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 15px 18px;
    background: var(--glass-well);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
    outline: none;
    transition: border-color .3s, background .3s;
}

.field textarea { min-height: 160px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); background: var(--glass-well-focus); }
.field ::placeholder { color: var(--dim); }
.field option { color: var(--text); background: #202f3a; }

.field label { transition: color .25s ease; }
.field:focus-within label { color: var(--ink); }
.field input:focus,
.field select:focus,
.field textarea:focus { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25), 0 0 0 3px rgba(145, 213, 255, .16); }

@media (prefers-reduced-motion: no-preference) {
    .btn:active { transform: translateY(0) scale(.98); }
    .faq-list details[open] p { animation: answer-in .35s var(--ease); }
    .read-more[open] > :not(summary) { animation: answer-in .35s var(--ease); }
}

@keyframes answer-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .footer-grid li a {
        display: inline-block;
        transition: color .3s ease, transform .3s var(--ease);
    }
    .footer-grid li a:hover { transform: translateX(4px); }
    .faq-list summary:hover { background: rgba(255, 255, 255, .04); }
}

.checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--muted);
}

.checkbox input { margin-top: 5px; accent-color: var(--ink); }
.checkbox a { text-decoration: underline; text-underline-offset: 3px; }

.form-status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-status[hidden] { display: none; }
.form-status.is-success { color: var(--ink); }
.form-status.is-error { color: #ffc9c9; }

/* Spam-Falle: für Menschen unsichtbar, Bots füllen sie aus */
.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Rechtstexte */

.legal { max-width: 820px; }
.legal h2 { font-size: 1.6rem; margin: 48px 0 14px; letter-spacing: -.02em; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal p, .legal li, .legal address { color: var(--muted); }
.legal address { font-style: normal; }
.legal address + p, .legal p + address { margin-top: 12px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal p + p { margin-top: 12px; }
.placeholder { background: rgba(255, 255, 255, .16); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 32px 56px;
    margin-bottom: 32px;
}

.footer-logo { height: 26px; width: auto; margin-bottom: 16px; }
.footer-grid > :last-child { text-align: left; }
.footer-grid p { color: var(--dim); font-size: 14px; max-width: 280px; }

.footer-grid .footer-heading {
    max-width: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 12px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 4px 0; }
.footer-grid li a { color: var(--muted); font-size: 14px; transition: color .3s; }
.site-footer a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: .02em;
    color: var(--dim);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (hover: hover) and (pointer: fine) {
    .footer-grid li a:hover,
    .footer-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- Reveal ---------- */

.text-accent {
    clip-path: inset(-8px -12px -8px -12px);
    transition: clip-path .95s var(--ease);
}
.text-accent.accent-pending { clip-path: inset(0 0 100% 0); }
.image-accent {
    clip-path: inset(0 0 0 0 round 3px);
    transition: clip-path 1.1s var(--ease);
}
.image-accent.accent-pending { clip-path: inset(0 0 100% 0 round 3px); }

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.effect-pending { opacity: 0; transform: translateY(20px); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { --reveal-delay: .08s; }
.reveal.d2 { --reveal-delay: .16s; }
.reveal.d3 { --reveal-delay: .24s; }

/* ---------- Erster Besuch ---------- */
@media (prefers-reduced-motion: no-preference) {
    html.first-visit:not(.pt-leaving):not(.pt-arriving)::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 200;
        pointer-events: none;
        background: #1b2935;
        animation: first-light 2.8s cubic-bezier(.22, .61, .36, 1) both;
    }
    html.first-visit:not(.pt-leaving):not(.pt-arriving) .site-header {
        animation: first-appear 2s ease-out .25s both;
    }
    /* .page und .hero-visual bewusst NICHT animieren: Das Overlay (::after) übernimmt die sichtbare
       Einblendung. opacity:0 auf dem LCP-Element bzw. seinen Vorfahren verhindert die LCP-Erfassung
       (PageSpeed: NO_LCP), und ein translateY würde das am Viewport-Rand geclippte Mockup beim ersten
       Paint verkleinern, sodass später die zweite Folie als größerer LCP-Kandidat zählt. */
    html.first-visit:not(.pt-leaving):not(.pt-arriving) .page > section:first-child .eyebrow,
    html.first-visit:not(.pt-leaving):not(.pt-arriving) .page > section:first-child h1,
    html.first-visit:not(.pt-leaving):not(.pt-arriving) .page > section:first-child .lead,
    html.first-visit:not(.pt-leaving):not(.pt-arriving) .page > section:first-child .btn-row {
        animation: first-unveil 2.2s cubic-bezier(.22, .61, .36, 1) .35s both;
    }
    html.first-visit .page > section:first-child h1 { animation-delay: .55s !important; }
    html.first-visit .page > section:first-child .lead { animation-delay: .95s !important; }
    html.first-visit .page > section:first-child .btn-row { animation-delay: 1.15s !important; }
}
@keyframes first-light {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes first-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes first-unveil {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Referenzen ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.project-feature {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .card.reveal {
        transition: opacity .7s var(--ease), background .65s ease, border-color .65s ease, transform .85s cubic-bezier(.45, 0, .25, 1), box-shadow .65s ease;
    }
    .card:not(.effect-pending):not(.form):hover,
    .card:not(.effect-pending):not(.form):focus-within { transform: translateY(-6px); }
    .card li::before { transition: transform .75s ease, background .65s ease; }
    .card:hover li::before,
    .card:focus-within li::before { transform: scaleX(1.4); background: var(--accent); }
    .process-step, .project-feature {
        transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
    }
    .process-step:hover, .project-feature:hover {
        background: var(--glass-hover);
        border-color: rgba(145, 213, 255, .35);
        box-shadow: var(--glass-rim), 0 28px 56px -28px rgba(4, 10, 18, .75);
    }
}
.project-feature-image { margin: 0; min-width: 0; }

/* Mehrere Projekt-Features untereinander */
.projects-stack { display: grid; gap: 28px; }

/* Vollbreites Projekt-Feature: Mockup links, Text rechts */
.project-feature-wide {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.project-feature-wide .device-mockup { padding: 28px 8px 28px 24px; }
.project-feature-wide .project-feature-copy { padding: 32px 40px 36px 24px; }
.project-feature-wide .project-feature-copy h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.project-feature-wide .project-feature-copy .lead { font-size: clamp(1rem, 1.3vw, 1.12rem); }
@media (max-width: 860px) {
    .project-feature-wide { grid-template-columns: 1fr; max-width: 640px; }
    .project-feature-wide .device-mockup { padding: 16px 16px 0; }
    .project-feature-wide .project-feature-copy { padding: 24px 28px 32px; }
}
.device-mockup {
    position: relative;
    padding: 16px 16px 0;
    isolation: isolate;
}
.device-mockup::before {
    content: "";
    position: absolute;
    inset: 5% -3% -5%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 65%, rgba(20, 20, 23, .32), transparent 68%);
    pointer-events: none;
}
.device-mockup img {
    display: block;
    width: 100%;
    height: auto;
}
.project-feature-copy { min-width: 0; padding: 24px 28px 32px; }
.project-feature-copy h2,
.project-feature-copy h3 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.2;
    overflow-wrap: normal;
    hyphens: manual;
    margin: 12px 0 16px;
}
.project-feature-copy .lead { font-size: 16px; margin-bottom: 0; }
.project-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    padding: 18px 0 0;
    margin: 22px 0;
    border-top: 1px solid var(--line-strong);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.preview-link { color: var(--accent); font-size: 12px; border-bottom: 1px solid var(--accent); padding: 8px 0; white-space: nowrap; }
/* Status-Hinweis für noch nicht gelaunchte Projekte – belegt denselben Platz wie .preview-link */
.project-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 0;
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--muted);
    border-bottom: 1px solid transparent;
}
.project-status-dot {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(145, 213, 255, .18);
}
.project-feature a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 700px) {
    .projects-grid { grid-template-columns: 1fr; max-width: 580px; }
    .project-feature-copy { padding: 20px 22px 28px; }
}

/* ---------- Persönlicher Abschnitt / Startseite ---------- */
.region-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
.region-landscape { margin: 0; min-width: 0; }
.region-landscape img { width: 100%; height: auto; border-radius: var(--radius); }
.region-intro .prose { min-width: 0; container-type: inline-size; }
.region-intro h2 { font-size: clamp(1rem, 7cqi, 3rem); }
.region-intro h2 span { display: block; white-space: nowrap; }
@media (max-width: 860px) {
    .region-intro { grid-template-columns: 1fr; }
}

.studio-intro { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(40px, 8vw, 140px); max-width: 1300px; margin: auto; }
.studio-portrait { max-width: 340px; }
/* Kein eigener Hintergrund, Rand oder Schatten: beim Aufrollen soll nur das Bild sichtbar werden. */
.portrait-frame { transition: transform .85s cubic-bezier(.45, 0, .25, 1); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .studio-portrait:hover .portrait-frame { transform: translateY(-6px); }
}
.studio-portrait img { width: 100%; height: auto; border-radius: 3px; }
.studio-portrait figcaption { margin-top: 14px; font-size: 11px; color: var(--dim); letter-spacing: .06em; }
.studio-intro-copy .lead { margin: 28px 0; }
.studio-intro-copy h2 + .btn { margin-top: 28px; }
@media (max-width: 860px) {
    .studio-intro { grid-template-columns: .7fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .studio-intro { grid-template-columns: 1fr; }
    .studio-portrait { width: 65%; max-width: 260px; }
    .preview-link, .project-status { font-size: 11px; }
}

/* ---------- Glas-Material ---------- */

/* Alle Glasflächen teilen Transparenz, Weichzeichner, Lichtkante oben und einen weichen Fallschatten.
   Steht bewusst nach den Komponenten, damit border-color und box-shadow hier gewinnen. */
.card,
.process-step,
.work,
.logo-stage,
.cta,
.project-feature,
.chips li {
    background: var(--glass);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    border-color: var(--glass-edge);
    box-shadow: var(--glass-rim), var(--glass-shadow);
}

.chips li { box-shadow: var(--glass-rim); }

/* Firefox (WebRender): Flächen mit backdrop-filter, die beim Hover Farbe, Schatten oder Position
   animieren, hinterlassen zeitweise eine falsch gecachte 256-px-Kachel – sichtbar als helles Rechteck
   in der Karte. Auf diesen Flächen entfällt in Firefox der Weichzeichner; der Hintergrund ist ein
   weicher Verlauf, die transparente Fläche wirkt dadurch praktisch unverändert. */
@supports (-moz-appearance: none) {
    .card, .process-step, .work, .logo-stage, .cta, .project-feature, .chips li {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* Im bewegten Laufband wäre ein Weichzeichner pro Chip zu teuer – deckende Fläche stattdessen. */
@media (max-width: 860px) {
    .chips-track .chips li { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.price-card.featured { background: rgba(145, 213, 255, .07); border-color: rgba(145, 213, 255, .45); }
.process-timeline .process-step { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Ohne Weichzeichner-Unterstützung: deckende Flächen wie zuvor. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root {
        --glass: var(--glass-solid);
        --glass-hover: var(--glass-solid-hover);
        --glass-well: #202f3a;
        --glass-well-focus: #263642;
    }
    .price-card.featured { background: var(--glass-solid); }
    .site-header::before { background: rgba(27, 41, 53, .97); }
    .site-nav .nav-cta, .btn:not(.btn-primary) { background: transparent; }
}

/* Reduzierte Transparenz oder hoher Kontrast: Glas abschalten, Lesbarkeit zuerst. */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    :root {
        --glass: var(--glass-solid);
        --glass-hover: var(--glass-solid-hover);
        --glass-well: #202f3a;
        --glass-well-focus: #263642;
    }
    .card, .process-step, .work, .logo-stage, .cta, .project-feature, .chips li,
    .site-header::before, .site-nav, .btn, .site-nav .nav-cta {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .price-card.featured { background: var(--glass-solid); }
    .site-header::before { background: rgba(27, 41, 53, .97); }
    .site-nav .nav-cta, .btn:not(.btn-primary) { background: transparent; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .logo-stage { max-width: 440px; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }

    .site-nav {
        position: fixed;
        inset: 0;
        bottom: auto;
        height: 100vh;
        height: var(--visible-height, 100dvh);
        padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
        background: rgba(27, 41, 53, .78);
        -webkit-backdrop-filter: blur(24px) saturate(150%);
        backdrop-filter: blur(24px) saturate(150%);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s var(--ease), visibility .4s;
    }

    .nav-open .site-nav { opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }

    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .site-nav { background: rgba(27, 41, 53, .98); }
    }
    @media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
        .site-nav { background: rgba(27, 41, 53, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
    }

    .site-nav ul { flex-direction: column; gap: 14px; }
    .site-nav a { font-size: 15px; }
    .site-nav .nav-cta { margin: 20px 0 0; }

    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    /* Auf kleinen Displays: Smartphone-Ausschnitt des Mockups, linksbündig zum Text, rechts weich auslaufend. */
    .hero-visual { width: min(100%, 300px); align-items: flex-start; }
    .hero-visual img {
        -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
        mask-image: linear-gradient(90deg, #000 70%, transparent);
    }
    .hero-visual::before { inset: 28% 10% 10% -10%; }
    .hero-visual figcaption { text-align: left; }
    .hero-backdrop::after {
        background:
            linear-gradient(180deg, rgba(27, 41, 53, .7) 0%, rgba(27, 41, 53, .45) 35%, rgba(27, 41, 53, .55) 70%, #1b2935 100%);
    }
    .hero h1, .page-hero h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
    .hero .lead { max-width: 560px; }
}

/* Handy im Querformat: wenig Höhe */
@media (max-height: 520px) and (orientation: landscape) {
    :root { --header-h: 64px; }
    .hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 50px; }
    .page-hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 30px; }
    .site-nav ul { gap: 4px; }
    .site-nav .nav-cta { margin-top: 10px; }
}

/* Große Monitore: alles proportional mitwachsen lassen */

@media (max-width: 640px) {
    .about-profile { flex-direction: column; align-items: flex-start; }
    .about-profile .profile-portrait { width: min(100%, 280px); }
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .grid-2, .grid-3, .grid-4, .form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :last-child { text-align: left; }
    .site-footer { padding-top: 40px; }
    .section { padding: 80px 0; }
    .process { grid-template-columns: 1fr; }
    .process-step { padding: 30px 24px; }
    .cta { padding: 48px 24px; }
    .page-hero { padding-top: calc(var(--header-h) + 30px); }
    /* Hero auf dem Handy entschlacken: Eyebrow einzeilig, Lead auf einen Satz gekürzt */
    .hero-eyebrow-more, .hero-lead-more { display: none; }
    .hero .lead { font-size: 1rem; margin: 20px 0 28px; }
    .price-card .price { line-height: 1.12; }
    .price-card .tag { padding-right: 96px; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 28px 20px; margin-bottom: 24px; }
    .footer-logo { height: 23px; margin-bottom: 12px; }
    .footer-grid .footer-heading { margin-bottom: 10px; }
    .footer-grid li a { display: inline-block; padding: 5px 0; font-size: 13px; }
    .footer-grid li { padding: 0; }
    .footer-bottom { gap: 12px; padding-top: 20px; font-size: 11px; }
}

/* ---------- Seitenübergang (wie gicoweb.de) ---------- */

:root {
    --pt-logo-w: min(345.6px, 80vw);
    --pt-logo-ratio: 0.19125;
}

@media (max-width: 640px) {
    :root { --pt-logo-w: min(180px, 48vw); --pt-logo-ratio: 0.6666667; }
    .brand img { height: 44px; }
    .site-header.scrolled .brand img { height: 38px; }
}

.page-transition-placeholder,
.pt-probe {
    content: "";
    position: fixed;
    z-index: 10000;
    left: 50%;
    top: 50%;
    /* Die Browserleisten dürfen das Animationsziel nicht verschieben. */
    top: var(--pt-center-y, 50svh);
    width: var(--pt-logo-w);
    height: calc(var(--pt-logo-w) * var(--pt-logo-ratio));
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.page-transition-placeholder {
    max-width: none;
    object-fit: contain;
    display: block;
}

.pt-probe { visibility: hidden; }

html.pt-leaving .brand img,
html.pt-arriving .brand img { transition: none; }

html.pt-leaving .site-header,
html.pt-arriving .site-header { transition-property: opacity; }

html.pt-js .brand img { visibility: hidden; }
html.pt-fade.pt-leaving:not(.pt-js) .site-header,
html.pt-fade.pt-arriving:not(.pt-js) .site-header {
    opacity: 1;
    pointer-events: auto;
    transition: height .4s var(--ease);
}
html.pt-fade .site-nav a::after { transition: none; }

.page-transition-logo {
    position: fixed;
    z-index: 10001;
    margin: 0;
    max-width: none;
    transform-origin: 0 0;
    will-change: transform;
    pointer-events: none;
}

/* Nur Inhalte ausblenden; der Hintergrund bleibt unverändert sichtbar. */
.page,
.site-footer { transition: opacity var(--page-fade-duration, .32s) ease; }
html.pt-leaving body > :not(.bg),
html.pt-arriving:not(.pt-reveal) body > :not(.bg) { opacity: 0; pointer-events: none; }
html.pt-arriving.pt-reveal { --page-fade-duration: .5s; }
html.pt-fade { --page-fade-duration: .65s; }
html.pt-fade.pt-arriving.pt-reveal { --page-fade-duration: .85s; }
@media (prefers-reduced-motion: no-preference) {
    html.service-reveal .page-hero .eyebrow,
    html.service-reveal .page-hero h1,
    html.service-reveal .page-hero .lead,
    html.service-reveal .page-hero .btn-row,
    html.service-reveal .service-nav,
    html.service-reveal .card.reveal.visible {
        animation: service-unveil .9s var(--ease) both;
    }
    html.service-reveal .page-hero h1 { animation-delay: .18s; }
    html.service-reveal .page-hero .lead { animation-delay: .36s; }
    html.service-reveal .page-hero .btn-row { animation-delay: .54s; }
    html.service-reveal .service-nav { animation-delay: .3s; }
    html.service-reveal .card.reveal.visible { animation-delay: calc(.45s + var(--reveal-delay, 0s)); }
}
@keyframes service-unveil {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
    html.page-reveal .page .reveal.visible,
    html.page-reveal .page-hero .eyebrow,
    html.page-reveal .page-hero h1,
    html.page-reveal .page-hero .lead,
    html.page-reveal .page-hero .btn-row,
    html.page-reveal .service-nav {
        animation: service-unveil .9s var(--ease) both;
        animation-delay: var(--reveal-delay, 0s);
    }
    html.page-reveal .page > section:first-child h1.reveal,
    html.page-reveal .page-hero h1 { animation-delay: .18s; }
    html.page-reveal .page > section:first-child .lead { animation-delay: .36s; }
    html.page-reveal .page > section:first-child .btn-row { animation-delay: .54s; }
    html.page-reveal .page .hero-visual.reveal.visible { animation-delay: .45s; }
    html.page-reveal .service-nav { animation-delay: .3s; }
    html.page-reveal .card.reveal.visible { animation-delay: calc(.45s + var(--reveal-delay, 0s)); }
}
html.pt-arriving:not(.pt-js) .page-transition-placeholder { opacity: 1; }
html.pt-arriving:not(.pt-reveal) *,
html.pt-arriving:not(.pt-reveal) *::before,
html.pt-arriving:not(.pt-reveal) *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .reveal.effect-pending { opacity: 1; transform: none; }
    .page > section.effect-pending::before { transform: translateX(-50%); }
    .text-accent.accent-pending,
    .image-accent.accent-pending { clip-path: none; }
}
