/* Hintergrundbild auf Body */
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, geneva, sans-serif;
    background: url('Agaplesion_Hintergrund.jpg') no-repeat center center fixed;
    background-size: cover;
    background-color: #3191d5;
    color: white;
    height: 100vh;
    Width: 100%;
    display: flex;
    flex-direction: column;
}

/* Header mit Logo oben links */
header {
    Margin-top: 2rem;
Margin-left: 2rem;
z-index: 10;

}

.abstand{
    Padding-bottom: 1rem;
}


.logo {
    height: auto;
    width: 20%;
}

main{
  Width: 45vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3% 3%;              
  box-sizing: border-box;
}

Div {
 width: 100%;
  height: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: space-between;
  /* padding: 0 5%;   */   
}

/* Überschrift */
h1 {
    font-size: 4.5rem;
Font-weight: black;
Font-family: Optima, sans-serif;
}

.link{
text-decoration: none;
Font-weight: bold;
color: white;
}


/* Text */
P {
Margin: auto 0.5rem;
padding: 0.5rem;	
}

/* Text */
b {
}

/* Button Styling */
.cta-button {
	display: flex;
  justify-content: center;
  align-items: center;

text-decoration: none;
Font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    background-color: #d11222;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
    Width: 30%;
    Height: 6vh;
Margin: 0.5rem;
 }

.cta-button:hover {
    background-color: #a52019;
}


.btext {
   padding: 0.5rem;
flex-direction: row;
Font-weight: bold;
}

.angebot {
Width: 50%;
}

.responsive-image {
    display: none;
  }

.responsive-image-tablet {
    display: none;
 }



.impressum {
text-decoration: none;
color: white;
Font-size: 2rem;
}

Footer {
  text-align: center;
Margin: 1.2rem;
Padding-bottom: 1rem;
}






/* Responsive Anpassungen */





@media (max-width: 3441px) {

 main{
	width: 50vw;
 height: auto;
}

 .responsive-image {
    display: none;
  }

.responsive-image-tablet {
    display: none;
 }


div {
align-items: space-between;
Height: auto;
}

  h1 {
        font-size: 6rem;
    }

P, b {
font-size: 1.2rem;
}

.logo {
    width: 20%;
    }

.impressum {
    font-size: 1.8rem;
}
.btext {
    max-height: 7vh;
Min-height: 3rem;
    }

.cta-button {
Width: 30%;
max-height: 4rem;
Min-height: 3rem;

}

}





@media (max-width: 1512px) {

 main{
	width: 55vw;
height: auto;
}


.responsive-image {
    display: none;
  }

.responsive-image-tablet {
    display: none;
 }


  h1 {
        font-size: 4.5rem;
    }

    .logo {
    Width: 23%;
    }

P, b {
font-size: 1rem;
}

.btext {
    max-height: 7vh;
Min-height: 3rem;
    }


.impressum {
    font-size: 1rem;
}

Div {
   justify-content: flex-start;
}

}







@media (max-width: 1139px) {

Body {
background: none;
   background-size: cover;
  background-color: #3191d5;
}

 main{
	Width: 100vw;
	Margin: 0;
height: auto;

}

.responsive-image-tablet {
    display: block;
   width: 100%;
   Margin: 0;
   Padding: 0;
  }

.responsive-image{
    display: none;
 }


  h1 {
        font-size: 4rem;
    }

 P, b{
        font-size: 1rem;
	margin: 0;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
	    width: 20%;
max-height: 2.2rem;
Min-height: 1.5rem;
    }


Div {
justify-content: flex-start;
}


.btext {
font-size: 1rem;
justify-content: left;
}

    .logo {
    width: 35%;
    }
}


.impressum {
    font-size: 0.75rem;
}








@media (max-width: 768px) {

Body {
background: none;
background-color: #3191d5;
}

 main{
	Width: 100vw;
Margin: 0;
padding: 3% 6%;
height: auto;
}




.responsive-image {
    display: block;
max-width: 100%;
Margin: 0;
Padding: 0;
  }

.responsive-image-tablet {
    display: none;
 }



  h1 {
        font-size: 3rem;
    }

 P, b{
        font-size: 1rem;
    }

.angebot{
Width: 100%;
 }

   .logo {
    Width: 45%;
    }

.btext{
        font-size: 1rem;
flex-direction: column;
Width: 100%;
Align-items: center;
  height: auto;
    max-height: none;

    }


    .cta-button {
      Width: 45%;
Height: 2.5vh;
      padding: 1rem 1rem;
font-size: 1rem; 
    }

}





@media (max-width: 430px) {

body {
Background-picture: none;
background-color: #3191d5;
    min-height: 100vh; /* falls gewünscht */

}

 main{
	Width: 100vw;
padding: 3% 6%;
height: auto;
  }


    h1 {
        font-size: 3rem;
      Width:100%;
    }


P, b{
        font-size: 1rem;
    }

  div {
    height: auto;
    min-height: unset;
  }


.angebot{
Width: 100%;

 }

.btext{
        font-size: 1rem;
flex-direction: column;
Width: 100%;
    height: auto;
    max-height: none;
  
     }



    .cta-button {
      Width: 60%;
Height: auto;
      padding: 1rem 1rem;
font-size: 1rem; 
    }

    .logo {
   width: 65%;
    }

}






