/* =========================================================
   Smart home & bygningsautomation – demo, logoer, KNX-mærke
   ========================================================= */

/* ---------- Forside-teaser ---------- */
.smart-teaser { background: radial-gradient(90% 120% at 0% 0%, #22252b 0%, var(--mork) 55%); color: #d6d6da; overflow: hidden; padding-bottom: 0; }
.smart-teaser h2 { color: #fff; }
.smart-teaser-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }

/* ---------- KNX-certificering ---------- */
.cert-badge { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 18px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none; background: var(--gron-soft); color: #1f7a44; border: 1px solid rgba(47,158,91,.25); }
.cert-badge svg { width: 18px; height: 18px; }
.cert-badge--dark { background: rgba(76,196,126,.12); color: var(--gron-lys); border-color: rgba(76,196,126,.3); transition: background .3s, transform .3s var(--ease); }
.cert-badge--dark:hover { background: rgba(76,196,126,.2); transform: translateY(-2px); }

/* ---------- Logoer (officiel logo-fil hvis den findes, ellers ordmærke) ---------- */
.brand-logo { display: inline-flex; align-items: center; height: 40px; }
.brand-logo img { height: 34px; width: auto; max-width: 140px; object-fit: contain; }
.brand-logo img + b { display: none; }
.brand-logo b { font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; color: var(--mork); white-space: nowrap; }
.brand-logo[data-brand="knx"] b { letter-spacing: .12em; font-size: 1.5rem; }
.brand-logo[data-brand="helvar"] b, .brand-logo[data-brand="casambi"] b { text-transform: lowercase; font-weight: 600; }
.brand-logo[data-brand="fibaro"] b { letter-spacing: .2em; text-transform: uppercase; font-weight: 600; font-size: 1.15rem; }

.brand-marquee { position: relative; margin-top: 72px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.07); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brand-track { display: flex; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
.brand-marquee .brand-logo b { color: rgba(255,255,255,.55); transition: color .3s; }
.brand-marquee .brand-logo img { filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.brand-marquee .brand-logo:hover b { color: #fff; }
.brand-marquee .brand-logo:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }

/* ---------- System-kort ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card { position: relative; background: #fff; border: 1px solid #ececef; border-radius: var(--radius-lg); padding: 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); scroll-margin-top: calc(var(--hh, 117px) + 20px); }
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.brand-card.is-cert { border: 2px solid var(--gron); box-shadow: 0 0 0 6px rgba(47,158,91,.08); }
.brand-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #f0efed; }
.brand-for { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst-svag); white-space: nowrap; }
.brand-card .cert-badge { margin: 0 0 14px; }
.brand-card h3 { font-size: 1.08rem; }
.brand-card p { color: var(--tekst-svag); font-size: .94rem; margin: 0; }
.brand-note { margin-top: 26px; font-size: .78rem; color: #9a9ba1; text-align: center; }

/* ---------- Animeret demo ---------- */
.sd { --sd-bg: #1b1d22; position: relative; }
.sd-tabs { display: inline-flex; gap: 6px; padding: 6px; margin: 0 auto 22px; border-radius: 999px; background: var(--papir); border: 1px solid #ececef; position: relative; left: 50%; transform: translateX(-50%); }
.sd-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 11px 20px; border-radius: 999px; background: transparent; font: 600 .92rem "Poppins", sans-serif; color: var(--grafit); transition: background .3s, color .3s; }
.sd-tab svg { width: 18px; height: 18px; }
.sd-tab[aria-selected="true"] { background: var(--mork); color: var(--gul); }
.sd-stage { position: relative; display: grid; grid-template-columns: 1fr 300px; border-radius: var(--radius-lg); overflow: hidden; background: var(--sd-bg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); }
.sd-view { display: none; position: relative; }
.sd-view.is-on { display: block; animation: sdIn .6s var(--ease); }
@keyframes sdIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.sd-svg { display: block; width: 100%; height: auto; }

/* himmel dag/nat */
.sd-sky { fill: #2a3a4a; transition: fill 1.2s var(--ease); }
.sd.is-night .sd-sky { fill: #12151b; }
.sd-sun { fill: #F5B301; opacity: .9; transition: opacity 1s, transform 1.2s var(--ease); transform-origin: 560px 70px; }
.sd-moon circle { fill: #E4E4E7; } .sd-moon .sd-moon-cut { fill: #12151b; }
.sd-moon { opacity: 0; transition: opacity 1s; }
.sd.is-night .sd-sun { opacity: 0; transform: translateY(30px); }
.sd.is-night .sd-moon { opacity: .9; }
.sd-ground { stroke: rgba(255,255,255,.15); stroke-width: 2; }
.sd-roof { fill: #3D3F44; } .sd-roof-b { fill: #3D3F44; }
.sd-wall { fill: #24272d; stroke: rgba(255,255,255,.12); stroke-width: 2; }
.sd-inner { stroke: rgba(255,255,255,.1); stroke-width: 2; }
.sd-room { fill: rgba(255,255,255,.4); font: 500 10px "Poppins", sans-serif; letter-spacing: .05em; }
.sd-fill { fill: #F5B301; opacity: calc(var(--lv, 0) * .22); transition: opacity 1.1s var(--ease); }
.sd-win { fill: #33475b; stroke: rgba(255,255,255,.2); stroke-width: 1.5; }
.sd-blind { fill: #8d8f95; transform-box: fill-box; transform-origin: top; transform: scaleY(var(--bl, 0)); transition: transform 1.4s var(--ease); }
.sd-cord { stroke: rgba(255,255,255,.3); }
.sd-lamp { fill: #4a4d54; }
.sd-bulb { fill: #6b6d73; transition: fill .6s; }
.sd-beam { fill: url(#sdBeam); opacity: var(--lv, 0); transition: opacity 1.1s var(--ease); }
.sd-dev.is-on .sd-bulb { fill: #FFD452; filter: url(#sdGlow); }
.sd-thermo rect { fill: #141416; stroke: rgba(255,255,255,.25); }
.sd-temp { fill: var(--gron-lys); font: 600 11px "Poppins", sans-serif; text-anchor: middle; }
.sd-carport { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3; }
.sd-car-body { fill: #C0703F; } .sd-wheel { fill: #141416; stroke: #6b6d73; stroke-width: 2; }
.sd-charger { fill: #3D3F44; stroke: rgba(255,255,255,.25); }
.sd-charge-bolt { fill: none; stroke: #6b6d73; stroke-width: 2; stroke-linejoin: round; }
.sd-dev.is-on .sd-charge-bolt { stroke: var(--gron-lys); animation: charge 1.4s ease-in-out infinite; }
@keyframes charge { 50% { opacity: .3; } }
.sd-alarm circle { fill: #6b6d73; }
.sd-dev.is-on.sd-alarm circle { fill: #d62e2e; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.sd-hub rect { fill: #141416; stroke: var(--gul); stroke-width: 2; }
.sd-hub text { fill: var(--gul); font: 700 10px "Poppins", sans-serif; letter-spacing: .14em; text-anchor: middle; }
.sd-wires path { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 2; }
.sd-wires path.pulse { stroke: var(--gul); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 26 2000; stroke-dashoffset: 26; animation: wirePulse 1.1s var(--ease) forwards; }
@keyframes wirePulse { to { stroke-dashoffset: -2000; } }
/* bygning */
.sd-bwin { fill: #2f3d4b; stroke: rgba(255,255,255,.12); transition: fill 1s var(--ease); }
.sd-bwin.is-lit { fill: color-mix(in srgb, #FFD452 calc(var(--lv, 0) * 100%), #2f3d4b); }
.sd-sensor { fill: #6b6d73; }
.sd-sensor.is-on { fill: var(--gron-lys); animation: blink 1.4s infinite; }
.sd-door { fill: #141416; stroke: rgba(255,255,255,.15); }
.sd-floor-label { fill: rgba(255,255,255,.35); }

/* panel */
.sd-panel { padding: 22px; background: #141416; border-left: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 18px; }
.sd-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sd-scene { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #d6d6da; font: 500 .82rem "Poppins", sans-serif; cursor: pointer; text-align: left; transition: background .3s, border-color .3s, color .3s, transform .2s; }
.sd-scene svg { width: 18px; height: 18px; color: #8d8e94; transition: color .3s; }
.sd-scene:hover { border-color: rgba(245,179,1,.5); transform: translateY(-2px); }
.sd-scene[aria-pressed="true"] { background: var(--gul); border-color: var(--gul); color: var(--mork); }
.sd-scene[aria-pressed="true"] svg { color: var(--mork); }
.sd-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-info li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); animation: infoIn .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
.sd-info b { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gul); font-weight: 600; }
.sd-info span { font-size: .86rem; color: #e4e4e7; line-height: 1.4; }
@keyframes infoIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.sd-progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: auto; }
.sd-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gul), var(--gron-lys)); transform-origin: left; transform: scaleX(0); }
.sd-progress.run span { animation: sdProg var(--dur, 5s) linear forwards; }
.sd.is-paused .sd-progress { opacity: .3; }
@keyframes sdProg { to { transform: scaleX(1); } }

/* kompakt (forside) */
.sd--compact .sd-stage { grid-template-columns: 1fr; }
.sd--compact .sd-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); padding: 16px; gap: 12px; }
.sd--compact .sd-scenes { grid-template-columns: repeat(4, 1fr); }
.sd--compact .sd-scene { align-items: center; text-align: center; padding: 10px 6px; font-size: .74rem; }
.sd--compact .sd-info { grid-template-columns: 1fr 1fr; }
.sd--compact .sd-info li:nth-child(n+3) { display: none; }

@media (max-width: 1080px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .smart-teaser-grid { grid-template-columns: 1fr; gap: 36px; }
  .sd-stage { grid-template-columns: 1fr; }
  .sd-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .sd-scenes { grid-template-columns: repeat(4, 1fr); }
  .sd-scene { align-items: center; text-align: center; font-size: .74rem; padding: 10px 6px; }
  .sd-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .brand-grid { grid-template-columns: 1fr; }
  .sd-scenes, .sd--compact .sd-scenes { grid-template-columns: 1fr 1fr; }
  .sd-info, .sd--compact .sd-info { grid-template-columns: 1fr; }
  .sd-tab { padding: 10px 14px; font-size: .84rem; }
  .brand-track { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .brand-track .dup { display: none; }
}

/* ---------- Roligere tempo ---------- */
.sd-fill { transition: opacity 2s var(--ease); }
.sd-beam { transition: opacity 2s var(--ease); }
.sd-blind { transition: transform 2.6s var(--ease); }
.sd-bwin { transition: fill 2s var(--ease); }
.sd-sky { transition: fill 2.4s var(--ease); }
.sd-sun, .sd-moon { transition: opacity 2s, transform 2.4s var(--ease); }
.sd-wires path.pulse { animation-duration: 2.4s; }
.sd-info li { animation-duration: .9s; animation-delay: calc(var(--i) * 160ms); }
.brand-track { animation-duration: 60s; }

/* ---------- Grøn omstilling i demoen ---------- */
.sd-solar polygon { fill: #1f3550; stroke: rgba(255,255,255,.25); stroke-width: 1; transition: fill 2s var(--ease), filter 2s; }
.sd-solar line { stroke: rgba(255,255,255,.18); }
.sd-solar.is-on polygon { fill: #2f6f8f; filter: drop-shadow(0 0 6px rgba(76,196,126,.55)); }
.sd-wires path.sd-wire-green { stroke: rgba(76,196,126,.18); stroke-dasharray: 4 6; }
.sd-wires path.pulse.sd-wire-green { stroke: var(--gron-lys); stroke-width: 3.5; stroke-dasharray: 34 2000; }
.sd-energy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px; padding: 12px; border-radius: 12px; background: rgba(76,196,126,.07); border: 1px solid rgba(76,196,126,.2); }
.sd-energy-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gron-lys); }
.sd-energy-lbl svg { width: 15px; height: 15px; }
.sd-energy-val { font-size: .82rem; color: #fff; text-align: right; }
.sd-energy-bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.sd-energy-bar i { display: block; height: 100%; width: calc(var(--en, .5) * 100%); border-radius: 8px; background: linear-gradient(90deg, var(--gron-lys), var(--gul)); transition: width 2s var(--ease); }
.sd-energy.is-green .sd-energy-bar i { background: var(--gron-lys); }
.sd--compact .sd-energy { padding: 10px 12px; }

/* ---------- Segmenter: Smart home (privat) / IBI (erhverv) ---------- */
.seg-switch { background: #fff; border-bottom: 1px solid #ececef; }
.seg-switch .container { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.seg-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius-lg); text-decoration: none; color: var(--mork); background: var(--gron-soft); border: 1px solid rgba(47,158,91,.2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.seg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.seg-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.seg-card small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #1f7a44; }
.seg-card b { font-size: 1.1rem; line-height: 1.3; }
.seg-card em { font-style: normal; font-size: .86rem; color: var(--tekst-svag); }
.seg-card .ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--gron); }
.seg-card .ico svg { width: 26px; height: 26px; }
.seg-card > svg { width: 20px; height: 20px; color: var(--gron); transform: rotate(90deg); }
.seg-card--dark { background: var(--gron-mork); border-color: rgba(76,196,126,.3); color: #fff; }
.seg-card--dark small { color: var(--gron-lys); } .seg-card--dark em { color: #a9bbb0; }
.seg-card--dark .ico { background: rgba(76,196,126,.15); color: var(--gron-lys); }
.seg-card--dark > svg { color: var(--gron-lys); }
.seg-section { scroll-margin-top: calc(var(--hh, 117px) + 10px); }
.seg-head { max-width: 760px; margin-bottom: 34px; }
.seg-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #ececef; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gron); margin-bottom: 14px; }
.seg-pill svg { width: 16px; height: 16px; }
.seg-pill--dark { background: rgba(76,196,126,.12); border-color: rgba(76,196,126,.3); color: var(--gron-lys); }
.seg-benefits { gap: 8px 40px; margin-bottom: 40px; align-items: start; }
.seg-benefits .checklist { margin: 0; }
.seg-section--ibi { background: radial-gradient(90% 120% at 100% 0%, #173826 0%, var(--gron-mork) 45%, var(--mork) 100%); color: #cfd8d2; }
.seg-section--ibi h2, .seg-section--ibi h3 { color: #fff; }
.seg-section--ibi .lead { color: #a9bbb0; }
.seg-section--ibi .brand-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.seg-section--ibi .brand-card h3 { color: #fff; }
.seg-section--ibi .brand-card p { color: #a9bbb0; }
.seg-section--ibi .brand-card-top { border-color: rgba(255,255,255,.08); }
.seg-section--ibi .brand-card .brand-logo b { color: #fff; }
.seg-section--ibi .brand-card .brand-logo img { background: #fff; padding: 6px 10px; border-radius: 8px; height: 40px; }
.seg-section--ibi .brand-card.is-cert { border-color: var(--gron-lys); box-shadow: 0 0 0 6px rgba(76,196,126,.1); }
.seg-section--ibi .cert-badge { background: rgba(76,196,126,.14); color: var(--gron-lys); border-color: rgba(76,196,126,.3); }
.seg-section--ibi .brand-note { color: #7d8a82; }
.brand-grid--4 { grid-template-columns: repeat(4, 1fr); }
.br18 { display: flex; gap: 26px; align-items: flex-start; padding: 28px; margin-bottom: 40px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(76,196,126,.3); }
.br18-badge { flex: none; width: 96px; height: 96px; border-radius: 22px; display: grid; place-content: center; text-align: center; background: var(--gron); color: #fff; box-shadow: 0 0 0 8px rgba(76,196,126,.12); }
.br18-badge b { font-size: 1.5rem; line-height: 1; } .br18-badge span { font-size: .85rem; opacity: .85; }
.br18-text h3 { margin-bottom: .4em; }
.br18-text p { color: #cfd8d2; margin-bottom: .6em; }
.br18-text b { color: var(--gron-lys); }
.br18-note { font-weight: 500; color: #fff !important; margin: 0 !important; }
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cert-row .cert-badge { margin: 0; }
.smart-teaser { background: radial-gradient(80% 110% at 100% 100%, rgba(47,158,91,.16), transparent 60%), radial-gradient(90% 120% at 0% 0%, #22252b 0%, var(--mork) 55%); }
.smart-teaser .eyebrow { color: var(--gron-lys); }
@media (max-width: 1080px) { .brand-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .seg-switch .container { grid-template-columns: 1fr; } .br18 { flex-direction: column; } }
@media (max-width: 640px) { .brand-grid--4 { grid-template-columns: 1fr; } }
/* Officielle logoer */
.brand-logo { gap: 10px; }
.brand-card .brand-logo { height: 44px; }
.brand-card .brand-logo img { height: 36px; max-width: 150px; }
.brand-card .brand-logo img[data-logo="zigbee"] { height: 30px; }
.seg-section--ibi .brand-card .brand-logo img[data-logo="dali"] { background: transparent; padding: 0; }
.brand-marquee .brand-logo img { height: 30px; }
.brand-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1080px) { .brand-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .brand-grid--4 { grid-template-columns: 1fr; } } .brand-card .brand-logo { flex-wrap: wrap; height: auto; min-height: 44px; } .brand-card .brand-logo img { max-width: 100%; }
.brand-marquee .brand-logo img[data-logo="helvar"] { filter: none; opacity: .85; }

/* ---------- Tydeligere demo: solceller, alarm, labels ---------- */
.sd-solar polygon { fill: #1a2f4a; stroke: #8aa4c0; stroke-width: 1.2; }
.sd-cells { fill: none; stroke: #8aa4c0; stroke-width: .9; opacity: .75; }
.sd-solar.is-on polygon { fill: #1f4f7a; filter: none; }
.sd-rays path { fill: none; stroke: var(--gul); stroke-width: 2; stroke-linecap: round; opacity: 0; transition: opacity 1.6s var(--ease); }
.sd-solar.is-on .sd-rays path { opacity: .9; }
.sd-tag { fill: rgba(255,255,255,.75); font: 600 10px "Poppins", sans-serif; letter-spacing: .02em; }
.sd-solar .sd-tag { fill: #cfe0f0; }
.sd-sensor-body { fill: #e4e4e7; }
.sd-sensor-dome { fill: #c9c9ce; }
.sd-led { fill: #6b6d73; }
.sd-alarm circle { fill: none; }
.sd-dev.is-on.sd-alarm .sd-led { fill: #d62e2e; animation: blink 2.4s infinite; }
.sd-dev.is-on.sd-alarm circle:not(.sd-led) { fill: none; }

/* ---------- Segment-billeder ---------- */
.seg-photo { margin: 0 0 40px; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 21 / 8; }
.seg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 640px) { .seg-photo { aspect-ratio: 4 / 3; } }

/* ---------- Inspektør-rettelser (smart-siden) ---------- */
.seg-switch { border-bottom: 0; background: var(--papir); }
.seg-pill { color: #1f7a44; }
.br18-badge { background: #1f7a44; }
.brand-card p { font-size: 1rem; }
.section-head .lead, .seg-head .lead { max-width: 68ch; }
/* Fordele: fotos + liste i stor skrift */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefits-photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.benefits-photos img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); }
.benefits-photos img:last-child { height: 300px; align-self: end; }
.benefit-list { margin: 28px 0 0; display: grid; gap: 22px; }
.benefit-list dt { font-size: 1.5rem; font-weight: 700; color: var(--mork); line-height: 1.2; }
.benefit-list .is-gron dt { color: #1f7a44; }
.benefit-list dd { margin: 4px 0 0; font-size: 1.05rem; color: var(--tekst); }
.seg-pill--dark { color: var(--gron-lys) !important; }
@media (max-width: 960px) { .benefits-grid { grid-template-columns: 1fr; gap: 36px; } .benefits-photos img { height: 260px; } .benefits-photos img:last-child { height: 200px; } }
.seg-photo img { object-position: 50% 12%; } #ibi .seg-photo img { object-position: 50% 25%; }

/* =========================================================
   Opdeling privat/erhverv, certificeringer og grøn omstilling
   ========================================================= */

/* ---------- Spor-links (Smart home / IBI) ---------- */
.track-links { display: grid; gap: 12px; margin-top: 26px; }
.track { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius-lg); text-decoration: none; background: rgba(255,255,255,.06); color: #fff; transition: background .3s var(--ease), transform .3s var(--ease); }
.track:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.track > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.track small { font-size: .85rem; font-weight: 600; color: var(--gul); }
.track b { font-size: 1.15rem; line-height: 1.3; }
.track em { font-style: normal; font-size: .9rem; color: #b9bac0; }
.track-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; color: var(--gul); }
.track-ico svg { width: 36px; height: 36px; }
.track > svg { width: 22px; height: 22px; color: var(--gul); flex: none; }
.track--ibi { background: rgba(76,196,126,.12); }
.track--ibi small, .track--ibi .track-ico, .track--ibi > svg { color: var(--gron-lys); }
.track--ibi:hover { background: rgba(76,196,126,.2); }
.track-callout { padding: 0 0 80px; }
.track--big { background: var(--mork); padding: 30px 34px; }
.track--big b { font-size: 1.5rem; }
.track--big.track--ibi { background: var(--gron-mork); }
.track--big:hover { background: var(--grafit); }
.track--big.track--ibi:hover { background: #173826; }

/* ---------- Certificeringssegl ---------- */
.cert-badge .seal { width: 18px; height: 18px; }
.certs { background: #fff; }
.certs--dark { background: var(--mork); }
.certs-title { margin-bottom: 36px; }
.certs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cert-card { position: relative; padding: 34px 28px 28px; border-radius: var(--radius-lg); background: var(--papir); overflow: hidden; }
.cert-seal { position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; color: var(--gron); opacity: .12; }
.cert-seal svg { width: 100%; height: 100%; stroke-width: 1.2; }
.cert-logo { height: 46px; display: flex; align-items: center; margin-bottom: 20px; }
.cert-logo .brand-logo img { height: 40px; }
.cert-word { font-size: 1.45rem; font-weight: 700; color: var(--kobber-dark); }
.cert-card h3 { font-size: 1.12rem; margin-bottom: .35em; display: flex; align-items: center; gap: 8px; }
.cert-card h3::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--gron);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.6 13.6 7 21l5-2.6 5 2.6-1.6-7.4'/%3E%3Ccircle cx='12' cy='8.5' r='6.2'/%3E%3Cpath d='m9.3 8.6 1.8 1.8 3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.6 13.6 7 21l5-2.6 5 2.6-1.6-7.4'/%3E%3Ccircle cx='12' cy='8.5' r='6.2'/%3E%3Cpath d='m9.3 8.6 1.8 1.8 3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.cert-card p { margin: 0; color: var(--tekst); }

/* ---------- Grøn omstilling: ledningen der gror ---------- */
.green-band { position: relative; overflow: hidden; background: var(--gron-mork); color: #d7e3dc; }
.green-band h2 { color: #fff; }
.green-band .lead { color: #b5c8bc; }
.green-head { max-width: 720px; position: relative; z-index: 1; }
.gb-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 600; color: var(--gron-lys); }
.gb-tag svg { width: 20px; height: 20px; }
.grow-wire { display: block; width: 100%; height: 120px; margin: 30px 0 18px; overflow: visible; position: relative; z-index: 1; transform: none !important; opacity: 1 !important; }
.grow-wire .wire { fill: none; stroke: #4cc47e; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 3.2s cubic-bezier(.4,0,.2,1); }
.grow-wire .term { fill: none; stroke: #4cc47e; stroke-width: 3; }
.grow-wire.is-in .wire { stroke-dashoffset: 0; }
.leaf-in { transform: scale(0); transform-box: fill-box; transform-origin: left center; transition: transform .9s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(.5s + var(--i) * .32s); }
.leaf-in path { fill: #4cc47e; }
.leaf-in .vein { fill: none; stroke: var(--gron-mork); stroke-width: 1.4; }
.leaf:nth-child(odd) .leaf-in path:first-child { fill: #2f9e5b; }
.grow-wire.is-in .leaf-in { transform: scale(1); }
.grow-wire.is-in .leaf { animation: sway 6s ease-in-out infinite; animation-delay: calc(3.5s + var(--i) * .4s); transform-box: fill-box; }
@keyframes sway { 0%, 100% { opacity: 1; } 50% { opacity: .85; } }
.green-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
.green-point { padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); }
.green-point .gp-leaf { color: var(--gron-lys); }
.green-point .gp-leaf svg { width: 28px; height: 28px; }
.green-point h3 { color: #fff; font-size: 1.1rem; margin: 10px 0 6px; }
.green-point p { margin: 0; color: #c2d3c8; font-size: .98rem; }
.drift { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.drift-leaf { position: absolute; width: 34px; height: 24px; left: calc(8% + var(--i) * 16%); top: -40px; opacity: .22; animation: drift calc(18s + var(--i) * 3s) linear infinite; animation-delay: calc(var(--i) * -4s); }
.drift-leaf path { fill: #4cc47e; } .drift-leaf .vein { fill: none; stroke: var(--gron-mork); }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(40px, 55vh) rotate(160deg); } 100% { transform: translate(-20px, 120vh) rotate(320deg); } }

/* ---------- Fotos & krediteringer ---------- */
.benefits-photo { margin: 0; }
.benefits-photo img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-lg); }
.photo-credit { margin-top: 8px; font-size: .78rem; color: var(--tekst-svag); }
.on-dark .photo-credit, .seg-section--ibi .photo-credit { color: #8d9a92; }
.ibi-systems-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.knx-photo { margin: 0; }
.knx-photo img { width: 100%; height: 280px; object-fit: contain; background: #fff; border-radius: var(--radius-lg); padding: 18px; }
.br18--light { background: var(--gron-soft) !important; color: var(--tekst); margin: 0; }
.br18--light h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--mork); }
.br18--light p { color: var(--tekst); }
.br18--light b { color: #1f7a44; }
.br18--light .br18-note { color: var(--mork) !important; }
.ibi-br18 { padding: 70px 0 0; }

@media (max-width: 1080px) { .green-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .ibi-systems-head { grid-template-columns: 1fr; } .benefits-photo img { height: 320px; } }
@media (max-width: 640px) { .green-points { grid-template-columns: 1fr; } .grow-wire { height: 80px; } .track--big { padding: 22px; } .track--big b { font-size: 1.15rem; } }
@media (prefers-reduced-motion: reduce) {
  .grow-wire .wire { stroke-dashoffset: 0; transition: none; }
  .leaf-in { transform: scale(1); transition: none; }
  .drift { display: none; }
}
/* Grønne punkter som liste, ikke kort */
.green-point { background: none; padding: 0 0 0 40px; position: relative; border-radius: 0; }
.green-point .gp-leaf { position: absolute; left: 0; top: 2px; }
.green-point h3 { margin-top: 0; }
.green-points { gap: 28px 36px; }
.br18 .br18-badge b, .br18 .br18-badge span { color: #fff !important; }

/* KNX-komponent: frilagt foto uden ramme */
.knx-photo img.cutout { background: none; padding: 0; height: 300px; object-fit: contain; border-radius: 0; }

/* Grøn hero på IBI */
.green-hero { padding: 70px 0 90px; min-height: min(calc(100svh - var(--hh, 117px)), 860px); display: flex; align-items: center; }
.green-hero .container { width: 100%; }
.green-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: .35em; }
.green-hero .green-head { max-width: 760px; }
.green-hero .crumbs { margin-bottom: 22px; }
.green-hero .crumbs a { color: #b5c8bc; }
.green-hero .hero-actions { margin: 28px 0 0; }
.green-hero .grow-wire { margin-top: 46px; }
.green-hero .drift-leaf { opacity: .3; }
@media (max-width: 640px) { .green-hero { padding: 48px 0 64px; } }

/* ---------- Tegnet IBI-diagram (KNX-linje med aftapninger) ---------- */
.ibi-diagram { margin: 0; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--gron-mork); }
.ibi-diagram svg { display: block; width: 100%; height: auto; max-height: 620px; }
.ibi-head rect { fill: #173826; stroke: var(--gron-lys); stroke-width: 2; }
.ibi-head text { fill: #fff; font: 700 17px "Poppins", sans-serif; text-anchor: middle; }
.ibi-head text.sub { fill: #a9bbb0; font: 500 12px "Poppins", sans-serif; }
.ibi-bus { fill: none; stroke: var(--gron-lys); stroke-width: 4; stroke-linecap: round; }
.ibi-tap { fill: none; stroke: rgba(76,196,126,.55); stroke-width: 2.5; stroke-dasharray: 92; stroke-dashoffset: 92; }
.ibi-joint { fill: var(--gron-lys); }
.ibi-sym { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(.4s + var(--i) * .15s); }
.ibi-node text { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(.5s + var(--i) * .15s); }
.ibi-node .t { fill: #fff; font: 600 16px "Poppins", sans-serif; }
.ibi-node .d { fill: #a9bbb0; font: 400 12.5px "Poppins", sans-serif; }
.ibi-diagram.is-in .ibi-tap { stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease); transition-delay: calc(.3s + var(--i) * .15s); }
.ibi-diagram.is-in .ibi-sym, .ibi-diagram.is-in .ibi-node text { opacity: 1; }
.ibi-diagram .ibi-node:hover .ibi-sym { stroke: var(--gul); }
.ibi-pulse { fill: var(--gul); opacity: 0; }
.ibi-diagram.is-in .ibi-pulse { animation: busPulse 5s linear infinite; animation-delay: 1.6s; }
.ibi-diagram.is-in .ibi-pulse.p2 { animation-delay: 4.1s; }
@keyframes busPulse { 0% { transform: translateY(0); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(500px); opacity: 0; } }
.ibi-diagram { transform: none !important; }

/* ---------- Samlet kreditlinje nederst på siden ---------- */
.page-credits { padding-top: 0; padding-bottom: 40px; font-size: .78rem; color: var(--tekst-svag); }
@media (prefers-reduced-motion: reduce) {
  .ibi-tap { stroke-dashoffset: 0; } .ibi-sym, .ibi-node text { opacity: 1; } .ibi-pulse { display: none; }
}

/* ---------- Tegnet app-skærm (smart home) ---------- */
.app-mock { display: grid; place-items: center; padding: 40px 20px; border-radius: var(--radius-lg); background: var(--gron-soft); }
.phone { width: 270px; padding: 12px; border-radius: 38px; background: var(--mork); }
.phone-screen { border-radius: 28px; background: #1b1d22; padding: 20px 16px 18px; color: #fff; display: grid; gap: 10px; }
.am-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #a9aab0; }
.am-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gron-lys); }
.am-hello { margin: 0; font-size: 1.3rem; font-weight: 700; }
.am-card { border-radius: 14px; background: rgba(255,255,255,.06); padding: 12px 14px; }
.am-card small { display: block; font-size: .72rem; color: #a9aab0; }
.am-card b { font-size: .95rem; }
.am-temp b { font-size: 1.6rem; }
.am-bar { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.am-bar i { display: block; height: 100%; width: 62%; background: var(--gul); border-radius: 6px; }
.am-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.am-scene { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .8rem; transition: background .5s, color .5s; }
.am-scene svg { width: 18px; height: 18px; color: #a9aab0; transition: color .5s; }
.am-scene em { font-style: normal; }
.am-scene:nth-child(1) { animation: amScene 12s infinite; }
.am-scene:nth-child(2) { animation: amScene 12s 3s infinite; }
.am-scene:nth-child(3) { animation: amScene 12s 6s infinite; }
.am-scene:nth-child(4) { animation: amScene 12s 9s infinite; }
@keyframes amScene { 0%, 22% { background: var(--gul); color: var(--mork); } 26%, 100% { background: rgba(255,255,255,.06); color: #fff; } }
.am-solar { display: flex; align-items: center; gap: 10px; background: rgba(76,196,126,.14); }
.am-leaf svg { width: 22px; height: 22px; color: var(--gron-lys); }
.am-row { display: flex; justify-content: space-between; align-items: center; }
.am-on { color: var(--gron-lys); font-size: .85rem !important; }

/* ---------- Tegnet KNX-aktuator på DIN-skinne ---------- */
.knx-draw svg { display: block; width: 100%; max-width: 420px; height: auto; margin-left: auto; }
.knx-draw .din { fill: #8d8f95; } .knx-draw .din-slot { stroke: #6b6d73; stroke-width: 2; }
.knx-draw .body { fill: #e4e4e7; }
.knx-draw .front { fill: #3d3f44; }
.knx-draw .term rect { fill: #c9c9ce; } .knx-draw .term circle { fill: #9a9ba1; } .knx-draw .term path { stroke: #e4e4e7; stroke-width: 2; }
.knx-draw .lbl { fill: #fff; font: 700 15px "Poppins", sans-serif; letter-spacing: .08em; }
.knx-draw .lbl-s { fill: #b9bac0; font: 500 10px "Poppins", sans-serif; }
.knx-draw .led { fill: #4a4d54; animation: kLed 4s infinite; animation-delay: calc(var(--i) * .6s); }
@keyframes kLed { 0%, 40% { fill: var(--gron-lys); } 50%, 100% { fill: #4a4d54; } }
.knx-draw .btn-k { fill: #24272d; }
.knx-draw .bus { fill: #141416; } .knx-draw .bus-r { fill: #d62e2e; }
@media (prefers-reduced-motion: reduce) { .am-scene, .knx-draw .led { animation: none; } .am-scene:nth-child(1) { background: var(--gul); color: var(--mork); } }

/* =========================================================
   Døgnvagt: opkald + priser (privat inkl. moms / erhverv ekskl. moms)
   ========================================================= */
.vagt-hero { padding: 70px 0 60px; }
.vagt-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.vagt-hero h1 { color: #fff; }
.vagt-hero h1 .h1-kicker { color: #ff8a8a; }
.vagt-call { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--radius-lg); background: #c42a2a; color: #fff; text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.vagt-call:hover { background: #a92222; transform: translateY(-3px); }
.vc-ring { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); animation: vcRing 2.4s infinite; }
.vc-ring svg { width: 28px; height: 28px; }
@keyframes vcRing { 0%, 100% { transform: rotate(0); } 6% { transform: rotate(-12deg); } 12% { transform: rotate(10deg); } 18% { transform: rotate(-6deg); } 24% { transform: rotate(0); } }
.vagt-call small { display: block; font-size: .9rem; opacity: .9; }
.vagt-call b { font-size: 1.9rem; line-height: 1.1; letter-spacing: .01em; }
.vagt-112 { margin: 26px 0 0; color: #b9bac0; font-size: .95rem; }

.prices-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.prices-head h2 { margin: 0; }
.price-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--papir); }
.ps-btn { border: 0; cursor: pointer; padding: 11px 20px; border-radius: 999px; background: transparent; font: 600 .95rem "Poppins", sans-serif; color: var(--grafit); transition: background .25s, color .25s; }
.ps-btn small { font-weight: 400; font-size: .78rem; opacity: .8; margin-left: 4px; }
.ps-btn[aria-pressed="true"] { background: var(--mork); color: #fff; }
.ps-btn[data-price="erhverv"][aria-pressed="true"] { background: var(--gron-mork); }
.price-table { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.price-group { padding: 28px; border-radius: var(--radius-lg); background: var(--papir); }
.price-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.15rem; }
.pg-ico { color: #c42a2a; } .pg-ico svg { width: 24px; height: 24px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.price-row + .price-row { margin-top: 2px; }
.pr-name { font-size: 1.05rem; }
.pr-val b { font-size: 1.5rem; color: var(--mork); white-space: nowrap; }
.price-table .p-erhverv, .price-note .note-erhverv { display: none; }
.price-table.show-erhverv .p-privat, .price-note.show-erhverv .note-privat { display: none; }
.price-table.show-erhverv .p-erhverv, .price-note.show-erhverv .note-erhverv { display: inline; }
.price-table.show-erhverv .price-group { background: var(--gron-soft); }
.pr-val b { animation: priceIn .45s var(--ease); }
@keyframes priceIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.price-note { margin-top: 18px; color: var(--tekst-svag); }
.wait-steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.wait-steps li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; }
.wait-steps b { font-size: 1.3rem; color: #c42a2a; }
@media (max-width: 960px) { .vagt-hero-grid, .price-table { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .vagt-call b { font-size: 1.5rem; } .wait-steps li { grid-template-columns: 1fr; gap: 2px; } .price-switch { width: 100%; } .ps-btn { flex: 1; padding: 10px 8px; } }
@media (prefers-reduced-motion: reduce) { .vc-ring, .pr-val b { animation: none; } }

/* ---------- Område vi dækker: tegnet kort over Sjælland ---------- */
.area { background: var(--papir); }
.area--compact { background: #fff; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 16px; }
.area-list li { display: grid; grid-template-columns: 18px 1fr; column-gap: 14px; }
.area-list li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; margin-top: 6px; border-radius: 4px; background: #cfd8d2; }
.area-list li.is-kbh::before { background: var(--kobber); }
.area-list b { font-size: 1.2rem; color: var(--mork); }
.area-list span { color: var(--tekst); }
.area-map-wrap { display: grid; place-items: center; }
.area-map { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.am-land { fill: #cfd8d2; }
.area--compact .am-land { fill: #dfe6e1; }
.am-coast { fill: none; stroke: var(--gron); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; }
.area-map-wrap.is-in .am-coast { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s cubic-bezier(.4,0,.2,1); }
.am-kbh { fill: var(--kobber); opacity: 0; transition: opacity 1s var(--ease) 1.6s; }
.area-map-wrap.is-in .am-kbh { opacity: .9; }
.am-dot { fill: var(--mork); }
.am-ring { fill: none; stroke: var(--mork); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.area-map-wrap.is-in .am-ring { animation: amRing 2.6s ease-out 2.2s infinite; }
@keyframes amRing { 0% { opacity: .7; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.2); } }
.am-label { font: 700 17px "Poppins", sans-serif; fill: var(--mork); }
.am-label--kbh { fill: var(--kobber-dark); font-size: 16px; text-anchor: end; }
.am-label--sj { font-size: 22px; fill: #556b5e; letter-spacing: .02em; }
.am-lead { fill: none; stroke: var(--kobber-dark); stroke-width: 1.5; }
.area-map-wrap { transform: none !important; }
@media (max-width: 960px) { .area-grid { grid-template-columns: 1fr; gap: 30px; } .area-map { max-width: 360px; } }
@media (prefers-reduced-motion: reduce) { .am-coast { stroke-dashoffset: 0; } .am-kbh { opacity: .9; } .am-ring { display: none; } }
/* Område-kortet: samme lyse udgave overalt (hvid baggrund, lyst land) */
.area { background: #fff; }
.am-land { fill: #dfe6e1; }
.area-list li::before { background: #dfe6e1; box-shadow: inset 0 0 0 2px var(--gron); } .area-list li.is-kbh::before { background: var(--kobber); box-shadow: none; }

/* ---------- Logo-bånd: lyn som skillevæg + sømløs uendelig løkke ---------- */
/* Fire ens sæt; båndet flyttes præcis ét sæt (25 %), så der aldrig opstår hul eller hop */
.brand-track { gap: 0 !important; animation: marquee4 48s linear infinite !important; }
@keyframes marquee4 { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.mq-set { display: flex; align-items: center; flex: none; }
.mq-item { display: flex; align-items: center; padding: 0 34px; }
.mq-sep { display: block; width: 1px; height: 30px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.28), transparent); flex: none; }
@media (max-width: 640px) { .mq-item { padding: 0 22px; } .brand-track { animation-duration: 36s !important; } }
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .mq-set[aria-hidden="true"] { display: none; }
  .mq-set { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
}
.brand-logo img[data-logo="zwave"] { height: 44px; margin: -5px 0; }
.brand-grid > .brand-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vagt-call > span:last-child { min-width: 0; }
.vagt-call b { overflow-wrap: anywhere; }
@media (max-width: 640px) { .vagt-call { padding: 20px; gap: 14px; } .vagt-call b { font-size: 1.15rem; } .vc-ring { width: 48px; height: 48px; } }
