
@font-face { font-family: "Dovetail MVB"; font-style: normal; font-weight: 250; font-display: swap; src: url(fonts/dovetail-mvb-250.woff2) format("woff2"); }
@font-face { font-family: "Dovetail MVB"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/dovetail-mvb-300.woff2) format("woff2"); }
@font-face { font-family: "Dovetail MVB"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dovetail-mvb-500.woff2) format("woff2"); }
@font-face { font-family: "Bio Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/bio-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/cormorant-garamond-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url(fonts/cormorant-garamond-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/be-vietnam-pro-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/be-vietnam-pro-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2"); }
/* The site itself, full width, in its own light look (deliberately single-theme: it is the client's website),
   with a black floating bar on top for version, notes and editing. */
:root {
  --ink: #0c0c0c; --paper: #f5f5f5; --card: #ebe9e4; --body: #403f3f; --muted: #6e6c68; --line: #dedad3; --field: #ebe9e4; --fieldbg: #dcd9d3;
  --bar: #111111; --bar-fg: #f2efe9; --bar-muted: #9a958d; --bar-line: #2b2a28; --bar-on: #f2efe9;
  --note-bg: #fff6d6; --note-fg: #4a3b05; --note-line: #ecd98a; --warn: #b9770e; --over: #b3261e; --ok: #2f7d4f; --edit: #2a62d9;
  --font: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: #0b0b0b; }
body { margin: 0; color: var(--body); font-family: var(--font); font-size: 16px; line-height: 1.55; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- floating bar (tool chrome) ----------
   Tokens: --bar #111 · --bar-fg #F2EFE9 · --bar-muted #9A958D · --bar-line #2B2A28 · --edit #2A62D9 · --note #FFF3A8
   Rules: 44px tall, radius 12, controls 30px/radius 8, 12.5px type, one accent per function (blue = Bearbeiten, yellow = Empfehlungen).
   The chrome floats; it never changes the layout of the site beneath it. */
.bar { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 12px; right: 12px; z-index: 50; width: auto;
  background: rgba(17,17,17,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--bar-fg); border: 1px solid var(--bar-line); border-radius: 12px; box-shadow: none;
  padding: 6px 10px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.bar .mark { color: var(--bar-fg); text-decoration: none; font-weight: 600; letter-spacing: .04em; padding: 0 10px 0 6px; display: inline-flex; align-items: center; gap: 3px; height: 30px; border-right: 1px solid var(--bar-line); margin-right: 4px; }
.bar .mark i { font-style: normal; font-size: 8px; vertical-align: top; color: var(--bar-muted); }
.bar .grp { display: inline-flex; gap: 10px; align-items: center; }
[data-tip] { position: relative; }
.bar [data-tip]:hover::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #f1efe9; color: #0b0b0b; font: 500 11.5px/1 var(--font); padding: 7px 9px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.35); pointer-events: none; z-index: 60; }
.bar .sp { flex: 1; }
.tb { height: 30px; background: none; border: 1px solid transparent; color: var(--bar-muted); border-radius: 8px; padding: 0 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb:hover { color: var(--bar-fg); background: #1d1c1b; }
.tb[aria-pressed="true"] { color: var(--bar-fg); background: #2b2a28; }
.tb.edit[aria-pressed="true"] { background: var(--edit); color: #fff; border-color: var(--edit); }
.tb.boxed { background: #1d1c1b; border: 1px solid var(--bar-line); color: var(--bar-fg); padding: 0 10px; }
.tb.boxed:hover { background: #2b2a28; }
.tb.boxed[aria-pressed="true"] { background: #f1efe9; color: #0b0b0b; border-color: #f1efe9; }
/* narrow windows: the boxed buttons drop their labels, the icon stays */

.tb i { width: 7px; height: 7px; border-radius: 50%; background: var(--bar-line); flex: none; }
.tb #ccount:not(:empty) { background: #2b2a28; color: var(--bar-fg); border-radius: 9px; padding: 1px 6px; font-size: 10px; }
.tb[aria-pressed="true"] #ccount:not(:empty) { background: #444; }
.tb[aria-pressed="true"] i { background: #fff3a8; }
.tb:focus-visible, .vbtn:focus-visible, .vmenu button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.bar .status { color: var(--bar-muted); font-size: 11.5px; white-space: nowrap; padding: 0 8px; }
.bar .status.saving { color: #f3e2a0; } .bar .status.err { color: #ff9a92; } .bar .status.ok { color: #9fd8b2; }
.vsel { position: relative; }
.vbtn { height: 30px; background: #1d1c1b; border: 1px solid var(--bar-line); color: var(--bar-fg); border-radius: 8px; padding: 0 10px 0 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-width: 96px; }
.vbtn.pb { min-width: 150px; }
.vbtn.ty { min-width: 0; }
.tb.dd .chev { width: 9px; height: 9px; margin-left: 4px; opacity: .6; }
.vmenu.tm { left: 0; right: auto; }
#typosel .vmenu.tm { left: auto; right: 0; }
.vmenu.tm { width: 240px; left: auto; right: 0; }
.vmenu.pm { width: 260px; max-height: min(70vh, 640px); overflow: auto; }
.vmenu .grp { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bar-muted); padding: 12px 10px 4px; }
.vmenu .grp:first-child { padding-top: 6px; }
.vmenu.pm button.sub { padding-left: 18px; } .vmenu.pm button.sub span { font-weight: 400; font-size: 12.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vmenu .grp.tog[data-vold] { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 12px 10px 8px; border-top: 1px solid var(--bar-line); margin-top: 6px; } .vmenu .grp.tog[data-vold]:hover { color: var(--bar-fg); } .vmenu .grp.tog[data-vold] i { font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; }
.vmenu.pm .grp.tog { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 12px 10px 8px; border-top: 1px solid var(--bar-line); margin-top: 6px; }
.vmenu.pm .grp.tog:hover { color: var(--bar-fg); } .vmenu.pm .grp.tog i { font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; }
.vmenu.pm .blog[hidden] { display: none; }
.vmenu.pm button { grid-template-columns: 1fr auto; padding: 6px 10px; min-height: 30px; align-items: center; }
.vmenu.pm button[aria-selected="true"]::after { grid-row: 1; }
.vmenu.pm { gap: 0; }
.vbtn .vl { color: var(--bar-muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.vbtn .vn { font-weight: 500; }
.vbtn svg { margin-left: auto; width: 10px; height: 10px; color: var(--bar-muted); }
.vmenu { position: absolute; top: 36px; left: 0; width: 280px; background: #141414; border: 1px solid var(--bar-line); border-radius: 10px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.45); display: grid; gap: 2px; z-index: 51; }
.vmenu button { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; background: none; border: 0; color: var(--bar-fg); padding: 8px 10px; border-radius: 7px; cursor: pointer; }
.vmenu button small { grid-column: 1; color: var(--bar-muted); font-size: 11px; }
.vmenu .ppl { grid-column: 1; display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.chip { display: inline-block; font-size: 10px; padding: 2px 7px; border-radius: 9px; background: #2b2a28; color: var(--bar-fg); }
.vmenu .new { border-top: 1px solid var(--bar-line); margin-top: 4px; padding-top: 10px; color: var(--bar-fg); }
.vmenu .new b { font-weight: 500; }
.vbtn .chips { display: inline-flex; gap: 3px; margin-left: 2px; }
.vmenu button:hover { background: #222; }
.vmenu button[aria-selected="true"] { background: #2b2a28; }
.vmenu button[aria-selected="true"]::after { content: "✓"; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--bar-fg); }
@media (max-width: 760px) { html body .site { top: 8px; left: 8px; right: 8px; bottom: 84px; } .hero .img { height: calc(100vh - 92px); height: calc(100svh - 92px); } .drawer { top: 8px; right: 8px; bottom: 84px; border-radius: 14px; } .drawer-dim { inset: 8px 8px 84px; } .bar { left: 8px; right: 8px; top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); flex-wrap: wrap; row-gap: 6px; } .bar .status { display: none; } .bar .sp { display: none; } .vmenu { top: auto; bottom: 36px; } }

/* ---------- site ---------- */
.site { padding-top: 0; position: fixed; top: 68px; left: 12px; right: 12px; bottom: 12px; border-radius: 14px; overflow: auto; overscroll-behavior: contain; background: var(--paper); }
.wrap { max-width: 1280px; margin: 0 auto; }
.sec { position: relative; padding: 80px max(6%, calc((100% - 1200px) / 2)); }
.sec.dark { background: var(--ink); color: #e8e6e1; }
.sec.card { background: var(--card); }
.sec + .sec:not(.band):not(.dark):not(.hero):not(.quote) { border-top: 1px solid var(--line); }
.sec.dark + .sec, .sec.band + .sec { border-top: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); font-weight: 600; }
.dark h2, .dark h3 { color: #fff; }
.copy p { margin: 0 0 1em; max-width: 60ch; font-size: 18px; font-weight: 300; line-height: 1.55; }
.copy p:last-child { margin-bottom: 0; }
.lead, .copy p.lead { font-size: clamp(24px, 2.5cqi, 40px); line-height: 1.3; letter-spacing: -.035em; color: var(--ink); font-weight: 500; max-width: 30ch; }
.dark .lead, .dark .copy p.lead { color: #fff; }
.copy p.small { font-size: 18px; font-weight: 300; line-height: 1.55; }
.btn { display: inline-block; margin-top: 24px; padding: 12px 22px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--ink); text-decoration: none; cursor: pointer; }
.btn.outline { background: transparent; color: #fff; border-color: #fff; }
.btn, .form button, .maplink { border-radius: 2px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 6%; gap: 16px; position: relative; z-index: 2; }
.nav.onimg { position: absolute; inset: 0 0 auto 0; color: #fff; }
.nav .logo { display: block; line-height: 0; }
.nav .logo img { width: 150px; height: auto; display: block; margin: -14px 0 -14px 0; }
.nav .r { display: flex; align-items: center; gap: 22px; font-size: 12px; letter-spacing: .08em; }
.nav .r .lang span { opacity: .55; }
.nav .burger { background: none; border: 0; color: inherit; width: 28px; height: 22px; padding: 0; cursor: pointer; display: grid; gap: 5px; align-content: center; }
.nav .burger i { display: block; height: 1.5px; background: currentColor; width: 22px; margin-left: auto; }
.nav .burger i:nth-child(2) { width: 16px; }
.nav.top { padding-top: 22px; }
.nav.onimg { padding-top: 22px; }
.pbody .nav.onimg, .pbody .nav.top { padding-top: 22px; }
.mini-in .hero .img { height: 720px; }
.pbody .form .nav { padding-top: 0 !important; }
.mini-in .nav.onimg, .mini-in .nav.top { padding-top: 22px; }
@media (max-width: 760px) { .nav.top, .nav.onimg { padding-top: 22px; } }
.drawer-dim { position: fixed; inset: 68px 12px 12px; border-radius: 14px; background: rgba(0,0,0,.3); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.drawer { position: fixed; top: 68px; right: 12px; bottom: 12px; border-radius: 0 14px 14px 0; width: min(400px, 100cqi); background: #0c0c0c; color: #fff; z-index: 41; padding: calc(env(safe-area-inset-top, 0px) + 40px) 40px 40px 90px; transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s; opacity: 0; display: flex; flex-direction: column; gap: 0; }
body.menu .drawer { transform: none; opacity: 1; }
body.menu .drawer-dim { opacity: 1; pointer-events: auto; }
.drawer .x { position: absolute; left: 40px; top: calc(env(safe-area-inset-top, 0px) + 40px); background: #403f3f; border: 0; color: #fff; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; }
.drawer .x:hover { background: #555; }
.drawer .dlogo { line-height: 0; margin-top: 20vh; }
.drawer .dlogo img { width: 194px; height: auto; margin: 0; }
.drawer ul { list-style: none; margin: 10vh 0 0; padding: 0; display: grid; gap: 10px; font-size: 28px; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.drawer .dsoc { margin-top: auto; padding-bottom: 14vh; display: flex; gap: 12px; }
.drawer .dsoc a { width: 36px; height: 36px; background: #403f3f; display: inline-flex; align-items: center; justify-content: center; }
.drawer .dsoc a:hover { background: #555; }
@media (max-height: 700px) { .drawer .dlogo { margin-top: 90px; } .drawer ul { margin-top: 40px; } .drawer .dsoc { padding-bottom: 20px; } }
@media (max-width: 480px) { .drawer { padding-left: 40px; } .drawer .x { left: auto; right: 24px; } }
.drawer a { text-decoration: none; color: #fff; opacity: 0; transform: translateX(14px); transition: opacity .4s, transform .4s; }
body.menu .drawer a { opacity: 1; transform: none; }
body.menu .drawer li:nth-child(1) a { transition-delay: .12s } body.menu .drawer li:nth-child(2) a { transition-delay: .17s } body.menu .drawer li:nth-child(3) a { transition-delay: .22s } body.menu .drawer li:nth-child(4) a { transition-delay: .27s } body.menu .drawer li:nth-child(5) a { transition-delay: .32s } body.menu .drawer li:nth-child(6) a { transition-delay: .37s }
.drawer a.on { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
/* hover: quiet micro-interactions */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.cards, .hl-grid, .hl-feat, .cols) .pic img { transition: transform 1s cubic-bezier(.2,.8,.2,1); }
  :is(.cards a, .hl-grid a, .hl-grid .card, .hl-feat):hover .pic img:not([style*="scale"]) { transform: scale(1.035); }
  :is(.cards, .hl-grid) a h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.2,.8,.2,1); display: inline; }
  :is(.cards, .hl-grid) a:hover h3 { background-size: 100% 1px; }
  .btn { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(31,42,46,.14); }
  .foot a, .contact dd a, .art .body a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s ease, opacity .25s ease; text-decoration: none; }
  .foot a:hover, .contact dd a:hover, .art .body a:hover { background-size: 100% 1px; }
  .foot .soc a { transition: transform .25s ease, background-color .25s ease; background: none; } .foot .soc a:hover { transform: translateY(-2px); }
  .drawer a { transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1), padding-left .3s ease; } .drawer a:hover { padding-left: 8px; }
  .nav .logo img { transition: opacity .25s ease; } .nav .logo:hover img { opacity: .75; }
  .burger i { transition: width .3s ease; } .burger:hover i:nth-child(2) { width: 60%; }
}
/* fade-in */
@media (prefers-reduced-motion: no-preference) {
  .sec.fade { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
  .sec.fade.in { opacity: 1; transform: none; }
  /* live site: sections fade in, items in a row follow one after another */
  .pub .fx { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
  .pub .fx.in { opacity: 1; transform: none; }
  .pub .fx :is(.grid, .hl-grid, .gal, .imgs, .two) > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .pub .fx.in :is(.grid, .hl-grid, .gal, .imgs, .two) > * { opacity: 1; transform: none; }
  .pub .fx.in :is(.grid, .hl-grid, .gal, .imgs, .two) > :nth-child(2) { transition-delay: .08s; } .pub .fx.in :is(.grid, .hl-grid, .gal, .imgs, .two) > :nth-child(3) { transition-delay: .16s; } .pub .fx.in :is(.grid, .hl-grid, .gal, .imgs, .two) > :nth-child(4) { transition-delay: .24s; } .pub .fx.in :is(.grid, .hl-grid, .gal, .imgs, .two) > :nth-child(n+5) { transition-delay: .3s; }
  .pub .fx .band img, .pub .band.fx img { transform: scale(1.05); transition: transform 1.8s cubic-bezier(.2,.8,.2,1); } .pub .band.fx.in img { transform: none; }
  /* page enter: hero picture fades in while zooming out slightly, then the headline rises in */
  @keyframes nlZoom { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
  @keyframes nlUp { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @keyframes nlFade { from { opacity: 0; } to { opacity: 1; } }
  .pub #site .sec.hero .pic img, .pub .hlhero .hl-feat .pic img, .pub .art > .pic img { animation: nlZoom 1.9s cubic-bezier(.2,.7,.2,1) backwards; }
  .pub #site .sec.hero .txt > * { animation: nlUp 1s cubic-bezier(.2,.8,.2,1) .35s backwards; }
  .pub #site .sec.hero .txt > :nth-child(2) { animation-delay: .5s; } .pub #site .sec.hero .txt > :nth-child(3) { animation-delay: .65s; }
  .pub .hlhero .hl-feat .tcard, .pub .art > :is(.back, .m, h1) { animation: nlUp .9s cubic-bezier(.2,.8,.2,1) .25s backwards; }
  .pub #site .nav { animation: nlFade .9s ease .15s backwards; }
  /* pictures that scroll into view settle from a light zoom */
  .pub .fx :is(.pic, .afig) img { scale: 1.06; } .pub .fx.in :is(.pic, .afig) img { scale: 1; transition: scale 1.6s cubic-bezier(.2,.8,.2,1); }
  .site { transition: opacity .35s ease; }
  .site.out { opacity: 0; }
}

.hero { padding: 0; }
.hero .img { position: relative; height: calc(100vh - 80px); height: calc(100svh - 80px); min-height: 520px; width: 100%; background: #333; }
#site > .sec.hero .img, #site > .secwrap > .sec.hero .img { height: calc(100vh - 80px); }
.hero .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 70%); pointer-events: none; }
.hero .txt { position: absolute; left: max(6%, calc((100% - 1200px) / 2)); top: 50%; transform: translateY(-50%); z-index: 2; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(44px, 6cqi, 96px); font-weight: 500; line-height: 1.2; letter-spacing: -.016em; display: grid; }
.hero h1 span:nth-child(2) { padding-left: .9em; }
.hero h1 span:nth-child(3) { padding-left: .5em; }
.hero .sub { margin-top: 14px; font-size: 20px; font-weight: 300; letter-spacing: -.03em; padding-left: 1.1em; }

.labeled { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px 56px; }
.labeled h2 { font-size: clamp(24px, 2.5cqi, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; }
@media (max-width: 700px) { .labeled { grid-template-columns: 1fr; } }
@container site (max-width: 420px) { .foot .grid, .luxe .foot .grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.split .pic { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; position: relative; }
.split .pic.tall { aspect-ratio: 3 / 4; max-width: 460px; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
.split.right .pic { order: 2; }
.split h2 { font-size: clamp(24px, 2.5cqi, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; margin-bottom: 18px; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } .split.right .pic { order: 0; } }

.band { padding: 0; height: clamp(220px, 45cqi, 560px); background: #ddd; overflow: hidden; }
.band .pic { position: absolute; inset: 0; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band.map img { object-position: center 40%; }
.band .maplink { position: absolute; left: 6%; bottom: 24px; margin: 0; z-index: 2; }

.cols h2 { font-size: clamp(24px, 2.5cqi, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; max-width: none; text-wrap: wrap; }
.cols .sub { font-size: 18px; margin: 10px 0 0; max-width: 60ch; }
.cols .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.cols .pic { aspect-ratio: 4 / 3.3; overflow: hidden; background: #ddd; margin-bottom: 18px; position: relative; }
.cols .pic img { width: 100%; height: 100%; object-fit: cover; }
.cols .more { display: inline-block; margin-top: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.cols h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.cols p { font-size: 16px; line-height: 1.6; margin: 0; }
.cols .feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; align-items: start; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line, rgba(0,0,0,.1)); }
.cols .feat .pic { aspect-ratio: 16 / 10; margin-bottom: 0; } .cols .feat .copy { max-width: 56ch; }
.cols .feat .kick { margin: 2px 0 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted, #6a655c); } .cols .feat h3 { margin: 0 0 14px; }
.luxe .cols .feat { gap: 40px 64px; margin-top: 72px; }
@media (max-width: 760px) { .cols .grid { grid-template-columns: 1fr; } .cols .feat { grid-template-columns: 1fr; } .cols .feat .copy { grid-column: auto; } }
@container site (max-width: 700px) { .cols .feat { grid-template-columns: 1fr; } .cols .feat .copy { grid-column: auto; } }

.list h2 { font-size: clamp(24px, 2.5cqi, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; max-width: 32ch; }
.list ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.dark.list li { border-color: #333; }
@media (max-width: 600px) { .list ul { grid-template-columns: 1fr; } }

.statement p { font-size: clamp(26px, 3cqi, 48px); line-height: 1.2; letter-spacing: -.04em; font-weight: 500; color: var(--ink); max-width: 30ch; margin: 0; }
.dark.statement p { color: #fff; }
.quote { background: var(--field); }
.quote p { font-size: clamp(22px, 2.2cqi, 32px); font-weight: 300; letter-spacing: -.02em; font-style: italic; color: var(--ink); max-width: 40ch; margin: 0; }

.cards .head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cards h2 { font-size: clamp(24px, 2.5cqi, 40px); font-weight: 500; letter-spacing: -.035em; }
.cards .btn { margin: 0; padding: 9px 14px; }
.cards .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.cards .pic { aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; margin-bottom: 12px; position: relative; }
.cards .pic img { width: 100%; height: 100%; object-fit: cover; }
.cards .m { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.cards h3 { font-size: 16px; font-weight: 500; }
@media (max-width: 700px) { .cards .grid { grid-template-columns: 1fr; } }

.team .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.team .mem { position: relative; }
.team .pic { aspect-ratio: 16 / 9; overflow: hidden; background: #ddd; position: relative; }
.team .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team .tag { position: absolute; left: 16px; bottom: 16px; background: #fff; padding: 10px 14px; font-size: 14px; color: var(--ink); z-index: 2; }
.team .tag b { display: block; font-weight: 600; }
.team .mem.bio .tag { position: static; padding: 14px 0 0; background: none; }
.team .bio p { font-size: 16px; line-height: 1.6; margin: 8px 0 0; }
@media (max-width: 700px) { .team .grid { grid-template-columns: 1fr; } }

.pair h2 { font-size: clamp(24px, 2.5cqi, 40px); font-weight: 500; letter-spacing: -.035em; margin-bottom: 24px; max-width: 30ch; }
.pair .two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pair .two p { font-size: 16px; line-height: 1.6; margin: 0; }
.pair .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; max-width: 800px; }
.pair .imgs .pic { aspect-ratio: 7 / 5; overflow: hidden; background: #ddd; position: relative; }
.pair .imgs img { width: 100%; height: 100%; object-fit: cover; }
.pair .imgs figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.dark.pair .imgs figcaption { color: #bbb; }
@media (max-width: 700px) { .pair .two, .pair .imgs { grid-template-columns: 1fr; } }

.tabsrow { display: flex; gap: 32px; padding-block: 28px; font-size: 15px; }
.tabsrow span:first-child { color: var(--ink); font-weight: 600; }
.videos .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.videos h3 { font-size: 16px; margin-bottom: 8px; }
.videos p { font-size: 15px; margin: 0 0 16px; }
.videos .pic { aspect-ratio: 5 / 3; overflow: hidden; max-width: 360px; position: relative; }
.videos .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .videos .grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; background: var(--field); }
.form h1 { font-size: clamp(40px, 5cqi, 80px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; display: grid; }
.form h1 span:nth-child(2) { padding-left: .9em; }
.form h1 span:nth-child(3) { padding-left: .5em; }
.form .copy { margin-top: 36px; }
.form .copy p { font-size: 16px; }
.form .copy.caps p { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.7; }
.form label { display: block; font-size: 14px; color: var(--ink); margin: 0 0 6px; }
.form .f { margin-bottom: 18px; }
.form input, .form textarea { width: 100%; border: 0; background: var(--fieldbg); padding: 12px 12px; font-size: 15px; color: var(--body); border-radius: 3px; }
.form textarea { min-height: 84px; resize: vertical; }
.form .btn { width: 100%; text-align: center; margin-top: 6px; }
.form .sent { font-size: 14px; color: var(--ok); margin-top: 10px; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.contact h2 { font-size: clamp(24px, 2.5cqi, 40px); font-weight: 500; letter-spacing: -.035em; margin-bottom: 28px; }
.contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact dl { margin: 0; }
.contact dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact dd { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.contact .fo { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.contact .fo .pic { width: 76px; height: 76px; flex: none; position: relative; }
.contact .fo img { width: 76px; height: 76px; object-fit: cover; }
.contact .fo b { display: block; color: var(--ink); }
@media (max-width: 600px) { .contact .grid { grid-template-columns: 1fr; } }

.foot { background: var(--ink); color: #c9c7c2; font-size: 13px; padding: 48px 6% 28px; }
.foot .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 24px; }
.foot .logo { line-height: 0; margin-bottom: 10px; }
.foot .logo img { width: 220px; height: auto; margin: -22px 0 -14px 0; }
.foot .soc { display: inline-flex; gap: 4px; }
.foot .soc a { width: 36px; height: 36px; background: #2e2e2e; display: inline-flex; align-items: center; justify-content: center; }
.foot .soc a:hover { background: #3a3a3a; }
.foot .soc svg { width: 16px; height: 16px; display: block; }
.foot b { color: #fff; font-weight: 600; display: block; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid #2a2a2a; font-size: 12px; }
@media (max-width: 700px) { .foot .grid { grid-template-columns: 1fr 1fr; } }

.simple { padding: 120px 6% 80px; min-height: 50vh; }
.simple h1 { font-size: 40px; margin-bottom: 16px; }
.simple p { max-width: 60ch; }

/* inset images: 4 px radius, full-width ones none */
.split .pic, .cols .pic, .cards .pic, .team .pic, .pair .imgs .pic, .videos .pic, .contact .fo .pic, .contact .fo img { border-radius: 2px; overflow: hidden; }

/* highlights index, article, partner grid */
.hl-feat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hl-feat .pic { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; position: relative; }
.hl-feat .pic img { width: 100%; height: 100%; object-fit: cover; }
.hl-feat h2 { font-size: clamp(26px, 3cqi, 40px); margin: 10px 0 14px; }
.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; margin-top: 32px; }
.hl-grid .pic { aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; margin-bottom: 12px; position: relative; }
.hl-grid .pic img { width: 100%; height: 100%; object-fit: cover; }
.hl-grid .m, .hl-feat .m { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.hl-grid h3 { font-size: 17px; font-weight: 500; }
.hl-grid a, .hl-feat a.t { text-decoration: none; color: inherit; display: block; }
.hl-grid .card { position: relative; }
.hl-del { display: none; position: absolute; right: 8px; top: 8px; z-index: 5; background: var(--ink); color: #fff; border: 0; border-radius: 6px; width: 26px; height: 26px; cursor: pointer; }
body.edit .hl-del { display: block; }
.art { padding: 120px 6% 72px; max-width: 980px; margin: 0 auto; }
.art .m { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.art h1 { font-size: clamp(30px, 4cqi, 48px); line-height: 1.1; margin: 12px 0 28px; }
.art .pic { overflow: hidden; margin-bottom: 36px; position: relative; }
.art .pic img { display: block; width: 100%; height: auto; max-height: min(80vh, 760px); object-fit: cover; }
.art .body { max-width: 70ch; }
.art .body p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.65; }
.art .body h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.art .body h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.art .back { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.art .more { margin-top: 28px; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 20px; margin-top: 36px; }
.pt-grid { mix-blend-mode: darken; }
.pt-grid .lg { position: relative; aspect-ratio: 150 / 130; display: flex; align-items: center; justify-content: center; padding: 14px; background: var(--paper); border-radius: 4px; }
.pt-grid .lg .pic, .pt-grid .lg > a { mix-blend-mode: luminosity; }
.pt-grid .lg img { filter: grayscale(1); }
.pt-grid .lg img { max-height: 100%; max-width: 100%; object-fit: contain; }
.pt-grid .lg .pic { position: static; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pt-grid a { display: block; }
.pt-grid .url { display: none; font-size: 10px; color: var(--muted); margin-top: 6px; word-break: break-all; }
body.edit .pt-grid .url { display: block; }
.addbtn { display: none; margin-top: 24px; background: #fff; color: var(--edit); border: 1px solid var(--edit); border-radius: 20px; padding: 6px 16px; font-size: 13px; cursor: pointer; }
body.edit .addbtn { display: inline-block; }
@media (max-width: 760px) { .hl-feat, .hl-grid { grid-template-columns: 1fr; } }

/* ---------- notes layer ---------- */
.ntag { position: absolute; top: 14px; right: 14px; z-index: 3; display: none; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 4px 8px; border-radius: 4px; background: #e9e5dc; color: #3b3a36; }
.hero .ntag, .form .ntag { top: auto; bottom: 14px; }
.ntag.geändert, .ntag.gekürzt { background: #ffe9a8; color: #5a4300; }
.ntag.wie { background: #e9e5dc; color: #3b3a36; }
.ntag.neu { background: #d7ecff; color: #0b3a66; }
.ntag.umgestellt { background: #e4d9ff; color: #35206b; }
.ntag.wörtlich { background: #d8efe0; color: #0d4a2a; }
/* Notes: a 26px pin per annotated section, the card opens on click. Both are absolutely positioned,
   so they never move the site's layout. Yellow is reserved for notes. */
.pin { display: none; position: absolute; right: 16px; top: 16px; z-index: 30; width: 26px; height: 26px; border-radius: 50%; background: #fff3a8; color: #3d3203; border: 0; font: 600 11px/1 var(--font); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); align-items: center; justify-content: center; letter-spacing: .02em; }
.pin:hover, .pin[aria-expanded="true"] { background: #ffe66d; }
.hero .pin, .form .pin { top: auto; bottom: 16px; }
body.notes .pin { display: inline-flex; }
.note { display: none; position: absolute; right: 16px; top: 50px; z-index: 31; width: 260px; padding: 12px 14px 14px; background: #fff3a8; color: #3d3203; font-size: 13px; line-height: 1.45; box-shadow: 0 10px 24px rgba(0,0,0,.22); transform: rotate(-1deg); transform-origin: top right; }
.note::before { content: ""; position: absolute; right: 8px; top: -7px; border: 7px solid transparent; border-top: 0; border-bottom-color: #fff3a8; }
.note.open, .pin:hover + .note, .note.nhov { display: block; }
mark.hl { background: #fff3a8; color: inherit; padding: 0 2px; border-radius: 2px; box-shadow: 0 0 0 2px #fff3a8; }
.hl-img { outline: 3px solid #fff3a8; outline-offset: -3px; }
.sec.hl-sec { box-shadow: inset 0 0 0 3px #fff3a8; }
.note .ntag { position: static; display: inline; margin: 0 6px 0 0; vertical-align: 1px; }
.hero .note, .form .note { top: auto; bottom: 50px; transform-origin: bottom right; }
.hero .note::before, .form .note::before { top: auto; bottom: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: #fff3a8; }
@media (max-width: 760px) { .note { width: min(260px, 80vw); } }
.lc { display: none; margin-left: 8px; font-size: 10px; letter-spacing: .06em; padding: 1px 6px; border-radius: 3px; vertical-align: middle; white-space: nowrap; font-weight: 600; font-style: normal; text-transform: none; letter-spacing: .06em; }
.lc.ok { background: #d8efe0; color: var(--ok); }
.lc.warn { background: #ffe9a8; color: var(--warn); }
.lc.over { background: #ffd9d6; color: var(--over); }
body.notes p.warn { background: linear-gradient(transparent 0, transparent 100%), rgba(255,243,168,.55); box-shadow: 0 0 0 4px rgba(255,243,168,.55); border-radius: 2px; }
body.notes p.over { background: rgba(255,217,214,.7); box-shadow: 0 0 0 4px rgba(255,217,214,.7); border-radius: 2px; }
body.notes .dark p.warn { background: rgba(255,243,168,.18); box-shadow: 0 0 0 4px rgba(255,243,168,.18); }
body.notes .dark p.over { background: rgba(255,120,110,.25); box-shadow: 0 0 0 4px rgba(255,120,110,.25); }

/* Comments: a dark pin beside the yellow one, card opens on click. Stored with the site data, visible to everyone with the link. */
.cpin { display: none; position: absolute; right: 50px; top: 16px; z-index: 30; height: 26px; min-width: 26px; padding: 0 8px; border-radius: 13px; background: var(--ink); color: #fff; border: 0; font: 600 11px/1 var(--font); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); align-items: center; gap: 5px; }
.cpin svg { width: 12px; height: 12px; }
.cpin:hover, .cpin[aria-expanded="true"] { background: #2b2a28; }
.hero .cpin, .form .cpin { top: auto; bottom: 16px; }
body.edit .hero .cpin { right: 14px; bottom: 56px; }
body.comments .cpin { display: inline-flex; }
.dark .cpin { background: #fff; color: var(--ink); }
.cbox { display: none; position: absolute; right: 16px; top: 50px; z-index: 31; width: 300px; background: #fff; color: var(--body); border-radius: 10px; box-shadow: 0 14px 36px rgba(0,0,0,.28); padding: 12px; font-size: 13px; line-height: 1.45; }
.cbox.open { display: block; }
.hero .cbox, .form .cbox { top: auto; bottom: 50px; }
.cbox .cl { display: grid; gap: 10px; max-height: 260px; overflow: auto; margin-bottom: 10px; }
.cbox .c { border-left: 2px solid var(--line); padding-left: 10px; }
.cbox .c b { display: block; font-size: 12px; color: var(--ink); }
.cbox .c small { color: var(--muted); font-size: 11px; margin-left: 6px; font-weight: 400; }
.cbox .c p { margin: 2px 0 0; white-space: pre-wrap; }
.cbox textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 8px; font: inherit; font-size: 13px; min-height: 60px; resize: vertical; }
.cbox .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.cbox .row small { color: var(--muted); }
.cbox .send { background: var(--ink); color: #fff; border: 0; border-radius: 6px; padding: 7px 12px; cursor: pointer; font-size: 12px; }
.cbox .send[disabled] { opacity: .5; cursor: default; }
.cbox .empty { color: var(--muted); margin: 0 0 10px; }
@media (max-width: 760px) { .cbox { width: min(300px, 84vw); } }

/* ---------- editor ---------- */
body.edit [data-f] { outline: 1px dashed transparent; outline-offset: 3px; border-radius: 2px; cursor: text; min-width: 1ch; transition: outline-color .15s; }
body.edit .secwrap:hover [data-f] { outline-color: rgba(42,98,217,.45); }
body.edit [data-f]:hover { outline-color: var(--edit); }
body.edit [data-f]:empty::before { content: "Text eingeben"; color: #9a958d; }
body.edit [data-f]:focus { outline: 2px solid var(--edit); background: rgba(42,98,217,.06); }
body.edit .dark [data-f]:focus { background: rgba(255,255,255,.08); }
.imgbtn { display: none; position: absolute; left: 10px; top: 10px; z-index: 4; background: var(--edit); color: #fff; border: 0; border-radius: 6px; padding: 6px 10px; font-size: 12px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
body.edit .imgbtn { display: inline-block; }
.hero .imgbtn { top: auto; bottom: 14px; left: auto; right: 14px; }
.hero .stb, .form .stb { top: 150px; }
@media (max-width: 760px) { .hero .stb, .form .stb { top: 10px; } }
.stb { display: none; position: absolute; left: 10px; right: 10px; top: 10px; z-index: 32; flex-wrap: wrap; background: var(--bar); color: var(--bar-fg); border-radius: 8px; padding: 4px; gap: 2px; box-shadow: 0 4px 16px rgba(0,0,0,.3); font-size: 12px; align-items: center; }
body.edit .stb { display: inline-flex; opacity: 0; transition: opacity .15s; pointer-events: none; }
body.edit .secwrap:hover .stb, body.edit .secwrap:focus-within .stb { opacity: 1; pointer-events: auto; }
body.edit .secwrap:hover > .sec { outline: 2px solid rgba(42,98,217,.55); outline-offset: -2px; }
body.edit .secwrap .stb .lbl { padding: 0 6px 0 8px; color: var(--bar-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
@media (hover: none) { body.edit .stb { opacity: 1; pointer-events: auto; } }
.stb button, .stb select { background: none; border: 0; color: var(--bar-fg); padding: 5px 8px; cursor: pointer; border-radius: 5px; }
.stb button:hover { background: #2b2a28; }
.stb select { background: #2b2a28; max-width: 150px; }
.stb .sep { width: 1px; height: 18px; background: var(--bar-line); margin: 0 3px; }
.addrow { display: none; justify-content: center; padding: 0; position: relative; height: 0; z-index: 6; }
body.edit .addrow { display: flex; opacity: 0; transition: opacity .15s; }
body.edit .secwrap:hover .addrow, body.edit .addrow:hover, body.edit .addrow:focus-within { opacity: 1; }
@media (hover: none) { body.edit .addrow { opacity: 1; } }
.addrow button { transform: translateY(-50%); background: #fff; color: var(--edit); border: 1px solid var(--edit); border-radius: 20px; padding: 4px 14px; font-size: 12px; cursor: pointer; }
.hint { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); z-index: 49; background: var(--bar); color: var(--bar-fg); font-size: 13px; padding: 10px 16px; border-radius: 10px; max-width: 92vw; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
@media (max-width: 760px) { body.notes p.over, body.notes p.warn { background: none; box-shadow: none; } .hint { bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); } }

/* ---------- dialogs ---------- */
.ov { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dlg { background: #fff; color: var(--body); border-radius: 14px; width: min(820px, 100%); max-height: 88vh; overflow: auto; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.dlg h2 { font-size: 20px; margin-bottom: 6px; }
.dlg p { margin: 0 0 16px; max-width: 70ch; }
.dlg .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dlg .b { background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 8px; padding: 9px 16px; cursor: pointer; }
.dlg .b.sec2 { background: #fff; color: var(--ink); }
.dlg .lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.dlg .lib button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #eee; aspect-ratio: 4/3; cursor: pointer; }
.dlg .lib button img { width: 100%; height: 100%; object-fit: cover; }
.dlg .lib button:hover { border-color: var(--edit); }
.dlg .x { float: right; background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--muted); }

/* ---------- overview ---------- */
.ovw { padding: 120px 6% 80px; max-width: 1100px; margin: 0 auto; display: grid; gap: 20px; }
.ovw h1 { font-size: 36px; font-weight: 300; letter-spacing: -.01em; }
.ovw h2 { font-size: 17px; font-weight: 500; margin: 0 0 10px; }
.ovw .box { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--card); }
.ovw .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ovw ul { margin: 0; padding: 0; list-style: none; }
.ovw li { padding: 8px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; }
.ovw li:first-child { border-top: 0; }
.ovw li .k { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-top: 4px; }
.ovw li.one { grid-template-columns: 1fr; }
.ovw .legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.ovw .legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
@media (max-width: 700px) { .ovw .two { grid-template-columns: 1fr; } .ovw li { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: no-preference) { .seg button, .tb { transition: background .15s, color .15s; } }

/* Language switch in the site nav */
.nav .r .lang button { all: unset; cursor: pointer; opacity: .5; font: inherit; color: inherit; letter-spacing: inherit; }
.nav .r .lang button.on, .nav .r .lang button:hover { opacity: 1; }
.nav .r .lang a { opacity: .5; color: inherit; text-decoration: none; } .nav .r .lang a.on, .nav .r .lang a:hover { opacity: 1; }
/* Notes on photos (B) and on article titles */
.pin.ipin { top: auto; bottom: 10px; left: 10px; right: auto; }
.pin.ipin + .note { top: auto; bottom: 44px; left: 10px; right: auto; transform: rotate(1deg); transform-origin: bottom left; }
.pin.ipin + .note::before { top: auto; bottom: -7px; left: 8px; right: auto; border: 7px solid transparent; border-bottom: 0; border-top-color: #fff3a8; }
.hl-grid .card .pin { top: 10px; right: 10px; } .hl-grid .card .note { top: 44px; right: 10px; }
.hl-feat { position: relative; }
/* Hover toolbar: one per page, black like the bar, blue only for editing */
.hov { position: absolute; z-index: 32; display: flex; align-items: center; gap: 2px; padding: 3px; background: rgba(17,17,17,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--bar-fg); border-radius: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.28); font: 500 12px/1 var(--font); white-space: nowrap; }
.hov[hidden] { display: none; }
.hov b { font-weight: 600; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--bar-muted); padding: 0 8px 0 7px; }
.hov button { all: unset; cursor: pointer; padding: 7px 10px; border-radius: 5px; color: var(--bar-fg); }
.hov button:hover { background: #2b2a28; }
.hov button.b { background: var(--edit); } .hov button.b:hover { background: #2456c2; }
body.menu .hov, body.edit .hov:not(.ctx) button.b { display: none; }
.hov-on { outline: 1px dashed rgba(17,17,17,.35); outline-offset: 4px; }
.sec.hov-on, .art.hov-on { outline-offset: -1px; }
.dark.hov-on { outline-color: rgba(255,255,255,.4); }
@media (hover: none) { .hov { display: none !important; } }
/* Comment context */
.cbox .ctx { font-size: 11.5px; color: var(--muted); margin: 8px 0 4px; }
.cbox .ctxl { display: inline-block; font-style: normal; font-size: 10.5px; background: var(--card); padding: 1px 6px; border-radius: 4px; margin: 2px 0 4px; }
/* Overview: tabs, version pills, page gallery, changes */
.ovhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; background: var(--card); padding: 4px; border-radius: 10px; }
.tabs button { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 7px; font: 500 13px var(--font); color: var(--body); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills button { all: unset; cursor: pointer; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font: 500 12.5px var(--font); color: var(--body); background: var(--paper); }
.pills button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.mini { display: block; cursor: pointer; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: box-shadow .15s, transform .15s; }
.mini:hover { box-shadow: 0 10px 28px rgba(0,0,0,.14); transform: translateY(-2px); }
.mini-vp { aspect-ratio: 4 / 5; overflow: hidden; position: relative; background: var(--paper); }
.mini-vp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(transparent, var(--paper)); }
.mini-in { width: 1280px; transform: scale(var(--ms, .17)); transform-origin: 0 0; pointer-events: none; }
.mini-in .sec.hero { height: auto; } .mini-in .hero .img { height: 720px; min-height: 0; }
.mini-in .pic img { image-rendering: auto; }
.mini .pin, .mini .cpin, .mini .note, .mini .cbox, .mini .ntag, .mini .stb, .mini .addrow, .mini .imgbtn, .mini .hl-del, .mini .addbtn { display: none !important; }
.mini .sec.fade, .mini .art.fade { opacity: 1; transform: none; transition: none; }
.mini-cap { padding: 9px 12px; font: 500 12.5px var(--font); border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.chg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .chg { grid-template-columns: 1fr; } }
.chg h2 { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.chg h2 small { font-weight: 400; color: var(--muted); font-size: 12px; }
.chg li.one { font-size: 14px; padding: 6px 0; }
@media (max-width: 700px) { .ovw .two { grid-template-columns: 1fr; } .gal { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Überblick and Anleitung: a window over the site, below the bar (z 45), site stays visible behind the dim */
#modal { position: fixed; inset: 0; z-index: 45; }
#modal[hidden] { display: none; }
#askv { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; } #askv[hidden] { display: none; }
#askv .askv-dim { position: absolute; inset: 0; background: rgba(12,12,12,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
#askv .askv-box { position: relative; width: min(440px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); display: grid; gap: 10px; }
#askv .askv-ic { width: 42px; height: 42px; border-radius: 10px; background: #141414; color: #fff; display: grid; place-items: center; }
#askv h3 { margin: 6px 0 0; font-size: 19px; font-weight: 500; } #askv p { margin: 0; font-size: 14px; line-height: 1.5; color: #3b3a36; }
#askv .askv-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
#askv .askv-b { font: inherit; font-size: 13px; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; } #askv .askv-b:hover { border-color: var(--ink); }
#askv .askv-b.dark { background: #141414; color: #fff; border-color: #141414; } #askv .askv-b.dark:hover { background: #000; }
#modal .mdim { position: absolute; inset: 0; background: rgba(12,12,12,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
#modal .mpanel { position: absolute; left: 12px; right: 12px; top: 68px; bottom: 12px; width: auto; background: var(--paper); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; display: flex; flex-direction: column; }
#modal .mbody { overflow: auto; flex: 1; overscroll-behavior: contain; }
#modal .mx { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
#modal .mx:hover { background: #dcd9d3; }
#modal .ovw { padding: 36px 40px 48px; max-width: 1240px; margin: 0 auto; }
#modal .ovw h1 { font-size: 28px; }
body.modal { overflow: hidden; }
@media (max-width: 700px) { #modal .mpanel { top: 8px; bottom: 84px; left: 8px; right: 8px; border-radius: 12px; } #modal .ovw { padding: 28px 18px 40px; } .bar .grp:last-child { display: flex; } }

/* People badges: initials, one colour per person */
.av { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font: 600 9.5px/1 var(--font); color: #1a1a1a; font-style: normal; flex: none; letter-spacing: 0; }
.avs { display: inline-flex; margin-left: 8px; }
.avs .av { margin-left: -5px; box-shadow: 0 0 0 1.5px var(--bar); }
.avs .av:first-child { margin-left: 0; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 2px; }
.chip .av { width: 16px; height: 16px; font-size: 9px; }
.chip.dark { background: var(--card); color: var(--ink); }
.pills .avs .av { box-shadow: 0 0 0 1.5px var(--paper); } .pills button.on .avs .av { box-shadow: 0 0 0 1.5px var(--ink); }
.vmenu .ppl .chip { background: #2b2a28; }
/* Compare: two panes, each scrolls, headers carry their own version select */
body.cmp .site { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; overflow: visible; background: transparent; border-radius: 0; }
.pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; border: 0; background: var(--paper); border-radius: 14px; overflow: hidden; }
.phead { position: sticky; top: 0; z-index: 35; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 12.5px; }
.phead select { font: 500 13px var(--font); padding: 6px 28px 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.phead small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phead .avs .av { box-shadow: 0 0 0 1.5px var(--paper); }
.pbody { overflow: auto; flex: 1; min-height: 0; overscroll-behavior: contain; }
.pbody .sec.hero { height: auto; } .pbody .hero .img { height: 64vh; min-height: 420px; }
body.cmp .hov { display: none !important; }
@media (max-width: 900px) { body.cmp .site { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } }

.phead .dir { display: inline-flex; gap: 2px; background: var(--card); padding: 2px; border-radius: 7px; margin-right: 2px; }
.phead .dir button { all: unset; cursor: pointer; display: inline-flex; padding: 5px; border-radius: 5px; color: var(--muted); }
.phead .dir button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
body.cmp.stacked .site { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
body.cmp.stacked .pane { border: 0; }
body.cmp.stacked .pane[data-side="b"] .phead { padding-top: 10px; }
body.cmp.stacked .pbody .hero .img { height: 44vh; min-height: 300px; }

/* ==== V4 "Luxe": editorial look for Lea's proposal (and versions created from it).
   Scoped under .luxe so V1 to V3 keep the Framer look. Serif display (Cormorant Garamond) on top of Be Vietnam Pro,
   warmer paper, more air, text buttons, slow image motion. ==== */
.luxe { --paper: #f6f4ef; --card: #ece8e0; --line: #dcd6ca; --muted: #7a766f; --serif: "Cormorant Garamond", "Times New Roman", serif; background: var(--paper); color: var(--body); }
.luxe .sec { padding: 120px max(6%, calc((100% - 1200px) / 2)); }
.luxe .sec.hero, .luxe .sec.band { padding: 0; }
.luxe .sec.quote { padding-top: 72px; padding-bottom: 72px; }
.luxe .sec + .sec:not(.band):not(.dark):not(.hero):not(.quote) { border-top: 0; }
.luxe h1, .luxe h2, .luxe h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.luxe .eyebrow, .luxe .labeled h2, .luxe .cards .m, .luxe .contact dt, .luxe .form label, .luxe .cols .more, .luxe .hl-grid .m, .luxe .hl-feat .m, .luxe .art .m { font-family: var(--font); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.luxe .copy p, .luxe .cols p, .luxe .pair .two p, .luxe .team .bio p, .luxe .form .copy p { font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--body); }
.luxe .dark .copy p, .luxe .dark .cols p, .luxe .dark .pair .two p { color: #cfcbc3; }
.luxe .lead, .luxe .copy p.lead { font-family: var(--serif); font-size: clamp(28px, 3cqi, 46px); line-height: 1.2; letter-spacing: -.01em; font-weight: 400; color: var(--ink); max-width: 26ch; margin-bottom: .6em; }
.luxe .dark .lead, .luxe .dark .copy p.lead { color: #f3f0ea; }
/* buttons as tracked text links */
.luxe .btn { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; padding: 13px 24px; margin-top: 30px; font-size: 11px; letter-spacing: .2em; font-weight: 500; transition: background .3s, color .3s; }
.luxe .btn:hover { background: var(--ink); color: #fff; }
.luxe .dark .btn, .luxe .btn.outline, .luxe .hero .btn { color: #fff; border-color: rgba(255,255,255,.8); }
.luxe .dark .btn:hover, .luxe .btn.outline:hover, .luxe .hero .btn:hover { background: #fff; color: var(--ink); }
.luxe .form button { border-radius: 2px; }
.luxe .cards .btn, .luxe .form .btn { width: auto; }
.luxe .form .btn { margin-top: 18px; }
/* hero: eyebrow above a light serif title, bottom left, darker foot */
.luxe .hero .img::after { background: linear-gradient(180deg, rgba(0,0,0,.08) 35%, rgba(0,0,0,.62) 100%); }
.luxe .hero .txt { top: auto; bottom: 10%; transform: none; display: flex; flex-direction: column; max-width: min(88%, 1100px); }
.luxe .hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 8.5cqi, 136px); line-height: .98; letter-spacing: .01em; text-transform: uppercase; }
.luxe .hero h1 span { padding-left: 0 !important; }
.luxe .hero .sub { order: -1; margin: 0 0 22px; padding: 0 0 0 2px; font-family: var(--font); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.85); }
.luxe .hero .sub:empty { display: none; }
.luxe .hero .sub::before { content: ""; display: inline-block; width: 36px; height: 1px; background: rgba(255,255,255,.7); vertical-align: middle; margin-right: 14px; }
/* labeled: small-caps label with a rule, serif lead */
.luxe .labeled { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px 80px; }
.luxe .labeled h2 { padding-top: 10px; }
.luxe .labeled h2::before { content: ""; display: block; width: 36px; height: 1px; background: currentColor; margin-bottom: 18px; opacity: .6; }
/* split: taller image, more air, slow zoom */
.luxe .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px 96px; }
.luxe .split .pic { aspect-ratio: 4 / 5; }
.luxe .split .pic.tall { aspect-ratio: 3 / 4; max-width: none; }
.luxe .split h2, .luxe .cols h2, .luxe .list h2, .luxe .pair h2, .luxe .cards h2, .luxe .contact h2, .luxe .team h2 { font-size: clamp(32px, 3.4cqi, 54px); line-height: 1.1; letter-spacing: -.01em; }
.luxe .split h2 { margin-bottom: 26px; }
.luxe .pic img { transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.luxe .split .pic:hover img, .luxe .cols .pic:hover img, .luxe .cards .pic:hover img, .luxe .hl-grid .pic:hover img { transform: scale(1.035); }
/* bands: taller, slow settle */
.luxe .band { height: clamp(320px, 62vh, 760px); }
.luxe .sec.fade .band img, .luxe .band.fade img { transform: scale(1.06); transition: transform 2.2s cubic-bezier(.2,.8,.2,1); }
.luxe .band.fade.in img { transform: none; }
/* columns */
.luxe .cols .grid { gap: 56px 48px; margin-top: 56px; }
.luxe .cols .pic { aspect-ratio: 4 / 5; margin-bottom: 22px; }
.luxe .cols h3 { font-size: 28px; margin-bottom: 10px; }
.luxe .cols .sub { font-size: 18px; font-weight: 300; color: var(--muted); }
.luxe .cols .more { margin-top: 16px; border-bottom-color: var(--line); color: var(--ink); }
/* lists */
.luxe .list ul { margin-top: 40px; column-gap: 72px; }
.luxe .list li { font-size: 16px; font-weight: 300; padding: 16px 0; }
.luxe .dark.list li { border-color: #2a2927; }
/* statement and quote: centered serif italic */
.luxe .statement { text-align: center; }
.luxe .statement .copy { margin: 0 auto; }
.luxe .statement p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(32px, 4cqi, 64px); line-height: 1.12; letter-spacing: 0; max-width: 24ch; margin: 0 auto; }
.luxe .statement p::before { content: ""; display: block; width: 48px; height: 1px; background: currentColor; opacity: .5; margin: 0 auto 34px; }
.luxe .quote { background: transparent; text-align: center; padding-top: 60px; padding-bottom: 60px; }
.luxe .quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 3.2cqi, 48px); line-height: 1.15; max-width: 30ch; margin: 0 auto; }
/* cards (article teasers) */
.luxe .cards .grid { gap: 48px 40px; margin-top: 48px; }
.luxe .cards .pic { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.luxe .cards h3 { font-size: 24px; line-height: 1.2; }
/* team */
.luxe .team .grid { gap: 48px; margin-top: 56px; }
.luxe .team .pic { aspect-ratio: 4 / 5; }
.luxe .team .tag { position: static; background: none; padding: 16px 0 0; font-size: 15px; font-weight: 300; }
.luxe .team .tag b { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0; margin-bottom: 2px; }
/* pair */
.luxe .pair .two { gap: 72px; }
/* form */
.luxe .form { background: transparent; gap: 48px 96px; }
.luxe .form h1 { font-weight: 300; font-size: clamp(48px, 6cqi, 96px); line-height: 1; letter-spacing: 0; }
.luxe .form h1 span { padding-left: 0 !important; }
.luxe .form .copy { margin-top: 32px; }
.luxe .form .f { margin-bottom: 26px; }
.luxe .form label { margin-bottom: 8px; }
.luxe .form input, .luxe .form textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; font-size: 17px; font-weight: 300; color: var(--ink); }
.luxe .form input:focus, .luxe .form textarea:focus { outline: none; border-bottom-color: var(--ink); }
/* contact */
.luxe .contact dd { font-size: 17px; font-weight: 300; padding-bottom: 16px; margin-bottom: 16px; }
.luxe .contact .fo b { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.luxe .contact .fo .pic, .luxe .contact .fo img { width: 88px; height: 88px; }
/* dark blocks: warm white type, soft lines */
.luxe .sec.dark { background: #0c0c0c; color: #cfcbc3; }
.luxe .dark h2, .luxe .dark h3 { color: #f3f0ea; }
/* highlights, article, partner */
.luxe .hl-feat .t h2 { font-size: clamp(36px, 4cqi, 64px); line-height: 1.05; }
.luxe .hl-grid h3 { font-size: 24px; line-height: 1.2; }
.luxe .art h1 { font-weight: 300; font-size: clamp(40px, 5cqi, 76px); line-height: 1.02; }
.luxe .art .body p { font-size: 18px; font-weight: 300; line-height: 1.75; }
.luxe .art .body h2 { font-size: 34px; } .luxe .art .body h3 { font-size: 26px; }
.luxe .pt-grid .lg { background: transparent; }
/* footer with more air */
.luxe .foot { padding: 72px 6% 32px; }
@media (max-width: 700px) {
  .luxe .sec { padding-top: 72px; padding-bottom: 72px; }
  .luxe .hero .txt { bottom: 8%; }
  .luxe .labeled { gap: 16px; }
}

/* V4 with the house sans instead of the serif: same air, same rules, automotive tone */
.luxe.sans h1, .luxe.sans h2, .luxe.sans h3, .luxe.sans .lead, .luxe.sans .copy p.lead, .luxe.sans .statement p, .luxe.sans .quote p, .luxe.sans .team .tag b, .luxe.sans .contact .fo b, .luxe.sans .hl-feat .t h2, .luxe.sans .hl-grid h3, .luxe.sans .art h1, .luxe.sans .cols h3, .luxe.sans .cards h3, .luxe.sans .form h1 { font-family: var(--font); font-weight: 300; letter-spacing: -.03em; }
.luxe.sans .hero h1 { font-weight: 300; font-size: clamp(48px, 7.4cqi, 120px); line-height: 1; letter-spacing: .01em; }
.luxe.sans .form h1 { font-size: clamp(44px, 5.4cqi, 84px); letter-spacing: -.03em; line-height: 1.02; }
.luxe.sans .lead, .luxe.sans .copy p.lead { font-size: clamp(24px, 2.4cqi, 36px); line-height: 1.25; max-width: 28ch; }
.luxe.sans .split h2, .luxe.sans .cols h2, .luxe.sans .list h2, .luxe.sans .pair h2, .luxe.sans .cards h2, .luxe.sans .contact h2, .luxe.sans .team h2 { font-size: clamp(28px, 3cqi, 46px); line-height: 1.08; }
.luxe.sans .statement p { font-style: normal; font-size: clamp(28px, 3.4cqi, 54px); line-height: 1.1; }
.luxe.sans .quote p { font-style: normal; font-weight: 300; font-size: clamp(24px, 2.6cqi, 40px); }
.luxe.sans .cols h3 { font-size: 22px; } .luxe.sans .cards h3 { font-size: 20px; } .luxe.sans .team .tag b, .luxe.sans .contact .fo b { font-size: 20px; }
.luxe.sans .hl-feat .t h2 { font-size: clamp(32px, 3.6cqi, 56px); } .luxe.sans .art h1 { font-size: clamp(36px, 4.6cqi, 68px); }
.pbody.luxe { background: var(--paper); }

/* bar: icon buttons and the view-mode segment */
.tb.ic { width: 30px; padding: 0; justify-content: center; }
.seg { display: inline-flex; gap: 1px; background: #1d1c1b; border: 1px solid var(--bar-line); border-radius: 8px; padding: 2px; height: 30px; }
.seg button { all: unset; cursor: pointer; width: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--bar-muted); }
.seg button:hover { color: var(--bar-fg); }
.seg button[aria-pressed="true"] { background: #2b2a28; color: var(--bar-fg); }
/* fit mode: desktop layout zoomed into the frame */
:is(.site, .pbody).fit > *:not(.drawer):not(.drawer-dim):not(.hov) { zoom: var(--k, 1); }
:is(.site, .pbody).fit { --fitw: 1440px; background: #0b0b0b; }
:is(.site, .pbody).fit > :is(.sec, .secwrap, .nav, .art, .simple, .addrow):not(.dark):not(.band):not(.hero):not(.card) { background-color: var(--paper); }
:is(.site, .pbody).fit > .secwrap > .sec:not(.dark):not(.band):not(.hero):not(.card) { background-color: var(--paper); }
.site.all, #site.all, .pbody:has(> .galwrap) { background: #0b0b0b; } .ovw.galwrap { background: transparent; } .galwrap .mini { border-color: #2a2a2a; } .galwrap .mini-cap { background: var(--paper); }
:is(.site, .pbody).fit > .sec, :is(.site, .pbody).fit > .secwrap, :is(.site, .pbody).fit > .foot, :is(.site, .pbody).fit > .nav, :is(.site, .pbody).fit > .art, :is(.site, .pbody).fit > .simple, :is(.site, .pbody).fit > .addrow { width: 1440px; max-width: none; }
:is(.site, .pbody).fit > .sec.hero .img, .pbody.fit .hero .img { height: 820px; }
/* inside a zoomed child, % and cqi are measured against the frame divided by the zoom: fix the gutters in px */
:is(.site, .pbody).fit > .sec:not(.hero):not(.band), :is(.site, .pbody).fit > .secwrap > .sec:not(.hero):not(.band) { padding-left: 120px; padding-right: 120px; }
:is(.site, .pbody).fit > .nav, :is(.site, .pbody).fit > .foot, :is(.site, .pbody).fit > .art, :is(.site, .pbody).fit > .simple { padding-left: 86px; padding-right: 86px; }
:is(.site, .pbody).fit > .sec .txt, :is(.site, .pbody).fit > .sec .maplink { left: 86px; }
:is(.site, .pbody).fit > .band { height: 560px; }
:is(.site, .pbody).fit > *:not(.drawer):not(.drawer-dim):not(.hov) { margin-left: auto; margin-right: auto; }
/* info modal subtabs */
.subtabs { display: flex; gap: 4px; flex-wrap: wrap; margin: -6px 0 4px; }
.subtabs button { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font: 500 12.5px var(--font); color: var(--body); background: var(--paper); }
.subtabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ovw a { color: var(--ink); }
/* V4 hero: soft dark gradients under the nav and at the foot so the type always reads */
.luxe .hero .img::after { background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 52%, rgba(0,0,0,.62) 100%); }

.galwrap { padding: 40px 32px 48px; max-width: none; }
.pbody .galwrap { padding: 24px 20px 32px; }
.pbody .gal { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }

/* Responsive by container, not viewport: the frame (or a compare pane, or a phone frame) decides */
.site, .pbody, .mini-in { container-type: inline-size; container-name: site; }
@container site (max-width: 760px) { .nav.top, .nav.onimg { padding-top: 22px; } .cols .grid { grid-template-columns: 1fr; } .hl-feat, .hl-grid { grid-template-columns: 1fr; } .hero .stb, .form .stb { top: 10px; } .nav .logo img { width: 120px; } .nav { padding-left: 20px; padding-right: 20px; } }
@container site (max-width: 700px) { .labeled, .luxe .labeled { grid-template-columns: 1fr; } .split, .luxe .split { grid-template-columns: 1fr; } .split.right .pic { order: 0; } .cards .grid { grid-template-columns: 1fr; } .team .grid { grid-template-columns: 1fr; } .pair .two, .pair .imgs { grid-template-columns: 1fr; } .videos .grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } .foot .grid { grid-template-columns: 1fr 1fr; } .sec { padding-left: 20px; padding-right: 20px; } .hero .txt { left: 20px; } .luxe .sec { padding-top: 72px; padding-bottom: 72px; } .luxe .hero .txt { bottom: 8%; } .luxe .labeled { gap: 16px; } .pt-grid { grid-template-columns: repeat(3, 1fr); } .art { padding-left: 20px; padding-right: 20px; } .gal { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@container site (max-width: 600px) { .list ul { grid-template-columns: 1fr; } .contact .grid { grid-template-columns: 1fr; } .pt-grid { grid-template-columns: repeat(2, 1fr); } }
/* phone frame */
.site.mobile { left: 50%; right: auto; width: 390px; margin-left: -195px; top: 50%; bottom: auto; height: min(844px, 100vh - 92px); transform: translateY(-50%); margin-top: 28px; border-radius: 40px; padding-top: 54px; padding-bottom: 84px; box-sizing: border-box; }
.site.mobile::before { content: ""; position: sticky; top: -54px; display: block; height: 0; }
#phone { position: fixed; left: 50%; top: 50%; width: 390px; height: min(844px, 100vh - 92px); margin-left: -195px; margin-top: 28px; transform: translateY(-50%); z-index: 44; pointer-events: none; border-radius: 40px; box-shadow: 0 0 0 10px #151515, 0 0 0 11px #3a3a3a, 0 30px 80px rgba(0,0,0,.5); color: #0b0b0b; }
#phone[hidden] { display: none; }
#phone .ph-top { position: absolute; left: 0; right: 0; top: 0; height: 54px; border-radius: 40px 40px 0 0; background: var(--paper); display: flex; align-items: center; justify-content: space-between; padding: 8px 30px 0 34px; font: 600 15px/1 -apple-system, "SF Pro Text", var(--font); }
#phone .ph-island { position: absolute; left: 50%; top: 11px; width: 120px; height: 34px; margin-left: -60px; border-radius: 20px; background: #000; }
#phone .ph-icons { display: inline-flex; gap: 6px; align-items: center; }
#phone .ph-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; border-radius: 0 0 40px 40px; background: rgba(249,249,249,.96); border-top: 1px solid rgba(0,0,0,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#phone .ph-url { margin: 8px 14px 0; height: 36px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; gap: 6px; font: 400 14px/1 -apple-system, var(--font); color: #1a1a1a; }
#phone .ph-nav { display: flex; justify-content: space-between; padding: 6px 26px 0; font-size: 20px; color: #0a7aff; line-height: 1; }
#phone .ph-home { position: absolute; left: 50%; bottom: 7px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #0b0b0b; }
body.cmp #phone { display: none; } body.cmp .site.mobile { padding: 0; height: auto; top: 68px; bottom: 12px; transform: none; margin-top: 0; border-radius: 14px; }
.site.mobile .hero .img, .site.mobile .pbody .hero .img { height: calc(min(844px, 100vh - 92px) - 138px); max-height: 706px; }
.site.mobile .drawer { top: 54px; right: 0; bottom: 84px; width: 100%; border-radius: 0; padding: 72px 28px 28px; overflow: auto; }
.site.mobile .drawer-dim { top: 54px; bottom: 84px; left: 0; right: 0; border-radius: 0; }
.site.mobile .drawer .x { left: auto; right: 20px; top: 16px; width: 36px; height: 36px; }
.site.mobile .drawer .dlogo { margin-top: 2vh; } .site.mobile .drawer .dlogo img { width: 150px; }
.site.mobile .drawer ul { margin-top: 5vh; font-size: 24px; gap: 8px; }
.site.mobile .drawer > :last-child { margin-top: 28px; }
body.cmp .site.mobile { width: 792px; margin-left: -396px; grid-template-columns: 390px 390px; }
body.cmp.stacked .site.mobile { width: 390px; margin-left: -195px; grid-template-columns: 1fr; }

@media (max-width: 420px) { .site.mobile { left: 8px; right: 8px; width: auto; margin-left: 0; } }

.cms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cms-it { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; }
.cms-it .th { aspect-ratio: 4 / 3; background: var(--card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cms-it .th img { width: 100%; height: 100%; object-fit: cover; }
.cms-it.logo .th img { object-fit: contain; padding: 14px; background: #fff; }
.cms-it .cap { padding: 8px 10px; font-size: 11.5px; line-height: 1.35; color: var(--body); display: grid; gap: 3px; }
.cms-it .cap b { font-weight: 500; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.cms-it .cap .use { color: var(--muted); }
.cms-it.unused { opacity: .55; }
.cf .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf .sent.err { color: #b3261e; }
.iq { border: 1px solid var(--line, #2a2927); border-radius: 12px; padding: 14px 16px 12px; margin: 0 0 10px; background: var(--card, #1b1a19); } .iq.done { opacity: .55; }
.iq-h { display: flex; align-items: baseline; gap: 10px; font-size: 13px; } .iq-h b { color: var(--ink); font-weight: 600; } .iq-h span { margin-left: auto; color: var(--muted); font-size: 12px; }
.iq-m { margin: 10px 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.iq-f { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; } .iq-f a { color: var(--ink); } .iq-f .fd-done { margin-left: auto; }
.iq-re { all: unset; cursor: pointer; margin-left: auto; font-size: 12.5px; color: var(--muted); } .iq-re:hover { color: var(--ink); }
.img-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -4px 0 12px; }
.img-bar .ce-seg { flex-wrap: nowrap; } .img-bar .ce-seg button { white-space: nowrap; } .sg-n { opacity: .55; font-variant-numeric: tabular-nums; margin-left: 2px; }
.img-cat { margin-left: auto; font: inherit; font-size: 12.5px; color: var(--ink); background: var(--card); border: 0; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.img-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 160px; border: 1.5px dashed rgba(255,255,255,.18); border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink); text-align: center; } .img-tile span { font-size: 26px; font-weight: 300; line-height: 1; opacity: .7; } .img-tile small { font-weight: 400; font-size: 11.5px; color: var(--muted); } .img-tile:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.03); } .img-tile.off { opacity: .4; cursor: default; }
.img-st { width: 100%; font-size: 12.5px; color: var(--muted); }
.img-drop { border-radius: 12px; transition: outline-color .15s; outline: 2px dashed transparent; outline-offset: 6px; } .img-drop.over { outline-color: #3b82f6; }
.img-hint { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.cms-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: -4px 0 8px; }
.cms-stats b { color: var(--ink); font-weight: 500; }
.cms-big { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; padding: 40px; }
.cms-big img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cms-big .meta { position: absolute; left: 24px; bottom: 20px; color: #fff; font-size: 13px; }

.tb.sm { padding: 0 8px; font-size: 11px; margin-left: -2px; }
/* positioned comment pins and boxes */
.cpin.pos { transform: translate(-50%, -50%); right: auto; bottom: auto; font-size: 11px; }
.cpin.pos.draft { background: var(--edit); }
.cbox.pos { right: auto; bottom: auto; transform: translate(-50%, 18px); }
body.comments .sec:not(.hero):not(.band), body.comments .art { cursor: copy; }
body.comments .sec a, body.comments .sec button, body.comments .sec input, body.comments .sec textarea { cursor: pointer; }
.pin { transition: top .25s, left .25s; }
.note.open { z-index: 33; }

/* blog: media and links inside a post */
.art .body .afig { margin: 28px 0; }
.art .body .agal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; } .art .body .agal .afig { margin: 0; } .art .body .agal .afig img { aspect-ratio: 4 / 3; object-fit: cover; }
.art .body .agal:empty { display: none; } .art .body .afig img { width: 100%; height: auto; display: block; border-radius: 2px; }
.art .body .avid { margin: 28px 0; } .art .body .avid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #111; }
.art .body .avid.vert video { display: block; width: auto; max-width: 100%; height: min(80vh, 760px); aspect-ratio: 9 / 16; margin: 0 auto; background: #111; border-radius: 2px; object-fit: cover; }
.art .body .avid figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.art .body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.art .body a.alink { display: inline-block; text-decoration: none; border: 1px solid currentColor; padding: 10px 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.luxe .art .body a.alink { border-color: var(--line); padding: 12px 20px; font-size: 11px; letter-spacing: .2em; }
.art.legal .body { max-width: 72ch; } .art.legal .body p { font-size: 15px; line-height: 1.6; } .art.legal .body h2 { font-size: 22px; margin-top: 2em; } .art.legal .body h3 { font-size: 17px; } .art.legal .body h4 { font-size: 15px; margin: 1.2em 0 .4em; } .art.legal .body ul { padding-left: 20px; } .art.legal .body li { font-size: 15px; line-height: 1.55; margin-bottom: .5em; }
.art.legal .body a { word-break: normal; overflow-wrap: anywhere; } .art.legal .body p { overflow-wrap: break-word; }
.luxe .art.legal .body p, .luxe .art.legal .body li { font-size: 16px; font-weight: 300; line-height: 1.7; }

/* V4 on a phone: tighter rhythm, shorter images, one column everywhere */
@container site (max-width: 700px) {
  .luxe .sec { padding: 64px 24px; } .luxe .sec.hero, .luxe .sec.band { padding: 0; }
  .luxe .nav { padding: 20px 24px; }
  .luxe .hero .txt { left: 24px; right: 24px; bottom: 40px; max-width: none; }
  .luxe .hero h1, .luxe.sans .hero h1 { font-size: clamp(40px, 11cqi, 56px); }
  .luxe .hero .sub { font-size: 13px; }
  .luxe .lead, .luxe .copy p.lead, .luxe.sans .lead, .luxe.sans .copy p.lead { font-size: 24px; max-width: none; }
  .luxe .split h2, .luxe .cols h2, .luxe .list h2, .luxe .pair h2, .luxe .cards h2, .luxe .contact h2, .luxe .team h2, .luxe.sans .split h2, .luxe.sans .cols h2, .luxe.sans .list h2, .luxe.sans .pair h2, .luxe.sans .cards h2, .luxe.sans .contact h2, .luxe.sans .team h2 { font-size: 28px; }
  .luxe .statement p, .luxe.sans .statement p { font-size: 28px; max-width: none; } .luxe .quote p, .luxe.sans .quote p { font-size: 24px; max-width: none; }
  .luxe .band { height: clamp(300px, 110cqi, 460px); }
  .luxe .split { gap: 28px; } .luxe .split .pic, .luxe .split .pic.tall { aspect-ratio: 4 / 5; }
  .luxe .cols .grid { gap: 40px; margin-top: 40px; } .luxe .cols .pic { aspect-ratio: 1; margin-bottom: 18px; } .luxe .cols h3 { font-size: 24px; }
  .luxe .cards .grid { gap: 36px; margin-top: 36px; } .luxe .cards h3 { font-size: 22px; }
  .luxe .team .grid { gap: 36px; margin-top: 40px; }
  .luxe .labeled { gap: 12px; }
  .luxe .form { gap: 32px; } .luxe .form h1, .luxe.sans .form h1 { font-size: 40px; }
  .luxe .foot { padding: 56px 24px 28px; } .luxe .foot .grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .luxe .foot .bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .luxe .art { padding: 56px 24px 48px; } .luxe .art h1, .luxe.sans .art h1 { font-size: 34px; } .luxe .art .body p { font-size: 17px; }
  .luxe .hl-feat .t h2, .luxe.sans .hl-feat .t h2 { font-size: 30px; }
  .luxe .hl-grid { grid-template-columns: 1fr; }
}

/* map band: own OpenStreetMap map, text width, drag and zoom */
.band.map, .luxe .band.map { height: auto; aspect-ratio: 30 / 11; min-height: 0; max-width: none; width: auto; margin: 0 max(6%, calc((100% - 1200px) / 2)) 96px; padding: 0; border-radius: 2px; background: #f3f1ec; isolation: isolate; overflow: hidden; }
@container site (max-width: 700px) { .band.map, .luxe .band.map { aspect-ratio: auto; height: 400px; margin: 0 20px 56px; } }
.band.map .mapvp { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; }
.band.map .mapvp.drag { cursor: grabbing; }
.band.map .mapvp img.mapimg { position: absolute; left: calc(50% - 1957px); top: calc(50% - 2740px); width: 4036px; height: 5928px; max-width: none; object-fit: fill; pointer-events: none; -webkit-user-drag: none; }
.band.map .mapvp svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.band.map .mappin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2; pointer-events: none; }
.band.map .mappin i { position: absolute; left: -11px; top: -11px; width: 16px; height: 16px; border-radius: 50%; background: #485961; border: 3px solid #fff; box-shadow: 0 0 0 12px rgba(72,89,97,.14); }
.band.map .mpcard { position: absolute; left: 0; bottom: 26px; transform: translateX(-50%); display: grid; gap: 4px; white-space: nowrap; background: #fff; border-radius: 3px; padding: 11px 16px 12px; box-shadow: 0 4px 16px rgba(31,42,46,.12); text-align: center; }
.band.map .mpcard::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.band.map .mpcard b { font: 500 17px/1.15 var(--font, serif); color: #1f2a2e; } .band.map .mpcard span { font: 400 11.5px/1.2 var(--display, sans-serif); letter-spacing: .04em; color: #6f6b63; }
.band.map .mapcard { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 15px 22px; border-radius: 2px; background: #1f2a2e; color: #f3f1ec; text-decoration: none; font: 400 12px/1 var(--display, var(--font)); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(31,42,46,.22); transition: background .15s; }
.band.map .mapcard:hover { background: #485961; }
.band.map .mapzoom { position: absolute; right: 16px; top: 16px; z-index: 3; display: grid; background: #fff; border-radius: 2px; box-shadow: 0 2px 10px rgba(31,42,46,.16); overflow: hidden; }
.band.map .mapzoom button { width: 38px; height: 38px; border: 0; margin: 0; padding: 0; background: #fff; color: #1f2a2e; font: 300 22px/1 var(--font, serif); cursor: pointer; display: grid; place-items: center; }
.band.map .mapzoom button + button { border-top: 1px solid #e6e2da; }
.band.map .mapzoom button:hover { background: #f3f1ec; } .band.map .mapzoom button:disabled { color: #c9c4ba; cursor: default; background: #fff; }
.band.map .mapcred { position: absolute; right: 6px; bottom: 4px; z-index: 2; font: 400 9.5px/1.4 var(--display, sans-serif); color: #8f8a80; background: rgba(243,241,236,.8); padding: 1px 5px; border-radius: 2px; pointer-events: none; }
.band.map .maphint { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(31,42,46,.45); color: #fff; font: 400 15px/1.3 var(--font, serif); text-align: center; padding: 20px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.band.map .maphint.on { opacity: 1; }
.band.map .maplink, .band.map .mapall, .band.map .gmap { display: none; }
/* references: filter chips and site cards */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.chips button { font: inherit; font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ref { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.4; }
.ref:hover { border-color: var(--ink); }
.ref .rc { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } .ref b { font-size: 15px; font-weight: 500; } .ref .ru { color: var(--muted); font-size: 12px; } .ref .rt { margin-top: 4px; }

.cms-it .cap .pl { font-size: 11px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); align-self: flex-start; }
.cms-it .cap .pl.none { color: var(--muted); border: 0; }
.cms-arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cms-art { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--card); }
.cms-art .th { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #ddd; cursor: zoom-in; } .cms-art .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-art .cap { display: grid; gap: 4px; align-content: start; font-size: 12px; } .cms-art .cap a { text-decoration: none; } .cms-art .cap b { font-size: 13px; line-height: 1.3; }
.cms-art .use { color: var(--muted); }
.cms-art .dates { display: flex; gap: 14px; margin-top: 4px; } .cms-art .dates span { display: grid; } .cms-art .dates i { font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .cms-art .dates em { color: var(--muted); font-style: normal; }
@container site (max-width: 1000px) { .foot .grid { grid-template-columns: 1fr 1fr; } }
@container site (max-width: 420px) { .foot .grid, .luxe .foot .grid { grid-template-columns: 1fr; } }
.phead small b { font-weight: 500; color: inherit; }

/* who am I */
#whomodal { position: fixed; inset: 0; z-index: 60; } #whomodal[hidden] { display: none; }
#whomodal .mdim { position: absolute; inset: 0; background: rgba(12,12,12,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
#whomodal .who { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100% - 32px)); background: var(--paper); border-radius: 16px; padding: 28px 28px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
#whomodal h1 { font-size: 28px; margin: 8px 0 6px; } #whomodal p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
#whomodal .whos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#whomodal .whos button { font: inherit; display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; }
#whomodal .whos button:hover { border-color: var(--ink); }
#whomodal .whos .av { width: 36px; height: 36px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #1a1a1a; font-weight: 600; font-style: normal; }
#whomodal .whoother { display: flex; gap: 8px; margin-top: 14px; }
#whomodal .whoother input { flex: 1; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
#whomodal .whoother button { font: inherit; font-size: 13px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.mark { display: inline-flex; align-items: center; gap: 7px; }
.mark .av { width: 22px; height: 22px; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #1a1a1a; font-weight: 600; font-style: normal; }
.mark span { font-weight: 500; font-size: 13px; }

.ovw .todo { background: #fff8d6; border-color: #efd97a; }
.ovw .todo .eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7a6410; font-weight: 500; }
.ovw .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ovw .act { display: inline-block; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 2px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: #fff; font-weight: 500; }
.ovw .act.dark, .ovw .act:hover { background: var(--ink); color: #fff; }
.ovw .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .ovw .steps.four { grid-template-columns: repeat(4, 1fr); }
.ovw .steps .box { display: grid; gap: 6px; font-size: 14px; } .ovw .steps b { font-size: 15px; }
@media (max-width: 760px) { .ovw .steps { grid-template-columns: 1fr; } }

.pin.tg-neu { background: #d7ecff; color: #0b3a66; } .pin.tg-neu:hover, .pin.tg-neu[aria-expanded="true"] { background: #b5dbff; }
.pin.tg-umgestellt { background: #e4d9ff; color: #35206b; } .pin.tg-umgestellt:hover, .pin.tg-umgestellt[aria-expanded="true"] { background: #d0bfff; }
.pin.tg-wörtlich { background: #d8efe0; color: #0d4a2a; } .pin.tg-wörtlich:hover, .pin.tg-wörtlich[aria-expanded="true"] { background: #b9e5c9; }
.pin.tg-wie { background: #e9e5dc; color: #3b3a36; } .pin.tg-wie:hover, .pin.tg-wie[aria-expanded="true"] { background: #d9d4c8; }
.note.tg-neu { background: #e6f3ff; color: #0b3a66; } .note.tg-umgestellt { background: #efe9ff; color: #35206b; } .note.tg-wörtlich { background: #e7f6ec; color: #0d4a2a; } .note.tg-wie { background: #f1eee8; color: #3b3a36; }

.cms-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.cms-tbl th { text-align: left; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cms-tbl td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cms-tbl tr:last-child td { border-bottom: 0; }
.cms-tbl td:first-child { width: 64px; padding-right: 0; } .cms-tbl .th { width: 64px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #ddd; cursor: zoom-in; } .cms-tbl .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-tbl td:nth-child(2) { font-weight: 500; max-width: 420px; } .cms-tbl td:nth-child(2) a { text-decoration: none; }
.cms-tbl td:nth-child(3), .cms-tbl td:nth-child(4), .cms-tbl td:nth-child(5) { color: var(--muted); white-space: nowrap; }
.cms-tbl td:nth-child(6), .cms-tbl td:nth-child(7) { white-space: nowrap; font-variant-numeric: tabular-nums; } .cms-tbl .dim { color: var(--muted); }
.cms-tbl tr:hover td { background: rgba(0,0,0,.025); }
@media (max-width: 760px) { .cms-tbl th:nth-child(3), .cms-tbl td:nth-child(3), .cms-tbl th:nth-child(4), .cms-tbl td:nth-child(4), .cms-tbl th:nth-child(5), .cms-tbl td:nth-child(5) { display: none; } }

/* V4 with the weights of the other versions */
.luxe.sans.std h1, .luxe.sans.std h2, .luxe.sans.std h3, .luxe.sans.std .hero h1, .luxe.sans.std .form h1, .luxe.sans.std .hl-feat .t h2, .luxe.sans.std .art h1 { font-weight: 500; letter-spacing: -.02em; }
.luxe.sans.std .lead, .luxe.sans.std .copy p.lead, .luxe.sans.std .statement p, .luxe.sans.std .quote p { font-weight: 500; }
.luxe.sans.std p, .luxe.sans.std .copy p, .luxe.sans.std li, .luxe.sans.std .art .body p, .luxe.sans.std .cols .sub, .luxe.sans.std .team .tag, .luxe.sans.std .contact dd { font-weight: 400; }

.ovw .box.link { font: inherit; text-align: left; cursor: pointer; display: grid; gap: 6px; } .ovw .box.link:hover { border-color: var(--ink); } .ovw .box.link b { font-size: 15px; } .ovw .box.link span { font-size: 14px; color: var(--muted); }
.ovw .golink { display: block; margin-top: 6px; font-size: 13px; }
.ggrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gcard { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; }
.gcard .gi { width: 34px; height: 34px; border-radius: 9px; background: #141414; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.gcard b { display: block; font-size: 14px; margin-bottom: 3px; } .gcard span { color: #3b3a36; line-height: 1.45; }
@media (max-width: 760px) { .ggrid { grid-template-columns: 1fr; } }

:is(.site, .pbody).fit .sec.fade, :is(.site, .pbody).fit .art.fade { opacity: 1; transform: none; transition: none; }
:is(.site, .pbody).fit > .band.map, :is(.site, .pbody).fit > .secwrap > .band.map { max-width: none; width: 1200px; margin: 0 auto 96px; }

.hov.ctx { box-shadow: 0 12px 32px rgba(0,0,0,.35); } .hov .x { margin-left: 2px; padding: 0 6px; }

/* heroes and bands bleed on every width and in every version */
@container site (max-width: 700px) { .sec.hero, .sec.band, .luxe .sec.hero, .luxe .sec.band { padding-left: 0; padding-right: 0; } }
.sec.hero, .sec.band { padding-left: 0; padding-right: 0; }

.vmenu .new { display: grid; gap: 2px; padding: 10px 10px 8px; }
.vmenu .new .bases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.vmenu .new .bases button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 9px; min-width: 0; overflow: hidden; white-space: nowrap; border: 1px solid var(--bar-line); border-radius: 7px; background: #1d1c1b; color: var(--bar-fg); font-size: 12px; font-weight: 500; cursor: pointer; }
.vmenu .new .bases button small { font-weight: 400; font-size: 10px; color: var(--bar-muted); }
.vmenu .new .bases button:hover { background: #2b2a28; }

.stb .lays { display: inline-flex; gap: 1px; padding: 0 2px; }
.stb .lays button { padding: 4px 6px; display: inline-flex; align-items: center; color: var(--bar-muted); }
.stb .lays button:hover { color: var(--bar-fg); }
.stb .lays button[aria-pressed="true"] { background: #f1efe9; color: #0b0b0b; }
.stb > button:last-child { margin-left: auto; }
.chg li.why { color: #3b3a36; background: #f3f1ec; border-radius: 8px; padding: 10px 12px; margin-top: 8px; border-top: 0; }

/* every inset image: 2 px radius, in all versions; full-bleed heroes and bands none */
.hl-feat .pic, .hl-grid .pic, .art .pic, .art .body .afig img, .art .body .avid iframe, .pt-grid .lg, .agal .afig, .luxe .split .pic, .luxe .cols .pic, .luxe .cards .pic, .luxe .team .pic { border-radius: 2px; }
.sec.hero .img, .sec.band .pic, .sec.band img { border-radius: 0; }

/* Highlights, V1 to V3: like the live site. Sand block behind the top of the big image, white card with meta and title, grid 2 × 2 */
.hlhero { padding: 24px 6% 0; position: relative; }
.hlhero::before { display: none; }
.hl-feat { display: block; position: relative; }
.hl-feat .pic { aspect-ratio: 1780 / 830; overflow: hidden; background: #ddd; position: relative; }
.hl-feat .tcard { position: absolute; left: 5%; top: 27%; width: min(48%, 860px); background: #fff; border-radius: 12px; padding: 48px 56px 52px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.hl-feat .m { font-size: clamp(14px, 1.4cqi, 20px); color: var(--ink); margin-bottom: 18px; } .hl-feat .m .msep { color: #c8c6c0; margin: 0 10px; }
.hl-feat h2 { font-size: clamp(30px, 4cqi, 64px); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
.hl-grid { grid-template-columns: 1fr 1fr; gap: 72px 72px; margin-top: 8px; }
.hl-grid .pic { aspect-ratio: 860 / 580; margin-bottom: 36px; }
.hl-grid .m { font-size: clamp(14px, 1.3cqi, 20px); color: var(--ink); margin-bottom: 18px; }
.hl-grid h3 { font-size: clamp(22px, 2.4cqi, 36px); font-weight: 500; line-height: 1.15; }
.sec.card .hl-grid + .addbtn { margin-top: 24px; }
@container site (max-width: 760px) { .hlhero { padding: 16px 20px 0; } .hl-feat .pic { aspect-ratio: 4 / 3; } .hl-feat .tcard { position: static; width: auto; margin: -40px 12px 0; padding: 24px; } .hl-grid { grid-template-columns: 1fr; gap: 40px; } .hl-grid .pic { margin-bottom: 16px; } }
/* V4: same card-over-image feature as live, in V4 type; the whole feature is one link */
.luxe .hlhero { padding: 24px 6% 0; }
.luxe .hl-feat .tcard { background: #fff; border-radius: 2px; box-shadow: none; padding: 40px 48px 44px; }
.luxe .hl-feat .m { font-family: var(--font); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.luxe .hl-feat h2, .luxe .hl-feat .t h2 { font-weight: 300; font-size: clamp(30px, 3.8cqi, 58px); line-height: 1.05; }
.luxe .hl-grid { gap: 72px 64px; } .luxe .hl-grid .pic { aspect-ratio: 860 / 580; margin-bottom: 24px; } .luxe .hl-grid h3 { font-weight: 300; font-size: clamp(22px, 2.4cqi, 36px); }
.hl-feat a.feat { position: absolute; inset: 0; z-index: 1; } .hl-feat .tcard { z-index: 2; } .hl-feat .pic .imgbtn { z-index: 3; }
.hl-feat .pic img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); } .hl-feat:hover .pic img { transform: scale(1.02); }
.site.mobile .hl-feat .tcard, .site.mobile.luxe .hl-feat .tcard { bottom: auto; }

/* stacked compare: the newer version on top */
body.cmp.stacked .pane[data-side="b"] { order: -1; }
body.cmp.stacked .pane[data-side="a"] .phead { padding-top: 10px; }
.hl-feat .m .msep { color: #b5b2aa; }

/* Design tab: a small brand kit */
.kit { display: grid; gap: 18px; }
.kit-h { margin-top: 14px; } .kit-h h2 { font-size: 24px; font-weight: 300; margin: 0 0 4px; } .kit-h p { margin: 0; color: var(--muted); font-size: 14px; max-width: 70ch; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.swatches.small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { aspect-ratio: 4 / 3; border-radius: 10px; border: 1px solid rgba(0,0,0,.06); padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; font-size: 12px; }
.swatches.small .swatch { aspect-ratio: 2.4 / 1; } .swatch b { font-size: 14px; font-weight: 500; }
.spec { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: end; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.spec .sample { font-size: clamp(34px, 5cqi, 72px); line-height: 1; letter-spacing: -.02em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.spec.f-light .sample { font-weight: 300; } .spec.f-reg .sample { font-weight: 500; } .spec.f-serif .sample { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(40px, 6cqi, 88px); letter-spacing: 0; }
.spec.f-label .sample { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding-left: 44px; position: relative; line-height: 1.6; }
.spec.f-label .sample::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: var(--muted); }
.spec .meta { display: grid; gap: 4px; font-size: 13px; color: var(--muted); } .spec .meta b { color: var(--ink); font-weight: 500; font-size: 14px; }
.parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.part { display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.part .demo { aspect-ratio: 4 / 3; border-radius: 10px; background: #f6f4ef; border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 13px; color: var(--ink); }
.part .demo b { font-weight: 300; font-size: 18px; line-height: 1.15; }
.part .demo.dark { background: #0c0c0c; color: #fff; border-color: #0c0c0c; }
.eyebrow-demo { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-left: 22px; position: relative; } .eyebrow-demo::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: currentColor; }
.demo.dark .eyebrow-demo { color: rgba(255,255,255,.6); }
.btn-demo { align-self: flex-start; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 2px; padding: 7px 12px; } .btn-demo.light { border-color: rgba(255,255,255,.8); }
.part .demo.split { flex-direction: row; align-items: center; gap: 14px; } .part .demo.split i { display: block; width: 38%; aspect-ratio: 4 / 5; background: #d9d5cc; border-radius: 2px; } .part .demo.split div { display: grid; gap: 8px; }
.part .demo.band { background: linear-gradient(135deg, #d9d5cc, #b9b4a8); padding: 0; aspect-ratio: 16 / 7; }
.ratios { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; align-items: end; }
.ratio { display: grid; gap: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.ratio i { display: block; width: 100%; background: #d9d5cc; border-radius: 2px; max-height: 150px; margin: 0 auto; }
@media (max-width: 760px) { .spec { grid-template-columns: 1fr; } }

.kit > * { min-width: 0; } .parts > .part { min-width: 0; } .part .demo { min-width: 0; overflow: hidden; }
.spec .sample { min-width: 0; } .spec.f-serif .sample { font-size: clamp(36px, 4.6cqi, 72px); padding-bottom: 6px; }

.refs { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ref { padding: 0; overflow: hidden; display: grid; gap: 0; }
.ref .rshot { all: unset; cursor: zoom-in; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #e9e6df; aspect-ratio: 16 / 7.5; overflow: hidden; }
.ref .rshot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .6s; }
.ref:hover .rshot img { transform: scale(1.03); }
.ref .rbody { padding: 12px 14px 14px; display: grid; gap: 4px; }
.ref .ru { text-decoration: none; color: var(--ink); font-size: 12px; border-bottom: 1px solid var(--line); justify-self: start; margin-top: 4px; }
.refbig .rb-in { display: flex; gap: 12px; max-width: 94vw; max-height: 84vh; }
.refbig .rb-in img { max-height: 84vh; max-width: 46vw; object-fit: contain; border-radius: 4px; background: #fff; }
.refbig .meta a { color: #fff; }

.part .demo.bandd { background: linear-gradient(135deg, #d9d5cc, #a8a294); padding: 0; }
.tov { background: #0c0c0c; color: #f1efe9; border-radius: 14px; padding: 32px 34px; display: grid; gap: 22px; }
.tov-h h2 { font-size: 30px; font-weight: 300; margin: 0 0 6px; color: #fff; } .tov-h p { margin: 0; color: #a9a6a0; font-size: 15px; }
.tov-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tov-pair { display: grid; gap: 0; border: 1px solid #2a2a2a; border-radius: 10px; overflow: hidden; font-size: 15px; line-height: 1.4; }
.tov-pair > div { padding: 14px 16px; display: grid; gap: 4px; } .tov-pair span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.tov-pair .no { color: #8d8a84; text-decoration: line-through; text-decoration-color: #5a5855; } .tov-pair .no span { text-decoration: none; color: #6f6c66; display: block; }
.tov-pair .yes { background: #181817; color: #fff; font-weight: 300; font-size: 17px; } .tov-pair .yes span { color: #9fd8b2; }
.tov-words { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .tov-words > div { border-top: 1px solid #2a2a2a; padding-top: 12px; } .tov-words span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #8d8a84; } .tov-words p { margin: 6px 0 0; font-size: 15px; font-weight: 300; }
@media (max-width: 760px) { .tov-pairs, .tov-words { grid-template-columns: 1fr; } }

/* compare: each pane has its own menu drawer, both open together */
.pane { position: relative; }
.pane > .drawer { position: absolute; top: 0; right: 0; bottom: 0; border-radius: 0 14px 14px 0; width: min(400px, 85%); }
.pane > .drawer-dim { position: absolute; inset: 0; border-radius: 14px; }

/* CMS editing */
.ce-btn { all: unset; cursor: pointer; font-size: 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; padding: 3px 8px; margin-top: 6px; align-self: flex-start; background: #fff; white-space: nowrap; }
.ce-btn:hover { border-color: var(--ink); }
.ovw.dimmed { opacity: .35; pointer-events: none; }
.cms-edit { position: sticky; top: 0; z-index: 5; margin: 0 auto; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.18); padding: 22px 26px 24px; display: grid; gap: 16px; }
.ce-head { display: grid; grid-template-columns: 72px 1fr 34px; gap: 14px; align-items: center; } .ce-head h3 { margin: 4px 0 0; font-size: 20px; font-weight: 400; line-height: 1.2; }
.ce-th { width: 72px; aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; background: #eee; } .ce-th img { width: 100%; height: 100%; object-fit: cover; } .ce-th.logo img { object-fit: contain; padding: 6px; box-sizing: border-box; filter: grayscale(1); }
.ce-x { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; background: var(--card); text-align: center; line-height: 34px; font-size: 20px; }
.ce-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; } .ce-fields label { display: grid; gap: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ce-fields input { font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fbfaf8; }
.ce-fields input:focus { outline: none; border-color: var(--ink); background: #fff; }
.ce-acts { display: flex; align-items: center; gap: 14px; } .ce-note { font-size: 12px; color: var(--muted); }
.ce-hist h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ce-hist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.ce-hist li { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 4px; font-size: 13px; } .ce-hist li small { color: var(--muted); }
.ce-hist .chg1 { display: grid; grid-template-columns: 110px 1fr; gap: 8px; } .ce-hist .chg1 .k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; } .ce-hist s { color: var(--muted); }
.ce-undo { all: unset; cursor: pointer; font-size: 12px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; justify-self: start; margin-top: 2px; }
.ce-hist li.orig { background: #f6f4ef; } .ce-hist p { margin: 0; font-size: 13px; color: var(--muted); }
.cms-it .cap .ce-btn { display: inline-block; }
@media (max-width: 760px) { .ce-fields { grid-template-columns: 1fr; } }

.bar [data-tip] { position: relative !important; }
.seg button[data-tip]:hover::after, .bar .vbtn[data-tip]:hover::after { z-index: 61; }
.cms-edit .act { display: inline-block; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 2px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--ink); font-weight: 500; cursor: pointer; font-family: inherit; }

.iss { margin-top: 14px; display: grid; gap: 8px; } .iss h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 2px; }
.is { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.is b { font-weight: 500; } .is p { margin: 3px 0 0; color: #4a4945; font-size: 13px; line-height: 1.45; } .is .golink { margin-top: 6px; }
.ik { align-self: start; justify-self: start; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 4px 7px; border-radius: 4px; background: #eee; color: #333; }
.ik-text { background: #ffe9a8; color: #5a4300; } .ik-fehler { background: #ffd6d2; color: #7a1a12; } .ik-struktur { background: #e4d9ff; color: #35206b; } .ik-bild { background: #d7ecff; color: #0b3a66; } .ik-mobil { background: #ffe0c2; color: #6b3600; } .ik-inhalt { background: #e9e5dc; color: #3b3a36; } .ik-technik { background: #e0e0e0; color: #333; } .ik-entscheidung { background: #d8efe0; color: #0d4a2a; }
.bar .grp:last-child > :last-child[data-tip]:hover::after, .bar .grp:last-child > :nth-last-child(2)[data-tip]:hover::after { left: auto; right: 0; transform: none; }

/* iOS 26 Safari: no toolbar, a small dark pill with the site name floats over the page */
.site.mobile { padding-bottom: 0; }
#phone .ph-bottom { display: none; }
#phone .ph-pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 11px 22px; border-radius: 999px; background: rgba(40,40,40,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 400 15px/1 -apple-system, "SF Pro Text", var(--font); white-space: nowrap; }
#phone .ph-home { bottom: 6px; background: rgba(0,0,0,.55); }
#phone .ph-top { background: #fff; box-shadow: none; }
#phone { box-shadow: 0 0 0 10px #151515, 0 0 0 11px #3a3a3a; }
.site.mobile .drawer { bottom: 0; } .site.mobile .drawer-dim { bottom: 0; }
.site.mobile .hero .img, .site.mobile .pbody .hero .img { height: calc(min(844px, 100vh - 92px) - 54px); max-height: 790px; }

/* keep hero titles clear of the Safari pill */
.site.mobile .hero .txt, .site.mobile.luxe .hero .txt, .site.mobile .luxe .hero .txt { bottom: 92px; top: auto; transform: none; }
.site.mobile .hl-feat .tcard, .site.mobile.luxe .hl-feat .tcard { bottom: 92px; }

/* mobile: fit and gallery are off; compare shows two phones */
.seg button:disabled { opacity: .3; cursor: not-allowed; }
body.cmp .site.mobile, body.cmp.stacked .site.mobile { top: 50%; bottom: auto; transform: translateY(-50%); margin-top: 34px; height: min(844px, 100vh - 150px); width: 860px; margin-left: -430px; grid-template-columns: 390px 390px; grid-template-rows: 1fr; gap: 80px; padding: 0; background: transparent; border-radius: 0; overflow: visible; }
body.cmp .site.mobile .pane { border-radius: 40px; overflow: visible; box-shadow: 0 0 0 10px #151515, 0 0 0 11px #3a3a3a; position: relative; order: 0 !important; }
body.cmp .site.mobile .pbody { border-radius: 40px; padding-top: 54px; }
body.cmp .site.mobile .phead { position: absolute; top: -46px; left: 0; right: 0; background: transparent; border: 0; padding: 0; color: #f1efe9; }
body.cmp .site.mobile .phead small { display: none; } body.cmp .site.mobile .phead select { background: #1d1c1b; color: #f1efe9; border-color: #333; }
.pphone { position: absolute; inset: 0; pointer-events: none; border-radius: 40px; z-index: 36; }
.pphone .ph-top { position: absolute; left: 0; right: 0; top: 0; height: 54px; border-radius: 40px 40px 0 0; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 8px 30px 0 34px; font: 600 15px/1 -apple-system, "SF Pro Text", var(--font); color: #0b0b0b; }
.pphone .ph-island { position: absolute; left: 50%; top: 11px; width: 120px; height: 34px; margin-left: -60px; border-radius: 20px; background: #000; }
.pphone .ph-icons { display: inline-flex; gap: 6px; align-items: center; }
.pphone .ph-pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 11px 22px; border-radius: 999px; background: rgba(40,40,40,.88); color: #fff; font: 400 15px/1 -apple-system, var(--font); white-space: nowrap; }
.pphone .ph-home { position: absolute; left: 50%; bottom: 6px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(0,0,0,.55); }
body.cmp .site.mobile .pbody .hero .img { height: calc(min(844px, 100vh - 150px) - 54px); max-height: 790px; }
body.cmp .site.mobile .pbody .hero .txt { bottom: 92px; top: auto; transform: none; }

.seg .segsep { width: 1px; align-self: stretch; margin: 4px 3px; background: var(--bar-line); }
body.cmp .site.mobile > .pane[data-side="a"] { grid-column: 1; grid-row: 1; } body.cmp .site.mobile > .pane[data-side="b"] { grid-column: 2; grid-row: 1; }
body.cmp .site.mobile { grid-template-rows: 100%; grid-auto-rows: 0; }
body.cmp .site.mobile > :not(.pane) { position: absolute; }

.tb .st { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: #2b2a28; color: var(--bar-muted); margin-left: 2px; }
.tb .st:empty { display: none; }
.tb[aria-pressed="true"] .st { background: #f1efe9; color: #0b0b0b; }
#notes[aria-pressed="true"] .st { background: #ffe66d; }
#notes, #cmts { background: #1d1c1b; border-color: var(--bar-line); color: var(--bar-fg); }
#notes:hover, #cmts:hover { background: #262523; }
#notes[aria-pressed="true"], #cmts[aria-pressed="true"] { background: #2b2a28; border-color: #3a3937; }
#notes .nico { width: 13px; height: 13px; flex: none; color: var(--bar-muted); }
#notes[aria-pressed="true"] .nico { color: #ffe66d; }
#cmts > svg:first-child { color: var(--bar-muted); } #cmts[aria-pressed="true"] > svg:first-child { color: #fff; }

.ref .rbody { align-content: start; } .ref { grid-template-rows: auto 1fr; }
.ref .rwhy { display: block; margin-top: 6px; padding: 8px 10px; background: #f6f4ef; border-radius: 6px; font-size: 12.5px; line-height: 1.4; } .ref .rwhy i { display: block; font-style: normal; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ref .racts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.ref .ract { all: unset; cursor: pointer; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; padding: 8px 11px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); background: #fff; }
.ref .ract.dark, .ref .ract:hover { background: var(--ink); color: #fff; }
.ref .ru { display: none; }

.ref .rbody { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; }
.ref .racts { margin-top: auto; padding-top: 10px; flex-wrap: nowrap; }
.ref .ract { padding: 8px 9px; font-size: 10.5px; letter-spacing: .06em; white-space: nowrap; }
#notesmenu, #cmtsmenu { left: 0; right: auto; width: 260px; } #typomenu { left: auto; right: 0; }

/* references: cards stay inside their column */
.refs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ref, .ref .rbody, .ref .rshot { min-width: 0; }
.ref .racts { flex-wrap: wrap; } .ref .ract { flex: 1 1 auto; text-align: center; }
/* lightbox: one screenshot at a time */
.lbox { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,10,.92); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 56px 1fr 40px; color: #fff; }
.lb-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 0 20px; font-size: 13px; } .lb-top span { color: #9a9790; } .lb-top a { color: #fff; margin-left: auto; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.lb-x { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; background: #2a2a2a; text-align: center; line-height: 34px; font-size: 20px; }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 8px; } .lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-nav { all: unset; cursor: pointer; align-self: center; justify-self: center; width: 44px; height: 44px; border-radius: 50%; background: #2a2a2a; text-align: center; line-height: 42px; font-size: 26px; } .lb-nav:hover { background: #3a3a3a; }
.lb-dots { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 8px; } .lb-dots i { width: 7px; height: 7px; border-radius: 50%; background: #555; cursor: pointer; } .lb-dots i.on { background: #fff; }

/* brand kit, tidier */
.kit { gap: 14px; } .kit-h { margin-top: 26px; } .kit-h:first-child { margin-top: 0; }
.swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.swatch { aspect-ratio: auto; border: 0; padding: 0; display: grid; gap: 2px; background: none; font-size: 12px; color: var(--muted); }
.swatch i { display: block; aspect-ratio: 1; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); margin-bottom: 8px; }
.swatch b { font-size: 14px; font-weight: 500; color: var(--ink); } .swatch .hex { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.spec { grid-template-columns: minmax(0, 1fr) 280px; padding: 18px 22px; align-items: center; }
.spec .sample { font-size: clamp(28px, 3.4cqi, 48px); } .spec.f-serif .sample { font-size: clamp(32px, 3.8cqi, 54px); }
.parts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .part .demo { aspect-ratio: 4 / 3; }
.ratios { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } .parts { grid-template-columns: 1fr 1fr; } .ratios { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.swatch i { width: 100%; }
.ratio { grid-template-rows: 130px auto; } .ratio i { width: auto; height: auto; max-width: 100%; max-height: 130px; justify-self: center; align-self: end; }
.ratio i[style*="16/9"], .ratio i[style*="1024/600"], .ratio i[style*="3/2"] { width: 100%; }
.ratio i[style*="4/5"], .ratio i[style*="1/1"] { height: 130px; }
.lays-kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lay-k { display: grid; gap: 4px; align-content: start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.lay-k b { color: var(--ink); font-size: 14px; font-weight: 500; margin-top: 6px; }
.lay-ic { aspect-ratio: 16 / 10; background: #f6f4ef; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #b9b4a8; padding: 14px; }
.lay-ic svg { width: 100%; height: 100%; } .lay-ic.solid { color: #2a2a2a; }
.swatch { display: block; } .swatch i { aspect-ratio: auto; height: 96px; width: 100%; margin-bottom: 10px; } .swatch b, .swatch span { display: block; }

/* editor panel, left of the frame */
#epanel { position: fixed; left: 12px; top: 68px; bottom: 12px; width: 280px; z-index: 44; background: #141414; color: #f1efe9; border: 1px solid var(--bar-line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; font-size: 13px; }
#epanel[hidden] { display: none; }
body.epanel .site { left: 304px; }
body.epanel .site.mobile { left: calc(50% + 146px); }
body.epanel #phone { left: calc(50% + 146px); }
.site.mobile .stb, .site.mobile .addrow, .site.mobile .imgbtn, .site.mobile .hl-del, .site.mobile .addbtn { display: none !important; }
body.edit .site.mobile .secwrap:hover > .sec { outline: 0; }
body.edit .site.mobile .secwrap.sel > .sec { outline: 2px solid rgba(42,98,217,.55); outline-offset: -2px; }
body.edit .site.mobile [data-f] { outline-color: transparent; }
body.edit .site.mobile [data-f]:focus { outline-color: rgba(42,98,217,.7); }
.site.mobile > .nav { z-index: 33; }
.site.mobile .secwrap { position: relative; z-index: 0; }
.pe-top { padding: 14px 16px 12px; border-bottom: 1px solid var(--bar-line); display: grid; gap: 2px; } .pe-top b { font-size: 15px; font-weight: 500; } .pe-top span { color: var(--bar-muted); font-size: 12px; }
.pe-scroll { overflow: auto; padding: 10px 10px 16px; flex: 1; }
.pe-lab { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bar-muted); padding: 10px 6px 6px; }
.pe-list { display: grid; gap: 2px; }
.pe-sec { all: unset; cursor: pointer; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; }
.pe-sec:hover { background: #1f1e1d; } .pe-sec.on { background: #2b2a28; }
.pe-ic { color: #8a8780; display: inline-flex; } .pe-sec.on .pe-ic { color: #f1efe9; }
.pe-t { display: grid; min-width: 0; } .pe-t b { font-weight: 500; font-size: 12.5px; } .pe-t small { color: var(--bar-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pe-dark { width: 8px; height: 8px; border-radius: 50%; background: #0c0c0c; border: 1px solid #555; }
.pe-add { all: unset; cursor: pointer; display: block; text-align: center; margin: 8px 0 0; padding: 9px; border: 1px dashed #3a3a3a; border-radius: 8px; color: var(--bar-muted); font-size: 12px; } .pe-add:hover { color: #fff; border-color: #666; }
.pe-sep { height: 1px; background: var(--bar-line); margin: 14px 0 4px; }
.pe-h { padding: 4px 6px 0; display: grid; gap: 2px; } .pe-h span { font-size: 11px; color: var(--bar-muted); } .pe-h b { font-size: 15px; font-weight: 500; }
.pe-note, .pe-empty { color: var(--bar-muted); font-size: 12px; padding: 6px; margin: 0; }
.pe-lays { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 2px; }
.pe-lay { all: unset; cursor: pointer; display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; border: 1px solid #2a2a2a; color: #b5b2ab; font-size: 12px; }
.pe-lay svg { width: 22px; height: 14px; } .pe-lay:hover { border-color: #555; color: #fff; }
.pe-lay.on { background: #f1efe9; color: #0b0b0b; border-color: #f1efe9; }
.pe-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px; }
.pe-opt { all: unset; cursor: pointer; padding: 7px 10px; border-radius: 7px; border: 1px solid #2a2a2a; font-size: 12px; color: #d8d5ce; } .pe-opt:hover { border-color: #555; color: #fff; }
.pe-opt.on { background: #2b2a28; border-color: #3a3a3a; color: #fff; } .pe-opt.danger { color: #ff9a92; } .pe-opt.danger:hover { border-color: #ff9a92; }
body.edit .secwrap.sel > .sec { outline: 2px solid rgba(42,98,217,.9); outline-offset: -2px; }
.stb .lays { display: none; }
@media (max-width: 1100px) { #epanel { width: 240px; } body.epanel .site { left: 264px; } }

/* the bar never wraps or overflows: labels drop step by step on narrower windows */
.vbtn, .vbtn .vn, .tb { white-space: nowrap; } .vbtn .vn { display: inline-flex; align-items: center; gap: 6px; }
.bar { flex-wrap: nowrap; }
@media (max-width: 1480px) { .tb.boxed .lbl { display: none; } .tb.boxed { padding: 0 8px; } .bar .grp { gap: 6px; } .bar { gap: 8px; } }
@media (max-width: 1280px) { #notes, #cmts { font-size: 0; gap: 4px; padding: 0 9px; } #notes .st, #cmts .st, #notes svg, #cmts svg { font-size: 10.5px; } #notes .nico, #cmts svg { width: 14px; height: 14px; } .tb.dd .chev { display: inline-block; width: 8px; height: 8px; margin-left: 2px; } .vbtn.pb { min-width: 120px; } .bar .status { display: none; } }
@media (max-width: 1100px) { .bar .mark span { display: none; } .bar .mark { padding-right: 6px; } .vbtn.pb { min-width: 96px; max-width: 120px; } .vbtn.pb .vn { overflow: hidden; text-overflow: ellipsis; display: block; } .vbtn.ty .vn { font-size: 12px; } }
@media (max-width: 960px) { .bar .sp { display: none; } .bar { overflow-x: auto; scrollbar-width: none; } .bar::-webkit-scrollbar { display: none; } }

/* drawer: logo and list centred in the available height, socials with room, everything scales with the frame height */
.drawer { display: flex; flex-direction: column; overflow: auto; padding-top: calc(env(safe-area-inset-top, 0px) + 96px); padding-bottom: 32px; }
.drawer .dlogo { margin-top: auto; } .drawer .dlogo img { width: clamp(140px, 22cqh, 194px); }
.drawer ul { margin-top: clamp(24px, 7cqh, 72px); gap: clamp(6px, 1.4cqh, 12px); font-size: clamp(20px, 3.6cqh, 28px); }
.drawer .dsoc { margin-top: auto; padding-top: clamp(24px, 6cqh, 56px); padding-bottom: 0; }
.drawer .dsoc a { width: 36px; height: 36px; }
.site.mobile .drawer { padding-top: 72px; } .site.mobile .drawer .dlogo { margin-top: 0; } .site.mobile .drawer .dlogo img { width: 150px; }
.pane > .drawer { padding-top: 84px; }

.drawer { padding-top: calc(env(safe-area-inset-top, 0px) + 76px); }
.drawer ul { font-size: clamp(18px, 3.2cqh, 28px); gap: clamp(4px, 1.1cqh, 12px); margin-top: clamp(18px, 5cqh, 72px); }
.drawer .dlogo img { width: clamp(120px, 18cqh, 194px); }
.drawer .dsoc { padding-top: clamp(16px, 4cqh, 56px); } .drawer .dsoc a { width: clamp(28px, 5cqh, 36px); height: clamp(28px, 5cqh, 36px); }
.drawer .x { top: calc(env(safe-area-inset-top, 0px) + 24px); left: 40px; }

#vname, #pname { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.vbtn .avs { display: inline-flex; flex-wrap: nowrap; }

.ovw .steps.five { grid-template-columns: repeat(5, 1fr); } @media (max-width: 1000px) { .ovw .steps.five { grid-template-columns: 1fr 1fr; } }
.kit-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.kit-seg { display: inline-flex; gap: 2px; background: #e9e6df; border-radius: 999px; padding: 3px; }
.kit-seg button { all: unset; cursor: pointer; font-size: 12px; padding: 6px 12px; border-radius: 999px; color: var(--muted); } .kit-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.spec.big { grid-template-columns: 1fr; gap: 10px; padding: 26px 28px; }
.spec.big .sample { white-space: normal; line-height: 1.05; } .spec.big .s2 { font-size: clamp(22px, 2.6cqi, 36px); margin-top: 4px; } .spec.big .s3 { font-size: 18px; line-height: 1.5; max-width: 60ch; font-family: var(--font); font-weight: 300; letter-spacing: 0; }
.spec.big.f-reg .s3 { font-weight: 400; } .spec.big.f-serif .sample { font-style: normal; text-transform: uppercase; letter-spacing: .01em; } .spec.big.f-serif .s3 { text-transform: none; } .spec.big.f-serif .s2 { font-style: italic; text-transform: none; }
.spec.big .meta { grid-template-columns: 1fr; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
/* decisions */
.decs { display: grid; gap: 10px; }
.dec { display: grid; grid-template-columns: 40px 1fr 180px; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.dec.done { border-color: #b9e5c9; background: #f4fbf6; }
.dec-n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; font-size: 14px; } .dec.done .dec-n { background: #0d4a2a; }
.dec-b h3 { margin: 4px 0 4px; font-size: 17px; font-weight: 500; } .dec-b p { margin: 0 0 10px; font-size: 14px; color: #4a4945; line-height: 1.45; max-width: 70ch; }
.dec-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.dec-opt { all: unset; cursor: pointer; font-size: 12.5px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); } .dec-opt:hover { border-color: var(--ink); }
.dec-opt.on { background: var(--ink); color: #fff; border-color: var(--ink); } .dec-opt.clear { padding: 8px 10px; color: var(--muted); }
.dec-s { display: grid; align-content: center; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line); font-size: 13px; } .dec-s b { font-size: 15px; font-weight: 500; } .dec-s small { color: var(--muted); } .dec-s span { color: var(--muted); }
.dec-note { width: 100%; min-height: 90px; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf8; resize: vertical; box-sizing: border-box; }
.dec-note:focus { outline: none; border-color: var(--ink); }
@media (max-width: 760px) { .dec { grid-template-columns: 32px 1fr; } .dec-s { grid-column: 2; border-left: 0; padding-left: 0; } }

.lbox { grid-template-rows: 56px 1fr 96px; }
.lb-thumbs { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 0 20px 12px; overflow-x: auto; }
.lb-thumbs img { height: 72px; width: auto; border-radius: 3px; opacity: .45; cursor: pointer; border: 2px solid transparent; transition: opacity .2s; } .lb-thumbs img:hover { opacity: .8; } .lb-thumbs img.on { opacity: 1; border-color: #fff; }
/* phone: the menu bar is lifted out of the hero and made sticky, so it stays under the status bar while the page scrolls */
.site.mobile > .nav { position: sticky; top: 54px; z-index: 20; margin: 0; padding: 16px 20px; height: 72px; box-sizing: border-box; display: flex; align-items: center; }
.site.mobile > .nav.onimg { margin-bottom: -72px; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); left: auto; right: auto; bottom: auto; }
.site.mobile > .nav, .site.mobile > .nav.onimg, .site.mobile > .nav.top { top: 0; }
.site.mobile > .nav.top, .site.mobile > .nav.form { background: var(--paper); }
.site.mobile > .sec.form { padding-top: 24px; }

/* floating menu bar on desktop: appears on scroll up, on paper */
#floatnav { position: fixed; top: 68px; left: 12px; right: 12px; z-index: 43; border-radius: 14px 14px 0 0; overflow: hidden; pointer-events: none; }
#floatnav .nav { padding: 16px 6%; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-101%); transition: transform .35s cubic-bezier(.2,.8,.2,1); } #floatnav .nav .logo img { width: 130px; margin: -10px 0; }
#floatnav.show { pointer-events: auto; } #floatnav.show .nav { transform: none; }
body.epanel #floatnav { left: 304px; }
#floatnav.luxe .nav { background: #f6f4ef; }
#floatnav, #floatnav.luxe { background: transparent !important; border: 0 !important; }
.seg button[data-view="edit"][aria-pressed="true"] { background: var(--edit); color: #fff; }
/* note editing (Lea) */
.nedit-link { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: inherit; opacity: .7; margin-bottom: 6px; text-decoration: none; } .nedit-link:hover { opacity: 1; text-decoration: underline; }
.note.editing { width: 300px; padding: 12px; }
.nedit { display: grid; gap: 6px; } .nedit select, .nedit textarea, .nedit input { font: inherit; font-size: 13px; padding: 7px 9px; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; background: rgba(255,255,255,.7); color: #1a1a1a; width: 100%; box-sizing: border-box; }
.nedit textarea { resize: vertical; } .nedit-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.nedit-acts button { font: inherit; font-size: 12px; padding: 7px 11px; border-radius: 6px; border: 1px solid #1a1a1a; background: #1a1a1a; color: #fff; cursor: pointer; }
.nedit-acts button[type="button"] { background: transparent; color: #1a1a1a; } .nedit-acts button.del { border-color: #a12; color: #a12; }
.pin.addnote { display: none; background: transparent; border: 1.5px dashed #8a7300; color: #8a7300; font-size: 16px; line-height: 1; } body.notes .pin.addnote { display: inline-flex; align-items: center; justify-content: center; opacity: .45; } .sec:hover .pin.addnote { opacity: 1; }
.vmenu button { position: relative; } .vmenu .vdel { position: absolute; right: 10px; top: 10px; font-style: normal; font-size: 12px; color: var(--bar-muted); padding: 2px 6px; border-radius: 4px; } .vmenu .vdel:hover { background: #ff9a92; color: #0b0b0b; }

.ce-focal { display: grid; gap: 8px; }
.ce-stage { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 6px; background: #ddd; cursor: crosshair; }
.ce-stage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s, object-position .2s; }
.ce-dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 0 999px rgba(0,0,0,.0); pointer-events: none; }
.ce-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fff; }
.ce-focal-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); } .ce-focal-h label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); } .ce-focal-h input { width: 140px; }
.ce-fields label.hid { display: none; }
.pin.tg-bild { background: #d7ecff; color: #0b3a66; } .note.tg-bild { background: #e6f3ff; color: #0b3a66; }
.pic { overflow: hidden; }
/* Fotos: Angebot */
.fx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .fx-cards { grid-template-columns: 1fr; } }
.fx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .fx-grid { grid-template-columns: 1fr; } }
.fx-ba { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: #111; user-select: none; }
.fx-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-ba .fx-after { clip-path: inset(0 0 0 var(--p)); }
.fx-ba .fx-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.fx-ba .fx-line::after { content: "⇔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 15px; }
.fx-ba .fx-l, .fx-ba .fx-r { position: absolute; top: 10px; padding: 4px 8px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.fx-ba .fx-l { left: 10px; } .fx-ba .fx-r { right: 10px; }
.fx-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.fx-ba figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0)); color: #fff; font-size: 12px; display: grid; gap: 1px; pointer-events: none; }
.fx-ba figcaption b { font-weight: 500; font-size: 13px; } .fx-ba figcaption span { opacity: .85; }
.fx-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 860px) { .fx-list { grid-template-columns: 1fr; } }
.fx-item { display: grid; grid-template-columns: 18px 96px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 13px; }
.fx-item:hover { border-color: var(--ink); } .fx-item.on { border-color: var(--ink); background: #faf8f2; }
.fx-item input { margin: 0; accent-color: #141414; }
.fx-item img { width: 96px; height: 64px; object-fit: cover; border-radius: 4px; display: block; background: #e9e6df; }
.fx-item .fx-t { display: grid; gap: 2px; min-width: 0; } .fx-item b { font-weight: 500; } .fx-item .fx-t > span { color: var(--muted); line-height: 1.35; } .fx-item em { font-style: normal; font-size: 12px; color: #1f1e1c; }
.fx-item em::before { content: "→ "; color: var(--muted); }
/* CMS image editor, full page */
#modal .ovw.cepage { max-width: none; padding: 28px 40px 40px; }
.cms-edit.page { position: static; max-width: none; margin: 0; border: 0; box-shadow: none; background: transparent; padding: 0; gap: 22px; }
.ce-top { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.ce-back { all: unset; cursor: pointer; font-size: 13px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; white-space: nowrap; } .ce-back:hover { border-color: var(--ink); }
.ce-title h3 { margin: 2px 0 0; font-size: 22px; font-weight: 400; line-height: 1.1; } .ce-title small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.ce-topacts { display: flex; align-items: center; gap: 14px; }
.ce-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 1000px) { .ce-cols { grid-template-columns: 1fr; } .ce-top { grid-template-columns: 1fr; } }
.ce-stagewrap { width: 100%; display: flex; justify-content: center; background: #161616; border-radius: 10px; padding: 14px; box-sizing: border-box; }
.ce-stage2 { position: relative; overflow: hidden; touch-action: none; user-select: none; cursor: crosshair; background: #000; }
.ce-stage2 img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.ce-crop { position: absolute; box-sizing: border-box; border: 1.5px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.55); cursor: move; }
.ce-crop::before, .ce-crop::after { content: ""; position: absolute; background: rgba(255,255,255,.35); pointer-events: none; }
.ce-crop::before { left: 33.33%; right: 33.33%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.35); border-right: 1px solid rgba(255,255,255,.35); background: none; }
.ce-crop::after { top: 33.33%; bottom: 33.33%; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); background: none; }
.ce-h { position: absolute; width: 14px; height: 14px; background: #fff; border: 1px solid rgba(0,0,0,.4); border-radius: 2px; }
.ce-h[data-h="nw"] { left: -7px; top: -7px; cursor: nwse-resize; } .ce-h[data-h="se"] { right: -7px; bottom: -7px; cursor: nwse-resize; }
.ce-h[data-h="ne"] { right: -7px; top: -7px; cursor: nesw-resize; } .ce-h[data-h="sw"] { left: -7px; bottom: -7px; cursor: nesw-resize; }
.ce-stage2 .ce-dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #ffe66d; box-shadow: 0 0 0 1px rgba(0,0,0,.6); background: rgba(255,230,109,.15); cursor: grab; z-index: 3; }
.ce-stage2 .ce-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #ffe66d; }
.ce-tools { display: grid; gap: 8px; margin-top: 12px; }
.ce-lab { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ce-ratios { display: flex; flex-wrap: wrap; gap: 6px; } .ce-ratios .pe-opt { background: #fff; border: 1px solid var(--line); color: var(--ink); } .ce-ratios .pe-opt.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ce-help { margin: 0; font-size: 12px; color: var(--muted); max-width: 64ch; }
.ce-prevs { display: grid; grid-template-columns: 2fr 1.4fr .6fr 1fr; gap: 10px; margin-top: 16px; align-items: end; }
.ce-pv { margin: 0; display: grid; gap: 5px; } .ce-pv img { width: 100%; display: block; object-fit: cover; border-radius: 4px; background: #ddd; } .ce-pv figcaption { font-size: 11px; color: var(--muted); }
.ce-pv.band img { aspect-ratio: 16 / 7; } .ce-pv.hero img { aspect-ratio: 16 / 9; } .ce-pv.mob img { aspect-ratio: 9 / 16; } .ce-pv.card img { aspect-ratio: 4 / 3; }
.ce-pv { overflow: hidden; } .ce-pv img { overflow: hidden; }
.ce-pv > img { clip-path: inset(0 round 4px); }
.ce-fields.one { grid-template-columns: 1fr; }
.ce-fields textarea { font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fbfaf7; resize: vertical; min-height: 72px; }
.ce-fields textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.ce-fields label > span { display: flex; justify-content: space-between; align-items: center; }
.ce-ai { all: unset; cursor: pointer; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; } .ce-ai:hover { border-color: var(--ink); } .ce-ai[disabled] { opacity: .5; cursor: default; } .ce-ai[hidden] { display: none; }
.ce-aist { font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted); min-height: 14px; }
.cms-edit .ce-hist li { grid-template-columns: 1fr; align-items: start; } .cms-edit .ce-hist ul { max-height: 340px; }
.ce-right { display: grid; gap: 22px; } .ce-fields.one { gap: 16px; }
.ce-pv img { will-change: transform; }
/* V4: outlined drawer close + social buttons */
.luxe .drawer .x { background: transparent; border: 1px solid #8a8986; color: #fff; transition: background .2s, border-color .2s; } .luxe .drawer .x:hover { background: #403f3f; border-color: #a5a4a1; }
.luxe .foot .soc { gap: 8px; } .luxe .foot .soc a { background: transparent; border: 1px solid #8a8986; border-radius: 2px; box-sizing: border-box; transition: background .2s, border-color .2s; } .luxe .foot .soc a:hover { background: #2e2e2e; border-color: #a5a4a1; }
/* V4: parallax */
.site.luxe .hero .img, .site.luxe .band .pic, .site.luxe .split .pic, .site.luxe .hl-feat .pic { overflow: hidden; }
@media (max-width: 860px) { #cmpseg { display: none !important; } }
@media (max-width: 760px) { #viewseg [data-view="fit"], #viewseg [data-view="all"] { display: none !important; } }
/* Empfehlungen: tag on top, small edit icon, arrow in note colour */
.note .ntag { display: inline-block; position: static; margin: 0 0 8px; vertical-align: 0; }
.note .ntext { display: block; }
.note .nedit-link { position: absolute; top: 8px; right: 8px; margin: 0; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; opacity: .55; text-decoration: none; }
.note .nedit-link:hover { opacity: 1; background: rgba(0,0,0,.07); text-decoration: none; }
.note:has(.nedit-link) { padding-right: 38px; }
.note::before { border: 0 !important; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); top: -6px; left: 10px; bottom: auto; right: auto; }
.pin.ipin + .note::before { top: auto; bottom: -6px; left: 12px; right: auto; }
/* page menu badges */
#pmenu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-b { display: inline-flex; gap: 4px; flex: none; }
.pm-b i { font-style: normal; font-size: 10.5px; line-height: 1; padding: 3px 6px; border-radius: 999px; display: inline-flex; align-items: center; gap: 3px; }
.pm-n { background: #ffe66d; color: #3d3203; } .pm-c { background: #3a3937; color: #f1efe9; }
/* minimap */
#minimap { position: fixed; top: 68px; right: 12px; bottom: 12px; width: 150px; z-index: 44; background: #141414; color: #f1efe9; border: 1px solid var(--bar-line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; font-size: 11px; }
#minimap[hidden] { display: none; }
body.mm .site:not(.mobile) { right: 174px; } body.mm #floatnav { right: 174px; }
body.mmc #minimap { width: 34px; bottom: auto; } body.mmc #minimap .mm-h span { display: none; } body.mmc .site:not(.mobile) { right: 58px; } body.mmc #floatnav { right: 58px; }
body.mm .site.mobile { left: calc(50% - 81px); } body.mm #phone { left: calc(50% - 81px); }
body.mm.epanel .site.mobile, body.mm.epanel #phone { left: calc(50% + 65px); }
.mm-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 6px 12px; color: var(--bar-muted); letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
.mm-x { all: unset; cursor: pointer; width: 18px; height: 18px; text-align: center; line-height: 17px; border-radius: 4px; color: var(--bar-fg); font-size: 15px; } .mm-x:hover { background: #2b2a28; }
.mm-list { overflow: auto; padding: 2px 8px 10px; display: grid; gap: 8px; align-content: start; scrollbar-width: thin; }
.mm-it { all: unset; cursor: pointer; display: grid; gap: 4px; padding: 6px; border-radius: 8px; border: 1px solid transparent; }
.mm-it:hover { background: #1f1e1d; } .mm-it.on { background: #2b2a28; border-color: #3a3937; }
.mm-th { border-radius: 3px; border: 0; box-shadow: none; overflow: hidden; pointer-events: none; cursor: default; position: relative; }
.mm-th .mini-in { transform: scale(var(--ms)); transform-origin: 0 0; }
.mm-m { display: flex; align-items: center; gap: 5px; min-width: 0; } .mm-m b { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d9d6cf; }
.mm-n { width: 8px; height: 8px; border-radius: 50%; background: #ffe66d; flex: none; } .mm-n.tg-neu, .mm-n.tg-bild { background: #8cc4ff; } .mm-n.tg-umgestellt { background: #c4b2ff; } .mm-n.tg-wörtlich { background: #8fd6a8; } .mm-n.tg-wie { background: #bdb8ae; }
.mm-c { font-style: normal; font-size: 10px; padding: 1px 5px; border-radius: 999px; background: #3a3937; color: #f1efe9; }
/* edit panel previews */
.pe-sec { grid-template-columns: 64px 1fr auto; }
.pe-ic.th { width: 64px; border-radius: 3px; overflow: hidden; background: var(--paper); }
.pe-ic.th .mm-th { border-radius: 3px; }
#status { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1600px) { #status { max-width: 180px; } } @media (max-width: 1280px) { #status { display: none; } }
/* CMS article + logo pages */
.ce-artwrap { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; max-height: calc(100vh - 240px); overflow: auto; }
.ce-art { padding: 48px 8% 56px; max-width: none; } .ce-art .body p { max-width: 64ch; }
.ce-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ce-side { display: grid; gap: 8px; } .ce-sideimg { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #ddd; } .ce-sideimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.pe-opt.ce-o, button.pe-opt.ce-o { display: inline-flex; justify-self: start; text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--ink); }
a.pe-opt.ce-o:hover, button.pe-opt.ce-o:hover { border-color: var(--ink); }
.ce-logos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.ce-lg { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; position: relative; border: 1px solid var(--line); padding: 18%; box-sizing: border-box; }
.ce-lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ce-lg small { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--muted); }
.ce-lg.paper { background: var(--paper); } .ce-lg.paper img { filter: grayscale(1); mix-blend-mode: darken; }
.ce-lg.white { background: #fff; } .ce-lg.dark { background: #141414; } .ce-lg.dark img { filter: grayscale(1) invert(1); mix-blend-mode: screen; } .ce-lg.dark small { color: #8a8780; }
@media (max-width: 1000px) { .ce-logos { grid-template-columns: 1fr; } }
.cms-edit.page .ce-top { padding-right: 44px; }
/* article body editor */
.ce-artbar { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.ce-seg { display: inline-flex; background: var(--card); border-radius: 8px; padding: 3px; } .ce-seg button { all: unset; cursor: pointer; font-size: 12px; padding: 6px 12px; border-radius: 6px; } .ce-seg button.on { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ce-artwrap[hidden] { display: none; }
.ce-artpic { position: relative; } .ce-artpic .ce-swap { display: inline-block; top: auto; bottom: 14px; left: 14px; }
.ce-body { display: grid; gap: 2px; }
.ce-blk { position: relative; border-radius: 6px; margin: 0 -10px; padding: 2px 10px; }
.ce-blk:hover, .ce-blk:focus-within { background: rgba(0,0,0,.035); }
.ce-bt { all: unset; display: block; width: 100%; box-sizing: border-box; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 17px; line-height: 1.6; color: var(--ink); padding: 6px 0; resize: none; overflow: hidden; min-height: 1.6em; cursor: text; }
.ce-bt.h2 { font-size: 26px; line-height: 1.25; padding-top: 18px; } .ce-bt.h3 { font-size: 20px; line-height: 1.3; padding-top: 12px; font-weight: 500; }
.ce-btools { position: absolute; right: -6px; top: -14px; display: none; gap: 2px; background: #141414; border-radius: 7px; padding: 3px; z-index: 2; }
.ce-blk:hover .ce-btools, .ce-blk:focus-within .ce-btools { display: inline-flex; }
.ce-btools button, .ce-btools select { all: unset; cursor: pointer; color: #f1efe9; font-size: 12px; padding: 3px 7px; border-radius: 5px; } .ce-btools button:hover { background: #2b2a28; } .ce-btools select { background: #2b2a28; padding-right: 6px; }
.ce-btools [data-bdel]:hover { background: #a12; }
.ce-addend { all: unset; cursor: pointer; margin-top: 10px; font-size: 13px; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); justify-self: start; } .ce-addend:hover { border-color: var(--ink); color: var(--ink); }
.ce-sideacts { display: flex; gap: 6px; flex-wrap: wrap; }
.ce-pick { position: fixed; inset: 80px 24px 24px; z-index: 60; background: #fff; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; } .ce-pick[hidden] { display: none; }
.ce-pick-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ce-pick-grid { overflow: auto; padding: 16px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ce-pick-grid button { all: unset; cursor: pointer; display: grid; gap: 4px; font-size: 11px; color: var(--muted); border-radius: 6px; padding: 4px; border: 2px solid transparent; }
.ce-pick-grid button:hover { border-color: var(--line); } .ce-pick-grid button.on { border-color: var(--ink); color: var(--ink); }
.ce-pick-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; background: #eee; display: block; }
.ce-hthumbs { display: inline-flex; align-items: center; gap: 6px; } .ce-hthumbs img { width: 44px; height: 30px; object-fit: cover; border-radius: 3px; }
#nst.off:not(:empty) { background: #2b2a28; color: var(--bar-fg); border-radius: 9px; padding: 1px 6px; font-size: 10px; }
/* image editor, calmer layout */
.cms-edit.page.img .ce-cols { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 24px; }
.ce-title { display: flex; align-items: baseline; gap: 12px; } .ce-title h3 { margin: 0; font-size: 20px; }
.ce-chip { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; cursor: help; white-space: nowrap; }
.ce-toolrow { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ce-rseg { display: inline-flex; background: var(--card); border-radius: 8px; padding: 3px; gap: 2px; }
.ce-rseg button { all: unset; cursor: pointer; font-size: 12px; padding: 6px 12px; border-radius: 6px; color: #3b3a36; } .ce-rseg button:hover { background: rgba(0,0,0,.05); } .ce-rseg button.on { background: #141414; color: #fff; }
.ce-reset { all: unset; cursor: pointer; width: 32px; height: 32px; border-radius: 8px; text-align: center; line-height: 32px; font-size: 16px; background: var(--card); } .ce-reset:hover { background: #dcd9d3; }
.ce-legend { margin-left: auto; font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; } .ce-legend i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #e2c200; box-sizing: border-box; }
.ce-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.ce-card h4, .ce-hd summary { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ce-hd summary { margin: 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; } .ce-hd summary::-webkit-details-marker { display: none; }
.ce-hd summary span { text-transform: none; letter-spacing: 0; font-weight: 400; } .ce-hd[open] summary { margin-bottom: 10px; } .ce-hd .ce-hist h4 { display: none; }
.ce-card .ce-prevs { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1.2fr) minmax(0,.62fr); gap: 10px; margin: 0; align-items: end; } .ce-pv.pv-band { grid-column: 1 / -1; }
.ce-card .ce-pv { display: grid; gap: 4px; margin: 0; } .ce-pv .pvb { overflow: hidden; border-radius: 4px; background: #ddd; } .ce-pv .pvb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ce-pv.pv-band .pvb { aspect-ratio: 16 / 7; } .ce-pv.pv-hero .pvb { aspect-ratio: 16 / 9; } .ce-pv.pv-card .pvb { aspect-ratio: 4 / 3; } .ce-pv.pv-mob .pvb { aspect-ratio: 9 / 16; }
.ce-pv.pv-mob { grid-row: span 1; }
.ce-kib { font-style: normal; font-size: 9px; letter-spacing: .1em; background: #efe9ff; color: #35206b; border-radius: 4px; padding: 2px 5px; margin-left: 6px; }
.ce-fields label > span { gap: 6px; justify-content: flex-start; } .ce-fields label > span .ce-ai { margin-left: auto; }
.cms-edit.page.img .ce-right { gap: 14px; }
.ce-card .ce-pv figcaption { font-size: 11px; color: var(--muted); }
.cms-edit.page .ce-top { display: flex !important; align-items: center; gap: 16px; flex-wrap: wrap; } .cms-edit.page .ce-topacts { margin-left: auto; } .cms-edit.page .ce-back { padding: 7px 12px; }
@media (max-width: 760px) { .cms-edit.page.img .ce-cols { grid-template-columns: 1fr; } }
/* real phones: menu bar fixed at the top of the viewport */
@media (max-width: 760px) {
  .site.phonevp > .nav { position: sticky; top: 0; z-index: 33; margin: 0; padding: 14px 20px; height: 64px; box-sizing: border-box; display: flex; align-items: center; left: auto; right: auto; bottom: auto; }
  .site.phonevp > .nav.onimg { margin-bottom: -64px; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); }
  .site.phonevp > .nav.top, .site.phonevp > .nav.form { background: var(--paper); }
  #floatnav { display: none; }
}
.site > .nav.onimg.solid { background: var(--paper) !important; box-shadow: 0 1px 0 var(--line); transition: background .25s; }
.site > .nav.onimg.solid .lang, .site > .nav.onimg.solid .lang button, .site > .nav.onimg.solid .lang a { color: var(--ink); }
.site > .nav.onimg.solid, .site > .nav.onimg.solid .burger { color: var(--ink); } .site > .nav.onimg.solid .burger i { background: var(--ink); }
.site.luxe > .nav.onimg.solid { background: #f6f4ef !important; }
/* ===== mobile tool (phones) ===== */
#morebtn { display: none; }
#msheet { position: fixed; inset: 0; z-index: 80; } #msheet[hidden] { display: none; }
#msheet .ms-dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
#msheet .ms-box { position: absolute; left: 0; right: 0; bottom: 0; background: #141414; color: #f1efe9; border-radius: 18px 18px 0 0; padding: 8px 16px calc(env(safe-area-inset-bottom, 0px) + 18px); transform: translateY(100%); transition: transform .22s cubic-bezier(.2,.8,.2,1); max-height: 85vh; overflow: auto; }
#msheet.open .ms-dim { opacity: 1; } #msheet.open .ms-box { transform: none; }
.ms-grab { display: block; width: 40px; height: 4px; border-radius: 2px; background: #3a3937; margin: 4px auto 14px; }
.ms-row { display: grid; gap: 8px; margin-bottom: 16px; } .ms-l { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bar-muted); } .ms-l em { font-style: normal; letter-spacing: 0; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #2b2a28; color: #f1efe9; font-size: 11px; }
.ms-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #1f1e1d; border-radius: 10px; padding: 3px; gap: 3px; }
.ms-seg button { all: unset; text-align: center; padding: 11px 6px; border-radius: 8px; font-size: 14px; color: #d9d6cf; cursor: pointer; } .ms-seg button.on { background: #f1efe9; color: #0b0b0b; }
.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ms-grid button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: #1f1e1d; border: 1px solid #2b2a28; font-size: 14px; }
.ms-grid button.on { background: #2a4fa8; border-color: #2a4fa8; } .ms-av .av { width: 22px; height: 22px; }
@media (max-width: 760px) {
  /* bar: one compact row at the bottom */
  .bar { flex-wrap: nowrap !important; gap: 6px; padding: 6px; overflow: hidden; }
  .bar > .grp:last-child > :not(#morebtn) { display: none !important; }
  #morebtn { display: inline-flex; width: 40px; height: 36px; padding: 0; justify-content: center; }
  .bar .mark span { display: none; } .bar .mark { padding: 0 4px; }
  #vbtn { min-width: 0; padding: 0 8px; } #pbtn { flex: 1 1 auto; min-width: 0; } #pbtn .vn { overflow: hidden; text-overflow: ellipsis; }
  .bar .vsel:has(#pbtn) { flex: 1 1 0; min-width: 0; } #pbtn { width: 100%; max-width: none; box-sizing: border-box; justify-content: space-between; } .bar > .vsel, .bar > .grp, .bar > .mark { position: relative; } .bar > .vsel:has(#vbtn) { flex: none; }
  .bar > .grp:first-of-type { gap: 4px; flex: none; }
  #notes, #cmts { font-size: 0 !important; height: 36px; padding: 0 8px; gap: 4px; } #notes .chev, #cmts .chev { display: none !important; }
  #notes .st, #cmts .st, #ccount { font-size: 10.5px !important; } #cmts .st { display: none; }
  .bar .vbtn, .bar .tb { height: 36px; }
  /* dropdowns become bottom sheets */
  .vmenu, .vmenu.tm, .vmenu.pm { position: fixed !important; left: 8px !important; right: 8px !important; top: auto !important; bottom: calc(env(safe-area-inset-bottom, 0px) + 64px) !important; width: auto !important; max-height: 70vh !important; overflow: auto; border-radius: 16px; padding: 8px; }
  .vmenu button { padding: 12px 12px; font-size: 15px; }
  /* modals full screen above the bar */
  #modal .mpanel { left: 0; right: 0; top: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 58px); border-radius: 0 0 16px 16px; }
  #modal .ovw { padding: 18px 16px 40px; } #modal .ovw h1 { font-size: 22px; }
  .ovhead { flex-direction: column; align-items: stretch !important; gap: 12px; }
  #modal .ovw { grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: 100vw; box-sizing: border-box; } #modal .ovw > * { min-width: 0; max-width: 100%; } .ovhead > * { min-width: 0; max-width: 100%; }
  .bar .vsel:has(#pbtn) { min-width: 64px; } #vbtn .avs { display: none; } #vbtn { gap: 4px; }
  .ovhead .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; justify-content: flex-start; } .ovhead .tabs::-webkit-scrollbar { display: none; } .ovhead .tabs button { flex: none; }
  #modal .mx { top: 10px; right: 10px; }
  .cms-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cms-edit.page .ce-top { padding-right: 40px; } .cms-edit.page .ce-topacts .ce-note { display: none; }
  .ce-cols { grid-template-columns: 1fr !important; } .ce-logos { grid-template-columns: 1fr 1fr; } .ce-artwrap { max-height: none; } .ce-art { padding: 24px 18px; }
  .ce-pick { inset: 0 0 58px; border-radius: 0; }
  /* edit panel becomes a bottom sheet above the bar */
  #epanel { left: 0; right: 0; top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 58px); height: 44vh; width: auto; border-radius: 16px 16px 0 0; }
  body.epanel .site { left: 8px; bottom: calc(44vh + 66px); }
  #minimap, #floatnav, #phone { display: none !important; }
  .askv-box { width: calc(100vw - 24px); }
}
.luxe .drawer .dsoc a { background: transparent; border: 1px solid #8a8986; box-sizing: border-box; border-radius: 2px; color: #fff; transition: background .2s, border-color .2s; } .luxe .drawer .dsoc a:hover { background: #403f3f; border-color: #a5a4a1; } .luxe .drawer .x { border-radius: 2px; }
/* ===== mobile bar v2: context button + tab bar ===== */
#mbar, #nsheet { display: none; }
@media (max-width: 760px) {
  #bar { display: none !important; }
  #mbar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #0e0e0e; border-top: 1px solid #222; padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 4px); gap: 6px; }
  #nsheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 80; }
  #nsheet .ms-dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
  #nsheet .ms-box { position: absolute; left: 0; right: 0; bottom: 0; background: #141414; color: #f1efe9; border-radius: 18px 18px 0 0; padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 16px); transform: translateY(100%); transition: transform .22s cubic-bezier(.2,.8,.2,1); max-height: 86vh; overflow: auto; }
  #nsheet.open .ms-dim { opacity: 1; } #nsheet.open .ms-box { transform: none; }
  #mctx { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: #1d1c1b; border: 1px solid #2e2d2b; color: #f1efe9; cursor: pointer; min-width: 0; }
  #mctx:active { background: #262523; }
  .mc-v { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 15px; } .mc-v .avs { display: inline-flex; } .mc-v .avs .av { width: 20px; height: 20px; font-size: 10px; margin-left: -4px; }
  .mc-sep { width: 1px; height: 18px; background: #3a3937; flex: none; }
  .mc-p { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mc-chev { flex: none; opacity: .6; }
  .mtabs { display: grid; grid-template-columns: repeat(4, 1fr); }
  .mtabs .mt[hidden] { display: none; } .mtabs:has(.mt[hidden]) { grid-template-columns: repeat(3, 1fr); }
  .mt { all: unset; box-sizing: border-box; position: relative; display: grid; justify-items: center; gap: 3px; padding: 6px 2px 4px; border-radius: 10px; color: #8f8c86; font-size: 11px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mt.on { color: #f1efe9; } .mt.on svg { color: #ffe66d; } .mt[data-mt="cmts"].on svg { color: #8cc4ff; } .mt[data-mt="edit"].on svg { color: #6f9bff; }
  .mt:active { background: #1d1c1b; }
  .mt-b { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: #3a3937; color: #f1efe9; font-style: normal; font-size: 10px; line-height: 16px; text-align: center; }
  .mt-b:empty { display: none; } .mt.on .mt-b { background: #f1efe9; color: #0b0b0b; }
  /* site, panels and modals sit above the new bar (~112px) */
  html body .site { top: 8px; left: 8px; right: 8px; bottom: calc(env(safe-area-inset-bottom, 0px) + 120px); }
  .drawer { bottom: calc(env(safe-area-inset-bottom, 0px) + 120px) !important; } .drawer-dim { inset: 8px 8px calc(env(safe-area-inset-bottom, 0px) + 120px) 8px !important; }
  #modal .mpanel { bottom: calc(env(safe-area-inset-bottom, 0px) + 112px) !important; }
  #epanel { bottom: calc(env(safe-area-inset-bottom, 0px) + 112px) !important; }
  body.epanel .site { bottom: calc(44vh + 120px) !important; }
  .hero .img { height: calc(100svh - 128px) !important; }
  .ce-pick { inset: 0 0 112px !important; }
  /* version + page lists inside the sheet */
  .ns-sec h4 { margin: 6px 6px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bar-muted); font-weight: 600; }
  .ns-sec + .ns-sec { margin-top: 14px; }
  .vmenu.ns-copy { position: static !important; display: block !important; width: auto !important; max-height: none !important; box-shadow: none; background: transparent; border: 0; padding: 0; overflow: visible; }
  .vmenu.ns-copy button[data-ver], .vmenu.ns-copy button[data-page] { min-height: 46px; border-radius: 10px; }
  .vmenu.ns-copy button[aria-selected="true"] { background: #2b2a28; }
  .vmenu.pm.ns-copy button { display: flex !important; width: 100%; box-sizing: border-box; justify-content: space-between; align-items: center; text-align: left; } .vmenu.pm.ns-copy button > span:first-child { flex: 1; min-width: 0; }
}
/* phones: notes and comments open as a sheet above the bar */
@media (max-width: 760px) {
  .note.open, .note.nhov, .cbox.open { position: fixed !important; left: 10px !important; right: 10px !important; top: auto !important; bottom: calc(env(safe-area-inset-bottom, 0px) + 124px) !important; width: auto !important; max-height: 50vh; overflow: auto; transform: none !important; z-index: 70 !important; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
  .note.open::before, .note.nhov::before { display: none; }
  .note.open { padding: 16px 44px 18px 16px; font-size: 15px; }
  .site.phonevp .sec.hero > .pin, .site.phonevp .sec.hero > .cpin { top: 76px !important; }
}
/* tour */
#tour { position: fixed; inset: 0; z-index: 95; } #tour[hidden] { display: none; }
.tr-ring { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0,0,0,.55), 0 0 0 2px #ffe66d; pointer-events: none; transition: all .25s cubic-bezier(.2,.8,.2,1); }
.tr-card { position: fixed; background: #fff; color: #141414; border-radius: 14px; padding: 16px 18px 14px; box-shadow: 0 20px 60px rgba(0,0,0,.4); display: grid; gap: 6px; }
.tr-n { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } .tr-card h4 { margin: 0; font-size: 17px; font-weight: 500; } .tr-card p { margin: 0; font-size: 14px; line-height: 1.5; color: #3b3a36; }
.tr-acts { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.tr-skip { all: unset; cursor: pointer; font-size: 13px; color: var(--muted); } .tr-skip:hover { color: #141414; }
.tr-next { all: unset; cursor: pointer; font-size: 13px; padding: 8px 16px; border-radius: 8px; background: #141414; color: #fff; }
.tourrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; } .tourrow span { font-size: 13px; color: var(--muted); }
/* article + logo pages, calmer */
.cms-edit.page .ce-title { min-width: 0; flex: 1; } .cms-edit.page .ce-title h3 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cms-edit.page .ce-cols.k-art, .cms-edit.page .ce-cols.k-logo { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.cms-edit.page .ce-cols.k-art .ce-right, .cms-edit.page .ce-cols.k-logo .ce-right { position: sticky; top: 12px; display: grid; gap: 12px; }
.ce-cols.k-art .ce-artwrap { max-height: none; overflow: visible; background: #fff; border-radius: 12px; }
.ce-cols.k-art .ce-art { padding: 40px 56px 48px; max-width: 760px; margin: 0 auto; }
.ce-cols.k-art .ce-art h1 { font-size: 30px; line-height: 1.15; margin: 10px 0 22px; }
.ce-cols.k-art .ce-bt { font-size: 16px; line-height: 1.6; padding: 4px 0; } .ce-cols.k-art .ce-bt.h2 { font-size: 22px; padding-top: 14px; } .ce-cols.k-art .ce-bt.h3 { font-size: 18px; }
.ce-cols.k-art .ce-body { gap: 6px; }
.ce-artbar { justify-content: space-between; } .ce-tip { font-size: 12px; color: var(--muted); cursor: help; }
.ce-cols.k-art .ce-sideimg { border-radius: 8px; margin-bottom: 8px; } .ce-cols.k-art .ce-sideacts .pe-opt { flex: 1; justify-content: center; }
.ce-open { font-size: 13px; color: var(--ink); text-decoration: none; padding: 4px 2px; } .ce-open:hover { text-decoration: underline; }
.ce-cols.k-art .ce-fields.one { gap: 12px; }
@media (max-width: 1000px) { .cms-edit.page .ce-cols.k-art, .cms-edit.page .ce-cols.k-logo { grid-template-columns: minmax(0, 1fr); } .ce-cols.k-art .ce-right { position: static; order: -1; grid-template-columns: 1fr 1fr; } .ce-cols.k-art .ce-right > .ce-hd, .ce-cols.k-art .ce-right > .ce-open { grid-column: 1 / -1; } .ce-cols.k-art .ce-art { padding: 28px 24px; } }
@media (max-width: 760px) { .ce-cols.k-art .ce-right { grid-template-columns: 1fr; } }
/* CMS lists: whole card / row clickable */
.cms-it { position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cms-it:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.cms-it:focus-visible, .cms-row:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cms-it .th { position: relative; }
.cms-hn { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 10px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #141414; color: #fff; }
.cms-it .cap b { font-family: inherit; font-size: 12px; }
.cms-row { cursor: pointer; }
.cms-tbl td:nth-child(2) { min-width: 260px; max-width: none; line-height: 1.35; }
.cms-tbl td:nth-child(3) { white-space: nowrap; }
.cms-tbl td.go { width: 56px; text-align: right; white-space: nowrap; color: var(--muted); font-size: 18px; } .cms-tbl td.go .cms-hn { position: static; display: inline-block; margin-right: 8px; vertical-align: 2px; }
.cms-row:hover td.go span { color: var(--ink); }
.cms-tbl td:nth-child(4), .cms-tbl td:nth-child(5) { color: var(--muted); }
.cms-tbl .th { cursor: pointer; }
/* contact form first: no extra air above the nav */
.sec.form:has(> .nav) { padding-top: 24px !important; } .sec.form > .nav { margin-bottom: 8px; }
/* editor sidebar never wider than its column */
.cms-edit.page .ce-right { grid-template-columns: minmax(0, 1fr); } .cms-edit.page .ce-right input, .cms-edit.page .ce-right textarea { width: 100%; box-sizing: border-box; min-width: 0; }
.ce-artpic .ce-swap { background: rgba(20,20,20,.78); color: #fff; border-radius: 2px; box-shadow: none; padding: 8px 12px; letter-spacing: .02em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } .ce-artpic .ce-swap:hover { background: #141414; }
/* ===== tool UI button system (modals, CMS, Info, dialogs) ===== */
:root { --tb-h: 36px; --tb-r: 8px; }
#modal .act, #modal .ce-back, #modal .pe-opt.ce-o, #modal a.pe-opt.ce-o, #modal .ce-addend, #modal .dec-opt, #modal .ce-ratios .pe-opt,
#askv .askv-b, .tr-next {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--tb-h); padding: 0 14px; border-radius: var(--tb-r); font: 500 13px/1 var(--font); letter-spacing: 0; text-transform: none;
  background: #fff; color: var(--ink); border: 1px solid var(--line); white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
#modal .act:hover, #modal .ce-back:hover, #modal .pe-opt.ce-o:hover, #modal .ce-addend:hover, #modal .dec-opt:hover, #askv .askv-b:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
/* primary */
#modal .act.dark, #modal [data-cmssave], #askv .askv-b.dark, .tr-next, #modal .dec-opt.on { background: #141414; color: #fff; border-color: #141414; }
#modal .act.dark:hover, #modal [data-cmssave]:hover, #askv .askv-b.dark:hover, .tr-next:hover, #modal .dec-opt.on:hover { background: #000; color: #fff; border-color: #000; }
/* small square icon button */
#modal .ce-reset { width: var(--tb-h); height: var(--tb-h); line-height: var(--tb-h); border-radius: var(--tb-r); background: #fff; border: 1px solid var(--line); box-sizing: border-box; } #modal .ce-reset:hover { border-color: var(--ink); background: #fff; }
/* dashed add */
#modal .ce-addend { border-style: dashed; color: var(--muted); } #modal .ce-addend:hover { color: var(--ink); }
/* segmented controls look like the tabs */
#modal .ce-seg, #modal .ce-rseg, #modal .ovhead .tabs { background: var(--card); border-radius: 10px; padding: 3px; gap: 2px; display: inline-flex; }
#modal .ce-seg button, #modal .ce-rseg button { all: unset; cursor: pointer; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 7px; font: 500 13px/1 var(--font); color: var(--body); }
#modal .ce-seg button.on, #modal .ce-rseg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
/* small pill (AI) */
#modal .ce-ai { height: 26px; padding: 0 10px; border-radius: 999px; font: 500 11px/1 var(--font); letter-spacing: 0; text-transform: none; display: inline-flex; align-items: center; }
/* image swap on photo stays dark glass */
#modal .ce-artpic .ce-swap { height: 32px; padding: 0 12px; border-radius: var(--tb-r); font: 500 12px/1 var(--font); display: inline-flex; align-items: center; }
/* eyebrow on image + text sections (same mark as Label + Text) */
.split .copy .kick { font-family: var(--font); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.split .copy .kick::before { content: ""; display: block; width: 36px; height: 1px; background: currentColor; margin-bottom: 18px; opacity: .6; }
.split.dark .copy .kick { color: rgba(255,255,255,.6); }
/* section explorer: also on smaller windows, bar toggle, phone filmstrip */

body.mmnarrow #minimap { width: 124px; } body.mm.mmnarrow .site:not(.mobile), body.mm.mmnarrow #floatnav { right: 148px; }
body.mm.mmnarrow .site.mobile, body.mm.mmnarrow #phone { left: calc(50% - 68px); }
@media (max-width: 1100px) and (min-width: 761px) { .mm-m b { font-size: 10.5px; } .mm-list { padding: 2px 6px 10px; } }
@media (max-width: 760px) {
  body.mmphone #minimap { display: flex !important; position: fixed; top: auto; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); width: auto; height: 142px; border-radius: 16px 16px 0 0; z-index: 49; }
  body.mmphone #minimap .mm-list { display: grid; grid-auto-flow: column; grid-auto-columns: 116px; overflow-x: auto; overflow-y: hidden; padding: 0 10px 10px; gap: 6px; scroll-snap-type: x proximity; }
  body.mmphone #minimap .mm-it { scroll-snap-align: start; padding: 4px; }
  body.mmphone .site { bottom: calc(env(safe-area-inset-bottom, 0px) + 262px) !important; right: 8px !important; left: 8px !important; }
  body.mm .site, body.mmc .site { right: 8px !important; }
}
/* ===== Explorer ===== */
#minimap.explorer { width: var(--sp-w); font-size: 12.5px; }
body.mm .site:not(.mobile), body.mm #floatnav { right: calc(var(--sp-w) + 24px) !important; }
body.mm .site.mobile, body.mm #phone { left: calc(50% - var(--sp-w) / 2 - 6px) !important; }
body.mm.epanel .site.mobile, body.mm.epanel #phone { left: calc(50% + 0px) !important; }
body.exov #minimap.explorer { box-shadow: -20px 0 60px rgba(0,0,0,.45); }
#minimap .ex-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 8px 14px; } #minimap .ex-h b { font-weight: 500; font-size: 13px; }
#minimap .ex-search { margin: 0 10px 8px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; background: #1f1e1d; border: 1px solid #2e2d2b; color: #8f8c86; }
#minimap .ex-search:focus-within { border-color: #55534f; color: #f1efe9; }
#minimap .ex-search input { all: unset; flex: 1; min-width: 0; color: #f1efe9; font-size: 13px; } #minimap .ex-search input::placeholder { color: #77746e; }
#minimap .ex-body { flex: 1; overflow: auto; padding: 0 8px 14px; scrollbar-width: thin; }
.ex-lab { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bar-muted); padding: 12px 6px 6px; }
button.ex-lab.ex-tog { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; cursor: pointer; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bar-muted); padding: 14px 6px 6px; border-top: 1px solid #2b2a28; margin-top: 8px; } button.ex-lab.ex-tog i { font-style: normal; letter-spacing: 0; font-size: 14px; }
.ex-pg { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; cursor: pointer; padding: 8px 8px; border-radius: 8px; color: #d9d6cf; font-size: 13px; }
.ex-pg:hover { background: #1f1e1d; } .ex-pg.on { background: #2b2a28; color: #fff; }
.ex-pg span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ex-pg.sub { font-size: 12px; padding-left: 14px; }
.ex-pg i { display: inline-flex; gap: 4px; font-style: normal; flex: none; } .ex-pg em { font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: 999px; }
.ex-cur { margin: 4px 0 10px; padding: 0 0 6px 10px; border-left: 1px solid #3a3937; margin-left: 8px; }
.ex-cur-h { display: none; }
.ex-meta { margin: 6px 0 2px; display: grid; gap: 8px; }
.ex-url { font-size: 11px; color: #8cc4ff; word-break: break-all; }
.ex-seo { background: #1a1918; border: 1px solid #2b2a28; border-radius: 8px; padding: 9px 10px; display: grid; gap: 3px; }
.ex-st { color: #f1efe9; font-size: 12.5px; line-height: 1.3; } .ex-sd { color: #a9a59d; font-size: 11.5px; line-height: 1.4; } .ex-sl { font-size: 10px; color: #77746e; margin-top: 3px; } .ex-sl em { font-style: normal; } .ex-sl em.warn { color: #ffb36b; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ex-r { background: #1a1918; border-radius: 6px; padding: 6px 8px; display: grid; gap: 1px; } .ex-r span { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #77746e; } .ex-r b { font-weight: 500; font-size: 12.5px; color: #f1efe9; }
#minimap.explorer .mm-list { display: grid; gap: 4px; padding: 0; overflow: visible; }
#minimap.explorer .mm-it { grid-template-columns: 72px 1fr; display: grid; align-items: center; gap: 8px; padding: 5px; }
#minimap.explorer .mm-m { display: grid; gap: 2px; grid-template-columns: 1fr auto; align-items: center; } #minimap.explorer .mm-m b { grid-column: 1; } #minimap.explorer .mm-m small { grid-column: 1; color: #8f8c86; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } #minimap.explorer .mm-mk { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; gap: 4px; align-items: center; }
.ex-hit { all: unset; box-sizing: border-box; display: grid; gap: 3px; width: 100%; cursor: pointer; padding: 9px 8px; border-radius: 8px; } .ex-hit:hover { background: #1f1e1d; }
.ex-k { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8f8c86; } .ex-s { font-size: 12px; line-height: 1.45; color: #d9d6cf; } .ex-s mark { background: #ffe66d; color: #141414; border-radius: 2px; padding: 0 1px; }
.ex-none { color: #8f8c86; padding: 10px 8px; margin: 0; }
@media (max-width: 760px) {
  body.mmphone #minimap.explorer { height: 72vh !important; width: auto; display: flex !important; flex-direction: column; }
  body.mmphone #minimap.explorer .mm-list { display: grid !important; grid-auto-flow: row !important; overflow: visible !important; padding: 0 !important; }
  body.mmphone .site { bottom: calc(env(safe-area-inset-bottom, 0px) + 120px) !important; }
  body.mmphone #minimap .ex-pg, body.mmphone #minimap .ex-hit { min-height: 44px; font-size: 15px; }
}
/* edit panel: no overflow, steady list, drag handles */
#epanel .pe-scroll { overflow-x: hidden; }
.pe-lays { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; padding: 0 !important; }
.pe-lay { min-width: 0; box-sizing: border-box; grid-template-columns: 24px minmax(0, 1fr) !important; padding: 8px !important; }
.pe-lay span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-opts { display: flex; flex-wrap: wrap; gap: 6px; } .pe-opt { box-sizing: border-box; max-width: 100%; }
.pe-sec { grid-template-columns: 10px 64px minmax(0, 1fr) auto !important; gap: 8px !important; min-height: 52px; box-sizing: border-box; width: 100%; }
.pe-t { min-width: 0; } .pe-t b, .pe-t small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-ic.th { width: 64px; height: 40px; flex: none; border-radius: 3px; overflow: hidden; background: var(--paper); display: block; }
.pe-grip { color: #55534f; font-size: 11px; letter-spacing: -2px; cursor: grab; user-select: none; } .pe-sec:hover .pe-grip { color: #a9a59d; }
.pe-sec.dragging { opacity: .4; }
.pe-sec.dropb { box-shadow: inset 0 2px 0 #6f9bff; } .pe-sec.dropa { box-shadow: inset 0 -2px 0 #6f9bff; }
.pe-ghost { background: #2b2a28 !important; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.5); opacity: .95; }
body.pe-dragging, body.pe-dragging * { cursor: grabbing !important; user-select: none !important; }
.pe-grip { touch-action: none; padding: 8px 0; }
.sec.ex-flash { box-shadow: inset 0 0 0 3px #ffe66d; transition: box-shadow .3s; }
/* explorer: current page only */
#minimap .ex-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#minimap .ex-cur { margin: 0; padding: 0; border: 0; }
.ex-info { margin: 0 2px 10px; border: 1px solid #2b2a28; border-radius: 8px; }
.ex-info > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 12px; color: #d9d6cf; } .ex-info > summary::-webkit-details-marker { display: none; }
.ex-info > summary i { font-style: normal; color: #8f8c86; font-size: 11px; } .ex-info > summary span::before { content: "▸"; display: inline-block; margin-right: 6px; transition: transform .15s; color: #8f8c86; } .ex-info[open] > summary span::before { transform: rotate(90deg); }
.ex-info .ex-meta { padding: 0 10px 10px; margin: 0; }
/* ===== Entscheidung side panel ===== */
#decpanel { position: fixed; top: 68px; right: 12px; bottom: 12px; width: var(--sp-w); z-index: 46; background: #141414; color: #f1efe9; border: 1px solid var(--bar-line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; font-size: 13px; }
#decpanel[hidden] { display: none; }
body.dp .site:not(.mobile), body.dp #floatnav { right: calc(var(--sp-w) + 24px) !important; }
body.dp .site.mobile, body.dp #phone { left: calc(50% - var(--sp-w) / 2 - 6px) !important; }
body.dpov #decpanel { box-shadow: -20px 0 60px rgba(0,0,0,.45); }

.dp-h { display: flex; justify-content: space-between; align-items: flex-start; padding: 14px 12px 8px 16px; } .dp-h b { display: block; font-size: 16px; font-weight: 500; margin-top: 2px; }
.dp-eb { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #ffe66d; }
.dp-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 12px 8px; background: #1f1e1d; border-radius: 9px; padding: 3px; gap: 3px; }
.dp-tabs button { all: unset; text-align: center; cursor: pointer; padding: 7px 6px; border-radius: 7px; font-size: 12.5px; color: #b5b2ab; } .dp-tabs button.on { background: #f1efe9; color: #0b0b0b; } .dp-tabs em { font-style: normal; opacity: .7; margin-left: 4px; }
.dp-body { flex: 1; overflow: auto; padding: 4px 12px 16px; display: grid; gap: 10px; align-content: start; scrollbar-width: thin; }
.dp-prog { height: 3px; background: #2b2a28; border-radius: 2px; overflow: hidden; } .dp-prog i { display: block; height: 100%; background: #ffe66d; transition: width .3s; }
.dp-last { font-size: 11px; color: #8f8c86; margin-top: -4px; }
.dp-dec { background: #1a1918; border: 1px solid #2b2a28; border-radius: 10px; padding: 12px; display: grid; gap: 8px; } .dp-dec.done { border-color: #3d3a1f; }
.dp-q { display: flex; gap: 10px; align-items: flex-start; } .dp-q b { font-weight: 500; font-size: 13.5px; line-height: 1.3; }
.dp-n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #2b2a28; color: #f1efe9; font-size: 11px; display: grid; place-items: center; } .dp-dec.done .dp-n { background: #ffe66d; color: #141414; }
.dp-dec p { margin: 0; color: #a9a59d; font-size: 12px; line-height: 1.45; }
.dp-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-opts button { all: unset; cursor: pointer; height: 30px; padding: 0 11px; border-radius: 7px; border: 1px solid #3a3937; font-size: 12.5px; color: #d9d6cf; display: inline-flex; align-items: center; } .dp-opts button:hover { border-color: #77746e; color: #fff; }
.dp-opts button.on { background: #f1efe9; color: #0b0b0b; border-color: #f1efe9; } .dp-opts button.clr { border-color: transparent; color: #8f8c86; padding: 0 8px; }
.dp-go, .dp-save, .dp-cmp { all: unset; cursor: pointer; justify-self: start; font-size: 12px; color: #8cc4ff; } .dp-go:hover, .dp-save:hover { text-decoration: underline; }
.dp-note { display: grid; gap: 8px; margin-top: 4px; } .dp-note textarea { font: inherit; font-size: 13px; color: #f1efe9; background: #1a1918; border: 1px solid #2b2a28; border-radius: 8px; padding: 9px 10px; resize: vertical; } .dp-note textarea:focus { outline: none; border-color: #55534f; }
.dp-save { height: 32px; padding: 0 12px; border-radius: 8px; background: #f1efe9; color: #0b0b0b; display: inline-flex; align-items: center; font-weight: 500; } .dp-save:hover { text-decoration: none; background: #fff; }
.dp-ver { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; background: #1a1918; border: 1px solid #2b2a28; border-radius: 10px; padding: 10px 12px; } .dp-ver.on { border-color: #55534f; }
.dp-ver b { display: block; font-weight: 500; } .dp-ver small { display: block; color: #a9a59d; font-size: 11.5px; line-height: 1.4; margin-top: 2px; }
.dp-cmp { height: 36px; border-radius: 8px; background: #f1efe9; color: #0b0b0b; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 13px; justify-self: stretch; }
.dp-hint { margin: 0; font-size: 11.5px; color: #8f8c86; }
.dp-pinrow { display: flex; align-items: center; gap: 12px; margin: -4px 0 14px; } .dp-pinrow span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  body.dpphone #decpanel { display: flex !important; top: auto; left: 0; right: 0; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); height: 70vh; border-radius: 16px 16px 0 0; z-index: 49; }
  .dp-opts button { height: 38px; font-size: 14px; }
}
#askv-p { display: grid; gap: 10px; font-size: 14px; line-height: 1.5; color: #3b3a36; margin-top: 4px; }
#askv .askv-l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
#askv .askv-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--card); border-radius: 10px; padding: 3px; gap: 3px; }
#askv .askv-seg button { all: unset; cursor: pointer; text-align: center; height: 34px; line-height: 34px; border-radius: 7px; font: 500 13px var(--font); color: var(--body); }
#askv .askv-seg button:hover { background: rgba(0,0,0,.05); } #askv .askv-seg button.on { background: #141414; color: #fff; }
/* ===== CMS + Info as dark side panel (default), expandable to full page ===== */
#modal .mtools { position: absolute; top: 14px; right: 14px; z-index: 30; display: flex; gap: 6px; }
#modal .mtools .mx { position: static; }
#modal .mexp { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: var(--ink); display: grid; place-items: center; } #modal .mexp:hover { background: #dcd9d3; }
#modal.side { inset: 0; pointer-events: none; } #modal.side .mpanel { pointer-events: auto; } #modal.side .mdim { display: none; }
#modal.side .ovhead > * { min-width: 0; max-width: 100%; } #modal.side .ovw { min-width: 0; overflow-x: clip; }
#modal.side .mpanel { left: auto; right: 12px; top: 68px; bottom: 12px; width: var(--sp-w); border: 1px solid var(--bar-line); box-shadow: none; }
#modal.dk .mpanel {
  --paper: #141414; --card: #1f1e1d; --ink: #f1efe9; --body: #c9c5bd; --muted: #8f8c86; --line: #2e2d2b; --field: #1f1e1d; --fieldbg: #2b2a28; background: #141414; color: var(--body); container-type: inline-size; }
body.mside .site:not(.mobile), body.mside #floatnav { right: calc(var(--sp-w) + 24px) !important; }
body.mside .site.mobile, body.mside #phone { left: calc(50% - var(--sp-w) / 2 - 6px) !important; }
body.mside.epanel .site.mobile, body.mside.epanel #phone { left: calc(50% + 40px) !important; }
#modal.dk .mexp, #modal.dk .mx { background: #2b2a28; color: #f1efe9; } #modal.dk .mexp:hover, #modal.dk .mx:hover { background: #3a3937; }
#modal.dk .ovw { padding: 18px 18px 40px; max-width: none; }
#modal.dk .ovw h1 { font-size: 20px; padding-right: 80px; }
#modal.dk .ovhead { flex-direction: column; align-items: stretch; gap: 12px; }
#modal.dk .ovhead .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; justify-content: flex-start; } #modal.dk .ovhead .tabs button { flex: none; }
#modal.dk .tabs button.on, #modal.dk .ce-seg button.on, #modal.dk .ce-rseg button.on { background: #f1efe9; color: #0b0b0b; }
#modal.dk .ovw .box, #modal.dk .ce-card, #modal.dk .cms-it, #modal.dk .ref, #modal.dk .gcard, #modal.dk .dec, #modal.dk .fx-item, #modal.dk .ce-artwrap, #modal.dk .cms-edit.page .ce-back, #modal.dk .ex-r { background: #1a1918; border-color: #2b2a28; color: var(--body); }
#modal.dk .ovw .todo { background: #2a2512; border-color: #4a4220; } #modal.dk .ovw .todo .eyebrow { color: #ffe66d; }
#modal.dk h1, #modal.dk h2, #modal.dk h3, #modal.dk b, #modal.dk .ce-title h3 { color: #f1efe9; }
#modal.dk input, #modal.dk textarea, #modal.dk select { background: #1f1e1d !important; color: #f1efe9 !important; border-color: #2e2d2b !important; }
#modal.dk .act, #modal.dk .pe-opt.ce-o, #modal.dk .dec-opt, #modal.dk .ce-reset, #modal.dk .ce-ai, #modal.dk .ce-addend { background: transparent; color: #f1efe9; border-color: #3a3937; }
#modal.dk .act:hover, #modal.dk .pe-opt.ce-o:hover, #modal.dk .dec-opt:hover { border-color: #77746e; background: transparent; color: #fff; }
#modal.dk .act.dark, #modal.dk [data-cmssave], #modal.dk .dec-opt.on { background: #f1efe9; color: #0b0b0b; border-color: #f1efe9; }
#modal.dk .cms-tbl tr:hover td { background: rgba(255,255,255,.04); } #modal.dk .cms-tbl td, #modal.dk .cms-tbl th { border-color: #2b2a28; }
#modal.dk .gcard .gi { background: #f1efe9; color: #141414; } #modal.dk .gcard span { color: var(--body); }
#modal.dk a { color: #f1efe9; }
/* keep site previews light */
#modal.dk .demo, #modal.dk .kit .sw, #modal.dk .ce-art, #modal.dk .ce-lg.paper, #modal.dk .mini, #modal.dk .ce-pv .pvb { --paper: #f6f4ef; --card: #ece8e0; --ink: #0c0c0c; --body: #403f3f; --muted: #7a766f; --line: #dcd6ca; color: var(--body); }
#modal.dk .ce-art b, #modal.dk .ce-art h1, #modal.dk .demo h1, #modal.dk .demo h2, #modal.dk .demo h3, #modal.dk .demo b { color: #0c0c0c; }
#modal.dk .ce-cols.k-art .ce-artwrap { background: #f6f4ef; }
/* narrow layouts inside the panel */
#modal.side .ce-cols, #modal.side .cms-edit.page .ce-cols.k-art, #modal.side .cms-edit.page .ce-cols.k-logo, #modal.side .cms-edit.page.img .ce-cols { grid-template-columns: minmax(0, 1fr) !important; }
#modal.side .ce-cols.k-art .ce-right { position: static; order: -1; }
#modal.side .ce-cols.k-art .ce-art { padding: 22px 18px; }
#modal.side .cms-edit.page .ce-top { padding-right: 84px; flex-wrap: wrap; }
#modal.side .cms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#modal.side .cms-tbl th:nth-child(3), #modal.side .cms-tbl td:nth-child(3), #modal.side .cms-tbl th:nth-child(4), #modal.side .cms-tbl td:nth-child(4), #modal.side .cms-tbl th:nth-child(6), #modal.side .cms-tbl td:nth-child(6) { display: none; }
#modal.side .cms-tbl td:nth-child(2) { min-width: 0; }
#modal.side .fx-cards, #modal.side .fx-grid, #modal.side .fx-list, #modal.side .ggrid, #modal.side .steps, #modal.side .parts, #modal.side .ce-logos, #modal.side .tov-pairs, #modal.side .tov-words, #modal.side .spec { grid-template-columns: minmax(0, 1fr) !important; }
#modal.side .refs { grid-template-columns: minmax(0, 1fr) !important; }
#modal.side .dec { grid-template-columns: 32px 1fr !important; } #modal.side .dec-s { grid-column: 2; border-left: 0 !important; padding-left: 0 !important; }
#modal.side .ovw [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
#modal.side .ovw > * { min-width: 0; max-width: 100%; }
#modal.side .dp-pinrow { display: none; }
#modal.side .cms-stats { flex-wrap: wrap; gap: 8px 14px; }
/* page menu: selected row without checkmark, badges right */
.vmenu.pm button[aria-selected="true"]::after { content: none !important; }
.vmenu.pm button[aria-selected="true"] { background: #2b2a28; box-shadow: inset 2px 0 0 #f1efe9; }
.vmenu.pm button[aria-selected="true"] > span:first-child { font-weight: 600; }
.vmenu.pm button .pm-b { margin-left: auto; }
#modal.side .cms-edit.page { grid-template-columns: minmax(0, 1fr); } #modal.side .ce-cols > *, #modal.side .ce-right > * { min-width: 0; }
#modal.side .cms-edit.page .ce-top { padding-right: 84px; } #modal.side .cms-edit.page .ce-title { order: 3; flex-basis: 100%; } #modal.side .cms-edit.page .ce-topacts { margin-left: 0; }
#modal.dk .spec .sample, #modal.dk .spec { --ink: #0c0c0c; --body: #403f3f; --muted: #7a766f; color: #0c0c0c; }
#modal.dk [aria-pressed="true"][data-kitver], #modal.dk [aria-pressed="true"][data-kitfont] { color: #0b0b0b !important; background: #f1efe9 !important; }
#modal.side .ce-2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
#modal:not(.side) .cms-edit.page .ce-top { padding-right: 96px !important; }
button.dp-n { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid #55534f; color: #8f8c86; font-size: 11px; display: grid; place-items: center; transition: background .15s, border-color .15s; }
button.dp-n:hover { border-color: #ffe66d; color: #ffe66d; }
.dp-dec.done button.dp-n { background: #ffe66d; border-color: #ffe66d; color: #141414; font-size: 13px; }
.dp-q { align-items: center !important; } .dp-val { font-style: normal; margin-left: auto; flex: none; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #2b2a28; color: #f1efe9; }
.dp-dec.done p, .dp-dec.done .dp-opts { opacity: .55; } .dp-dec.done:hover p, .dp-dec.done:hover .dp-opts { opacity: 1; }
.dp-tabs button { white-space: nowrap; }
/* shared side panel width + resize handle */
:root { --sp-w: 400px; }
#sph { position: fixed; top: 68px; bottom: 12px; width: 12px; right: calc(var(--sp-w) + 6px); z-index: 60; cursor: col-resize; display: none; }
#sph::after { content: ""; position: absolute; left: 5px; top: 50%; width: 3px; height: 44px; margin-top: -22px; border-radius: 2px; background: #3a3937; transition: background .15s, height .15s; }
#sph:hover::after, body.sp-resizing #sph::after { background: #f1efe9; height: 64px; margin-top: -32px; }
body.mm #sph, body.dp #sph, body.mside #sph, body.ip #sph { display: block; }
body.sp-resizing, body.sp-resizing * { cursor: col-resize !important; user-select: none !important; }
body.sp-resizing .site, body.sp-resizing iframe { pointer-events: none; }
#modal.dk:not(.side) .mpanel { border: 1px solid var(--bar-line); }
#modal.dk .mexp, #modal.dk .mx { background: #2b2a28; color: #f1efe9; }
@media (max-width: 760px) { #sph { display: none !important; } }
/* panel header fixed, dark-mode contrast fixes */
#modal.dk .ovhead { position: sticky; top: 0; z-index: 20; background: #141414; margin: -18px -18px 16px; padding: 18px 18px 12px; border-bottom: 1px solid #2b2a28; }
#modal.dk:not(.side) .ovhead { margin: -36px -40px 20px; padding: 28px 40px 14px; }
#modal.dk .mtools { z-index: 40; }
#modal.dk .cms-edit.page .ce-top { position: sticky; top: 0; z-index: 20; background: #141414; margin: -18px -18px 0; padding: 14px 84px 12px 18px; border-bottom: 1px solid #2b2a28; }
#modal.dk .is, #modal.dk .lay-k, #modal.dk .ref, #modal.dk .fx-item { background: #1a1918; border-color: #2b2a28; color: var(--body); }
#modal.dk .is p, #modal.dk .dec-b p { color: #a9a59d; }
#modal.dk .golink, #modal.dk .ovw .golink { color: #8cc4ff; }
#modal.dk .chips button { background: transparent; color: #d9d6cf; border-color: #3a3937; } #modal.dk .chips button[aria-pressed="true"] { background: #f1efe9; color: #0b0b0b; border-color: #f1efe9; }
#modal.dk .ref .rwhy { background: #232220; color: #c9c5bd; }
#modal.dk .ref .ract { background: transparent; color: #f1efe9; border-color: #55534f; } #modal.dk .ref .ract.dark, #modal.dk .ref .ract:hover { background: #f1efe9; color: #0b0b0b; border-color: #f1efe9; }
#modal.dk .fx-item em { color: #f1efe9; } #modal.dk .fx-item.on { background: #232220; border-color: #f1efe9; }
#modal.dk .dec-n { background: #f1efe9; color: #0b0b0b; } #modal.dk .dec.done .dec-n { background: #ffe66d; color: #141414; }
#modal.dk .kit-seg { background: #1f1e1d; } #modal.dk .kit-seg button { color: #a9a59d; }
#modal.dk .cms-tbl td { color: #d9d6cf; } #modal.dk .cms-tbl td:nth-child(n+3) { color: #8f8c86; }
#modal.dk .dec-note { background: #1f1e1d; color: #f1efe9; border-color: #2e2d2b; }
#modal.dk .cms-it .cap .pl { color: #d9d6cf; border-color: #3a3937; }
#modal.dk .box.link span, #modal.dk .gcard span { color: #a9a59d; }
/* edit prompt in dark */
#askv .askv-box { background: #141414; color: #c9c5bd; border: 1px solid #2b2a28; }
#askv h3 { color: #f1efe9; } #askv-p, #askv p { color: #a9a59d; }
#askv .askv-ic { background: #f1efe9; color: #141414; }
#askv .askv-seg { background: #1f1e1d; } #askv .askv-seg button { color: #b5b2ab; } #askv .askv-seg button:hover { background: #2b2a28; } #askv .askv-seg button.on { background: #f1efe9; color: #0b0b0b; }
#askv .askv-b { background: transparent; color: #f1efe9; border-color: #3a3937; } #askv .askv-b:hover { border-color: #77746e; background: transparent; color: #fff; }
#askv .askv-b.dark { background: #f1efe9; color: #0b0b0b; border-color: #f1efe9; } #askv .askv-b.dark:hover { background: #fff; color: #0b0b0b; border-color: #fff; }
#modal.side .ovhead .tabs { flex-wrap: wrap !important; overflow: visible !important; } #modal.side .ovhead .tabs button { padding: 7px 10px; }
/* side panel: only the essentials, details in full screen */
#modal.side .fo { display: none !important; }
#modal.side .chg .box ul li.one:not(.why) { display: none; }
#modal.side .chg .box .iss, #modal.side .chg .box > p { display: none; }
#modal.side .chg .box h2 small { display: block; margin: 2px 0 6px; }
#modal.side .chg .box { padding: 14px 16px; }
#modal.side .chg .box li.why { font-size: 13px; line-height: 1.5; padding: 0; border: 0; background: none; }
.wl { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
#modal.side .ref .rbody > .rt { display: none; }
#modal.side .ovw > p:first-of-type { font-size: 13px; }
#modal.side .fo-hint { display: block; }
.fo-hint { display: none; font-size: 12px; color: var(--muted); margin: 6px 0 0; }
#modal.side .chg { grid-template-columns: minmax(0,1fr) !important; gap: 8px; }
#modal.side .chg .box ul { display: none; }
#modal.side .chg .box > p { display: block !important; margin: 6px 0 0 !important; }
#modal.side .chg .box > p a { color: #8cc4ff; }
#modal.side .chg .box h2 { font-size: 15px; margin: 0; }
#modal.side .chg .box h2 small { font-size: 12px; color: #a9a59d; }
#modal.side .ovw ul li .k { display: block; margin-bottom: 2px; }
#modal.side .ovw ul li { display: block !important; }
/* ===== paragraph layouts (V3 Absätze) ===== */
.labeled.l-stack > div:first-child { grid-column: 1 / -1; } .labeled.l-stack h2 { max-width: 26ch; } .labeled.l-stack .copy { grid-column: 2; }
.labeled.l-left { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); } .labeled.l-left > div:first-child { order: 2; }
.ptwo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; } .ptwo p { margin-top: 0; }
.statement .sm { margin: 36px 0 0 auto; max-width: 52ch; } .statement .sm p { font-size: 18px; font-weight: 300; line-height: 1.55; letter-spacing: 0; max-width: none; color: var(--body, inherit); } .statement .sm p + p { margin-top: .9em; }
.cols.rows .grid { grid-template-columns: 1fr; gap: 0; }
.cols.rows .grid > .copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 16px 56px; padding: 34px 0; border-top: 1px solid var(--line, #ddd); }
.cols.rows .grid > .copy:last-child { padding-bottom: 0; } .cols.rows h3 { margin: 0; font-size: clamp(22px, 2cqi, 30px); line-height: 1.25; }
.cols .ps p { font-size: 18px; font-weight: 300; line-height: 1.55; margin: 0; max-width: 62ch; } .cols .ps p + p { margin-top: .9em; }
@container site (max-width: 700px) { .labeled.l-stack .copy { grid-column: auto; } .labeled.l-left { grid-template-columns: 1fr; } .ptwo { grid-template-columns: 1fr; } .statement .sm { margin-left: 0; } .cols.rows .grid > .copy { grid-template-columns: 1fr; padding: 24px 0; } .cols .ps p { font-size: 16px; } }
/* ===== Live-Seite panel ===== */
.lv .lv-box { padding: 16px 18px; } .lv .eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lv-cur { display: grid; gap: 4px; margin: 8px 0 12px; } .lv-cur b { font-size: 18px; font-weight: 500; color: var(--ink); } .lv-cur span, .lv-dim { color: var(--muted); font-size: 13px; line-height: 1.5; }
.lv-links { display: flex; gap: 8px; flex-wrap: wrap; }
.lv-dom { margin-top: 12px; font-size: 13px; color: var(--body); display: flex; align-items: center; gap: 8px; } .lv-dom i { width: 8px; height: 8px; border-radius: 50%; background: #8f8c86; } .lv-dom i.ok { background: #49b36b; }
.lv-h { margin: 22px 0 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lv-vs { display: grid; grid-template-columns: 1fr; gap: 6px; }
.lv-v { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--body); font-size: 14px; }
.lv-v b { color: var(--ink); font-weight: 600; } .lv-v span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-v i { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #1f3d2a; color: #8fe0a9; } .lv-v i.d { background: #3a3424; color: #ffe08a; }
.lv-v:hover { border-color: #4a4946; } .lv-v.on { border-color: #f1efe9; box-shadow: 0 0 0 1px #f1efe9 inset; }
.lv-go { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 11px 16px; border-radius: 8px; background: #f1efe9; color: #0b0b0b; font-size: 14px; font-weight: 500; } .lv-go.wide { display: block; width: 100%; margin-top: 14px; } .lv-go:hover { background: #fff; }
.lv-sm { all: unset; box-sizing: border-box; cursor: pointer; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; text-decoration: none; } .lv-sm:hover { border-color: #5a5955; }
.lv-confirm { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid #6a5a2a; background: #2a2518; color: #f1e7c8; font-size: 13px; line-height: 1.5; display: grid; gap: 10px; } .lv-confirm div { display: flex; gap: 8px; justify-content: flex-end; }
.lv-busy { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--card); color: var(--ink); font-size: 14px; }
.lv-err { color: #ff9b8f; font-size: 13px; }
.lv-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .lv-hist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--body); } .lv-hist li.on { border-color: #3d6b4b; } .lv-hist b { color: var(--ink); font-weight: 500; } .lv-hist small { color: var(--muted); } .lv-hist em { font-style: normal; font-size: 11px; color: #8fe0a9; }
/* ===== Einstellungen ===== */
.lv-p { font-size: 14px; line-height: 1.55; color: var(--body); margin: 8px 0 12px; }
.lv-ol { margin: 0 0 14px; padding-left: 20px; font-size: 13px; line-height: 1.6; color: var(--body); display: grid; gap: 8px; } .lv-ol a { color: var(--ink); }
.lv code, .lv-ol code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: #2a2927; color: #f1efe9; padding: 1px 6px; border-radius: 5px; }
.lv-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; } .lv-row.end { justify-content: flex-end; }
.lv-in { flex: 1; min-width: 0; box-sizing: border-box; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--line); background: #121212; color: var(--ink); font: inherit; font-size: 14px; }
.lv-in:focus { outline: none; border-color: #6a6964; }
.lv-go[disabled] { opacity: .35; cursor: default; }
.steps { display: grid; gap: 10px; margin: 6px 0 4px; }
.st { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--ink); } .st b { font-weight: 500; } .st .lv-dim { margin-top: 3px; } .st code { display: inline-block; margin-top: 4px; }
.st i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #5a5955; font-style: normal; font-size: 11px; display: grid; place-items: center; margin-top: 1px; } .st.ok i { background: #49b36b; border-color: #49b36b; color: #0b0b0b; }
.lv-tg { all: unset; cursor: pointer; display: block; margin: 22px 0 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lv-dns td { font-size: 12px; padding: 7px 10px; white-space: nowrap; } .lv-dns td.c { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.tm { display: grid; gap: 6px; } .tm-r { display: grid; grid-template-columns: 1fr 1.7fr 30px; gap: 6px; }
.lv-x { all: unset; cursor: pointer; text-align: center; color: var(--muted); font-size: 18px; border-radius: 8px; } .lv-x:hover { color: var(--ink); background: #2a2927; }
/* ===== Neuigkeiten ===== */
#feedbtn { position: relative; } .fb-n { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: #ff6b4a; color: #fff; font: 600 10px/16px var(--font, sans-serif); font-style: normal; text-align: center; } .fb-n:empty { display: none; }
.fd .ovhead .tabs button .fd-c { opacity: .55; margin-left: 3px; font-size: 11px; }
.fd-day { margin: 18px 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fd-it { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; width: 100%; padding: 10px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: var(--body); }
.fd-it:hover { background: var(--card); } .fd-it.new { background: #1f2a22; } .fd-it.new:hover { background: #24332a; }
.fd-it b { color: var(--ink); font-weight: 600; } .fd-ic { font-size: 12px; text-align: center; padding-top: 1px; opacity: .8; } .t-l .fd-ic { color: #49b36b; } .t-d .fd-ic { color: #ffe08a; }
.fd-tm { color: var(--muted); font-size: 12px; padding-top: 1px; } .fd-w { color: var(--muted); } .fd-to { color: var(--ink); }
.fd-it q { display: block; margin-top: 4px; padding: 6px 10px; border-left: 2px solid #3a3937; color: var(--body); quotes: none; } .fd-it q::before, .fd-it q::after { content: none; }
.tabs button.st-t:first-of-type { margin-left: 0; }
/* drawer without logo: menu list centred vertically, socials at the bottom */
.drawer .dlogo { display: none !important; }
.drawer ul { margin-top: auto !important; }
.lv-ol li { display: list-item !important; grid-template-columns: none !important; padding: 0 !important; border: 0 !important; }
.lv-ol li code { display: inline-block; margin: 3px 4px 0 0; white-space: nowrap; }
.fd-ic i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #8f8c86; margin-top: 5px; }
.t-c .fd-ic i { background: #8cc4ff; } .t-m .fd-ic i { background: #c9a7ff; } .t-v .fd-ic i { background: #6f9bff; } .t-l .fd-ic i { background: #49b36b; } .t-d .fd-ic i { background: #ffe08a; }
/* site menu (drawer) follows the frame when a studio side panel is open */
@media (min-width: 761px) {
  body:is(.mm, .dp, .mside, .ip) .site:not(.mobile) > .drawer { right: calc(var(--sp-w) + 24px) !important; }
  body:is(.mm, .dp, .mside, .ip) .site:not(.mobile) > .drawer-dim { right: calc(var(--sp-w) + 24px) !important; }
  body.epanel .site:not(.mobile) > .drawer-dim { left: 304px !important; }
}
@media (min-width: 761px) and (max-width: 1100px) { body.epanel .site:not(.mobile) > .drawer-dim { left: 264px !important; } }
/* comments: check off, delete */
.cbox .c b { display: flex !important; align-items: baseline; gap: 0; } .cbox .c b > span[data-uid] { flex: none; } .cbox .c b small { flex: 1; }
.cbox .cact { display: inline-flex; gap: 4px; margin-left: 8px; opacity: .55; transition: opacity .15s; } .cbox .c:hover .cact, .cbox .cact:focus-within { opacity: 1; }
.cbox .cact button { all: unset; cursor: pointer; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 3px; box-sizing: border-box; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1; }
.cbox .cact button:hover { color: var(--ink); border-color: #9a978f; }
.cbox .cact .cdo[aria-pressed="true"] { background: #49b36b; border-color: #49b36b; color: #fff; }
.cbox .cact .cdx.sure { color: #fff; background: #d64535; border-color: #d64535; font-size: 11px; padding: 0 6px; }
.cbox .c.done { opacity: .55; } .cbox .c.done p { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.cbox .cdone { display: block; font-style: normal; font-size: 11px; color: #3d8a55; margin-top: 3px; }
.cpin.alldone { background: #49b36b !important; color: #fff !important; }
.vmenu .vm-sep { height: 1px; margin: 6px 10px; background: rgba(255,255,255,.08); }
.fd-cm { border: 1px solid var(--line, #2a2927); border-radius: 12px; padding: 14px 16px 12px; margin: 0 0 10px; background: var(--card, #1b1a19); } .fd-cm.new { border-color: #35553f; }
.fd-cmh { display: flex; align-items: center; gap: 8px; font-size: 13px; } .fd-cmh b { color: var(--ink); font-weight: 600; } .fd-cmh .fd-tm { margin-left: auto; }
.fd-av { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: #3a3937; color: var(--ink); font-size: 11px; font-weight: 600; }
.fd-cmt { margin: 10px 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.fd-cmf { display: flex; align-items: center; gap: 8px; } .fd-go { all: unset; cursor: pointer; font-size: 12.5px; color: var(--muted, #9a978f); } .fd-go:hover { color: var(--ink); text-decoration: underline; }
.fd-done { all: unset; cursor: pointer; margin-left: auto; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: #2a2927; color: var(--ink); } .fd-done:hover { background: #2f4a37; }
.fd-it q.dn { text-decoration: line-through; opacity: .6; } .t-cd .fd-ic i { background: #49b36b; }
/* copy chips */
.cp { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; margin: 2px 4px 2px 0; border-radius: 6px; background: #2a2927; border: 1px solid #3a3937; color: #f1efe9; font: 12px/1.3 ui-monospace, Menlo, monospace; letter-spacing: 0; text-transform: none; vertical-align: middle; }
.cp:hover { border-color: #6a6964; } .cp svg { opacity: .6; flex: none; } .cp.ok { background: #1f3d2a; border-color: #49b36b; color: #8fe0a9; }
.cps { display: flex; flex-wrap: wrap; margin: 6px 0; } .cps.col { flex-direction: column; align-items: flex-start; gap: 3px; } .cps.col span { font: 12px ui-monospace, Menlo, monospace; color: #f1efe9; background: #2a2927; padding: 2px 6px; border-radius: 5px; }
.lv .eyebrow .cp { font-size: 12px; }
.st i { font-size: 10px; color: var(--muted); }
.lv-auto { margin-top: 14px; } .lv-auto summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 6px 0; } .lv-auto summary:hover { color: var(--ink); } .lv-auto[open] summary { margin-bottom: 8px; }
/* pinch zoom on the preview */
.site.pz { overflow: auto; }
.site.pz > *:not(.drawer):not(.drawer-dim):not(.hov) { zoom: var(--pz); width: var(--pzw); max-width: none; margin-left: auto; margin-right: auto; }
#pzpill { position: fixed; z-index: 60; transform: translateX(-50%); padding: 7px 12px; border-radius: 999px; border: 1px solid #2e2d2b; background: rgba(14,14,14,.86); color: #f1efe9; font: 500 12px/1 var(--font, sans-serif); letter-spacing: .02em; cursor: pointer; backdrop-filter: blur(6px); white-space: pre; }
#pzpill:hover { background: #1d1c1b; } #pzpill[hidden] { display: none; }
@media (max-width: 760px) { .site { touch-action: pan-x pan-y; } }
/* typography variants for V1 to V3 and own versions */
.site.ty-light :is(h1, h2, h3, .lead, .copy p.lead, .statement p, .quote p, .team .tag b, .contact .fo b) { font-weight: 300 !important; letter-spacing: -.02em; }
.site.ty-serif :is(h1, h2, h3, .lead, .copy p.lead, .statement p, .quote p, .team .tag b, .contact .fo b, .cards h3, .cols h3) { font-family: "Cormorant Garamond", "Times New Roman", serif !important; font-weight: 400 !important; letter-spacing: 0 !important; }
.site.ty-serif .hero h1 { font-weight: 300 !important; letter-spacing: .01em !important; }
.site.ty-serif :is(.lead, .copy p.lead, .statement p) { line-height: 1.2; }
/* team panel */
.tm-r { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr) 28px !important; }
.lv-ok { color: #8fe0a9; font-size: 13px; margin: 10px 0 0; }
.lv-man { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 6px; font-size: 13px; color: var(--ink); } .lv-man b { font-weight: 500; }
/* CMS: usage badge on photos */
.cms-it .ub { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px 3px 5px; border-radius: 6px; background: rgba(14,14,14,.82); color: #f1efe9; font: 500 10px/1 var(--font, sans-serif); letter-spacing: .02em; backdrop-filter: blur(4px); max-width: calc(100% - 12px); overflow: hidden; }
.cms-it .th:has(.cms-hn) .ub { max-width: calc(100% - 40px); }
.cms-it .ub i { width: 6px; height: 6px; border-radius: 50%; background: #49b36b; flex: none; margin-right: 2px; }
.cms-it .ub b { font-weight: 600; padding: 1px 4px; border-radius: 4px; background: rgba(255,255,255,.12); white-space: nowrap; }
.cms-it .ub.off { background: rgba(14,14,14,.7); color: #c9c5bd; }
.cms-it.unused { opacity: .7; } .cms-it.unused:hover { opacity: 1; }

/* Bild bearbeiten side panel */
#imgpanel { position: fixed; top: 68px; right: 12px; bottom: 12px; width: var(--sp-w); z-index: 47; background: #141414; color: #f1efe9; border: 1px solid var(--bar-line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; font-size: 13px; }
#imgpanel[hidden] { display: none; }
body.ip .site:not(.mobile), body.ip #floatnav { right: calc(var(--sp-w) + 24px) !important; }
body.ip .site.mobile, body.ip #phone { left: calc(50% - var(--sp-w) / 2 - 6px) !important; }
#imgpanel .ip-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--bar-line); }
#imgpanel .ip-h b { display: block; font-size: 14px; font-weight: 600; }
#imgpanel .ip-h span { display: block; margin-top: 3px; color: var(--bar-muted); font-size: 12px; }
#imgpanel .ip-x { background: none; border: 0; color: var(--bar-muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
#imgpanel .ip-x:hover { color: #fff; }
#imgpanel .ip-b { flex: 1; overflow: auto; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
#imgpanel .ip-b > * { flex: none; }
#imgpanel .ip-cur { position: relative; border-radius: 8px; overflow: hidden; background: #0c0c0c; aspect-ratio: 16 / 9; }
#imgpanel .ip-cur img { width: 100%; height: 100%; object-fit: cover; display: block; }
#imgpanel .ip-cur.lg { background: #fff; } #imgpanel .ip-cur.lg img { object-fit: contain; padding: 18px; box-sizing: border-box; }
#imgpanel .ip-cur span { position: absolute; left: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(14,14,14,.82); font-size: 11px; }
#imgpanel .ip-fc .ce-stagewrap { position: relative; display: flex; justify-content: center; background: #0c0c0c; border-radius: 8px; padding: 10px; }
#imgpanel .ip-fc .ip-n { position: absolute; left: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(14,14,14,.82); font-size: 11px; pointer-events: none; }
#imgpanel .ip-fc .ce-toolrow { margin-top: 8px; }
#imgpanel .ip-fca { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 11.5px; color: var(--bar-muted); line-height: 1.4; }
#imgpanel .ip-dotl { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ffe66d; margin-right: 6px; vertical-align: 0; }
#imgpanel .ip-save { flex: none; background: #f1efe9; color: #141414; border: 0; border-radius: 7px; font: 600 12px/1 var(--font, sans-serif); padding: 8px 12px; cursor: pointer; }
#imgpanel .ip-save:disabled { opacity: .35; cursor: default; }
#imgpanel .ce-rseg { background: rgba(255,255,255,.06); }
#imgpanel .ce-rseg button { color: var(--bar-muted); background: none; }
#imgpanel .ce-rseg button.on { background: #f1efe9; color: #141414; }
#imgpanel .ce-reset { background: rgba(255,255,255,.08); color: #f1efe9; border: 0; }
#imgpanel .ip-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; border: 1.5px dashed rgba(255,255,255,.22); border-radius: 10px; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
#imgpanel .ip-drop:hover, #imgpanel .ip-drop.over { border-color: #f1efe9; background: rgba(255,255,255,.06); }
#imgpanel .ip-drop b { font-size: 13px; font-weight: 600; } #imgpanel .ip-drop small { color: var(--bar-muted); font-size: 11.5px; } #imgpanel .ip-drop u { color: #f1efe9; }
#imgpanel .ip-st { font-style: normal; font-size: 11.5px; color: #e9c46a; } #imgpanel .ip-st:empty { display: none; }
#imgpanel .ip-seg { display: flex; gap: 4px; background: rgba(255,255,255,.06); border-radius: 8px; padding: 3px; }
#imgpanel .ip-seg button { flex: 1; background: none; border: 0; color: var(--bar-muted); font: inherit; font-size: 12px; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
#imgpanel .ip-seg button.on { background: #f1efe9; color: #141414; font-weight: 600; }
#imgpanel .ip-lib { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#imgpanel .ip-lib button { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #0c0c0c; cursor: grab; outline: 2px solid transparent; outline-offset: -2px; }
#imgpanel .ip-lib button:hover { outline-color: rgba(255,255,255,.5); }
#imgpanel .ip-lib button.on { outline-color: #f1efe9; }
#imgpanel .ip-lib img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
#imgpanel .ip-lib.lg button { background: #fff; } #imgpanel .ip-lib.lg img { object-fit: contain; padding: 8px; box-sizing: border-box; }
#imgpanel .ip-lib i { position: absolute; right: 4px; top: 4px; font-style: normal; font-size: 10px; font-weight: 600; padding: 2px 5px; border-radius: 5px; background: rgba(14,14,14,.82); color: #f1efe9; }
#imgpanel .ip-hint { margin: 2px 0 0; color: var(--bar-muted); font-size: 11.5px; line-height: 1.45; }
#site .ip-on { outline: 2px solid #f1efe9; outline-offset: -2px; box-shadow: 0 0 0 4px rgba(20,20,20,.55); }
#site .ip-over { outline: 3px dashed #e9c46a !important; outline-offset: -3px; }
#site .ip-over::after { content: "Hier ablegen"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,14,14,.45); color: #fff; font: 600 13px/1 var(--font, sans-serif); letter-spacing: .04em; z-index: 5; pointer-events: none; }
#site .ip-busy::after { content: attr(data-ipst); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,14,14,.55); color: #fff; font: 500 12px/1 var(--font, sans-serif); z-index: 5; }
body.ip-dragging #site [data-img] { outline: 1px dashed rgba(233,196,106,.6); outline-offset: -1px; }
:where(#site [data-img]) { position: relative; }
@media (max-width: 760px) { #imgpanel { top: auto; left: 0; right: 0; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); height: 62vh; border-radius: 16px 16px 0 0; z-index: 49; } }

/* Empfehlungen: tags for proposals */
.ntag.kürzen, .ntag.Text { background: #ffe9a8; color: #5a4300; }
.ntag.umstellen { background: #e4d9ff; color: #35206b; }
.ntag.Lücke { background: #ffd9d2; color: #6b1d0e; }
.ntag.gut { background: #d8efe0; color: #0d4a2a; }
.pin.tg-umstellen { background: #e4d9ff; color: #35206b; } .note.tg-umstellen { background: #efe9ff; color: #35206b; }
.pin.tg-lücke { background: #ffd9d2; color: #6b1d0e; } .pin.tg-lücke:hover, .pin.tg-lücke[aria-expanded="true"] { background: #ffc2b6; } .note.tg-lücke { background: #ffece8; color: #6b1d0e; }
.pin.tg-gut { background: #d8efe0; color: #0d4a2a; } .pin.tg-gut:hover, .pin.tg-gut[aria-expanded="true"] { background: #b9e5c9; } .note.tg-gut { background: #e7f6ec; color: #0d4a2a; }

/* CMS · Übersetzung */
.tr-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 20px; }
.tr-hint { font-size: 12px; color: var(--muted); line-height: 1.45; }
#modal.dk .tr-hint { color: var(--bar-muted); }
.tr-m b { color: #e0705c; }
.tr-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 18px 8px; }
.tr-pg { margin: 0 0 32px; }
.tr-pg h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; margin: 0 0 12px; }
.tr-pg h3 a { color: inherit; text-decoration: none; } .tr-pg h3 a:hover { text-decoration: underline; }
.tr-pg h3 span { font-size: 11.5px; font-weight: 500; color: #4fb377; } .tr-pg h3 span.m { color: #e0705c; }
.tr-sec { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
#modal.dk .tr-sec { border-color: #2c2b29; }
.tr-sh { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 18px; font-size: 12px; background: rgba(127,127,127,.07); }
.tr-sh b { font-weight: 600; } .tr-sh a { font-size: 12px; white-space: nowrap; opacity: .8; } .tr-sh a:hover { opacity: 1; }
.tr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
#modal.dk .tr-row { border-top-color: #2c2b29; }
.tr-row i { display: block; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; color: var(--muted); margin: 0 0 5px; }
#modal.dk .tr-row i { color: #77736c; }
.tr-de { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
#modal.dk .tr-de { color: #a8a49c; }
.tr-en { font-size: 13.5px; line-height: 1.55; }
.tr-row.miss .tr-en em { color: #e0705c; font-style: normal; font-weight: 600; }
.tr-row.miss { box-shadow: inset 3px 0 0 #e0705c; }
.tr-row.same .tr-en { opacity: .55; }
.tr-en textarea { display: block; width: 100%; box-sizing: border-box; resize: none; overflow: hidden; font: inherit; line-height: 1.55; background: rgba(127,127,127,.08); color: inherit; border: 1px solid transparent; border-radius: 8px; padding: 9px 11px; margin: 0; min-height: 40px; }
.tr-en textarea:hover { border-color: var(--line); } .tr-en textarea:focus { outline: none; border-color: #3b82f6; background: rgba(59,130,246,.08); }
.tr-en textarea::placeholder { color: #e0705c; opacity: .8; }
#modal.dk .tr-en textarea:hover { border-color: #3a3937; }
#modal.side .tr-row { grid-template-columns: 1fr; gap: 12px; padding: 16px 16px 18px; }
#modal.side .tr-head { display: none; }
#site .tr-flash { outline: 3px solid #3b82f6; outline-offset: -3px; transition: outline-color 1s; }
.ce-places h4 { display: flex; justify-content: space-between; } .ce-places h4 span { font-weight: 500; opacity: .6; }
.ce-places ul { list-style: none; margin: 0; padding: 0; } .ce-places li { border-top: 1px solid var(--line); } .ce-places li:first-child { border-top: 0; }
#modal.dk .ce-places li { border-top-color: #2c2b29; }
.ce-places a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 12.5px; color: inherit; text-decoration: none; } .ce-places a:hover { text-decoration: underline; }
.ce-places p { margin: 0; font-size: 12.5px; opacity: .7; }

/* Label + Text without a label: the text moves to the left instead of leaving an empty column */
.labeled.nolab, .luxe .labeled.nolab { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
.labeled.nolab > div:first-child { display: none; }
.labeled.nolab .copy { grid-column: 1; max-width: 860px; }
body.edit .labeled.nolab > div:first-child { display: block; }
body.edit .labeled.nolab > div:first-child h2 { font-size: 13px; letter-spacing: .04em; margin: 0 0 14px; opacity: .7; }
body.edit .labeled.nolab [data-f="label"]:empty::before { content: "+ Label (optional)"; }
.vmenu .vdel { top: 50% !important; transform: translateY(-50%); } .vmenu button[aria-selected="true"] .vdel { right: 38px; } .vmenu button:has(.vdel) { padding-right: 64px; }

/* Northern Lights brand type: Bio Sans for titles, Dovetail MVB for text (all versions) */
:is(body.tybrand .site, .site.brand) { --font: "Dovetail MVB", Georgia, serif; --serif: "Dovetail MVB", Georgia, serif; --display: "Dovetail MVB", Georgia, serif; font-family: var(--font); font-weight: 300; font-synthesis-weight: none; }
:is(body.tybrand .site, .site.brand) :where(p, li, dd, dt, td, .lead, .copy p.lead, .statement p, .quote p, input, textarea) { font-family: var(--font) !important; font-style: normal !important; font-weight: 300 !important; letter-spacing: 0 !important; }
:is(body.tybrand .site, .site.brand) :where(.statement p, .quote p) { font-weight: 250 !important; }
:is(body.tybrand .site, .site.brand) :where(b, strong) { font-weight: 500 !important; }
:is(body.tybrand .site, .site.brand) :where(h1, h2, h3, .team .tag b, .contact .fo b, .btn, .eyebrow, .hero .sub, .kick, .cards .m, .hl-grid .m, .hl-feat .m, .art .m, .form label, .contact dt, .cols .more, .nav a, .drawer a, .lang) { font-family: var(--display) !important; font-style: normal !important; font-weight: 400 !important; }
:is(body.tybrand .site, .site.brand) :where(h1, h2, h3) { letter-spacing: -.01em !important; }
:is(body.tybrand .site, .site.brand) :where(.hero h1) { letter-spacing: 0 !important; }
:is(body.tybrand .site, .site.brand) :where(h2, h3, .team .tag b, .contact .fo b, .contact dt, .form label) { font-weight: 500 !important; letter-spacing: 0 !important; }
:is(body.tybrand .site, .site.brand) :where(.kick, .eyebrow, .cards .m, .hl-grid .m, .hl-feat .m, .art .m) { font-weight: 400 !important; }
:is(body.tybrand .site, .site.brand) :where(.hero h1, .hero h1 span) { font-family: var(--font) !important; font-weight: 300 !important; letter-spacing: .01em !important; }
:is(body.tybrand .site, .site.brand) :where(.hero .sub) { font-family: var(--font) !important; font-weight: 300 !important; letter-spacing: 0 !important; font-size: clamp(22px, 2.1cqi, 30px) !important; line-height: 1.3; }
:is(body.tybrand .site, .site.brand) :where(.luxe .labeled h2, .site.luxe .labeled h2) { letter-spacing: .16em !important; }
:is(body.tybrand .site, .site.brand) :is(.pin, .note, .cbox, .cpin, .stb, .hov, .imgbtn, .addrow, .hl-del, .addbtn, .nedit, .inote, .ipin) { --font: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif; font-family: var(--font); font-synthesis-weight: auto; }

/* toast with optional action (Rückgängig) */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: 200; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 16px; border-radius: 12px; background: #141414; color: #f1efe9; border: 1px solid #2c2b29; box-shadow: 0 10px 30px rgba(0,0,0,.35); font: 500 13px/1.3 "Be Vietnam Pro", system-ui, sans-serif; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
#toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast button { background: #f1efe9; color: #141414; border: 0; border-radius: 8px; padding: 7px 12px; font: 600 12.5px/1 "Be Vietnam Pro", system-ui, sans-serif; cursor: pointer; }
@media (max-width: 760px) { #toast { bottom: calc(env(safe-area-inset-bottom, 0px) + 124px); } }
.hov .hsep { width: 1px; align-self: stretch; margin: 4px 3px; background: rgba(255,255,255,.18); }
.hov button.del { color: #ff9a8a; }
.hov.ctx { flex-wrap: wrap; max-width: 520px; }

/* CMS · Teilen */
.sh-wrap { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 28px; align-items: start; }
#modal.side .sh-wrap { grid-template-columns: 1fr; }
.sh-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; color: #1a1a1a; }
.sh-img { aspect-ratio: 1200 / 630; background: #ddd; } .sh-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-t { padding: 12px 14px 14px; display: grid; gap: 3px; font-family: "Be Vietnam Pro", system-ui, sans-serif; }
.sh-t small { color: #777; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; } .sh-t b { font-size: 15px; color: #1a1a1a !important; } .sh-t span { font-size: 13px; color: #555; }
.sh-side h3 { margin: 0 0 6px; } .sh-side p { margin: 0 0 14px; font-size: 13px; line-height: 1.5; opacity: .8; max-width: 52ch; }
.sh-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .sh-acts label.act { cursor: pointer; } .sh-st { font-size: 12px; opacity: .7; }
.sh-pick { position: relative; padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 1200 / 630; background: #ddd; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; }
.sh-pick img { width: 100%; height: 100%; object-fit: cover; display: block; } .sh-pick:hover { outline-color: rgba(127,127,127,.6); } .sh-pick.on { outline: 3px solid #3b82f6; outline-offset: -3px; }
.sh-pick i { position: absolute; left: 6px; top: 6px; font-style: normal; font-size: 10.5px; font-weight: 600; padding: 3px 6px; border-radius: 5px; background: rgba(14,14,14,.82); color: #f1efe9; }
/* labeled sections: the text next to a headline sits between the headline and body text in size */
/* one hierarchy everywhere: headline > lead (subheadline) > body text */
:is(body.tybrand .site, .site.brand) :is(.lead, .copy p.lead) { font-size: clamp(20px, 1.9cqi, 28px) !important; line-height: 1.35 !important; max-width: 34ch; }
:is(body.tybrand .site, .site.brand) .labeled:not(.nolab) > div:first-child h2 { font-size: clamp(26px, 2.6cqi, 40px); }
/* top bar: publish button for Lea, white like the confirm button, dot when there are changes that are not live yet */
.tb.pushbtn { background: #f4f2ee; color: #141414; border: 0; border-radius: 8px; padding: 0 14px; font-weight: 600; gap: 8px; }
.tb.pushbtn:hover { background: #fff; }
.tb.pushbtn .pdot { width: 7px; height: 7px; border-radius: 50%; background: #c9c5bc; flex: none; }
.tb.pushbtn.dirty .pdot { background: #e0742c; box-shadow: 0 0 0 3px rgba(224,116,44,.18); }
.tb.pushbtn.busy { opacity: .6; pointer-events: none; }
/* CMS: sticky search over images and logos, readable captions, partners without name or link flagged */
.cms-search { position: sticky; top: -18px; z-index: 6; display: flex; align-items: center; gap: 10px; margin: -18px -18px 14px; padding: 14px 18px 12px; background: var(--paper, #f4f2ee); border-bottom: 1px solid var(--line); }
#modal.dk .cms-search { background: #141414; border-color: #2b2a28; }
.cms-search input { flex: 1; font: inherit; font-size: 14px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card, #fff); color: var(--ink); outline: none; }
#modal.dk .cms-search input { background: #1d1c1b; border-color: #34322f; color: #f1eee8; } .cms-search input:focus { border-color: #8a867e; }
.cms-search [data-cmsqn] { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.cms-it .cap { font-size: 12.5px; gap: 4px; padding: 10px 12px 12px; }
.cms-it .cap b { font-size: 12px; } .cms-it .cap b.nm { font-family: inherit; font-size: 14px; font-weight: 600; }
.cms-it .cap .use { font-size: 12px; } #modal.dk .cms-it .cap .use { color: #a3a09a; } #modal.dk .cms-it .cap b { color: #f1eee8; }
.cms-it.unused { opacity: .7; }
.cms-it.miss { border-color: #e0742c; } .miss-t { color: #e0742c; font-size: 12px; font-weight: 500; }
/* partner grid: logos always shown whole, never cropped */
.pt-grid .lg .pic { overflow: visible; }
.pt-grid .lg .pic > a { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pt-grid .lg .pic img { position: static !important; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; transform: none !important; scale: 1 !important; translate: none !important; }
/* logo cropper */
.ce-logoacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; } .lg-st, .lgc-st { font-size: 12.5px; color: var(--muted); }
#lgcrop { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 24px; }
#lgcrop .lgc-box { background: #141414; color: #f1eee8; border: 1px solid #2b2a28; border-radius: 14px; padding: 18px; width: min(760px, 100%); display: grid; gap: 14px; }
#lgcrop .lgc-h { display: grid; gap: 4px; } #lgcrop .lgc-h span { font-size: 12.5px; color: #a3a09a; }
#lgcrop .lgc-stage { position: relative; justify-self: center; background: #fff repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; touch-action: none; user-select: none; cursor: crosshair; line-height: 0; }
#lgcrop .lgc-stage img { display: block; max-width: 100%; max-height: 60vh; pointer-events: none; }
#lgcrop .lgc-stage .ce-h[data-h="ne"] { right: -7px; top: -7px; cursor: nesw-resize; } #lgcrop .lgc-stage .ce-h[data-h="sw"] { left: -7px; bottom: -7px; cursor: nesw-resize; }
#lgcrop .ce-crop { border-color: #e0742c; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); }
#lgcrop .lgc-f { display: flex; align-items: center; gap: 10px; justify-content: flex-end; } #lgcrop .lgc-st { margin-right: auto; }
/* logo gallery in colour (set in CMS > Logos) */
.pt-grid.color .lg img { filter: none; } .pt-grid.color .lg .pic, .pt-grid.color .lg > a { mix-blend-mode: normal; }
.cms-grid.lg-bw .cms-it.logo .th img { filter: grayscale(1); }
#lgcrop .lgc-f button { font: inherit; font-size: 13px; padding: 9px 14px; border-radius: 8px; border: 1px solid #34322f; background: #1d1c1b; color: #f1eee8; cursor: pointer; } #lgcrop .lgc-f [data-lgcok] { background: #f4f2ee; color: #141414; border-color: #f4f2ee; font-weight: 600; }
/* CMS logos as an ordered list */
.lg-list { display: grid; gap: 6px; }
.lg-row { display: grid; grid-template-columns: 18px 26px 96px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; cursor: default; }
.lg-row .lg-hd { cursor: grab; color: #8f8c86; font-size: 16px; line-height: 1; user-select: none; } .lg-row[draggable=true]:active .lg-hd { cursor: grabbing; }
.lg-row .lg-n { font-size: 12px; color: #8f8c86; font-variant-numeric: tabular-nums; text-align: right; }
.lg-row .lg-th { height: 48px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 6px 10px; }
.lg-row .lg-th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lg-list.lg-bw .lg-th img { filter: grayscale(1); }
.lg-row .lg-tx { display: grid; gap: 2px; min-width: 0; } .lg-row .lg-tx b { font-size: 14px; font-weight: 600; }
.lg-row .lg-tx a { font-size: 12px; color: #a3a09a; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lg-row .lg-tx a:hover { color: inherit; }
.lg-row.dragging { opacity: .35; } .lg-row.pt-over, .pt-grid > .pt-over { outline: 2px solid #e0742c; outline-offset: 2px; }
.lg-sub { margin: 22px 0 10px; font-size: 13px; font-weight: 600; } .lg-sub span { color: #8f8c86; font-weight: 400; margin-left: 4px; }
body.edit .pt-grid > [draggable=true] { cursor: grab; } .pt-grid > .dragging { opacity: .35; }
#modal.side .lg-row { grid-template-columns: 14px 72px minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px; } #modal.side .lg-row .lg-n { display: none; }
#modal.side .lg-row .pe-opt { padding: 6px 10px; font-size: 12px; } #modal.side .lg-row .lg-th { height: 42px; padding: 5px 7px; }
.cms-search { margin-left: -18px; margin-right: -18px; } .cms-search input { min-width: 0; }
/* drag to reorder */
[data-sort] { touch-action: none; } .pt-grid > [data-sort] { cursor: grab; } .pt-grid > [data-sort] img, .lg-row img { -webkit-user-drag: none; user-select: none; }
.srt-on, .srt-on * { cursor: grabbing !important; user-select: none !important; }
.srt-hole { opacity: .25; outline: 2px dashed #e0742c; outline-offset: -2px; border-radius: 8px; }
.srt-ghost { position: fixed; z-index: 300; pointer-events: none; margin: 0; box-shadow: 0 18px 40px rgba(0,0,0,.25); border-radius: 8px; background: var(--paper, #f4f2ee); opacity: .95; transition: transform 0s; }
.srt-ghost .imgbtn, .srt-ghost .hl-del, .srt-ghost .url { display: none !important; }
.srt-ghost .lg { aspect-ratio: 150 / 130; display: flex; align-items: center; justify-content: center; padding: 14px; box-sizing: border-box; }
.srt-ghost .lg .pic, .srt-ghost .lg .pic > a { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.srt-ghost .lg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

html, body.pub { margin: 0; background: var(--paper, #f4f2ee) !important; }
body.pub .site { position: static !important; inset: auto !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; border-radius: 0 !important; overflow: visible !important; min-height: 100vh; }
body.pub #site > .sec.hero .img, body.pub .hero .img { height: 100vh !important; height: 100svh !important; }
body.pub .drawer { top: 0 !important; right: 0 !important; bottom: 0 !important; border-radius: 0 !important; }
body.pub .drawer-dim { inset: 0 !important; border-radius: 0 !important; }
body.pub .pin, body.pub .note, body.pub .cbox, body.pub .imgbtn { display: none !important; }
body.pub .sec.fade { opacity: 1 !important; transform: none !important; }
