body {
    margin: 0;
    font-family: 'Open Sans', Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif;
  }
  header, section, footer {
    width: 100%;
    box-sizing: border-box;
  }

  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
  }
  .navbar.transparent {
    background-color: transparent;
    box-shadow: none;
  }
  .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .navbar-brand img {
    max-height: 60px;
    height: auto;
    width: auto;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    color: black !important;
    font-family: brandon-grotesque, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif;
  }

  .hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-color: #fff;
    display: table;
    background-image: url('./static/hero.webp');
    width: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0rem;
  }

  @media screen and (orientation: portrait) {
  .hero {
    background-image: url('./static/hero_portrait.webp');
  }
}

  @media (max-width: 768px)/*  */ {
  .hero {
    height: 50vh; /* slightly taller, fills better */
    min-height: 320px;
    margin-bottom: 1rem;
  }

  .hero-text {
    top: 50%; /* instead of 60% */
  }
}

  .hero-text {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-25%, -50%);
  text-align: left;
  max-width: 600px;
  width: 100%;
  padding: 0 1rem; /* Add side padding so text isn't squished */
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .hero-text {
    top: 60%; /* push it lower so it clears the navbar */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 1rem;
  }

  .hero-text h1 {
    font-size: clamp(28px, 6vw, 64px);
  }

  .hero-text p {
    font-size: clamp(16px, 4vw, 24px);
    /* display: none; */
  }
  .fancy-divider {
  margin: 0 0.5rem;
  font-size: 1.5em;
  color: #999;
}
}

  .hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    color: #000;
    line-height: 120%;
    margin: 0 auto 25px 0;
    font-family: brandon-grotesque, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif;
  }

  .hero-text p,
  h2 {
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 26px;
    color: #000000;
    font-family: brandon-grotesque, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif;
    text-align: left;
  }

  section {
    position: relative;
    z-index: 2;
    background: white;
    scroll-margin-top: 100px;
    border-top: solid 1px #e4e4e4;
    isolation: isolate;
    overflow: hidden;
    padding: 4rem 1rem 4rem 1rem; /* ⬅️ more bottom padding */
  }

  section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 1);
    opacity: var(--dim-opacity, 0);
    pointer-events: none;
    transition: opacity 1.2s ease;
    z-index: 10;
  }
  section.dimmed::before {
    opacity: 1; /* fade in when dimmed */
  }

  .white {
    background: white;
  }

  .color2 {
    padding-top: 4rem;  /* or 3rem, depending on spacing needs */
    padding-bottom: 4rem;
    background: #e3edf1 ;
  }

  .color2 h2,
.color2 p {
  color: black;
}

  .center {
    max-width: 1000px;
    margin: 0 auto;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
  }

  .row.reverse {
    flex-direction: row-reverse;
  }

  .col {
    flex: 1 1 300px;
    position: relative;
  }

  .col img, .col iframe {
    width: 100%;
    height: auto;
  }

  p {
    color: #32325d;
    line-height: 1.5;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
  }

  h3 {
    text-transform: uppercase;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: left;
  }

  h4 {
    color: #fff;
    font-family: brandon-grotesque, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif;
    font-size: 45px;
    font-weight: 800;
    line-height: 50px;
    margin: 0 auto 25px 0;
    text-align: left;
  }

  .iframe-container {
    max-width: 600px;
    aspect-ratio: 3 / 2;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }

  .iframe-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    top: 0;
    left: 0;
  }

  .play-button {
    font-size: 3rem;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }

  footer {
    background-color: #6d5cd1;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  footer .center {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  footer h2,
  footer p {
    color: white;
    margin: 0.5rem 0;
    text-align: center;
  }
  
  footer .social {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .expand-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    display: none;
  }
  
  .iframe-container {
    position: relative;
  }
  
  .iframe-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
  }
  
  .iframe-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
  }
  
  .iframe-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    height: 90vh;
    transform: translate(-50%, -50%);
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  }
  
  .iframe-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .iframe-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 1;
  }
  
  body.modal-open {
    overflow: hidden;
  }
  .centered-text {
    text-align: center;
  }
  
  .centered-text h2,
  .centered-text p {
    text-align: center;
    margin: 0.5rem 0;
  }

  .slide-up {
    opacity: 0;
    transform: translateY(25%);
    transition: opacity 0s ease-out, transform 1.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
    position: relative;
    z-index: 0; /* ⬅️ behind the next section by default */
  }
  
  .slide-up.visible {
    opacity: 1;
    transform: translateY(0);
    z-index: 3; /* ⬅️ on top when animating in */
  }
  @media (max-width: 991.98px) { /* Matches Bootstrap's lg breakpoint */
    .navbar .navbar-collapse.collapse.show {
      background-color: white;
      padding: 1rem; /* Optional: add padding for cleaner look */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: add soft shadow */
    }
  }
img.slide-up {
  width: 75%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) and (orientation: portrait) {
  img.slide-up {
    max-width: 250px; /* or adjust as needed */
    width: 70%;       /* optional override to scale proportionally */
  }
}

.separate-1 {
  position: absolute;
  top: 0;
  max-width: 250px;
  transition: transform 1.2s ease;
}

.separate-2 {
  position: absolute;
  top: 0;
  max-width: 230px;
  transition: transform 2.8s ease;
}

@media (max-width: 768px) and (orientation: portrait) {
  .separate-1 {
    max-width: 180px; /* smaller for mobile portrait */
  }

  .separate-2 {
    max-width: 165px; /* adjust proportionally */
  }
}

/* Start state: overlap by 50% */
.separate-1 {
  left: 15%;
  z-index: 2;
}

.separate-2 {
  left: 0;
  z-index: 1;
}

/* When section is active: spread apart */
.section-active .separate-1 {
  transform: translateX(40px);
}

.section-active .separate-2 {
  transform: translateX(-30px);
}

.separate-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  aspect-ratio: 5 / 4;
  max-width: 500px;
  margin: 0 auto;
  height: 100%; /* Allow it to fill the col */
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  cursor: pointer;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  animation: bounce 2s infinite;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.6s ease;
}

.scroll-indicator.stopped {
  animation: none;
  opacity: 0.3;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}
/* The circular background */
.scroll-indicator .circle-bg {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8); /* adjust color/opacity as needed */
  border-radius: 50%;
  top: 0;
  left: 0;
  z-index: -1;
}

html {
  scroll-behavior: smooth;
}


@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.slide-up.shadow-soft {
  box-shadow: -8px 8px 20px rgba(0, 0, 0, 0.1); /* left and bottom */
}

#kontakt {
  scroll-margin-top: 100px; /* Adjust this to match your navbar height */
}

@media (max-width: 768px) and (orientation: portrait) {
  .separate-1,
  .separate-2 {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-active .separate-1 {
    transform: translateX(-10%); /* subtle outward shift from center */
  }

  .section-active .separate-2 {
    transform: translateX(-90%); /* subtle opposite shift from center */
  }
}

.iframe-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  object-position: center;
  pointer-events: none; /* Prevent it from blocking button clicks */
}
.expand-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: white;
  /* border: 1px solid #ccc; */
  /* border-radius: 6px; */
  /* padding: 0.2rem 0.5rem; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
  font-family: inherit;
  z-index: 3;
}

.expand-button .expand-text {
  font-size: 0.75rem;
  line-height: 1;
  transform: translateY(1px); /* adjust this if needed */
}

.expand-button .expand-icon {
  font-size: 2.4rem;
  line-height: 1;
}

@media (max-width: 991.98px) {
  /* Hamburger button */
  .navbar-toggler {
    background-color: white;
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  /* Expanded menu panel */
  .navbar .navbar-collapse.collapse.show {
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
  }
}

.navbar.transparent .nav-link {
  color: rgb(0, 0, 0) !important;
}

.navbar.scrolled .nav-link {
  color: black !important;
}

section:first-of-type {
  border-top: none;
}

section h2 {
  font-size: 32px;        /* larger main title */
  font-weight: 700;       /* bold */
  margin-bottom: 0.5rem;
}

section h3 {
  font-size: 20px;        /* larger subtitle */
  font-weight: 500;       /* semi-bold (adjust as needed) */
  margin-bottom: 1rem;
}

section p {
  margin-top: 1.5rem;   /* spacing above each paragraph */
  margin-bottom: 1.5rem; /* spacing below each paragraph */
  font-size: 20px;       /* optional: keep or adjust font size */
  line-height: 1.2;      /* improves readability */
}


.hero-text h1 {
  font-size: 72px;        /* Much larger */
  font-weight: 800;       /* Bold */
  color: rgb(0, 0, 0);           /* White text */
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); /* Optional: subtle glow for contrast */
}

.hero-text p {
  font-size: 28px;        /* Larger subtitle */
  color: rgb(0, 0, 0);
  text-align: center;
  font-weight: 400;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.3); /* Optional */
}

.mirrored {
  transform: scaleX(-1);
}
section.white:nth-of-type(2) {
  padding-top: 6rem;
}

/* Show dot by default, hide the <br> */
.fancy-divider {
  display: inline;
}

.portrait-only-break {
  display: none;
}

/* In portrait: hide dot, show <br> */
@media screen and (orientation: portrait) {
  .fancy-divider {
    display: none;
  }

  .portrait-only-break {
    display: inline;
  }
}

.scroll-indicator-inner {
  transform: scale(0.7);
  transform-origin: center;
}

.how-it-works {
  padding: 60px 15px;
  background-color: #f5f9fa;
}

.how-it-works h2 {
  text-align: center !important;
}

.step-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  max-width: 300px;
  flex: 1 1 280px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #6d5cd1;;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -24px;
  z-index: 2;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  width: 100%;
  text-align: center;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  text-align: center;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  padding-left: 1.5em; /* space for checkmark */
  position: relative;
}


.step-list li {
  position: relative;
  padding-left: 1em; /* space between checkmark and text */
  margin-bottom: 0.5em;
}

.step-list li::before {
  content: "✔";
  position: absolute;
  left: -1.5em;
  top: 0;
  color: #44cbf4;
  font-weight: bold;
}
