@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

:root {
    --dark: #1B1D20;
    --dark-soft: #24272B;
    --light: #F5F5F2;
    --white: #FFFFFF;
    --muted: #A7ABB0;
    --text-dark: #1B1D20;
    --text-soft: #5D6268;
    --accent: #3157FF;
    --accent-hover: #2445D8;
    --line-dark: rgba(255, 255, 255, 0.12);
    --line-light: #D9DADD;
    --shadow: 0 18px 48px rgba(16, 18, 22, 0.12);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.65;
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    font-weight: 800;
}

h2,
h3 {
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 22px;
}

h3 {
    font-size: 1.28rem;
}

p {
    margin-top: 0;
}

.container {
    width: min(100% - 40px, 1160px);
    margin: 0 auto;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading p:last-child {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 1.06rem;
}

/* PAGE LOADER
   Kein blockierender Seiten-Loader mehr: Der Inhalt bleibt auch ohne JavaScript
   sofort sichtbar und bedienbar. Alte Loader-Markups werden vorsorglich verborgen. */
#loader {
    display: none !important;
}

/* PROGRESS BAR */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 0;
    height: 3px;
    background: var(--accent);
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 12px 0;
    background: rgba(27, 29, 32, 0.96);
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.25s ease;
}

.header.scrolled {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 30px;
}

.logo a {
    display: block;
}

.logo img {
    display: block;
    width: auto;
    height: 66px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav a {
    color: var(--light);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav a:not(.btn-primary):hover,
.nav a:not(.btn-primary):focus-visible {
    color: var(--muted);
}

.burger {
    display: none;
    width: 30px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    border-radius: 4px;
    background: var(--light);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    padding: 110px 0;
    color: var(--light);
    overflow: hidden;
}

.hero-subpage {
    min-height: 430px;
    padding: 90px 0;
}

.hero-img {
    background: url("bilder/hero.jpg") center center / cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(18, 20, 23, 0.9) 0%, rgba(18, 20, 23, 0.76) 48%, rgba(18, 20, 23, 0.48) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 5vw, 3.5rem);
}

.hero p {
    max-width: 650px;
    margin-bottom: 30px;
    color: #E0E1E0;
    font-size: 1.1rem;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* BUTTONS */
.btn-primary,
.btn-sec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(49, 87, 255, 0.24);
}

.btn-primary.small,
.btn-sec.small {
    min-height: 40px;
    padding: 10px 17px;
    font-size: 0.88rem;
}

.btn-sec {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.btn-sec:hover,
.btn-sec:focus-visible {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-color: #AEB2B7;
    background: transparent;
    color: var(--dark);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--white);
}

/* SECTIONS */
.section {
    padding: 92px 0;
}

.bg-light {
    background: var(--light);
}

.bg-white {
    background: var(--white);
}

.bg-dark {
    background: var(--dark);
    color: var(--light);
}

.bg-dark .section-heading p:last-child,
.bg-dark .muted {
    color: var(--muted);
}

.img-text-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(38px, 6vw, 76px);
}

.img-text-grid.reverse > :first-child {
    order: 2;
}

.img-text-grid img {
    display: block;
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.copy-block p {
    color: var(--text-soft);
}

.bullet-list,
.clean-list {
    margin: 20px 0 28px;
    padding-left: 1.2rem;
}

.bullet-list li,
.clean-list li {
    margin: 8px 0;
}

/* SERVICE CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    padding: 30px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16, 18, 22, 0.04);
}

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

.service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #C8CBD0;
    box-shadow: var(--shadow);
}

.icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.service-card p {
    color: var(--text-soft);
}

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.process-step {
    padding: 28px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--dark-soft);
}

.process-step .step-number {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.process-step p {
    margin-bottom: 0;
    color: var(--muted);
}

/* EXPERIENCE / CREDIBILITY */
.experience-band {
    display: grid;
    grid-template-columns: 0.8fr 1.7fr;
    gap: 40px;
    align-items: center;
}

.experience-number {
    font-size: clamp(4.5rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: var(--accent);
}

.experience-label {
    margin-top: 12px;
    font-weight: 700;
}

.experience-copy p {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 1.08rem;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.35fr);
    gap: clamp(38px, 6vw, 76px);
    align-items: center;
}

.about-placeholder {
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #111315;
}

.about-placeholder img {
    width: 78%;
    height: auto;
    opacity: 1;
    filter: none;
}

.about-copy p {
    color: var(--muted);
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.about-fact {
    padding: 16px 18px;
    border: 1px solid var(--line-dark);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.about-fact strong {
    display: block;
    margin-bottom: 3px;
    color: var(--light);
}

.about-fact span {
    color: var(--muted);
    font-size: 0.92rem;
}

/* CTA BAND */
.cta-band {
    padding: 64px;
    border-radius: 18px;
    background: var(--dark);
    color: var(--light);
}

.cta-band p {
    max-width: 700px;
    margin-bottom: 26px;
    color: var(--muted);
}

/* PRICE PAGE */
.price-preview .price,
.price-row .price {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 800;
}

.price-highlight {
    display: flex;
    flex-direction: column;
}

.price-highlight .desc {
    flex: 1;
    color: var(--text-soft);
}

.price-table-full {
    display: grid;
    gap: 24px;
}

.price-row {
    padding: 34px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: var(--white);
}

.price-row h3 {
    margin-bottom: 7px;
}

.price-row > p {
    max-width: 850px;
    color: var(--text-soft);
}

.price-row .clean-list {
    max-width: 850px;
    color: var(--text-soft);
}

.price-row .btn-primary {
    margin-top: 8px;
}

.notice-box {
    padding: 30px;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: #E9EBEF;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

/* CONTACT */
.contact-form {
    display: grid;
    gap: 15px;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #C8CBD0;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49, 87, 255, 0.12);
}

.form-note {
    color: var(--text-soft);
    font-size: 0.86rem;
}

/* WORK IN PROGRESS */
.wip-wrap {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    padding: 90px 0;
    background: var(--dark);
    color: var(--light);
}

.wip-card {
    width: min(100%, 760px);
    max-width: 760px;
    min-width: 0;
    padding: clamp(32px, 5vw, 58px);
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: var(--dark-soft);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.wip-badge {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 12px;
    border-radius: 99px;
    background: rgba(49, 87, 255, 0.16);
    color: #9BAEFF;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wip-card h1 {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
    hyphens: none;
}

.wip-card p {
    color: var(--muted);
    font-size: 1.08rem;
}

/* 404 */
.error-wrap {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    padding: 90px 0;
    background: var(--dark);
    color: var(--light);
}

.error-card {
    width: min(100%, 820px);
    padding: clamp(32px, 5vw, 58px);
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: var(--dark-soft);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.error-code {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: clamp(4.5rem, 12vw, 8.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.error-card h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.error-card > p:not(.error-code):not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.08rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* LEGAL CONTENT */
.legal-content {
    max-width: 900px;
}

.legal-content p {
    color: var(--text-soft);
}

/* FOOTER */
.footer {
    padding: 50px 0 48px;
    border-top: 1px solid var(--line-dark);
    background: var(--dark);
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer p {
    margin: 4px 0;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 9px;
    text-align: right;
}

.company-name {
    margin-bottom: 8px !important;
    color: var(--light);
    font-size: 1.05rem;
    font-weight: 800;
}

.footer a {
    color: var(--light);
    font-weight: 600;
    text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
    color: var(--muted);
}

/* STICKY CTA */
.sticky-cta {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: 99px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(49, 87, 255, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.sticky-cta:hover,
.sticky-cta:focus-visible {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* REVEAL – Progressive Enhancement
   Grundzustand ist immer sichtbar. Erst JavaScript setzt .reveal-pending und
   aktiviert damit die Animation. Fällt JavaScript aus, bleibt kein Inhalt verborgen. */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

.reveal.reveal-pending,
.reveal-left.reveal-pending,
.reveal-right.reveal-pending {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-pending {
    transform: translateY(28px);
}

.reveal-left.reveal-pending {
    transform: translateX(-34px);
}

.reveal-right.reveal-pending {
    transform: translateX(34px);
}

.reveal.reveal-pending.active,
.reveal-left.reveal-pending.active,
.reveal-right.reveal-pending.active {
    opacity: 1;
    transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal.reveal-pending,
    .reveal-left.reveal-pending,
    .reveal-right.reveal-pending {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .logo img {
        height: 54px;
    }

    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 85px;
        right: -100%;
        width: min(82vw, 360px);
        height: calc(100vh - 85px);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 26px;
        background: var(--dark);
        border-left: 1px solid var(--line-dark);
        box-shadow: -16px 20px 50px rgba(0, 0, 0, 0.28);
        transition: right 0.25s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        padding: 12px 4px;
    }

    .nav .btn-primary {
        margin-top: 10px;
    }

    .hero {
        min-height: 540px;
        padding: 90px 0;
    }

    .hero-subpage {
        min-height: 380px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 9vw, 3.3rem);
    }

    .img-text-grid,
    .about-grid,
    .experience-band {
        grid-template-columns: 1fr;
    }

    .img-text-grid.reverse > :first-child {
        order: 0;
    }

    .grid-3,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 30px, 1160px);
    }

    .header-flex {
        min-height: 58px;
    }

    .logo img {
        height: 46px;
    }

    .nav {
        top: 79px;
        height: calc(100vh - 79px);
    }

    .hero {
        min-height: 500px;
        padding: 72px 0;
    }

    .hero-subpage {
        min-height: 340px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 12vw, 3rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-sec,
    .cta-actions .btn-primary,
    .cta-actions .btn-sec {
        width: 100%;
    }

    .section {
        padding: 68px 0;
    }

    .grid-3,
    .process-grid,
    .about-facts {
        grid-template-columns: 1fr;
    }

    .card,
    .price-row {
        padding: 24px;
    }

    .img-text-grid img {
        min-height: 260px;
    }

    .about-placeholder {
        min-height: 280px;
    }

    .cta-band {
        padding: 34px 24px;
    }

    .sticky-cta {
        right: 14px;
        bottom: 14px;
    }
    .wip-card h1 {
        font-size: clamp(1.9rem, 10vw, 2.65rem);
        overflow-wrap: anywhere;
    }

}

/* PERFORMANCE CHECK – Produkt, Zahlungsrückkehr und Fragebogen */
.pc-product-hero {
    padding: clamp(76px, 8vw, 120px) 0;
    background: var(--dark);
    color: var(--light);
}

.pc-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: center;
}

.pc-product-copy h1 {
    max-width: 720px;
    margin-bottom: 20px;
    font-size: clamp(2.7rem, 6vw, 4.6rem);
}

.pc-product-copy > p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
}

.pc-product-copy .pc-lead {
    color: var(--light) !important;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.pc-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
    margin: 30px 0 26px;
}

.pc-price-line strong {
    color: var(--light);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
}

.pc-price-line span,
.pc-secure-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.pc-secure-note {
    margin-top: 18px;
    margin-bottom: 0;
}

.pc-product-card {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: var(--dark-soft);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.pc-check-list {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--light);
}

.pc-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #8FA4FF;
    font-weight: 800;
}

.pc-report-note {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
}

.pc-report-note strong {
    display: block;
    margin-bottom: 6px;
}

.pc-report-note p {
    margin: 0;
    color: var(--muted);
}

.pc-scope-grid .card p,
.pc-scope-grid .card li {
    color: var(--text-soft);
}

.pc-process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.pc-process-grid .process-step {
    min-width: 0;
}

.pc-shell {
    min-height: 70vh;
    padding: clamp(54px, 7vw, 92px) 0;
    background: var(--light);
}

.pc-container {
    width: min(100% - 40px, 900px);
}

.pc-intro {
    margin-bottom: 30px;
}

.pc-intro h1,
.pc-status-card h1,
.pc-success-card h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
}

.pc-intro > p:not(.eyebrow) {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.06rem;
}

.pc-payment-confirmed {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    align-items: center;
    margin-top: 10px;
    padding: 13px 17px;
    border: 1px solid rgba(49, 87, 255, 0.22);
    border-radius: 10px;
    background: rgba(49, 87, 255, 0.07);
}

.pc-payment-confirmed strong {
    color: var(--accent);
}

.pc-payment-confirmed span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.pc-form {
    display: grid;
    gap: 22px;
}

.pc-form-section,
.pc-submit-box,
.pc-status-card,
.pc-success-card,
.pc-review-card {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--line-light);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(16, 18, 22, 0.055);
}

.pc-section-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}

.pc-section-head > span {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    background: var(--dark);
    color: var(--light);
    font-weight: 800;
}

.pc-section-head .eyebrow {
    margin-bottom: 3px;
}

.pc-section-head h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.pc-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pc-field + .pc-field {
    margin-top: 28px;
}

.pc-field > label:not(.pc-choice),
.pc-field legend {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
}

.pc-field .optional,
.field-help {
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 400;
}

.field-help {
    margin: -3px 0 10px;
}

.pc-field input[type="text"],
.pc-field textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #C8CBD0;
    border-radius: 9px;
    background: var(--white);
    color: var(--text-dark);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-field textarea {
    resize: vertical;
}

.pc-field input[type="text"]:focus,
.pc-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49, 87, 255, 0.12);
}

.pc-choice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 9px 0;
    padding: 12px 14px;
    border: 1px solid var(--line-light);
    border-radius: 9px;
    background: #FAFAF8;
    cursor: pointer;
}

.pc-choice:has(input:checked) {
    border-color: rgba(49, 87, 255, 0.55);
    background: rgba(49, 87, 255, 0.055);
}

.pc-choice input {
    margin-top: 4px;
    accent-color: var(--accent);
}

.pc-field.has-error input[type="text"],
.pc-field.has-error textarea,
.pc-field.has-error .pc-choice {
    border-color: #B62929;
}

.field-error {
    margin: 8px 0 0;
    color: #A52121;
    font-size: 0.88rem;
    font-weight: 600;
}

.pc-error-summary {
    padding: 14px 16px;
    border-left: 4px solid #B62929;
    border-radius: 0 10px 10px 0;
    background: #FFF1F1;
    color: #7A1818;
}

.pc-submit-box h2 {
    margin-bottom: 12px;
}

.pc-submit-box p {
    max-width: 720px;
    color: var(--text-soft);
}

.pc-submit {
    min-width: min(100%, 250px);
}

.pc-status-card,
.pc-success-card {
    max-width: 820px;
}

.pc-status-card > p,

.pc-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.pc-success-actions .btn-primary,
.pc-success-actions .btn-sec {
    margin: 0;
}
.pc-success-card > p:not(.eyebrow) {
    max-width: 730px;
    color: var(--text-soft);
}

.pc-success-mark {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(49, 87, 255, 0.11);
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
}

.pc-success-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.pc-success-meta span {
    min-width: 210px;
    padding: 12px 14px;
    border: 1px solid var(--line-light);
    border-radius: 9px;
    color: var(--text-soft);
}

.pc-success-meta strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pc-review-card {
    margin-top: 24px;
}

.pc-review-section + .pc-review-section {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--line-light);
}

.pc-review-section h3 {
    margin-bottom: 18px;
}

.pc-review-row {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.25fr);
    gap: 22px;
    padding: 13px 0;
    border-bottom: 1px solid #ECEDEF;
}

.pc-review-row dt {
    font-weight: 700;
}

.pc-review-row dd {
    margin: 0;
    color: var(--text-soft);
}

.about-photo-placeholder {
    display: grid;
    place-items: center;
    gap: 16px;
    width: 100%;
    padding: 30px;
    text-align: center;
}

.about-photo-placeholder img {
    width: min(78%, 300px);
}

.about-photo-placeholder span {
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 1080px) {
    .pc-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .pc-product-grid {
        grid-template-columns: 1fr;
    }

    .pc-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-review-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 640px) {
    .pc-container {
        width: min(100% - 30px, 900px);
    }

    .pc-process-grid {
        grid-template-columns: 1fr;
    }

    .pc-form-section,
    .pc-submit-box,
    .pc-status-card,
    .pc-success-card,
    .pc-review-card {
        padding: 24px 20px;
    }

    .pc-section-head {
        align-items: flex-start;
    }

    .pc-price-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .pc-success-meta span {
        width: 100%;
    }
}
.pc-review-section dl {
    margin: 0;
}

/* Stripe development mode -------------------------------------------------- */
.pc-test-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 20px;
    background: #fff4cc;
    border-bottom: 1px solid #e8c85d;
    color: #4b3a00;
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: center;
}

.pc-test-banner strong {
    font-weight: 800;
    letter-spacing: 0.04em;
}

@media (max-width: 640px) {
    .pc-test-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        padding: 9px 16px;
        text-align: left;
    }
}

/* Performance Check – Demo checkout --------------------------------------- */
.pc-demo-banner {
    background: #eaf0ff;
    border-bottom-color: #9fb3ff;
    color: #18306b;
}

.pc-demo-payment-card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 52px);
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(27, 29, 32, 0.08);
}

.pc-demo-payment-card h1 {
    margin: 8px 0 16px;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.05;
}

.pc-demo-payment-card > p:not(.eyebrow):not(.pc-demo-ref) {
    color: #5f646c;
    line-height: 1.7;
}

.pc-demo-checkout {
    margin: 28px 0 18px;
    padding: 22px 24px;
    background: #1b1d20;
    color: #f5f5f2;
    border-radius: 14px;
}

.pc-demo-checkout > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pc-demo-checkout span {
    font-weight: 700;
}

.pc-demo-checkout strong {
    font-size: 1.55rem;
}

.pc-demo-checkout p {
    margin: 7px 0 0;
    color: #a7abb0;
    font-size: 0.92rem;
}

.pc-demo-info {
    margin: 18px 0 26px;
    padding: 18px 20px;
    background: #f5f7ff;
    border-left: 4px solid #3157ff;
    border-radius: 10px;
}

.pc-demo-info strong {
    display: block;
    margin-bottom: 5px;
}

.pc-demo-info p {
    margin: 0;
    color: #555b65;
    line-height: 1.6;
}

.pc-demo-payment-form {
    margin-top: 24px;
}

.pc-demo-pay-button {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.pc-demo-ref {
    margin: 14px 0 0;
    color: #8a8f98;
    font-size: 0.82rem;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 560px) {
    .pc-demo-checkout > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}


/* MOBILE ROBUSTNESS – verhindert abgeschnittene Texte und horizontales Überlaufen */
html,
body {
    max-width: 100%;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
label,
legend,
.footer a,
.btn-primary,
.btn-sec {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
}

.header-flex > *,
.hero-content,
.hero-content > *,
.img-text-grid > *,
.about-grid > *,
.experience-band > *,
.grid-3 > *,
.process-grid > *,
.pc-product-grid > *,
.pc-process-grid > *,
.pc-section-head > div,
.footer-content > * {
    min-width: 0;
}

.btn-primary,
.btn-sec,
.sticky-cta {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

@media (max-width: 640px) {
    .container,
    .pc-container {
        width: calc(100% - 28px);
        max-width: 100%;
    }

    .hero,
    .hero-subpage {
        min-height: auto;
        padding: 64px 0 58px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1,
    .pc-product-copy h1,
    .pc-intro h1,
    .pc-status-card h1,
    .pc-success-card h1,
    .error-card h1,
    .wip-card h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 2.65rem);
        line-height: 1.12;
        letter-spacing: -0.03em;
        overflow-wrap: anywhere;
        hyphens: none;
    }

    .hero p,
    .pc-product-copy > p:not(.eyebrow),
    .pc-intro > p:not(.eyebrow),
    .pc-success-card > p:not(.eyebrow),
    .pc-status-card > p {
        max-width: 100%;
    }

    .card,
    .price-row,
    .cta-band,
    .wip-card,
    .error-card,
    .pc-product-card,
    .pc-demo-payment-card,
    .pc-form-section,
    .pc-submit-box,
    .pc-status-card,
    .pc-success-card,
    .pc-review-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .pc-section-head {
        width: 100%;
    }

    .pc-section-head h2 {
        overflow-wrap: anywhere;
        hyphens: none;
    }

    .pc-choice,
    .pc-review-row,
    .pc-success-meta span {
        min-width: 0;
        max-width: 100%;
    }

    .pc-choice span,
    .pc-review-row dt,
    .pc-review-row dd {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .pc-field input[type="text"],
    .pc-field textarea {
        min-width: 0;
        max-width: 100%;
        font-size: 16px;
    }

    .footer-content,
    .footer-left,
    .footer-center,
    .footer-right {
        min-width: 0;
        max-width: 100%;
    }

    .footer a {
        display: inline-block;
        max-width: 100%;
    }

    .sticky-cta {
        max-width: calc(100vw - 28px);
    }
}

@media (max-width: 390px) {
    .hero h1,
    .pc-product-copy h1,
    .pc-intro h1,
    .pc-status-card h1,
    .pc-success-card h1,
    .error-card h1,
    .wip-card h1 {
        font-size: clamp(1.85rem, 9.5vw, 2.25rem);
    }

    .card,
    .price-row,
    .cta-band {
        padding: 22px 18px;
    }

    .pc-form-section,
    .pc-submit-box,
    .pc-status-card,
    .pc-success-card,
    .pc-review-card,
    .pc-demo-payment-card {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* Performance Check – vollständiger Fragebogen 2026-09 */
.pc-required-note { margin: 8px 0 0; color: var(--text-soft); }
.pc-info-box { margin-bottom: 28px; padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: #F4F6FF; color: var(--text-dark); }
.pc-info-box p { margin: 6px 0 0; color: var(--text-soft); }
.pc-field-grid, .pc-money-row, .pc-value-mode-row, .pc-repeat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pc-money-row { grid-template-columns: minmax(0, 1fr) minmax(130px, 0.35fr); }
.pc-value-mode-row { grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr) minmax(130px, 0.35fr); }
.pc-subfields { margin-top: 12px; }
.pc-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.pc-choice-grid .pc-choice { margin: 0; }
.pc-other-input { margin-top: 10px; }
.pc-inline-check { display: flex !important; align-items: center; gap: 8px; margin-top: 10px !important; font-weight: 500 !important; }
.pc-repeat-list { display: grid; gap: 10px; }
.pc-repeat-row { grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.6fr); }
.pc-add-row { margin-top: 12px; padding: 10px 14px; border: 1px solid var(--line-light); border-radius: 8px; background: transparent; cursor: pointer; }
.pc-save-status { margin: 0 0 16px; color: var(--text-soft); font-size: 0.88rem; }
.pc-branch-placeholder { padding: 18px; border: 1px dashed var(--line-light); border-radius: 12px; color: var(--text-soft); }

.pc-field input[type="email"],
.pc-field input[type="tel"],
.pc-field input[type="url"],
.pc-field input[type="number"],
.pc-field input[type="month"],
.pc-field input[type="file"],
.pc-field select {
    width: 100%;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid #C8CBD0;
    border-radius: 9px;
    background: var(--white);
    color: var(--text-dark);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pc-field input[type="file"] { padding: 11px 12px; }
.pc-field input[type="email"]:focus,
.pc-field input[type="tel"]:focus,
.pc-field input[type="url"]:focus,
.pc-field input[type="number"]:focus,
.pc-field input[type="month"]:focus,
.pc-field input[type="file"]:focus,
.pc-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49, 87, 255, 0.12); }
.pc-field.has-error input[type="email"],
.pc-field.has-error input[type="tel"],
.pc-field.has-error input[type="url"],
.pc-field.has-error input[type="number"],
.pc-field.has-error input[type="month"],
.pc-field.has-error input[type="file"],
.pc-field.has-error select { border-color: #B62929; }

@media (max-width: 720px) {
    .pc-field-grid, .pc-money-row, .pc-value-mode-row, .pc-repeat-row, .pc-choice-grid { grid-template-columns: 1fr; }
}


/* Überschriften: niemals Wörter mit automatischer Trennung aufteilen. */
h1,
h2,
h3,
.pc-section-head h2,
.wip-card h1 {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
}

.contact-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#contact-form-status:empty {
    display: none;
}

#contact-form-status.form-success {
    color: #1f6b37;
    font-weight: 700;
}

#contact-form-status.form-error {
    color: #a52121;
    font-weight: 700;
}

/* Kontaktformular V7: Status erst nach Redirect sichtbar; kein statischer Hinweis unter dem Button. */
#contact-form-status[hidden] { display: none !important; }
.contact-status { margin: 0.75rem 0 0; }

/* Performance Check: eindeutige Eingaben und mobile Bedienung */
.pc-form-guidance {
    display: grid;
    gap: 5px;
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px solid #D9DADD;
    border-radius: 10px;
    background: #FAFAF8;
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.45;
}
.pc-form-guidance strong { margin-bottom: 2px; }
.pc-form-guidance span::before { content: "• "; color: var(--accent); font-weight: 700; }

.pc-control-group { min-width: 0; }
.pc-control-label,
.pc-tax-choice legend {
    display: block;
    margin: 0 0 7px;
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}
.pc-control-hint {
    display: block;
    margin: -3px 0 7px;
    color: var(--text-soft);
    font-size: 0.76rem;
    line-height: 1.25;
}

.pc-unit-input {
    position: relative;
    min-width: 0;
}
.pc-unit-input input {
    padding-right: 48px !important;
}
.pc-unit-input > span {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    display: flex;
    min-width: 42px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #D9DADD;
    border-radius: 0 8px 8px 0;
    background: #F3F4F6;
    color: #4B5056;
    font-weight: 700;
    pointer-events: none;
}
.pc-single-money { max-width: 420px; }

.pc-tax-choice {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.pc-tax-segment {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.pc-tax-segment label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}
.pc-tax-segment input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pc-tax-segment span {
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border: 1px solid #C8CBD0;
    border-radius: 9px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.pc-tax-segment input:checked + span {
    border-color: var(--accent);
    background: rgba(49, 87, 255, 0.09);
    box-shadow: inset 0 0 0 1px var(--accent);
    color: #1F43D8;
}
.pc-tax-segment input:focus-visible + span {
    outline: 3px solid rgba(49, 87, 255, 0.18);
    outline-offset: 1px;
}
.pc-field.has-error .pc-tax-segment span { border-color: #B62929; }

.pc-mode-value-row {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
    gap: 12px;
}

@media (max-width: 720px) {
    .pc-form-section { padding: 22px 17px; }
    .pc-field + .pc-field { margin-top: 24px; }
    .pc-field > label:not(.pc-choice),
    .pc-field legend { font-size: 1rem; line-height: 1.4; }
    .pc-control-label,
    .pc-tax-choice legend { font-size: .88rem; }
    .pc-money-row,
    .pc-value-mode-row,
    .pc-mode-value-row { grid-template-columns: 1fr; gap: 13px; }
    .pc-tax-segment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-single-money { max-width: none; }
    .pc-field input[type="text"],
    .pc-field input[type="email"],
    .pc-field input[type="tel"],
    .pc-field input[type="url"],
    .pc-field input[type="number"],
    .pc-field input[type="month"],
    .pc-field input[type="file"],
    .pc-field select,
    .pc-field textarea { min-height: 48px; font-size: 16px; }
    .pc-choice { padding: 13px 14px; }
    .pc-choice input { flex: 0 0 auto; width: 18px; height: 18px; }
    .pc-form-guidance { font-size: .9rem; }
}

/* Dezenter Demo-Einstieg -------------------------------------------------- */
.pc-demo-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 0.78rem;
}
.pc-demo-entry a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pc-demo-entry a:hover { color: var(--text-dark); }
.pc-inline-demo-notice {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 18px;
    padding: 10px 14px;
    border: 1px solid #D7D9DD;
    border-radius: 9px;
    background: #F7F7F5;
    color: #51565C;
    font-size: .82rem;
}
.pc-inline-demo-notice strong {
    flex: 0 0 auto;
    color: #25282C;
    letter-spacing: .08em;
}

/* Cookie-Hinweis --------------------------------------------------------- */
.cookie-notice {
    position: fixed;
    z-index: 9999;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(31, 34, 38, .97);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
    color: #fff;
    transition: opacity .18s ease, transform .18s ease;
}
.cookie-notice.is-closing {
    opacity: 0;
    transform: translateY(8px);
}
.cookie-notice-copy { min-width: 0; }
.cookie-notice-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: .92rem;
}
.cookie-notice-copy p {
    margin: 0;
    color: #D7D9DD;
    font-size: .82rem;
    line-height: 1.45;
}
.cookie-notice-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}
.cookie-notice-link {
    color: #fff;
    font-size: .8rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cookie-notice-button {
    min-height: 40px;
    padding: 9px 15px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #1F2226;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
.cookie-notice-button:hover { background: #F1F1EE; }
.cookie-notice-button:focus-visible,
.cookie-notice-link:focus-visible {
    outline: 3px solid rgba(255,255,255,.45);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .cookie-notice {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 15px;
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }
    .cookie-notice-actions { justify-content: flex-end; }
    .pc-inline-demo-notice { align-items: flex-start; }
}


/* LEGAL PAGES + ORDER CONSENT ------------------------------------------------ */
.legal-version {
    margin-bottom: 22px;
    color: var(--muted) !important;
    font-size: 0.92rem;
}

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

.legal-content h2 {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-content h3 {
    margin: 24px 0 8px;
    font-size: 1.08rem;
}

.legal-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 110px;
}

.legal-section:last-child { border-bottom: 0; }

.legal-note,
.legal-sample {
    margin: 22px 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--light-soft);
    color: var(--text-soft);
}

.legal-toc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 20px;
    margin: 28px 0 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--light-soft);
}

.legal-toc strong { grid-column: 1 / -1; margin-bottom: 4px; }
.legal-toc a { color: var(--text); font-weight: 650; text-decoration: none; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--accent); }

.legal-list { display: grid; gap: 9px; padding-left: 22px; color: var(--text-soft); }

.legal-table-wrap { margin: 22px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--white); }
.legal-table th, .legal-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--light-soft); color: var(--text); font-size: .92rem; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code { font-size: .9em; }

.pc-order-box {
    max-width: 720px;
    margin: 26px 0 0;
    padding: 18px;
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.pc-order-check {
    display: grid;
    grid-template-columns: 20px minmax(0,1fr);
    gap: 11px;
    align-items: start;
    margin: 0 0 13px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}
.pc-order-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.pc-order-check a { color: var(--light); font-weight: 700; text-underline-offset: 3px; }
.pc-order-box .cta-actions { margin-top: 18px; }
.pc-order-box button { border: 0; cursor: pointer; font: inherit; }

.form-privacy-note { margin: 10px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.form-privacy-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.legal-form-page { padding-top: clamp(80px, 9vw, 120px); min-height: 70vh; }
.legal-form-page h1 { margin-bottom: 14px; font-size: clamp(2rem, 5vw, 3.4rem); }
.legal-withdraw-form { margin-top: 30px; }
.legal-withdraw-confirm { color: var(--text-soft); }
.legal-withdraw-confirm a { color: var(--accent); }

.form-error-box {
    margin: 24px 0;
    padding: 16px 18px;
    border: 1px solid #c86464;
    border-radius: 10px;
    background: #fff5f5;
    color: #7e2323;
}
.form-error-box ul { margin: 8px 0 0; padding-left: 22px; }

@media (max-width: 640px) {
    .legal-toc { grid-template-columns: 1fr; padding: 20px; }
    .legal-table { min-width: 620px; }
    .pc-order-box { padding: 16px; }
}


/* FINAL V12: Wortumbruch ohne automatische Trennstriche */
html,
body,
body * {
    -webkit-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
}

h1, h2, h3, h4, h5, h6,
p, li, dt, dd, label, legend,
span, strong, small, a, button,
th, td {
    overflow-wrap: normal !important;
}

/* Lange technische Werte dürfen umbrechen, ohne einen Trennstrich einzufügen. */
.footer a,
.pc-demo-ref,
.pc-success-meta span,
.legal-content a,
.form-privacy-note a {
    overflow-wrap: anywhere !important;
}

/* FINAL V12: einheitliche Buttons auf hellen Flächen */
a.btn-primary,
button.btn-primary,
input.btn-primary {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #FFFFFF !important;
}

a.btn-primary:visited {
    color: #FFFFFF !important;
}

a.btn-primary:hover,
a.btn-primary:focus-visible,
button.btn-primary:hover,
button.btn-primary:focus-visible,
input.btn-primary:hover,
input.btn-primary:focus-visible {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    color: #FFFFFF !important;
}

.btn-sec,
a.btn-sec,
button.btn-sec {
    border: 1px solid #AEB2B7;
    background: #FFFFFF;
    color: var(--dark) !important;
}

.btn-sec:visited,
a.btn-sec:visited {
    color: var(--dark) !important;
}

.btn-sec:hover,
.btn-sec:focus-visible,
a.btn-sec:hover,
a.btn-sec:focus-visible,
button.btn-sec:hover,
button.btn-sec:focus-visible,
.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
    border-color: var(--dark);
    background: var(--dark);
    color: #FFFFFF !important;
}

/* Sekundärbuttons auf dunklem Hintergrund bleiben als helle Outline erhalten. */
.hero .btn-sec,
.bg-dark .btn-sec,
.cta-band .btn-sec,
.pc-product-hero .btn-sec,
.pc-demo-checkout .btn-sec,
.error-wrap .btn-sec,
.wip-wrap .btn-sec {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF !important;
}

.hero .btn-sec:hover,
.hero .btn-sec:focus-visible,
.bg-dark .btn-sec:hover,
.bg-dark .btn-sec:focus-visible,
.cta-band .btn-sec:hover,
.cta-band .btn-sec:focus-visible,
.pc-product-hero .btn-sec:hover,
.pc-product-hero .btn-sec:focus-visible,
.pc-demo-checkout .btn-sec:hover,
.pc-demo-checkout .btn-sec:focus-visible,
.error-wrap .btn-sec:hover,
.error-wrap .btn-sec:focus-visible,
.wip-wrap .btn-sec:hover,
.wip-wrap .btn-sec:focus-visible {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF !important;
}

/* Formularbuttons bekommen dieselbe Geometrie wie Links im Buttonstil. */
button.btn-primary,
button.btn-sec {
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}
