html #tri_header #website-navigation .tri-produktmenue {
  container:produktmenue / inline-size;
  background:transparent;box-shadow:none;border:0;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
#tri_header .tri-produktmenue {
  /* The widget rail uses a black tint and light lettering on its inner surface. */
  --produktglas:rgb(0 0 0 / .62);
}
html[data-theme=dark] #tri_header .tri-produktmenue,
#tri_header[data-navigation-tone=dark] .tri-produktmenue {--produktglas:rgb(27 31 36 / .8)}
#tri_header .tri-produktwahl {
  --tinte:#fff;--unterzeile:#f1f3f4;--trenner:rgb(255 255 255 / .22);
  display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;
  padding:8px;border-radius:14px;background:var(--produktglas);color:var(--tinte);
}
html[data-theme=dark] #tri_header .tri-produktwahl,
#tri_header[data-navigation-tone=dark] .tri-produktwahl {
  --tinte:#f4f5f6;--unterzeile:#d0d4d8;--trenner:rgb(223 229 234 / .17);
}
html #tri_header #website-navigation .tri-produktmenue .tri-produktwahl .tri-produktkarte[class] {
  box-sizing:border-box;display:flex;flex-direction:column;align-items:center;min-width:0;
  padding:10px 12px 14px;border:0;border-radius:0!important;background:transparent;
  color:var(--tinte);text-decoration:none;text-align:center;line-height:1.25;
}
html #tri_header #website-navigation .tri-produktmenue .tri-produktwahl .tri-produktkarte + .tri-produktkarte {border-inline-start:1px solid var(--trenner)}
#tri_header .tri-produktmotiv {
  container-type:size;display:flex;position:relative;align-items:center;justify-content:center;
  width:100%;height:clamp(96px,9cqw,134px);margin:0 0 9px;pointer-events:none;
}
#tri_header .tri-produktkarte strong {font-family:inherit;font-weight:700;font-size:clamp(18px,1.9cqw,27px);line-height:1.12}
#tri_header .tri-produktkarte small {margin-top:5px;font-family:inherit;font-size:clamp(12px,1.05cqw,15px);line-height:1.35;color:var(--unterzeile)}
#tri_header .tri-produktkarte i {display:inline-block;font:inherit;font-size:.67em;vertical-align:.13em}
#tri_header .tri-raumfigur {position:relative;flex:none;width:min(52%,92cqh);aspect-ratio:1;border-radius:50%;
  background:linear-gradient(145deg,#ffffff38,transparent 44%,#0000000c),var(--raumfarbe);box-shadow:inset 0 0 0 1px #ffffff45}
#tri_header .tri-raumfigur:first-child {width:min(45%,79cqh);margin-right:-5%;translate:0 4%}
#tri_header .tri-raumfigur::before {content:"";position:absolute;inset:1.25%;background:#ffffff7a;
  mask:url("/templates/tricoma_2026/assets/landingmodule/media/agent-logo-etch.svg") center/contain no-repeat}
#tri_header .tri-raumfigur img {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;translate:0 -3%;
  mask-image:linear-gradient(#000 53%,transparent 53%),radial-gradient(ellipse 43.875% 43.875% at 50% 53%,#000 calc(100% - .5px),transparent 100%)}
#tri_header .tri-produkt-rooms img {width:100%;height:96%;object-fit:contain}
html[data-theme=dark] #tri_header .tri-produkt-rooms img {content:url("/templates/tricoma_2026/assets/raum_glaswand/dark.webp")}
#tri_header .tri-produkt-brain {gap:min(4%,12px)}
#tri_header .tri-produkt-brain img {position:relative;width:min(19%,37cqh);height:auto}
#tri_header .tri-produkt-brain img:nth-child(2) {width:min(44%,79cqh)}
#tri_header .tri-produkt-brain::before {content:"";position:absolute;left:21%;right:21%;top:50%;border-top:2px dotted var(--trenner)}
#tri_header .tri-produktapps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 7px;width:min(98%,146cqh)}
#tri_header .tri-produktapps img {display:block;width:100%;height:auto;aspect-ratio:1}
html #tri_header #website-navigation .tri-produktmenue .tri-produktwahl a.tri-produktkarte[class]:is(:hover,:focus-visible){
  color:var(--tinte);background:transparent;
}
#tri_header .tri-produktkarte:is(:hover,:focus-visible):any-link strong {text-decoration:underline;text-underline-offset:.16em}
@container produktmenue (max-width:620px){
  #tri_header .tri-produktwahl {grid-template-columns:1fr 1fr;padding:4px}
  #tri_header .tri-produktmotiv {height:clamp(74px,19cqw,104px);margin-bottom:5px}
  html #tri_header #website-navigation .tri-produktmenue .tri-produktwahl .tri-produktkarte[class] {padding:10px 6px}
  html #tri_header #website-navigation .tri-produktmenue .tri-produktwahl .tri-produktkarte:nth-child(3){border-inline-start:0}
  html #tri_header #website-navigation .tri-produktmenue .tri-produktwahl .tri-produktkarte:nth-child(n+3){border-top:1px solid var(--trenner)}
}
@media(prefers-reduced-transparency:reduce){
  #tri_header .tri-produktmenue {--produktglas:#595d60}
  html[data-theme=dark] #tri_header .tri-produktmenue,#tri_header[data-navigation-tone=dark] .tri-produktmenue {--produktglas:#1b1f24}
}
@media(min-width:1201px){
  html #tri_header #website-navigation .tri-produktmenue {
    inset-inline:0;width:auto;padding:12px;
  }
  html #tri_header:not(.is-docked) #website-navigation .tri-produktmenue {
    inset-inline:max(-20px, calc(50% - 50vw + 4px)) var(--menu-surface-end, -20px);
    padding:20px;
  }
}
@media(min-width:1201px) and (prefers-reduced-motion:no-preference){
  html #tri_header #website-navigation .tri-produktmenue {
    transition:var(--menu-content-motion),left var(--menu-motion),right var(--menu-motion),padding var(--dock-motion);
  }
}
@media(forced-colors:active){#tri_header .tri-produktwahl{--trenner:CanvasText}}

html #tri_header #website-navigation button.tri-produkt-rooms {
  appearance:none;font:inherit;cursor:pointer;align-self:stretch;height:auto;max-height:none;
  margin:0;width:auto;max-width:none;letter-spacing:normal;text-transform:none;white-space:normal;
}
#tri_header .tri-produkt-rooms i {transform:rotate(135deg);transition:transform .2s}
#tri_header .tri-produkt-rooms[aria-expanded=true] i {transform:rotate(-45deg)}
#tri_header .tri-produkt-rooms:is(:hover,:focus-visible) strong {text-decoration:underline;text-underline-offset:.16em}
#tri_header .tri-produkt-rooms:focus-visible {outline:2px solid currentColor;outline-offset:-4px}
#tri_header .tri-raumtafel {display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s ease}
#tri_header .tri-raumtafel[aria-hidden=false] {grid-template-rows:1fr}
#tri_header .tri-tafel-ausschnitt {min-height:0;overflow:hidden}
#tri_header .tri-tafel-inhalt {margin:10px auto 0;width:min(100%,1138px,max(600px,calc((100dvh - 340px) * 1.962)))}
#tri_header .tri-tafel-karte {position:relative;isolation:isolate;border-radius:12px;overflow:hidden;background:var(--produktglas)}
/* The left column is static. Each button paints its room from the same image. */
#tri_header .tri-tafel-bild {display:block;width:100%;height:auto;aspect-ratio:1138/580;clip-path:inset(0 69% 0 0);pointer-events:none}
html #tri_header #website-navigation .tri-tafel-ziel {
  position:absolute;display:block;box-sizing:border-box;min-width:0;min-height:0;max-width:none;max-height:none;
  margin:0;padding:0;border:0;border-radius:8px;appearance:none;background:transparent;color:#fff;
  box-shadow:none;cursor:pointer;font:inherit;
}
#tri_header .tri-tafel-ziel span {display:block;position:absolute;pointer-events:none;
  background:var(--tafel-motive) var(--motiv-position) / var(--motiv-groesse) no-repeat;transition:transform .16s ease-out}
#tri_header .tri-tafel-ziel span::after {content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--raumakzent);opacity:0;transition:opacity .16s ease-out;
  -webkit-mask:var(--tafel-motive) var(--motiv-position) / var(--motiv-groesse) no-repeat;
  mask:var(--tafel-motive) var(--motiv-position) / var(--motiv-groesse) no-repeat}
@media (hover:hover) and (pointer:fine) {
  #tri_header .tri-tafel-ziel:hover span {transform:scale(1.055)}
  #tri_header .tri-tafel-ziel:hover span::after {opacity:.58}
}
#tri_header .tri-tafel-ziel:focus-visible span::after {opacity:.58}
#tri_header .tri-tafel-ziel:focus-visible {outline:2px solid currentColor;outline-offset:-2px}
@media (prefers-reduced-motion:reduce) {
  #tri_header .tri-tafel-ziel span,#tri_header .tri-tafel-ziel span::after {transition:none}
}
#tri_header .tri-tafel-detail {display:grid;justify-items:center;align-content:center;text-align:center;padding:20px;
  min-height:min(42vh,390px);box-sizing:border-box;border-radius:12px;background:#edf0f1;color:#22292e}
html[data-theme=dark] #tri_header .tri-tafel-detail {background:#292e33;color:#f1f3f4}
#tri_header .tri-tafel-detail img {display:block;width:min(100%,320px);height:auto;max-height:24vh;object-fit:contain}
#tri_header .tri-tafel-detail h3 {margin:8px 0 0;color:inherit;font:inherit;font-weight:700;font-size:clamp(19px,2cqw,28px)}
#tri_header .tri-tafel-detail p {margin:6px auto 14px;max-width:52ch;color:inherit;font:inherit}
html #tri_header #website-navigation .tri-tafel-zurueck {width:auto;height:auto;cursor:pointer;border:1px solid currentColor;background:transparent;color:inherit;border-radius:20px;padding:7px 14px;font:inherit}
#tri_header .tri-tafel-auswahl {display:none}
@container produktmenue (max-width:620px){
  #tri_header .tri-tafel-auswahl {display:block;width:100%;margin:8px 0 0;min-height:44px;padding:0 10px;font:inherit}
}
#tri_header .tri-raumtafel [hidden] {display:none!important}
@media(prefers-reduced-motion:reduce){#tri_header .tri-raumtafel,#tri_header .tri-produkt-rooms i {transition:none}}
@media(min-width:1201px){
  html #tri_header #website-navigation .tri-produktmenue:has(.tri-produkt-rooms[aria-expanded=true]) {max-height:calc(100dvh - 104px);overscroll-behavior:contain}
}
