/* telekomzentrum.ch — generated theme CSS (Contao / themes4contao) */

@font-face {
  font-family: "full";
  src: url("/system/modules/themes4contao/assets/fonts/fontastic/full.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --brand: #0088b8;
  --brand-dark: #006688;
  --brand-light: #e8f4f8;
  --accent: #f07800;
  --text: #444444;
  --text-muted: #777777;
  --text-light: #999999;
  --bg: #ffffff;
  --bg-alt: #f4f6f7;
  --bg-dark: #2a3439;
  --border: #dde2e5;
  --footer-bg: #2a3439;
  --footer-text: #b0babf;
  --header-h: 120px;
  --container: 1170px;
  --font-body: "Droid Sans", "Source Sans Pro", Arial, sans-serif;
  --font-head: "Source Sans Pro", "Droid Sans", Arial, sans-serif;
}

/* ── Reset / base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.3;
  color: #222;
  margin: 0 0 0.75em;
}

h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.5em; }

figure { margin: 0; }

.invisible,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.block { display: block; }

/* ── Bootstrap 3 grid (subset) ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.container::before,
.container::after,
.row::before,
.row::after {
  content: " ";
  display: table;
}

.container::after,
.row::after { clear: both; }

.row {
  margin-left: -15px;
  margin-right: -15px;
}

[class*="col-"] {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4,
.col-md-5, .col-md-6, .col-md-7, .col-md-8,
.col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4,
.col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8,
.col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
  width: 100%;
  float: left;
}

@media (min-width: 992px) {
  .col-md-1  { width: 8.333333%; }
  .col-md-2  { width: 16.666667%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.333333%; }
  .col-md-5  { width: 41.666667%; }
  .col-md-6  { width: 50%; }
  .col-md-7  { width: 58.333333%; }
  .col-md-8  { width: 66.666667%; }
  .col-md-9  { width: 75%; }
  .col-md-10 { width: 83.333333%; }
  .col-md-11 { width: 91.666667%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 1200px) {
  .col-lg-4  { width: 33.333333%; }
  .col-lg-6  { width: 50%; }
  .col-lg-8  { width: 66.666667%; }
}

.pull-left  { float: left !important; }
.pull-right { float: right !important; }
.text-right { text-align: right; }

.hidden-xs { display: none !important; }
.visible-xs { display: block !important; }

@media (min-width: 768px) {
  .hidden-xs { display: block !important; }
  .visible-xs { display: none !important; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 8px 18px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand-dark);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background: var(--brand-dark);
  text-decoration: none;
}

.btn-icon [class^="icon-"] { margin-right: 6px; }

/* ── Wrapper ───────────────────────────────────────────────── */
#wrapper {
  position: relative;
  min-height: 100vh;
}

/* ── Header ────────────────────────────────────────────────── */
#header {
  position: relative;
  z-index: 500;
  background: #fff;
  border-bottom: 3px solid var(--brand);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#header > .inside.container {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo_left {
  position: relative;
}

#logo {
  display: block;
  float: left;
  margin: 8px 0 12px;
}

#logo img {
  display: block;
  max-height: 42px;
  width: auto;
}

/* Top bar */
#top-bar {
  float: right;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 0 10px;
}

.search_box form { margin: 0; }

.search_box .formbody {
  display: flex;
  align-items: center;
}

.search_box .text {
  width: 160px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  font-size: 13px;
  outline: none;
}

.search_box .text:focus { border-color: var(--brand); }

.search_box .submit {
  padding: 6px 12px;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand-dark);
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.search_box .submit:hover { background: var(--brand-dark); }

/* Social icons (header/footer) */
.mod_t4c_social_icons ul,
.social_box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.mod_t4c_social_icons li span,
.social_box li span {
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  text-indent: -9999px;
  background: var(--bg-alt);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.mod_t4c_social_icons li span:hover,
.social_box li span:hover {
  background: var(--brand);
}

/* Main navigation */
#mainmenu {
  clear: both;
  background: var(--bg-dark);
  margin: 0 -15px;
  padding: 0 15px;
}

#mainmenu .mod_navigation > .level_1 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

#mainmenu .level_1 > li {
  position: relative;
  margin: 0;
}

#mainmenu .level_1 > li > a,
#mainmenu .level_1 > li > span {
  display: block;
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

#mainmenu .level_1 > li > a:hover,
#mainmenu .level_1 > li.active > span,
#mainmenu .level_1 > li > span.active {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

#mainmenu .level_1 > li.submenu > a::after {
  content: " \25BE";
  font-size: 10px;
  opacity: 0.7;
}

/* Dropdown submenus (superfish) */
#mainmenu .level_2 {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 600;
}

#mainmenu li:hover > .level_2,
#mainmenu li.sfHover > .level_2 {
  display: block;
}

#mainmenu .level_2 a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  border-bottom: 1px solid var(--bg-alt);
}

#mainmenu .level_2 a:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  text-decoration: none;
}

#mainmenu .level_2 li:last-child a { border-bottom: 0; }

/* ── Slider ────────────────────────────────────────────────── */
#slider {
  background: #111;
  overflow: hidden;
}

#slider .inside { padding: 0; }

.mod_cameraslideshow_show {
  padding: 0;
  max-width: 100%;
}

.camera_wrap {
  width: 100%;
  overflow: hidden;
}

/* ── Subheader (inner pages) ───────────────────────────────── */
#subheader {
  background: var(--brand);
  color: #fff;
}

#page-title {
  padding: 28px 0 20px;
}

#page-title h4 {
  margin: 0;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

#breadcrumb {
  background: rgba(0, 0, 0, 0.15);
  padding: 10px 0;
}

#breadcrumb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
}

#breadcrumb li::after {
  content: " \203A ";
  margin: 0 6px;
  opacity: 0.6;
}

#breadcrumb li:last-child::after { content: ""; margin: 0; }

#breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

#breadcrumb a:hover { color: #fff; }

#breadcrumb li.active,
#breadcrumb li.active.last {
  color: rgba(255, 255, 255, 0.65);
}

/* ── Main content area ─────────────────────────────────────── */
#container {
  padding: 40px 0 50px;
  background: var(--bg);
}

.layout_homepage #container { padding-top: 50px; }

#main { min-height: 200px; }

#right {
  padding-top: 0;
}

@media (min-width: 992px) {
  #right {
    border-left: 1px solid var(--border);
    padding-left: 25px;
  }
}

/* Section headlines */
.ce_headline {
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  font-size: 1.35rem;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ce_headline.no_border {
  border-bottom: 0;
  padding-bottom: 0;
}

.mod_article {
  margin-bottom: 45px;
}

.mod_article:last-child { margin-bottom: 0; }

/* ── Service link boxes ────────────────────────────────────── */
#services {
  margin-top: -30px;
  margin-bottom: 50px;
}

.link-box {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  padding: 28px 20px 24px 70px;
  margin-bottom: 20px;
  min-height: 140px;
  cursor: pointer;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.link-box:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-top-color: var(--accent);
  transform: translateY(-2px);
}

.link-box[class*="icon-"]::before {
  position: absolute;
  left: 18px;
  top: 28px;
  font-family: "full" !important;
  font-size: 32px;
  color: var(--brand);
  line-height: 1;
  speak: none;
  -webkit-font-smoothing: antialiased;
}

.link-box p:first-child {
  margin-bottom: 8px;
}

.link-box p:first-child a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.link-box:hover p:first-child a { color: var(--brand); }

.link-box p:last-child {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

[class^="icon-"]::before,
[class*=" icon-"]::before {
  font-family: "full" !important;
  font-style: normal;
  font-weight: normal;
  speak: none;
  -webkit-font-smoothing: antialiased;
}

.hover_effect a i[class^="icon-"]::before,
.hover_effect a i[class*=" icon-"]::before {
  margin-right: 6px;
}

/* ── Blog / news cards (blog_v3) ───────────────────────────── */
.mod_newslist.row {
  display: flex;
  flex-wrap: wrap;
}

.blog.blog_v3 {
  margin-bottom: 30px;
}

.blog_v3 .photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 600 / 230;
}

.blog_v3 .photo .image_container {
  display: block;
  width: 100%;
  height: 100%;
}

.blog_v3 .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.blog_v3 .photo .bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 102, 136, 0);
  transition: background 0.3s;
}

.blog_v3 .photo .hover_effect {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.blog_v3 .photo .hover_effect a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
}

.blog_v3 .photo .hover_effect a:hover {
  background: var(--accent);
  color: #fff;
}

.blog_v3:hover .photo img { transform: scale(1.05); }
.blog_v3:hover .photo .bg { background: rgba(0, 102, 136, 0.45); }
.blog_v3:hover .photo .hover_effect { opacity: 1; }

.blog_v3 .info {
  padding: 14px 0 8px;
  font-size: 13px;
}

.blog_v3 .info time {
  display: inline-block;
  margin-right: 10px;
  color: var(--text-light);
  font-weight: 600;
}

.blog_v3 .info time span {
  color: var(--brand);
  font-size: 1.1em;
}

.blog_v3 .info > a {
  display: block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
  text-decoration: none;
}

.blog_v3 .info > a:hover { color: var(--brand); }

.blog_v3 .teaser {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.blog_v3 .teaser p { margin-bottom: 0.5em; }
.blog_v3 .teaser p:last-child { margin-bottom: 0; }

/* ── Article reader ────────────────────────────────────────── */
.mod_newsreader .layout_full h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.mod_newsreader .info {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mod_newsreader .info span { margin-right: 16px; }

.ce_text .image_container.float_above {
  margin-bottom: 24px;
}

.ce_text .image_container.float_above img {
  width: 100%;
  height: auto;
}

p.back { margin-top: 30px; }

/* ── Sidebar ───────────────────────────────────────────────── */
#right .mod_navigation .level_1 {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
  border: 1px solid var(--border);
}

#right .mod_navigation .level_1 a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  text-decoration: none;
}

#right .mod_navigation .level_1 li:last-child a { border-bottom: 0; }

#right .mod_navigation .level_1 a:hover,
#right .mod_navigation .level_1 .trail a {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.mod_newsmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod_newsmenu .year > a {
  display: block;
  padding: 10px 14px;
  background: var(--bg-alt);
  font-weight: 600;
  color: #222;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.mod_newsmenu .level_2 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod_newsmenu .level_2 a {
  display: block;
  padding: 8px 14px 8px 22px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--bg-alt);
  text-decoration: none;
}

.mod_newsmenu .level_2 a:hover {
  color: var(--brand);
  background: var(--brand-light);
}

.mod_newsmenu .quantity {
  font-style: normal;
  color: var(--text-light);
  font-size: 12px;
}

/* ── Forms ─────────────────────────────────────────────────── */
.formbody { margin: 0; }

input.text,
input.email,
input.captcha,
input.url,
textarea.textarea,
select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
}

input.text:focus,
textarea.textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 136, 184, 0.15);
}

input.submit,
button.submit {
  display: inline-block;
  padding: 9px 20px;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand-dark);
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

input.submit:hover,
button.submit:hover {
  background: var(--brand-dark);
}

.mod_form .widget,
.form .widget {
  margin-bottom: 14px;
}

.mod_form label,
.form label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.mandatory { color: var(--accent); }

/* Comments */
.ce_comments {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}

.ce_comments h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

/* ── Footer ────────────────────────────────────────────────── */
#footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 14px;
}

#subfooter {
  padding: 45px 0 35px;
}

#subfooter .inner.container {
  display: flex;
  flex-wrap: wrap;
}

.footer-box {
  margin-bottom: 25px;
}

.footer-box h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
}

.footer-box p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--footer-text);
}

#subfootermenu .level_1 {
  list-style: none;
  margin: 0;
  padding: 0;
}

#subfootermenu .level_1 a,
#subfootermenu .level_1 span {
  display: block;
  padding: 5px 0;
  color: var(--footer-text);
  font-size: 13px;
  text-decoration: none;
}

#subfootermenu .level_1 a:hover { color: #fff; }

.mod_subscribe .text {
  width: 100%;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.mod_subscribe .text::placeholder { color: rgba(255, 255, 255, 0.45); }

.mod_subscribe .submit {
  width: 100%;
  background: var(--brand);
  border-color: var(--brand-dark);
}

.layout_footer {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.layout_footer .image_container {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  overflow: hidden;
  border-radius: 3px;
}

.layout_footer .image_container img {
  width: 45px;
  height: 45px;
  object-fit: cover;
}

.layout_footer .info a {
  display: block;
  color: #ddd;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  margin-bottom: 4px;
}

.layout_footer .info a:hover { color: #fff; }

.layout_footer .info time {
  font-size: 11px;
  color: var(--text-light);
}

#footer .mod_form input.text,
#footer .mod_form textarea.textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

#footer .mod_form input.text::placeholder,
#footer .mod_form textarea.textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

#copyright {
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.25);
  font-size: 13px;
  color: var(--footer-text);
}

.copyright { line-height: 36px; }

#copyright .mod_customnav .level_1 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
}

#copyright .mod_customnav .level_1 a {
  color: var(--footer-text);
  font-size: 12px;
  text-decoration: none;
}

#copyright .mod_customnav .level_1 a:hover { color: #fff; }

/* ── Mobile navigation ─────────────────────────────────────── */
#mobile-sidebar-trigger {
  float: right;
  margin-top: 12px;
}

#mobile-sidebar-trigger > a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
}

#mobile-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
}

#mobile-sidebar-overlay.active { display: block; }

#mobile-sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 950;
  overflow-y: auto;
  transition: right 0.3s;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  padding: 20px 0;
}

#mobile-sidebar.active { right: 0; }

#mobile-sidebar h4 {
  padding: 0 20px 15px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--brand);
  font-size: 16px;
}

#mobile-sidebar .level_1 {
  list-style: none;
  margin: 0;
  padding: 0;
}

#mobile-sidebar .level_1 a,
#mobile-sidebar .level_1 span {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--bg-alt);
  text-decoration: none;
}

#mobile-sidebar .level_2 a {
  padding-left: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

#mobile-sidebar-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--brand);
  border-radius: 50%;
  z-index: 850;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

#mobile-sidebar-button.show {
  opacity: 1;
  visibility: visible;
}

#mobile-sidebar-button::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 18px auto 0;
  box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff;
}

/* ── Scroll-to-top ─────────────────────────────────────────── */
#scrollUp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  line-height: 44px;
  border-radius: 50%;
  z-index: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
  text-decoration: none;
}

#scrollUp:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  #scrollUp { bottom: 80px; }
}

/* ── Scroll animations (cbp-so) ──────────────────────────── */
.cbp-so-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cbp-so-init.cbp-so-animate {
  opacity: 1;
  transform: translateY(0);
}

.cbp-so-side-left.cbp-so-init { transform: translateX(-30px); }
.cbp-so-side-right.cbp-so-init { transform: translateX(30px); }

.cbp-so-side-left.cbp-so-animate,
.cbp-so-side-right.cbp-so-animate {
  transform: translateX(0);
}

/* ── Typography variants ───────────────────────────────────── */
.typography-3 :header span,
.typography-4 :header span,
.typography-6 :header span {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--brand);
}

/* ── Dropdown (easyDropDown) ───────────────────────────────── */
.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown .dropdown {
  display: block;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
}

/* ── iCheck flat ───────────────────────────────────────────── */
.icheckbox_flat-alpha {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 6px;
}

.icheckbox_flat-alpha.checked {
  background: var(--brand);
  border-color: var(--brand-dark);
}

/* ── Tables ────────────────────────────────────────────────── */
.ce_table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}

.ce_table th,
.ce_table td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.ce_table th {
  background: var(--bg-alt);
  font-weight: 600;
}

.ce_table tr:nth-child(even) td { background: #fafbfc; }

/* ── Accordion ─────────────────────────────────────────────── */
div.toggler {
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  margin-top: 8px;
}

div.toggler.active {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-dark);
}

div.accordion {
  padding: 16px;
  border: 1px solid var(--border);
  border-top: 0;
}

/* ── SimplyScroll ticker ───────────────────────────────────── */
.simply-scroll-container {
  width: 100%;
  overflow: hidden;
}

.simply-scroll-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Contao utilities ──────────────────────────────────────── */
.mod_article.first { margin-top: 0; }

.float_above { display: block; }

.image_container img { display: block; }

.link-box { cursor: pointer; }

/* ── Responsive tweaks ─────────────────────────────────────── */
@media (max-width: 991px) {
  #mainmenu { display: none; }

  #top-bar .search_box { display: none; }

  #services { margin-top: 0; }

  .link-box { min-height: auto; }

  #copyright .pull-left,
  #copyright .pull-right {
    float: none !important;
    text-align: center;
  }

  #copyright .mod_customnav .level_1 {
    justify-content: center;
    margin-top: 10px;
  }

  .copyright { line-height: 1.5; text-align: center; }
}

@media (max-width: 767px) {
  #page-title h4 { font-size: 1.35rem; }

  #container { padding: 25px 0 35px; }

  .blog_v3 .teaser { display: none; }

  .footer-box { width: 100%; }
}

@media (min-width: 992px) {
  #mobile-sidebar-trigger { display: none !important; }
}
