/* Wannja Startseite 2026 (Relaunch). Nur auf body.wj-home; die übrigen Seiten nutzen weiter style.css. */
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/manrope-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }

.wj-home {
    --wj-ink: #14213D;
    --wj-ink-2: #22325A;
    --wj-ja: #1A9A50;
    --wj-ja-soft: #E7F5EC;
    --wj-viel: #B07A00;
    --wj-viel-soft: #FBF3DE;
    --wj-nein: #7C8698;
    --wj-nein-soft: #EEF1F5;
    --wj-bg: #F6F8FB;
    --wj-surface: #FFFFFF;
    --wj-line: #DCE2EA;
    --wj-text: #14213D;
    --wj-muted: #505B6E;
    --wj-radius: 12px;
    background: var(--wj-bg);
    color: var(--wj-text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: clip;
}
.wj-home h1, .wj-home h2, .wj-home h3 {
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    color: var(--wj-ink);
    text-wrap: balance;
    margin: 0;
}
:where(.wj-home) p { margin: 0; }
.wj-home a:focus-visible, .wj-home button:focus-visible { outline: 3px solid var(--wj-ja); outline-offset: 2px; }
.wj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knöpfe */
.wj-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 1rem/1.2 "Inter", system-ui, sans-serif;
    padding: 13px 20px; border-radius: 10px; text-decoration: none; border: 1.5px solid transparent;
    transition: background-color .15s, border-color .15s, color .15s;
}
.wj-btn-primary { background: var(--wj-ink); color: #fff; }
.wj-btn-primary:hover { background: var(--wj-ink-2); color: #fff; }
.wj-btn-outline { border-color: var(--wj-ink); color: var(--wj-ink); background: transparent; }
/* Grün für die Event-Anmeldung: #15803F (weiss darauf 5:1, das hellere Ja-Grün nur 3.6:1) */
.wj-btn-green { background: #15803F; color: #fff; }
.wj-btn-green:hover { background: #116B34; color: #fff; }
.wj-btn-outline:hover { background: var(--wj-ink); color: #fff; }
.wj-btn-quiet { color: var(--wj-ink); padding-inline: 6px; }
.wj-btn-quiet:hover { text-decoration: underline; }
.wj-btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.wj-link { color: var(--wj-ink); font-weight: 600; text-decoration: none; }
.wj-link:hover { text-decoration: underline; }

/* Layout */
.wj-home main { padding-inline: 16px; }
.wj-hero, .wj-section, .wj-final { max-width: 1120px; margin-inline: auto; }

/* Hero */
.wj-hero {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px); align-items: center;
    padding-block: 136px 72px;
}
.wj-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.wj-lead { font-size: 1.15rem; color: var(--wj-muted); margin-top: 18px; max-width: 46ch; }
.wj-ctas { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 28px; }
.wj-note { font-size: 0.9rem; color: var(--wj-muted); margin-top: 12px; }
.wj-trust {
    list-style: none; padding: 20px 0 0; margin: 26px 0 0; border-top: 1px solid var(--wj-line);
    display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.95rem;
}
.wj-trust li { display: inline-flex; align-items: center; gap: 6px; }
.wj-trust svg, .wj-plan li svg { color: var(--wj-ja); flex: none; }

/* Beispiel-Umfrage */
.wj-poll {
    margin: 0; background: var(--wj-surface); border: 1px solid var(--wj-line); border-radius: var(--wj-radius);
    box-shadow: 0 24px 50px -28px rgba(20, 33, 61, .38); overflow: hidden; min-width: 0;
}
.wj-poll-head { padding: 16px 18px; border-bottom: 1px solid var(--wj-line); display: grid; gap: 2px; }
.wj-poll-head strong { font-family: "Manrope", sans-serif; font-size: 1.05rem; font-weight: 800; }
.wj-poll-head span { font-size: 0.85rem; color: var(--wj-muted); }
.wj-poll-scroll { overflow-x: auto; }
.wj-poll table { border-collapse: collapse; width: 100%; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.wj-poll th, .wj-poll td { padding: 10px 10px; text-align: center; border-bottom: 1px solid #EEF1F5; }
.wj-poll thead th { font-weight: 600; font-size: 0.8rem; color: var(--wj-muted); }
.wj-poll th:first-child { text-align: left; white-space: nowrap; font-weight: 500; }
.wj-poll tbody th small { display: block; font-size: 0.78rem; color: var(--wj-muted); font-weight: 400; }
.wj-poll tr.wj-best > * { background: var(--wj-ja-soft); }
.wj-cell { display: inline-flex; width: 30px; height: 30px; border-radius: 8px; align-items: center; justify-content: center; }
.wj-cell-ja { background: var(--wj-ja-soft); color: var(--wj-ja); }
.wj-cell-viel { background: var(--wj-viel-soft); color: var(--wj-viel); }
.wj-cell-nein { background: var(--wj-nein-soft); color: var(--wj-nein); }
.wj-best .wj-cell-ja { background: #fff; }
.wj-count { font-weight: 700; }
.wj-poll-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; padding: 12px 18px; font-size: 0.9rem; }
.wj-poll-foot strong { color: #15803F; } /* 5:1 auf Weiss (Lighthouse 2026-09-29) */
.wj-legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--wj-muted); font-size: 0.82rem; }
.wj-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.wj-l-ja svg { color: var(--wj-ja); } .wj-l-viel svg { color: var(--wj-viel); } .wj-l-nein svg { color: var(--wj-nein); }

/* Abschnitte */
.wj-section { padding-block: 64px; border-top: 1px solid var(--wj-line); }
.wj-section > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; max-width: 30ch; }

.wj-steps ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wj-steps li { display: grid; gap: 6px; }
.wj-step-n {
    width: 34px; height: 34px; border-radius: 10px; background: var(--wj-ink); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font: 800 1rem "Manrope", sans-serif; margin-bottom: 6px;
}
.wj-steps h3 { font-size: 1.15rem; font-weight: 800; }
.wj-steps p { color: var(--wj-muted); }
.wj-steps-cta { margin: 28px 0 0; }

.wj-uses-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
/* drei Werkzeuge (Meinungsumfrage seit 2026-10-02): breit drei Spalten, mittel zwei (dritte Karte über die ganze Breite) */
@media (min-width: 1100px) { .wj-uses-grid.wj-uses-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1099px) { .wj-uses-3 > .wj-use:nth-child(3) { grid-column: 1 / -1; } }
.wj-use { background: var(--wj-surface); border: 1px solid var(--wj-line); border-radius: var(--wj-radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.wj-eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wj-ja); }
.wj-use h3 { font-size: 1.3rem; font-weight: 800; }
.wj-use p { color: var(--wj-muted); }
.wj-use .wj-examples { font-size: 0.9rem; }

.wj-plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; align-items: stretch; }
.wj-plan {
    background: var(--wj-surface); border: 1px solid var(--wj-line); border-radius: var(--wj-radius);
    padding: 28px; display: flex; flex-direction: column; gap: 8px;
}
.wj-plan-pro { border: 2px solid var(--wj-ink); }
.wj-plan h3 { font-size: 1.3rem; font-weight: 800; }
.wj-plan-for { color: var(--wj-muted); }
.wj-price { font: 800 1.6rem/1.2 "Manrope", sans-serif; color: var(--wj-ink); margin-top: 8px; }
.wj-price-alt, .wj-plan-intro { color: var(--wj-muted); font-size: 0.92rem; }
.wj-plan-intro { margin-top: 8px; font-weight: 600; color: var(--wj-text); }
.wj-plan ul { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; gap: 8px; }
.wj-plan li { display: flex; gap: 8px; align-items: flex-start; }
.wj-plan li svg { margin-top: 3px; }
.wj-plan .wj-btn { margin-top: auto; align-self: flex-start; }

.wj-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 28px 0 24px; }
.wj-trust-grid dt { font-weight: 700; margin-bottom: 4px; }
.wj-trust-grid dd { margin: 0; color: var(--wj-muted); font-size: 0.95rem; }

.wj-final { text-align: center; padding-block: 56px 80px; border-top: 1px solid var(--wj-line); display: grid; gap: 20px; justify-items: center; }
.wj-final-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.wj-final h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }

/* Navigation auf der Startseite: Logo in Tinte, Nav auf hellem Grund */
.wj-home .wannja-nav { background: rgba(255, 255, 255, .96); border-color: var(--wj-line); box-shadow: 0 6px 24px -18px rgba(20, 33, 61, .5); }
.wj-home .wannja-nav-link { color: var(--wj-ink); }
.wj-home .wj-footer { background: var(--wj-ink); color: #C9D1DE; }
.wj-home .wj-footer a { color: #E6EAF1; }

@media (max-width: 900px) {
    .wj-hero { grid-template-columns: minmax(0, 1fr); padding-top: 116px; }
    .wj-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .wj-steps ol, .wj-uses-grid, .wj-plans-grid { grid-template-columns: minmax(0, 1fr); }
    .wj-section { padding-block: 48px; }
    .wj-ctas .wj-btn-primary, .wj-ctas .wj-btn-green, .wj-ctas .wj-btn-outline, .wj-ctas .wj-btn-type { width: 100%; }
}
@media (max-width: 480px) {
    .wj-hide-s { display: none; }
    .wj-trust-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .wj-btn { transition: none; } }

/* Pro-Seite */
.wj-pro-hero { max-width: 1120px; margin-inline: auto; padding-block: 140px 56px; display: grid; gap: 14px; justify-items: start; }
.wj-pro-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 22ch; }
.wj-pro-hero .wj-lead { margin-top: 4px; max-width: 58ch; }
.wj-pro-price { margin-top: 10px; }
.wj-pro-price .wj-price { margin: 0; }
.wj-btn-done { background: var(--wj-ja-soft); color: var(--wj-ja); cursor: default; }

.wj-flow ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
.wj-flow li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.wj-flow .wj-step-n { margin: 0; flex: none; }

.wj-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wj-feat { background: var(--wj-surface); border: 1px solid var(--wj-line); border-radius: var(--wj-radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.wj-feat h3 { font-size: 1.15rem; font-weight: 800; }
.wj-feat p { color: var(--wj-muted); }

.wj-cmp-wrap { overflow-x: auto; margin-top: 24px; background: var(--wj-surface); border: 1px solid var(--wj-line); border-radius: var(--wj-radius); }
.wj-cmp { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.wj-cmp th, .wj-cmp td { padding: 11px 16px; border-bottom: 1px solid #EEF1F5; text-align: left; }
.wj-cmp thead th { font: 800 1rem "Manrope", sans-serif; color: var(--wj-ink); }
.wj-cmp thead th:not(:first-child), .wj-cmp td { text-align: center; width: 18%; }
.wj-cmp tbody th { font-weight: 500; }
.wj-cmp .wj-cmp-cat th { background: var(--wj-bg); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wj-muted); }
.wj-cmp .wj-yes { color: var(--wj-ja); }
.wj-cmp .wj-no { color: #A5AEBD; }
.wj-cmp tfoot td { font-weight: 700; color: var(--wj-ink); border-bottom: 0; }
.wj-cmp tfoot th { border-bottom: 0; }

.wj-faq details { border-bottom: 1px solid var(--wj-line); padding: 16px 0; max-width: 760px; }
.wj-faq details:first-of-type { margin-top: 16px; }
.wj-faq summary { font-weight: 600; cursor: pointer; }
.wj-faq details p { color: var(--wj-muted); margin-top: 8px; }

@media (max-width: 900px) {
    .wj-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wj-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wj-pro-hero { padding-top: 116px; }
}
@media (max-width: 600px) {
    .wj-feat-grid, .wj-flow ol { grid-template-columns: minmax(0, 1fr); }
    .wj-cmp th, .wj-cmp td { padding: 10px 10px; }
    .wj-cmp thead th:not(:first-child), .wj-cmp td { width: 22%; }
}

/* Pro-Seite: Funktionen mit Bildschirmfoto (2026-09-28) */
.wj-feat-rows { display: grid; gap: 40px; margin-bottom: 40px; }
.wj-feat-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: center; }
.wj-feat-row:nth-child(even) .wj-feat-text { order: 2; }
.wj-feat-text { display: grid; gap: 10px; align-content: start; }
.wj-feat-text h3 { font-size: 1.35rem; font-weight: 800; }
.wj-feat-text p { color: var(--wj-muted); }
.wj-feat-shot { display: grid; gap: 16px; }
.wj-feat-shot picture { display: block; }
.wj-feat-shot img { display: block; width: 100%; height: auto; background: var(--wj-surface); border: 1px solid var(--wj-line); border-radius: var(--wj-radius); box-shadow: 0 10px 30px -18px rgba(20, 33, 61, .45); }
@media (max-width: 900px) {
    .wj-feat-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .wj-feat-row:nth-child(even) .wj-feat-text { order: 0; }
}

/* Startseite: Ersparnis beim Jahresabo */
.wj-save { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--wj-ja-soft); color: #13753D; font-weight: 600; font-size: 0.85rem; }
#preise, #vergleich { scroll-margin-top: 96px; }

/* Pro-Seite: Team-Abschnitt «Ein Konto für die ganze Organisation» (2026-09-28) */
.wj-team { background: #F1F6FB; border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.wj-team .wj-eyebrow { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #15803F; }
.wj-team h2 { margin: 0 0 12px; }
.wj-team-lead { max-width: 62ch; margin: 0 0 28px; font-size: 1.08rem; line-height: 1.6; color: #1F2A44; }
.wj-team-lead strong { color: #14213D; }
.wj-team-roles { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.wj-team-role { background: #fff; border: 1px solid #DDE3EC; border-radius: 16px; padding: 22px 22px 18px; }
.wj-team-admin { border-top: 4px solid #14213D; }
.wj-team-member { border-top: 4px solid #15803F; }
.wj-team-role h3 { margin: 0 0 4px; font-size: 1.15rem; }
.wj-team-who { margin: 0 0 12px; font-size: .9rem; color: #5B6478; }
.wj-team-role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wj-team-role li { position: relative; padding-left: 26px; line-height: 1.45; }
.wj-team-role li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 2.5px solid #15803F; border-bottom: 2.5px solid #15803F; transform: rotate(-45deg); }
.wj-team-link { display: flex; align-items: center; justify-content: center; }
.wj-team-link span { font-size: .85rem; font-weight: 600; color: #5B6478; white-space: nowrap; }
.wj-team-link span::after { content: " →"; font-size: 1.2rem; color: #15803F; }
.wj-team h3.wj-team-ex-h { margin: 36px 0 12px; font-size: 1.05rem; }
.wj-team-ex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wj-team-ex > div { background: #fff; border-radius: 12px; padding: 14px 16px; }
.wj-team-ex p { margin: 4px 0 0; font-size: .94rem; line-height: 1.5; color: #1F2A44; }
.wj-team-more { margin: 20px 0 0; }
.wj-team-more a { font-weight: 600; color: #15803F; }
@media (max-width: 760px) {
  .wj-team-roles { grid-template-columns: 1fr; }
  .wj-team-link span::after { content: " ↓"; }
  .wj-team-ex { grid-template-columns: 1fr; }
}

/* Anwendungsfall-Seiten (includes/usecase-page.php, 2026-09-29) */
.wj-uc-hero { align-items: start; }
.wj-uc-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; overflow-wrap: break-word; }
.wj-uc-hero .wj-eyebrow { margin-bottom: 10px; }
.wj-uc-mock { margin-top: 8px; }
.wj-uc-mock th:first-child { white-space: normal; }
.wj-uc-mock tbody th { font-weight: 600; min-width: 5.5em; }
.wj-uc-mock td { overflow-wrap: anywhere; }
.wj-uc-mock .wj-uc-txt { text-align: left; }
.wj-uc-mock .wj-poll-scroll:focus-visible { outline: 3px solid var(--wj-ja); outline-offset: -3px; }
.wj-uc-mock .wj-poll-foot { color: var(--wj-muted); }
.wj-uc-badge { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; background: var(--wj-viel-soft); color: #7A5500; font-weight: 600; font-size: 0.78rem; }
.wj-uc-intro { color: var(--wj-muted); margin-top: 12px; max-width: 70ch; }
.wj-uc-steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wj-uc-steps li { align-content: start; }
.wj-uc-out ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.wj-uc-out li { display: flex; gap: 10px; align-items: flex-start; color: var(--wj-muted); }
.wj-uc-out li svg { color: var(--wj-ja); flex: none; margin-top: 4px; }
.wj-uc-out li strong { color: var(--wj-ink); }
.wj-uc-faq .wj-uc-q { max-width: 760px; padding: 16px 0; border-bottom: 1px solid var(--wj-line); display: grid; gap: 6px; }
.wj-uc-faq .wj-uc-q:first-of-type { margin-top: 12px; }
.wj-uc-faq h3 { font-size: 1.05rem; font-weight: 800; }
.wj-uc-faq .wj-uc-q p { color: var(--wj-muted); }
.wj-uc-more { margin-top: 20px; }
.wj-uc-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.wj-uc-rel h3 { font-size: 1.1rem; overflow-wrap: break-word; }
.wj-uc-rel h3 a { color: var(--wj-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.wj-uc .wj-final .wj-note { margin-top: 0; }
.wj-use-more { font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.wj-use-more a { color: var(--wj-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
    .wj-uc-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wj-uc-rel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
    .wj-uc-steps ol, .wj-uc-out ul { grid-template-columns: minmax(0, 1fr); }
    .wj-uc-mock th, .wj-uc-mock td { padding: 9px 7px; }
}
/* Spaltentitel im Footer: auf dunklem Grund nicht die Tinte der Seitenüberschriften erben */
.wj-home .wj-footer-cols h2 { color: inherit; }

/* Typfarben (2026-10-03, Farben zentral in style.css «TYPFARBEN»): Einstiege je Typ, Typ-Marke in der Eyebrow */
.wj-use .wj-eyebrow { color: inherit; letter-spacing: 0.04em; }
.wj-use .wj-type-mark { text-transform: none; letter-spacing: 0; font-size: 0.82rem; }
.wj-use .wj-use-cta { justify-self: start; margin-top: 4px; padding: 10px 16px; }
