/* Nachbau des htr.ch-Rahmens für den Klickdummy (nicht Teil der Lieferung). */
:root {
  --htr-red: #e2231a;
  --htr-blue: #0a4f96;
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --soft: #f4f4f2;
  /* Effra ist die Schrift von htr.ch; im Dummy ersetzt durch Figtree */
  --font: 'Effra', 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; padding-bottom: 64px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
button { font: inherit; }
.wrap { max-width: 1182px; margin: 0 auto; padding: 0 16px; }

/* ---------- Kopf ---------- */
.util { font-size: 12px; color: #555; }
.util-row { display: flex; justify-content: space-between; padding-top: 10px; padding-bottom: 4px; }
.util nav { display: flex; gap: 10px; }
.util a:hover, .util a.on { color: var(--htr-red); }
.masthead-row { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; }
.logo-circle { width: 60px; height: 60px; border-radius: 50%; background: var(--htr-red); color: #fff; font-weight: 800; font-size: 31px; letter-spacing: -.04em; display: inline-grid; place-items: center; padding-right: 2px; }
.logo-circle.sm { width: 34px; height: 34px; font-size: 16px; }
.logo-ch { font-weight: 800; font-size: 30px; letter-spacing: -.03em; margin-left: 1px; }
.masthead-right { display: flex; align-items: center; gap: 18px; }
.btn-fr { background: var(--htr-blue); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 10px 14px; border-radius: 3px; display: inline-block; }
.btn-fr:hover { background: #083e76; }
.icon-btn { background: none; border: 0; color: #666; cursor: pointer; padding: 4px; }
.burger { display: none; }
.mainnav { background: #f7f7f7; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; }
.mainnav-row { display: flex; gap: 36px; height: 45px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.mainnav a { white-space: nowrap; font-size: 15px; }
.mainnav a:hover { color: var(--htr-red); }
@media (max-width: 860px) {
  .burger { display: block; }
  .btn-fr { display: none; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav-row { flex-direction: column; align-items: flex-start; height: auto; gap: 0; padding-top: 6px; padding-bottom: 6px; }
  .mainnav a { padding: 8px 0; }
  .util nav:first-child { display: none; }
  .logo-circle { width: 46px; height: 46px; font-size: 24px; }
  .logo-ch { font-size: 23px; }
}
.htr-main { min-height: 60vh; }
.page { padding-top: 22px; padding-bottom: 60px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Startseite (Inhalte der echten htr.ch-Startseite) ---------- */
.home { padding-top: 20px; padding-bottom: 50px; }
.ad-slot { height: 24px; background: #f1f1f1; font-size: 10px; color: #bbb; text-transform: uppercase; letter-spacing: .1em; display: grid; place-items: center; margin-bottom: 24px; }
.ad-big { height: 220px; background: #f1f1f1; font-size: 11px; color: #bbb; text-transform: uppercase; letter-spacing: .1em; display: grid; place-items: center; margin: 56px 0 0; }
.hero { position: relative; height: 470px; overflow: hidden; background: #222; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.hero img.on { opacity: 1; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6)); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; left: 50%; right: 5%; top: 50%; transform: translateY(-50%); color: #fff; }
.hero-text h1 { font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.01em; font-weight: 700; }
.hero-text p { margin: 18px 0 0; font-size: 17px; max-width: 520px; }
.ribbon { position: absolute; z-index: 3; top: 22px; left: -40px; width: 160px; transform: rotate(-45deg); background: #ed1847; color: #fff; text-align: center; font-size: 15px; font-weight: 700; padding: 4px 0; }
.ribbon.sm { top: 12px; left: -46px; font-size: 10px; text-transform: uppercase; padding: 3px 0; }
.hero-nav { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; color: #fff; font-size: 14px; }
.hero-nav button { background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; padding: 0 6px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #d9d9d9; margin-bottom: 16px; }
.section-head h2 { font-size: 19px; font-weight: 500; padding-bottom: 6px; border-bottom: 3px solid var(--htr-blue); margin-bottom: -1px; }
.section-head .more { font-size: 14px; color: var(--muted); padding-bottom: 6px; }
.pill-tabs { display: flex; gap: 8px; padding-bottom: 6px; font-size: 13px; }
.pill-tabs span { padding: 3px 12px; border-radius: 3px; color: var(--muted); }
.pill-tabs .on { background: var(--htr-blue); color: #fff; }
.home-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; margin-top: 56px; align-items: start; }
@media (max-width: 1000px) { .home-row { grid-template-columns: 1fr 1fr; } .col-news { grid-column: 1 / -1; } }
@media (max-width: 640px) { .home-row { grid-template-columns: 1fr; } }
.news-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px) { .news-split { grid-template-columns: 1fr; } }
.news-lead img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 14px; }
.news-lead h3 { font-size: 25px; font-weight: 500; line-height: 1.15; }
.news-lead p { font-size: 16px; font-weight: 300; margin: 12px 0; }
.news-lead:hover h3, .news-item:hover h4, .opinion:hover strong, .ressort-item:hover h3 { color: var(--htr-blue); }
.news-list { display: grid; align-content: start; }
.news-item { padding: 0 0 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.news-item h4 { font-size: 16px; font-weight: 500; line-height: 1.25; }
.news-meta { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.opinion { display: grid; grid-template-columns: 54px 1fr; gap: 6px 14px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.opinion img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-top: 18px; }
.opinion small { display: block; text-transform: uppercase; font-size: 12px; color: var(--muted); font-weight: 600; }
.opinion strong { font-size: 16px; font-weight: 500; line-height: 1.25; display: block; margin-top: 4px; }
.opinion .news-meta { grid-column: 1 / -1; margin: 0; }
.col-side { --htr-immo-brand: #ed1847; }
.home-immo { margin-top: 56px; }
.ressort { margin-top: 60px; }
.ressort-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .ressort-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ressort-grid { grid-template-columns: 1fr; } }
.ressort-img { position: relative; overflow: hidden; margin-bottom: 12px; }
.ressort-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.kicker { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; color: #ed1847; margin-bottom: 4px; }
.ressort-item h3 { font-size: 21px; font-weight: 500; line-height: 1.2; }
.ressort-item p { font-size: 15px; font-weight: 300; margin: 8px 0 0; }

/* ---------- Fuss ---------- */
.footer { background: #00569d; color: #fff; margin-top: 60px; padding: 34px 0 22px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: 1.55fr 1fr .7fr .8fr; gap: 40px; }
.footer-about p { font-size: 15px; line-height: 1.45; color: #e6eef6; margin: 0 0 14px; max-width: 350px; letter-spacing: .01em; }
.logo-footer { margin-bottom: 26px; }
.footer-li { display: inline-block; margin-top: 40px; color: #fff; }
.footer h4 { color: #fff; font-size: 17px; font-weight: 500; margin: 14px 0 22px; }
.footer-cols a { display: block; padding: 2px 0; }
.footer-cols a:hover { text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; font-size: 11px; color: #fff; }
.footer-legal a { margin-right: 18px; }
.footer-legal a:hover { text-decoration: underline; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Komponenten markieren ---------- */
.wc-frame { position: relative; transition: outline-color .2s; outline: 2px dashed transparent; outline-offset: 8px; }
.show-wc .wc-frame { outline-color: #e0a100; }
.show-wc .wc-frame::before {
  content: attr(data-tag); position: absolute; z-index: 5; top: -19px; left: -8px;
  background: #e0a100; color: #111; font: 600 11px/1 ui-monospace, 'SF Mono', Menlo, monospace; padding: 5px 7px; border-radius: 3px 3px 0 0;
  max-width: calc(100% + 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Demo-Leiste ---------- */
.demobar { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; height: 56px; background: #111; color: #ddd; display: flex; align-items: center; gap: 18px; padding: 0 16px; font-size: 14px; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
.demobar-brand { display: flex; flex-direction: column; line-height: 1.2; padding-right: 18px; border-right: 1px solid #333; flex: none; }
.demobar-brand strong { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.demobar-brand span { font-size: 12px; color: #999; }
.demobar-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.demobar-nav a { padding: 7px 11px; border-radius: 4px; white-space: nowrap; }
.demobar-nav a:hover { background: #222; color: #fff; }
.demobar-nav a.on { background: #fff; color: #111; font-weight: 700; }
.demobar-current { display: none; }
.demobar-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; flex: none; }
.demobar-toggle input { position: absolute; opacity: 0; }
.switch { width: 34px; height: 20px; border-radius: 10px; background: #444; position: relative; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.demobar-toggle input:checked + .switch { background: #e0a100; }
.demobar-toggle input:checked + .switch::after { transform: translateX(14px); }
.demobar-toggle input:focus-visible + .switch { outline: 2px solid #fff; outline-offset: 2px; }
.demobar-reset { margin-left: auto; background: none; border: 1px solid #444; color: #bbb; border-radius: 4px; padding: 6px 10px; cursor: pointer; font-size: 13px; flex: none; }
.demobar-reset:hover { color: #fff; border-color: #888; }
@media (max-width: 1100px) {
  .demobar-brand span { display: none; }
  .demobar-current { display: block; background: #222; color: #fff; border: 0; border-radius: 4px; padding: 7px 12px; cursor: pointer; font-weight: 700; }
  .demobar-nav { display: none; position: absolute; bottom: 56px; left: 8px; flex-direction: column; background: #111; padding: 8px; border-radius: 8px 8px 0 0; min-width: 220px; }
  .demobar.open .demobar-nav { display: flex; }
}
@media (max-width: 560px) { .demobar-brand { display: none; } }

/* ---------- Newsletter ---------- */
.nl-page { background: #e9e9e6; min-height: 100vh; padding: 36px 16px 0; }
.nl-page > .footer { margin: 60px -16px 0; }
.nl-layout { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: start; }
@media (max-width: 960px) { .nl-layout { grid-template-columns: 1fr; } }
.nl-info { position: sticky; top: 24px; }
@media (max-width: 960px) { .nl-info { position: static; } }
.eyebrow-dark { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--htr-red); margin-bottom: 10px; }
.nl-info h1 { font-size: 30px; margin-bottom: 14px; }
.nl-info p { color: #333; }
.nl-select { display: grid; gap: 6px; font-weight: 700; font-size: 14px; margin: 18px 0; }
.nl-select select { height: 42px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 0 10px; font: inherit; background: #fff; }
.nl-points { padding-left: 18px; margin: 0 0 18px; display: grid; gap: 10px; font-size: 15px; }
.nl-endpoint { background: #fff; border-radius: 6px; padding: 12px 14px; margin-bottom: 14px; font-size: 13px; }
.nl-endpoint span { display: block; color: var(--muted); margin-bottom: 4px; }
.nl-endpoint code { font-size: 12.5px; word-break: break-all; }
.btn-dark { background: #111; color: #fff; border: 0; border-radius: 4px; padding: 11px 18px; font-weight: 700; cursor: pointer; }
.nl-hint { font-size: 14px; margin-top: 14px; }
.nl-hint a { color: var(--htr-blue); font-weight: 700; }
.mail { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(0,0,0,.35); }
.mail-chrome { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; display: grid; gap: 4px; background: #fafafa; }
.mail-k { display: inline-block; width: 64px; color: var(--muted); }
.mail-body { background: #fff; padding: 20px 12px 34px; }
.nl-hint.muted { color: var(--muted); font-size: 13px; }
/* Nachbau «htr daily» */
.nd { max-width: 640px; margin: 0 auto; font-family: Helvetica, Arial, sans-serif; color: #000; }
.nd-browser { text-align: center; font-size: 12px; color: #00569d; text-decoration: underline; margin-bottom: 12px; }
.nd-ad { background: #eee; color: #aaa; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; display: grid; place-items: center; margin-bottom: 18px; }
.nd-head { background: #00569d; color: #fff; height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; margin-bottom: 14px; }
.nd-logo { display: flex; align-items: center; gap: 4px; font-size: 64px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.nd-circle { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #00569d; font-size: 18px; letter-spacing: -.02em; display: grid; place-items: center; }
.nd-date { font-size: 15px; align-self: flex-end; padding-bottom: 18px; }
.nd-leadstory img { width: 100%; height: 320px; object-fit: cover; }
.nd-h1 { font-size: 40px; font-weight: 700; line-height: 1.1; margin: 16px 0 10px; }
.nd-leadtext { font-size: 19px; font-weight: 300; line-height: 1.35; }
.nd-share { font-size: 12px; color: #00569d; font-weight: 700; margin-top: 10px; }
.nd-share.center { text-align: center; padding-bottom: 14px; border-bottom: 1px solid #d9d9d9; margin-bottom: 4px; }
.nd-item { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid #d9d9d9; }
.nd-item img { width: 160px; height: 100px; object-fit: cover; }
.nd-kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.nd-title { font-size: 22px; font-weight: 700; line-height: 1.15; margin: 2px 0 6px; }
.nd-lead { font-size: 16px; font-weight: 300; line-height: 1.35; }
.nd-item .nd-share { margin: 0; padding-left: 10px; }
@media (max-width: 560px) { .nd-item { grid-template-columns: 100px 1fr; } .nd-item img { width: 100px; height: 70px; } .nd-title { font-size: 18px; } .nd-h1 { font-size: 30px; } .nd-logo { font-size: 46px; } }
.nd-blue { background: #00569d; color: #fff; text-align: center; padding: 18px 26px 26px; margin: 18px 0; }
.nd-blue-k { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.nd-blue img { width: 100%; height: 260px; object-fit: cover; object-position: top; }
.nd-blue-t { font-size: 30px; font-weight: 500; line-height: 1.2; margin-top: 16px; }
.nd-btn-wrap { text-align: center; margin: 26px 0 18px; }
.nd-btn { display: inline-block; background: #00569d; color: #f8f8f8; font-size: 14px; padding: 10px 20px; text-transform: uppercase; }
.nd-foot { background: #00569d; color: #fff; display: grid; grid-template-columns: 1fr auto; padding: 10px 16px; font-size: 12px; }
.nd-foot strong { font-size: 20px; grid-column: 1; }
.nd-foot-r { grid-column: 2; grid-row: 1 / 3; align-self: end; text-decoration: underline; }
.nd-legal { font-size: 11px; color: #9a9a9a; text-align: center; padding: 12px 20px; }
.nd-mark { position: relative; outline: 2px dashed transparent; outline-offset: 6px; transition: outline-color .2s; margin-top: 18px; }
.nd-mark::before { content: attr(data-label); position: absolute; top: -26px; left: -8px; background: #e0a100; color: #111; font: 600 11px/1 ui-monospace, Menlo, monospace; padding: 5px 7px; border-radius: 3px 3px 0 0; opacity: 0; transition: opacity .2s; }
.mail-block img { max-width: 100%; }

/* ---------- Backoffice ---------- */
.bo { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: #f5f6f8; font-size: 15px; }
.bo-side { background: #fff; border-right: 1px solid #e3e5e8; padding: 20px 14px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; }
.bo-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.bo-brand strong { display: block; font-size: 15px; }
.bo-brand small { color: var(--muted); font-size: 12px; }
.bo-side nav { display: grid; gap: 2px; }
.bo-side nav a { padding: 9px 12px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; color: #333; }
.bo-side nav a:hover { background: #f2f3f5; }
.bo-side nav a.on { background: #e8f0f9; color: var(--htr-blue); font-weight: 700; }
.bo-count { background: var(--htr-red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 9px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.bo-user { margin-top: auto; display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 0 6px; }
.bo-user small { display: block; color: var(--muted); font-size: 12px; }
.bo-avatar { width: 34px; height: 34px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.bo-main { padding: 30px 34px 80px; min-width: 0; }
@media (max-width: 860px) {
  .bo { grid-template-columns: 1fr; }
  .bo-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; gap: 10px; }
  .bo-side nav { grid-auto-flow: column; overflow-x: auto; width: 100%; }
  .bo-user { display: none; }
  .bo-main { padding: 20px 16px 80px; }
}
.bo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.bo-head h1 { font-size: 26px; }
.bo-head p { margin: 6px 0 0; color: var(--muted); max-width: 720px; }
.bo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.bo-kpis > div { background: #fff; border: 1px solid #e3e5e8; border-radius: 10px; padding: 16px 18px; }
.bo-kpis span { display: block; font-size: 13px; color: var(--muted); }
.bo-kpis strong { font-size: 30px; }
.bo-kpis a { font-size: 13px; font-weight: 700; color: var(--htr-blue); }
.bo-kpis .hot { border-color: #f1b1ad; background: #fff7f6; }
@media (max-width: 900px) { .bo-kpis { grid-template-columns: 1fr 1fr; } }
.bo-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
@media (max-width: 1000px) { .bo-two { grid-template-columns: 1fr; } }
.bo-card { background: #fff; border: 1px solid #e3e5e8; border-radius: 10px; padding: 18px 20px; }
.bo-card h2 { font-size: 16px; margin-bottom: 14px; }
.bo-bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-top: 18px; }
.bo-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bo-bar-b { width: 100%; max-width: 34px; background: var(--htr-blue); border-radius: 4px 4px 0 0; }
.bo-bar:last-child .bo-bar-b { background: var(--htr-red); }
.bo-bar-v { font-size: 11px; color: var(--muted); }
.bo-bar-l { font-size: 12px; color: var(--muted); }
.bo-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.bo-top { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.bo-top a { font-weight: 600; }
.bo-top a:hover { color: var(--htr-blue); }
.bo-top span { display: block; font-size: 13px; color: var(--muted); }
.bo-empty { background: #fff; border: 1px dashed #cdd1d6; border-radius: 10px; padding: 30px; text-align: center; color: var(--muted); }
.bo-empty a { color: var(--htr-blue); font-weight: 700; }
.bo-mod { display: grid; gap: 14px; }
.bo-mod-item { display: grid; grid-template-columns: 220px 1fr 160px; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .bo-mod-item { grid-template-columns: 1fr; } }
.bo-mod-img img, .bo-noimg { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 6px; background: #eee; }
.bo-noimg { display: grid; place-items: center; color: var(--muted); }
.bo-mod-img span { font-size: 12px; color: var(--muted); }
.bo-mod-meta { font-size: 13px; color: var(--muted); }
.bo-mod-body h3 { font-size: 19px; margin: 6px 0 8px; }
.bo-mod-body p { margin: 0 0 10px; color: #333; }
.bo-mod-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.bo-mod-facts span { background: #f2f3f5; padding: 3px 9px; border-radius: 4px; font-size: 13px; }
.bo-checks { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.bo-checks .ok { color: #1f7a4d; }
.bo-checks .warn { color: #a15c00; }
.bo-mod-actions { display: grid; gap: 8px; }
.bo-btn { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #cdd1d6; background: #fff; color: #222; border-radius: 6px; padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: 14px; }
.bo-btn:hover { border-color: #888; }
.bo-btn-primary { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.bo-btn-primary:hover { background: #17633e; }
.bo-btn-ghost { color: #b3261e; }
.bo-search { height: 40px; border: 1px solid #cdd1d6; border-radius: 6px; padding: 0 12px; font: inherit; min-width: 240px; }
.bo-filter { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.bo-filter button { border: 1px solid #cdd1d6; background: #fff; border-radius: 16px; padding: 5px 12px; cursor: pointer; font-size: 14px; }
.bo-filter button span { color: var(--muted); margin-left: 4px; }
.bo-filter button.on { background: #111; color: #fff; border-color: #111; }
.bo-filter button.on span { color: #bbb; }
.bo-table-wrap { padding: 0; overflow-x: auto; }
.bo-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
.bo-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid #e3e5e8; background: #fafbfc; }
.bo-table td { padding: 12px 14px; border-bottom: 1px solid #eef0f2; vertical-align: middle; }
.bo-table tr:last-child td { border-bottom: 0; }
.bo-table .r { text-align: right; }
.bo-title { font-weight: 700; display: block; }
.bo-title:hover { color: var(--htr-blue); }
.bo-table small { color: var(--muted); }
.bo-soon { color: #a15c00; font-weight: 700; }
.bo-mini { border: 1px solid #cdd1d6; border-radius: 4px; padding: 4px 6px; font: inherit; font-size: 13px; background: #fff; }
.bo-link { background: none; border: 0; color: var(--htr-blue); font-weight: 700; cursor: pointer; font-size: 13px; padding: 0; white-space: nowrap; }
.bo-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 12px; white-space: nowrap; }
.bo-ok { background: #e3f3ea; color: #1f7a4d; }
.bo-warn { background: #fff1db; color: #a15c00; }
.bo-muted { background: #eef0f2; color: #666; }
.bo-danger { background: #fde4e2; color: #b3261e; }
.bo-nl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 1000px) { .bo-nl { grid-template-columns: 1fr; } }
.bo-nl-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.bo-nl-head small { display: block; color: var(--muted); font-size: 13px; }
.bo-slot { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #eef0f2; }
.bo-slot img { width: 60px; height: 40px; object-fit: cover; border-radius: 4px; }
.bo-slot b { display: block; font-size: 14px; line-height: 1.3; }
.bo-slot small { color: var(--muted); font-size: 12.5px; }
.bo-assign { width: 100%; margin-top: 10px; height: 40px; border: 1px dashed #b9bec5; border-radius: 6px; padding: 0 10px; font: inherit; font-size: 14px; background: #fafbfc; color: #444; }
.bo-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .bo-prices { grid-template-columns: 1fr 1fr; } }
.bo-prices label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.bo-prices input { height: 38px; border: 1px solid #cdd1d6; border-radius: 6px; padding: 0 10px; font: inherit; color: var(--ink); }
.bo-prices ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }

/* ---------- Integrationsseite ---------- */
.doc { background: #fff; }
.doc-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.doc-head { background: #111; color: #fff; padding: 64px 0 56px; }
.doc-head h1 { font-size: clamp(30px, 4.4vw, 48px); max-width: 860px; letter-spacing: -.015em; }
.doc-head p { font-size: 19px; color: #c9c9c9; max-width: 760px; margin: 18px 0 0; }
.doc-body { padding-top: 20px; padding-bottom: 90px; }
.doc-body section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.doc-body section:last-child { border-bottom: 0; }
.doc-body h2 { font-size: 28px; margin-bottom: 20px; }
.doc-body h3 { font-size: 18px; margin-bottom: 8px; }
.doc-body p { font-size: 17px; color: #333; }
.arch { margin: 0 0 26px; background: #f4f4f2; border-radius: 12px; padding: 22px; }
.arch svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.t-h { font-size: 17px; font-weight: 700; fill: #111; }
.t-s { font-size: 13px; fill: #666; }
.t-m { font-size: 14px; fill: #222; }
.t-w { fill: #fff; }
.t-w2 { fill: #bcd0e8; }
.t-code { font: 600 12.5px ui-monospace, Menlo, monospace; fill: var(--htr-blue); }
.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.doc-cols.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .doc-cols, .doc-cols.three { grid-template-columns: 1fr; } }
.code { background: #111; color: #e8e8e8; border-radius: 8px; padding: 16px 18px; font: 13.5px/1.55 ui-monospace, 'SF Mono', Menlo, monospace; overflow-x: auto; margin: 0 0 18px; white-space: pre; }
.wc-table { display: grid; gap: 14px; margin: 16px 0 22px; }
.wc-table article { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
@media (max-width: 760px) { .wc-table article { grid-template-columns: 1fr; } }
.wc-table code, .doc-body p code { font: 600 14px ui-monospace, Menlo, monospace; color: var(--htr-blue); }
.wc-table .muted { color: var(--muted); font-size: 15px; margin: 4px 0 12px; }
.wc-table dl { margin: 0; display: grid; gap: 6px; font-size: 14px; }
.wc-table dl div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.wc-table dt { font: 600 13px ui-monospace, Menlo, monospace; }
.wc-table dd { margin: 0; color: #444; }
.wc-table .code { margin: 0; align-self: start; }
.doc-open ol { padding-left: 22px; display: grid; gap: 12px; font-size: 17px; max-width: 820px; }

/* Backoffice: Kanal & Werbung */
.bo-kanal { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: #eef0f2; color: #444; white-space: nowrap; }
.bo-kanal.hs { background: #fde8e6; color: #b1251a; }
.bo-mod-meta .bo-kanal { margin-right: 6px; }
.bo-kpi-sub { display: block; font-size: 12.5px; color: var(--muted); }
.bo-bar { position: relative; }
.bo-bar-w { width: 100%; max-width: 34px; background: #ed1847; border-radius: 4px 4px 0 0; }
.bo-bar-w + .bo-bar-b { border-radius: 0; }
.bo-bar:last-child .bo-bar-b { background: var(--htr-blue); }
.bo-legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-top: 12px; flex-wrap: wrap; }
.bo-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.lg-b { background: var(--htr-blue); }
.lg-w { background: #ed1847; }
.bo-mt { margin-top: 18px; }
.bo-ideen { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.bo-p { margin: 0; font-size: 14.5px; color: #333; }

/* ---------- Nachbau hotelleriesuisse.ch ---------- */
.hs { --hs-red: #da291c; background: #fff; color: #000; font-family: 'Brown', 'Figtree', system-ui, sans-serif;
  /* Die eingebundenen Komponenten übernehmen die Farben von HotellerieSuisse */
  --htr-immo-accent: #da291c; --htr-immo-brand: #da291c; --htr-immo-radius: 0px; }
.hs-wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.hs-header { border-bottom: 1px solid #e6e6e6; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.hs-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 14px; border-bottom: 1px solid #d9d9d9; }
.hs-logo img { height: 22px; width: auto; display: block; }
.hs-top-right { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.hs-search { background: #f1f1f1; border-radius: 18px; padding: 7px 14px; color: #888; display: inline-flex; gap: 30px; }
.hs-search span { color: #000; }
.hs-lang { background: #f1f1f1; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.hs-btn-outline { border: 1px solid var(--hs-red); border-radius: 18px; padding: 6px 18px; }
.hs-btn-red { background: var(--hs-red); color: #fff; border-radius: 18px; padding: 7px 20px; }
.hs-nav { display: flex; justify-content: space-between; padding-top: 14px; padding-bottom: 12px; font-size: 15px; }
.hs-nav span { position: relative; padding-bottom: 8px; }
.hs-nav span.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--hs-red); }
@media (max-width: 860px) { .hs-top-right .hs-search, .hs-top-right .hs-lang, .hs-btn-outline { display: none; } .hs-nav { overflow-x: auto; gap: 24px; } }
.hs-crumbs { font-size: 12px; padding: 16px 0 0; color: #000; }
.hs-crumbs .muted { color: #999; }
.hs-intro { max-width: 640px; padding: 40px 0 46px; margin-left: 40px; }
@media (max-width: 760px) { .hs-intro { margin-left: 0; } }
.hs-intro h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; line-height: 1.15; }
.hs-intro p { font-size: 15px; line-height: 1.55; margin: 18px 0 0; }
.hs-band { background: #f6f6f6; padding: 46px 0; border-top: 1px solid #e6e6e6; }
.hs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 60px 40px 30px; }
@media (max-width: 760px) { .hs-split { grid-template-columns: 1fr; padding: 40px 0 10px; } }
.hs-split img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hs-split h2 { font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
.hs-split p { font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.hs-link { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; margin: 0 0 12px; cursor: pointer; }
.hs-arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--hs-red); color: #fff; display: inline-grid; place-items: center; font-size: 14px; flex: none; }
.hs-split .hs-arrow { background: #fec900; color: #000; }
.hs-form { padding: 40px 0 70px; scroll-margin-top: 20px; }
.hs-footer { border-top: 1px solid #e6e6e6; padding: 44px 0 26px; font-size: 13px; }
.hs-foot-cols { display: grid; grid-template-columns: 1fr 1fr 1.2fr .6fr; gap: 30px; }
@media (max-width: 760px) { .hs-foot-cols { grid-template-columns: 1fr 1fr; } }
.hs-footer h4 { text-transform: uppercase; font-size: 14px; margin-bottom: 18px; }
.hs-footer p { margin: 0 0 16px; line-height: 1.45; }
.hs-foot-meta { display: grid; justify-items: end; align-content: end; gap: 4px; font-size: 12px; }
.hs-foot-bottom { display: flex; justify-content: space-between; margin-top: 30px; font-size: 12px; }
.hs-foot-bottom b { margin-right: 6px; }
.hs-copy::first-letter { color: var(--hs-red); }

.p-logo { display: inline-flex; align-items: center; gap: 8px; }
.p-mark { display: inline-grid; place-items: center; border-radius: 5px; color: #fff; font-weight: 800; letter-spacing: -.02em; flex: none; }
.p-name { font-weight: 600; white-space: nowrap; }
