:root {
    /* Stimmung — Frisch (default) */
    --bg: #ffffff;
    --soft: #f5f4ee;
    --ink: #0f0e0c;
    --muted: #8a8378;
    --line: #e4e0d4;
    --accent: #15803d;
    --accent-soft: rgba(21, 128, 61, 0.18);
    --whatsapp: #25d366;
    --glow-1: rgba(21, 128, 61, 0.10);
    --glow-2: rgba(247, 166, 99, 0.12);
    --glow-3: rgba(120, 170, 210, 0.08);

    /* Hero-Skala — Bühne (default) */
    --hero-headline: clamp(60px, 12vw, 148px);
    --hero-headline-mobile: clamp(48px, 14vw, 88px);
    --hero-sub: clamp(20px, 2.6vw, 28px);
    --hero-sub-mobile: clamp(18px, 4.5vw, 22px);
    --hero-pad-top: clamp(56px, 10vh, 96px);
    --hero-pad-bottom: clamp(48px, 8vh, 80px);
    --hero-meta-num: clamp(20px, 2.4vw, 28px);
}

/* === Stimmung === */
body[data-mood="studio"] {
    --bg: #fafaf6;
    --soft: #efece1;
    --ink: #1a1612;
    --muted: #8a8378;
    --line: #d8d2c2;
    --accent: #1a1612;
    --accent-soft: rgba(26, 22, 18, 0.10);
    --glow-1: transparent;
    --glow-2: transparent;
    --glow-3: transparent;
}

/* === Hero-Skala === */
body[data-scale="ruhig"] {
    --hero-headline: clamp(32px, 5vw, 60px);
    --hero-headline-mobile: clamp(28px, 8vw, 48px);
    --hero-sub: clamp(16px, 1.9vw, 19px);
    --hero-sub-mobile: clamp(15px, 3.5vw, 17px);
    --hero-pad-top: clamp(40px, 6vh, 56px);
    --hero-pad-bottom: clamp(32px, 5vh, 48px);
    --hero-meta-num: clamp(16px, 1.8vw, 20px);
}

body[data-scale="klar"] {
    --hero-headline: clamp(44px, 7vw, 88px);
    --hero-headline-mobile: clamp(36px, 10vw, 60px);
    --hero-sub: clamp(17px, 2vw, 21px);
    --hero-sub-mobile: clamp(16px, 4vw, 19px);
    --hero-pad-top: clamp(64px, 9vh, 96px);
    --hero-pad-bottom: clamp(56px, 8vh, 80px);
    --hero-meta-num: clamp(18px, 2vw, 22px);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    transition: background 0.4s ease, color 0.4s ease;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Top nav */
nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s, border-color 0.4s;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ink);
    transition: background 0.4s;
}

.brand small {
    font-weight: 400;
    color: var(--muted);
    font-size: 14px;
    margin-left: 2px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--ink);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid var(--line);
    letter-spacing: 0.01em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-cta:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.nav-cta-icon {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: var(--hero-pad-top) 0 calc(var(--hero-pad-bottom) + 8px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
}

body[data-mood="studio"] .hero {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.hero-glow {
    position: absolute;
    inset: -12% -6% 0 -6%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 48% at 20% 32%, var(--glow-1), transparent 62%),
        radial-gradient(ellipse 45% 40% at 78% 28%, var(--glow-2), transparent 58%),
        radial-gradient(ellipse 68% 38% at 62% 82%, var(--glow-3), transparent 60%);
    filter: blur(5px);
    animation: drift 24s ease-in-out infinite alternate;
    transition: background 0.5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(36px, 26px) scale(1.08);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Status pill */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-tag-pulse {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--whatsapp);
    flex-shrink: 0;
}

.hero-tag-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--whatsapp);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    80%,
    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

.hero-tag-sep {
    color: var(--muted);
}

/* Lead-in / sub */
.hero-pre,
.hero-post {
    display: block;
    font-size: var(--hero-sub);
    font-weight: 400;
    line-height: 1.28;
    margin: 0;
    color: var(--ink);
    transition: font-size 0.4s;
}

.hero-pre {
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-headline .hero-pre {
    flex-basis: 100%;
    margin-bottom: 16px;
}

.hero-hook {
    flex: 0 0 100%;
    line-height: 1.05;
}

.hero-post {
    margin-top: 16px;
    max-width: 560px;
    color: var(--muted);
}

/* Massive rotating headline */
.hero-headline {
    font-size: var(--hero-headline);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.06em;
    margin: 0;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.16em;
    transition: font-size 0.4s, line-height 0.4s;
}

.rotator-wrap {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    overflow: hidden;
    vertical-align: baseline;
    line-height: 1.02;
    padding: 0.12em 0 0.18em;
    min-height: 1.02em;
}

.rot-word {
    position: relative;
    color: var(--accent);
    padding: 0 0.04em;
    display: inline-block;
    white-space: nowrap;
    will-change: transform, opacity;
    transition: transform 0.45s cubic-bezier(.7, 0, .2, 1), opacity 0.35s ease, background 0.4s, color 0.4s;
}

.rot-word.is-out {
    transform: translateY(-120%);
    opacity: 0;
}

.rot-word.is-pre {
    transform: translateY(120%);
    opacity: 0;
    transition: none;
}

@media (max-width: 720px) {
    .hero-headline {
        flex-wrap: wrap;
        gap: 0.16em;
    }

    .rotator-wrap {
        padding: 0.1em 0 0.18em;
    }
}


/* CTAs */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 42px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 26px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.25s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.cta:active {
    transform: scale(0.97);
}

.cta-primary {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 16px 44px -22px rgba(37, 211, 102, 0.5);
}

.cta-primary:hover {
    background: var(--accent);
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.cta-primary svg {
    width: 18px;
    height: 18px;
}

.cta-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.cta-secondary:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.hero-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 18px;
    letter-spacing: 0.02em;
}

/* Meta stats */
.hero-meta {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: clamp(20px, 4vw, 52px);
    margin-top: clamp(46px, 6.5vh, 68px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
    width: fit-content;
}

.hero-meta-num {
    display: block;
    font-size: var(--hero-meta-num);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
    transition: font-size 0.4s;
}

.hero-meta-lab {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
    letter-spacing: 0.01em;
}

@media (max-width: 720px) {
    .hero {
        padding-top: clamp(40px, 12vw, 64px);
        padding-bottom: clamp(32px, 10vw, 52px);
    }

    .hero-inner {
        padding: 0 22px;
    }

    .hero-tag {
        margin-bottom: 22px;
    }

    .hero-headline {
        font-size: var(--hero-headline-mobile);
        margin: 0;
    }

    .hero-post {
        font-size: var(--hero-sub-mobile);
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 34px;
    }

    .cta {
        justify-content: center;
        width: 100%;
        padding: 14px 18px;
    }

    .hero-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 24px;
        margin-top: 34px;
        padding-top: 18px;
    }
}

/* Section heads */
.section {
    max-width: 980px;
    margin: 0 auto;
    padding: 64px 32px;
    border-top: 1px solid var(--line);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-head h2 {
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-head .label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* Services grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.service {
    background: var(--bg);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s;
}

.service:hover {
    background: var(--soft);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.service-tag {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.service-name {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
    margin-top: 4px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.pricing-card {
    background: var(--soft);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.pricing-card--emphasis {
    background: var(--ink);
    color: var(--bg);
}

.pricing-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.pricing-card--emphasis .pricing-tag {
    color: color-mix(in srgb, var(--bg) 45%, transparent);
}

.pricing-price {
    font-size: clamp(34px, 6vw, 48px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
}

.pricing-desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 28px;
}

.pricing-card--emphasis .pricing-desc {
    color: color-mix(in srgb, var(--bg) 55%, transparent);
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}

.pricing-list li {
    font-size: 14px;
    color: var(--muted);
    padding-left: 22px;
    position: relative;
    line-height: 1.4;
}

.pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
}

.pricing-card--emphasis .pricing-list li {
    color: color-mix(in srgb, var(--bg) 60%, transparent);
}

.pricing-card--emphasis .pricing-list li::before {
    color: var(--whatsapp);
}

.pricing-cta-secondary {
    border-color: color-mix(in srgb, var(--bg) 20%, transparent);
    color: var(--bg);
}

.pricing-cta-secondary:hover {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
}

@media (max-width: 640px) {
    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-price {
        font-size: clamp(30px, 10vw, 40px);
    }
}

/* Work — visual cards */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.work-card {
    display: flex;
    flex-direction: column;
    background: var(--soft);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.18);
}

.work-thumb {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-thumb-1 {
    background-image: linear-gradient(135deg, #e8d6c5 0%, #c89372 100%);
}

.work-thumb-2 {
    background-image: linear-gradient(135deg, #efe2c4 0%, #d4a85a 100%);
}

.work-thumb-3 {
    background-image: linear-gradient(135deg, #cfdce6 0%, #6f95b3 100%);
}

.work-thumb-4 {
    background-image: linear-gradient(135deg, #d1d9c5 0%, #7a8a5a 100%);
}

.work-info {
    padding: 14px 16px 16px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.work-info .name {
    font-size: 15px;
    font-weight: 500;
}

.work-info .meta {
    font-size: 12px;
    color: var(--muted);
}

/* About */
.about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.about p {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.5;
    margin: 0;
    max-width: 640px;
    color: #2a2520;
    text-wrap: pretty;
}

body[data-mood] .about p {
    color: var(--ink);
    opacity: 0.86;
}

.about-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.about-meta span {
    font-size: 13px;
    padding: 6px 12px;
    background: var(--soft);
    border-radius: 999px;
    color: var(--ink);
}

/* CTA banner */
.cta-banner {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px;
}

.cta-banner-inner {
    background: var(--ink);
    color: var(--bg);
    border-radius: 24px;
    padding: clamp(32px, 5vw, 48px);
    text-align: center;
    transition: background 0.4s, color 0.4s;
}

.cta-banner h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 24px;
}

.cta-banner .cta-primary {
    background: var(--whatsapp);
}

.cta-banner .cta-primary:hover {
    background: var(--bg);
    color: var(--ink);
}

.cta-banner .note {
    margin-top: 16px;
    font-size: 13px;
    color: color-mix(in srgb, var(--bg) 55%, transparent);
}

/* Footer */
footer {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
}

footer .links {
    display: flex;
    gap: 18px;
}

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

/* Legal pages */
.legal-content h1 {
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0 0 32px;
}

.legal-content h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 2.5em 0 0.75em;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content address {
    font-style: normal;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.7;
    color: var(--ink);
    opacity: 0.82;
    max-width: 660px;
    margin: 0 0 1em;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    opacity: 0.72;
}

/* Branchen */
.branchen-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.branche-tag {
    font-size: 13px;
    font-weight: 500;
    padding: 7px 15px;
    background: var(--soft);
    border-radius: 999px;
    color: var(--ink);
    border: 1px solid var(--line);
    letter-spacing: 0.01em;
    transition: background 0.2s, border-color 0.2s;
}

.branche-tag:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.branchen-note {
    font-size: 15px;
    color: var(--muted);
    margin: 0;
    max-width: 580px;
    line-height: 1.55;
}

/* About regions */
.about-regions {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    letter-spacing: 0.01em;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    max-width: 700px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    transition: background 0.2s;
}

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

.faq-question {
    font-size: 16px;
    font-weight: 500;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.18s;
    letter-spacing: -0.01em;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.22s ease, color 0.18s;
    line-height: 1;
}

.faq-item[open] > .faq-question {
    background: var(--soft);
}

.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
    color: var(--ink);
}

.faq-question:hover {
    background: var(--soft);
}

.faq-answer {
    padding: 0 24px 22px;
    background: var(--soft);
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 640px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 560px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.form-optional {
    color: var(--muted);
    font-weight: 400;
}

.form-row input,
.form-row textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}


.form-row textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--soft);
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.form-check input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.form-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.form-check label {
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
}

.form-submit {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-feedback {
    max-width: 560px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.form-feedback-success {
    background: rgba(21, 128, 61, 0.08);
    color: #15803d;
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.form-feedback-error {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.form-field-error {
    font-size: 12px;
    color: #dc2626;
    min-height: 0;
}

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

@media (max-width: 640px) {
    .form-submit {
        align-self: stretch;
    }
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(8px);
    animation: rise 0.7s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-glow {
        animation: none;
    }

    .hero-tag-pulse::after {
        animation: none;
    }

    .rot-word {
        transition: none;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.r1 {
    animation-delay: 0.05s;
}

.r2 {
    animation-delay: 0.15s;
}

.r3 {
    animation-delay: 0.25s;
}

.r4 {
    animation-delay: 0.35s;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    nav {
        padding: 14px 20px;
    }

    .hero {
        padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
    }

    .hero-inner {
        padding: 0 20px;
    }

    .hero-headline {
        font-size: var(--hero-headline-mobile);
        letter-spacing: -0.05em;
    }

    .hero-pre,
    .hero-post {
        font-size: var(--hero-sub-mobile);
    }

    .hero-meta {
        grid-template-columns: 1fr 1fr;
        gap: 24px 36px;
        width: 100%;
    }

    .hero-actions {
        margin-top: 32px;
    }

    .section {
        padding: 48px 20px;
    }

    .cta-banner {
        padding: 20px;
    }

    .cta-banner-inner {
        border-radius: 18px;
        padding: 28px 22px;
    }

    .cta {
        padding: 14px 20px;
        font-size: 15px;
    }

    footer {
        padding: 24px 20px 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    #nav-cta-text {
        display: none;
    }

    .nav-cta-icon {
        display: flex;
    }

    .nav-cta {
        padding: 8px 10px;
    }
}