/* ================= RESET ================= */
/* Entfernt Standard-Weißräume */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;  }

body {
  background-color: rgba(208,179,214,0.13); }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;/* <<< verhindert rechten Spalt */ }


/* ============LILA BEREICH==================== */
.bereich-lila {
    position: relative;
    width: 100%;
    background: #d0b3d6;
	z-index:-15; }

.bild-hintergrundwechsel {
    position: relative;
    width: 100%;
    padding: 0; }

.bereich-helllila {
    position: relative;
    width: 100%;
    background: rgba(208, 179, 214, 0.13); }

.hintergrund-dunkel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #d0b3d6;
    z-index: 0; }

.bild-hintergrundwechsel img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    z-index: 2; }




/* ================= NAVIGATION ================= */
.nav {
  position: absolute;          /* liegt über dem Bild */
  top: 20px;
  left: 0;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  z-index: 1000; }

.burger {
  display: none;               /* nur auf Mobile */
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer; }
  

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 8px; }
  
.nav-links img{
	width:55%;  }

.nav-links a {
  flex: 1;
  text-align: center;
  font-family: 'Carlito', Arial, sans-serif;
  font-size: 16px;        /* etwas kleiner */
  line-height: 1.25;      /* besser für zweizeilig */
  font-weight: 600;       /* dicker (Semi-Bold) */
  color: #444;
  text-decoration: none;
  padding: 11px 12px;        /* minimal kompakter */
  background-color: rgba(208,179,214,0.63);
  border-radius: 7pt;  }
  
.nav-links a:hover {
  background-color: rgba(208,179,214,0.85); }




/* ================= HEADERBILD ================= */
.headerbild {
  position: relative;
  width: 100%;
  overflow: hidden; }

.headerbild img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt den Hero-Bereich */
  object-position: center 60%; /* Fokus liegt unten */
  display: block;
  z-index:5;  }

.headerbild-logo {
  position: absolute;
  bottom: 8%;    /* weiter nach unten */
  left: 0%;       /* näher an den linken Rand */  }

.headerbild-logo img {
  width: 370px;     /* << deutlich größer */
  max-width: 40vw;  /* schützt vor zu groß */
  height: auto;  }




/* ============ TEXTE AUF LILA FLÄCHEN ============ */
.lila-infotext1 {
  position: relative;
  width: 100%;
  height:60vh;
  overflow: hidden;
  z-index:15;
  margin-top:-60px; }

.lila-infotext2 {
  position: relative;
  width: 100%;
  height:80vh;
  overflow: hidden;
  z-index:15;
  margin-top:-60px; }

.lila-infotext3 {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index:15;
  margin-top:-40px; }
  
  .lila-infotext3 img {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index:-5;
 }

.infotext {
  position: relative;
  top: 50%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: center;
  transform: translateY(-50%);
  width: 100%;
  max-width: 900px;
  color: #444;
  z-index: 15;
}

.infotext-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
	z-index:15;
    transform: translate(-50%, -50%);
    width: min(50%, 800px);
    text-align: center;
    color: #444;
	margin-top:-20px;  }

.infotext h2 {
  font-family: 'Sacramento', cursive;
  font-size: clamp(38px, 2.5vw, 48px);
  font-weight: 200;
  margin-bottom: 0;
  text-align: center;
}

.infotext h3 {
  font-family: 'Carlito', Arial, sans-serif;
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 600;
  line-height:1.5;
    margin-bottom: 10px;
  text-align: center;
}

.infotext-overlay h2 {
  font-family: 'Sacramento', cursive;
  font-size: clamp(38px, 2.5vw, 48px);
  font-weight: 200;
  margin-bottom: 0;
  text-align: center;
}

.infotext-overlay h3 {
  font-family: 'Carlito', Arial, sans-serif;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 100;
  line-height:1.5;
    margin-bottom: 10px;
  text-align: center;
}

.infotext p {
  font-family: 'Carlito', Arial, sans-serif;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.5;
  text-align: center;
}




/* =========== BILD1 UNTER HEADERBILD ============= */
.bild1 {
  position: relative;
  width: 100%; /* sorgt für Full-Bleed Bild */
  z-index:10;
  overflow: hidden;
  margin-top: -10px; }

.bild1 img {
  width: 100%;
  height: auto;          /* dein vergrößertes Bild */
  object-fit: contain;
  object-position: right center;/* rechter Bildteil bleibt */
  display: block; }

.bild1-text {
  position: absolute;
  top: 30%;
  left: 35%;
  transform: translateY(-50%);
  color: #444; }

.bild1-text h2 {
  font-family: 'Carlito', Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align:left;
  line-height:1.5;
  margin: 0; }

.bild1-text h1 {
  font-family: 'Carlito', Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align:left;
  margin: 0; }





/* =========== BILD2 UNTER HEADERBILD ============= */
.bild2 {
  position: relative;
  width: 100%; /* sorgt für Full-Bleed Bild */
  z-index:10;
  overflow: hidden;
  margin-top: -40px; }
  
.bild2 img {
  width: 100%;
  height: auto;          /* dein vergrößertes Bild */
  object-fit: contain;
  object-position: right center;/* rechter Bildteil bleibt */
  display: block; }


.bild3 {
  position: relative;
  width: 100%; /* sorgt für Full-Bleed Bild */
  z-index:10;
  overflow: hidden;
  margin-top: -20px; }
  
.bild3 img {
  width: 100%;
  height: auto;          /* dein vergrößertes Bild */
  object-fit: contain;
  object-position: right center;/* rechter Bildteil bleibt */
  display: block; }





/* ========= AUSWAHLBOXEN ÜBERSICHT ============ */
.feature-area {
  width: 100%;
  padding: 40px 0;
  margin-bottom:60px;
  z-index: 1; }

.feature-container { /* Container für die Boxen */
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 10px;                 /* gleicher Abstand */
  padding: 0 17px; }

.feature-box { /* Einzelne Box (als Link) */
  flex: 1 1 0;
  align-self: flex-start;   /* <<< verhindert Höhen-Stretch */
  text-decoration: none;
  color: #333;
  background-color: rgba(255,255,255,0.6); /* transparent weiß */
  border-radius: 12px;
  padding: 15px 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease; }

.feature-box img { /* Bild oben */
  width: 250px;
  height: auto;
  margin-bottom: 16px;
  border-radius: 12px;   /* <<< abgerundete Ecken */ }

.feature-box p { /* Text mittig */
  margin: 0;
  font-family: 'Carlito', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4; }

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12); }




/* ========= FOOTER =============*/
.footer {
  background-color: rgba(208,179,214,0.13);
  border-top: 1px solid rgba(141,107,145,0.2);
  padding: 18px 40px;
  font-family: 'Carlito', Arial, sans-serif;
  font-size: 11px;
  text-transform:uppercase;
  letter-spacing:1px;
   }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; }

.footer-brand {
  font-family: 'Carlito', Arial, sans-serif;
  font-size: 15px;
  color: #8d6b91;
  letter-spacing: 0.5px; }

.footer-links {
  display: flex;
  gap: 22px; }

.footer-links a {
  color: #555;
  text-decoration: none; }

.footer-links a:hover {
  color: #8d6b91; }

.footer-copy {
  color: #777; }










/* Navigation nach Scroll */
.nav.scrolled .nav-links a {
  background-color: rgba(208,179,214,0.9); /* nicht mehr transparent */
}







/* =========================================================
   RESPONSIVE DESIGN
   FGraphics / Lisas Lichtblicke
   ========================================================= */


/* =========================================================
   TABLET
   ca. 769px – 1024px
   ========================================================= */

@media (min-width: 601px) and (max-width: 1024px) {

   /* ================= NAVIGATION ================= */

  .nav {
        position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    z-index: 1000;  

  }

  .burger {
    display: block;

    font-size: 27px;

    color: #444;

    background: rgba(208,179,214,0.75);

    border: none;
    border-radius: 6px;

    padding: 5px 9px;

    position: relative;
    z-index: 1200;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 8px;   }


  .nav.open .nav-links {
    display: flex;
  }

  .nav.open .nav-links a {
        width: 180px;
    box-sizing: border-box;
    padding: 7px;
    background-color: rgba(208,179,214,0.40);
    border-radius: 5px;
    font-family: 'Carlito', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 600;
    text-align: center;   

  }

  .nav.open .nav-links a img {
    width: 50%;
  }
  

  


  /* ================= HEADER ================= */

  .headerbild {
    width: 100%;
    overflow: hidden;
  }

  .headerbild > img {
    width: 120%;
    height: auto;
    min-height: 520px;
    object-fit: cover;
	

    /* größerer Bildausschnitt */
    /* größerer Bildausschnitt */
object-position: 30% 100%;  }

  .headerbild-logo {
    bottom: 10%;
    left: 4%;
  }

  .headerbild-logo img {
    width: 280px;
    max-width: 35vw;
    height: auto;
  }


  /* ================= LILA FLÄCHEN ================= */

  .lila-infotext1,
  .lila-infotext2 {

    width: 100%;
    height: auto;

    min-height: 360px;

    margin-inline: calc(50% - 50vw);
    margin-top: -30px;
	z-index:15;

    padding: 70px 12%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
  }

  .infotext {
    position: relative;

    top: auto;
    left: auto;

    margin-left: 0;

    transform: none;
	z-index:15;

    width: 100%;
    max-width: 760px;

    text-align: center;
  }

  .infotext h1 {
    font-family: 'Carlito', Arial, sans-serif;
    font-size: 27px;
    line-height: 1.25;
    margin: 15px 0;
  }

  .infotext h2 {
    font-size: 34px;
    line-height: 1.15;
  }

  .infotext h3 {
    font-size: 17px;
    line-height: 1.5;
  }

  .infotext p {
    font-size: 14px;
    line-height: 1.5;
  }



.lila-infotext3 {
    width: 100%;

    min-height: 360px;

    margin-top: -30px;
	z-index:15;

    padding: 70px 12%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
  }
  

.lila-infotext3 img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
width: 100%;
  height: 300px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
  .lila-infotext3 .infotext-overlay {

    margin-top: -35px;
    transform: translate(-50%, -50%);
    z-index: 15;
  }

  .lila-infotext3 .infotext-overlay h2 {
    font-size: 30px;
  }

  .lila-infotext3 .infotext-overlay h3 {
    font-size: 12px;
    line-height: 1.45;
  }


  /* Bild als vergrößerter Ausschnitt */
  .bild3 {
    width: 100%;
    margin-top: -75px;
  }

  .bild3 img {
    width: 100%;
    height: auto;

    /* Bild etwas größer zeigen */
    object-fit: cover;
    object-position: center center;
  }
  /* ================= BILD 1 ================= */

  .bild1 {
    width: 100%;
    margin-top: -10px;
  }

  .bild1 img {
    width: 100%;
    height: auto;

    /* Bild etwas größer zeigen */
    object-fit: cover;
    object-position: center center;
  }

  .bild1-text {
    left: 60%;
    top: 35%;

    width: 25%;
  }

  .bild1-text h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .bild1-text h2 {
    font-size: 15px;
    line-height: 1.35;
  }


  /* ================= BILDER 2 ================= */

  .bild2 {
    width: 100%;
    margin-top: -25px;
  }

  .bild2 img {
    width: 100%;
    height: auto;

    object-fit: cover;
    object-position: center center;
  }


  /* ================= ANGEBOTE ================= */

 .feature-area {
  width: 100%;
  padding: 50px 20px;
  margin-bottom: 40px;
  box-sizing: border-box;
  overflow: hidden;
}

.feature-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;

  width: 100%;
  max-width: 900px;

  margin: 0 auto;
  padding: 0;

  box-sizing: border-box;
}

.feature-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  padding: 15px 10px;
  margin: 0;

  box-sizing: border-box;
  overflow: hidden;
}

.feature-box img {
  display: block;
  width: 85%;
  max-width: 280px;
  height: auto;
  object-fit: cover;
}

.feature-box p {
  width: 100%;
  margin: 25px 0 0;
  padding: 0;

  font-size: 14px;
  line-height: 1.35;
  text-align: center;

  box-sizing: border-box;
}


  /* ================= FOOTER ================= */

  .footer {
    padding: 18px 25px;
  }

  .footer-links {
    gap: 15px;
  }

}




/* ==============  RESPONSIVE DESIGN ==================== */
/* =========== HANDY   0 – 600px ================================ */

@media (max-width: 600px) {

  /* ================= NAVIGATION ================= */

  .nav {
        position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    z-index: 1000;  

  }

  .burger {
    display: block;

    font-size: 27px;

    color: #444;

    background: rgba(208,179,214,0.55);

    border: none;
    border-radius: 6px;

    padding: 5px 9px;

    position: relative;
    z-index: 1200;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 8px;   }


  .nav.open .nav-links {
    display: flex;
  }

  .nav.open .nav-links a {
        width: 180px;
    box-sizing: border-box;
    padding: 7px;
    background-color: rgba(208,179,214,0.75);
    border-radius: 5px;
    font-family: 'Carlito', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 600;
    text-align: center;   

  }

  .nav.open .nav-links a img {
    width: 50%;
  }
  



  /* ================= HEADER ================= */

  .headerbild {
    min-height: 430px;
  }

  .headerbild > img {
    width: 130%;

    height: 500px;

    object-fit: cover;

    /* größerer Bildausschnitt */
object-position: 30% 180%;  }

  .headerbild-logo {
    top: 324px;
    left: 5px;

    z-index: 1100;
  }

  .headerbild-logo img {
    width: 210px;
    max-width: 50vw;
  }


  /* ================= LILA FLÄCHEN ================= */

  .lila-infotext1,
  .lila-infotext2{

    height: auto;

    min-height: 340px;

    margin-top: -40px;

    padding: 55px 8%;
	z-index:15;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .infotext {
    position: relative;
	z-index:15;

    top: auto;

    margin-left: 0;

    transform: none;

    width: 100%;
    max-width: 620px;
  }

  .infotext h1 {
    font-size: 19px;
	font-family: 'Carlito', Arial, sans-serif;
    line-height: 1.3;

    margin: 10px 0;
  }

  .infotext h2 {
    font-size: 28px;
    line-height: 1.1;
  }

  .infotext h3 {
    font-size: 16px;
    line-height: 1.45;
  }

  .infotext p {
    font-size: 11px;
    line-height: 1.45;
  }




.lila-infotext3 {
  height: auto;

    min-height: 250px;

    margin-top: -40px;

    padding: 55px 8%;
	z-index:15;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
  }

.lila-infotext3 img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
  .lila-infotext3 .infotext-overlay {
    margin-top: -20px;
    transform: translate(-50%, -50%);
    z-index: 15;
  }

  .lila-infotext3 .infotext-overlay h2 {
    font-size: 29px;
    line-height: 1.05;
  }

  .lila-infotext3 .infotext-overlay h3 {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 8px;
  }


  /* Bild klein, aber als vergrößerter Ausschnitt */
  .bild3 {
	 margin-top: -20px;
  }

  .bild3 img {
    display: block;
    width: 100%;
    height: 500px;
	position:relative;
    object-fit: cover;
    object-position: 72% center;
  }

  /* ================= BILD 1 ================= */

  .bild1 {
    margin-top: 0;
	z-index:10;
	
  }

  .bild1 img {

    width: 100%;

    height: 520px;
	position:relative;

    object-fit: cover;
	z-index:10;

    /* größerer Ausschnitt */
    object-position: 10% 95%;
  }

  .bild1-text {

    position: absolute;

    top: 9%;
    left: 70%;

    transform: none;

    width: 27%;
		z-index:10;

  }

  .bild1-text h1 {
    font-size: 18px;
    line-height: 1.2;
  }

  .bild1-text h2 {
    font-size: 13px;
    line-height: 1.35;
  }


  /* ================= BILDER 2 ================= */

  .bild2 {
    margin-top: -15px;
  }

  .bild2 img {

    width: 100%;

    height: 500px;

    object-fit: cover;
	object-position: 85% 15%;
  }


  /* ================= ANGEBOTE ================= */

  .feature-area {

    padding: 45px 12px;
	    width: 100%;

    margin-bottom: 30px;
	    box-sizing: border-box; 
  }

  .feature-container {

    display: grid;
	    width: 100%;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    padding: 0;
	    box-sizing: border-box; 
  }

  .feature-box {

    padding: 10px 6px;

    border-radius: 10px;
  }

  .feature-box img {

    width: 85%;

    max-width: 220px;

    margin-bottom: 10px;
  }

  .feature-box p {

    font-size: 12px;

    line-height: 1.3;
  }


  /* ================= FOOTER ================= */

  .footer {
    padding: 22px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 11px;
    text-align: center;
  }

  .footer-brand {
    font-size: 12px;
	font-weight:600;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .footer-links a {
    font-size: 9px;
  }

  .footer-copy {
    font-size: 10px;
  }

}

/* ==================================================
   KLEINE HANDYS: BIS 400 PX
   ================================================== */

@media (max-width: 400px) {

  /* Logo bzw. Schriftgrafik im Header kleiner */
  .headerbild-logo {
    top: 360px;
    left: 3px;

    z-index: 1100;
  }



  .headerbild-logo img {
    width: clamp(125px, 40vw, 155px);
    max-width: none;
    height: auto;
  }


  /* Text auf Bild 1 kompakter */
  .bild1-text {
    width: 88%;
    max-width: 340px;
    bottom: 22px;
  }

  .bild1-text h1 {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .bild1-text h2 {
    font-size: 10px;
    line-height: 1.35;
    margin: 0;
  }

  /* Erzwungenen Umbruch auf kleinen Handys entfernen */
  .bild1-text .mobile-ignore {
    display: none;
  }
}