
/* ============================================================
                          Base / Reset-ish
   ============================================================ */

:root {
  --accent: #1e3b70;
  --neutral-soft: #f7f7f7;
  --accent-light:  #2d58a8;
  --header-offset: 80px;

  --headline-size: 3rem;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.4;
}
html {
  scroll-padding-top: var(--header-offset);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}

.text-accent {
  color: var(--accent-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  white-space: nowrap;
  background: #fff;
}
.btn:hover {
  box-shadow: grey 0px 4px 15px 0px;
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
}

section[id],
footer[id] {
  scroll-margin-top: var(--header-offset);
}

.section-header h1 {
  font-size: var( --headline-size);
}

.section-header h1 a {
  color: var(--accent-light);
}



/* ============================================================
                          Header (sticky)
   ============================================================ */

.site-header {
  position: sticky; /* wenn du wirklich fixed willst: fixed + body padding-top */
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* main header row */
.header-main {
  display: grid; /* Logo | Nav | CTA */
  align-items: center;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  padding: 0.75rem 1rem;
  padding-bottom: 0;
  position: relative;
}

.brand img,
.brand {
  display: inline-flex;
  align-items: center;
  height: 40px;
}

/* nav */
.main-nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none; /* bricht sauber um */
}

.main-nav li {
  position: relative;
}

.main-nav .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: default;
}

.main-nav .has-submenu > .nav-label::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 0.6rem 0.75rem;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.main-nav .submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.5rem;
  height: 0.5rem;
}

.main-nav .submenu li + li {
  margin-top: 0.5rem;
}

.main-nav .has-submenu:hover .submenu,
.main-nav .has-submenu:focus-within .submenu {
  display: block;
}

#header-phone-icon, #header-menu-icon {
  display: none;
}

#header-menu-icon {
  cursor: pointer;
}

#current-nav {
  padding-bottom: 5px;
  border-bottom: 4px solid var(--accent)
}

/* Mobile: Navigation vereinfachen (kein Burger hier, nur Stack) */
@media (max-width: 900px) {
  .header-main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
    padding: 0 1rem;
  }
  .brand {
    grid-area: brand;
  }
  .main-nav {
    grid-area: nav;
  }
  .main-nav > ul {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .header-main cta-button {
    display: none;
  }
  .header-main {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
  }
  .brand img {
    height: 40px;
    justify-self: center;
    align-self: center;
    margin-left: 50px;
  }

  #header-phone-icon {
    display: block;
    height: 32px;
    justify-self: end;
    align-self: center;
  }

  #header-menu-icon {
    display: block;
    height: 32px;
    width: 32px;
    justify-self: start;
    align-self: center;
  }

  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1;
  }

  .site-header.is-nav-open .header-main {
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header.is-nav-open .main-nav {
    display: block;
    order: 3;
  }

  .site-header.is-nav-open .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem 3rem 1.5rem;
  }

  .main-nav .submenu {
    position: static;
    display: block;
    padding: 0.5rem 0 0.5rem 1rem;
    border: 0;
    box-shadow: none;
  }
}

/* ============================================================
                          Hero Section
   ============================================================ */

.hero {
  display: grid;
  position: relative;
  align-items: stretch;
  min-height: 70vh;
  margin-top: -3px;;
  color: #fff;
  isolation: isolate;
}

.hero-section {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* dunkles Overlay für Lesbarkeit */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Content-Layout: links Text, rechts CTA-Box */
.hero-inner { /* über dem Hintergrund */
  display: grid;
  position: relative;
  align-items: center;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 8rem);
  z-index: 1;
}

.hero h1 {
  max-width: 42rem;
  margin: 0;
  opacity: 1;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-style: italic;
}
.hero-copy {
  margin: auto 0;
  background: linear-gradient(
  to right,
  rgba(0,0,0,0.85) 0%,
  color-mix(in srgb, rgba(0,0,0,0.85) 30%, rgb(30, 59, 112, 0.8)) 25%,
  rgb(30, 59, 112, 0.8) 50%,
  color-mix(in srgb, rgba(0,0,0,0.85) 30%, rgb(30, 59, 112, 0.8)) 75%,
  rgba(0,0,0,0.85) 100%
  );
  padding: 2.25rem 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#headline1 {
  font-size: 3rem;
  color: #f7f7f7
}
#headline2 {
  font-size: 5rem; 
  text-shadow: 0 0px 30px rgba(174, 195, 234, 0.5);
}
.hero-copy svg {
  margin-top: -10px;
  margin-bottom: 10px;
  width: 300px;
}
.hero-copy p {
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  text-align: center;
}

.hero-form {
  display: grid;
  gap: 0.9rem;
  width: min(420px, 100%);
  padding: 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  justify-self: end;
}
.hero-form-title {
  width: 100%;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: black;
}
.hero-form-row {
  display: grid;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: 1fr auto;
  padding: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background: #fff;
}
.hero-form-row input {
  padding: 0.6rem 0.75rem;
  border: 0;
  outline: none;
  font-weight: 600;
  text-align: center;
  background: transparent;
}
.hero-form-row button {
  padding: 0.6rem 1.2rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: #111;
  cursor: pointer;
}
.hero-form-fineprint {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #5a5a5a;
}
.hero-form-fineprint a{
  text-decoration: underline;
}

.temp-page .hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 1000px;
}

.temp-page .hero-copy {
  align-items: center;
}

.temp-page .hero {
  min-height: calc(100vh - var(--header-offset));
}

.temp-page .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1rem;
  }
  .hero-form {
    justify-self: center;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .header-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "cta"
      "nav";
    justify-items: center;
  }
  .main-nav ul {
    justify-content: center;
    gap: 0.7rem 1rem;
  }
  .hero {
    min-height: auto;
  }
  .hero-copy {
    padding: 1.5rem;
  }
  #headline1 {
    font-size: 2.2rem;
  }
  #headline2 {
    font-size: 3.2rem;
  }
  .hero-copy svg {
    width: 200px;
  }
  .hero-copy h2 {
    text-align: center;
  }
  .hero-form {
    justify-self: center;
  }
  .hero-form-row button {
    width: 100%;
  }
  .hero-form-fineprint {
    font-size: 0.78rem;
  }
}

/* ============================================================
                          Partner Section
   ============================================================ */

.partner-section {
  width: 0.9fr;
  overflow: hidden;
  justify-content: center;
  background: white;
  border-radius: 1rem;
  position: relative;
}
.partner-section p{
  text-align: center;
  margin: 2rem 0 0 0;
}
.partner-logos {
  display: flex;
  overflow: hidden;
  padding: 0.75rem 1.5rem;
}

.partner-section img{
  height: 60px;
  width: auto;
  margin-left: -20px;
}
.partner-track{
  display: flex;
  gap: 0;
  width: max-content;
  animation: partner-scroll 23s linear infinite;
}
.partner-logos .partner-row{
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: nowrap;
  padding-right: 2.5rem;
  flex: 0 0 auto;
}
.partner-logos .partner-row img{
  flex-shrink: 0;
  z-index: -1;
}

@keyframes partner-scroll{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
                          Video Section
   ============================================================ */
#video-section {
  padding: 3rem 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  margin: 0 auto;
}

#video-wrapper {
  padding: 0 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
}

#video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}
#video-text {
  text-align: right;
  align-self: center;
  padding-bottom: 2rem;
}
#video-text h1 {
  font-size: var( --headline-size);
}

#video-text h1 a {
  color: var(--accent-light);
}

#video-text img {
  width: 160px;
  margin-top: -30px;
  rotate: -10deg;
  margin-left: auto;
  margin-right: 80px;
}

@media (max-width: 900px) {
  #video-section {
    grid-template-columns: 1fr;
  }
  #video-text {
    text-align: center;
    order: -1;
    margin-bottom: -70px;
  }
  #video-text img {
    display: none;
  }
}

@media (max-width: 600px) {
  #video-section {
    padding: 0 0 2rem;
    margin-top: -1rem;
  }
  #video-wrapper {
    height: 240px;
    padding: 0 6vw;
  }
}


/* ============================================================
                          Sicherheis Diagnose Section
   ============================================================ */

.sicherheis-diagnose {
  padding-bottom: 3rem;
}
.sicherheis-diagnose h1{
  line-height: 1;
  margin-bottom: 0;
}
.sicherheis-diagnose p{
  margin: 1rem 0 3rem 0;
}

.info-display {
  padding: 1rem 10vw;
  margin-bottom: 3rem;
  box-shadow: 0 16px 30px rgba(30, 59, 112, 0.6);
  transition: transform 1s ease;
}

.info-display:hover {
  transform: scaleX(1.05);
  box-shadow: 0 19px 30px rgba(30, 59, 112, 0.6);
}

.info-display h2 {
  color: white;
  font-size: 2.5rem;
}

.info-display p {
  color: #ecebeb;
  line-height: 1;
  margin-top: -10px;
}

.info-display img {
  color: #ecebeb;
  rotate: -90deg;
  width: 2rem;
  filter: brightness(0) invert(1);
}

.info-display .example-link{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: -100px;
}

.info-display .example-link span{
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
}

.info-display .example-link:hover span{
  border-bottom-color: #fff;
}

.info-display .example-link:hover{
  transform: translateX(6px);
}

.info-display svg {
  width: 5rem;
  position: relative;
  top: 6rem;
  color: white;
}

.info-display.left {
  background: linear-gradient(
    to right,
    black 0%,
    var(--accent) 50%,
     var(--accent-light) 100%
  );
  margin-right: 20vw;
  border-radius: 0 999px 999px 0;
  text-align: left;
  padding-left: calc(20vw + 10vw);
  padding-top: 0rem;
}

.info-display.right {
  background: linear-gradient(
    to right,
     var(--accent-light) 0%,
    var(--accent) 50%,
    black  100%
  );
  margin-left: 20vw;
  border-radius: 999px 0 0 999px;
  text-align: left;
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .info-display h2{
    font-size: 1.5rem;
  }
  .info-display svg{
    top: 3.8rem;
  }
  .info-display p{
    line-height: 1;
  }
}

@media (max-width: 600px) {
  .sicherheis-diagnose {
    padding: 0 1rem;
  }
  .info-display {
    padding: 1.6rem 1.25rem;
    margin: 1.25rem auto 2rem;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  }
  .info-display.left {
    margin-right: 0;
    padding-left: 6vw;
    padding-top: 3rem;
    border-radius: 1.25rem;
    text-align: left;
    background: linear-gradient(
      -45deg,
      var(--accent) 0%,
      var(--accent-light) 100%
    );
    text-align: center;
  }
  .info-display.right {
    margin-left: 0;
    border-radius: 1.25rem;
    background: linear-gradient(
      -45deg,
      var(--accent) 0%,
      var(--accent-light) 100%
    );
    text-align: center;
  }
  .info-display svg {
    display: none;
  }
  .info-display h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  .info-display p {
    line-height: 1.4;
    margin-top: 0.5rem;
  }
  .info-display .example-link {
    margin-top: -1.5rem;
  }
}


/* ============================================================
                          Expertiese Diagnose
   ============================================================ */

.leistungen-detail {
  background: #fff;
  padding-bottom: 1rem;
}

.leistungen-detail-hero {
  background: linear-gradient(
    to right,
  black 0%,
    color-mix(in srgb, black 30%, var(--accent)) 25%,
    var(--accent) 50%,
    color-mix(in srgb, black 30%, var(--accent)) 75%,
    black 100%
  );
  color: #fff;
  padding: 4rem 0 5rem;
}

.leistungen-detail-content {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.leistungen-detail.is-split .leistungen-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: 2.5rem;
  padding: 4rem 12vw 5rem;
}

.leistungen-detail.is-split .leistungen-detail-content {
  width: auto;
  margin: 0;
}

.leistungen-detail.is-split #certificate-wrapper {
  width: 100%;
  height: 100%;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.leistungen-detail.is-split .certificate-marquee {
  width: 100%;
  margin: 0;
}

.leistungen-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.leistungen-title-row h2 {
  margin: 0;
}

.leistungen-detail-content h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-style: italic;
}

.leistungen-detail-content p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.leistungen-detail-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.leistungen-detail-steps {
  width: min(1200px, 92%);
  margin: -3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.leistungen-detail-card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1rem 1rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  display: grid;
  gap: 0.8rem;
}

.leistungen-detail-card img, 
.leistungen-detail-card video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.9rem;
}

.leistungen-detail-card h3 {
  margin: 0;
  font-size: 1rem;
}

.leistungen-detail-card p {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .leistungen-detail-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -2rem;
  }
  .leistungen-detail.is-split .leistungen-detail-hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 4rem;
  }
  .leistungen-detail.is-split #certificate-wrapper {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  .leistungen-detail-steps {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
                          Certificate Section
   ============================================================ */

#certificate-wrapper {
  padding: 1rem 0;
  background: #f0f0f0;
  width: 45%;
  overflow: hidden;
  border-radius: 20px;
}
.certificate-marquee {
  display: flex;
  gap: 1rem;
  width: 40%;
  margin: 0 auto;
}

.certificate-track {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  animation: certificate-scroll 60s linear infinite;
}

.certificate-track img {
  height: 220px;
  border-radius: 10px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
  object-fit: contain;
}

@keyframes certificate-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 900px) {
  #certificate-wrapper {
    width: 100%;
  }
  .certificate-marquee {
    width: 100%;
  }
  .certificate-track img {
    height: 160px;
  }
}

/* ============================================================
                          Das Secure089 System Section
   ============================================================ */

.system-section {
  padding: 3rem 0;
}

.system-section .example-kicker {
  margin-top: -2rem;
}

.system-body {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  justify-content: center;
  margin-bottom: 2rem;
}
.system-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 5rem;
  padding: 2rem 8vw;
}
.system-step {
  font-style: italic;
  font-size: 4rem;
  font-weight: 650;
  background: linear-gradient(to bottom,  var(--accent-light) 0%, var(--accent) 50%,  black 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px solid black;
  padding: 3px;
}
.system-row h1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  text-align: start;
  font-size: 2.5rem;
}
.system-row-p.example-kicker {
  font-size: 1.2rem;
}
.system-row .system-row-p{
  text-align: start;
  padding-right: 10vw;
}
.system-row.inverted .system-row-p{
  text-align: end;
  padding-right: 0;
  padding-left: 10vw;
}
.system-row img{
  height: 250px;
  width: 30vw;
  object-fit: cover;
  border-radius: 0.9rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  justify-self: end;
}
.system-row.inverted h1{
  justify-content: flex-end;
  text-align: end;
}
.system-row.inverted img{
  justify-self: start;
}

@media (max-width: 1000px) {

  .system-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 7vw;
    text-align: center;
  }
  .system-row.inverted img {
    order: -1;
    justify-self: center;
  }
  .system-row img {
    width: min(520px, 100%);
    justify-self: center;
  }
  .system-row h1,
  .system-row .system-row-p,
  .system-row.inverted .system-row-p,
  .system-row.inverted h1 {
    text-align: center;
    justify-content: center;
  }
  .system-row .system-row-p{
    padding-right: 0;
  }
  .system-row.inverted .system-row-p{
    padding-right: 0;
    padding-left: 0;
}
}

@media (max-width: 700px) {
  .system-row {
    padding: 0rem 5vw;
  }
  .system-step {
    font-size: 3rem;
  }
  .system-row h1 {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .system-row img {
    margin-bottom: -10rem;
    width: 100%;
  }
  #system-img-inv {
    margin: 0;
  }
  .system-body {
    gap: 0;
  }
}



/* ============================================================
                      Example Section
   ============================================================ */
.example-section {
  padding: 4.5rem 1rem 5rem;
  background: #f6f7fb;
}
.example-inner {
  width: min(1300px, 92%);
  margin: 0 auto;
  color: #111;
}
.example-header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.example-header h1 {
  font-size: var( --headline-size);
  margin: 0;
}
.example-kicker {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: 1.5px;
}
.example-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
}
.example-panel {
  --ink: #0f1d3a;
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.5rem, 2.5vw, 2.75rem);
  box-shadow: 0 18px 45px rgba(13, 24, 44, 0.12);
  border: 1px solid rgba(15, 29, 58, 0.08);
}
.example-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.5rem);
}
.example-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}
.example-col-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  color: var(--ink);
}
.example-col-head h3 {
  margin: 0 auto;
  font-size: 1.5rem;
}
.example-items {
  display: grid;
  gap: 1rem;
  flex: 1;
}
.example-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 29, 58, 0.08);
  color: #5b606b;
}
.example-item strong {
  color: #10121a;
  font-size: 1.2rem;
  white-space: nowrap;
}
.example-col.is-savings .example-item strong {
  color: black;
}
.example-col.is-cost .example-item strong {
  color: #1b1b1b;
}
.example-total {
  display: flex;
  height: 6rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  font-weight: 600;
  color: #fff;
}
.example-total strong {
  font-size: 2.5rem;
}
.example-total span {
  font-size: 2rem;
  font-style: italic;
}
.example-total.is-cost {
  background: linear-gradient(
    to right,
    black 0%,
    var(--accent) 50%,
     var(--accent-light) 100%
  );
}
.example-total.is-savings {
  background: linear-gradient(
    to right,
     var(--accent-light) 0%,
    var(--accent) 50%,
    black 100%
  );
}
.example-divider {
  height: 1px;
  background: rgba(15, 29, 58, 0.08);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.example-amort {
  display: grid;
  gap: 1.5rem;
}
.example-amort h3 {
  margin: 0;
  font-size: 1.4rem;
  text-align: center;
  color: var(--ink);
}
.example-progress {
  display: grid;
  gap: 0.75rem;
}
.example-progress-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}
.example-bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(30, 59, 112, 0.12);
  overflow: hidden;
}
.example-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(
    to right, 
    black 0%, 
    var(--accent) 30%,
     var(--accent-light) 60%,
    color-mix(in srgb,  var(--accent-light) 50%, white) 100%
  );
}

.example-panel.is-visible .example-bar-fill {
  animation: example-fill 5s ease forwards;
}

@keyframes example-fill {
  from {
    width: 0%;
  }
  to {
    width: var(--progress);
  }
}
.example-year-label {
  font-weight: 600;
  color: #111;
}
.example-progress-note {
  margin: 0;
  color: #5b606b;
  line-height: 1.6;
  padding-left: calc(44px + 1rem);
  text-align: center;
}
.example-note {
  margin: 2rem auto 0;
  line-height: 1.6;
  width: min(1100px, 92%);
  text-align: center;
  color: #4a4f5c;
}
.example-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .example-split {
    grid-template-columns: 1fr;
  }
  .example-progress-row {
    grid-template-columns: auto 1fr;
  }
  .example-year-label {
    justify-self: center;
  }
  .example-progress-note {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .example-header h1{
    font-size: 2.5rem;
    text-align: center;
  }
  .example-section .example-kicker {
    text-align: center;
  }
  .example-total {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .example-total strong {
    font-size: 1.6rem;
  }
  .example-total span {
    font-size: 1rem;
  }
  .example-item {
    flex-direction: column;
    align-items: center;
  }
    .example-progress-note {
    font-size: 1rem;
  }
}

/* ============================================================
                          Product Section
   ============================================================ */

.product-section {
  padding: 0rem;
}

.product-grid {
  width: min(1200px, 92%);
  margin: 2.75rem auto 3.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}
.product-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.7rem 1.9rem;
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(45, 88, 168, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "icon icon"
    "title button";
  gap: 0.75rem 1rem;
}
.product-card-icon {
  grid-area: icon;
  height: 60px;
  width: auto;
  box-shadow: none;
  align-self: center;
}
.product-card-header h3 {
  grid-area: title;
}
.product-expand {
  grid-area: button;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: #0f172a;
  position: relative;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-expand::before,
.product-expand::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}
.product-expand::after {
  transform: rotate(90deg);
}
.product-expand[aria-expanded="true"]::after {
  transform: rotate(0deg);
  opacity: 0;
}
.product-details {
  margin-top: 1rem;
  display: none;
}
.product-card.is-row-open .product-details {
  display: block;
}
.product-details {
  cursor: default;
}
.product-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}
.product-card p {
  margin: 0 0 1.1rem;
  color: #4b5563;
  line-height: 1.55;
  font-size: 0.98rem;
}
.product-card video {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.product-card.tall-media #product-image,
.product-card.tall-media video {
  height: 300px;
  border-radius: 14px;
}

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
                          Case Study Section
   ============================================================ */

.case-study-section {
  padding: 3.5rem 6vw 3rem;
}

.case-study-section h1 {
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.case-study-compare {
  position: relative;
  margin: 3rem auto 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  width: min(1200px, 95%);
}

.case-card {
  position: relative;
  padding: 2.5rem 2.25rem 2rem;
  border-radius: 28px;
  text-align: left;
  box-shadow: 0 0px 40px rgba(20, 24, 34, 0.3);
}

.case-card--rent {
  background: linear-gradient(to right, var(--neutral-soft)  0%, #f3f7ff 100%);
  color: #1f2937;
}

.case-card--ajax {
  background: linear-gradient(
    to right,
    var(--accent) 0%,
     var(--accent-light) 100%
  );
  color: #eaf2ff;
}

.case-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  color: #5b626f;
}

.case-card--ajax .case-card-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #dbeafe;
}

.case-card-title {
  margin: 1rem 0 0.35rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.case-card-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  opacity: 0.75;
}

.case-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: inherit;
}

.case-card--ajax .case-item {
  background: rgba(255, 255, 255, 0.14);
}

.case-item::before {
  content: "×";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  background: #fbd5d2;
  color: #b42318;
}

.case-card--ajax .case-item::before {
  content: "✓";
  background: #d1f2df;
  color: #0f7a44;
}

.case-value {
  font-size: 1rem;
  font-weight: 600;
}

.case-card-footer {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  color: #1f2937;
  font-weight: 600;
}

.case-card--ajax .case-card-footer {
  background: rgba(255, 255, 255, 0.16);
  color: #eaf2ff;
}

.case-card-footer strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 2.2rem;
  font-style: italic;
}

@media (max-width: 900px) {
  .case-study-section {
    padding: 3rem 5vw 4rem;
  }

  .case-study-compare {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-card-vs {
    position: static;
    transform: none;
    margin: -0.5rem auto 0.5rem;
  }

  .case-card {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .case-study-section h1 {
    line-height: 1;
  }
  .case-card {
    padding: 1.75rem;
  }
  .case-card-footer strong {
    font-size: 1.6rem;
  }
}
#comparison {
  border: none;
  background: transparent;
}



/* ============================================================
                          Quiz Section
   ============================================================ */
.quiz-section {
  padding: 0 0 5rem;
  background: #fff;
}
#colored-line {
  width: 100%;
  height: 30px;
  margin: 30px 0;
  background: linear-gradient(
    to right,
    #2596be 0%,
    color-mix(in srgb, var(--accent) 60%, black) 35%,
    var(--accent) 50%,
    color-mix(in srgb, var(--accent) 60%, black) 65%,
    #2596be 100%
  );
}

.quiz-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2.5rem 0 2.75rem;
  text-align: center;
}

.quiz-header .brand img {
  height: 90px;
}

.quiz-header h1 {
  margin: 0;
  margin-bottom: -20px;
  line-height: 1.5;
}
.quiz-header p {
  width: min(1100px, 92%);
}


.quiz-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}
.quiz-progress {
  display: grid;
  align-items: center;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  margin-bottom: 2.5rem;
}
.quiz-progress-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6e6e6;
}
.quiz-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, black 0 60%, var(--accent) 100% 100%);
  transition: width 0.3s ease;
}
.quiz-progress-count {
  font-weight: 700;
  color: #222;
}
.quiz-step {
  display: none;
}
.quiz-step.is-active {
  display: block;
}
.quiz-step h2 {
  margin: 0 0 2rem 0;
  font-size: 2rem;
  color: #222;
}
.quiz-options {
  display: grid;
  gap: 1.25rem;
}
.quiz-option {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 2px solid black;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  color: black;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.quiz-option:hover,
.quiz-option:focus {
  box-shadow: grey 0px 4px 15px 0px;
  transform: translateY(-2px);
}

.quiz-option:active {
  transform: translateY(1px);
}
.quiz-inputs {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.quiz-inputs input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #d9d9d9;
  border-radius: 1rem;
  font-size: 1rem;
}
.quiz-next {
  padding: 1rem 2.5rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: black;
  cursor: pointer;
}
.quiz-submit {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.quiz-step.is-invalid input {
  border-color: black;
  box-shadow: 0 0 0 3px rgba(230, 0, 35, 0.12);
}
#button-wrapper {
  width: 100%; 
  display: flex; 
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}
@media (max-width: 900px) {
  .quiz-step h2 {
    font-size: 1.6rem;
  }
  .quiz-option {
    font-size: 1rem;
  }
  .quiz-progress {
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }
  .quiz-progress-count {
    justify-self: end;
  }
}

@media (max-width: 600px) {
  .quiz-header h1 {
    font-size: 1.6rem;
    line-height: 1.35;
  }
  .quiz-header .brand img {
    margin-left: 10px;
  }
  .quiz-inputs input {
    font-size: 0.95rem;
  }
  .quiz-option {
    text-align: center;
  }
}



/* ============================================================
                          FAQ Section
   ============================================================ */
.faq-accordion {
  padding: 4rem 0;
  background: #fafafa;
}
.faq-inner {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 2fr;
  width: min(1300px, 92%);
  margin: 0 auto;
}
.faq-intro h2 {
  margin: 0 0 1rem 0;
  font-size: 2.2rem;
}
.faq-intro p {
  margin: 0;
  line-height: 1.6;
  color: #5a5a5a;
}
.faq-list {
  display: grid;
  gap: 0;
}
.faq-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.faq-item:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.faq-item summary {
  position: relative;
  padding-right: 2.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
}
.faq-item p {
  margin: 0.85rem 0 0 0;
  line-height: 1.6;
  color: #5a5a5a;
}
.faq-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.9rem 1.5rem;
  border: 3px solid black;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: black;
  background: white;
}
@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .faq-accordion {
    padding: 3rem 0;
    background:white;
  }
  .faq-inner {
    grid-template-columns: 1fr;
  }
  .faq-intro h2 {
    font-size: 1.7rem;
  }
  .faq-cta.btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}


/* ============================================================
                          Info Section
   ============================================================ */
.info-section {
  padding: 4rem 1rem 5rem;
  background: url("./assets/logo.svg") no-repeat center;
  background-size: min(1000px, 92%) auto;
}

.info-card {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 4rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  text-align: center;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
}

.info-card h2 {
  margin: 0 0 1.25rem 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.02em;
}

#cta-bg {
  background: white;
  border-radius: 999px;
  display: inline-block;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  padding-top: 4px;
  box-shadow: white 0px 0px 10px 0px;
}

#text-accent-cta {
  color: var(--accent);
  text-shadow: white -1px 0 1.5px;
}

@media (max-width: 900px) {
  .info-card {
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
  }
}

@media (max-width: 600px) {
  .info-section {
    padding: 3rem 1rem 4rem;
    background-size: 80% auto;
  }
  .info-card {
    padding: 2rem 1.25rem;
  }
}

/* ============================================================
                          Footer
   ============================================================ */
footer {
  padding: 3.5rem 0 2.5rem;
  color: #111;
  background: #fff;
}

.wrapper {
  width: min(1300px, 92%);
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  align-items: start;
  gap: 2.5rem;
  grid-template-columns: 1.2fr 1fr;
}

footer h2 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
}

.muted {
  line-height: 1.6;
  color: #444;
}

.small p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.card {
  display: grid;
  gap: 1rem;
  min-height: 220px;
  padding: 1.5rem;
  border: 2px solid #111;
  border-radius: 1.25rem;
  background: #fff;
}

#map {
  background: url("./assets/Karte.png") center / cover no-repeat;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-height: 50px;
  padding: 0.45rem 0.9rem;
  border: 2px solid white;
  border-radius: 999px;
  font-weight: 600;
  color: white;
  background: rgba(0, 0, 0, 0.35);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #111;
  font-size: 0.9rem;
  color: #222;
}
footer a {
 text-decoration: underline;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 2.5rem 0 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
                          Legal Section
   ============================================================ */
.legal-section {
  width: min(1100px, 92%);
  margin: 3.5rem auto 4.5rem;
  padding: 2.5rem 3rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.legal-section h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: #0f172a;
}
.legal-section p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #3f4a5a;
  white-space: pre-line;
}
.legal-section a {
  text-decoration: underline;
  color: var(--accent);
}
@media (max-width: 700px) {
  .legal-section {
    padding: 2rem 1.5rem;
  }
  .legal-section h1 {
    letter-spacing: 0.05rem;
  }
}
