@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../font/TitilliumWeb-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../font/TitilliumWeb-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../font/TitilliumWeb-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../../font/TitilliumWeb-Black.ttf") format("truetype");
}

:root {
  --color-ink: #0d1d2e;
  --color-muted: #506278;
  --color-blue: #1f6fc9;
  --color-blue-dark: #0f4f96;
  --color-blue-soft: #e8f1fb;
  --color-line: #dce4ee;
  --color-panel: #f5f7fa;
  --color-night: #071421;
  --color-white: #ffffff;
  --shadow-card: 0 11.2px 28.8px rgba(13, 29, 46, 0.1);
  --shadow-page: 0 0 38.4px rgba(13, 29, 46, 0.2), 0 0 0 0.8px rgba(13, 29, 46, 0.05);
  --radius-small: 6.4px;
  --page-max: 1056px;
  --page-shell-max: 1184px;
  --icon-arrow-right: url("../../media/icons/icon-pfeil-right.png");
}

.site-body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: "Titillium Web", Arial, Helvetica, sans-serif;
}

.site-body.is-nav-open {
  overflow: hidden;
}

.site-body--framed {
  background: linear-gradient(90deg, #dfe7f0 0%, #f4f7fb 12%, #f4f7fb 88%, #dfe7f0 100%);
}

.site-body * {
  box-sizing: border-box;
}

.page-shell {
  position: relative;
  width: min(100%, var(--page-shell-max));
  min-height: 100vh;
  margin: 0 auto;
  background: var(--color-white);
  box-shadow: var(--shadow-page);
}

.skip-link {
  position: absolute;
  left: 12.8px;
  top: -64px;
  z-index: 20;
  padding: 8px 11.2px;
  border-radius: var(--radius-small);
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 450;
  text-decoration: none;
}

.skip-link:focus {
  top: 12.8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 0.8px solid var(--color-line);
  backdrop-filter: blur(9.6px);
}

.site-header__inner {
  width: min(var(--page-max), calc(100% - 38.4px));
  min-height: 57.6px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22.4px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 152px;
}

.site-logo__image {
  display: block;
  width: 152px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22.4px;
}

.main-nav__item--has-children {
  position: relative;
}

.main-nav__row {
  display: flex;
  align-items: center;
}

.main-nav__link {
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 450;
  line-height: 1;
  text-decoration: none;
}

.main-nav__link[aria-current="page"],
.main-nav__submenu-link[aria-current="page"] {
  color: var(--color-blue-dark);
  font-weight: 700;
}

.main-nav__submenu-toggle,
.site-header__scrim {
  display: none;
}

.main-nav__submenu {
  display: none;
}

.main-nav__submenu-link {
  color: var(--color-ink);
  text-decoration: none;
}

.main-nav__link:hover,
.main-nav__link:focus {
  color: var(--color-blue);
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11.2px 16px;
  border-radius: 3.2px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 450;
  line-height: 1;
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 38.4px;
  height: 38.4px;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
}

.menu-button__line {
  display: block;
  width: 24px;
  height: 2.4px;
  margin: 4.8px auto;
  border-radius: 2.4px;
  background: currentColor;
}

/* Hero */
.hero {
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-color: var(--color-night);
  color: var(--color-white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: 0;
}

.hero--home::before {
  background-image: url("../../media/banners-slider/hero-optimized.jpg");
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(7, 20, 33, 0.96) 0%, rgba(7, 20, 33, 0.82) 34%, rgba(7, 20, 33, 0.35) 62%, rgba(7, 20, 33, 0.1) 100%);
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__inner {
  width: min(var(--page-max), calc(100% - 38.4px));
  margin: 0 auto;
  padding: 57.6px 0 51.2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 544px;
}

.hero__title {
  margin: 0 0 9.6px;
  font-size: 51.2px;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero__accent {
  display: block;
  color: #2e86e6;
}

.hero__text {
  max-width: 512px;
  margin: 14.4px 0 0;
  font-size: 16.8px;
  font-weight: 450;
  line-height: 1.35;
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14.4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9.6px;
  min-height: 38.4px;
  padding: 0 19.2px;
  border: 0;
  border-radius: 3.2px;
  font-size: 12.8px;
  font-weight: 450;
  text-decoration: none;
  cursor: pointer;
}

.button:disabled,
.admin-button:disabled,
.admin-icon-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button--primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.button--ghost {
  border: 0.8px solid rgba(255, 255, 255, 0.85);
  color: var(--color-white);
}

.hero-facts {
  max-width: 480px;
  margin-top: 20.8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20.8px;
}

.hero-fact {
  display: grid;
  grid-template-columns: 27.2px max-content;
  align-items: center;
  gap: 9.6px;
  min-width: 0;
}

.hero-fact__icon {
  width: 27.2px;
  height: 27.2px;
  object-fit: contain;
  justify-self: center;
  filter: invert(100%) sepia(0%) saturate(1494%) hue-rotate(195deg) brightness(100%) contrast(93%);
}

.hero-fact__text {
  color: var(--color-white);
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1.2;
}

/* Shared sections */
.section {
  padding: 51.2px 0;
}

.section--soft {
  background: #fff;
}

.section--tight {
  padding: 35.2px 0;
}

.section__inner {
  width: min(var(--page-max), calc(100% - 38.4px));
  margin: 0 auto;
}

.section__header {
  margin-bottom: 22.4px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 19.2px;
}

.section__eyebrow {
  margin: 0 0 6.4px;
  color: var(--color-blue);
  font-size: 13.6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section__title {
  margin: 0;
  max-width: 592px;
  font-size: 27.2px;
  font-weight: 450;
  line-height: 1.12;
}

.section__text {
  margin: 11.2px 0 0;
  max-width: 528px;
  color: var(--color-muted);
  font-size: 13.6px;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 450;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--color-blue-dark);
}

.inline-arrow-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  flex: 0 0 auto;
  background-color: currentColor;
  mask-image: var(--icon-arrow-right);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: var(--icon-arrow-right);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12.8px;
}

.service-card {
  overflow: hidden;
  min-height: 233.6px;
  display: flex;
  flex-direction: column;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-white);
  box-shadow: 0 6.4px 19.2px rgba(13, 29, 46, 0.06);
}

.service-card__media {
  position: relative;
  height: 94.4px;
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 33, 0.42) 0%, rgba(7, 20, 33, 0.24) 34%, rgba(7, 20, 33, 0.1) 62%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.service-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__icon-wrap {
  position: absolute;
  left: 12.8px;
  bottom: -20.8px;
  z-index: 2;
  width: 45.6px;
  height: 45.6px;
  display: grid;
  place-items: center;
  border: 0.8px solid var(--color-line);
  border-radius: 3.2px;
  background: var(--color-white);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-card__body {
  flex: 1;
  padding: 33.6px 14.4px 14.4px;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  margin: 0 0 8px;
  font-size: 12.8px;
  line-height: 1.2;
}

.service-card__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 11.2px;
  line-height: 1.45;
}

.service-card__link {
  margin-top: auto;
  padding-top: 14.4px;
}

.advantage-bar {
  margin-top: 27.2px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.8px solid var(--color-line);
  border-right: 0.8px solid var(--color-line);
  border-bottom: 0.8px solid var(--color-line);
  border-left: 0.8px solid var(--color-line);
  background: var(--color-panel);
}

.advantage-item {
  min-height: 94.4px;
  display: flex;
  gap: 12.8px;
  padding: 20.8px 19.2px;
  border-right: 0.8px solid var(--color-line);
}

.advantage-item:last-child {
  border-right: 0;
}

.advantage-item__icon {
  width: 33.6px;
  height: 33.6px;
  object-fit: contain;
}

.advantage-item__title {
  margin: 0 0 6.4px;
  font-size: 12px;
  font-weight: 450;
}

.advantage-item__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 10.4px;
  line-height: 1.45;
}

/* References */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17.6px;
}

.reference-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  border-radius: var(--radius-small);
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 6.4px 19.2px rgba(13, 29, 46, 0.06);
  isolation: isolate;
}

.reference-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 260ms ease;
}

.reference-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.82) 0%, rgba(5, 14, 28, 0.64) 30%, rgba(5, 14, 28, 0.24) 54%, rgba(5, 14, 28, 0.04) 76%, rgba(5, 14, 28, 0) 100%),
    linear-gradient(180deg, rgba(5, 14, 28, 0.02) 0%, rgba(5, 14, 28, 0.16) 100%);
  box-shadow: inset 0 -57.6px 80px rgba(5, 14, 28, 0.24);
}

.reference-card__body {
  position: relative;
  z-index: 1;
  width: min(74%, 248px);
  display: grid;
  grid-template-rows: 25.6px 56px 2.4px 35.2px;
  gap: 8px;
  align-content: center;
  padding: clamp(14.4px, 1.7vw, 19.2px);
}

.reference-card__tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 25.6px;
  padding: 0 11.2px;
  border-radius: 3.2px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 8.8px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.reference-card__title {
  display: -webkit-box;
  margin: 0;
  min-height: 0;
  max-height: calc(2 * 1.2em);
  overflow: hidden;
  color: var(--color-white);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.reference-card__rule {
  width: 89.6px;
  height: 2.4px;
  background: var(--color-blue);
}

.reference-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11.2px;
  justify-self: start;
  height: 35.2px;
  padding: 0 16px;
  border: 1.6px solid var(--color-blue);
  border-radius: 4.8px;
  color: var(--color-white);
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.reference-card__more .inline-arrow-icon {
  width: 14.4px;
  height: 14.4px;
}

.reference-card:hover .reference-card__image,
.reference-card:focus-visible .reference-card__image {
  transform: scale(1.04);
}

.reference-card:hover .reference-card__more,
.reference-card:focus-visible .reference-card__more {
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.reference-card:focus-visible {
  outline: 2.4px solid var(--color-blue);
  outline-offset: 3.2px;
}

/* Energy band */
.energy-layout {
  display: grid;
  grid-template-columns: minmax(224px, 0.75fr) minmax(288px, 1.25fr);
  gap: 38.4px;
  align-items: center;
}

.check-list {
  margin: 19.2px 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.check-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
}

.check-list__mark {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 10.4px;
  font-weight: 450;
}

.energy-visual {
  position: relative;
  min-height: 288px;
}

.energy-visual__image {
  display: block;
  width: 100%;
  height: 288px;
  border-radius: var(--radius-small);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.energy-visual__note {
  position: absolute;
  right: 19.2px;
  bottom: 19.2px;
  max-width: 232px;
  padding: 19.2px;
  border-radius: var(--radius-small);
  background: rgba(7, 20, 33, 0.92);
  color: var(--color-white);
}

.energy-visual__icon {
  width: 35.2px;
  height: 35.2px;
  margin-bottom: 11.2px;
}

.energy-visual__title {
  margin: 0 0 8px;
  font-size: 15.2px;
  line-height: 1.2;
}

.energy-visual__text {
  margin: 0;
  font-size: 11.2px;
  line-height: 1.45;
}

/* Trust */
.trust-group {
  padding: 36.8px 0 0;
}

.trust-group + .trust-group {
  margin-top: 36.8px;
  padding-top: 36.8px;
  border-top: 0.8px solid var(--color-line);
}

.trust-group[hidden] + .trust-group {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.trust-group--attached {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.trust-group + .trust-group.trust-group--attached {
  margin-top: 1lh;
  padding-top: 0;
  border-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 27.2px;
}

.trust-grid--partners {
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid--certs {
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: 0.8px solid var(--color-line);
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item__icon {
  width: 52.8px;
  height: 52.8px;
  object-fit: contain;
  filter: grayscale(100%);
}

.trust-item__logo {
  display: block;
  width: 228px;
  max-width: 100%;
  max-height: 62.4px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1);
}

.trust-item__link {
  display: block;
  line-height: 0;
}

.trust-item__link:focus-visible {
  outline: 1.6px solid var(--color-accent);
  outline-offset: 3.2px;
}

.trust-item__link.is-active {
  outline: 1.6px solid var(--color-accent);
  outline-offset: 6px;
  border-radius: var(--radius-small);
}

.trust-grid--partners .trust-item {
  background: #fff;
  border-right: 0;
}

.trust-grid--certs .trust-item {
  background: #fff;
  border-right: 0;
}

.trust-grid--partners .trust-item__logo {
  max-width: 228px;
}

.trust-grid--certs .trust-item__logo {
  max-width: 160px;
  max-height: 73.6px;
}

.trust-item__label {
  margin: 11.2px 0 0;
  font-size: 12.8px;
  font-weight: 450;
  line-height: 1.25;
}

.trust-marquee {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  margin-top: 27.2px;
}

.trust-marquee__viewport {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.trust-marquee__viewport::-webkit-scrollbar {
  display: none;
}

.trust-marquee__track {
  display: flex;
  align-items: stretch;
  gap: 14.4px;
  width: max-content;
  padding: 4px 48px;
}

.trust-marquee__item {
  flex: 0 0 clamp(168px, 18vw, 232px);
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 17.6px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  text-align: center;
}

.trust-marquee > .trust-item {
  display: none;
}

.trust-marquee__item:has([href$="#dvs2"]),
.trust-marquee__item:has([data-cert-src$="dvs2.jpg"]) {
  display: none;
}

.trust-marquee__control {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.trust-marquee__control--prev {
  grid-column: 1;
  grid-row: 1;
}

.trust-marquee__control--next {
  grid-column: 3;
  grid-row: 1;
}

.trust-marquee__control img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.58;
  transition: opacity var(--transition), transform var(--transition);
}

.trust-marquee__control:hover img,
.trust-marquee__control:focus-visible img {
  opacity: 0.88;
  transform: scale(1.08);
}

.trust-marquee__control:focus-visible {
  outline: 1.6px solid var(--color-accent);
  outline-offset: 3.2px;
}

.trust-marquee--certs .trust-marquee__item {
  flex-basis: clamp(148px, 16vw, 196px);
}

.trust-marquee--certs .trust-item__logo {
  max-width: 144px;
  max-height: 80px;
}

.trust-marquee .trust-item__logo {
  filter: none;
}

.certificate-viewer {
  width: min(100%, 680px);
  margin: 38.4px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.certificate-viewer__title {
  margin: 0 0 17.6px;
  color: var(--color-blue-dark);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
}

.certificate-viewer__frame {
  width: min(100%, 520px);
  aspect-ratio: 210 / 297;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 0.8px rgba(8, 24, 44, 0.08), 0 18px 42px rgba(8, 24, 44, 0.14);
}

.certificate-viewer__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17.6px;
}

.news-grid--wide {
  grid-template-columns: repeat(4, 1fr);
}

.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-white);
  box-shadow: 0 6.4px 19.2px rgba(13, 29, 46, 0.06);
}

.news-card__media-link {
  position: relative;
  overflow: hidden;
  display: block;
  height: 132px;
  background: var(--color-blue-soft);
}

.news-card__media-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 33, 0.42) 0%, rgba(7, 20, 33, 0.24) 34%, rgba(7, 20, 33, 0.1) 62%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

#pv-projekte .news-card__media-link {
  height: 160px;
}

.news-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  flex: 1;
  padding: 17.6px;
  display: flex;
  flex-direction: column;
}

.news-card__meta {
  min-height: 19.2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6.4px;
  color: var(--color-blue);
  font-size: 10.4px;
  font-weight: 450;
}

.news-card__tag {
  color: var(--color-muted);
}

.news-card__title {
  margin: 9.6px 0 8px;
  font-size: 16px;
  line-height: 1.2;
}

.news-card__text {
  margin: 0 0 14.4px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}

.news-card .text-link {
  margin-top: auto;
}

.news-message {
  grid-column: 1 / -1;
  padding: 19.2px;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-muted);
}

/* PV detail page */
.subpage-hero-wrapper {
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.subpage-hero.subpage-hero--pv,
.subpage-hero.subpage-hero--solar-pv {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.98) 0%, rgba(5, 14, 28, 0.92) 31%, rgba(5, 14, 28, 0.62) 51%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/solar-pv/pv-hallendach-luftaufnahme-bochum-02.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--dachtechnik,
.subpage-hero.subpage-hero--dach {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.97) 0%, rgba(5, 14, 28, 0.9) 32%, rgba(5, 14, 28, 0.56) 55%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/dach-zimmerei/dacharbeiten-wohnhaus-ziegeldach.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--elektrotechnik {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.97) 0%, rgba(5, 14, 28, 0.9) 30%, rgba(5, 14, 28, 0.5) 54%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/elektro-ladestationen/elektro-schaltanlage-detail-banner.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--gebaeudetechnik,
.subpage-hero.subpage-hero--klima {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.98) 0%, rgba(5, 14, 28, 0.9) 34%, rgba(5, 14, 28, 0.52) 56%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/gebaeudetechnik-klima/klimaanlage-deckenkassette-buero.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--stahlbau,
.subpage-hero.subpage-hero--stahl {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.97) 0%, rgba(5, 14, 28, 0.88) 28%, rgba(5, 14, 28, 0.44) 52%, rgba(5, 14, 28, 0.06) 100%),
    url("../../media/stahlbau-metallbau/stahlbau-funkenflug-bearbeitet.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--werbetechnik {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.96) 0%, rgba(5, 14, 28, 0.88) 31%, rgba(5, 14, 28, 0.46) 54%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/werbetechnik/werbetechnik-indoor.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--leistungen {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.96) 0%, rgba(5, 14, 28, 0.88) 31%, rgba(5, 14, 28, 0.42) 55%, rgba(5, 14, 28, 0.1) 100%),
    url("../../media/solar-pv/lichtbandanlage.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--referenzen {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.97) 0%, rgba(5, 14, 28, 0.88) 28%, rgba(5, 14, 28, 0.4) 54%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/solar-pv/pv-flachdachanlage-oberlichter.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--news {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.96) 0%, rgba(5, 14, 28, 0.88) 31%, rgba(5, 14, 28, 0.42) 54%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/solar-pv/pv-dachanlage-panelreihen-panorama.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--kontakt {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.97) 0%, rgba(5, 14, 28, 0.88) 30%, rgba(5, 14, 28, 0.38) 54%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/gebaeude-immobilien/kontakt-quinpro-velbert-gebaeude.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--zertifikate {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.97) 0%, rgba(5, 14, 28, 0.9) 30%, rgba(5, 14, 28, 0.38) 54%, rgba(5, 14, 28, 0.08) 100%),
    url("../../media/solar-pv/lichtband-pv-muenchen-unterkonstruktion.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-hero.subpage-hero--legal {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.97) 0%, rgba(5, 14, 28, 0.9) 30%, rgba(5, 14, 28, 0.18) 55%, rgba(5, 14, 28, 0.04) 100%),
    linear-gradient(135deg, #0d1d2e 0%, #16395f 100%);
}

.pv-hero,
.service-hero {
  max-width: 496px;
}

.pv-hero__actions,
.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11.2px;
  margin-top: 22.4px;
}

.pv-hero__moods,
.service-hero__moods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20.8px;
  max-width: 480px;
  margin-top: 20.8px;
}

.pv-hero__mood,
.service-hero__mood {
  display: grid;
  grid-template-columns: 27.2px max-content;
  gap: 9.6px;
  align-items: center;
  min-width: 0;
  color: var(--color-white);
}

.pv-hero__mood-icon,
.service-hero__mood-icon {
  width: 27.2px;
  height: 27.2px;
  object-fit: contain;
  justify-self: center;
  filter: brightness(0) invert(1);
}

.pv-hero__mood strong,
.service-hero__mood strong {
  display: block;
  margin: 0;
  color: var(--color-white);
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1.2;
}

.pv-hero__mood span,
.service-hero__mood span {
  display: block;
  color: var(--color-white);
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1.2;
}

.pv-detail-layout,
.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(224px, 0.92fr);
  gap: 36.8px;
  align-items: start;
}

.pv-check-list,
.service-check-list {
  margin: 19.2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9.6px;
}

.pv-check-list li,
.service-check-list li {
  position: relative;
  padding-left: 22.4px;
  color: var(--color-muted);
  line-height: 1.6;
}

.pv-check-list li::before,
.service-check-list li::before {
  content: "";
  position: absolute;
  top: 6.4px;
  left: 0;
  width: 9.6px;
  height: 9.6px;
  border-radius: 799.2px;
  background: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(28, 93, 177, 0.12);
}

.pv-stat-grid,
.service-stat-grid {
  display: grid;
  gap: 8px;
}

.service-side-stack {
  display: grid;
  gap: 19.2px;
  align-self: start;
}

.service-media-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-small);
  overflow: hidden;
  background: #dce6f0;
  box-shadow: 0 9.6px 24px rgba(13, 29, 46, 0.08);
}

.service-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 33, 0.42) 0%, rgba(7, 20, 33, 0.24) 34%, rgba(7, 20, 33, 0.1) 62%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.service-media-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pv-stat-card,
.service-stat-card {
  padding: 17.6px 19.2px;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  box-shadow: 0 9.6px 24px rgba(13, 29, 46, 0.05);
}

.pv-stat-card strong,
.service-stat-card strong {
  display: block;
  margin-bottom: 6.4px;
  color: var(--color-blue-dark);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.pv-stat-card span,
.service-stat-card span {
  display: block;
  font-size: 13.6px;
  line-height: 1.35;
}

.pv-stat-card p,
.service-stat-card p {
  margin: 6.4px 0 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}

.service-stat-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-stat-card strong {
  margin-bottom: 8px;
  color: var(--color-blue);
  font-size: clamp(24px, 2.2vw, 35.2px);
  line-height: 1;
}

.service-stat-card span {
  color: var(--color-ink);
  font-size: 15.2px;
  font-weight: 600;
  line-height: 1.3;
}

.service-stat-card p {
  margin-top: 9.6px;
  max-width: 36ch;
  color: var(--color-muted);
  font-size: 12.8px;
  line-height: 1.7;
}

/* Contact and footer */
.contact-band {
  background: var(--color-blue);
  color: var(--color-white);
}

.contact-band__inner {
  width: min(var(--page-max), calc(100% - 38.4px));
  margin: 0 auto;
  padding: 28.8px 0;
  display: grid;
  grid-template-columns: minmax(192px, 0.9fr) minmax(264px, 1fr) minmax(264px, 1fr);
  gap: 28.8px;
  align-items: center;
}

.contact-band__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
}

.contact-band__text {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(152px, 1fr));
  gap: 14.4px 22.4px;
}

.contact-list__item {
  display: flex;
  gap: 9.6px;
  align-items: flex-start;
}

.contact-list__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-list__label {
  display: block;
  margin-bottom: 3.2px;
  font-size: 10.4px;
  opacity: 0.78;
}

.contact-list__value {
  color: var(--color-white);
  font-weight: 450;
  text-decoration: none;
}

.contact-band__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 19.2px;
  border-radius: 3.2px;
  background: var(--color-white);
  color: var(--color-blue);
  font-weight: 450;
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9.6px;
}

.contact-form__field {
  display: grid;
  gap: 4.8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10.4px;
  font-weight: 450;
}

.contact-form__field--wide {
  grid-column: 1 / -1;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  min-height: 33.6px;
  padding: 8px 9.6px;
  border: 0.8px solid rgba(255, 255, 255, 0.36);
  border-radius: 3.2px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font: inherit;
}

.contact-form__field textarea {
  resize: vertical;
  line-height: 1.4;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: 1.6px solid var(--color-white);
  outline-offset: 1.6px;
}

.contact-form__button {
  grid-column: 1 / -1;
  min-height: 36.8px;
  border: 0;
  border-radius: 3.2px;
  background: var(--color-white);
  color: var(--color-blue);
  font: inherit;
  font-weight: 450;
  cursor: pointer;
}

.contact-form__button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.contact-form__honeypot {
  position: absolute;
  left: -7999.2px;
  width: 0.8px;
  height: 0.8px;
  overflow: hidden;
}

.contact-form__status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11.2px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
}

.contact-form__status.is-error {
  color: #ffe0e0;
}

.contact-form__status.is-success {
  color: #e5ffd9;
}

.placeholder-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12.8px;
  margin-top: 20.8px;
}

.placeholder-gallery__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-small);
  object-fit: cover;
  box-shadow: 0 6.4px 17.6px rgba(13, 29, 46, 0.08);
}

.site-footer {
  background: var(--color-night);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__inner {
  width: min(var(--page-max), calc(100% - 38.4px));
  margin: 0 auto;
  padding: 33.6px 0;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 0.8fr));
  gap: 30.4px;
}

.site-footer__logo {
  width: 128px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer__text {
  max-width: 264px;
  margin: 14.4px 0;
  line-height: 1.55;
}

.site-footer__copy {
  margin: 0;
  font-size: 10.4px;
}

.site-footer__socials {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 13.6px;
}

.site-footer__social-link {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  border-radius: 50%;
  text-decoration: none;
  opacity: 0.9;
  transition: background-color var(--transition), opacity var(--transition), transform var(--transition);
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer__social-link:focus-visible {
  outline: 1.6px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3.2px;
}

.site-footer__social-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer__title {
  margin: 0 0 11.2px;
  color: var(--color-white);
  font-size: 12px;
}

.site-footer__links {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7.2px;
  list-style: none;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus {
  color: var(--color-white);
}

.seo-footer-text {
  background: var(--color-night);
  color: rgba(255, 255, 255, 0.28);
}

.seo-footer-text__inner {
  width: min(var(--page-max), calc(100% - 38.4px));
  margin: 0 auto;
  padding: 9.6px 0 12.8px;
}

.seo-footer-text__title {
  max-width: 960px;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 9.6px;
  font-weight: 450;
  line-height: 1.35;
}

.seo-footer-text p:not(.section__eyebrow) {
  max-width: 960px;
  margin: 0 0 3.2px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 9.6px;
  line-height: 1.45;
}

.seo-footer-text .section__eyebrow {
  display: none;
}

.seo-footer-text p:last-child {
  margin-bottom: 0;
}

.subpage-hero {
  min-height: 160px;
  display: flex;
  align-items: center;
  background: var(--color-night);
  color: var(--color-white);
}

.subpage-hero__inner {
  width: min(var(--page-max), calc(100% - 38.4px));
  margin: 0 auto;
  padding: 44px 0;
}

.subpage-hero__title {
  margin: 0;
  font-size: 41.6px;
  line-height: 1.05;
}

.subpage-hero__text {
  max-width: 528px;
  margin: 14.4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.2px;
  line-height: 1.5;
}

main > .subpage-hero-wrapper + .section {
  padding-bottom: 27.2px;
}

main > .subpage-hero-wrapper + .section + .section {
  padding-top: 19.2px;
}

.section__inner--narrow {
  width: min(var(--page-max), calc(100% - 38.4px));
  max-width: none;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(224px, 1.1fr);
  gap: 28.8px;
  align-items: start;
}

.info-card {
  padding: 19.2px;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow: 0 9.6px 24px rgba(13, 29, 46, 0.05);
}

.info-card__title {
  margin: 0 0 9.6px;
  font-size: 18.4px;
}

.info-card__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.legal-copy {
  display: grid;
  gap: 14.4px;
}

.legal-copy h2,
.legal-copy h3 {
  margin: 0;
  font-size: 19.2px;
}

.legal-copy p,
.legal-copy li {
  color: var(--color-muted);
  line-height: 1.7;
}

.legal-copy ul {
  margin: 0;
  padding-left: 16px;
}

[hidden] {
  display: none !important;
}

.article-detail {
  padding: 22.4px 0 43.2px;
}

.article-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-blue);
  font-size: 11.2px;
  font-weight: 450;
}

.article-detail__title {
  margin: 11.2px 0;
  font-size: 41.6px;
  line-height: 1.05;
}

.article-detail__excerpt {
  margin: 0 0 22.4px;
  color: var(--color-muted);
  font-size: 16.8px;
  line-height: 1.45;
}

.article-detail__image {
  display: block;
  width: 100%;
  max-height: 416px;
  border-radius: var(--radius-small);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.article-detail__content {
  margin-top: 27.2px;
  color: var(--color-ink);
  font-size: 14.4px;
  line-height: 1.75;
}

.article-detail__content p {
  margin: 0 0 14.4px;
}

.article-gallery {
  margin-top: 27.2px;
  margin-right: auto;
  margin-left: auto;
  width: min(100%, 656px);
}

.article-gallery__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 368px;
  border-radius: var(--radius-small);
  background: var(--color-blue-soft);
  box-shadow: var(--shadow-card);
}

.article-gallery__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.article-gallery__image.is-active {
  opacity: 1;
}

.article-gallery__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 35.2px;
  height: 35.2px;
  border: 0;
  border-radius: 3.2px;
  background: rgba(7, 20, 33, 0.82);
  color: var(--color-white);
  font-size: 20.8px;
  font-weight: 450;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.article-gallery__button--prev {
  left: 11.2px;
}

.article-gallery__button--next {
  right: 11.2px;
}

.article-gallery__button:hover,
.article-gallery__button:focus {
  background: var(--color-blue);
}

.article-gallery__count {
  margin: 9.6px 0 0;
  color: var(--color-muted);
  font-size: 11.2px;
  font-weight: 450;
  text-align: center;
}

.admin-body {
  background: var(--color-panel);
}

.admin-shell {
  min-height: calc(100vh - 57.6px);
  padding: 49.6px 0;
}

.admin-shell__inner {
  width: min(832px, calc(100% - 38.4px));
  margin: 0 auto;
}

.login-panel,
.module-panel,
.admin-form {
  padding: 24px;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-white);
  box-shadow: 0 9.6px 24px rgba(13, 29, 46, 0.08);
}

.login-panel {
  max-width: 352px;
}

.admin-title {
  margin: 0;
  font-size: 33.6px;
  line-height: 1.08;
}

.login-form,
.admin-form {
  display: grid;
  gap: 14.4px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14.4px;
}

.form-field {
  display: grid;
  gap: 6.4px;
  color: var(--color-ink);
  font-size: 11.2px;
  font-weight: 450;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 36.8px;
  padding: 8.8px 9.6px;
  border: 0.8px solid var(--color-line);
  border-radius: 3.2px;
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
  font-weight: 500;
}

.form-field textarea {
  resize: vertical;
  line-height: 1.5;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 1.6px solid var(--color-blue);
  outline-offset: 1.6px;
}

.form-note {
  color: var(--color-muted);
  font-size: 10.4px;
  font-weight: 600;
  line-height: 1.4;
}

.form-message {
  min-height: 17.6px;
  margin: 9.6px 0 16px;
  color: var(--color-muted);
  font-size: 11.2px;
  font-weight: 450;
}

.admin-edit-notice {
  margin: 0;
  padding: 9.6px 11.2px;
  border: 0.8px solid var(--color-line);
  border-radius: 3.2px;
  background: var(--color-blue-soft);
  color: var(--color-ink);
  font-size: 11.2px;
  font-weight: 450;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12.8px;
}

.module-card {
  min-height: 105.6px;
  padding: 17.6px;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-panel);
  color: var(--color-ink);
  text-decoration: none;
}

.module-card:hover,
.module-card:focus {
  border-color: var(--color-blue);
}

.module-card__title {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 450;
}

.module-card__text {
  color: var(--color-muted);
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-button,
.admin-icon-button {
  min-height: 35.2px;
  border: 0.8px solid var(--color-line);
  border-radius: 3.2px;
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 11.2px;
  font-weight: 450;
  cursor: pointer;
}

.admin-button {
  padding: 0 12.8px;
}

.admin-button--light:hover,
.admin-button--light:focus,
.admin-icon-button:hover,
.admin-icon-button:focus {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.admin-icon-button {
  width: 35.2px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.admin-news-list {
  display: grid;
  gap: 12.8px;
  margin-top: 17.6px;
}

.admin-news-card {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 43.2px;
  gap: 14.4px;
  align-items: stretch;
  padding: 11.2px;
  border: 0.8px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-white);
  box-shadow: 0 6.4px 17.6px rgba(13, 29, 46, 0.06);
}

.admin-news-card__image-link {
  overflow: hidden;
  min-height: 112px;
  border-radius: 3.2px;
  background: var(--color-blue-soft);
}

.admin-news-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-news-card__body {
  padding: 4.8px 0;
}

.admin-news-card__title {
  margin: 8px 0 6.4px;
  font-size: 18.4px;
  line-height: 1.2;
}

.admin-news-card__title a {
  color: var(--color-ink);
  text-decoration: none;
}

.admin-news-card__title a:hover,
.admin-news-card__title a:focus {
  color: var(--color-blue);
}

.admin-news-card__text {
  margin: 0 0 9.6px;
  color: var(--color-muted);
  line-height: 1.5;
}

.admin-card-actions {
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 8px;
}

.admin-edit,
.admin-trash {
  align-self: center;
  justify-self: center;
  width: 35.2px;
  height: 35.2px;
  border: 0;
  border-radius: 3.2px;
  background: #d93025;
  color: var(--color-white);
  cursor: pointer;
}

.admin-edit {
  background: var(--color-blue);
}

.admin-edit::before {
  content: "\270E";
  font-size: 17.6px;
  line-height: 1;
}

.admin-trash::before {
  content: "\1F5D1";
  font-size: 17.6px;
  line-height: 1;
}

.admin-edit:hover,
.admin-edit:focus {
  background: var(--color-blue-dark);
}

.admin-trash:hover,
.admin-trash:focus {
  background: #a82018;
}

@media (max-width: 896px) {
  .service-grid,
  .news-grid--wide {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid,
  .trust-grid--partners {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item {
    border-right: 0;
    border-bottom: 0.8px solid var(--color-line);
  }

  .trust-marquee__item {
    flex-basis: clamp(156px, 30vw, 208px);
  }

  .advantage-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-item {
    border-bottom: 0.8px solid var(--color-line);
  }

  .pv-detail-layout,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 688px) {
  .page-shell {
    box-shadow: none;
  }

  .site-header__inner {
    width: min(100% - 28.8px, var(--page-max));
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 16;
  }

  .site-header__scrim {
    position: fixed;
    inset: 0;
    z-index: 14;
    display: block;
    width: 100%;
    border: 0;
    background: rgba(5, 14, 28, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .site-header.is-nav-open .site-header__scrim,
  .site-body.is-nav-open .site-header__scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 15;
    width: min(88vw, 288px);
    height: 100vh;
    padding: 83.2px 19.2px 22.4px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11.2px;
    background: var(--color-white);
    border-left: 0.8px solid var(--color-line);
    box-shadow: -22.4px 0 48px rgba(13, 29, 46, 0.18);
    transform: translateX(102%);
    transition: transform 220ms ease;
  }

  .site-header.is-nav-open .main-nav,
  .site-body.is-nav-open .main-nav {
    display: flex;
    transform: translateX(0);
  }

  .main-nav__item--has-children {
    border-bottom: 0.8px solid var(--color-line);
    padding-bottom: 11.2px;
  }

  .main-nav__row {
    width: 100%;
    justify-content: space-between;
    gap: 12.8px;
  }

  .main-nav__link {
    width: 100%;
    padding: 4.8px 0;
    font-size: 14.4px;
  }

  .main-nav__submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25.6px;
    height: 25.6px;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
  }

  .main-nav__submenu-icon {
    display: inline-block;
    font-size: 14.4px;
    line-height: 1;
    transition: transform 180ms ease;
  }

  .main-nav__item--has-children.is-submenu-open .main-nav__submenu-icon {
    transform: rotate(90deg);
  }

  .main-nav__submenu {
    display: none;
    padding-top: 8px;
  }

  .main-nav__item--has-children.is-submenu-open .main-nav__submenu {
    display: grid;
    gap: 8px;
  }

  .main-nav__submenu-link {
    padding: 3.2px 0 3.2px 14.4px;
    color: var(--color-muted);
    font-size: 12.8px;
  }

  .site-logo__image {
    width: 136px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    width: min(100% - 28.8px, var(--page-max));
    padding: 36.8px 0 43.2px;
  }

  .hero__title {
    font-size: 38.4px;
  }

  .hero__text {
    font-size: 14.4px;
  }

  .hero__actions {
    display: grid;
  }

  .hero-facts {
    display: none;
  }

  .section {
    padding: 38.4px 0;
  }

  .section__inner {
    width: min(100% - 28.8px, var(--page-max));
  }

  .section__header {
    align-items: start;
    flex-direction: column;
  }

  .section__title {
    font-size: 22.4px;
  }

  .service-grid,
  .reference-grid,
  .news-grid,
  .news-grid--wide {
    grid-template-columns: 1fr;
  }

  .reference-grid > .reference-card:nth-child(n + 4) {
    display: none;
  }

  .reference-card {
    aspect-ratio: 16 / 9;
  }

  .reference-card__body {
    width: min(88%, 344px);
    grid-template-rows: 25.6px 56px 2.4px 35.2px;
  }

  .reference-card__title {
    max-height: calc(2 * 1.2em);
    font-size: 20px;
    line-height: 1.2;
  }

  #leistungen,
  #zertifikate,
  .section--energy {
    display: none;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__media {
    display: none;
  }

  .service-card__icon-wrap {
    position: static;
    margin: 17.6px auto 0;
  }

  .service-card__body {
    padding: 12.8px 16px 17.6px;
    text-align: center;
  }

  .advantage-bar,
  .energy-layout,
  .contact-band__inner,
  .contact-form,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .advantage-item {
    border-right: 0;
  }

  .energy-visual__image {
    height: 240px;
  }

  .energy-visual__note {
    position: static;
    max-width: none;
    margin-top: 11.2px;
  }

  .trust-grid,
  .trust-grid--partners {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .trust-item {
    min-height: 100.8px;
    border: 0.8px solid var(--color-line);
    border-radius: var(--radius-small);
  }

  .trust-marquee {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
  }

  .trust-marquee__control {
    width: 32px;
    height: 32px;
  }

  .trust-marquee__control img {
    width: 24px;
    height: 24px;
  }

  .trust-marquee__viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  }

  .trust-marquee__track {
    gap: 9.6px;
    padding: 4px 28px;
  }

  .trust-marquee__item,
  .trust-marquee--certs .trust-marquee__item {
    flex-basis: 142px;
    min-height: 96px;
    padding: 12px;
  }

  .trust-marquee--certs .trust-item__logo {
    max-width: 116px;
    max-height: 68px;
  }

  .certificate-viewer {
    border-radius: 14px;
  }

  .seo-footer-text {
    display: none;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .placeholder-gallery {
    grid-template-columns: 1fr;
  }

  .subpage-hero__inner {
    width: min(100% - 28.8px, var(--page-max));
    padding: 44px 0;
  }

  .subpage-hero {
    min-height: 160px;
  }

  .subpage-hero--pv,
  .subpage-hero--solar-pv {
    background-position: 72% center;
  }

  .subpage-hero--dachtechnik,
  .subpage-hero--dach {
    background-position: 68% center;
  }

  .subpage-hero--elektrotechnik,
  .subpage-hero--gebaeudetechnik,
  .subpage-hero--klima,
  .subpage-hero--stahlbau,
  .subpage-hero--stahl,
  .subpage-hero--werbetechnik {
    background-position: 68% center;
  }

  .subpage-hero__title {
    font-size: 32px;
  }

  .pv-hero__moods,
  .service-hero__moods {
    display: none;
  }

  .article-detail__title,
  .admin-title {
    font-size: 28.8px;
  }

  .article-detail__excerpt {
    font-size: 14.4px;
  }

  .admin-shell {
    padding: 33.6px 0;
  }

  .admin-shell__inner {
    width: min(100% - 28.8px, 832px);
  }

  .form-grid,
  .module-list,
  .admin-news-card,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .admin-news-card__image-link {
    min-height: 168px;
  }

  .admin-card-actions {
    justify-self: start;
    display: flex;
  }
}

@media (max-width: 416px) {
  .hero__title {
    font-size: 33.6px;
  }

  .reference-card {
    aspect-ratio: 4 / 3;
  }

  .reference-card__body {
    grid-template-rows: 25.6px 49.6px 2.4px 35.2px;
    gap: 8px;
    padding: 19.2px;
  }

  .reference-card__tag {
    padding: 7.2px 11.2px;
    font-size: 9.6px;
  }

  .reference-card__title {
    max-height: calc(2 * 1.2em);
    font-size: 20px;
    line-height: 1.2;
  }

  .reference-card__more {
    height: 35.2px;
    padding: 0 13.6px;
    font-size: 12.8px;
  }

  .trust-grid,
  .trust-grid--partners {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item__logo {
    max-width: 76.8px;
  }

  .trust-grid--partners .trust-item__logo {
    width: 228px;
    max-width: 100%;
  }
}
