:root {
  color-scheme: light;
  --ivory: #f7f7ef;
  --paper: #fdfdf7;
  --ink: #162b23;
  --muted: #496056;
  --green: #1e5945;
  --forest: #142e26;
  --lime: #daf38d;
  --line: #d6dfd3;
  --sans: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
:focus-visible { outline: 3px solid #42896c; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: 1.01; }
h1 { font-size: clamp(3.45rem, 6.15vw, 6.05rem); }
h2 { font-size: clamp(2.45rem, 4vw, 4rem); }
h3 { font-size: 1.17rem; line-height: 1.3; letter-spacing: -.02em; }
.wrap { width: min(1160px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: var(--paper); padding: .5rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; min-height: 79px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; font-size: 1.44rem; font-weight: 750; letter-spacing: -.07em; }
.brand-dot { color: #33765a; }
.nav nav { display: flex; align-items: center; gap: clamp(.9rem, 3.3vw, 2.5rem); }
.nav-link { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.nav-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; font-size: .91rem; font-weight: 750; line-height: 1.4; text-decoration: none; min-height: 48px; }
.button-small { min-height: 40px; padding: 8px 14px; }
.button span { font-size: 1.13em; line-height: 1; }
.button-primary { color: #faffea; background: var(--green); }
.button-primary:hover { background: #183f33; }
.button-outline { color: var(--ink); border-color: #aebeb1; background: transparent; }
.button-outline:hover { background: #e7eee2; }
.hero { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 100% 12%, #e6eddb 0%, transparent 48%), var(--ivory); }
.hero-grid { min-height: 560px; display: grid; align-items: center; grid-template-columns: 1.2fr .91fr; gap: clamp(26px, 5vw, 75px); padding-block: 68px 72px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; margin-bottom: 23px; }
.eyebrow span { display: block; width: 8px; height: 8px; background: #6b9d71; border-radius: 50%; flex-shrink: 0; }
.hero h1 em { font-weight: 400; color: var(--green); }
.hero-copy { margin-top: 28px; max-width: 38ch; color: var(--muted); font-size: clamp(1.03rem, 1.7vw, 1.25rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 28px; }
.text-link { font-weight: 750; text-underline-offset: 5px; font-size: .92rem; }
.text-link span { margin-left: 4px; }
.hero-note { display: flex; align-items: baseline; gap: 8px; margin-top: 21px; font-size: .82rem; color: var(--muted); }
.hero-note span { color: var(--green); font-weight: 800; }
.review-card { padding: 21px; background: var(--forest); color: #e2f2e6; border-radius: 19px; box-shadow: 0 24px 64px -27px #243932a6; border: 1px solid #284739; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .87rem; }
.review-label i { width: 7px; height: 7px; background: #d0f490; border-radius: 100%; }
.sample, .review-tag { border: 1px solid #466158; color: #c6e1d1; border-radius: 5px; padding: 3px 7px; font-size: .65rem; letter-spacing: .07em; white-space: nowrap; }
.review-art { margin: 7px 0 5px; line-height: 0; }
.review-art svg { width: 100%; height: auto; }
.review-list { display: grid; gap: 7px; }
.review-list > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid #315345; background: #1c3b30; border-radius: 7px; font-size: .84rem; line-height: 1.3; }
.review-list > div > :first-child { display: flex; gap: 8px; align-items: center; }
.review-icon { color: #d5ef9b; width: 17px; text-align: center; font-size: 1.03rem; }
.review-tag { border: none; padding: 0; color: #b6d3c4; }
figcaption { font-size: .71rem; color: #b6d3c4; margin-top: 12px; }
.section { padding-block: 78px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading p, .services-grid p, .steps p, .questions p, .workspace-intro { color: var(--muted); max-width: 42ch; }
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.services-grid article { border: 1px solid var(--line); border-radius: 11px; padding: 22px; background: #f7f9f1; }
.service-icon { width: 36px; height: 36px; border-radius: 7px; display: grid; place-items: center; background: #e5eedc; color: var(--green); font-size: 1.3rem; margin-bottom: 22px; }
.services-grid h3, .steps h3 { margin-bottom: 7px; }
.services-grid p, .steps p, .questions p { font-size: .93rem; }
.process-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(24px, 6vw, 84px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding-block: 17px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-number { font-size: .81rem; font-weight: 800; color: var(--green); background: #e4eddb; border-radius: 100%; width: 35px; height: 35px; display: grid; place-items: center; }
.faq { background: var(--paper); }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { list-style: none; cursor: pointer; padding: 15px 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; color: var(--green); font-size: 1.25rem; }
.questions [open] summary::after { content: "−"; }
.questions p { padding-bottom: 17px; max-width: 59ch; }
.contact { background: var(--forest); color: #f4f6ea; }
.contact h2 + p { margin-top: 20px; max-width: 36ch; color: #c7decf; }
.contact .eyebrow { color: #d8eea3; }
.contact .eyebrow span { background: #d8eea3; }
.contact-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 15px; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form label { display: block; min-width: 0; font-weight: 700; font-size: .85rem; }
.form input, .form textarea { display: block; width: 100%; padding: 10px 11px; border: 1px solid #a9baac; border-radius: 6px; margin-top: 5px; background: var(--paper); color: var(--ink); font-size: 1rem; font-weight: 500; }
.form textarea { resize: vertical; }
.form input::placeholder { color: #62736a; }
.form .button { justify-self: start; }
.optional { color: var(--muted); font-weight: 500; font-size: .76rem; margin-left: 5px; }
.contact .optional { color: #bbd2c4; }
.contact .form input, .contact .form textarea { background: #203e33; border-color: #708a7c; color: #f4f6ea; }
.contact .form input::placeholder { color: #b2ccbe; }
.contact :focus-visible { outline-color: var(--lime); }
.contact .button-primary { background: var(--lime); color: var(--ink); }
.contact .button-primary:hover { background: #efffd1; }
.contact .button-outline { color: #e7f2e6; border-color: #708a7c; }
.contact .button-outline:hover { background: #29483d; }
.form-hint, .form-status { color: var(--muted); font-size: .82rem; }
.form-status:empty { display: none; }
.contact .form-hint, .contact .form-status { color: #d0e5d6; }
.inquiry-preview { display: grid; gap: 9px; }
.footer { padding-block: 23px; color: var(--muted); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 10px 22px; flex-wrap: wrap; font-size: .84rem; }
.footer-grid .brand { color: var(--ink); }
.work-page { min-height: 78vh; padding-block: 52px 72px; background: radial-gradient(ellipse at 100% 10%, #e7efdc 0%, transparent 50%); }
.work-page h1 { font-size: clamp(3rem, 6.5vw, 5rem); }
.workspace-intro { margin-top: 16px; max-width: 62ch; }
.workspace-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 16px; margin-top: 33px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(15px, 2.1vw, 26px); min-width: 0; }
.panel h2 { font: 760 1.25rem/1.2 var(--sans); letter-spacing: -.045em; }
.panel-copy { color: var(--muted); font-size: .88rem; }
.panel-title { border-bottom: 1px solid var(--line); padding-bottom: 13px; display: grid; gap: 5px; }
.panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.workspace-badge { background: #e3eed9; color: #234938; padding: 4px 8px; border-radius: 5px; font-size: .71rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
#email-body { min-height: 293px; }
@media (max-width: 1090px) {
  .wrap { width: min(1160px, calc(100% - 72px)); }
  .hero-grid { min-height: 510px; gap: 31px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 40px); }
  .hero-grid, .contact-grid, .process-grid, .workspace-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 46px; gap: 32px; }
  .hero h1 { font-size: clamp(2.9rem, 9vw, 5rem); }
  .review-card { width: min(100%, 500px); }
  .section { padding-block: 52px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .wide-break { display: none; }
}
@media (max-width: 480px) {
  .nav { min-height: 63px; }
  .nav nav .nav-link { display: none; }
  .brand { font-size: 1.32rem; }
  .form-row { grid-template-columns: 1fr; }
  .review-card { padding: 14px; }
  .review-tag { font-size: .59rem; letter-spacing: 0; }
  .panel-actions .button { flex: 1 1 auto; }
  .work-page { padding-block: 43px 53px; }
}
/* ------------------------------------------------------------------ */
/* Dashboard (Sicherheitsscanner)                                      */
/* ------------------------------------------------------------------ */
.dashboard-page h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); }
.dash-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 16px; margin-top: 33px; align-items: start; }
.dash-aside { background: var(--paper); }
.dash-banner { margin-top: 24px; padding: 13px 16px; border-radius: 9px; font-size: .9rem; line-height: 1.5; }
.dash-banner-anon { margin-top: 12px; padding: 11px 15px; border-radius: 9px; font-size: .86rem; line-height: 1.45; }
.dash-banner-anon.ok { background: #e7f0dc; border: 1px solid #c7d9bd; color: #234938; }
.dash-banner-anon.warn { background: #fbf0dc; border: 1px solid #eddcc0; color: #6a4510; }
.platform-banner { margin-top: 24px; padding: 13px 16px; border-radius: 9px; font-size: .9rem; line-height: 1.5; background: #fbf0dc; border: 1px solid #eddcc0; color: #6a4510; }
.platform-banner small { color: #8a6a30; }
.platform-actions { display: flex; gap: 8px; margin-top: 10px; }
.dash-banner-warn { background: #fdeee3; border: 1px solid #ecc9ad; color: #7a3c13; }
.dash-banner-warn code { background: #fff; padding: 1px 5px; border-radius: 4px; font-size: .84rem; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .86rem !important; line-height: 1.45; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--green); }
.checklist { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: .92rem; display: grid; gap: 6px; }
.dash-legal { margin-top: 18px; padding: 12px 14px; background: #f3f1e6; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.dash-legal p { margin: 0; }
.dash-result { margin-top: 26px; }
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.result-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); word-break: break-all; }
.scorebox { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.score-num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--green); }
.score-grade { font-size: .8rem; color: var(--muted); }
.result-meta { margin-top: 10px; color: var(--muted); font-size: .86rem; }
.summary { margin-top: 16px; background: #f2f6ec; border: 1px solid #dbe7d2; border-radius: 10px; padding: 15px 18px; }
.summary p { margin: 0 0 8px; color: #274236; }
.summary p:last-child { margin-bottom: 0; }
.summary ul { margin: 0 0 8px; padding-left: 20px; color: #274236; }
.findings { margin-top: 20px; display: grid; gap: 9px; }
.no-findings { color: var(--green); font-weight: 700; }
.finding { border: 1px solid var(--line); border-radius: 9px; background: #fdfdf7; overflow: hidden; }
.finding summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 11px; padding: 13px 15px; }
.finding summary::-webkit-details-marker { display: none; }
.finding summary::after { content: "+"; margin-left: auto; color: var(--green); font-size: 1.2rem; }
.finding[open] summary::after { content: "−"; }
.finding-title { font-weight: 700; font-size: .96rem; }
.pill { color: #fff; border-radius: 5px; padding: 2px 9px; font-size: .69rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.finding-body { padding: 2px 15px 15px; color: var(--muted); font-size: .9rem; display: grid; gap: 8px; }
.finding-body p { margin: 0; }
.finding-body .evidence code { background: #eef0e8; padding: 1px 5px; border-radius: 4px; font-size: .84rem; word-break: break-all; color: var(--ink); }
.finding-body .ref a { color: var(--green); }
.finding-body .ctx { color: #6b7d72; font-size: .87rem; }
.cat-title { display: flex; align-items: center; gap: 9px; margin: 24px 0 10px; font: 760 1rem/1.2 var(--sans); letter-spacing: -.02em; }
.cat-title:first-child { margin-top: 4px; }
.cat-count { background: #e5eedc; color: var(--green); border-radius: 100%; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .74rem; font-weight: 800; padding: 0 6px; }
.src-tag { margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #1e5945; background: #e7f0dc; border: 1px solid #c7d9bd; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.src-agg { color: #7a3c13; background: #fdeee3; border-color: #ecc9ad; }
.conf { margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8a5a1c; background: #fbf0dc; border: 1px solid #eddcc0; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.passed-title { margin: 20px 0 8px; font: 760 1rem/1.2 var(--sans); }
.passed-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: .9rem; display: grid; gap: 4px; }
.deduct { margin-top: 20px; }
.deduct-list { margin: 6px 0 0; padding-left: 20px; color: var(--muted); font-size: .88rem; display: grid; gap: 3px; }
.plan-list { margin: 8px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; counter-reset: plan; }
.plan-item { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 9px; padding: 12px 15px; background: #fdfdf7; }
.plan-item .plan-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; flex-wrap: wrap; }
.plan-item p { margin: 3px 0; color: var(--muted); font-size: .9rem; }
.plan-item .plan-time { color: var(--ink); }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.dash-history { margin-top: 26px; }
.history-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.history-list li { border-top: 1px solid var(--line); }
.history-list li:last-child { border-bottom: 1px solid var(--line); }
.history-row { display: flex; align-items: center; gap: 14px; padding: 12px 2px; }
.history-main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.history-target { font-weight: 700; text-decoration: none; word-break: break-all; }
.history-target:hover { text-decoration: underline; }
.history-meta { color: var(--muted); font-size: .8rem; }
.history-score { font-weight: 750; color: var(--green); white-space: nowrap; font-size: .9rem; }
.history-del { border: none; background: transparent; color: #b4a79a; font-size: 1rem; padding: 6px; border-radius: 6px; }
.history-del:hover { background: #f0e9e0; color: #7a3c13; }
#history-hint { margin-top: 12px; }

@media (max-width: 780px) {
  .dash-grid { grid-template-columns: 1fr; }
  .result-head { flex-direction: column; }
  .scorebox { align-items: flex-start; }
}

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

/* Direkter E-Mail-Kontakt (ohne Formular) */
.contact-direct { display: grid; gap: 12px; align-content: start; justify-items: start; }
.contact-label { font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #d8eea3; }
.contact-mail { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #f4f6ea; text-decoration: none; letter-spacing: -.02em; word-break: break-word; }
.contact-mail:hover, .contact-mail:focus { text-decoration: underline; text-underline-offset: 6px; }
.contact-hint { color: #c7decf; font-size: .88rem; max-width: 46ch; }
.contact .button-primary { justify-self: start; }
