/* COMTEOS design layer (2026). Keeps the established look: grey bars, orange, square corners, warm banners. Improves how the site works. Removing one line in fe_page.html5 brings the old styles back. */
:root {
  --text: #636463;
  --muted: #6b6b6b;
  --grey: #636463;
  --line: #e8e8e8;
  --soft: #f6f6f6;
  --brand: #eb8c36;
  --btn: #ba5c0c;
  --btn-hover: #a04e08;
  --link: #a85406;
  --nav-hover: #964a04;
  --shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 12px 28px rgba(0, 0, 0, .09);
  --gutter: 15px;
}

/* Lines up with the Bootstrap container at every breakpoint; cqw ignores the scrollbar */
#slider { container-type: inline-size; }
@media (min-width: 768px) { :root { --gutter: calc((100cqw - 750px) / 2 + 15px); } }
@media (min-width: 992px) { :root { --gutter: calc((100cqw - 970px) / 2 + 15px); } }
@media (min-width: 1200px) { :root { --gutter: calc((100cqw - 1170px) / 2 + 15px); } }

/* Type: same font and colours, larger body text, sizes that scale with the screen */
body { color: var(--text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
#main p, #main li, #main td, #main th, #main dd { font-size: 16px; line-height: 1.65; }
/* Headings never split a word. break-word only acts when a single word is wider than the whole screen */
h1, h2, h3, h4, h5 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; text-wrap: balance; }
#main p a:not(.btn), #main li a:not(.btn) { overflow-wrap: break-word; }
#main h1, #slider h1 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
#main h2 { font-size: clamp(23px, 2.2vw, 27px); line-height: 1.25; }
#main h3 { font-size: clamp(19px, 1.6vw, 20px); line-height: 1.3; }
#main .mod_article .ce_text p.title { font-size: 13px; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
#main .ce_text a:not(.btn), #main .ce_tc_team a, .ce_tc_team .contact-info p a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
#main .ce_text a:not(.btn):hover, #main .ce_tc_team a:hover { color: #000; }
.ce_tc_custom_list ul li { margin-bottom: 9px; }
.ce_tc_custom_list ul li i { margin-top: 6px; }
a { color: var(--link); }
a:hover, a:focus { color: #000; }
#main .mod_newslist a:not(.btn), #main .mod_tc_portfolio_list a:not(.btn) { color: var(--link); }
#main .mod_newslist a:not(.btn):hover, #main .mod_tc_portfolio_list a:not(.btn):hover { color: #000; }
html { scroll-padding-top: 92px; }

/* Visible keyboard focus: the old theme switched it off */
a:focus-visible, button:focus-visible, input:focus-visible, .btn:focus-visible { outline: 3px solid var(--brand) !important; outline-offset: 2px; }

/* Buttons: white text stays, on a deeper orange so it can be read (2.5:1 before, 4.5:1 now). The logo keeps its orange */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 13px 28px; font-size: 15px; font-weight: 700; line-height: 1.25; white-space: normal; text-decoration: none !important; }
.btn.btn-primary, a.btn.btn-primary { background: var(--btn); color: #fff; border: 0; }
.btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active { background: var(--btn-hover); color: #fff; }
.btn.btn-ghost, a.btn.btn-ghost { background: transparent; color: var(--grey); border: 2px solid var(--grey); }
.btn.btn-ghost:hover, .btn.btn-ghost:focus { background: var(--grey); color: #fff; }
#slider .hero .btn.btn-ghost { color: #fff; border-color: #fff; }
#slider .hero .btn.btn-ghost:hover, #slider .hero .btn.btn-ghost:focus { background: #fff; color: #000; }
.ce_downloads ul li.download-element a { background-color: var(--btn); }

/* Header stays in reach while scrolling, the grey top bar scrolls away. clip instead of hidden, or sticky has no effect */
#wrapper { overflow: clip; }
#header { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
#header .ce_tc_logo { position: static; top: auto; transform: none; }
#header .ce_tc_logo a { display: block; }
#header .ce_tc_logo img.logo_default { display: none !important; }
#header .ce_tc_logo img.logo_retina { display: block !important; width: 132px; max-width: none; height: auto; }

/* Quick actions on phones and tablets */
.header-quick { display: none; }

@media (min-width: 992px) {
  #header { top: -40px; }
  #header .tc_header_item_1 .top-navigation { font-size: 13px; line-height: 1.4; }
  #header .tc_header_item_1 .top-navigation li { padding-right: clamp(20px, 2.4vw, 34px); }
  #header .tc_header_item_1 .top-navigation li.no-padding { padding-right: 0; }
  #header .tc_header_item_1 .top-navigation a[href^="tel:"] { font-weight: 700; }

  /* The menu was built for very wide screens: it wrapped below 1200 px and cut off the test button at 1280 px */
  #header .tc_header_item_2 .col-md-12 > .row { display: flex; align-items: center; min-height: 78px; }
  #header #tc_column_5 { flex: 0 0 auto; width: auto; height: auto; float: none; }
  #header #tc_column_7 { flex: 1 1 auto; width: auto; height: auto; float: none; min-width: 0; }
  #header .mod_navigation { float: none; height: auto; }
  #header .mod_navigation .sf-menu { display: flex; justify-content: flex-end; align-items: center; float: none; height: auto; width: auto; }
  #header .mod_navigation .sf-menu > li { float: none; height: auto; margin: 0; }
  #header .mod_navigation .sf-menu > li > a,
  #header .mod_navigation .sf-menu > li > span { top: auto; transform: none; padding: 11px clamp(8px, 1.1vw, 18px); font-size: 16px; line-height: 1.2; white-space: nowrap; }
  #header .mod_navigation .sf-menu > li > a:hover,
  #header .mod_navigation .sf-menu > li.sfHover > a,
  #header .mod_navigation .sf-menu > li > a.trail { color: var(--nav-hover); font-size: 16px; }
  #header .mod_navigation .sf-menu > li.last { position: relative !important; margin-left: clamp(6px, 1vw, 14px); top: auto; right: auto; }
  #header .mod_navigation .sf-menu > li.last > a,
  #header .mod_navigation .sf-menu > li.last > span { background: var(--btn); color: #fff !important; width: auto; height: auto; padding: 14px 20px; font-weight: 700; }
  #header .mod_navigation .sf-menu > li.last > a:hover,
  #header .mod_navigation .sf-menu > li.last > a:focus { background: var(--btn-hover); color: #fff; }

  /* Drop-down panels */
  #header .mod_navigation .sf-menu ul { min-width: 250px; padding: 6px 0; border-top: 3px solid var(--brand); box-shadow: var(--shadow); }
  #header .mod_navigation .sf-menu ul li a,
  #header .mod_navigation .sf-menu ul li span { display: block; padding: 10px 18px; color: var(--grey); font-size: 15px; line-height: 1.35; background: none; }
  #header .mod_navigation .sf-menu ul li a:hover,
  #header .mod_navigation .sf-menu ul li a:focus { background: var(--soft); color: var(--nav-hover); }
  #header .mod_navigation .sf-menu ul li a.active,
  #header .mod_navigation .sf-menu ul li span.active { color: var(--nav-hover) !important; font-weight: 700; background: none; }
}

@media (max-width: 991.98px) {
  #header .tc_header_item_1 { display: none; }
  #header .tc_header_item_2 { position: relative; height: 66px; }
  #header .tc_header_item_2 [class*="col-"] { position: static; min-height: 0; }
  #header .ce_tc_logo { padding-top: 15px; }
  #header .ce_tc_logo img.logo_retina { width: 112px; }

  .header-quick { display: flex; align-items: center; gap: 6px; position: absolute; top: 12px; right: 62px; z-index: 9998; }
  #header .header-quick__call { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #c9c9c9; color: var(--grey) !important; font-size: 17px; text-decoration: none; }
  #header .header-quick .btn { min-height: 42px; padding: 8px 14px; font-size: 14px; display: inline-flex; }

  #tc_mobile_menu { display: flex !important; align-items: center; justify-content: center; top: 11px; right: 12px; width: 44px; height: 44px; }
  #tc_mobile_menu a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--btn); }
  #tc_mobile_menu a i { font-size: 28px; line-height: 1; }

  /* Slide-in menu: readable text instead of small orange, a real button for the test */
  #header .mod_navigation { top: 0; bottom: 0; height: auto; width: calc(100% - 68px); overflow-y: auto; }
  #header .mod_navigation.tc_mobile_menu_active { box-shadow: 0 0 40px rgba(0, 0, 0, .25); }
  #header .mod_navigation.tc_mobile_menu_active li > a,
  #header .mod_navigation.tc_mobile_menu_active li > span { color: #333; font-size: 16px; font-weight: 700; padding: 15px 18px; line-height: 1.3; }
  #header .mod_navigation.tc_mobile_menu_active .sf-menu ul li a,
  #header .mod_navigation.tc_mobile_menu_active .sf-menu ul li span { background: var(--soft); color: var(--grey); font-size: 15px; font-weight: 400; padding: 13px 18px 13px 30px; }
  #header .mod_navigation.tc_mobile_menu_active .sf-menu li a.active,
  #header .mod_navigation.tc_mobile_menu_active .sf-menu li span.active { background: var(--soft); color: var(--link); font-weight: 700; }
  #header .mod_navigation.tc_mobile_menu_active .sf-menu > li.last { border-bottom: 0; padding: 14px 18px 4px; display: block; float: none; width: 100%; box-sizing: border-box; }
  #header .mod_navigation.tc_mobile_menu_active .sf-menu > li.last > a,
  #header .mod_navigation.tc_mobile_menu_active .sf-menu > li.last > span { display: block; width: 100%; text-align: center; background: var(--btn); color: #fff; font-weight: 700; padding: 14px; }
  #header .mod_navigation.tc_mobile_menu_active .mobile-navigation-footer li a { color: var(--grey); }
  body.mobile_menu_open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 999; }
}

/* Start page banner: the familiar warm photo and San_Reno mark, now with a clear message and two actions */
#slider .ce_text.hero {
  padding: 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(48, 36, 25, .66) 0%, rgba(48, 36, 25, .46) 55%, rgba(48, 36, 25, .18) 100%),
    #8d7560 url("/files/comteos/images/hero-bg.webp") center / cover no-repeat;
}
.hero-inner { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 48px); padding: clamp(34px, 5vw, 70px) var(--gutter); }
#slider .ce_text.hero figure.hero-mark { flex: 0 0 auto; width: clamp(130px, 14vw, 184px); margin: 0; float: none; }
.hero-mark img { display: block; width: 100%; height: auto; }
.hero-copy { min-width: 0; max-width: 820px; }
#slider .mod_article .ce_text.hero h1 { font-size: clamp(22px, 6.2vw, 36px); line-height: 1.2; color: #fff; margin: 0 0 14px; font-weight: 700; text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.hero h1 .nb { white-space: nowrap; }
#slider .hero p { color: #fff; font-size: clamp(16px, 1.45vw, 18px); line-height: 1.55; margin: 0 0 24px; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
#slider .ce_text.hero p.hero-eyebrow { font-size: 15px; font-weight: 400; letter-spacing: .03em; margin-bottom: 10px; text-transform: uppercase; }
#slider .ce_text.hero p.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; text-shadow: none; }
#slider .ce_text.hero ul.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 16px var(--gutter); background: var(--grey); font-size: 14.5px; line-height: 1.4; color: #e8e8e8; }
.hero-facts strong { display: block; color: #fff; font-size: 16px; }

/* Product cards */
#article-28 #tc_column_14 { width: 100%; margin-left: 0; }
#main #article-28 { padding-top: clamp(40px, 5.5vw, 72px); padding-bottom: clamp(32px, 4.5vw, 60px); }
.product-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); margin-top: 28px; text-align: left; }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: top left; background: var(--soft); border-bottom: 1px solid var(--line); }
.product-card__body { padding: 20px 24px 24px; }
#main .ce_text .product-card__eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
#main .ce_text .product-card h3 { margin: 0 0 8px; }
#main .ce_text .product-card h3 a { color: #000; text-decoration: none; }
#main .ce_text .product-card h3 a::after { content: ""; position: absolute; inset: 0; }
#main .ce_text .product-card p { margin: 0 0 12px; }
#main .ce_text .product-card .product-card__more { margin: 0; font-weight: 700; color: var(--link); }
.product-card:hover h3 a { color: var(--link) !important; }

/* Tiles: the orange photos stay; the name sits on a soft dark foot, so it stays readable on every photo */
.ce_tc_promo_box .photo img { transition: transform .35s ease; }
.ce_tc_promo_box:hover .photo, .ce_tc_promo_box:focus .photo, .ce_tc_promo_box:active .photo { opacity: 1; }
.ce_tc_promo_box:hover .photo img { transform: scale(1.05); }
.ce_tc_promo_box .text { top: auto; bottom: 0; transform: none; -webkit-transform: none; text-align: center; padding: 30px 10px 12px; background: linear-gradient(to top, rgba(0, 0, 0, .68), rgba(0, 0, 0, 0)); }
#main .ce_tc_promo_box .text p { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.25; }
#main #article-29 { padding-top: clamp(36px, 4.5vw, 60px); padding-bottom: clamp(36px, 4.5vw, 60px); }
#article-29 .container > h2 { margin-bottom: 26px; }
#article-29 .ce_tc_column_wrapper_start { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; }
#article-29 .ce_tc_column_wrapper_start::before, #article-29 .ce_tc_column_wrapper_start::after { display: none; }
#article-29 .ce_tc_column_start { width: auto; float: none; padding: 0; min-width: 0; }
#article-29 #tc_column_1237 { display: none; }
#article-29 .ce_tc_promo_box { margin: 0; }
#article-29 .ce_tc_promo_box img { aspect-ratio: 4 / 3; object-fit: cover; }
#main .section-link { margin: 24px 0 0; font-weight: 700; }

/* Closing band with the test offer: follows the white and light grey rhythm of the page, full width */
#main .mod_article.cta-band { padding-top: clamp(38px, 5vw, 64px); padding-bottom: clamp(38px, 5vw, 64px); text-align: center; }
#main .mod_article.cta-band:nth-child(even) { background: var(--soft); box-shadow: 0 0 0 100vmax var(--soft); clip-path: inset(0 -100vmax); }
#main .mod_article.cta-band h2 { margin: 0 0 12px; }
#main .mod_article.cta-band p { max-width: 640px; margin: 0 auto 22px; }
#main .mod_article.cta-band .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 0; }

/* Banner of the inner pages: the warm photo stays, a light veil keeps the page name readable, long headings always fit */
#slider .mod_article_bg.full_background { position: relative; display: flex; align-items: center; background-position: center; height: auto !important; min-height: clamp(180px, 25vw, 320px) !important; }
#slider .mod_article_bg.full_background::before { content: ""; position: absolute; inset: 0; background: rgba(48, 36, 25, .26); }
#slider .mod_article_bg.full_background > .container { position: relative; z-index: 1; min-width: 0; max-width: 100%; padding-top: 26px; padding-bottom: 26px; }
#slider .mod_article_bg .vertical-align { position: static; top: auto; transform: none; -webkit-transform: none; }
#slider .header-text-bottom h1 { margin-top: 0 !important; }
#slider .color-white h1 { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }

/* Product links on the industry pages */
#main .product-link { margin: 6px 0 0; font-weight: 700; }

/* Contact page */
#article-6 #tc_column_657 { width: 100%; margin-left: 0; }
#main #article-6 { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(40px, 5vw, 68px); }
#article-6 h1.ce_headline { text-align: center; margin-bottom: 10px; }
#main .contact-lead { max-width: 640px; margin: 0 auto 30px; text-align: center; font-size: clamp(16px, 1.45vw, 18px); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.contact-panel { padding: clamp(22px, 3vw, 34px); }
.contact-panel--test { background: var(--soft); }
.contact-panel--routes { border: 1px solid var(--line); background: #fff; }
#main .contact-panel h2 { margin: 0 0 12px; font-size: clamp(21px, 2vw, 25px); }
#main .contact-panel .contact-sub { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-list { margin: 0; }
.contact-list dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-top: 16px; }
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd { margin: 2px 0 0; }
#main .contact-list dd.contact-big a { font-size: 19px; font-weight: 700; }

/* Footer: same grey family as the top bar, dark enough for its text (3.1:1 before, 4.9:1 and more now), with the address */
#footer .tc_footer_item_1 { background: var(--grey) !important; color: #e8e8e8; padding: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 28px); }
#footer .tc_footer_item_1 .ce_tc_column_wrapper_start { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; }
#footer .tc_footer_item_1 .ce_tc_column_wrapper_start::before, #footer .tc_footer_item_1 .ce_tc_column_wrapper_start::after { display: none; }
#footer .ce_tc_column_start { width: auto; float: none; min-width: 0; }
#footer .footer-contact { margin-bottom: 14px; }
#footer .footer-contact p { margin: 0 0 4px; color: #e8e8e8; font-size: 15px; line-height: 1.55; }
#footer .footer-contact strong { color: #fff; font-size: 16px; }
#footer .footer-contact a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
#footer .footer-contact a:hover { text-decoration: none; }
#footer .tc_footer_menu { display: flex; flex-wrap: wrap; gap: 0 22px; padding: 0; margin: 0; }
#footer .tc_footer_menu li { float: none; margin: 0; padding: 0; }
#footer .tc_footer_menu li > a, #footer .tc_footer_menu li > span { display: inline-block; padding: 7px 0; font-size: 14.5px; color: #fff; }
#footer .tc_footer_menu li > a:hover, #footer .tc_footer_menu li > a:focus { color: #fff; text-decoration: underline; }
#footer #tc_column_47 p { padding: 7px 0; margin: 0; color: #e8e8e8; font-size: 14px; }

/* Breadcrumbs */
.mod_breadcrumb { background: #fff; border-bottom: 1px solid var(--line); }
#slider .mod_breadcrumb ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; padding: 10px var(--gutter); font-size: 14px; line-height: 1.5; color: var(--muted); }
.mod_breadcrumb li { margin: 0; }
#slider .mod_breadcrumb li + li::before { content: "/" !important; display: inline; margin-right: 8px; color: #a8a8a8; font-weight: 400; }
.mod_breadcrumb a { color: var(--muted); text-decoration: none; }
.mod_breadcrumb a:hover { color: var(--link); text-decoration: underline; }
.mod_breadcrumb li.active { color: #000; font-weight: 700; }

/* Footer always reaches the bottom of the window on short pages */
#wrapper { display: flex; flex-direction: column; min-height: 100vh; }
#wrapper > #container { flex: 1 0 auto; }

/* Fold-out lists keep their grey bars, with larger targets and room for long names */
.ce_accordionStart .toggler, .ce_accordionSingle .toggler { position: relative; height: auto; min-height: 46px; padding: 12px 40px 12px 18px; line-height: 1.35; font-size: 16px; }
.ce_accordionStart .toggler i, .ce_accordionSingle .toggler i { position: absolute; right: 14px; top: 50%; margin: 0; float: none; transform: translateY(-50%); }

/* Portrait keeps its place while it loads, so the text does not jump */
.ce_tc_team .image_container { width: 85px; min-height: 85px; }

/* Cookie notice: compact, so it does not cover a third of a phone screen */
.cookiebar { z-index: 1100; padding: 12px 16px; gap: 10px 16px; font-size: 14px; line-height: 1.45; }
.cookiebar .cookiebar__button, .cookiebar button { min-height: 42px; padding: 9px 18px; margin: 0; border: 0; background: var(--btn); color: #fff; font-size: 14px; font-weight: 700; }
.cookiebar .cookiebar__button:hover, .cookiebar button:hover { background: var(--btn-hover); color: #fff; }

/* Video and icon buttons in the same style as all other buttons */
.ce_tc_button a { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; width: auto !important; height: auto !important; min-height: 46px; padding: 12px 22px !important; border-radius: 0 !important; border: 0 !important; background: var(--btn) !important; color: #fff !important; font-size: 15px !important; font-weight: 700; line-height: 1.25 !important; text-align: center; text-decoration: none !important; white-space: normal; }
.ce_tc_button a:hover, .ce_tc_button a:focus { background: var(--btn-hover) !important; color: #fff !important; }
.ce_tc_button a .button_icon, .ce_tc_button a .button_label { position: static !important; display: inline-block !important; float: none !important; margin: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; line-height: 1.25 !important; background: none !important; color: inherit !important; border: 0 !important; font-size: inherit !important; }
.ce_tc_button a i { color: inherit !important; font-size: 16px !important; line-height: 1 !important; }

/* Form fields were white on white: visible border, and 16 px so phones do not zoom in on focus */
input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], textarea, select { min-height: 46px; padding: 10px 12px; border: 1px solid #b5b5b5 !important; background: #fff !important; color: #333; font-size: 16px; line-height: 1.4; box-shadow: none; }
input:focus, textarea:focus, select:focus { border-color: var(--btn) !important; outline: 3px solid rgba(235, 140, 54, .35); outline-offset: 0; }
button.submit, input[type="submit"], .mod_login button, .mod_search button { min-height: 46px; padding: 12px 24px; border: 0; background: var(--btn) !important; color: #fff !important; font-size: 15px; font-weight: 700; cursor: pointer; }
button.submit:hover, input[type="submit"]:hover, .mod_login button:hover, .mod_search button:hover { background: var(--btn-hover) !important; }

@media (max-width: 1099.98px) {
  #article-29 .ce_tc_column_wrapper_start { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  #slider .mod_article_bg.full_background { background-attachment: scroll !important; }
}

@media (max-width: 767.98px) {
  #slider .mod_article_bg.full_background > .container { width: 100%; }
  .hero-inner { padding-top: 30px; padding-bottom: 28px; }
  #slider .mod_article .ce_text.hero h1 { font-size: clamp(22px, 6.2vw, 30px) !important; line-height: 1.2; }
  #slider .ce_text.hero p.hero-actions .btn { flex: 1 1 100%; }
  #slider .ce_text.hero ul.hero-facts { grid-template-columns: minmax(0, 1fr); }
  .product-cards, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  #article-29 .ce_tc_column_wrapper_start { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #main .mod_article.cta-band .cta-actions .btn { flex: 1 1 100%; }
  #footer .tc_footer_item_1 .ce_tc_column_wrapper_start { grid-template-columns: minmax(0, 1fr); }
  #footer .tc_footer_menu li > a, #footer .tc_footer_menu li > span { padding: 11px 0; }
  #slider .mod_breadcrumb ul { font-size: 13px; }

  /* Product pages on phones: words first, then the 10 screenshots as a compact gallery */
  #article-11 > .ce_tc_column_wrapper_start, #article-97 > .ce_tc_column_wrapper_start { display: flex; flex-direction: column; }
  #article-11 > .ce_tc_column_wrapper_start::before, #article-11 > .ce_tc_column_wrapper_start::after, #article-97 > .ce_tc_column_wrapper_start::before, #article-97 > .ce_tc_column_wrapper_start::after { display: none; }
  #tc_column_1748, #tc_column_675 { order: 2; margin-top: 24px; }
  .ce_tc_light_gallery ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
  .ce_tc_light_gallery ul li { float: none; width: auto !important; padding: 0 !important; margin: 0; }
  .ce_tc_light_gallery ul li:first-of-type { grid-column: 1 / -1; }
  .ce_tc_light_gallery img { min-height: 0; }
}

/* Small phones: long German words like Nebenkostenabrechnung still fit on one line */
@media (max-width: 379.98px) {
  #main h1, #slider h1, #slider .mod_article .ce_text h1 { font-size: max(23px, 7.4vw); }
  #main h2 { font-size: max(21px, 6.2vw); }
}

/* Very small phones: the long compound may break at its own hyphen */
@media (max-width: 349.98px) {
  .hero h1 .nb { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
