/* =========================================================================
   Soft Solutions4U – E-Commerce Funnel
   Design: Helvetica, Weiß, Schwarz, Cyan #25BAD8, Haarlinien
   ========================================================================= */

:root {
    --black: #000000;
    --ink: #111111;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --soft: #9b9b9b;
    --line: #000000;
    --line-soft: #e6e6e6;
    --paper: #f6f6f6;
    --cyan: #25bad8;
    --cyan-deep: #1295ae;
    --white: #ffffff;
    --error: #b3261e;

    --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
    --shell: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --card-pad: clamp(22px, 3.2vw, 44px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--cyan-deep);
}

button {
    font: inherit;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--black);
    color: var(--white);
    padding: 12px 18px;
    z-index: 100;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    color: var(--white);
}

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

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */

.site-header {
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.brand img {
    display: block;
    width: clamp(180px, 22vw, 230px);
    height: auto;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 22px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--soft);
}

.lang-switch a {
    color: var(--soft);
    padding: 4px 1px 3px;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.lang-switch a:hover {
    color: var(--black);
}

.lang-switch a.is-active {
    color: var(--black);
    border-bottom-color: var(--cyan);
}

.lang-sep {
    color: #cfcfcf;
}

.header-link {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.35;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}

.header-link:hover {
    border-color: var(--cyan);
}

.header-link-label {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.header-link-value {
    font-size: 15px;
    font-weight: 400;
    color: var(--ink);
}

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */

.hero {
    padding: clamp(30px, 4vw, 54px) 0 clamp(22px, 2.6vw, 34px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--cyan);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.45rem, 5.6vw, 4.7rem);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

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

.h1-line {
    display: block;
}

.hero-lead {
    max-width: 58ch;
    margin: 22px 0 0;
    font-size: clamp(1rem, 1.1vw, 1.0625rem);
    font-weight: 300;
    line-height: 1.65;
    color: #333;
}

.funnel-section {
    padding: 0 0 clamp(48px, 7vw, 88px);
}

.funnel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.card {
    position: relative;
    max-width: 800px;
    border: 1px solid var(--line);
    background: var(--white);
    padding: var(--card-pad);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: clamp(20px, 2.6vw, 30px);
}

.step-count {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.progress {
    flex: 1;
    height: 2px;
    background: var(--line-soft);
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--cyan);
    transition: width .4s cubic-bezier(.4, 0, .2, 1);
}

/* -------------------------------------------------------------------------
   Schritte
   ---------------------------------------------------------------------- */

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

.step[hidden] {
    display: none !important;
}

.step.is-active {
    animation: stepIn .32s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.step-legend {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 10px;
}

.step-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--soft);
}

.step-tag {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 7px;
    border: 1px solid rgba(37, 186, 216, .4);
    font-size: 8.5px;
    letter-spacing: .14em;
    color: var(--cyan-deep);
    vertical-align: 1px;
}

.q-title {
    display: block;
    font-size: clamp(1.38rem, 2.4vw, 1.95rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.015em;
    text-transform: uppercase;
    color: var(--black);
    max-width: 27ch;
}

.q-hint {
    margin: 12px 0 clamp(20px, 2.6vw, 28px);
    max-width: 56ch;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--muted);
}

/* -------------------------------------------------------------------------
   Antwortoptionen
   ---------------------------------------------------------------------- */

.options {
    margin: 0 calc(var(--card-pad) * -1);
    border-top: 1px solid var(--line-soft);
}

.option {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 17px var(--card-pad);
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    margin: 0;
    pointer-events: none;
}

.option-num {
    font-size: 10.5px;
    letter-spacing: .1em;
    color: #b3b3b3;
    font-variant-numeric: tabular-nums;
    transition: color .18s ease;
}

.option-label {
    font-size: clamp(1rem, 1.35vw, 1.075rem);
    font-weight: 300;
    line-height: 1.35;
    color: var(--text);
    transition: color .18s ease;
}

.option-mark {
    position: relative;
    justify-self: end;
    width: 16px;
    height: 16px;
    border: 1px solid #c9c9c9;
    border-radius: 50%;
    transition: border-color .18s ease, background-color .18s ease;
}

.option:hover {
    background: var(--paper);
}

.option:hover .option-num {
    color: var(--cyan-deep);
}

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

.option:focus-within {
    outline: 2px solid var(--cyan);
    outline-offset: -2px;
}

.option.is-selected,
.option:has(input:checked) {
    background: var(--black);
}

.option.is-selected .option-label,
.option:has(input:checked) .option-label {
    color: var(--white);
}

.option.is-selected .option-num,
.option:has(input:checked) .option-num {
    color: var(--cyan);
}

.option.is-selected .option-mark,
.option:has(input:checked) .option-mark {
    background: var(--cyan);
    border-color: var(--cyan);
}

.option.is-selected .option-mark::after,
.option:has(input:checked) .option-mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: var(--black);
    border-radius: 50%;
}

.option.is-selected:hover,
.option:has(input:checked):hover {
    background: #0d0d0d;
}

/* Mehrfachauswahl: eckige Marken mit Häkchen */
.options--multi .option-mark {
    border-radius: 0;
}

.options--multi .option.is-selected .option-mark::after,
.options--multi .option:has(input:checked) .option-mark::after {
    inset: auto;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    background: none;
    border-right: 1.5px solid var(--black);
    border-bottom: 1.5px solid var(--black);
    border-radius: 0;
    transform: rotate(42deg);
}

/* -------------------------------------------------------------------------
   Kontaktfelder
   ---------------------------------------------------------------------- */

.fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px clamp(16px, 2.4vw, 28px);
    margin-top: 6px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.field-full,
.contact-note {
    grid-column: 1 / -1;
}

.field label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.req {
    color: var(--cyan-deep);
}

.field input,
.field textarea {
    width: 100%;
    margin: 0;
    padding: 9px 0 10px;
    border: 0;
    border-bottom: 1px solid #cfcfcf;
    border-radius: 0;
    background: transparent;
    color: var(--black);
    font-family: inherit;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.4;
    transition: border-color .18s ease, box-shadow .18s ease;
    appearance: none;
}

.field textarea {
    resize: vertical;
    min-height: 68px;
    line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #b0b0b0;
    font-weight: 300;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 1px 0 0 var(--black);
}

.field.has-error input,
.field.has-error textarea {
    border-color: var(--error);
}

.contact-note {
    margin: -4px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .01em;
}

.field-error {
    margin: 6px 0 0;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--error);
    min-height: 0;
}

.field-error:empty {
    display: none;
}

.consent {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    color: #444;
    cursor: pointer;
}

.consent input {
    position: relative;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    border: 1px solid var(--black);
    border-radius: 0;
    background: var(--white);
    appearance: none;
    cursor: pointer;
    flex: none;
}

.consent input:checked {
    background: var(--black);
}

.consent input:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border-right: 1.5px solid var(--white);
    border-bottom: 1.5px solid var(--white);
    transform: rotate(42deg);
}

.consent a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.consent a:hover {
    color: var(--cyan-deep);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* -------------------------------------------------------------------------
   Aktionen
   ---------------------------------------------------------------------- */

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: clamp(24px, 3vw, 34px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    padding: 17px 28px;
    border: 1px solid var(--black);
    border-radius: 0;
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--black);
}

.btn-primary[disabled] {
    opacity: .55;
    cursor: progress;
}

.btn-arrow {
    transition: transform .2s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-back {
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease;
}

.btn-back::before {
    content: "←";
    margin-right: 8px;
}

.btn-back:hover {
    color: var(--black);
}

.btn-back[hidden] {
    display: none;
}

.form-error {
    margin: 20px 0 0;
    padding: 12px 14px;
    border-left: 2px solid var(--error);
    background: #fdf3f2;
    font-size: 13.5px;
    color: #7d1b15;
}

.form-error[hidden] {
    display: none;
}

.noscript {
    padding: 8px 0;
}

.noscript h2 {
    font-size: 1.25rem;
    font-weight: 400;
}

/* -------------------------------------------------------------------------
   Danke-Ansicht
   ---------------------------------------------------------------------- */

.success-title {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 400;
    line-height: .96;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.success-lead {
    max-width: 52ch;
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.reference {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    padding: 16px 20px;
    border: 1px solid var(--line);
}

.reference span {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.reference strong {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}

.summary-list--success {
    margin-top: 24px;
}

.success-next {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
}

.success-next h3 {
    margin: 0 0 14px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.success-next ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: next;
    display: grid;
    gap: 12px;
}

.success-next li {
    counter-increment: next;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

.success-next li::before {
    content: counter(next, decimal-leading-zero);
    flex: none;
    width: 26px;
    font-size: 10.5px;
    letter-spacing: .1em;
    color: var(--cyan-deep);
    padding-top: 3px;
}

.success-next li strong {
    font-weight: 400;
    color: var(--ink);
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.text-link {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 3px;
}

.text-link:hover {
    color: var(--black);
    border-color: var(--black);
}

/* -------------------------------------------------------------------------
   Zusammenfassung (Aside)
   ---------------------------------------------------------------------- */

.aside {
    position: relative;
}

.summary {
    position: sticky;
    top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.summary-title {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink);
}

.summary-list {
    display: grid;
    gap: 0;
    margin: 20px 0 0;
}

.summary-item {
    display: grid;
    gap: 3px;
    padding: 12px 0 13px;
    border-bottom: 1px solid var(--line-soft);
}

.summary-item[hidden] {
    display: none;
}

.summary-item dt {
    font-size: 9.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--soft);
}

.summary-item dd {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.45;
    color: var(--ink);
}

.summary-item dd.is-empty {
    color: #b5b5b5;
}

.aside-foot {
    margin-top: 26px;
}

.aside-fact {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.aside-fact span {
    font-size: 17px;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--ink);
}

.aside-note {
    margin: 16px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
}

.aside-contact {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
}

.aside-contact a {
    color: var(--ink);
    border-bottom: 1px solid var(--cyan);
}

/* -------------------------------------------------------------------------
   Zitat, Trust, Footer
   ---------------------------------------------------------------------- */

.quote-section {
    padding: clamp(40px, 5vw, 64px) 0;
    border-top: 1px solid var(--line);
}

.quote-section blockquote {
    max-width: 62ch;
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -.01em;
    color: var(--ink);
}

.quote-section footer {
    margin-top: 22px;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.quote-section footer strong {
    font-weight: 400;
    color: var(--ink);
}

.trust {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: #fafafa;
    padding: clamp(26px, 3.4vw, 40px) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.trust-item {
    display: grid;
    gap: 4px;
}

.trust-value {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 400;
    letter-spacing: -.02em;
    color: var(--black);
}

.trust-label {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-footer {
    padding: clamp(40px, 5vw, 64px) 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
}

.footer-brand {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
}

.footer-heading {
    margin: 0 0 8px;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--soft);
}

.footer-grid p {
    margin: 0;
}

.footer-grid a {
    color: var(--ink);
    border-bottom: 1px solid transparent;
}

.footer-grid a:hover {
    border-color: var(--cyan);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--soft);
}

/* -------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .funnel-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        max-width: none;
    }

    .aside {
        display: none;
    }
}

@media (max-width: 720px) {
    .hero h1 {
        font-size: clamp(1.95rem, 8.4vw, 2.7rem);
    }

    .eyebrow {
        font-size: 9.5px;
        letter-spacing: .18em;
    }

    .header-inner {
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 12px;
    }

    .header-meta {
        gap: 12px;
    }

    .brand img {
        width: clamp(132px, 40vw, 180px);
    }

    .lang-switch {
        gap: 4px;
        font-size: 9.5px;
        letter-spacing: .12em;
    }

    .header-link-label {
        display: none;
    }

    .header-link-value {
        font-size: 12.5px;
    }

    .q-title {
        max-width: none;
    }

    .fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .actions {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }

    .btn-primary {
        width: 100%;
        min-width: 0;
        padding: 18px 24px;
    }

    .btn-back {
        align-self: flex-start;
    }

    .option {
        grid-template-columns: 24px minmax(0, 1fr) 16px;
        gap: 10px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .trust-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .success-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .text-link {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .eyebrow-extra {
        display: none;
    }
}

@media (max-width: 400px) {
    .header-inner {
        gap: 10px;
    }

    .header-meta {
        gap: 10px;
    }

    .brand img {
        width: 118px;
    }

    .lang-switch {
        font-size: 9px;
    }

    .header-link-value {
        font-size: 11.5px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}
