:root {
  --blue: #0091d5;
  --blue-dark: #0077b0;
  --blue-soft: #e7f5fb;
  --red: #a5112a;
  --red-dark: #860d22;
  --ink: #1c2430;
  --muted: #5b6573;
  --line: #e4e8ee;
  --bg: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
  --radius: 18px;
  --header-h: 60px;
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 650; color: var(--blue); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.caps { letter-spacing: 0.04em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 4px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img { height: 32px; width: auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.primary-nav > li { position: relative; }

.primary-nav > li > a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.primary-nav > li > a:hover,
.primary-nav > li.active > a,
.primary-nav > li:focus-within > a {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.primary-nav > li.grapos > a,
.primary-nav > li.grapos.active > a,
.primary-nav > li.grapos:hover > a,
.primary-nav > li.grapos:focus-within > a {
  color: var(--red);
  border-bottom-color: var(--red);
}

.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 640px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 0 0 16px 16px;
  padding: 22px 8px 18px;
  border-top: 3px solid var(--blue);
}
.primary-nav > li.grapos .mega { border-top-color: var(--red); background: #fff8f8; }
.primary-nav > li:hover > .mega,
.primary-nav > li:focus-within > .mega { display: grid; }
.mega {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 24px;
}
.mega a {
  display: block;
  padding: 6px 14px;
  color: var(--ink);
  font-size: 0.95rem;
}
.mega a.level0 {
  font-weight: 700;
  color: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.primary-nav > li.grapos .mega a.level0 { color: var(--red); }
.mega a.level1 { padding-left: 22px; color: var(--muted); }
.mega a:hover { background: var(--blue-soft); color: var(--blue-dark); }

.page-hero {
  position: relative;
  min-height: 148px;
  background: #0d2a3d center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.page-hero:not(.home) { min-height: 128px; }
.page-hero.home {
  min-height: 240px;
  max-height: 260px;
  align-items: stretch;
  background-color: #0a3a55;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,24,36,0.05) 40%, rgba(8,24,36,0.28) 100%);
}
.page-hero.home::after { display: none; }
.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 56px;
  width: 100%;
}
.page-hero h1 { color: #fff; text-shadow: 0 8px 30px rgba(0,0,0,0.35); margin: 0; }
.page-hero .lead {
  max-width: 42rem;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.92);
  margin-top: 12px;
}
.hero-badges {
  display: flex;
  gap: 16px;
  margin-top: 0;
  flex-wrap: wrap;
  align-items: flex-end;
}
.page-hero.home .hero-inner {
  display: flex;
  align-items: flex-end;
  min-height: 0;
  padding-bottom: 16px;
}
.hero-badges img { height: 52px; width: auto; background: rgba(255,255,255,0.95); padding: 6px 10px; border-radius: 8px; }

.btn-hogatron,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-hogatron:hover,
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-hogatron.red { background: var(--red); }
.btn-hogatron.red:hover { background: var(--red-dark); }

.page-main { overflow: hidden; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.marginContainer { margin-top: 28px; margin-bottom: 28px; }
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: flex-start;
}
.row > [class*="col-"] { flex: 1 1 240px; min-width: 0; }
.col-sm-12, .col-md-12 { flex: 1 1 100%; }
.col-sm-10, .col-md-10 { flex: 1 1 80%; }
.col-sm-6, .col-md-6 { flex: 1 1 calc(50% - 28px); }
.col-sm-5 { flex: 1 1 42%; }
.col-sm-4, .col-md-4 { flex: 1 1 calc(33% - 28px); }
.col-sm-3 { flex: 1 1 calc(25% - 28px); }
.col-sm-2 { flex: 0 1 140px; }
.col-xs-6 { flex: 1 1 calc(50% - 16px); }
.col-sm-offset-1, .col-md-offset-1 { margin-inline: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.pull-right { margin-left: auto; }

.headlineContainer {
  padding-top: 28px;
}
.headlineContainer h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.headlineImageWrapper img { height: 72px; width: auto; margin: 0 auto; }

.textContainer p,
.textContainer2Columns p {
  color: var(--muted);
  font-size: 1.05rem;
}

.imageTextContainer {
  padding: 18px 0;
}
.imageTextContainer + .imageTextContainer { border-top: 1px solid var(--line); }
.imageTextContainer .col-md-10 > .row,
.imageTextContainer .row > .col-md-10 > .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.imageTextContainer .col-sm-push-6 { order: 2; }
.imageTextContainer .col-sm-pull-6 { order: 1; }
.imageTextContainer .col-sm-6 { flex: none; width: auto; }

.imgBorder, .imageContainer {
  border-radius: var(--radius);
  overflow: hidden;
}
.imageContainer img,
.img-responsive {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  object-fit: contain;
}
.textLinkContainer h2 img {
  height: 42px;
  width: auto;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: none;
}

.headlineImage {
  position: relative;
  min-height: 160px;
  background: #123 center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 28px 0 0;
}
.headlineImage .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 48, 0.45);
}
.headlineImage .content,
.headlineImage .container {
  position: relative;
  z-index: 1;
  color: #fff;
}
.headlineImage h2 { color: #fff; }
.headlineImage .mobileImg { display: none; }
.headlineImage .headlineImageWrapper img {
  height: auto;
  width: min(220px, 72vw);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.28));
}

.newsWrapper { padding-bottom: 40px; }
.newsItem {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
}
.newsItem .row { align-items: center; }
.newsItem img { border-radius: 12px; width: 100%; }
.newsItem strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  color: var(--ink);
}
.newsItem sub { color: var(--muted); font-size: 0.85rem; }

.iconListContainer {
  padding: 8px 0 36px;
}
.iconListContainer .row {
  display: flex;
  justify-content: center;
}
.iconListContainer .row > [class*="col-"] {
  flex: 1 1 100%;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px 28px;
}
.iconListContainer img {
  width: 156px;
  height: 156px;
  object-fit: contain;
  margin: 0;
  box-shadow: none;
  flex: 0 0 156px;
}

.imageListContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  padding: 12px 0 32px;
}
.imageListContainer img {
  margin: 0 auto;
  box-shadow: none;
}

.downloadContainer a,
.list_content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbWrapper { display: none; }

.form-control, input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  margin-bottom: 10px;
}
.form-group { margin-bottom: 12px; }
label { font-weight: 600; font-size: 0.95rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.home-contact {
  padding: 36px 0 12px;
}
.home-contact h2 { margin-bottom: 8px; }
.home-contact-lead {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 22px;
}
.home-contact .contact-mail { margin: 16px 0 0; }
.home-contact .contact-map { min-height: 240px; }

.team-card {
  text-align: center;
}
.team-card img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.teamList .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.teamList .row > [class*="col-"] {
  flex: none;
  width: auto;
  min-width: 0;
  display: flex;
  height: 100%;
}
.teamList .item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.teamList .item > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
  box-shadow: none;
}
.teamList .overlayContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.teamList .overlayContent {
  padding: 12px 12px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 7.5rem;
}
.teamList .overlayContent strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  display: block;
  line-height: 1.25;
}
.teamList .overlayContent p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.teamList .overlayContent a {
  margin-top: auto;
}
.teamList .overlayContent a img {
  width: 22px;
  height: 22px;
  margin: 8px auto 0;
  box-shadow: none;
  background: transparent;
}

.beratungTeamListContainer {
  padding: 12px 0 28px;
}
.beratungTeamListContainer .item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}
.beratungTeamListContainer .item > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0;
  box-shadow: none;
}
.beratungTeamListContainer .content {
  padding: 16px 18px 22px;
}

.sectionBlue,
.sectionColored.sectionBlue {
  background: var(--blue) !important;
  color: #fff;
  padding: 36px 0 44px;
}
.sectionBlue h2,
.sectionBlue h3,
.infoContainer h2,
.infoContainer h3 {
  color: #fff;
}
.textContainer[style*="#0091d5"] h2,
.textContainer[style*="#0091d5"] h3 {
  color: #fff;
}
.infoContainer .item {
  margin: 12px 0 28px;
}
.infoContainer .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 48px;
  align-items: start;
}
.infoContainer .row > [class*="col-"] {
  flex: none;
  width: auto;
  min-width: 0;
}
.infoContainer .item .img img {
  width: 128px;
  height: auto;
  margin: 0 auto 10px;
}
.infoContainer .content p {
  color: rgba(255,255,255,0.92);
}

.sectionBlueLight,
.sectionColored.sectionBlueLight {
  background: var(--blue-soft) !important;
  padding: 8px 0;
}

.page-referenzen .ref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.page-referenzen .ref-grid > .imageTextContainer {
  min-width: 0;
  padding: 22px 8px 18px;
  border-top: 1px solid var(--line);
}
.page-referenzen .ref-grid > .imageTextContainer + .imageTextContainer {
  border-top: 1px solid var(--line);
}
.page-referenzen .ref-grid > .imageTextContainer .container {
  max-width: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.page-referenzen .ref-grid .col-md-offset-1,
.page-referenzen .ref-grid .col-md-10 {
  margin-inline: 0;
  flex: 1 1 100%;
  max-width: 100%;
  width: 100%;
}
.page-referenzen .imageTextContainer .col-md-10 > .row,
.page-referenzen .imageTextContainer .row > .col-md-10 > .row {
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.page-referenzen .imageTextContainer .imageContainer,
.page-referenzen .imageTextContainer .imgBorder {
  overflow: visible;
  border-radius: 0;
}
.page-referenzen .imageTextContainer .imageContainer img,
.page-referenzen .imageTextContainer .img-responsive {
  width: auto;
  max-width: 220px;
  max-height: 110px;
  object-fit: contain;
  margin: 0 auto;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
.page-referenzen .imageTextContainer .col-sm-6 {
  width: 100%;
  max-width: 100%;
}
.page-referenzen .ref-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
}
.page-referenzen .ref-visual .btn-hogatron {
  margin-top: 0;
  max-width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.86rem;
  line-height: 1.25;
  padding: 9px 16px;
}
.page-referenzen .textLinkContainer {
  width: 100%;
}
.page-referenzen .textLinkContainer ul br {
  display: none;
}
.page-referenzen .textLinkContainer ul {
  display: inline-block;
  text-align: left;
  margin: 0;
}

.co2-section {
  padding: 36px 0 20px;
}
.co2-intro {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1.1fr);
  gap: 28px 40px;
  align-items: center;
  margin-bottom: 28px;
}
.co2-banner {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}
.co2-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}
.co2-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.co2-stat {
  background: #0091d5;
  color: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}
.co2-stat strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
}
.co2-stat span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
}
.co2-quote {
  margin: 0 0 28px;
  padding: 22px 24px;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
}
.co2-quote p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
}
.co2-quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}
.co2-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 8px;
}
.co2-notes h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.co2-notes p {
  margin: 0;
  color: var(--muted);
}
.co2-source {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.features { margin: 16px 0 28px; }

.archive-groups {
  max-width: 920px;
  margin: 0 auto 48px;
  display: grid;
  gap: 8px 48px;
}
.archive-groups section { margin: 12px 0 28px; }
.archive-groups ul {
  columns: 2;
  gap: 8px 32px;
  padding-left: 1.2em;
}
.archive-groups li { break-inside: avoid; margin: 0 0 6px; }

.navigationContent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 18px 16px 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.navigationContent a { color: var(--blue); }

.home-intro {
  padding: 28px 0 12px;
}
.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 1fr);
  gap: 28px 40px;
  align-items: center;
}
.home-kicker {
  margin: 0 0 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.home-intro-copy h1 { margin: 0 0 10px; }
.home-intro-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  max-width: 40rem;
}
.home-intro-copy p:last-child { margin-bottom: 0; }
.home-intro-copy .home-lead {
  font-size: 1.12rem;
  color: var(--ink);
}
.home-intro-visual {
  margin: 0;
  background: #f3f8fb;
  border-radius: var(--radius);
  overflow: hidden;
}
.home-intro-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #f3f8fb;
  box-shadow: none;
  border-radius: 0;
}

.control-section {
  background: var(--bg);
  padding: 36px 0 28px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.control-intro {
  max-width: 44rem;
  margin: 0 0 22px;
}
.control-kicker {
  margin: 0 0 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.control-intro h2 { margin: 0 0 8px; }
.control-intro p {
  margin: 0;
  color: var(--muted);
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.control-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  border-top: 3px solid var(--blue);
}
.control-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--ink);
}
.control-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.imageCollageItem img { border-radius: 12px; }

.site-footer {
  background: #102233;
  color: #d7e2ea;
  margin-top: 36px;
  padding: 28px 0 16px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #8fd3f2; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links:empty {
  display: none;
  margin: 0;
}
.footer-meta {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 16px 24px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
}
.footer-meta img.icon { height: 36px; width: auto; }
.footer-meta span { display: block; font-weight: 700; color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  font-size: 0.82rem;
  color: #9bb0bf;
}
.footer-bottom ul { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 50;
}
.to-top:hover { background: var(--blue-dark); color: #fff; }

.legal-content p { max-width: 72ch; }

.teamviewer-panel {
  background: var(--blue-soft);
  padding: 36px 20px 40px;
  margin: 8px 0 28px;
  border-block: 1px solid #d5eaf5;
}
.teamviewer-kicker {
  margin: 0 0 6px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
}
.teamviewer-panel h2 {
  text-align: center;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin: 0 0 8px;
}
.teamviewer-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 36rem;
}
.teamviewer-downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.teamviewer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 22px;
  color: var(--ink);
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.teamviewer-card:hover {
  color: var(--ink);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.teamviewer-card img {
  width: min(280px, 100%);
  height: 72px;
  object-fit: contain;
  box-shadow: none;
}
.teamviewer-card strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.teamviewer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.95rem;
}
.teamviewer-card:hover .teamviewer-cta {
  background: var(--blue-dark);
}

.service-extras {
  padding: 0 0 36px;
}
.service-extras .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.service-extra-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--ink);
}
.service-extra-card:hover { color: var(--ink); }
.service-extra-card img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}
.service-extra-card h2 {
  font-size: 1.1rem;
  margin: 0 0 2px;
  color: var(--ink);
}
.service-extra-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
}
.contact-mail {
  margin: 8px 0 28px;
}
.contact-map {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.contact-map-link {
  margin: 12px 0 0;
  text-align: right;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 8px 0 24px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  body.nav-open .primary-nav { display: flex; }
  .primary-nav > li > a { height: 48px; }
  .mega {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 12px 12px 28px;
    background: #f7fbfe;
  }
  .primary-nav > li.open > .mega,
  .primary-nav > li:hover > .mega { display: grid; grid-template-columns: 1fr; }
  .imageTextContainer .col-md-10 > .row,
  .imageTextContainer .row > .col-md-10 > .row,
  .page-referenzen .imageTextContainer .col-md-10 > .row,
  .page-referenzen .imageTextContainer .row > .col-md-10 > .row {
    grid-template-columns: 1fr;
  }
  .page-referenzen .ref-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .infoContainer .row {
    grid-template-columns: 1fr;
  }
  .imageTextContainer .col-sm-push-6,
  .imageTextContainer .col-sm-pull-6 { order: initial; }
  .footer-meta { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .teamviewer-downloads,
  .service-extras .container { grid-template-columns: 1fr; }
  .page-hero.home { min-height: 180px; max-height: 200px; }
  .control-grid { grid-template-columns: 1fr 1fr; }
  .home-intro-grid,
  .co2-intro,
  .co2-stats,
  .co2-notes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { padding: 8px 16px; }
  .col-sm-6, .col-md-6, .col-sm-4, .col-md-4 { flex-basis: 100%; }
  .footer-meta { grid-template-columns: 1fr; }
  .archive-groups ul { columns: 1; }
  .control-grid { grid-template-columns: 1fr; }
}
