/* anker & alpen platform
   Design tokens from anker-alpen.de (Elementor global settings, Nov 2026). Pages use only these variables.
   Rules from the MVP concept: pink is the brand accent, never a status colour; status is never shown by colour alone. */
:root {
  --navy: #253746;          /* a&a Dunkelblau – primary, text */
  --navy-90: #34495a;
  --navy-70: #5f7181;       /* neutral derived from navy: help texts */
  --navy-40: #a3afb9;
  --navy-15: #dde2e6;
  --navy-08: #edf0f2;
  --navy-04: #f5f7f8;
  --pink: #ffa3b5;          /* a&a Rosa – accent */
  --pink-soft: #ffe3e9;
  --pink-ink: #253746;      /* text on pink: navy (white on pink fails WCAG AA) */
  --white: #ffffff;
  --bg: #f9f9f9;            /* as on the website */
  --line: #e6e9ec;

  --ok: #1f7a55;   --ok-bg: #e3f3eb;
  --warn: #8a5a00; --warn-bg: #fdf0d5;
  --bad: #b3261e;  --bad-bg: #fbe6e4;

  --font: "Neue Haas Unica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 10px; --r-s: 6px;
  --shadow: 0 1px 2px rgba(37,55,70,.06), 0 4px 16px rgba(37,55,70,.06);
  --shadow-lift: 0 10px 40px rgba(37,55,70,.18);
  --side: 248px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--navy); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(28px, 3.2vw, 40px); }
h2 { font-size: 20px; }
h2 small { font-size: 13px; font-weight: 400; letter-spacing: 0; }
p { margin: 0 0 .75em; }
code { font-size: .9em; background: var(--navy-08); padding: 1px 6px; border-radius: 4px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--navy-70); }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-70); }
.eyebrow a { text-decoration: none; } .eyebrow a:hover { text-decoration: underline; text-decoration-color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 24px; padding: 28px 14px 18px; background: var(--navy); color: var(--white); overflow-y: auto; }
.side-brand { display: flex; align-items: flex-end; gap: 10px; padding: 0 10px; text-decoration: none; }
.side-sub { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-40); padding-bottom: 3px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: var(--r-s); background: none; color: #d5dce2; font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; position: relative; }
.nav-item:hover { background: rgba(255,255,255,.07); color: var(--white); }
.nav-item.on { background: rgba(255,255,255,.1); color: var(--white); font-weight: 700; }
.nav-item.on::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pink); }
.nav-item.soon { color: #7d8f9e; cursor: default; }
.nav-item.soon:hover { background: none; }
.nav-item em { margin-left: auto; font-style: normal; font-size: 11px; letter-spacing: .04em; padding: 1px 7px; border-radius: 99px; border: 1px solid #4d6273; }
.nav-item small { display: block; font-size: 12px; font-weight: 400; color: var(--navy-40); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }

.wordmark { display: inline-flex; flex-direction: column; font-weight: 900; font-size: 22px; line-height: .88; letter-spacing: -0.03em; color: var(--white); }
.wordmark span + span { color: var(--pink); }
.brand-img { height: 40px; width: auto; }

.main { padding: 40px clamp(20px, 4vw, 56px) 32px; min-width: 0; max-width: 1240px; }
.foot { margin-top: 56px; font-size: 12px; color: var(--navy-40); }
.page-head { margin-bottom: 28px; }
.page-head .muted { margin: 8px 0 0; }
.section { margin: 36px 0 12px; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.row-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- surfaces ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card h2 { margin-bottom: 10px; }
.card.flush { padding: 0; overflow: hidden; }
.cards { display: grid; gap: 24px; margin-bottom: 24px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.hero-card { padding: 36px; border-top: 4px solid var(--pink); }
.hero-card h2 { font-size: 26px; margin-bottom: 14px; }
.note { border-left: 4px solid var(--pink); margin-bottom: 20px; }
.empty { text-align: center; padding: 36px 24px; }
.empty .ic { width: 32px; height: 32px; color: var(--navy-40); margin-bottom: 8px; }
.empty h2 { margin-bottom: 6px; }
.empty p:last-child { margin-bottom: 0; }
.empty h1 { margin-bottom: 10px; }
.empty-inline { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-s); background: var(--navy-04); color: var(--navy-70); font-size: 14px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; }
a.tile:hover { border-color: var(--navy-40); }
.tile-n { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.tile-l { color: var(--navy-70); font-size: 14px; }
.tile-hint { border-top: 3px solid var(--pink); }

.steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--navy-70); }
.steps li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--navy-15); font-size: 13px; font-weight: 700; }
.steps li.done { color: var(--navy); }
.steps li.done > span { background: var(--pink); border-color: var(--pink); color: var(--pink-ink); }
.steps .ic { width: 16px; height: 16px; stroke-width: 2.4; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-70); padding: 12px 20px; background: var(--navy-04); border-bottom: 1px solid var(--line); }
.table td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfcfd; }
.table tr.off td { color: var(--navy-40); }
.table.compact td { padding: 10px 20px; font-size: 14px; }
.table a.strong { text-decoration: none; } .table a.strong:hover { text-decoration: underline; text-decoration-color: var(--pink); }

.badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--navy-08); color: var(--navy-70); white-space: nowrap; }
.badge.green { background: var(--ok-bg); color: var(--ok); }
.badge.amber { background: var(--warn-bg); color: var(--warn); }
.badge.red { background: var(--bad-bg); color: var(--bad); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); background: var(--white); color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.btn.primary { background: var(--pink); border-color: var(--pink); color: var(--pink-ink); }
.btn.primary:hover { background: #ff8ea4; border-color: #ff8ea4; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--navy-08); }
.btn.danger { color: var(--bad); border-color: #f0c9c5; }
.btn.danger:hover { border-color: var(--bad); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn.big { min-height: 54px; padding: 0 26px; font-size: 17px; }

/* ---------- forms (Typeform-like: large, calm, one thing at a time) ---------- */
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack h2 { margin-top: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; }
.field small { font-weight: 400; color: var(--navy-70); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); background: var(--white); color: var(--navy); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input:hover, .field textarea:hover { border-color: var(--navy-40); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--pink-soft); }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.choices legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--navy-40); }
.choice:has(input:checked) { border-color: var(--navy); background: var(--navy-04); box-shadow: inset 4px 0 0 var(--pink); }
.choice input { margin-top: 3px; accent-color: var(--navy); }
.choice small { display: block; color: var(--navy-70); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { margin-top: 4px; accent-color: var(--navy); }
.check small { display: block; color: var(--navy-70); }

.alert { padding: 12px 16px; border-radius: var(--r-s); font-size: 15px; margin-bottom: 18px; }
.alert.err { background: var(--bad-bg); color: var(--bad); }
.flash { display: flex; gap: 10px; align-items: center; padding: 12px 16px; margin-bottom: 24px; border-radius: var(--r-s); background: var(--ok-bg); color: var(--ok); font-size: 15px; }
.flash.warn { background: var(--warn-bg); color: var(--warn); }
.flash .ic { stroke-width: 2.2; }
.linkbox { margin-bottom: 24px; border-left: 4px solid var(--pink); }
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); font: inherit; font-size: 14px; color: var(--navy-70); background: var(--navy-04); }

/* dialogs as bottom/centre sheets */
dialog.sheet { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 32px; border: 0; border-radius: 14px; box-shadow: var(--shadow-lift); color: var(--navy); }
dialog.sheet::backdrop { background: rgba(37,55,70,.45); backdrop-filter: blur(2px); }
dialog.sheet h2 { font-size: 26px; margin: 0 0 4px; }
dialog[open] { animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- pages without login ---------- */
body.bare { background: var(--white); }
.auth { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; min-height: 100vh; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: min(460px, 100%); animation: rise .35s ease-out; }
.auth-card h1 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 10px; }
.auth-card .lead { font-size: 19px; color: var(--navy-70); margin-bottom: 28px; }
.auth-card .field input { padding: 14px 16px; font-size: 18px; }
.auth-card .btn.big { align-self: flex-start; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; display: grid; gap: 4px; }
.checks .ok { color: var(--ok); } .checks .bad { color: var(--bad); font-weight: 700; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; gap: 8px; }
  .side nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 100%; }
  .side .nav-item { width: auto; padding: 8px 10px; font-size: 14px; }
  .side .nav-item.soon, .side-sub { display: none; }
  .nav-item.on::before { display: none; }
  .side-foot { flex-direction: row; margin: 0; border: 0; padding: 0; flex: 1 1 100%; }
  .main { padding: 24px 16px; }
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding: 36px 24px 32px; min-height: 0; }
  .auth-hero .logo-hero svg { width: 150px; }
  .headline { font-size: 26px; }
  .table th:nth-child(n+3), .table td:nth-child(n+3):not(.right) { display: none; }
}
.auth-card .stack + p { margin-top: 18px; }

/* ---------- question library ---------- */
.mono, .cap-code, .area-code, .mono-h { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -0.01em; }
.mono-h { font-size: clamp(24px, 2.6vw, 32px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mono-h .badge { font-family: var(--font); font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mb { margin-bottom: 20px; }
.cat-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 24px; }
.cat-tab { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; box-shadow: var(--shadow); }
.cat-tab:hover { border-color: var(--navy-40); }
.cat-tab.on { border-color: var(--navy); box-shadow: inset 0 4px 0 var(--pink), var(--shadow); }
.cat-code { font-weight: 700; font-size: 18px; }
.cat-n { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.cat-n small { font-size: 14px; font-weight: 400; color: var(--navy-70); letter-spacing: 0; }
.cat-sub { font-size: 12px; color: var(--navy-70); }
.bar { display: flex; height: 6px; border-radius: 99px; background: var(--navy-08); overflow: hidden; margin: 4px 0 2px; }
.bar i { display: block; height: 100%; }
.bar i.ok { background: var(--ok); } .bar i.draft { background: #e0a526; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.toolbar-r { display: flex; gap: 8px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--navy-15); background: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--navy-70); }
.chip:hover { border-color: var(--navy-40); color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.select select, .search { height: 40px; padding: 0 12px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); background: var(--white); font: inherit; font-size: 14px; color: var(--navy); }
.search { width: 240px; }
.search:focus, .select select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--pink-soft); }
details.area { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
details.area > summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
details.area > summary::-webkit-details-marker { display: none; }
details.area > summary::before { content: "›"; font-size: 22px; line-height: 1; color: var(--navy-40); transition: transform .15s; }
details.area[open] > summary::before { transform: rotate(90deg); }
details.area[open] > summary { border-bottom: 1px solid var(--line); }
.area-code { font-size: 13px; color: var(--navy-70); min-width: 72px; }
.area-name { font-weight: 700; font-size: 17px; }
.area-count { margin-left: auto; font-size: 13px; color: var(--navy-70); white-space: nowrap; }
h3.sub { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-70); padding: 16px 20px 6px; margin: 0; background: var(--navy-04); border-bottom: 1px solid var(--line); }
.caps { list-style: none; margin: 0; padding: 0; }
.caps li + li { border-top: 1px solid var(--line); }
.caps a { display: grid; grid-template-columns: 112px 1fr auto; gap: 14px; align-items: start; padding: 12px 20px; text-decoration: none; }
.caps a:hover { background: #fbfbfc; }
.caps a:hover .cap-q { text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.caps a.off { color: var(--navy-40); }
.cap-code { font-size: 13px; color: var(--navy-70); padding-top: 2px; }
.cap-q { font-size: 15px; }
.cap-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 12px; background: var(--navy-08); color: var(--navy-70); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.pager { display: flex; align-items: center; gap: 8px; }
.split { display: grid; grid-template-columns: minmax(280px, 2fr) 3fr; gap: 20px; align-items: start; margin-bottom: 8px; }
.origin { position: sticky; top: 24px; background: var(--navy-04); }
.origin blockquote { margin: 0 0 10px; font-size: 19px; line-height: 1.45; border-left: 4px solid var(--navy-15); padding-left: 14px; }
.hint { font-size: 14px; margin: 10px 0; color: var(--navy-90); }
.mini { margin: 6px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 6px; }
.ai { color: #8a3a52; background: var(--pink-soft); padding: 1px 8px; border-radius: 99px; letter-spacing: .02em; }
.field.big textarea { font-size: 19px; line-height: 1.4; padding: 14px 16px; }
.types { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.types legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.type { display: flex; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); cursor: pointer; }
.type:hover { border-color: var(--navy-40); }
.type:has(input:checked) { border-color: var(--navy); background: var(--navy-04); box-shadow: inset 4px 0 0 var(--pink); }
.type input { margin-top: 3px; accent-color: var(--navy); }
.type small { display: block; color: var(--navy-70); font-size: 13px; }
.type em { display: block; font-style: normal; font-size: 12px; color: var(--navy-40); margin-top: 4px; }
.when-choice, .when-number { display: none; }
.editor:has(input[name=answer_type][value=single]:checked) .when-choice,
.editor:has(input[name=answer_type][value=multi]:checked) .when-choice,
.editor:has(input[name=answer_type][value=number]:checked) .when-number { display: flex; }
.choices.inline { flex-direction: row; flex-wrap: wrap; align-items: center; }
.choices.inline legend { width: 100%; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 7px 16px; border-radius: 99px; border: 1.5px solid var(--navy-15); font-size: 14px; font-weight: 700; color: var(--navy-70); }
.pill:hover span { border-color: var(--navy-40); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
textarea[readonly], input[readonly] { background: var(--navy-04); color: var(--navy-70); }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .origin { position: static; } }
@media (max-width: 860px) { .caps a { grid-template-columns: 1fr; gap: 4px; } .search { width: 100%; } }
.bw-0 { width: 0%; }
.bw-1 { width: 1%; }
.bw-2 { width: 2%; }
.bw-3 { width: 3%; }
.bw-4 { width: 4%; }
.bw-5 { width: 5%; }
.bw-6 { width: 6%; }
.bw-7 { width: 7%; }
.bw-8 { width: 8%; }
.bw-9 { width: 9%; }
.bw-10 { width: 10%; }
.bw-11 { width: 11%; }
.bw-12 { width: 12%; }
.bw-13 { width: 13%; }
.bw-14 { width: 14%; }
.bw-15 { width: 15%; }
.bw-16 { width: 16%; }
.bw-17 { width: 17%; }
.bw-18 { width: 18%; }
.bw-19 { width: 19%; }
.bw-20 { width: 20%; }
.bw-21 { width: 21%; }
.bw-22 { width: 22%; }
.bw-23 { width: 23%; }
.bw-24 { width: 24%; }
.bw-25 { width: 25%; }
.bw-26 { width: 26%; }
.bw-27 { width: 27%; }
.bw-28 { width: 28%; }
.bw-29 { width: 29%; }
.bw-30 { width: 30%; }
.bw-31 { width: 31%; }
.bw-32 { width: 32%; }
.bw-33 { width: 33%; }
.bw-34 { width: 34%; }
.bw-35 { width: 35%; }
.bw-36 { width: 36%; }
.bw-37 { width: 37%; }
.bw-38 { width: 38%; }
.bw-39 { width: 39%; }
.bw-40 { width: 40%; }
.bw-41 { width: 41%; }
.bw-42 { width: 42%; }
.bw-43 { width: 43%; }
.bw-44 { width: 44%; }
.bw-45 { width: 45%; }
.bw-46 { width: 46%; }
.bw-47 { width: 47%; }
.bw-48 { width: 48%; }
.bw-49 { width: 49%; }
.bw-50 { width: 50%; }
.bw-51 { width: 51%; }
.bw-52 { width: 52%; }
.bw-53 { width: 53%; }
.bw-54 { width: 54%; }
.bw-55 { width: 55%; }
.bw-56 { width: 56%; }
.bw-57 { width: 57%; }
.bw-58 { width: 58%; }
.bw-59 { width: 59%; }
.bw-60 { width: 60%; }
.bw-61 { width: 61%; }
.bw-62 { width: 62%; }
.bw-63 { width: 63%; }
.bw-64 { width: 64%; }
.bw-65 { width: 65%; }
.bw-66 { width: 66%; }
.bw-67 { width: 67%; }
.bw-68 { width: 68%; }
.bw-69 { width: 69%; }
.bw-70 { width: 70%; }
.bw-71 { width: 71%; }
.bw-72 { width: 72%; }
.bw-73 { width: 73%; }
.bw-74 { width: 74%; }
.bw-75 { width: 75%; }
.bw-76 { width: 76%; }
.bw-77 { width: 77%; }
.bw-78 { width: 78%; }
.bw-79 { width: 79%; }
.bw-80 { width: 80%; }
.bw-81 { width: 81%; }
.bw-82 { width: 82%; }
.bw-83 { width: 83%; }
.bw-84 { width: 84%; }
.bw-85 { width: 85%; }
.bw-86 { width: 86%; }
.bw-87 { width: 87%; }
.bw-88 { width: 88%; }
.bw-89 { width: 89%; }
.bw-90 { width: 90%; }
.bw-91 { width: 91%; }
.bw-92 { width: 92%; }
.bw-93 { width: 93%; }
.bw-94 { width: 94%; }
.bw-95 { width: 95%; }
.bw-96 { width: 96%; }
.bw-97 { width: 97%; }
.bw-98 { width: 98%; }
.bw-99 { width: 99%; }
.bw-100 { width: 100%; }

.shell { background: linear-gradient(to right, var(--navy) var(--side), transparent var(--side)); }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .shell { background: none; } }

/* ---------- vendor profile ---------- */
.product-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.product-card:hover { border-color: var(--navy-40); }
.pc-name { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.pc-name small { font-size: 15px; font-weight: 400; }
.pc-pct { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.pc-pct small { font-size: 14px; font-weight: 400; color: var(--navy-70); letter-spacing: 0; }
.bar.big { height: 10px; }
.tile-l small { display: block; font-size: 12px; color: var(--navy-40); }
.areas-t .bar { margin-bottom: 4px; }
.w40 { width: 40%; } .w1 { width: 1%; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: 15px; }
.dl dt { color: var(--navy-70); } .dl dd { margin: 0; }
.plain { list-style: none; margin: 0 0 14px; padding: 0; }
.plain li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.inline-form input[name=module] { grid-column: 1 / -1; width: 100%; padding: 10px 12px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); font: inherit; font-size: 15px; }
.inline-form input[name=module]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--pink-soft); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 18px; }
.span2 { grid-column: 1 / -1; }
details.more > summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 4px 0; }
details.more[open] > summary { margin-bottom: 10px; }
.area-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: var(--warn-bg); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.table-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--navy-04); flex-wrap: wrap; }
.subrow td { background: var(--navy-04); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-70); padding: 10px 20px; }
.q-link { text-decoration: none; display: block; }
.q-link:hover { text-decoration: underline; text-decoration-color: var(--pink); }
.resp-t td:nth-child(3) { max-width: 320px; }
.alert.warn { background: var(--warn-bg); color: var(--warn); }

/* Typeform-style answering */
.tf-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.tf-top a { text-decoration: none; } .tf-top a:hover { text-decoration: underline; }
.tf-progress { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.tf-progress .bar { flex: 1; margin: 0; }
.tf { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; animation: rise .3s ease-out; }
.tf-meta { margin: 0; font-size: 13px; color: var(--navy-70); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tf-q { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.02em; margin: -14px 0 0; }
.tf-guide { margin: -12px 0 0; font-size: 17px; color: var(--navy-70); }
.tf-group { border: 0; padding: 0; margin: 0; }
.tf-group legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.tf-opts { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tf-opts.two { grid-template-columns: repeat(2, minmax(0, 220px)); }
.tf-opts.three { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tf-opts.four { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tf-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--navy-15); border-radius: var(--r); background: var(--white); cursor: pointer; transition: border-color .12s, background .12s, transform .08s; }
.tf-opt:hover { border-color: var(--navy-40); }
.tf-opt:active { transform: scale(.99); }
.tf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tf-opt kbd { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border: 1.5px solid var(--navy-15); border-radius: 5px; font: 700 13px var(--font); color: var(--navy-70); background: var(--white); flex: none; }
.tf-opt strong { display: block; font-size: 17px; }
.tf-opt small { display: block; font-size: 13px; color: var(--navy-70); margin-top: 2px; }
.tf-opt:has(input:checked) { border-color: var(--navy); background: var(--navy-04); box-shadow: inset 4px 0 0 var(--pink); }
.tf-opt:has(input:checked) kbd { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tf-opt:has(input:focus-visible) { outline: 3px solid var(--pink); outline-offset: 2px; }
.tf fieldset[disabled] .tf-opt { cursor: default; }
.tf-text textarea, .tf-text input { font-size: 17px; }
.tf-number { display: flex; align-items: baseline; gap: 14px; }
.tf-number input { width: 220px; font: 700 44px var(--font); color: var(--navy); border: 0; border-bottom: 3px solid var(--navy-15); padding: 4px 0; background: transparent; }
.tf-number input:focus { outline: none; border-bottom-color: var(--pink); }
.tf-number span { font-size: 22px; color: var(--navy-70); }
.tf-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 8px; }
.tf-actions kbd { font: 12px var(--font); border: 1px solid var(--navy-15); border-radius: 4px; padding: 1px 5px; }
.tf-nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.tf-hist { max-width: 820px; margin: 36px auto 0; }
/* show only what fits the chosen status */
.if-avail, .if-extra, .if-planung, .if-custom, .if-other, .if-not-l { display: none; }
.tf:has(input[name=availability]:checked):not(:has(input[name=availability][value=nicht]:checked)) .if-avail { display: block; }
.tf:has(input[name=delivery][value=modul]:checked) .if-extra, .tf:has(input[name=delivery][value=partner]:checked) .if-extra, .tf:has(input[name=delivery][value=custom]:checked) .if-extra { display: grid; }
.tf:has(input[name=availability][value=nicht]:checked) .if-extra { display: none; }
.tf:has(input[name=availability][value=planung]:checked) .if-planung { display: flex; }
.tf:has(input[name=availability][value=customizing]:checked) .if-custom { display: flex; }
.tf:has(input[name=availability][value=nicht]:checked) .if-not-l { display: inline; }
.tf:has(input[name=availability][value=nicht]:checked) .if-avail-l { display: none; }
.tf:has(.is-other input:checked) .if-other { display: flex; }
.tf-more:not(:has(> .field:not([class*=if-]))):not(:has(.if-planung)) { gap: 0; }
@media (max-width: 860px) { .tf-opts.two { grid-template-columns: 1fr 1fr; } .tf-nav { margin-left: 0; } }

.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { border-color: inherit; }
.card.flush + .cards, .card.flush + section { margin-top: 20px; }
@media (hover: none), (max-width: 860px) { .tf-hint { display: none; } }

/* ---------- RFP workspace ---------- */
.pilot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 20px; border-left: 4px solid var(--pink); flex-wrap: wrap; }
.pilot > div { flex: 1; min-width: 280px; }
.pilot h2 { margin-bottom: 6px; }
.pipeline { list-style: none; display: flex; margin: 0 0 20px; padding: 0; gap: 4px; flex-wrap: wrap; counter-reset: st; }
.pipeline li { flex: 1; min-width: 110px; padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--navy-40); background: var(--white); border: 1px solid var(--line); position: relative; }
.pipeline li:first-child { border-radius: var(--r-s) 0 0 var(--r-s); } .pipeline li:last-child { border-radius: 0 var(--r-s) var(--r-s) 0; }
.pipeline li.done { color: var(--navy-70); background: var(--navy-04); }
.pipeline li.now { color: var(--pink-ink); background: var(--pink); border-color: var(--pink); }
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tab { padding: 10px 14px; font-size: 15px; font-weight: 700; color: var(--navy-70); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab:hover { color: var(--navy); }
.tab.on { color: var(--navy); border-bottom-color: var(--pink); }
.tab.add { color: var(--navy); }
.tab .count { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 99px; background: var(--navy-08); font-size: 12px; text-align: center; }
.sticky { position: sticky; top: 0; z-index: 2; }
.table-bar.card { padding: 12px 20px; }
.req-t td { vertical-align: middle; }
.req-t .req-q { min-width: 320px; }
.req-t select { padding: 6px 8px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); font: inherit; }
.req-t textarea.note { width: 100%; min-width: 180px; padding: 6px 8px; border: 1.5px solid var(--navy-15); border-radius: var(--r-s); font: inherit; font-size: 13px; resize: vertical; }
.prio { display: inline-flex; gap: 4px; }
.pill.sm span { padding: 4px 10px; font-size: 13px; }
.caps.pick label { display: grid; grid-template-columns: 22px 112px 1fr; gap: 12px; align-items: start; padding: 10px 20px; cursor: pointer; }
.caps.pick label:hover { background: #fbfbfc; }
.caps.pick label.off { color: var(--navy-40); cursor: default; }
.caps.pick input { margin-top: 4px; accent-color: var(--navy); }
details.area > summary input { accent-color: var(--navy); width: 18px; height: 18px; }
.checks.list li { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; }
.list-t td.strong-cell { font-weight: 700; }
.block { display: block; }
.pre { white-space: normal; }
.remove-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

.req-t .req-q { min-width: 280px; width: 38%; }
.req-t textarea.note { min-width: 240px; }
.req-t td:nth-child(5) { width: 30%; }
.checks.list li.hint { color: var(--warn); }
.checks.list li > span:first-child { width: 14px; flex: none; }
.code-cell { font-weight: 700; color: var(--navy-70); font-size: 13px; letter-spacing: .02em; }
.tab.add { order: 99; }

/* ---------- one vertical rhythm for every page (0.4.1) ----------
   Blocks that sit directly in the page always keep 24px to the next one, whatever they are. */
.main > :where(.card, form.card, .cards, .tiles, section, .alert, .chips, .toolbar, .pipeline, .tabs, details, .row-between, .empty-inline, p.muted) { margin-bottom: 24px; }
.main > .row-between.section, .main > h2.section { margin-top: 40px; margin-bottom: 14px; }
.card > h2:first-child, .card > .row-between:first-child { margin-bottom: 14px; }
.card .dl { margin-bottom: 0; }
.cards > .card { margin: 0; }

/* ---------- logo ---------- */
.logo { display: inline-block; line-height: 0; }
.logo svg { display: block; width: 100%; height: auto; }
.logo-side { color: var(--white); width: 92px; }
.logo-hero { color: var(--navy); width: clamp(180px, 22vw, 300px); }

/* ---------- login hero, as on anker-alpen.de (Elementor section + animated headline "flip", Nov 2026) ---------- */
.auth-hero { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 32px; overflow: hidden;
  background: linear-gradient(132deg, #ffffff, #ffa3b5, #efefef); background-size: 180% 180%; animation: aa-gradient 12s ease infinite; }
@keyframes aa-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.auth-hero-in { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3vw, 34px); text-align: center; }
.headline { margin: 0; color: #1e364a; font-size: clamp(28px, 3vw, 43px); line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.headline-plain { font-weight: 900; letter-spacing: -0.02em; }
/* the rotating word: same mechanics as Elementor's "flip" – 3D turn around the baseline, 1.2 s, every 2.5 s */
.rot { display: inline-block; position: relative; vertical-align: top; text-align: left; perspective: 300px; font-weight: 400; transition: width .5s ease; }
.rot-word { display: inline-block; position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: rotateX(180deg); transform-origin: 50% 100%; backface-visibility: hidden; }
.rot-word.is-active { position: relative; opacity: 1; transform: rotateX(0deg); }
.rot.is-running .rot-word.is-active { animation: aa-flip-in 1.2s ease both; }
.rot.is-running .rot-word.is-leaving { animation: aa-flip-out 1.2s ease both; }
@keyframes aa-flip-in { 0% { opacity: 0; transform: rotateX(180deg); } 35% { opacity: 0; transform: rotateX(120deg); } 65% { opacity: 0; } 100% { opacity: 1; transform: rotateX(360deg); } }
@keyframes aa-flip-out { 0% { opacity: 1; transform: rotateX(0deg); } 35% { opacity: 1; transform: rotateX(-40deg); } 65% { opacity: 0; } 100% { opacity: 0; transform: rotateX(180deg); } }
.auth-panel { background: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .auth-hero { animation: none; background-position: 50% 50%; }
  .rot.is-running .rot-word.is-active, .rot.is-running .rot-word.is-leaving { animation: none; }
  .rot { transition: none; }
}
