:root {
    --ink: #102a2a;
    --ink-soft: #3e5553;
    --paper: #f7f4ec;
    --paper-deep: #eee9dc;
    --white: #fffdf8;
    --teal: #0e6f68;
    --teal-dark: #07554f;
    --mint: #b7e1d5;
    --coral: #f37b5f;
    --yellow: #f0c95b;
    --line: #d8d4c9;
    --danger: #9c2f2f;
    --shadow: 0 24px 70px rgba(16, 42, 42, .11);
    --radius: 22px;
    --max: 1240px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .38;
    pointer-events: none;
    background-image: radial-gradient(rgba(16, 42, 42, .12) .55px, transparent .55px);
    background-size: 12px 12px;
}

a {
    color: var(--teal-dark);
    text-underline-offset: .2em;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 100;
    transform: translateY(-150%);
    padding: .7rem 1rem;
    border-radius: 8px;
    color: white;
    background: var(--ink);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
    padding: 22px 0;
    border-bottom: 1px solid rgba(16, 42, 42, .16);
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.brand-logo {
    width: clamp(180px, 19vw, 245px);
    height: auto;
}

.brand-project {
    display: grid;
    padding-left: 13px;
    border-left: 1px solid var(--line);
    line-height: 1.2;
}

.brand-project small {
    color: var(--ink-soft);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-header nav,
.site-footer nav {
    display: flex;
    gap: 28px;
}

.site-header nav a,
.site-footer nav a {
    color: var(--ink);
    font-size: .92rem;
    font-weight: 650;
    text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
    color: var(--teal);
    text-decoration: underline;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 650px;
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
    align-items: center;
    gap: 6vw;
    padding: 72px 0 90px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 6.1vw, 6.1rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .98;
}

.hero h1 em {
    color: var(--teal);
    font-weight: 400;
}

.hero-lead {
    max-width: 650px;
    margin: 32px 0;
    color: var(--ink-soft);
    font-size: 1.16rem;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: .88rem;
}

.hero-facts span {
    display: inline-flex;
    gap: 7px;
}

.hero-facts strong {
    color: var(--ink);
}

.hero-visual {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 48% 48% 42% 44%;
    background: var(--teal);
    box-shadow: var(--shadow);
}

.hero-visual::after {
    content: "Ihre Erfahrung zählt";
    position: absolute;
    right: 13%;
    bottom: 10%;
    max-width: 150px;
    color: rgba(255, 255, 255, .72);
    font-family: Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.08;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
}

.orbit-one {
    width: 460px;
    height: 220px;
    top: 17%;
    left: -7%;
    transform: rotate(32deg);
}

.orbit-two {
    width: 520px;
    height: 280px;
    top: 35%;
    left: 8%;
    transform: rotate(-22deg);
}

.visual-card {
    position: absolute;
    top: 31%;
    left: 14%;
    width: 72%;
    padding: 28px;
    transform: rotate(-5deg);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 18px;
    color: var(--ink);
    background: var(--mint);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.visual-card span {
    display: block;
    margin-bottom: 8px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.visual-card strong {
    font-family: Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.05;
}

.visual-dot {
    position: absolute;
    border-radius: 50%;
}

.dot-one {
    width: 76px;
    height: 76px;
    top: 9%;
    right: 12%;
    background: var(--coral);
}

.dot-two {
    width: 30px;
    height: 30px;
    left: 11%;
    bottom: 12%;
    background: var(--yellow);
}

.choice-section {
    padding: 100px max(24px, calc((100vw - var(--max)) / 2));
    background: var(--ink);
    color: var(--white);
}

.section-kicker {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 46px;
}

.section-kicker > span {
    color: var(--mint);
    font-size: .8rem;
    font-weight: 800;
}

.section-kicker h2,
.process-section h2 {
    max-width: 700px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.choice-card {
    position: relative;
    display: flex;
    min-height: 420px;
    flex-direction: column;
    padding: 40px;
    overflow: hidden;
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.choice-card:hover,
.choice-card:focus-visible {
    transform: translateY(-7px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.choice-customer {
    background: var(--mint);
}

.choice-agency {
    background: #f0dfba;
}

.choice-icon {
    position: absolute;
    top: 35px;
    right: 40px;
    font-family: Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
}

.choice-card h3 {
    max-width: 440px;
    margin: 22px 0 18px;
    font-family: Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1;
}

.choice-card > p:not(.eyebrow) {
    max-width: 480px;
    color: var(--ink-soft);
}

.choice-meta {
    margin-top: 18px;
    font-size: .83rem;
    font-weight: 750;
}

.choice-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 42, 42, .22);
    font-weight: 800;
}

.choice-action b {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--ink);
}

.process-section {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 8vw;
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
    padding: 110px 0;
}

.process-copy > p:not(.eyebrow) {
    max-width: 520px;
    color: var(--ink-soft);
}

.text-link {
    display: inline-block;
    margin-top: 14px;
    font-weight: 750;
}

.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 22px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.process-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.process-list li > span {
    color: var(--teal);
    font-size: .75rem;
    font-weight: 800;
}

.process-list strong {
    font-family: Georgia, serif;
    font-size: 1.65rem;
    font-weight: 400;
}

.process-list p {
    margin: 3px 0 0;
    color: var(--ink-soft);
}

.site-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 44px max(24px, calc((100vw - var(--max)) / 2));
    color: var(--paper);
    background: var(--ink);
}

.site-footer p {
    margin: 5px 0 0;
    color: rgba(255, 253, 248, .65);
    font-size: .83rem;
}

.site-footer nav a {
    color: var(--paper);
}

/* Fragebogen */
.survey-shell {
    display: grid;
    grid-template-columns: minmax(270px, 350px) minmax(0, 780px);
    gap: 7vw;
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
    padding: 64px 0 110px;
    align-items: start;
}

.survey-aside {
    position: sticky;
    top: 24px;
    padding: 34px;
    border-radius: var(--radius);
    color: var(--paper);
    background: var(--ink);
    box-shadow: var(--shadow);
}

.survey-aside h1 {
    margin: 0 0 15px;
    font-family: Georgia, serif;
    font-size: 2.35rem;
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1;
}

.survey-aside > p:not(.eyebrow, .aside-note) {
    color: rgba(255, 253, 248, .72);
}

.save-status {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 30px 0;
    padding: 13px 15px;
    border: 1px solid rgba(183, 225, 213, .3);
    border-radius: 12px;
    color: var(--mint);
    background: rgba(183, 225, 213, .08);
    font-size: .8rem;
}

.save-status > span:first-child {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--mint);
}

.progress-copy {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 253, 248, .65);
    font-size: .77rem;
}

.progress-copy strong {
    color: var(--paper);
}

.progress-track {
    height: 5px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, .15);
}

.progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--coral);
    transition: width .25s ease;
}

.aside-note {
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 253, 248, .58);
    font-size: .79rem;
}

.survey-content {
    min-width: 0;
}

.survey-intro {
    margin-bottom: 70px;
    padding-bottom: 42px;
    border-bottom: 1px solid var(--line);
}

.survey-intro h2 {
    margin: 0 0 22px;
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .98;
}

.survey-intro > p:not(.eyebrow) {
    max-width: 680px;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.fact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.fact-list li {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, .48);
    font-size: .78rem;
    font-weight: 650;
}

.alert {
    margin: 0 0 35px;
    padding: 18px 20px;
    border-radius: 12px;
}

.alert-error {
    border: 1px solid #e5b5b5;
    color: var(--danger);
    background: #fff1ef;
}

.question-section {
    margin-bottom: 78px;
}

.section-heading {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 18px;
    align-items: baseline;
    margin-bottom: 24px;
}

.section-heading > span {
    color: var(--teal);
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.section-heading h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -.025em;
}

.question-card {
    margin: 0 0 18px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 253, 248, .74);
    box-shadow: 0 6px 24px rgba(16, 42, 42, .035);
}

.question-card > label {
    display: block;
    cursor: pointer;
}

.question-number {
    display: block;
    margin-bottom: 7px;
    color: var(--teal);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.question-text {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.42rem;
    line-height: 1.28;
}

.followups {
    margin: 20px 0 0;
    border-top: 1px solid var(--line);
}

.followups summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 4px;
    color: var(--teal-dark);
    cursor: pointer;
    font-size: .83rem;
    font-weight: 750;
    list-style: none;
}

.followups summary::-webkit-details-marker {
    display: none;
}

.summary-icon {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--teal);
    font-size: 1.1rem;
    transition: transform .2s ease;
}

.followups[open] .summary-icon {
    transform: rotate(45deg);
}

.followup-list {
    display: grid;
    gap: 14px;
    margin: 12px 0 4px;
    padding: 16px;
    border-radius: 12px;
    color: var(--ink-soft);
    background: #eef5f1;
    font-size: .9rem;
}

.followup-item {
    padding: 16px;
    border: 1px solid rgba(14, 111, 104, .16);
    border-radius: 10px;
    background: rgba(255, 253, 248, .72);
}

.followup-item label {
    display: block;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.45;
}

.followup-number {
    display: block;
    margin-bottom: 5px;
    color: var(--teal);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.followup-item textarea {
    min-height: 105px;
    margin-top: 12px;
}

textarea,
.field-grid input,
.field-grid select {
    width: 100%;
    border: 1px solid #babdb5;
    border-radius: 11px;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

textarea {
    min-height: 145px;
    margin-top: 20px;
    padding: 16px;
    line-height: 1.55;
    resize: vertical;
}

textarea:focus,
.field-grid input:focus,
.field-grid select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(14, 111, 104, .13);
}

textarea::placeholder,
.field-grid input::placeholder {
    color: #899492;
}

.contact-section {
    margin: 30px 0 22px;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--paper-deep);
}

.contact-section > p {
    margin: -3px 0 28px 58px;
    color: var(--ink-soft);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field-grid label {
    min-width: 0;
}

.field-grid label > span {
    display: block;
    margin-bottom: 7px;
    font-size: .82rem;
    font-weight: 750;
}

.required-label {
    margin-left: 5px;
    color: var(--teal);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.field-grid input,
.field-grid select {
    height: 48px;
    padding: 0 13px;
}

.field-wide {
    grid-column: 1 / -1;
}

.consent-panel {
    padding: 36px;
    border-radius: var(--radius);
    color: var(--paper);
    background: var(--teal-dark);
}

.consent-panel h2 {
    margin: 0 0 24px;
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
}

.check-label {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: start;
    color: rgba(255, 253, 248, .88);
    cursor: pointer;
    font-size: .91rem;
}

.check-label input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--coral);
}

.check-label a {
    color: var(--mint);
}

.submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink);
    background: var(--mint);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #d0eee5;
}

.button-ghost {
    color: var(--paper);
    border-color: rgba(255, 255, 255, .34);
    background: transparent;
}

.submit-note {
    margin: 20px 0 0;
    color: rgba(255, 253, 248, .58);
    font-size: .75rem;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

/* Rechtliches */
.legal-page {
    width: min(calc(100% - 48px), 830px);
    margin: 0 auto;
    padding: 80px 0 110px;
}

.legal-page header {
    margin-bottom: 50px;
}

.legal-page h1,
.success-page h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(3rem, 7vw, 5.7rem);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .98;
}

.legal-intro {
    max-width: 720px;
    margin-top: 24px;
    color: var(--ink-soft);
    font-size: 1.12rem;
}

.placeholder-warning {
    margin: 0 0 45px;
    padding: 22px;
    border-left: 5px solid var(--coral);
    border-radius: 0 12px 12px 0;
    background: #fff0e9;
}

.placeholder-warning p {
    margin: 5px 0 0;
    color: var(--ink-soft);
}

.legal-page section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal-page h2 {
    margin: 0 0 12px;
    font-family: Georgia, serif;
    font-size: 1.65rem;
    font-weight: 400;
}

.legal-page address {
    font-style: normal;
}

.legal-source {
    margin-top: 38px;
    color: var(--ink-soft);
    font-size: .8rem;
}

.success-page {
    width: min(calc(100% - 48px), 760px);
    min-height: 650px;
    margin: 0 auto;
    padding: 110px 0;
    text-align: center;
}

.success-page > p:not(.eyebrow) {
    max-width: 620px;
    margin: 25px auto 35px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.success-mark {
    display: grid;
    width: 82px;
    height: 82px;
    margin: 0 auto 32px;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--mint);
    font-size: 2.2rem;
    box-shadow: var(--shadow);
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .survey-shell {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .survey-aside {
        position: static;
    }

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

@media (max-width: 700px) {
    .site-header {
        width: min(calc(100% - 32px), var(--max));
    }

    .site-header nav {
        gap: 12px;
    }

    .site-header nav a:first-child {
        display: none;
    }

    .brand small {
        display: none;
    }

    .brand-project {
        display: none;
    }

    .brand-logo {
        width: 190px;
    }

    .hero {
        width: min(calc(100% - 32px), var(--max));
        min-height: auto;
        padding: 52px 0 64px;
    }

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

    .hero-visual {
        min-height: 330px;
        border-radius: 35px;
    }

    .choice-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .choice-card {
        min-height: 365px;
        padding: 28px;
    }

    .choice-icon {
        top: 24px;
        right: 26px;
    }

    .process-section {
        width: min(calc(100% - 32px), var(--max));
        padding: 75px 0;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .survey-shell {
        width: min(calc(100% - 28px), var(--max));
        padding-top: 28px;
    }

    .survey-aside {
        padding: 26px;
    }

    .survey-intro {
        margin-bottom: 50px;
    }

    .question-section {
        margin-bottom: 55px;
    }

    .question-card {
        padding: 22px;
    }

    .question-text {
        font-size: 1.25rem;
    }

    .contact-section,
    .consent-panel {
        padding: 24px;
    }

    .contact-section > p {
        margin-left: 0;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .submit-row {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .legal-page {
        width: min(calc(100% - 32px), 830px);
        padding-top: 55px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
