.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

a {
  color: #575757;
  text-decoration: underline;
}

.body {
  background-image: linear-gradient(90deg, #c3daff, #effaff);
  font-family: Exo, sans-serif;
}

.container-header {
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  position: relative;
}

.button {
  color: #fff;
  cursor: pointer;
  background-color: #97b7cc;
  border-radius: 20px;
  flex: 0 auto;
  padding: 15px 25px;
  font-size: 25px;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  color: #bd4d95;
  background-color: #fff;
  transform: rotate(-5deg);
}

.navi-1 {
  grid-column-gap: 21px;
  grid-row-gap: 21px;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.navi-2 {
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.hero-text-inside {
  color: #fff;
  text-transform: uppercase;
  background-color: #b5570e;
  border-radius: 20px;
  padding: 30px;
  font-size: 40px;
}

.hero-text {
  grid-column-gap: 3px;
  grid-row-gap: 3px;
  flex-flow: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: flex-start;
  display: flex;
  position: absolute;
  left: 0;
}

.hero-info {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  background-color: #fff;
  border-radius: 20px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 380px;
  min-height: 400px;
  padding: 25px;
  display: flex;
  position: absolute;
  right: 0;
}

.header {
  padding-top: 40px;
  padding-bottom: 20px;
}

.content {
  padding-top: 20px;
}

.hinweis-text {
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
}

.hinweis {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  background-color: #bd4d95;
  border-radius: 10px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 10px;
  display: flex;
}

.icon {
  color: #fff;
  width: 17px;
  height: 17px;
}

.hero-logo {
  background-color: #fff;
  border-radius: 20px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 250px;
  margin-left: 40px;
  padding: 18px 20px;
  display: flex;
}

.hero-info-headline {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 500;
  line-height: 24px;
}

.list {
  margin-bottom: 15px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 22px;
  list-style-type: disc;
}

.text-block {
  padding-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
}

.hinweis-button {
  text-align: center;
  background-color: #7b6971;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 19px;
}

.section-2 {
  padding: 40px 0px;
}

.container-reg {
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 1120px;
  display: flex;
  position: relative;
}

.hero-image {
  border-radius: 20px;
  width: 80%;
}

.form {
  background-color: #fff;
  border-radius: 20px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 650px;
  min-height: 500px;
  padding: 25px;
  display: flex;
}

.hero-gfx {
  flex-flow: row;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.gfx-1 {
  border: 10px solid #fff;
  border-radius: 20px;
  max-width: 74%;
  position: relative;
  top: 20px;
  left: -3px;
  overflow: hidden;
  transform: rotate(-10deg);
}

.gfx-2 {
  border: 10px solid #fff;
  border-radius: 20px;
  max-width: 80%;
  position: relative;
  top: -17px;
  left: 80px;
  overflow: hidden;
  transform: rotate(10deg);
}

.gfx-3 {
  border: 10px solid #fff;
  border-radius: 20px;
  max-width: 74%;
  position: relative;
  top: -56px;
  left: 38px;
  overflow: hidden;
  transform: rotate(-5deg);
}

.footer {
  background-color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
}

.container-2 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 1120px;
  display: flex;
}

.dsgvo-logo {
  width: 140px;
  margin-right: 20px;
}

.paragraph {
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-end;
  font-size: 12px;
  line-height: 17px;
}

.container-hero {
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
}


/* Modal Overlay */
.rg-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55); /* abgedunkelt, aber transparent */
  z-index: 9999;
}

.rg-modal-overlay.is-open {
  display: flex;
}

/* Modal Box */
.rg-modal {
  width: min(800px, 95vw);
  max-height: 85vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 24px 24px 20px;
  position: relative;
  outline: none;
}

.rg-modal-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.rg-modal-body {
  font-size: 16px;
  line-height: 1.6;
}

.rg-modal-body ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.rg-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

/* Matoki */

.matoki {
  padding: 25px 0px 0px 0px; 
  width: 100%;
}
.matoki-form {
    padding: 1rem;
}

/* Scroll lock */
.rg-modal-lock {
  overflow: hidden;
}


/* Pulsierende GFX Bilder */

.gfx-1 img,
.gfx-2 img,
.gfx-3 img {
  animation: rgPulse 6s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* leichte zeitliche Versetzung für organischen Effekt */
.gfx-2 img {
  animation-delay: 1.5s;
}

.gfx-3 img {
  animation-delay: 3s;
}

@keyframes rgPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.36);
  }
  100% {
    transform: scale(1);
  }
}


/* ===============================
   DETAILS MODAL STYLING
================================ */

.details-content {
  font-family: "Inter", sans-serif;
  color: #2b2b2b;
}

/* Hauptüberschrift */
.details-main-headline {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 18px;
  color: #1f2a37;
  border-left: 4px solid #d97706; /* warmes Akzent Orange */
  padding-left: 14px;
}

/* Einleitung */
.details-intro {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #4b5563;
}

/* Abschnittsüberschriften */
.details-section-headline {
  font-size: 20px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #1f2a37;
  position: relative;
}

/* Dezente Trennlinie unter Sections */
.details-section-headline::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #e5e7eb;
  margin-top: 6px;
}

/* Subheadline */
.details-subheadline {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #374151;
}

/* Listen Styling */
.details-list {
  padding-left: 18px;
  margin-bottom: 10px;
}

.details-list li {
  margin-bottom: 8px;
  line-height: 1.3;
  color: #374151;
}

/* Hinweis Box */
.details-note {
  background: #fff7ed; /* sehr helles Sand Orange */
  border-left: 4px solid #f59e0b;
  padding: 14px 16px;
  margin: 18px 0;
  border-radius: 6px;
}

.details-note p {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #7c2d12;
}

.details-note p:last-child {
  margin-bottom: 0;
}

/* Text Absätze */
.details-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 12px;
}




@media screen and (max-width: 991px) {
  .container-header {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-flow: column;
  }

  .button {
    font-size: 20px;
  }

  .navi-2 {
    display: none;
  }

  .hero-text-inside {
    padding: 25px;
    font-size: 32px;
  }

  .hero-text {
    justify-content: center;
    align-items: flex-start;
    padding-left: 30px;
    position: absolute;
    inset: 4% 0% auto;
  }

  .hero-info {
    width: 95%;
    min-height: 200px;
    margin-top: 20px;
    position: static;
  }

  .header {
    padding-top: 20px;
  }

  .hero-logo {
    width: 220px;
    margin-left: 0;
  }

  .section-2 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .container-reg {
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
  }

  .hero-image {
    width: 95%;
  }

  .form {
    width: 95%;
    min-width: auto;
  }

  .gfx-1 {
    top: auto;
    left: auto;
    right: -24px;
  }

  .gfx-2 {
    top: auto;
    left: auto;
  }

  .gfx-3 {
    top: auto;
    left: -19px;
  }

  .container-2 {
    width: 95%;
  }

  .dsgvo-logo {
    width: 180px;
  }

  .container-hero {
    flex-flow: column;
  }

  .div-gfx {
    justify-content: flex-start;
    align-items: center;
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .hero-text-inside {
    padding: 16px;
    font-size: 22px;
  }

  .hero-logo {
    width: 150px;
    padding: 15px;
  }

  .dsgvo-logo {
    width: 220px;
  }
}

@media screen and (max-width: 479px) {
  .button {
    padding: 10px 15px;
    font-size: 13px;
  }

  .navi-1 {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

  .hero-text-inside {
    padding: 10px;
    font-size: 16px;
  }

  .hero-text {
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
    top: 20px;
  }

  .header {
    padding-top: 10px;
    padding-bottom: 0;
  }

  .hero-logo {
    width: 120px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-info-headline {
    font-size: 15px;
    line-height: 21px;
  }

  .list {
    font-size: 13px;
    line-height: 20px;
  }

  .text-block, .dsgvo-logo {
    display: none;
  }
}

/* Share Modal */
.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

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

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #1f2a37;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: transform 120ms ease, background 120ms ease;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-1px);
  background: #eef2f7;
}

.share-btn.is-secondary {
  background: #fff;
}

.share-feedback {
  margin-top: 12px;
  font-size: 13px;
  color: #4b5563;
}
