:root {
    --paper: #fbfaf6;
    --paper-2: #f7f3ea;
    --ink: #222222;
    --muted: #545454;
    --line: #e8e0d2;
    --teal: #6cccc4;
    --teal-dark: #46aaa4;
    --coral: #cd9841;
    --gold: #c6911a;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(48, 40, 30, 0.12);
    --serif: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
    --sans: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
}

body.page-freebie-start,
body.page-book-start,
body.page-quiz {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

body.page-freebie-start main,
body.page-book-start main,
body.page-quiz main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.page-quiz {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.page-freebie-start {
    background:
        radial-gradient(circle at center, rgba(255, 253, 248, 0.2) 0 27%, rgba(255, 253, 248, 0.72) 47%, rgba(255, 253, 248, 0.15) 70%),
        url("/assets/img/elterntypen-start-hero.webp") center / cover no-repeat,
        #fbfaf6;
}

body.page-quiz.is-capture {
    background:
        radial-gradient(circle at center, rgba(255, 253, 248, 0.78) 0 29%, rgba(255, 253, 248, 0.46) 47%, rgba(255, 253, 248, 0.12) 72%),
        url("/assets/img/elterntypen-start-hero.webp") center / cover no-repeat,
        #fbfaf6;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.site-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px clamp(22px, 4vw, 56px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.9);
    backdrop-filter: blur(18px);
    position: relative;
    z-index: 4;
}

.site-header-overlay {
    position: absolute;
    inset: 0 0 auto 0;
    border-bottom-color: rgba(255, 253, 248, 0.18);
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(255, 253, 248, 0));
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-family: var(--serif);
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 500;
    letter-spacing: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    color: var(--teal);
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-logo img {
    display: block;
    width: clamp(150px, 11vw, 204px);
    height: auto;
}

.mode-label {
    color: var(--teal);
    font-weight: 700;
    font-size: 18px;
}

.freebie-hero,
.book-hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.freebie-hero {
    padding: 132px clamp(22px, 6vw, 84px) clamp(42px, 7vw, 92px);
    color: var(--white);
}

.hero-photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(17, 16, 15, 0.78) 0%, rgba(17, 16, 15, 0.54) 34%, rgba(17, 16, 15, 0.12) 68%),
        radial-gradient(circle at 78% 30%, rgba(255, 243, 221, 0.52), transparent 34%),
        linear-gradient(135deg, #463a32, #9b806c 48%, #d5bfa2);
}

.hero-photo::before,
.hero-photo::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.18);
    filter: blur(1px);
}

.hero-photo::before {
    width: 42vw;
    height: 34vw;
    right: 10vw;
    bottom: 9vh;
    transform: rotate(-12deg);
    box-shadow: inset 0 0 0 18px rgba(72, 57, 43, 0.08);
}

.hero-photo::after {
    width: 21vw;
    height: 28vw;
    right: 27vw;
    bottom: 15vh;
    background: rgba(45, 39, 33, 0.28);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 16, 15, 0.34), rgba(17, 16, 15, 0));
}

.start-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.start-copy h1,
.capture-screen h1,
.result-screen h1,
.done-screen h1 {
    font-family: var(--serif);
    font-size: clamp(44px, 7vw, 86px);
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: 0;
}

.start-copy p {
    max-width: 560px;
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.42;
    margin: 0 0 28px;
}

.eyebrow {
    color: var(--teal);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.freebie-hero .eyebrow,
.freebie-hero .microcopy {
    color: #e8d6c7;
}

.analysis-intro {
    min-height: 100svh;
    background: #f4f4f1;
    color: #7b7b7b;
    padding: clamp(12px, 1.7vw, 24px) clamp(16px, 4vw, 72px) 34px;
}

.nina-logo {
    display: inline-block;
    text-decoration: none;
}

.nina-logo img {
    display: block;
    width: clamp(210px, 20vw, 330px);
    height: auto;
}

.analysis-copy {
    width: min(860px, calc(100vw - 40px));
    margin: clamp(74px, 10vh, 118px) auto 0;
}

.analysis-copy h1 {
    margin: 0 0 12px;
    color: #5d5d5d;
    font-size: clamp(25px, 1.85vw, 35px);
    font-weight: 400;
    line-height: 1.18;
}

.analysis-copy p {
    margin: 0 0 22px;
    color: #7c7c7c;
    font-size: clamp(18px, 1.32vw, 25px);
    font-weight: 400;
    line-height: 1.25;
}

.analysis-copy strong {
    color: #696969;
    font-weight: 700;
}

.analysis-button {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 700;
}

.duration-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0 0 58px !important;
    color: #7d7d7d !important;
    font-size: clamp(14px, 1vw, 18px) !important;
    line-height: 1.2 !important;
}

.quiz-start-hero {
    position: relative;
    flex: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(96px, 10vh, 130px) clamp(22px, 6vw, 80px) clamp(44px, 7vh, 86px);
}

.quiz-start-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 253, 248, 0.55) 0 25%, rgba(255, 253, 248, 0.1) 45%, rgba(255, 253, 248, 0) 70%);
}

.start-hero-logo {
    position: absolute;
    top: clamp(18px, 2.5vw, 34px);
    left: clamp(22px, 4vw, 58px);
    z-index: 2;
}

.start-hero-logo img {
    width: clamp(150px, 12vw, 230px);
}

.quiz-start-copy {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    display: grid;
    justify-items: center;
    text-align: center;
    color: #202020;
}

.start-kicker {
    margin: 0 0 18px;
    color: #ff6956;
    font-size: clamp(34px, 3vw, 52px);
    font-weight: 300;
    line-height: 1;
}

.quiz-start-copy h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6.9vw, 118px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: 0;
    color: #202020;
    text-shadow: 0 8px 24px rgba(255, 253, 248, 0.9);
}

.quiz-start-copy h1::after {
    content: "";
    display: block;
    width: min(270px, 48vw);
    height: 5px;
    margin: 14px auto 22px;
    border-radius: 999px;
    background: #ff6f5a;
    transform: rotate(-2deg);
}

.quiz-start-copy p:not(.start-kicker) {
    max-width: 620px;
    margin: 0;
    color: #222222;
    font-size: clamp(20px, 1.8vw, 31px);
    font-weight: 400;
    line-height: 1.28;
    text-shadow: 0 6px 20px rgba(255, 253, 248, 0.95);
}

.start-hero-button {
    min-height: clamp(58px, 5vw, 80px);
    min-width: min(510px, 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: clamp(26px, 3.6vh, 40px);
    border-radius: 10px;
    padding: 0 36px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff725e, #ff5f50);
    box-shadow: 0 18px 42px rgba(219, 90, 72, 0.22);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.05vw, 36px);
    font-weight: 700;
    text-decoration: none;
}

.start-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    color: #3d3d3d;
    font-size: clamp(15px, 1.2vw, 20px);
}

.start-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.legal-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px 16px;
    color: rgba(84, 84, 84, 0.78);
    font-size: 12px;
    font-weight: 500;
}

.legal-footer a {
    color: inherit;
    text-decoration: none;
}

.legal-footer a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.microcopy {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
}

.primary-button,
.secondary-button,
.ghost-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 10px;
    padding: 0 28px;
    text-decoration: none;
    cursor: pointer;
}

.primary-button {
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    box-shadow: 0 14px 30px rgba(47, 94, 93, 0.18);
    font-weight: 700;
}

.primary-button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.secondary-button {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--teal);
    font-weight: 700;
}

.ghost-button {
    background: transparent;
    color: var(--muted);
    padding-inline: 12px;
}

.ghost-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.book-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.65fr);
    gap: clamp(28px, 7vw, 96px);
    align-items: center;
    padding: 150px clamp(24px, 8vw, 110px) 64px;
    background:
        radial-gradient(circle at 20% 18%, rgba(196, 155, 104, 0.14), transparent 28%),
        linear-gradient(120deg, var(--paper), #fffaf0);
}

.book-visual {
    display: flex;
    justify-content: center;
}

.book-cover {
    width: min(340px, 70vw);
    aspect-ratio: 0.72;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background:
        linear-gradient(160deg, rgba(65, 113, 113, 0.96), rgba(36, 62, 62, 0.94)),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.28), transparent 30%);
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}

.book-cover span {
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1.08;
    text-align: center;
}

.quiz-shell {
    flex: 1;
    padding: 0 clamp(28px, 4.2vw, 58px) 16px;
}

.quiz-panel {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.progress-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: center;
    padding: 18px 0 18px;
    color: #343434;
    font-size: 17px;
    font-weight: 500;
}

.progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 99px;
    background: #e7e3dc;
}

.progress-track span {
    display: block;
    width: 1.7%;
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
    transition: width 220ms ease;
}

.question-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.7fr);
    gap: clamp(34px, 5vw, 70px);
    align-items: start;
    flex: 1;
    padding-top: clamp(10px, 2.2vh, 24px);
}

.question-copy h1 {
    max-width: 880px;
    font-family: var(--serif);
    color: #363636;
    font-size: clamp(31px, 3.1vw, 47px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: 0;
    margin: 18px 0 28px;
}

.answer-list {
    display: grid;
    gap: 10px;
    max-width: 840px;
}

.answer-option {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    border: 1px solid #e6ded2;
    border-radius: 8px;
    padding: 0 23px;
    background: rgba(255, 255, 255, 0.48);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.answer-option:hover {
    border-color: rgba(108, 204, 196, 0.72);
    transform: translateY(-1px);
}

.answer-option.is-selected {
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.78);
}

.answer-dot {
    width: 27px;
    height: 27px;
    border: 2px solid #8a8a8a;
    border-radius: 50%;
    flex: 0 0 auto;
    position: relative;
}

.answer-option.is-selected .answer-dot {
    border-color: var(--teal);
}

.answer-option.is-selected .answer-dot::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: inherit;
    background: var(--teal);
}

.answer-label {
    color: #333333;
    font-size: clamp(17px, 1.22vw, 21px);
    font-weight: 500;
}

.quiz-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 840px;
    margin-top: 18px;
}

.type-orbit {
    position: relative;
    min-height: min(39vw, 520px);
    display: grid;
    place-items: center;
    margin-top: clamp(0px, 1.2vh, 16px);
}

.type-orbit img {
    width: min(100%, 620px);
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.orbit-copy {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    gap: 8px;
    text-align: center;
    font-family: var(--serif);
    color: #304945;
    font-size: clamp(17px, 1.35vw, 25px);
    line-height: 1.2;
    transform: translateY(2%);
}

.orbit-copy strong {
    font-family: var(--serif);
    font-size: clamp(20px, 1.65vw, 31px);
    font-weight: 600;
}

.orbit-copy::after {
    content: "";
    width: 58px;
    height: 2px;
    margin: 10px auto 0;
    background: var(--gold);
}

.capture-screen,
.result-screen,
.done-screen {
    width: min(760px, 100%);
    margin: auto;
    padding: clamp(28px, 6vw, 70px) 0;
}

.capture-screen h1,
.result-screen h1,
.done-screen h1 {
    font-size: clamp(46px, 6vw, 76px);
    color: var(--gold);
    font-weight: 500;
}

.capture-screen p,
.done-screen p {
    max-width: 620px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(65, 113, 113, 0.1);
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.capture-form {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.capture-form label:not(.checkbox-row) {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.capture-form input[type="email"] {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 16px;
    background: var(--white);
    color: var(--ink);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.checkbox-row a {
    color: inherit;
    font-weight: 700;
    text-underline-offset: 3px;
}

.checkbox-row input {
    margin-top: 3px;
}

.full {
    width: 100%;
}

.result-card {
    display: grid;
    gap: 24px;
}

.result-card p {
    font-size: 19px;
    line-height: 1.55;
    color: var(--muted);
}

.result-bars {
    display: grid;
    gap: 16px;
}

.result-bar-row {
    display: grid;
    gap: 8px;
}

.result-bar-label {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-weight: 800;
}

.result-bar-track {
    height: 10px;
    border-radius: 99px;
    background: #e7e0d6;
    overflow: hidden;
}

.result-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
}

@media (max-width: 980px) {
    .site-header {
        min-height: 78px;
        padding: 18px 20px;
    }

    .brand {
        font-size: 29px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .mode-label {
        display: none;
    }

    .freebie-hero {
        padding: 120px 22px 38px;
        align-items: end;
    }

    .analysis-intro {
        padding: 12px 22px 32px;
    }

    .nina-logo img {
        width: 205px;
    }

    .analysis-copy {
        width: 100%;
        margin-top: 66px;
    }

    .analysis-copy h1 {
        font-size: 25px;
    }

    .analysis-copy p {
        margin-bottom: 17px;
        font-size: 17px;
        line-height: 1.28;
    }

    .analysis-button {
        width: 100%;
        max-width: 300px;
        min-height: 52px;
        font-size: 18px;
    }

    .duration-note {
        margin-left: 38px !important;
        font-size: 14px !important;
    }

    .quiz-start-hero {
        place-items: end center;
        padding: 96px 20px 44px;
    }

    body.page-freebie-start {
        background:
            linear-gradient(180deg, rgba(255, 253, 248, 0.58), rgba(255, 253, 248, 0.24) 42%, rgba(255, 253, 248, 0.88) 100%),
            url("/assets/img/elterntypen-start-hero-mobile.webp") center 72px / cover no-repeat,
            #fbfaf6;
    }

    .quiz-start-hero::after {
        background: radial-gradient(circle at 50% 58%, rgba(255, 253, 248, 0.72) 0 26%, rgba(255, 253, 248, 0.26) 52%, rgba(255, 253, 248, 0) 78%);
    }

    .start-hero-logo {
        top: 18px;
        left: 20px;
    }

    .start-hero-logo img {
        width: 172px;
    }

    .quiz-start-copy {
        margin-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .start-kicker {
        margin-bottom: 12px;
        font-size: 34px;
    }

    .quiz-start-copy h1 {
        font-size: clamp(48px, 14vw, 68px);
    }

    .quiz-start-copy h1::after {
        height: 4px;
        margin: 12px auto 16px;
    }

    .quiz-start-copy p:not(.start-kicker) {
        max-width: 330px;
        font-size: 18px;
    }

    .start-hero-button {
        width: min(100%, 330px);
        min-width: 0;
        min-height: 58px;
        margin-top: 22px;
        font-size: 23px;
    }

    .start-hero-meta {
        max-width: 320px;
        margin-top: 16px;
        gap: 9px;
        font-size: 14px;
    }

    .legal-footer {
        color: rgba(64, 64, 64, 0.9);
        font-size: 12px;
    }

    .start-copy h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .start-copy p {
        font-size: 18px;
    }

    .book-hero {
        min-height: 100svh;
        grid-template-columns: 1fr;
        padding: 110px 22px 42px;
    }

    .book-visual {
        justify-content: flex-start;
    }

    .book-cover {
        width: 160px;
    }

    .book-cover span {
        font-size: 25px;
    }

    .quiz-shell {
        padding: 0 18px 18px;
    }

    body.page-quiz.is-capture {
        background:
            linear-gradient(180deg, rgba(255, 253, 248, 0.88), rgba(255, 253, 248, 0.78) 28%, rgba(255, 253, 248, 0.7) 64%, rgba(255, 253, 248, 0.34) 100%),
            url("/assets/img/elterntypen-start-hero-mobile.webp") center 54px / cover no-repeat,
            #fbfaf6;
    }

    .quiz-panel {
        min-height: auto;
        display: block;
    }

    .progress-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px 0 24px;
        font-size: 15px;
    }

    .question-layout {
        display: block;
    }

    .question-copy h1 {
        font-size: clamp(28px, 8.6vw, 38px);
        line-height: 1.16;
        margin: 16px 0 22px;
    }

    .answer-list {
        gap: 10px;
    }

    .answer-option {
        min-height: 64px;
        gap: 16px;
        padding: 0 16px;
    }

    .answer-dot {
        width: 26px;
        height: 26px;
    }

    .answer-label {
        font-size: 17px;
    }

    .quiz-actions {
        margin-top: 20px;
    }

    .type-orbit {
        display: none;
    }

    .capture-screen,
    .result-screen,
    .done-screen {
        padding: 30px 0;
    }

    .result-screen h1,
    .done-screen h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .capture-screen h1 {
        font-size: clamp(36px, 10.8vw, 46px);
        line-height: 1.06;
    }

    .capture-screen p,
    .done-screen p {
        font-size: 18px;
        line-height: 1.42;
    }
}

.quiz-panel.is-finished .progress-row {
    display: none;
}
