/* =========================================================
   Colleqo – Website
   Formensprache angelehnt an innogrators.com (v2): warmes Off-White,
   Manrope, große Köpfe mit grauem Nachsatz, Hairlines, Pillen,
   keine Glows und Karten-Lifts, Verlauf nur auf der Bühne.
   Farben aus marke/marke.md (Lagune, Nachtblau, Ring-Gelb).
   Schrift lokal (DSGVO).
   ========================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f3ef;
  --bg-raised: #ffffff;
  --bg-sunk: #ecebe6;
  --ink: #141414;
  --ink-soft: #45443f;
  --ink-mute: #696862;
  --ink-quiet: #84837d;
  --line: rgba(20, 20, 20, .09);
  --line-2: rgba(20, 20, 20, .16);

  --lagune-hell: #52E5D2;
  --lagune: #14A6B5;
  --lagune-tief: #0A5C8C;
  --nacht: #042B47;
  --gelb: #FFB52E;
  --gelb-hell: #FFE270;

  --r-tile: 20px;
  --r-media: 12px;
  --r-pill: 999px;
  --wrap: 1232px;
  --edge: 40px;
  --section: 136px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (max-width: 1024px) { :root { --section: 96px; --edge: 28px; } }
@media (max-width: 640px) { :root { --section: 72px; --edge: 16px; --r-tile: 16px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagune-tief); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 700; }
.mute { color: var(--ink-quiet); }
p { margin: 0 0 1em; }
code { font: 500 .86em/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--bg-sunk); border: 1px solid var(--line); padding: .2em .45em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--lagune-tief); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--edge), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.5em; border-radius: var(--r-pill); font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--nacht); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: .6em 1.15em; font-size: .92rem; }
.cq-link { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gelb); padding-bottom: 2px; }
.cq-link::after { content: " ↗"; }

/* ---------- Kopf ---------- */
.cq-nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 243, 239, .94); border-bottom: 1px solid transparent; transition: border-color .2s; }
@media (hover: hover) { .cq-nav { background: rgba(244, 243, 239, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.cq-nav.is-scrolled { border-bottom-color: var(--line); }
.cq-nav__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.cq-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.cq-nav__links { display: flex; gap: 2px; margin-left: auto; }
.cq-nav__links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 8px 12px; border-radius: var(--r-pill); }
.cq-nav__links a:hover { color: var(--ink); background: var(--bg-sunk); }
@media (max-width: 960px) { .cq-nav__links { display: none; } .cq-nav__in > .btn { margin-left: auto; } }

/* ---------- Bühne ---------- */
.cq-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #e6f3f3 0%, var(--bg) 62%); }
.cq-hero__copy { max-width: 920px; }
.cq-kicker { font-size: .95rem; font-weight: 700; color: var(--lagune-tief); margin-bottom: 1.2rem; }
.cq-lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--ink-soft); max-width: 44ch; margin: 1.6rem 0 2rem; }
.cq-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.cq-live { margin: clamp(40px, 6vw, 72px) 0 0; }
.cq-live__frame { position: relative; height: clamp(560px, 62vw, 760px); border-radius: var(--r-tile); overflow: hidden; background: #ebebeb; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(4, 43, 71, .35); }
.cq-live__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cq-live figcaption { margin-top: 16px; font-size: .95rem; color: var(--ink-mute); }
.cq-try { font: 700 .92rem var(--font); color: var(--ink); background: var(--bg-raised); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 3px 12px; cursor: pointer; }
.cq-try:hover { border-color: var(--ink); }
@media (max-width: 759px) {
  .cq-live__frame { height: 760px; background: transparent; border: 0; box-shadow: none; border-radius: 0; }
}

/* ---------- Eckdaten ---------- */
.cq-facts { border-block: 1px solid var(--line); }
.cq-facts__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.cq-facts__row > div { padding: 28px 24px 28px 0; display: grid; gap: 4px; align-content: start; }
.cq-facts__row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.cq-facts strong { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.cq-facts span { color: var(--ink-mute); font-size: .95rem; line-height: 1.45; }
@media (max-width: 860px) {
  .cq-facts__row { grid-template-columns: 1fr 1fr; }
  .cq-facts__row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cq-facts__row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .cq-facts__row { grid-template-columns: 1fr; }
  .cq-facts__row > div, .cq-facts__row > div + div { padding: 20px 0; border-left: 0; }
  .cq-facts__row > div + div { border-top: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */
.cq-sec { padding: var(--section) 0; }
.cq-sec--sunk { background: var(--bg-sunk); }
.cq-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 860px; }
.cq-head--wide { max-width: 1000px; }
.cq-body { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }
.cq-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.cq-split h2 { margin-bottom: 1.4rem; }
@media (max-width: 880px) { .cq-split { grid-template-columns: 1fr; } }

/* Excel-Grafik */
.cq-xls { position: relative; background: #fff; border: 1px solid #d2d6d8; border-radius: 8px; font: 14px/1 "Segoe UI", Arial, sans-serif; color: #222; max-width: 480px; justify-self: center; width: 100%; transform: rotate(-1.5deg); }
.cq-xls__tab { background: #1d6f42; color: #fff; padding: 10px 14px; font-size: 13px; border-radius: 7px 7px 0 0; }
.cq-xls__row { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; border-top: 1px solid #e3e6e8; }
.cq-xls__row span { padding: 11px 14px; border-left: 1px solid #e3e6e8; }
.cq-xls__row span:first-child { border-left: 0; }
.cq-xls__row--h { background: #f3f3f3; font-weight: 700; }
.cq-xls__row.is-bad span { color: #a4262c; background: #fdf3f4; }
.cq-xls__row.is-bad span:first-child { text-decoration: line-through; }
.cq-xls__stamp { position: absolute; right: 12px; bottom: -18px; background: var(--gelb); color: var(--ink); font: 800 .88rem var(--font); padding: 8px 14px; border-radius: var(--r-pill); transform: rotate(3deg); }

/* Funktionen */
.cq-feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line-2); }
.cq-feature:first-of-type { border-top: 0; padding-top: 0; }
.cq-feature__text h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 1rem; }
.cq-feature__text p { color: var(--ink-soft); }
.cq-shot { margin: 0; border-radius: var(--r-media); overflow: hidden; border: 1px solid var(--line-2); background: #ebebeb; }
.cq-shot img { width: 100%; }
.cq-shot--wide { border-radius: var(--r-tile); }
.cq-seg { display: inline-flex; gap: 2px; padding: 4px; margin-top: .4rem; border-radius: var(--r-pill); background: var(--bg-raised); border: 1px solid var(--line); }
.cq-seg button { font: 700 .9rem var(--font); color: var(--ink-mute); background: none; border: 0; border-radius: var(--r-pill); padding: 8px 16px; min-height: 38px; cursor: pointer; }
.cq-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cq-places { position: relative; padding-right: clamp(60px, 9vw, 120px); }
.cq-phone { position: absolute; right: 0; bottom: -24px; width: clamp(130px, 17vw, 220px); margin: 0; border-radius: 22px; overflow: hidden; border: 6px solid #1d2329; background: #1d2329; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .45); }
.cq-pills { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cq-pills li { padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; background: var(--bg-raised); }
.cq-admin { margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3vw, 40px); background: var(--bg-raised); border-radius: var(--r-tile); }
.cq-admin h3 { margin-bottom: 1.2rem; }
.cq-admin ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.cq-admin li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.cq-admin strong { color: var(--ink); }
.cq-admin .cq-shot { margin-top: 24px; }
@media (max-width: 880px) {
  .cq-feature { grid-template-columns: 1fr; }
  .cq-admin ul { grid-template-columns: 1fr; }
}

/* Organigramm */
.cq-org__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: 40px; }
.cq-org__head .cq-body { margin: 0; }
.cq-tabs { display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 20px; border-radius: var(--r-pill); background: var(--bg-raised); border: 1px solid var(--line); }
.cq-tabs button { font: 700 .95rem var(--font); color: var(--ink-mute); background: none; border: 0; border-radius: var(--r-pill); padding: 10px 20px; min-height: 44px; cursor: pointer; }
.cq-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 880px) { .cq-org__head { grid-template-columns: 1fr; } }

/* Sicherheit */
.cq-night { background: var(--nacht); color: #eaf3f6; }
.cq-night h2 { color: #fff; }
.cq-night .mute { color: #8fb0c2; }
.cq-night code { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #eaf3f6; }
.cq-sec__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cq-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.cq-points li { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.cq-points h3 { font-size: 1.08rem; color: #fff; margin-bottom: .4rem; }
.cq-points p { margin: 0; color: #b9cfda; font-size: .97rem; }
@media (max-width: 960px) { .cq-sec__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cq-points { grid-template-columns: 1fr; } }

.cq-tenant { display: grid; justify-items: center; }
.cq-tenant__box { position: relative; width: 100%; padding: 44px 20px 24px; border: 1.5px solid rgba(82, 229, 210, .5); border-radius: var(--r-tile); display: grid; justify-items: center; }
.cq-tenant__label { position: absolute; top: -12px; left: 18px; background: var(--nacht); padding: 0 10px; font-size: .8rem; font-weight: 700; color: var(--lagune-hell); }
.cq-node { width: 100%; max-width: 300px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; text-align: center; color: #fff; }
.cq-node small { flex-basis: 100%; font-weight: 500; font-size: .8rem; color: #8fb0c2; }
.cq-node--app { background: #fff; color: var(--ink); border-color: #fff; }
.cq-node--app small { color: var(--lagune-tief); }
.cq-node--out { border-style: dashed; color: #b9cfda; max-width: 260px; }
.cq-flow { position: relative; width: 2px; height: 48px; background: repeating-linear-gradient(to bottom, var(--lagune-hell) 0 6px, transparent 6px 12px); }
.cq-flow span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .75rem; color: #8fb0c2; }
.cq-cut { position: relative; width: 2px; height: 56px; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .25) 0 4px, transparent 4px 9px); }
.cq-cut::after { content: "×"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--nacht); border: 2px solid var(--gelb); color: var(--gelb); font-weight: 800; line-height: 1; }

.cq-perms { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cq-perms h3 { color: #fff; margin-bottom: 1.2rem; }
.cq-perms ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cq-perms li { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #b9cfda; font-size: .95rem; }
.cq-perms li code { justify-self: start; font-size: .9rem; }
.cq-perms em { justify-self: start; font-style: normal; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .25); color: #eaf3f6; }
.cq-perms em.is-req { background: var(--lagune-hell); border-color: var(--lagune-hell); color: var(--nacht); }
.cq-perms p { color: #b9cfda; max-width: 80ch; font-size: .97rem; }
@media (max-width: 760px) { .cq-perms ul { grid-template-columns: 1fr; } }

/* Einführung */
.cq-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.cq-steps li { padding-top: 24px; border-top: 2px solid var(--ink); }
.cq-steps span { display: block; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--lagune-tief); margin-bottom: 18px; }
.cq-steps h3 { margin-bottom: .5rem; }
.cq-steps p { color: var(--ink-soft); }
.cq-note { color: var(--ink-mute); font-size: .95rem; margin-top: 1rem; }
.cq-service { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-tile); background: var(--bg-raised); }
.cq-service p { flex: 1 1 460px; margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 760px) { .cq-steps { grid-template-columns: 1fr; gap: 32px; } }

/* Live-Demo */
.cq-demo__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(24px, 6vw, 96px); align-items: end; margin-bottom: 40px; }
.cq-demo__head .cq-body { margin: 0; }
.cq-demo__head .cq-link { grid-column: 2; justify-self: start; }
.cq-demo { height: clamp(720px, 82vh, 1040px); border-radius: var(--r-tile); overflow: hidden; border: 1px solid var(--line-2); background: #e9ecef; }
.cq-demo iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 880px) { .cq-demo__head { grid-template-columns: 1fr; } .cq-demo__head .cq-link { grid-column: 1; } .cq-demo { height: 860px; } }

/* FAQ */
.cq-faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.cq-faq__list { border-top: 1px solid var(--line-2); }
.cq-faq details { border-bottom: 1px solid var(--line-2); }
.cq-faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.cq-faq summary::-webkit-details-marker { display: none; }
.cq-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--ink-mute); transition: transform .2s var(--ease); }
.cq-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cq-faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 66ch; }
@media (max-width: 880px) { .cq-faq { grid-template-columns: 1fr; } }

/* Kontakt */
.cq-contact { background: var(--bg-sunk); }
.cq-form { background: var(--bg-raised); border-radius: var(--r-tile); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.cq-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cq-form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.cq-form .opt { font-weight: 500; color: var(--ink-mute); }
.cq-form input, .cq-form select, .cq-form textarea { width: 100%; font: 500 1rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.cq-form textarea { resize: vertical; }
.cq-form input:focus, .cq-form select:focus, .cq-form textarea:focus { outline: none; border-color: var(--ink); }
.cq-form [aria-invalid="true"] { border-color: #b3261e; }
.cq-form .btn { justify-self: start; }
.cq-form__hint { margin: 0; font-size: .85rem; color: var(--ink-mute); }
@media (max-width: 480px) { .cq-form__row { grid-template-columns: 1fr; } }

/* Fuß */
.cq-foot { padding: 56px 0 32px; color: var(--ink-mute); font-size: .92rem; }
.cq-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.cq-foot__row p { margin: 12px 0 0; }
.cq-foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.cq-foot nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.cq-foot nav a:hover { text-decoration: underline; }
.cq-foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .82rem; }
.cq-foot__legal p { margin: 0; max-width: 76ch; }

/* Hinweis */
.cq-toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; font-weight: 600; transition: opacity .25s, transform .25s; }
.cq-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Einblenden (nur transform/opacity) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Unterseiten (Impressum, Datenschutz) */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.draft { padding: 14px 18px; border-left: 4px solid var(--gelb); background: var(--bg-raised); border-radius: 10px; margin-bottom: 2rem; }
.nav { border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.22rem; }

/* ---------- Bühne: Standbild bis zum Start der Demo ---------- */
.cq-live__frame iframe[hidden] { display: none; }
.cq-poster { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; padding: 0; border: 0; background: #ebebeb; cursor: pointer; }
.cq-poster[hidden] { display: none; }
.cq-poster picture, .cq-poster img { width: 100%; height: 100%; }
.cq-poster img { object-fit: cover; object-position: left top; }
.cq-poster__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .6em; padding: 1em 1.6em; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 700 1.05rem/1 var(--font); white-space: nowrap; box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .45); }
.cq-poster__btn::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.cq-poster.is-loading .cq-poster__btn::after { content: "…"; }
@media (min-width: 760px) { .cq-poster__btn { display: none; } .cq-poster { cursor: progress; } }
@media (max-width: 759px) {
  .cq-live__frame { height: 640px; }
  .cq-poster { background: transparent; }
  .cq-poster picture { display: flex; justify-content: center; height: 100%; }
  .cq-poster img { width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: center top; border-radius: 22px; border: 6px solid #1d2329; background: #1d2329; }
}

/* ---------- Sicherheit: Verweis auf die Unterseite ---------- */
.cq-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cq-more p { margin: 0; color: #b9cfda; max-width: 60ch; }
.btn--light { background: #fff; color: var(--nacht); }
.btn--light:hover { background: var(--lagune-hell); }

/* ---------- Live-Demo als Verweis ---------- */
.cq-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 6vw, 96px); align-items: end; height: auto; border: 0; border-radius: 0; background: none; overflow: visible; }
.cq-demo h2 { margin-bottom: 1.2rem; }
.cq-demo .cq-body { margin: 0; }
.cq-demo__go { display: grid; gap: 24px; justify-items: start; }
@media (max-width: 880px) { .cq-demo { grid-template-columns: 1fr; height: auto; } }

/* ---------- Kontakt ---------- */
.cq-split--top { align-items: start; }
.cq-book__hint { margin-top: 12px; max-width: 46ch; }
.cq-maker { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line-2); max-width: 52ch; }
.cq-maker p { color: var(--ink-soft); }
.cq-form h3 { margin-bottom: 4px; }
.cq-foot__row p a { color: inherit; }

/* ---------- Unterseite Sicherheit ---------- */
.cq-doc { padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.cq-doc__intro { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.cq-doc__intro h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1.2rem; }
.cq-doc__sec { display: grid; grid-template-columns: 4fr 8fr; gap: 16px clamp(28px, 6vw, 96px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line-2); }
.cq-doc__sec > h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cq-doc__sec p, .cq-doc__sec li { color: var(--ink-soft); }
.cq-doc__sec ul { margin: 0 0 1em; padding-left: 1.2em; }
.cq-doc__sec li { margin-bottom: .5em; }
.cq-doc__sec li strong, .cq-doc__sec p strong { color: var(--ink); }
.cq-doc .cq-perms { margin: 0; padding: 0; border: 0; }
.cq-doc .cq-perms ul { grid-template-columns: 1fr; padding: 0; }
.cq-doc .cq-perms li { background: var(--bg-raised); border-color: var(--line); color: var(--ink-soft); margin: 0; }
.cq-doc .cq-perms em { border-color: var(--line-2); color: var(--ink); }
.cq-doc .cq-perms em.is-req { background: var(--nacht); border-color: var(--nacht); color: #fff; }
.cq-store { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 10px; }
.cq-store li { display: grid; grid-template-columns: 1fr 1.3fr .8fr; gap: 6px 20px; padding: 16px 20px; margin: 0; background: var(--bg-raised); border-radius: 14px; }
.cq-store b { color: var(--ink); }
.cq-store span:last-child { color: var(--ink-mute); }
.cq-callout { padding: 18px 22px; border-left: 4px solid var(--gelb); background: var(--bg-raised); border-radius: 10px; }
.cq-callout p:last-child { margin: 0; }
@media (max-width: 880px) { .cq-doc__sec { grid-template-columns: 1fr; } .cq-store li { grid-template-columns: 1fr; } }

/* Smartphone-Bild (t-mobil.png) zeigt das ganze Gerät mit transparentem Hintergrund: kein zusätzlicher Rahmen */
.cq-phone { border: 0; border-radius: 0; background: none; overflow: visible; box-shadow: none; }
.cq-phone img { display: block; width: 100%; height: auto; }
@media (max-width: 759px) {
  .cq-poster img { border: 0; border-radius: 0; background: none; }
}

/* ---------- Made in Germany (Footer) ---------- */
.cq-made { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .9rem; color: var(--ink-mute); }
.cq-made__flag { flex: none; width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); box-shadow: 0 0 0 1px var(--line); }

/* ---------- Sprachwähler (ohne JavaScript) ---------- */
.cq-lang { position: relative; margin: 0 -12px 0 0; }
.cq-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); font: 700 .86rem/1 var(--font); color: var(--ink); cursor: pointer; }
.cq-lang summary::-webkit-details-marker { display: none; }
.cq-lang summary::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.cq-lang summary:hover, .cq-lang[open] summary { border-color: var(--ink); }
.cq-lang summary:focus-visible { outline: 2px solid var(--lagune-tief); outline-offset: 2px; }
.cq-lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(4, 43, 71, .3); }
.cq-lang a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cq-lang a:hover { background: var(--bg-sunk); }
.cq-lang a[aria-current] { font-weight: 800; }
.cq-lang a[aria-current]::after { content: " ✓"; color: var(--lagune-tief); }
@media (max-width: 960px) { .cq-lang { margin-left: auto; } .cq-nav__in > .btn { margin-left: 0; } }

/* Flaggen im Sprachwähler (Englisch: Vereinigtes Königreich) */
.cq-flag { display: inline-block; flex: none; width: 20px; height: 14px; border-radius: 2px; background: center/cover no-repeat; box-shadow: 0 0 0 1px rgba(20, 20, 20, .14); vertical-align: -2px; }
.cq-flag--de { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%205%203%22%3E%3Cpath%20d=%22M0%200h5v3H0z%22/%3E%3Cpath%20fill=%22%23D00%22%20d=%22M0%201h5v2H0z%22/%3E%3Cpath%20fill=%22%23FFCE00%22%20d=%22M0%202h5v1H0z%22/%3E%3C/svg%3E"); }
.cq-flag--en { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2060%2030%22%3E%3CclipPath%20id=%22s%22%3E%3Cpath%20d=%22M0%200v30h60V0z%22/%3E%3C/clipPath%3E%3CclipPath%20id=%22t%22%3E%3Cpath%20d=%22M30%2015h30v15zv15H0zH0V0zV0h30z%22/%3E%3C/clipPath%3E%3Cg%20clip-path=%22url%28%23s%29%22%3E%3Cpath%20d=%22M0%200v30h60V0z%22%20fill=%22%23012169%22/%3E%3Cpath%20d=%22M0%200l60%2030m0-30L0%2030%22%20stroke=%22%23fff%22%20stroke-width=%226%22/%3E%3Cpath%20d=%22M0%200l60%2030m0-30L0%2030%22%20clip-path=%22url%28%23t%29%22%20stroke=%22%23C8102E%22%20stroke-width=%224%22/%3E%3Cpath%20d=%22M30%200v30M0%2015h60%22%20stroke=%22%23fff%22%20stroke-width=%2210%22/%3E%3Cpath%20d=%22M30%200v30M0%2015h60%22%20stroke=%22%23C8102E%22%20stroke-width=%226%22/%3E%3C/g%3E%3C/svg%3E"); }
.cq-flag--bg { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%205%203%22%3E%3Cpath%20fill=%22%23fff%22%20d=%22M0%200h5v1H0z%22/%3E%3Cpath%20fill=%22%2300966E%22%20d=%22M0%201h5v1H0z%22/%3E%3Cpath%20fill=%22%23D62612%22%20d=%22M0%202h5v1H0z%22/%3E%3C/svg%3E"); }
.cq-flag--da { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2037%2028%22%3E%3Cpath%20fill=%22%23C8102E%22%20d=%22M0%200h37v28H0z%22/%3E%3Cpath%20fill=%22%23fff%22%20d=%22M12%200h4v28h-4zM0%2012h37v4H0z%22/%3E%3C/svg%3E"); }
.cq-flag--es { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%203%202%22%3E%3Cpath%20fill=%22%23AA151B%22%20d=%22M0%200h3v2H0z%22/%3E%3Cpath%20fill=%22%23F1BF00%22%20d=%22M0%20.5h3v1H0z%22/%3E%3C/svg%3E"); }
.cq-flag--fr { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%203%202%22%3E%3Cpath%20fill=%22%23002395%22%20d=%22M0%200h1v2H0z%22/%3E%3Cpath%20fill=%22%23fff%22%20d=%22M1%200h1v2H1z%22/%3E%3Cpath%20fill=%22%23ED2939%22%20d=%22M2%200h1v2H2z%22/%3E%3C/svg%3E"); }
.cq-flag--it { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%203%202%22%3E%3Cpath%20fill=%22%23009246%22%20d=%22M0%200h1v2H0z%22/%3E%3Cpath%20fill=%22%23fff%22%20d=%22M1%200h1v2H1z%22/%3E%3Cpath%20fill=%22%23CE2B37%22%20d=%22M2%200h1v2H2z%22/%3E%3C/svg%3E"); }
.cq-flag--nb { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2022%2016%22%3E%3Cpath%20fill=%22%23BA0C2F%22%20d=%22M0%200h22v16H0z%22/%3E%3Cpath%20fill=%22%23fff%22%20d=%22M6%200h4v16H6zM0%206h22v4H0z%22/%3E%3Cpath%20fill=%22%2300205B%22%20d=%22M7%200h2v16H7zM0%207h22v2H0z%22/%3E%3C/svg%3E"); }
.cq-flag--pl { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%208%205%22%3E%3Cpath%20fill=%22%23fff%22%20d=%22M0%200h8v2.5H0z%22/%3E%3Cpath%20fill=%22%23DC143C%22%20d=%22M0%202.5h8V5H0z%22/%3E%3C/svg%3E"); }
.cq-lang summary::before { display: none; }
.cq-lang summary { gap: 8px; }
.cq-lang a { display: flex; align-items: center; gap: 10px; }

/* Lange zusammengesetzte Wörter (z. B. Dänisch, Deutsch) auf schmalen Bildschirmen trennen */
h1, h2, h3, .cq-lead { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Kontaktformular: Honigtopf (für Menschen unsichtbar) und Statusmeldung */
.cq-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cq-form { position: relative; }
.cq-form__status { margin: 0; padding: 12px 14px; border-radius: 12px; background: #e6f3f3; color: var(--nacht); font-weight: 600; }
.cq-form__status.is-bad { background: #fdecea; color: #8a1c12; }
.cq-form button[disabled] { opacity: .6; cursor: progress; }

/* Lange Links und Schlüssel in Rechtstexten umbrechen */
.cq-doc a, .cq-doc code { overflow-wrap: anywhere; }
