:root {
    --ink: #17372e;
    --muted: #667870;
    --green-950: #073c2a;
    --green-900: #0a4d35;
    --green-800: #0d6142;
    --green-700: #117a51;
    --green-100: #dceee5;
    --green-50: #edf7f1;
    --cream: #f4f1e9;
    --cream-deep: #e8e0d0;
    --white: #ffffff;
    --line: #dce4df;
    --yellow: #e7a923;
    --yellow-soft: #fff5d9;
    --red: #c9584f;
    --red-soft: #fce9e6;
    --shadow: 0 24px 70px rgba(19, 55, 46, .12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 11px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, .9), transparent 32rem),
        linear-gradient(180deg, #f9f7f1 0%, var(--cream) 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

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

button {
    color: inherit;
}

a {
    color: var(--green-700);
}

:focus-visible {
    outline: 3px solid #1b9a67;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 1000;
    padding: 12px 18px;
    color: #fff;
    background: var(--green-950);
    border-radius: 8px;
}

.skip-link:focus {
    top: 20px;
}

.site-header {
    width: min(1180px, calc(100% - 40px));
    min-height: 112px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(23, 55, 46, .1);
}

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

.brand-logo {
    display: block;
    width: auto;
    max-width: min(48vw, 250px);
    height: 96px;
    object-fit: contain;
    object-position: left center;
}

.header-contact {
    color: var(--ink);
    text-align: right;
    text-decoration: none;
}

.header-contact span,
.header-contact strong {
    display: block;
}

.header-contact span {
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.header-contact strong {
    font-size: .95rem;
}

#app {
    min-height: calc(100vh - 180px);
}

.loading-card {
    min-height: 60vh;
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--muted);
}

.loading-dot {
    width: 26px;
    height: 26px;
    border: 3px solid var(--green-100);
    border-top-color: var(--green-700);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.hero {
    width: min(1180px, calc(100% - 40px));
    min-height: 580px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 60px;
    align-items: center;
    padding: 72px 0 55px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow,
.panel-kicker {
    margin: 0 0 14px;
    color: var(--green-700);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

h1,
h2,
p {
    text-wrap: pretty;
}

.hero h1,
.tool-card h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(3rem, 5.8vw, 5.25rem);
}

.hero-lead {
    max-width: 610px;
    margin: 27px 0 0;
    color: #51665e;
    font-size: clamp(1.05rem, 2vw, 1.26rem);
    line-height: 1.65;
}

.hero-actions,
.button-row,
.success-actions,
.modal-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.primary-button,
.secondary-button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button {
    color: #fff;
    background: var(--green-800);
    box-shadow: 0 10px 24px rgba(13, 97, 66, .2);
}

.primary-button:hover {
    background: var(--green-900);
    box-shadow: 0 13px 28px rgba(13, 97, 66, .27);
    transform: translateY(-2px);
}

.primary-button:disabled {
    cursor: not-allowed;
    opacity: .45;
    box-shadow: none;
    transform: none;
}

.secondary-button {
    color: var(--green-900);
    background: #fff;
    border-color: #c9d6cf;
}

.secondary-button:hover {
    background: var(--green-50);
    border-color: #94b8a6;
}

.time-note {
    color: var(--muted);
    font-size: .88rem;
}

.time-note span {
    color: var(--green-700);
    font-size: 1.2rem;
}

.trust-list {
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #53675f;
    font-size: .82rem;
    list-style: none;
}

.trust-list span {
    width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    margin-right: 5px;
    color: var(--green-700);
    background: var(--green-100);
    border-radius: 50%;
    font-size: .68rem;
    font-weight: 900;
}

.hero-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 0;
    background: linear-gradient(145deg, rgba(13, 97, 66, .13), rgba(255, 255, 255, .55));
    border-radius: 48% 52% 41% 59% / 60% 40% 60% 40%;
    filter: blur(.2px);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(13, 97, 66, .16);
    border-radius: 50%;
}

.orbit-one {
    width: 400px;
    height: 400px;
}

.orbit-two {
    width: 510px;
    height: 290px;
    transform: rotate(-22deg);
}

.compass-card {
    position: relative;
    z-index: 2;
    width: 330px;
    min-height: 385px;
    padding: 28px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    transform: rotate(2deg);
}

.compass-top {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
}

.live-pill {
    padding: 3px 8px;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 20px;
    font-size: .58rem;
    letter-spacing: .1em;
}

.score-ring {
    width: 176px;
    height: 176px;
    margin: 38px auto 30px;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--green-700) 0 245deg, var(--green-100) 245deg 360deg);
    border-radius: 50%;
}

.score-ring > div {
    width: 138px;
    height: 138px;
    display: grid;
    place-items: center;
    align-content: center;
    background: #fff;
    border-radius: 50%;
}

.score-ring strong {
    font-family: Georgia, serif;
    font-size: 3.7rem;
    font-weight: 500;
    line-height: 1;
}

.score-ring span {
    margin-top: 8px;
    color: var(--muted);
    font-size: .68rem;
}

.visual-bars {
    display: grid;
    gap: 12px;
}

.visual-bars span {
    height: 7px;
    overflow: hidden;
    background: #e8efeb;
    border-radius: 20px;
}

.visual-bars span::before {
    content: "";
    display: block;
    width: var(--bar);
    height: 100%;
    background: linear-gradient(90deg, var(--green-700), #6baa89);
    border-radius: inherit;
}

.float-card {
    position: absolute;
    z-index: 3;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(19, 55, 46, .12);
    font-size: .75rem;
    font-weight: 750;
    animation: float 4s ease-in-out infinite;
}

.float-card span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green-700);
    border-radius: 8px;
}

.float-card-one {
    left: 1%;
    top: 30%;
}

.float-card-two {
    right: -1%;
    bottom: 23%;
    animation-delay: -2s;
}

.how-strip {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(23, 55, 46, .08);
    border-radius: 17px;
    box-shadow: 0 12px 34px rgba(19, 55, 46, .06);
}

.how-strip > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.how-strip > div + div {
    padding-left: 30px;
    border-left: 1px solid var(--line);
}

.how-strip > div > span {
    color: #80a391;
    font-family: Georgia, serif;
    font-size: 1.5rem;
}

.how-strip p,
.how-strip strong,
.how-strip small {
    display: block;
    margin: 0;
}

.how-strip strong {
    font-size: .87rem;
}

.how-strip small {
    margin-top: 3px;
    color: var(--muted);
    font-size: .72rem;
}

.method-note {
    width: min(900px, calc(100% - 40px));
    margin: 22px auto 50px;
    color: #76847e;
    font-size: .72rem;
    text-align: center;
}

.method-note.compact {
    width: 100%;
    margin: 22px 0 0;
}

.tool-shell {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 70px;
}

.tool-topline {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-button,
.text-button,
.inline-link {
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}

.back-button:hover,
.text-button:hover,
.inline-link:hover {
    color: var(--green-700);
}

.progress-label {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

.progress-track {
    height: 4px;
    margin: 8px 0 26px;
    overflow: hidden;
    background: rgba(23, 55, 46, .09);
    border-radius: 10px;
}

.progress-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green-700), #66a784);
    border-radius: inherit;
    transition: width .45s ease;
}

.tool-card {
    padding: clamp(30px, 5vw, 62px);
    background: rgba(255, 255, 255, .93);
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.center-heading {
    max-width: 680px;
    margin: 0 auto 35px;
    text-align: center;
}

.center-heading h1,
.split-heading h1,
.question-content h1,
.contact-copy h1,
.success-view h1 {
    font-size: clamp(2.15rem, 4vw, 3.35rem);
}

.center-heading p,
.split-heading p,
.contact-copy > p,
.success-view > p {
    color: var(--muted);
    font-size: 1.04rem;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.target-card {
    min-height: 280px;
    padding: 27px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.target-card:hover,
.target-card.is-selected {
    border-color: #7eb39a;
    box-shadow: 0 17px 38px rgba(19, 55, 46, .1);
    transform: translateY(-4px);
}

.target-icon,
.profile-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 14px;
    font-size: 1.6rem;
}

.target-card strong {
    margin-top: 24px;
    font-family: Georgia, serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.target-card > span:not(.target-icon) {
    margin-top: 10px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.55;
}

.target-card em {
    width: 100%;
    margin-top: auto;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    color: var(--green-700);
    font-size: .8rem;
    font-style: normal;
    font-weight: 800;
}

.privacy-hint {
    margin-top: 27px;
    color: var(--muted);
    font-size: .74rem;
    text-align: center;
}

.privacy-hint span {
    color: var(--green-700);
}

.split-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.split-heading > div {
    max-width: 700px;
}

.optional-pill {
    padding: 6px 11px;
    color: var(--muted);
    background: #f1f3f1;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 700;
}

.profile-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.profile-option {
    position: relative;
    min-height: 94px;
    padding: 18px;
    display: grid;
    grid-template-columns: 48px 1fr 24px;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: .2s ease;
}

.profile-option:hover,
.profile-option.is-selected {
    background: var(--green-50);
    border-color: #8db9a3;
}

.profile-option:focus-within,
.answer-option:focus-within {
    outline: 3px solid #1b9a67;
    outline-offset: 3px;
}

.profile-option input,
.answer-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-icon {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
}

.profile-option > span:nth-of-type(2) {
    font-size: .88rem;
    font-weight: 700;
}

.profile-option i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: transparent;
    border: 1px solid #aebdb5;
    border-radius: 50%;
    font-size: .7rem;
    font-style: normal;
}

.profile-option.is-selected i {
    color: #fff;
    background: var(--green-700);
    border-color: var(--green-700);
}

.button-row {
    margin-top: 36px;
    justify-content: flex-end;
}

.question-layout {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
}

.question-number {
    color: #d8e5de;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: .9;
}

.question-content {
    max-width: 790px;
}

.category-pill {
    display: inline-block;
    margin-bottom: 17px;
    padding: 6px 11px;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 30px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.question-help {
    max-width: 690px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.65;
}

.answer-grid {
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border: 0;
}

.answer-option {
    position: relative;
    min-height: 70px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 38px 1fr 20px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 700;
    transition: .18s ease;
}

.answer-option:hover {
    border-color: #91b7a4;
    transform: translateY(-1px);
}

.answer-option.is-selected {
    background: var(--green-50);
    border-color: var(--green-700);
    box-shadow: inset 0 0 0 1px var(--green-700);
}

.answer-symbol {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 10px;
    font-weight: 900;
}

.answer-option i {
    width: 18px;
    height: 18px;
    border: 1px solid #aabbb2;
    border-radius: 50%;
}

.answer-option.is-selected i {
    border: 5px solid var(--green-700);
}

.question-actions {
    justify-content: space-between;
}

.question-count {
    color: var(--muted);
    font-size: .75rem;
}

.result-card {
    padding: clamp(25px, 4vw, 50px);
}

.result-header {
    display: grid;
    grid-template-columns: 1fr 245px;
    gap: 45px;
    align-items: center;
}

.result-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.result-header > div:first-child > p:last-child {
    max-width: 660px;
    color: var(--muted);
    font-size: 1rem;
}

.result-score {
    display: grid;
    place-items: center;
}

.result-ring {
    --ring-color: var(--yellow);
    width: 162px;
    height: 162px;
    margin: 0;
    background: conic-gradient(var(--ring-color) 0 var(--score), #edf0ed var(--score) 360deg);
}

.status-green .result-ring {
    --ring-color: var(--green-700);
}

.status-red .result-ring {
    --ring-color: var(--red);
}

.result-ring > div {
    width: 126px;
    height: 126px;
}

.result-ring strong {
    font-size: 2.8rem;
}

.result-ring strong small {
    font-family: inherit;
    font-size: 1rem;
}

.status-badge {
    margin-top: 13px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    background: #f4f5f3;
    border-radius: 30px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-badge i {
    width: 7px;
    height: 7px;
    background: var(--yellow);
    border-radius: 50%;
}

.status-green .status-badge i {
    background: var(--green-700);
}

.status-red .status-badge i {
    background: var(--red);
}

.result-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 18px;
}

.result-panel {
    padding: 24px;
    background: #fafbf9;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.panel-kicker {
    margin-bottom: 5px;
    font-size: .61rem;
}

.panel-heading h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
}

.count-badge {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #8b6514;
    background: var(--yellow-soft);
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 800;
}

.issue-list,
.category-list {
    margin-top: 20px;
    display: grid;
    gap: 9px;
}

.issue-card {
    padding: 13px;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #e7ebe8;
    border-radius: 11px;
}

.issue-index {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #896617;
    background: var(--yellow-soft);
    border-radius: 8px;
    font-size: .7rem;
    font-weight: 800;
}

.issue-card strong {
    font-size: .78rem;
}

.issue-card p {
    max-width: 360px;
    margin: 2px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: .66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.answer-tag {
    padding: 5px 8px;
    color: var(--muted);
    background: #f1f3f1;
    border-radius: 20px;
    font-size: .6rem;
    font-weight: 800;
}

.tag-no {
    color: #9c413b;
    background: var(--red-soft);
}

.tag-unknown,
.tag-partly {
    color: #896617;
    background: var(--yellow-soft);
}

.empty-result {
    min-height: 155px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.empty-result > span {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green-700);
    border-radius: 50%;
}

.empty-result p {
    color: var(--muted);
    font-size: .8rem;
}

.category-row > div:first-child {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
}

.category-row > div:first-child span {
    color: var(--muted);
    font-size: .62rem;
}

.category-bar {
    height: 7px;
    margin-top: 7px;
    overflow: hidden;
    background: #e9eeeb;
    border-radius: 20px;
}

.category-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.category-bar .good {
    background: var(--green-700);
}

.category-bar .medium {
    background: var(--yellow);
}

.category-bar .open {
    background: var(--red);
}

.result-cta {
    margin-top: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 0, rgba(255, 255, 255, .11), transparent 45%),
        var(--green-900);
    border-radius: var(--radius-md);
}

.result-cta > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.result-cta p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
}

.cta-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, .12);
    border-radius: 12px;
    font-size: 1.3rem;
}

.light-button {
    flex: 0 0 auto;
    color: var(--green-900);
    background: #fff;
    box-shadow: none;
}

.light-button:hover {
    color: #fff;
}

.result-actions {
    margin-top: 21px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: .875rem;
}
.result-actions .text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #d1e4d5;
    border-radius: 10px;
    color: #006b24;
    background: #fff;
    text-align: center;
    line-height: 1.35;
}
@media (max-width: 600px) {
    .result-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .result-actions .text-button { width: 100%; }
    .result-actions .text-button[data-action="print"] { grid-column: 1 / -1; }
}

.contact-card {
    padding: clamp(28px, 5vw, 58px);
}

.contact-layout {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: clamp(38px, 7vw, 80px);
}

.contact-copy {
    padding-top: 8px;
}

.contact-promise {
    margin-top: 30px;
    display: grid;
    gap: 17px;
}

.contact-promise > div {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-promise > div > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
}

.contact-promise p,
.contact-promise strong,
.contact-promise small {
    display: block;
    margin: 0;
}

.contact-promise strong {
    font-size: .8rem;
}

.contact-promise small {
    color: var(--muted);
    font-size: .68rem;
}

.lead-form {
    padding: 28px;
    background: #f9faf8;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.field-group {
    margin-bottom: 14px;
}

.field-group label {
    display: block;
    margin-bottom: 6px;
    font-size: .7rem;
    font-weight: 800;
}

.field-group label span {
    color: var(--muted);
    font-weight: 500;
}

.field-group input,
.field-group select {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cbd7d0;
    border-radius: 9px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field-group input:focus,
.field-group select:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(17, 122, 81, .12);
}

.check-row {
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #4c6057;
    cursor: pointer;
    font-size: .72rem;
}

.check-row input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: var(--green-700);
}

.privacy-row {
    margin-top: 17px;
}

.inline-link {
    color: var(--green-700);
    font-size: inherit;
    text-decoration: underline;
}

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

.submit-button {
    width: 100%;
    margin-top: 13px;
}

.submit-loader {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.secure-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .64rem;
    text-align: center;
}

.form-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    color: #843b35;
    background: var(--red-soft);
    border: 1px solid #efc8c3;
    border-radius: 9px;
    font-size: .76rem;
}

.success-view {
    max-width: 690px;
    margin: 0 auto;
    text-align: center;
}

.success-mark {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    background: var(--green-50);
    border-radius: 50%;
}

.success-mark span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green-700);
    border-radius: 50%;
    font-size: 1.6rem;
    animation: pop .5s ease;
}

.reference {
    display: block;
    margin-top: 17px;
    color: var(--muted);
    font-family: ui-monospace, monospace;
    font-size: .7rem;
}

.success-actions {
    margin: 30px 0 22px;
    justify-content: center;
}

.site-footer {
    width: min(1180px, calc(100% - 40px));
    min-height: 90px;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    border-top: 1px solid rgba(23, 55, 46, .1);
    font-size: .7rem;
}

.site-footer nav {
    display: flex;
    gap: 19px;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(7, 36, 26, .62);
    backdrop-filter: blur(8px);
    animation: fadeIn .2s ease;
}

.modal {
    position: relative;
    width: min(540px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 38px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
    animation: modalIn .25s ease;
}

.modal h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.12;
}

.modal p:not(.eyebrow) {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.65;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 35px;
    height: 35px;
    color: var(--muted);
    background: #f1f3f1;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
}

.modal-actions {
    margin-top: 25px;
}

.resume-modal {
    text-align: center;
}

.resume-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 50%;
    font-size: 1.5rem;
}

.resume-modal .modal-actions {
    justify-content: center;
}

.noscript {
    position: fixed;
    inset: 20px 20px auto;
    z-index: 1000;
    padding: 18px;
    color: #fff;
    background: #8a332d;
    border-radius: 12px;
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pop {
    0% { transform: scale(.4); opacity: 0; }
    75% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: none; }
}

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

    .hero-copy {
        text-align: center;
    }

    .hero-lead {
        margin-inline: auto;
    }

    .hero-actions,
    .trust-list {
        justify-content: center;
    }

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

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

    .target-card {
        min-height: 0;
    }

    .result-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        text-align: center;
    }

    .contact-promise {
        max-width: 350px;
        margin-inline: auto;
        text-align: left;
    }
}

@media (max-width: 700px) {
    .site-header,
    .hero,
    .how-strip,
    .tool-shell,
    .site-footer {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        min-height: 88px;
    }

    .header-contact span {
        display: none;
    }

    .header-contact strong {
        font-size: .75rem;
    }

    .brand-logo {
        max-width: 52vw;
        height: 72px;
    }

    .hero {
        gap: 15px;
        padding-top: 42px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 13vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .primary-button {
        width: 100%;
    }

    .trust-list {
        gap: 10px 16px;
    }

    .hero-visual {
        transform: scale(.86);
        margin-inline: -35px;
    }

    .how-strip {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .how-strip > div + div {
        padding: 17px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .tool-shell {
        padding-top: 24px;
    }

    .tool-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .profile-grid,
    .answer-grid,
    .form-columns {
        grid-template-columns: 1fr;
    }

    .question-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .question-number {
        font-size: 3rem;
    }

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

    .question-actions .primary-button {
        width: 100%;
    }

    .result-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .result-header > div:first-child > p:last-child {
        margin-inline: auto;
    }

    .result-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .result-cta .primary-button {
        width: 100%;
    }

    .issue-card {
        grid-template-columns: 30px 1fr;
    }

    .answer-tag {
        grid-column: 2;
        justify-self: start;
    }

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

@media print {
    body {
        background: #fff;
    }

    .site-header,
    .site-footer,
    .tool-topline,
    .progress-track,
    .result-cta,
    .result-actions,
    .method-note {
        display: none !important;
    }

    #app,
    .tool-shell {
        min-height: 0;
        width: 100%;
        padding: 0;
    }

    .tool-card {
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .result-panel {
        break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Gemeinsame Agenturgestaltung. */
:root{--ink:#1f2933;--muted:#5f6b66;--green-950:#004f1b;--green-900:#006b24;--green-800:#006b24;--green-700:#006b24;--green-100:#e8f7ee;--green-50:#f3faf5;--cream:#f6f8f7;--cream-deep:#e8f7ee;--line:#dce5df}
body{background:#f6f8f7}.hero{grid-template-columns:minmax(0,1fr);min-height:0;gap:0;padding:64px 0 48px}.hero-copy{max-width:820px}.hero h1,.tool-card h1,.result-panel h2{font-family:Inter,Arial,sans-serif;font-weight:700}.hero h1{font-size:clamp(2.2rem,4vw,3.6rem)}
@media(max-width:700px){.hero{padding:36px 0 32px}}
.target-card strong,.panel-heading h2,.question-number,.how-strip > div > span,.modal h2{font-family:Inter,Arial,sans-serif}
