:root {
  --maglano-navy: #0B2547;
  --maglano-white: #FFFFFF;
  --maglano-text: #222831;
  --maglano-line: #CBD2DA;
  --maglano-muted: #68778A;
  --maglano-soft: #F5F8FC;
  --maglano-blue-soft: #EAF2FF;
  --maglano-action: #0E63E9;
  --container: 1180px;
  --shadow-soft: 0 18px 50px rgba(11, 37, 71, 0.10);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--maglano-text);
  background: var(--maglano-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(203, 210, 218, 0.58);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: clamp(176px, 18vw, 225px);
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 36px);
  color: var(--maglano-navy);
  font-size: 0.96rem;
  font-weight: 700;
}

.main-navigation a {
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation a:not(.nav-cta) {
  position: relative;
  padding-block: 12px;
}

.main-navigation a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--maglano-navy);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-navigation a:not(.nav-cta):hover::after,
.main-navigation a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 12px 20px;
  color: var(--maglano-white);
  background: var(--maglano-action);
  border: 1px solid var(--maglano-action);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(14, 99, 233, 0.18);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: clamp(54px, 6vw, 92px) 0 0;
  background:
    radial-gradient(circle at 83% 18%, rgba(14, 99, 233, 0.08), transparent 31%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 78%, #F6F9FE 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.52fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-block: 10px 34px;
}

.eyebrow {
  display: none;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--maglano-navy);
  font-size: clamp(2.65rem, 4.6vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
}

.hero h1 span + span {
  margin-top: 0.13em;
}

.hero-lead {
  max-width: 650px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  color: var(--maglano-text);
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  line-height: 1.65;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.store-link {
  display: block;
  border-radius: 10px;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.store-link img {
  width: auto;
  height: clamp(52px, 4.8vw, 64px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  align-self: end;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  right: 2%;
  bottom: 7%;
  width: 60%;
  height: 50%;
  content: "";
  background: rgba(14, 99, 233, 0.12);
  border-radius: 50%;
  filter: blur(54px);
}

.hero-visual__scene {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  transform: translate(-70px, -34px) scale(1.16);
  transform-origin: center right;
}

.hero-visual__bg {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.hero-visual__phone {
  position: absolute;
  right: -2%;
  bottom: -3%;
  width: min(37%, 360px);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(11, 37, 71, 0.18));
}

.benefits {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(14px, 2vw, 24px);
  padding-bottom: clamp(60px, 8vw, 96px);
}

.benefit {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(203, 210, 218, 0.86);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(11, 37, 71, 0.07);
}

.benefit img {
  width: 58px;
  height: 58px;
}

.benefit h2 {
  margin: 0;
  color: var(--maglano-navy);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.2;
}

.benefit p {
  margin: 6px 0 0;
  color: var(--maglano-muted);
  font-size: 0.91rem;
  line-height: 1.45;
}

.hero-wave {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -125px;
  left: -8%;
  height: 210px;
  background: #F5F8FC;
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
}

.hero-scribble {
  position: absolute;
  z-index: -2;
  width: 260px;
  height: 140px;
  opacity: 0.15;
  background:
    repeating-linear-gradient(
      -16deg,
      transparent 0 9px,
      rgba(14, 99, 233, 0.24) 10px 12px,
      transparent 13px 18px
    );
  border-radius: 50%;
  filter: blur(0.3px);
}

.hero-scribble--one {
  top: 45px;
  left: 34%;
  transform: rotate(-8deg);
}

.hero-scribble--two {
  right: -35px;
  bottom: 140px;
  transform: rotate(10deg);
}

.preview-marker {
  padding: 40px 0 70px;
  background: var(--maglano-soft);
  color: var(--maglano-muted);
  text-align: center;
}

.preview-marker p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .header-inner {
    min-height: 76px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--maglano-navy);
    background: var(--maglano-white);
    border: 1px solid var(--maglano-line);
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .menu-button__label {
    font-size: 0.92rem;
  }

  .menu-button__icon,
  .menu-button__icon::before,
  .menu-button__icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--maglano-navy);
    border-radius: 999px;
  }

  .menu-button__icon {
    position: relative;
  }

  .menu-button__icon::before,
  .menu-button__icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-button__icon::before {
    top: -7px;
  }

  .menu-button__icon::after {
    top: 7px;
  }

  .main-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--maglano-white);
    border: 1px solid var(--maglano-line);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  .main-navigation.is-open {
    display: grid;
  }

  .main-navigation a {
    padding: 13px 14px;
    border-radius: 10px;
  }

  .main-navigation a:not(.nav-cta)::after {
    display: none;
  }

  .main-navigation a:not(.nav-cta):hover {
    background: var(--maglano-soft);
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(430px, 1.16fr);
    gap: 20px;
  }

  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 15px;
  }

  .benefit img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-copy {
    padding-bottom: 8px;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(2.45rem, 11vw, 4rem);
    line-height: 1.01;
  }

  .hero-lead {
    max-width: 680px;
    margin-top: 22px;
    font-size: 1.03rem;
  }

  .store-links {
    margin-top: 24px;
  }

  .store-link img {
    height: 50px;
  }

  .hero-visual {
    margin-inline: -8px;
  }

  .hero-visual__bg {
    border-radius: 22px;
  }

  .hero-visual__phone {
    right: 1%;
    bottom: -1%;
    width: min(38%, 270px);
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
    padding-bottom: 76px;
  }

  .benefit {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 88px;
    padding: 15px 17px;
  }

  .benefit img {
    width: 56px;
    height: 56px;
  }

  .benefit p {
    font-size: 0.94rem;
  }

  .hero-scribble--one {
    top: 130px;
    left: 55%;
  }
}

@media (max-width: 460px) {
  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 166px;
  }

  .menu-button__label {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(2.28rem, 11.8vw, 3rem);
    letter-spacing: -0.04em;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .store-links {
    gap: 10px;
  }

  .store-link img {
    height: 45px;
  }

  .hero-visual {
    margin-top: 6px;
    margin-inline: -12px;
  }

  .benefit {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }

  .benefit img {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 460px) {
  .hero-visual__phone {
    width: min(42%, 210px);
    right: 1%;
    bottom: -1%;
  }
}


@media (max-width: 1020px) {
  .hero-visual__scene {
    transform: translate(-24px, -10px) scale(1.08);
  }
}

@media (max-width: 780px) {
  .hero-visual__scene {
    max-width: none;
    transform: none;
  }
}

@media (max-width: 460px) {
  .store-link img {
    height: 48px;
  }
}

/* Hero v0.2 – feste gemeinsame Oberkante */
@media (min-width: 781px) {
  .hero-grid {
    align-items: start;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    align-self: start;
    margin-top: 0;
  }

  .hero-visual__scene {
    width: calc(100% + 88px);
    max-width: none;
    margin-top: 0;
    margin-left: -88px;
    transform: none !important;
    transform-origin: initial;
  }
}

/* Etwas zurückhaltender auf kleineren Tablets */
@media (min-width: 781px) and (max-width: 1020px) {
  .hero-visual__scene {
    width: calc(100% + 42px);
    margin-left: -42px;
  }
}

/* Smartphone: sauber unter dem Text */
@media (max-width: 780px) {
  .hero-visual {
    margin-top: 18px;
  }

  .hero-visual__scene {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none !important;
  }
}

/* Hero v0.3 – Bild oben beschneiden + Smartphone präsenter */
@media (min-width: 781px) {
  .hero-grid {
    align-items: start;
  }

  .hero-visual {
    align-self: start;
    margin-top: 0;
  }

  .hero-visual__scene {
    width: calc(100% + 88px);
    margin-left: -88px;
    height: clamp(430px, 38vw, 610px);
    overflow: visible;
    border-radius: 28px;
    background: transparent;
  }

  .hero-visual__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
  }

  .hero-visual__phone {
    width: min(43%, 410px);
    right: -1%;
    bottom: -1%;
    transform: translateY(-48px);
    z-index: 3;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero-visual__scene {
    width: calc(100% + 42px);
    margin-left: -42px;
    height: clamp(380px, 42vw, 500px);
  }

  .hero-visual__bg {
    object-position: center 20%;
  }

  .hero-visual__phone {
    width: min(41%, 320px);
    transform: translateY(-30px);
  }
}

@media (max-width: 780px) {
  .hero-visual {
    margin-top: 18px;
  }

  .hero-visual__scene {
    overflow: visible;
    border-radius: 22px;
  }

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

  .hero-visual__phone {
    width: min(40%, 250px);
    right: 1%;
    bottom: 0;
    transform: translateY(-18px);
    z-index: 3;
  }
}

/* Hero v0.4 – Anpassung nach Vorlage Foto 2 */
@media (min-width: 781px) {
  .hero-grid {
    align-items: start;
  }

  .hero-visual {
    align-self: start;
    margin-top: 0;
  }

  .hero-visual__scene {
    width: calc(100% + 140px) !important;
    max-width: none !important;
    margin-left: -72px !important;
    margin-top: -72px !important;
    height: clamp(520px, 45vw, 720px) !important;
    overflow: visible;
    border-radius: 28px;
  }

  .hero-visual__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10% !important;
    display: block;
  }

  .hero-visual__phone {
    width: min(48%, 460px) !important;
    right: -2% !important;
    bottom: -8% !important;
    transform: none !important;
    z-index: 3;
  }

  .store-links {
    gap: 24px;
    margin-top: 34px;
  }

  .store-link img {
    width: auto;
    height: clamp(82px, 6.6vw, 108px) !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero-visual__scene {
    width: calc(100% + 80px) !important;
    margin-left: -36px !important;
    margin-top: -42px !important;
    height: clamp(430px, 46vw, 560px) !important;
  }

  .hero-visual__bg {
    object-position: center 12% !important;
  }

  .hero-visual__phone {
    width: min(45%, 360px) !important;
    bottom: -6% !important;
  }

  .store-link img {
    height: clamp(70px, 7vw, 88px) !important;
  }
}

@media (max-width: 780px) {
  .store-links {
    gap: 16px;
  }

  .store-link img {
    height: 68px !important;
  }

  .hero-visual {
    margin-top: 22px;
  }

  .hero-visual__scene {
    overflow: visible;
    border-radius: 22px;
  }

  .hero-visual__phone {
    width: min(43%, 280px) !important;
    right: 0 !important;
    bottom: -2% !important;
    transform: none !important;
  }
}

/* Hero v0.5 – Smartphone präsenter und sichtbarer Wellentrenner */
@media (min-width: 781px) {
  .hero-visual__scene {
    overflow: visible !important;
  }

  .hero-visual__bg {
    border-radius: 28px;
  }

  .hero-visual__phone {
    width: min(55%, 520px) !important;
    right: -5% !important;
    bottom: -12% !important;
    transform: scale(1.12) !important;
    transform-origin: bottom right;
    z-index: 6;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-wave {
    z-index: 1 !important;
    right: -8% !important;
    bottom: -145px !important;
    left: -8% !important;
    height: 225px !important;
    background: #F5F8FC !important;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0 !important;
    pointer-events: none;
  }

  .benefits {
    z-index: 5;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero-visual__phone {
    width: min(50%, 390px) !important;
    right: -3% !important;
    bottom: -9% !important;
    transform: scale(1.08) !important;
  }
}

@media (max-width: 780px) {
  .hero-visual__scene {
    overflow: visible !important;
  }

  .hero-visual__phone {
    width: min(46%, 300px) !important;
    right: -1% !important;
    bottom: -5% !important;
    transform: scale(1.05) !important;
    transform-origin: bottom right;
  }

  .hero-wave {
    z-index: 1 !important;
    bottom: -80px !important;
    height: 130px !important;
    background: #F5F8FC !important;
  }
}

/* Hero v0.6 – gesamte Bildszene weiter nach links */
@media (min-width: 1021px) {
  .hero-visual__scene {
    transform: translateX(-14%) !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero-visual__scene {
    transform: translateX(-8%) !important;
  }
}

@media (max-width: 780px) {
  .hero-visual__scene {
    transform: none !important;
  }
}

/* Hero v0.7 – breiter Titel, weiche Bildränder, Smartphone weiter rechts */
@media (min-width: 1021px) {
  .hero-copy {
    position: relative;
    z-index: 10;
  }

  .hero h1 {
    width: 150% !important;
    max-width: none !important;
    position: relative;
    z-index: 10;
  }

  .hero-visual {
    z-index: 2;
  }

  /* Nur die Landschaft läuft seitlich transparent aus */
  .hero-visual__bg {
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 9%,
        #000 91%,
        transparent 100%
      );
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 9%,
        #000 91%,
        transparent 100%
      );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  /* Smartphone unabhängig von der Landschaft weiter rechts */
  .hero-visual__phone {
    right: -13% !important;
    z-index: 12 !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero h1 {
    width: 125% !important;
    max-width: none !important;
  }

  .hero-visual__bg {
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 94%,
        transparent 100%
      );
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 94%,
        transparent 100%
      );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  .hero-visual__phone {
    right: -8% !important;
  }
}

@media (max-width: 780px) {
  .hero h1 {
    width: 100% !important;
  }

  .hero-visual__bg {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-visual__phone {
    right: -2% !important;
  }
}

/* Hero v0.8 – Bild 5% weiter links, Buttons immer in einer Reihe,
   unten weicher Auslauf, Benefit-Hinweise kompakter */

.store-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
}

.store-link {
  flex: 0 0 auto !important;
}

.store-link img {
  display: block;
  width: auto;
}

@media (min-width: 1021px) {
  /* Nur das Landschaftsbild weiter nach links, Smartphone bleibt stehen */
  .hero-visual__bg {
    transform: translateX(-5%) scale(1.06) !important;
    transform-origin: center center !important;
  }

  /* Weicher Auslauf nach unten */
  .hero-visual__scene::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28%;
    background: linear-gradient(
      to bottom,
      rgba(245, 248, 252, 0) 0%,
      rgba(245, 248, 252, 0.72) 62%,
      #F5F8FC 100%
    );
    pointer-events: none;
    z-index: 3;
  }

  /* 3 Hinweise kompakter wie in der Vorlage */
  .benefits {
    gap: 18px !important;
    margin-top: 20px !important;
  }

  .benefits > * {
    padding: 16px 18px !important;
    border-radius: 18px !important;
    min-height: 0 !important;
  }

  .benefits h3 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
    margin: 0 0 4px !important;
  }

  .benefits p {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }

  .benefits img,
  .benefits svg {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero-visual__bg {
    transform: translateX(-4%) scale(1.04) !important;
    transform-origin: center center !important;
  }

  .hero-visual__scene::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24%;
    background: linear-gradient(
      to bottom,
      rgba(245, 248, 252, 0) 0%,
      rgba(245, 248, 252, 0.72) 60%,
      #F5F8FC 100%
    );
    pointer-events: none;
    z-index: 3;
  }

  .benefits {
    gap: 16px !important;
  }

  .benefits > * {
    padding: 15px 16px !important;
    min-height: 0 !important;
  }

  .benefits h3 {
    font-size: 0.98rem !important;
    margin: 0 0 4px !important;
  }

  .benefits p {
    font-size: 0.88rem !important;
    line-height: 1.34 !important;
  }

  .benefits img,
  .benefits svg {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 780px) {
  /* Buttons immer in einer Reihe, auf Mobile etwas kompakter */
  .store-links {
    gap: 10px !important;
  }

  .store-link img {
    height: 50px !important;
    width: auto !important;
  }

  .hero-visual__scene::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18%;
    background: linear-gradient(
      to bottom,
      rgba(245, 248, 252, 0) 0%,
      rgba(245, 248, 252, 0.78) 62%,
      #F5F8FC 100%
    );
    pointer-events: none;
    z-index: 3;
  }

  .benefits > * {
    padding: 14px 16px !important;
    min-height: 0 !important;
  }

  .benefits h3 {
    font-size: 0.98rem !important;
    margin: 0 0 4px !important;
  }

  .benefits p {
    font-size: 0.88rem !important;
    line-height: 1.34 !important;
  }

  .benefits img,
  .benefits svg {
    width: 30px !important;
    height: 30px !important;
  }
}

/* Hero v0.9 – kompakte Vorteile und integrierter Wellentrenner */

.hero {
  padding-bottom: 0 !important;
}

/* Vorteile näher an der ursprünglichen Vorlage */
.benefits {
  position: relative;
  z-index: 6;
  gap: 30px !important;
  margin-top: 20px !important;
  padding-bottom: 76px !important;
}

.benefit {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;

  min-height: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.benefit img {
  width: 38px !important;
  height: 38px !important;
}

.benefit h2 {
  margin: 0 !important;
  color: #0B2547 !important;
  font-size: 0.94rem !important;
  line-height: 1.18 !important;
}

.benefit p {
  margin: 4px 0 0 !important;
  color: #68778A !important;
  font-size: 0.79rem !important;
  line-height: 1.3 !important;
}

/* Deutlichere, responsive Welle */
.hero-wave {
  display: block !important;
  position: absolute !important;
  z-index: 2 !important;

  right: -12% !important;
  bottom: -92px !important;
  left: -12% !important;

  width: auto !important;
  height: 180px !important;

  background: #F5F8FC !important;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0 !important;
  transform: rotate(-0.7deg) !important;
  pointer-events: none;
}

/* zweite weiche Wellenebene */
.hero-wave::before {
  content: "";
  position: absolute;

  right: -4%;
  bottom: 34px;
  left: -4%;

  height: 128px;

  background: rgba(234, 242, 255, 0.55);
  border-radius: 48% 52% 0 0 / 100% 100% 0 0;
  transform: rotate(1.2deg);
}

.preview-marker {
  padding-top: 92px !important;
}

@media (max-width: 780px) {
  .benefits {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-bottom: 66px !important;
  }

  .benefit {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    padding: 13px 0 !important;
    border-top: 1px solid rgba(203, 210, 218, 0.7) !important;
  }

  .benefit:first-child {
    border-top: 0 !important;
  }

  .benefit img {
    width: 40px !important;
    height: 40px !important;
  }

  .benefit h2 {
    font-size: 1rem !important;
  }

  .benefit p {
    font-size: 0.88rem !important;
  }

  .hero-wave {
    bottom: -62px !important;
    height: 120px !important;
  }

  .hero-wave::before {
    bottom: 22px;
    height: 86px;
  }

  .preview-marker {
    padding-top: 66px !important;
  }
}

/* Hero v0.9 – kompakte Vorteile und integrierter Wellentrenner */

.hero {
  padding-bottom: 0 !important;
}

/* Vorteile näher an der ursprünglichen Vorlage */
.benefits {
  position: relative;
  z-index: 6;
  gap: 30px !important;
  margin-top: 20px !important;
  padding-bottom: 76px !important;
}

.benefit {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;

  min-height: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.benefit img {
  width: 38px !important;
  height: 38px !important;
}

.benefit h2 {
  margin: 0 !important;
  color: #0B2547 !important;
  font-size: 0.94rem !important;
  line-height: 1.18 !important;
}

.benefit p {
  margin: 4px 0 0 !important;
  color: #68778A !important;
  font-size: 0.79rem !important;
  line-height: 1.3 !important;
}

/* Deutlichere, responsive Welle */
.hero-wave {
  display: block !important;
  position: absolute !important;
  z-index: 2 !important;

  right: -12% !important;
  bottom: -92px !important;
  left: -12% !important;

  width: auto !important;
  height: 180px !important;

  background: #F5F8FC !important;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0 !important;
  transform: rotate(-0.7deg) !important;
  pointer-events: none;
}

/* zweite weiche Wellenebene */
.hero-wave::before {
  content: "";
  position: absolute;

  right: -4%;
  bottom: 34px;
  left: -4%;

  height: 128px;

  background: rgba(234, 242, 255, 0.55);
  border-radius: 48% 52% 0 0 / 100% 100% 0 0;
  transform: rotate(1.2deg);
}

.preview-marker {
  padding-top: 92px !important;
}

@media (max-width: 780px) {
  .benefits {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-bottom: 66px !important;
  }

  .benefit {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    padding: 13px 0 !important;
    border-top: 1px solid rgba(203, 210, 218, 0.7) !important;
  }

  .benefit:first-child {
    border-top: 0 !important;
  }

  .benefit img {
    width: 40px !important;
    height: 40px !important;
  }

  .benefit h2 {
    font-size: 1rem !important;
  }

  .benefit p {
    font-size: 0.88rem !important;
  }

  .hero-wave {
    bottom: -62px !important;
    height: 120px !important;
  }

  .hero-wave::before {
    bottom: 22px;
    height: 86px;
  }

  .preview-marker {
    padding-top: 66px !important;
  }
}


/* Hero v1.2 – veröffentlichungsfähiger Stand vom 06.08.2026 */

.store-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 18px !important;
}

.store-link {
  display: grid !important;
  flex: 0 0 auto !important;
  justify-items: center !important;
  gap: 7px !important;

  color: #68778A !important;
  text-decoration: none !important;
  cursor: default !important;
  pointer-events: none !important;
}

.store-link img {
  display: block !important;
  width: auto !important;
}

.store-status {
  display: block;
  color: #68778A;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

/* Desktop */
@media (min-width: 1021px) {
  /* Landschaft etwa 10 % kleiner, Position nach links bleibt erhalten */
  .hero-visual__bg {
    transform: translateX(0%) scale(0.95) !important;
    transform-origin: center center !important;
  }

  /* Smartphone etwa 5 % kleiner und 5 Prozentpunkte höher */
  .hero-visual__phone {
    width: min(44.7%, 409px) !important;
    bottom: -7% !important;
  }

  .store-link img {
    height: 64px !important;
  }
}

/* Tablet */
@media (min-width: 781px) and (max-width: 1020px) {
  .hero-visual__bg {
    transform: translateX(1%) scale(0.94) !important;
    transform-origin: center center !important;
  }

  .hero-visual__phone {
    width: min(42%, 323px) !important;
    bottom: -4% !important;
  }

  .store-link img {
    height: 56px !important;
  }
}

/* Smartphone */
@media (max-width: 780px) {
  .store-links {
    gap: 10px !important;
  }

  .store-link img {
    height: 46px !important;
  }

  .store-status {
    font-size: 0.7rem;
  }

  .hero-visual__phone {
    width: min(39%, 238px) !important;
    bottom: 0 !important;
  }
}

/* Der frühere provisorische Folgehinweis bleibt sicher entfernt */
.preview-marker {
  display: none !important;
}

/* === HERO FINAL FINETUNE START === */

/* Bild 5% nach links */
.hero-visual__scene {
  transform: translateX(-10%) scale(0.90) !important;
  transform-origin: center center !important;
  position: relative !important;
  z-index: 1 !important;

  /* Bild sauber nach rechts/links/unten auslaufen lassen */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-size: 100% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-in;

  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-size: 100% 100%, 100% 100%;
  mask-repeat: no-repeat, no-repeat;
  mask-composite: intersect;
}

/* Smartphone unverändert lassen – falls gewünscht später separat */
.hero-visual__phone {
  position: absolute !important;
  z-index: 20 !important;
  pointer-events: none !important;
}

/* Store Buttons immer auf einer Reihe */
.store-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 18px !important;
}

.store-link {
  flex: 0 0 auto !important;
}

/* Benefit-Bereich links unter App-Buttons als kompakte Liste */
.hero-benefits,
.benefit-strip,
.trust-strip,
.hero-trust {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: min(560px, 100%) !important;
  margin: 24px 0 0 0 !important;
  padding: 0 !important;
  justify-items: start !important;
  align-items: start !important;
}

.hero-benefit,
.benefit-item,
.trust-item {
  display: grid !important;
  grid-template-columns: 46px 1fr !important;
  gap: 14px !important;
  align-items: start !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  padding: 0 !important;
  min-height: auto !important;
  width: 100% !important;
}

.hero-benefit__icon,
.benefit-item__icon,
.trust-item__icon {
  width: 46px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-benefit__content,
.benefit-item__content,
.trust-item__content {
  display: block !important;
}

.hero-benefit h3,
.benefit-item h3,
.trust-item h3,
.hero-benefit__title,
.benefit-item__title,
.trust-item__title {
  margin: 0 0 3px 0 !important;
  font-size: 1rem !important;
  line-height: 1.15 !important;
  color: #0B2547 !important;
}

.hero-benefit p,
.benefit-item p,
.trust-item p,
.hero-benefit__text,
.benefit-item__text,
.trust-item__text {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  color: #68778A !important;
}

/* Auf Mobile alles wieder normal untereinander lassen */
@media (max-width: 780px) {
  .hero-visual__scene {
    transform: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .hero-benefits,
  .benefit-strip,
  .trust-strip,
  .hero-trust {
    width: 100% !important;
    margin-top: 22px !important;
  }

  .hero-benefit,
  .benefit-item,
  .trust-item {
    grid-template-columns: 42px 1fr !important;
    gap: 12px !important;
  }

  .store-links {
    gap: 12px !important;
  }
}

/* === HERO FINAL FINETUNE END === */

/* --- Finaler Hero-Feinschliff: Smartphone 5% nach links + komplett im Vordergrund --- */
.hero-visual {
  position: relative;
  overflow: visible !important;
  isolation: isolate;
}

.hero-visual__scene {
  position: relative;
  z-index: 1 !important;
}

.hero-visual__phone {
  position: absolute !important;
  z-index: 50 !important;
  translate: -5% 0 !important;
  filter: drop-shadow(0 18px 36px rgba(11, 37, 71, 0.22)) !important;
}

/* FINAL FIX – Transparenz nur Landschaft, Smartphone vollständig klar */

.hero-visual,
.hero-visual__scene {
  overflow: visible !important;
  opacity: 1 !important;

  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

/* Eventuelle Aufhellungs-Overlays vollständig ausschalten */
.hero-visual__scene::after,
.hero-visual::after {
  display: none !important;
}

/* Nur die Landschaft weich auslaufen lassen */
.hero-visual__bg {
  opacity: 1 !important;

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 9%,
      #000 91%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      #000 0%,
      #000 72%,
      transparent 100%
    ) !important;

  -webkit-mask-size: 100% 100%, 100% 100% !important;
  -webkit-mask-repeat: no-repeat, no-repeat !important;
  -webkit-mask-composite: source-in !important;

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 9%,
      #000 91%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      #000 0%,
      #000 72%,
      transparent 100%
    ) !important;

  mask-size: 100% 100%, 100% 100% !important;
  mask-repeat: no-repeat, no-repeat !important;
  mask-composite: intersect !important;
}

/* Smartphone komplett unabhängig und ganz vorne */
.hero-visual__phone {
  position: absolute !important;
  z-index: 999 !important;

  opacity: 1 !important;
  mix-blend-mode: normal !important;

  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;

  filter: drop-shadow(0 18px 36px rgba(11, 37, 71, 0.20)) !important;
}

/* Finaler Smartphone-Stand: 5% links + 5% höher */
.hero-visual__phone {
  translate: -5% -5% !important;
}

/* Finaler Store-Button-Feinschliff:
   20% grösser + um eine Buttonhöhe nach oben */

@media (min-width: 1021px) {
  .store-link img {
    height: 77px !important; /* vorher 64px = +20% */
  }

  .store-links {
    position: relative !important;
    top: -77px !important;
    margin-bottom: -77px !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .store-link img {
    height: 67px !important; /* vorher 56px = +20% */
  }

  .store-links {
    position: relative !important;
    top: -67px !important;
    margin-bottom: -67px !important;
  }
}

@media (max-width: 780px) {
  .store-link img {
    height: 55px !important; /* vorher 46px = +20% */
  }

  .store-links {
    position: relative !important;
    top: -55px !important;
    margin-bottom: -55px !important;
  }
}

/* Store-Buttons 50% einer Buttonhöhe wieder nach unten */

@media (min-width: 1021px) {
  .store-links {
    top: -38px !important;
    margin-bottom: -38px !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .store-links {
    top: -34px !important;
    margin-bottom: -34px !important;
  }
}

@media (max-width: 780px) {
  .store-links {
    top: -28px !important;
    margin-bottom: -28px !important;
  }
}

/* Store-Buttons 50% einer Buttonhöhe wieder nach unten */

@media (min-width: 1021px) {
  .store-links {
    top: -38px !important;
    margin-bottom: -38px !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .store-links {
    top: -34px !important;
    margin-bottom: -34px !important;
  }
}

@media (max-width: 780px) {
  .store-links {
    top: -28px !important;
    margin-bottom: -28px !important;
  }
}

/* Einleitungstext unter dem Hero-Titel ca. 10% breiter */

@media (min-width: 1021px) {
  .hero-lead {
    max-width: 715px !important;
    width: 110% !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero-lead {
    width: 108% !important;
    max-width: 680px !important;
  }
}

@media (max-width: 780px) {
  .hero-lead {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Hero-Einleitung wieder 4% schmaler */

@media (min-width: 1021px) {
  .hero-lead {
    width: 106% !important;
    max-width: 690px !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .hero-lead {
    width: 104% !important;
    max-width: 655px !important;
  }
}

/* 3er Benefit-Gruppe ca. 70% schmaler */

@media (min-width: 1021px) {
  .benefits {
    width: 30% !important;
    min-width: 330px !important;
    max-width: 410px !important;

    grid-template-columns: 1fr !important;
    gap: 10px !important;

    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .benefits {
    width: 42% !important;
    min-width: 320px !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 780px) {
  .benefits {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

/* === Benefit-Gruppe kompakt im gemeinsamen Rahmen === */

.benefits {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;

  width: 460px !important;
  max-width: 100% !important;

  margin-top: 18px !important;
  padding: 16px 18px !important;

  border: 3px solid #111111 !important;
  border-radius: 16px !important;
  background: #ffffff !important;

  align-items: center !important;
}

.benefit,
.benefits .benefit-item,
.benefits .benefit-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  padding: 0 !important;
  margin: 0 !important;
  min-height: auto !important;

  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.benefit img,
.benefit svg,
.benefits .benefit-item img,
.benefits .benefit-item svg,
.benefits .benefit-card img,
.benefits .benefit-card svg {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
}

.benefit h3,
.benefit .benefit-title,
.benefits .benefit-item h3,
.benefits .benefit-item .benefit-title,
.benefits .benefit-card h3,
.benefits .benefit-card .benefit-title {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: #0B2547 !important;
}

/* Beschreibungstexte ausblenden */
.benefit p,
.benefit small,
.benefit .benefit-text,
.benefit .benefit-description,
.benefits .benefit-item p,
.benefits .benefit-item small,
.benefits .benefit-item .benefit-text,
.benefits .benefit-item .benefit-description,
.benefits .benefit-card p,
.benefits .benefit-card small,
.benefits .benefit-card .benefit-text,
.benefits .benefit-card .benefit-description {
  display: none !important;
}

/* Tablet / Mobile */
@media (max-width: 900px) {
  .benefits {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
}

/* FINAL – 3er-Gruppe leicht und rahmenlos */

.hero-copy .benefits {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;

  width: 460px !important;
  max-width: 100% !important;

  margin-top: 20px !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero-copy .benefit {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;

  gap: 6px !important;
  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hero-copy .benefit img,
.hero-copy .benefit svg {
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
}

.hero-copy .benefit h2,
.hero-copy .benefit h3 {
  margin: 0 !important;
  padding: 0 !important;

  max-width: 105px !important;

  color: #0B2547 !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

/* Beschreibung weiterhin ausblenden */
.hero-copy .benefit p {
  display: none !important;
}

/* Auch eventuell alte Rahmenregeln sicher überschreiben */
.hero-copy .benefits,
.hero-copy .benefits::before,
.hero-copy .benefits::after {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 780px) {
  .hero-copy .benefits {
    width: 100% !important;
    gap: 14px !important;
  }

  .hero-copy .benefit {
    align-items: center !important;
  }

  .hero-copy .benefit h2,
  .hero-copy .benefit h3 {
    font-size: 0.74rem !important;
    text-align: center !important;
  }
}

/* FINAL – Benefit-Icons und Titel je Gruppe zentriert, Titel max. 2 Zeilen */

.hero-copy .benefits {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;

  width: 460px !important;
  max-width: 100% !important;

  margin-top: 20px !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hero-copy .benefit {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 7px !important;

  padding: 0 !important;
  margin: 0 !important;

  text-align: center !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hero-copy .benefit img,
.hero-copy .benefit svg {
  width: 30px !important;
  height: 30px !important;

  margin: 0 auto !important;
}

.hero-copy .benefit h2,
.hero-copy .benefit h3 {
  margin: 0 auto !important;
  padding: 0 !important;

  width: 110px !important;
  max-width: 110px !important;

  color: #0B2547 !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-align: center !important;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* Beschreibungen bleiben ausgeblendet */
.hero-copy .benefit p {
  display: none !important;
}

@media (max-width: 780px) {
  .hero-copy .benefits {
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-copy .benefit h2,
  .hero-copy .benefit h3 {
    width: 96px !important;
    max-width: 96px !important;
    font-size: 0.74rem !important;
  }
}

/* Store-Badges nochmals +20% */

@media (min-width: 1021px) {
  .store-link img {
    height: 92px !important;
  }
}

@media (min-width: 781px) and (max-width: 1020px) {
  .store-link img {
    height: 80px !important;
  }
}

@media (max-width: 780px) {
  .store-link img {
    height: 66px !important;
  }
}

.store-links {
  flex-wrap: nowrap !important;
}

/* FINAL LIVE – Headerlogo kompakt */
.site-header {
  min-height: 88px !important;
}

.header-inner {
  min-height: 88px !important;
}

.brand img {
  width: auto !important;
  height: 76px !important;
  max-width: 210px !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .brand img {
    height: 60px !important;
    max-width: 170px !important;
  }
}

/* FINAL MOBILE FIX – Hero auf iPhone vollständig sichtbar */
@media (max-width: 680px) {

  .hero {
    overflow: hidden !important;
  }

  .hero-visual {
    min-height: 560px !important;
    overflow: visible !important;
  }

  .landscape-art {
    inset: 10px 10px 35px -20px !important;
  }

  .landscape-art img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .phone {
    top: 35px !important;
    right: 4px !important;
    width: 205px !important;
  }

  .hero-wave {
    bottom: -1px !important;
    height: 80px !important;
  }
}

/* =========================================================
   FINAL CLEANUP – keine hellblauen Hero-Rechtecke/Schleier
   ========================================================= */

.hero {
  background: #FFFFFF !important;
}

.hero::before,
.hero::after,
.hero-visual::before,
.hero-visual::after,
.hero-visual__scene::before,
.hero-visual__scene::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
}

.hero-grid,
.hero-copy,
.hero-visual,
.hero-visual__scene {
  background: transparent !important;
}

/* Landschaft selbst darf weich auslaufen */
.hero-visual__bg {
  background: transparent !important;
}

/* Smartphone bleibt komplett klar im Vordergrund */
.hero-visual__phone {
  opacity: 1 !important;
  filter: none;
  z-index: 50 !important;
}

/* Mobile ebenfalls vollständig weiss hinter dem Hero */
@media (max-width: 680px) {
  .hero,
  .hero-grid,
  .hero-copy,
  .hero-visual,
  .hero-visual__scene {
    background: #FFFFFF !important;
  }

  .hero-visual::before,
  .hero-visual::after,
  .hero-visual__scene::before,
  .hero-visual__scene::after {
    content: none !important;
    display: none !important;
  }
}

/* =========================================================
   FINAL WAVE OPTIMIZATION
   Desktop kompakter / Mobile direkt unter Hero-Bild
   ========================================================= */

/* Desktop */
.hero-wave {
  height: 64px !important;
  min-height: 64px !important;
  bottom: 0 !important;
}

/* zweite, helle Wellenebene ebenfalls dezenter */
.hero-wave::before {
  height: 30px !important;
  opacity: 0.55 !important;
}

/* Tablet */
@media (max-width: 900px) {
  .hero-wave {
    height: 50px !important;
    min-height: 50px !important;
  }

  .hero-wave::before {
    height: 24px !important;
  }
}

/* Smartphone */
@media (max-width: 680px) {

  /*
   * Der bisherige Wert von ca. 560px erzeugt den grossen
   * Leerraum unter Landschaft und Smartphone.
   */
  .hero-visual {
    min-height: 440px !important;
    height: 440px !important;
  }

  .hero-grid {
    padding-bottom: 45px !important;
  }

  .hero-wave {
    height: 38px !important;
    min-height: 38px !important;
    bottom: 0 !important;
  }

  .hero-wave::before {
    height: 18px !important;
    opacity: 0.48 !important;
  }
}

/* iPhone SE / sehr kleine Geräte */
@media (max-width: 390px) {
  .hero-visual {
    min-height: 420px !important;
    height: 420px !important;
  }

  .hero-wave {
    height: 34px !important;
    min-height: 34px !important;
  }
}

/* =========================================================
   FINAL MAGLANO SVG-WAVE
   ========================================================= */

.hero-wave {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;

  width: 100% !important;
  height: 78px !important;
  min-height: 0 !important;

  background: url("../images/hero/hero-wave.svg")
              center bottom / 100% 100%
              no-repeat !important;

  z-index: 20 !important;
  pointer-events: none !important;
}

.hero-wave::before,
.hero-wave::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Mobile: kompakte Welle direkt unter der Illustration */
@media (max-width: 680px) {
  .hero-wave {
    height: 46px !important;
  }
}

@media (max-width: 390px) {
  .hero-wave {
    height: 42px !important;
  }
}

/* =========================================================
   HERO WAVE – feine Linie statt grosser Fläche
   ========================================================= */

.hero-wave {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;

  width: 100% !important;
  height: 34px !important;

  background: url("../images/hero/hero-wave.svg")
              center bottom / 100% 100%
              no-repeat !important;

  z-index: 20 !important;
  pointer-events: none !important;
}

/* alte Zusatzflächen vollständig abschalten */
.hero-wave::before,
.hero-wave::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Desktop: weniger Platz unter dem Hero */
.hero-section,
.hero {
  overflow: hidden !important;
}

/* Tablet */
@media (max-width: 980px) {
  .hero-wave {
    height: 26px !important;
  }
}

/* Mobile: noch flacher und näher am Inhalt */
@media (max-width: 680px) {
  .hero-wave {
    height: 18px !important;
    bottom: 0 !important;
  }
}

/* kleine Geräte */
@media (max-width: 390px) {
  .hero-wave {
    height: 16px !important;
  }
}

/* === FINAL MOBILE WAVE V3 START === */

.hero-wave {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: url("../images/hero/hero-wave.svg") center bottom / 100% 100% no-repeat !important;
  pointer-events: none !important;
  z-index: 20 !important;
}

.hero-wave::before,
.hero-wave::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

@media (max-width: 680px) {
  .hero {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
  }

  .hero-grid {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .hero-visual {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-visual__scene,
  .hero-visual__bg {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-wave {
    height: 64px !important;
    bottom: -1px !important;
  }
}

@media (max-width: 390px) {
  .hero-visual {
    height: 475px !important;
    min-height: 475px !important;
    max-height: 475px !important;
  }

  .hero-wave {
    height: 60px !important;
  }
}

/* === FINAL MOBILE WAVE V3 END === */


/* === FINAL HERO WAVE V4 START === */
/*
  Finale Maglano-Welle:
  - Ränder beginnen höher
  - nach links/rechts innen leicht tiefer
  - in der Mitte wieder höher
  - sehr schmaler, ruhiger Hellblau-Weiss-Auslauf
*/

.hero-wave {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;

  width: 100% !important;
  height: 56px !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: url("../images/hero/hero-wave.svg") center bottom / 100% 100% no-repeat !important;

  pointer-events: none !important;
  z-index: 20 !important;
}

.hero-wave::before,
.hero-wave::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  .hero-wave {
    height: 44px !important;
  }
}

@media (max-width: 640px) {
  .hero-wave {
    height: 34px !important;
  }
}

@media (max-width: 480px) {
  .hero-wave {
    height: 24px !important;
  }
}
/* === FINAL HERO WAVE V4 END === */

/* === FINAL MOBILE HERO SPACING START === */

/*
 * Mobile Feinschliff:
 * Landschaft + Smartphone bleiben unverändert im Stil.
 * Nur der unnötig hohe Container unter dem Bild wird verkürzt,
 * damit die Wellenlinie direkt nach dem Hero folgt.
 */

@media (max-width: 680px) {

  .hero {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 22px !important;
  }

  .hero-grid {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-visual {
    position: relative !important;

    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;

    margin-top: 14px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-visual__scene {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-visual__bg,
  .hero-visual__phone {
    margin-bottom: 0 !important;
  }

  /*
   * Die bestehende, jetzt perfekte Welle bleibt unverändert.
   * Sie sitzt lediglich am neuen unteren Hero-Ende.
   */
  .hero-wave {
    bottom: -1px !important;
  }
}


/* iPhone SE / sehr schmale Displays */
@media (max-width: 390px) {

  .hero-visual {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }
}

/* === FINAL MOBILE HERO SPACING END === */

/* === HERO STORE BADGES FINAL SMALL START === */

/*
 * Finale Hero-Store-Badges
 *
 * SVG bleibt erhalten -> gestochen scharf.
 * Nur die Darstellung wird kompakter.
 */

.store-links {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;

  gap: 22px !important;

  width: auto !important;
  max-width: 100% !important;
}


.store-link {
  display: block !important;

  flex: 0 0 auto !important;

  width: auto !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;
}


.store-link img {
  display: block !important;

  height: auto !important;
  max-height: none !important;

  object-fit: contain !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

/* App Store */
.store-link:nth-child(1) img {
  width: 165px !important;
  max-width: 165px !important;
}

/* Google Play */
.store-link:nth-child(2) img {
  width: 180px !important;
  max-width: 180px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .store-links {
    gap: 18px !important;
  }

  .store-link:nth-child(1) img {
    width: 155px !important;
    max-width: 155px !important;
  }

  .store-link:nth-child(2) img {
    width: 169px !important;
    max-width: 169px !important;
  }

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 680px) {

  .store-links {
    gap: 14px !important;
  }

  .store-link:nth-child(1) img {
    width: 140px !important;
    max-width: 140px !important;
  }

  .store-link:nth-child(2) img {
    width: 152px !important;
    max-width: 152px !important;
  }

}


/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 390px) {

  .store-links {
    gap: 10px !important;
  }

  .store-link:nth-child(1) img {
    width: 128px !important;
    max-width: 128px !important;
  }

  .store-link:nth-child(2) img {
    width: 139px !important;
    max-width: 139px !important;
  }

}

/* === HERO STORE BADGES FINAL SMALL END === */

/* === FINAL HERO TEXT STORE FLOW START === */

/*
 * Hero Text -> Store Badges
 *
 * Der aktuelle HTML-Aufbau ist:
 *
 * h1
 * .hero-lead
 * .store-links
 *
 * Deshalb wird der Abstand direkt zwischen
 * .hero-lead und .store-links definiert.
 */


/* ---------------------------------------------------------
   BESCHREIBUNG
   --------------------------------------------------------- */

.hero-copy > .hero-lead {
  position: static !important;

  display: block !important;

  overflow: visible !important;

  max-height: none !important;

  transform: none !important;

  margin-bottom: 22px !important;
}


/* ---------------------------------------------------------
   STORE-BEREICH
   Alte Positionierungsregeln ausdrücklich neutralisieren
   --------------------------------------------------------- */

.hero-copy > .store-links {
  position: static !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  inset: auto !important;

  transform: none !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  clear: both !important;

  align-self: auto !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .hero-copy > .hero-lead {
    margin-bottom: 21px !important;
  }

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 680px) {

  .hero-copy > .hero-lead {
    margin-bottom: 20px !important;
  }

}


/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 390px) {

  .hero-copy > .hero-lead {
    margin-bottom: 18px !important;
  }

}

/* === FINAL HERO TEXT STORE FLOW END === */


/* === FOOTER LOGO COMPACT FIX START === */

/* Fusszeile etwas kompakter + Logo leicht nach oben */
.site-footer,
.footer,
footer.site-footer {
  position: relative;
}

.site-footer .footer-main,
.footer .footer-main,
.site-footer .footer-inner,
.footer .footer-inner,
.site-footer .footer-grid,
.footer .footer-grid {
  align-items: start !important;
}

/* Linke Brand-Spalte kompakter */
.site-footer .footer-brand,
.footer .footer-brand,
.site-footer .brand-column,
.footer .brand-column,
.site-footer .footer__brand,
.footer .footer__brand {
  margin-top: -18px !important;
  padding-top: 0 !important;
  align-self: start !important;
}

/* Logo/Schiff leicht nach oben */
.site-footer .footer-brand img,
.footer .footer-brand img,
.site-footer .brand-column img,
.footer .brand-column img,
.site-footer .footer__brand img,
.footer .footer__brand img,
.site-footer .footer-logo,
.footer .footer-logo,
.site-footer .brand img,
.footer .brand img {
  display: block;
  transform: translateY(-12px) !important;
  transform-origin: top left !important;
}

/* Optional: Text unter dem Logo etwas näher anschliessen */
.site-footer .footer-brand p,
.footer .footer-brand p,
.site-footer .brand-column p,
.footer .brand-column p,
.site-footer .footer__brand p,
.footer .footer__brand p {
  margin-top: -4px !important;
}

/* Ganze untere weisse Fusszeile etwas kompakter */
.site-footer .footer-bottom,
.footer .footer-bottom,
.site-footer .footer-meta,
.footer .footer-meta {
  margin-top: 22px !important;
  padding-top: 18px !important;
}

@media (max-width: 900px) {
  .site-footer .footer-brand,
  .footer .footer-brand,
  .site-footer .brand-column,
  .footer .brand-column,
  .site-footer .footer__brand,
  .footer .footer__brand {
    margin-top: 0 !important;
  }

  .site-footer .footer-brand img,
  .footer .footer-brand img,
  .site-footer .brand-column img,
  .footer .brand-column img,
  .site-footer .footer__brand img,
  .footer .footer__brand img,
  .site-footer .footer-logo,
  .footer .footer-logo,
  .site-footer .brand img,
  .footer .brand img {
    transform: translateY(-6px) !important;
  }
}

/* === FOOTER LOGO COMPACT FIX END === */

