/* Origin Treuhand – the public site (Faza 1.1). Colours of the bear logo (DS-01), Poppins. Mobile first, no app CSS. */
:root {
    --red: #E62227; --red-deep: #B5161B; --yellow: #EFA20E; --ink: #232324; --ink-2: #3B3936; --muted: #605C56;
    --bg: #F7F6F3; --card: #FFFFFF; --line: #E7E5E0; --wash: #FDECEC; --sun: #FFF3D6; --ok: #1F6B42; --ok-bg: #E2F2E8;
    --radius: 18px; --shadow: 0 18px 40px -24px rgba(35, 35, 36, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.s-body { margin: 0; font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg);
              line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--red-deep); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 7vw, 54px); font-weight: 700; }
h2 { font-size: clamp(24px, 4.6vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
.s-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.s-muted { color: var(--muted); }
.s-skip { position: absolute; left: -9999px; }
.s-skip:focus { left: 16px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* header */
.s-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.s-top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.s-mark { width: 40px; height: 28px; background: url("../icons/origin-bear.svg?v=or4") no-repeat center / contain; flex: none; }   /* the Origin bear */
.s-word { font-weight: 700; font-size: 20px; letter-spacing: .02em; display: flex; flex-direction: column; line-height: 1.05; }
.s-word small { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.s-nav { display: flex; gap: 4px; }
.s-nav a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.s-nav a:hover, .s-nav a.is-on { background: var(--bg); }
.s-nav em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--line); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.s-nav-wide { display: none; margin-left: auto; }
.s-menu { margin-left: auto; position: relative; }
.s-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 5px; }
.s-menu summary::-webkit-details-marker { display: none; }
.s-menu summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.s-menu[open] summary { background: var(--bg); }
.s-menu .s-nav { position: absolute; right: 0; top: 52px; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px;
                 padding: 8px; min-width: 220px; box-shadow: var(--shadow); }
.s-top .s-top-cta { margin-left: auto; min-height: 40px; padding: 8px 14px; font-size: 14px; box-shadow: none; }
.s-top .s-menu { margin-left: 0; order: 3; }
/* a narrow phone: the top button goes into the menu (French, Italian and English labels are longer) */
.s-nav .s-nav-cta { display: none; }
@media (max-width: 420px) {
    .s-top .s-top-cta { display: none; }
    .s-top .s-lang { margin-left: auto; }
    .s-menu .s-nav .s-nav-cta { display: block; color: var(--red); font-weight: 600; }
}
/* the language (DE FR IT EN), right of the button; a small list under it */
.s-lang { position: relative; order: 2; margin-left: 4px; }
.s-lang summary { list-style: none; cursor: pointer; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; display: grid; place-content: center;
    font-weight: 600; font-size: 14px; color: var(--ink); }
.s-lang summary::-webkit-details-marker { display: none; }
.s-lang[open] summary { background: var(--bg); }
.s-lang ul { position: absolute; right: 0; top: 52px; list-style: none; margin: 0; padding: 6px; min-width: 160px; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .3); z-index: 30; }
.s-lang a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.s-lang a:hover, .s-lang a.is-on { background: var(--bg); font-weight: 600; }
@media (min-width: 900px) {
    .s-nav-wide { display: flex; }
    .s-top .s-menu { display: none; }
    .s-top .s-top-cta { margin-left: 8px; min-height: 44px; padding: 10px 18px; font-size: 15px; }
}

/* buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px;
         font: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: #fff; cursor: pointer; }
.s-btn:hover { background: var(--bg); }
.s-btn-red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 22px -12px rgba(230, 34, 39, .7); }
.s-btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.s-btn-block { width: 100%; }
.s-btn:disabled { opacity: .5; cursor: not-allowed; }
.s-link { background: none; border: 0; padding: 0; font: inherit; color: var(--red-deep); text-decoration: underline; cursor: pointer; }

/* hero */
.s-hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.s-hero-in { position: relative; z-index: 1; padding: 56px 16px 64px; }
.s-hero h1 span { color: var(--red); }
.s-hero .s-lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-2); max-width: 640px; }
.s-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.s-cta-note { font-size: 14px; color: var(--muted); width: 100%; }
.s-hero-art { position: absolute; inset: auto 0 0 0; height: 46%; z-index: 0; pointer-events: none; opacity: .9; }
.s-hero-art .alps-back { fill: #F1EFEA; }
.s-hero-art .alps-front { fill: #E9E6DF; }
.s-hero-art .snow { fill: #fff; }
.s-hero-art .paw { fill: var(--red); opacity: .10; }
@media (min-width: 900px) { .s-hero-in { padding: 96px 16px 120px; } .s-hero-art { height: 60%; } }

.s-facts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 32px; padding: 0; list-style: none; max-width: 760px; }
.s-facts li { background: var(--bg); border-radius: 12px; padding: 10px 14px; font-weight: 500; font-size: 15px; }
.s-facts strong { color: var(--red-deep); }
@media (min-width: 700px) { .s-facts { grid-template-columns: repeat(3, 1fr); } }

/* sections */
.s-sec { padding: 56px 0; }
.s-sec-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-sec-head { max-width: 720px; margin-bottom: 28px; }
.s-kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 8px; }
.s-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .s-grid-2 { grid-template-columns: repeat(2, 1fr); } .s-grid-3 { grid-template-columns: repeat(3, 1fr); } .s-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .s-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.s-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.s-card p:last-child { margin-bottom: 0; }
.s-step { position: relative; padding-top: 58px; }
.s-step b { position: absolute; top: 20px; left: 22px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
            background: var(--red); color: #fff; font-size: 15px; }
.s-cat { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.s-cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.s-cat .s-price { font-weight: 600; color: var(--red-deep); }
.s-cat .s-soon { font-weight: 600; color: var(--muted); }
.s-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--line); color: var(--ink-2); }
.s-badge-ok { background: var(--ok-bg); color: var(--ok); }
.s-badge-soon { background: var(--sun); color: #6E4A00; }
.s-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.s-ticks li { position: relative; padding-left: 30px; }
.s-ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--red);
 }
.s-ticks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.s-honest { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; }
.s-honest h2 { color: #fff; }
.s-honest p { color: #E7E5E0; }
.s-honest a { color: #fff; }

/* faq */
.s-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.s-faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--red); }
.s-faq details[open] summary::after { content: "–"; }
.s-faq details p { padding-bottom: 6px; }

.s-final { text-align: center; }
.s-final .s-cta-row { justify-content: center; }

/* prices */
.s-calc { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .s-calc { grid-template-columns: 1.4fr 1fr; } .s-sum { position: sticky; top: 84px; } }
.s-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.s-tabs label { position: relative; }
.s-tabs input { position: absolute; opacity: 0; }
.s-tabs span { display: inline-block; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; cursor: pointer; }
.s-tabs input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.s-tabs input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.s-tabs input:disabled + span { opacity: .55; cursor: not-allowed; }
.s-mod { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.s-mod:last-child { border-bottom: 0; }
.s-mod input[type=checkbox] { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); flex: none; }
.s-mod-main { flex: 1; }
.s-mod-name { font-weight: 600; }
.s-mod-desc { font-size: 14px; color: var(--muted); }
.s-mod-price { font-weight: 600; white-space: nowrap; text-align: right; }
.s-mod-price small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.s-mod.is-later { opacity: .6; }
.s-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 6px 0 14px; }
.s-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.s-field > span { font-weight: 500; font-size: 15px; }
.s-field small { color: var(--muted); font-size: 13px; }
.s-field input, .s-field select, .s-field textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #CFCBC3; background: #fff;
                                                      min-height: 48px; width: 100%; color: var(--ink); }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { outline: 3px solid rgba(239, 162, 14, .45); border-color: var(--ink); }
.s-sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.s-sum-total { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; font-size: 22px; font-weight: 700; }
.s-sum-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.s-table { overflow-x: auto; }
.s-table table { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; }
.s-table th, .s-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.s-table th { background: var(--bg); font-weight: 600; }

/* sign-up */
.s-narrow { max-width: 640px; }
.s-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; counter-reset: st; }
.s-steps li { flex: 1; font-size: 12px; font-weight: 600; color: var(--muted); counter-increment: st; }
.s-steps li::before { content: ""; display: block; height: 5px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.s-steps li.is-done::before, .s-steps li.is-on::before { background: var(--red); }
.s-steps li.is-on { color: var(--ink); }
.s-flash { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-weight: 500; }
.s-flash-err { background: var(--wash); color: var(--red-deep); }
.s-flash-ok { background: var(--ok-bg); color: var(--ok); }
.s-found { background: var(--bg); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; white-space: pre-line; }
.s-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 18px; font-size: 15px; }
.s-check input { width: 22px; height: 22px; accent-color: var(--red); flex: none; margin-top: 1px; }
.s-hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.s-code { font-size: 28px !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.s-row { display: flex; gap: 12px; flex-wrap: wrap; }
.s-row > * { flex: 1 1 200px; }

/* legal */
.s-legal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.s-legal h1 { font-size: clamp(26px, 5vw, 36px); }
.s-legal h2 { font-size: 21px; margin-top: 1.6em; }
.s-legal h3 { font-size: 17px; margin-top: 1.2em; }
.s-draft { background: var(--sun); color: #6E4A00; border-radius: 12px; padding: 12px 14px; font-size: 15px; }

/* footer */
.s-foot { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 24px; margin-top: 24px; }
.s-foot-in { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.s-foot-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.s-foot-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.s-foot-nav a:hover { text-decoration: underline; }
.s-test { font-size: 13px; color: var(--muted); margin-top: 18px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .s-cat { transition: none; } }

/* 21.11.2026: the packages (app/site.php site_package_card) */
.s-pkg { display: flex; flex-direction: column; gap: 10px; }
.s-pkg h3 { margin: 0; font-size: 22px; }
.s-pkg.is-featured { box-shadow: 0 0 0 2px var(--red); }
.s-pkg-price { font-size: 30px; font-weight: 700; line-height: 1.1; }
.s-pkg-price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.s-pkg-meta { margin: 0; font-size: 14px; line-height: 1.5; }
.s-pkg .s-ticks { flex: 1; margin: 4px 0 8px; }
.s-pkg-notes { margin-top: 18px; font-size: 14px; }
.s-pkg-notes p { margin: 4px 0; }
.s-pkg-pick { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; }
.s-pkg-pick input { margin-top: 4px; }
.s-pkg-pick b { font-size: 17px; }
