/* Kampagnenseite "Red mit uns" – eigenstaendiges Stylesheet, unabhaengig vom CMS-Theme */

/* SourceSansPro (SIL OFL) statt Helvetica Neue (kommerziell, keine Web-Lizenz vorhanden) */
@font-face {
  font-family: "SourceSansPro";
  src: url("../vendor/fonts/SourceSansPro-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "SourceSansPro";
  src: url("../vendor/fonts/SourceSansPro-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "SourceSansPro";
  src: url("../vendor/fonts/SourceSansPro-SemiBold.ttf") format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "SourceSansPro";
  src: url("../vendor/fonts/SourceSansPro-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "SourceSansPro";
  src: url("../vendor/fonts/SourceSansPro-Black.ttf") format("truetype");
  font-weight: 900;
}

:root {
  --color-primary: #e63121;
  --color-primary-tint: rgba(230, 49, 33, 0.15);
  --color-text: #000000;
  --color-darkgrey: #646363;
  --color-bg: #f4f3fc;
  --color-focus: #0b5fff;
  --font-base: "SourceSansPro", Arial, sans-serif;
  --header-height: 4.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: var(--cookie-consent-height, 0px);
}

body {
  margin: 0;
  padding-bottom: var(--cookie-consent-height, 0px);
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

/* Sichtbarer Fokus-Indikator, WCAG 2.2 AA (2.4.11/2.4.13) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

/* Skip-Link: erst bei Fokus sichtbar */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--color-text);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.site-header .container {
  max-width: 1400px;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  min-height: var(--header-height);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  height: 2.5rem;
  width: auto;
}

.site-header__logo picture {
  display: block;
  line-height: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--color-text);
  white-space: nowrap;
}

.site-nav__emphasis {
  color: var(--color-primary);
  font-weight: 700;
}

.site-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: transparent;
  border-radius: 0.75rem;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  cursor: pointer;
}

.site-header__burger svg {
  width: 1.5rem;
  height: 1.5rem;
}

.site-header__burger span {
  display: block;
  width: 1.5rem;
  height: 0.1875rem;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.site-header__burger span + span {
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 90;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    height: 0;
    max-height: calc(100vh - var(--header-height));
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    padding: 2rem 1.5rem 1.5rem;
    visibility: hidden;
    pointer-events: none;
    transition: height 0.5s ease-in-out, visibility 0s linear 0.5s;
  }

  .site-nav[data-open="true"] {
    height: calc(100vh - var(--header-height));
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    transition: height 0.5s ease-in-out, visibility 0s linear 0s;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .site-nav__link {
    width: 230px;
    max-width: 100%;
    min-height: 65px;
    justify-content: center;
    background: var(--color-primary-tint);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    text-align: center;
    white-space: normal;
  }

  .site-header__burger {
    display: inline-flex;
    flex-direction: column;
  }

  .site-header__burger[aria-expanded="true"] span:first-child {
    transform: translateY(0.4375rem) rotate(45deg);
  }

  .site-header__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-header__burger[aria-expanded="true"] span:last-child {
    transform: translateY(-0.4375rem) rotate(-45deg);
  }

  .site-header__logo img {
    height: 2rem;
  }
}

/* ============================================================
   Hero-Carousel
   ============================================================ */
.campaign-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  width: calc(100% - 2rem);
  max-width: 1116px;
  margin-inline: auto;
}

.campaign-content > .container {
  width: calc(100% - 2rem);
  max-width: 1116px;
  padding-inline: 0;
}

.campaign-hero__slider-area {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  order: 1;
}

.campaign-hero-carousel {
  width: 100%;
  overflow: hidden;
}

.campaign-hero-carousel .swiper-wrapper {
  transition-timing-function: ease-out;
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  background-image: var(--slide-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;;
  overflow: visible;
}

.hero-slide__headline {
  margin: 0;
  align-self: flex-start;
  flex: 0 0 auto;
  text-align: left;
  padding: 25px 0 0 1px;
}

.hero-slide__headline--pencil {
  width: min(100%, 305px);
}

.hero-slide__headline--ball {
  width: min(100%, 296px);
}

.hero-slide__headline--tablets {
  width: min(100%, 350px);
}

.hero-slide__headline--energy {
  width: min(100%, 240px);
}

.mobile-only {
  display: none!important;
}

.hero-slide__headline img {
  display: block;
  width: 100%;
  height: auto;
}

/* "Mit Hilfe von KI visualisiert": Pflichthinweis, kein Deko-Text (siehe #2065) */
.campaign-hero__ai-note {
  margin: 0;
  font-size: 12px; /* Feste Schriftgröße für KI-Hinweis für Barrierefreiheit */
  /*font-size: 0.625rem;*/
  color: var(--color-darkgrey);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.campaign-hero__red-block {
  text-align: center;
  order: 2;
}

.campaign-hero__red-title {
  margin: 0;
}

.campaign-hero__red-title img {
  display: block;
  width: min(100%, 295px);
  height: auto;
  margin-inline: auto;
}

.campaign-hero__red-sub {
  margin: 20px 0 0;
}

.campaign-hero__red-sub img {
  display: block;
  width: min(100%, 365px);
  height: auto;
  margin-inline: auto;
}

.campaign-hero__red-sub .mobile-only,
.campaign-hero__red-title .mobile-only {
  display: none!important;
}

.campaign-hero__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  order: 3;
}

.campaign-hero__pagination {
  display: flex;
  gap: 0.5rem;
  position: static;
}

/* Play/Pause fuer Autoplay: gleiche Klickflaeche/Optik wie die Pagination-Punkte (WCAG 2.5.8). */
.campaign-hero__autoplay-toggle {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.campaign-hero__autoplay-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.campaign-hero__autoplay-toggle-icon {
  display: block;
  width: 10px;
  height: 10px;
  position: relative;
}

.campaign-hero__autoplay-toggle[data-state="playing"] .campaign-hero__autoplay-toggle-icon::before,
.campaign-hero__autoplay-toggle[data-state="playing"] .campaign-hero__autoplay-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 10px;
  background: var(--color-primary);
}

.campaign-hero__autoplay-toggle[data-state="playing"] .campaign-hero__autoplay-toggle-icon::before {
  left: 1px;
}

.campaign-hero__autoplay-toggle[data-state="playing"] .campaign-hero__autoplay-toggle-icon::after {
  right: 1px;
}

.campaign-hero__autoplay-toggle[data-state="paused"] .campaign-hero__autoplay-toggle-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--color-primary);
}

/* Punkte statt Swiper-Default: rot umrandet (inaktiv), rot gefuellt (aktiv).
   Sichtbarer Punkt bleibt klein, Klickflaeche erfuellt WCAG 2.5.8 (min. 24x24px). */
.campaign-hero__pagination .swiper-pagination-bullet {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  opacity: 1;
  cursor: pointer;
}

.campaign-hero__pagination .swiper-pagination-bullet::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background: transparent;
}

.campaign-hero__pagination .swiper-pagination-bullet-active::after {
  background: var(--color-primary);
}

/* Support-Karten: flexible Spalten statt Figma-Fixmasse. */
.support,
.info-section,
.more-section,
.partner-section {
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.support--mobile {
  display: none;
}

.partner-section--mobile {
  display: none;
}

.support h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  font-size: 35px;
  line-height: 1.1;
}

.support__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 17px;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  min-height: 10rem;
  padding: 30px;
  border-radius: 30px;
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
}

.support-card--phone {
  min-height: 13rem;
}

  .support-card--phone .support-card__title {
    padding-bottom: 15px;
  }

  .support-card--contact .support-card__title, .support-card--selftest .support-card__title {
    padding-bottom: 5px;
  }

.support-card__icon {
  position: relative;
  display: grid;
  flex: 0 0 clamp(4.5rem, 7vw, 6.3rem);
  aspect-ratio: 1.06;
  place-items: center;
  border-radius: 1.25rem;
  background: var(--color-primary-tint);
}

.support-card__icon img {
  width: 56%;
  height: 56%;
  object-fit: contain;
  transition: opacity 320ms ease, transform 320ms ease;
}

.support-card__icon-hover {
  position: absolute;
  opacity: 0;
}

.support-card__icon {
  transition: background-color 320ms ease;
}

.support-card__icon:hover,
.support-card__icon:focus-visible {
  background: var(--color-primary);
}

.support-card__icon:hover .support-card__icon-default,
.support-card__icon:focus-visible .support-card__icon-default {
  opacity: 0;
}

.support-card__icon:hover .support-card__icon-hover,
.support-card__icon:focus-visible .support-card__icon-hover {
  opacity: 1;
}

.support-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  text-align: center;
}

.support-card__title {
  font-size: 21px;
  font-weight: 700;
  line-height: 23px;
  white-space: nowrap;
}

.support-card__hours-label {
  font-weight: 700;
}

.support-card__hours {
  width: 195px;
  text-align: left;
  font-size: 13px;
  line-height: 17px;
}

.support-card--phone .support-card__details {
  display: flex;
  width: 195px;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

.support-card__content > span:not(.support-card__title),
.support-card__content small {
  font-size: 13px;
  line-height: 17px;
}

.support-card__content small {
  margin-top: 0.75rem;
  width: 195px;
  text-align: left;
  font-size: 13px;
  line-height: 17px;
}

.support__benefits {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 10vw, 8rem);
  list-style: none;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 0;
}

.support__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 19px;
}

.support__benefits img {
  width: 22px;
  height: 22px;
}

.info-section h2,
.more-section h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  font-size: 35px;
  line-height: 1.1;
}

.info-section__boxes {
  display: grid;
  gap: 17px;
}

.info-box {
  padding: 1.5rem clamp(1.5rem, 8vw, 5.75rem);
  border-radius: 30px;
  background: #fff;
}

.info-box h3 {
  margin: 0 0 0.75rem;
  color: var(--color-primary);
  font-size: 21px;
  line-height: 1.2;
}

.info-box--companies h3 {
  color: var(--color-text);
}

.info-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

.info-box li {
  padding-left: 0.25rem;
  font-size: 16px;
  line-height: 1.35;
}

.more-section__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.more-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
  padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 30px;
  background: #fff;
  color: var(--color-text);
}

.more-card__icon {
  position: relative;
  display: grid;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 1.25rem;
  background: var(--color-primary-tint);
  transition: background-color 320ms ease;
}

.more-card__icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  transition: opacity 320ms ease;
}

.more-card__icon-hover {
  position: absolute;
  opacity: 0;
}

.more-card__icon:hover,
.more-card__icon:focus-visible {
  background: var(--color-primary);
}

.more-card__icon:hover .more-card__icon-default,
.more-card__icon:focus-visible .more-card__icon-default {
  opacity: 0;
}

.more-card__icon:hover .more-card__icon-hover,
.more-card__icon:focus-visible .more-card__icon-hover {
  opacity: 1;
}

.more-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
}

.more-card__title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.more-card__description {
  font-size: 13px;
  line-height: 1.3;
}

.partner-section h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  font-size: 35px;
  line-height: 1.1;
}

.partner-section__logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  min-height: 6rem;
  padding: 1.25rem 2rem;
  border-radius: 30px;
  background: #fff;
}

.partner-logo {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.partner-logo:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.partner-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.partner-logo--bmasgpk img { /*max-width: 214px;*/ max-height: 53px; }
.partner-logo--ams img { /*max-width: 72px;*/ max-height: 33px; }
.partner-logo--sms img { /*max-width: 211px;*/ max-height: 26px; }
.partner-logo--auva img { /*max-width: 64px;*/ max-height: 29px; }
.partner-logo--oegk img { /*max-width: 84px;*/ max-height: 31px; }
.partner-logo--pv img { /*max-width: 52px;*/ max-height: 31px; }

@media (min-width: 768px) {
  .campaign-hero__slider-area {
    position: static;
  }

  .campaign-hero__ai-note {
    position: absolute;
    top: 50%;
    right: calc((100% - min(1400px, 100vw - 2rem)) / 2);
    transform: translateY(-50%) rotate(180deg);
  }

  .campaign-hero__slider-area,
  .campaign-hero-carousel {
    height: min(375px, 38vw);
    max-height: 375px;
  }

  .campaign-hero__red-block {
    position: absolute;
    right: 1rem;
    bottom: 2rem;
    z-index: 2;
    width: min(365px);
    margin: 0;
    text-align: right;
  }

  .campaign-hero__red-title img {
    margin-right: 0;
    margin-left: auto;
  }

  .campaign-hero {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
  }

  .campaign-hero__slider-area {
    flex: 1 1 60%;
  }

  .hero-slide {
    flex-direction: row;
    text-align: left;
  }

  .hero-slide__headline {
    flex: 0 0 auto;
  }

  .campaign-hero__red-block {
    flex: 1 1 35%;
    text-align: right;
  }

  .campaign-hero__pagination {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

/* Mindest-Touch-Target-Groesse, WCAG 2.2 (2.5.8) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

/* Footer-CTA */
.footer-cta {
  width: 100%;
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  text-align: center;
}

.footer-cta__inner {
  width: 100%;
  max-width: 1116px;
  margin-inline: auto;
}

.footer-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.footer-cta p {
  margin: 0.75rem 0 1.5rem;
  font-size: 20px; /* Feste Schriftgröße für Footer-CTA für Barrierefreiheit */
  font-weight: 700; /* Feste Schriftstärke für Footer-CTA für Barrierefreiheit */
}

.footer-cta__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-inline: auto;
}

.footer-cta__card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 20px 0;
  border-radius: 30px;
  background: #fff;
  color: var(--color-primary);
  text-decoration: none;
  transition: background-color 320ms ease, color 320ms ease;
}

.footer-cta__card:hover,
.footer-cta__card:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

.footer-cta__icon {
  position: relative;
  display: grid;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
}

.footer-cta__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 320ms ease;
}

.footer-cta__icon-hover {
  position: absolute;
  opacity: 0;
}

.footer-cta__card:hover .footer-cta__icon-default,
.footer-cta__card:focus-visible .footer-cta__icon-default {
  opacity: 0;
}

.footer-cta__card:hover .footer-cta__icon-hover,
.footer-cta__card:focus-visible .footer-cta__icon-hover {
  opacity: 1;
}

.footer-cta__title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
}

.footer-cta__title-mobile {
  display: none;
}

@media (max-width: 767px) {
  .footer-cta {
    padding: 2.5rem 1rem;
  }

  .footer-cta__cards {
    gap: 0.75rem;
  }

  .footer-cta__card {
    flex-direction: column;
    gap: 0.75rem;

  }

  .footer-cta__title {
    font-size: 21px;
    text-align: center;
  }

  .footer-cta__title-desktop {
    display: none;
  }

  .footer-cta__title-mobile {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cta__card,
  .footer-cta__icon img {
    transition: none;
  }
}

footer {
  padding: 5rem 1rem;
  background: var(--color-bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  gap: 45px;
  align-items: center;
  margin-inline: auto;
  justify-content: center;
}

.footer__logo,
.footer__link {
  color: #000;
  text-decoration: none;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.25rem;
}

.footer__logo img:first-child {
  width: 16px;
  height: 16px;
}

.footer__logo img:last-child {
  width: 73px;
  height: 16px;
}

.footer__link {
  justify-self: center;
  font-size: 13px;
  line-height: 17px;
}

.footer__settings {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  background: #b51f16;
  color: #fff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1440px;
  margin-inline: auto;
  padding: 1rem;
}

.cookie-consent__copy {
  max-width: 850px;
}

.cookie-consent h2,
.cookie-consent p {
  margin: 0;
}

.cookie-consent h2 {
  font-size: 1.35rem;
}

.cookie-consent a {
  color: #fff;
  font-weight: 700;
}

.cookie-consent__actions,
.cookie-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cookie-consent__button {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button--primary {
  background: #000;
  border-color: #000;
}

.cookie-dialog[hidden],
.cookie-consent[hidden] {
  display: none;
}

.cookie-dialog {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cookie-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.cookie-dialog__panel {
  position: relative;
  width: min(100%, 38rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  background: #fff;
  color: #000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cookie-dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 1.75rem;
  cursor: pointer;
}

.cookie-dialog__option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #777;
}

.cookie-dialog__option h3,
.cookie-dialog__option p {
  margin: 0;
}

.cookie-dialog__option p,
.cookie-dialog__option span span {
  display: block;
  margin-top: 0.25rem;
}

.cookie-dialog__option--selectable {
  cursor: pointer;
}

.cookie-dialog__option input {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  accent-color: var(--color-primary);
}

.cookie-dialog__actions {
  margin-top: 1.5rem;
}

.cookie-dialog__actions .cookie-consent__button {
  border-color: #000;
  color: #000;
}

.cookie-dialog__actions .cookie-consent__button--primary {
  color: #fff;
}

@media (max-width: 767px) {
  .cookie-consent__inner {
    display: block;
    max-height: 80vh;
    overflow-y: auto;
  }

  .cookie-consent__actions {
    margin-top: 1rem;
  }

  .cookie-consent__button {
    flex: 1 1 9rem;
  }

  .cookie-dialog__panel {
    padding: 1.5rem;
  }

  .cookie-dialog__actions .cookie-consent__button {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  footer {
    padding: 5rem 1rem;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
  }

  .footer__logo {
    margin-bottom: 50px;
  }

  .footer__link {
    font-size: 14px;
    line-height: 17px;
  }

  .container {
    padding-inline: 1rem;
  }

  .campaign-hero__ai-note {
    position: absolute;
    right: -1.5rem;
    bottom: 0;
    z-index: 2;
    transform: rotate(180deg);
  }

  .hero-slide {
    background-image: var(--mobile-slide-image);
    background-size: contain;
    background-position: right;
  }

  .desktop-only,
  .campaign-hero__red-title .desktop-only,
  .campaign-hero__red-sub .desktop-only,
  .hero-slide__headline .desktop-only {
    display: none !important;
  }

  .mobile-only,
  .campaign-hero__red-title .mobile-only,
  .campaign-hero__red-sub .mobile-only {
    display: block !important;
  }

  .hero-slide__headline--pencil { width: 131px; }
  .hero-slide__headline--tablets { width: 205px; }
  .hero-slide__headline--energy { width: 140px; }
  .hero-slide__headline--ball { width: 217px; }

  .support h2 {
    font-size: 25px;
  }

  .info-section h2,
  .more-section h2,
  .partner-section h2 {
    font-size: 25px;
  }

  .info-box {
    padding: 1.5rem;
  }

  .info-box li {
    font-size: 16px;
  }

  .more-section__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .more-card {
    padding: 1rem 1.25rem;
  }

  .partner-section--desktop {
    display: none;
  }

  .partner-section--mobile {
    display: block;
  }

  .partner-section__logos {
    width: 230px;
    height: 165px;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.25rem 0.5rem;
    margin-inline: auto;
    padding: 0.75rem;
  }

  .partner-logo {
    min-height: 0;
  }

  .partner-logo--bmasgpk {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .partner-logo--sms {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .partner-logo--ams {
    grid-column: 1;
    grid-row: 2;
  }

  .partner-logo--auva {
    grid-column: 2;
    grid-row: 2;
  }

  .partner-logo--oegk {
    grid-column: 1;
    grid-row: 3;
  }

  .partner-logo--pv {
    grid-column: 2;
    grid-row: 3;
  }

  .partner-logo img {
    max-width: 100%;
  }

  .partner-logo--bmasgpk img { /*max-width: 131px;*/ max-height: 32px; }
  .partner-logo--ams img { /*max-width: 38px;*/ max-height: 17px; }
  .partner-logo--sms img { max-width: 131px; max-height: 16px; }
  .partner-logo--auva img { /*max-width: 34px;*/ max-height: 15px; }
  .partner-logo--oegk img { /*max-width: 44px;*/ max-height: 16px; }
  .partner-logo--pv img { /*max-width: 27px;*/ max-height: 16px; }

  .support__cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .support-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
    min-height: 0;
    padding: 15px;
  }

  .support-card__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 92px;
    height: 86px;
    flex: none;
  }

  .support-card__content {
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    gap: 5px;
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  
  .support-card .support-card__title {
    padding-bottom: 5px;
  }

  .support-card--phone {
    display: grid;
  }

  .support-card--phone .support-card__content {
    display: contents;
  }

  .support-card--phone .support-card__details {
    display: contents;
  }

  .support-card--phone .support-card__hours {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    max-width: 100%;
    text-align: left;
  }

  .support-card--phone .support-card__content small {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    width: auto;
    text-align: center;
  }

  .support--desktop {
    display: none;
  }

  .support--mobile {
    display: block;
  }

  .support__benefits {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    width: max-content;
    margin-inline: auto;
  }

  .support__benefits li {
    font-size: 19px;
  }

  .campaign-hero-carousel .swiper-slide {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-card__icon,
  .support-card__icon img {
    transition: none;
  }
}
