html,
body {
    background: #e797f4;
    margin: 0;

}

* {
    box-sizing: border-box;
}

/* Prevent vertical overflow */
.content-wrap {
    margin: 0;
    padding: 15px 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Plane Animation */
.plane-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;

}

#plane02 {
    position: absolute;
    width: 500px;
	display: none;
    height: auto;
    left: 0;
    bottom: -350px;
    /* animation: moveLeftToRight 15s linear infinite; */
    border-radius: 50%;
    filter: blur(8.5px);
    transform: translateZ(0);
    backface-visibility: hidden;

}

@keyframes moveLeftToRight {
    0% {
        left: -500px; 
        bottom: -0px;
    }
    100% {
        left: 100%;
        bottom: calc(100% - 250px);
            transform: translateZ(0);
    backface-visibility: hidden;
    }
}

/* Header */
header {
    position: relative;
    height: 40px;
}

/* Links */
a {
    color: #fff;
    text-decoration: none;
/*    -webkit-text-stroke: 0.3px #808080;*/
    position: relative;
    transition: color 0.3s ease;


}

a:hover {
    color: #808080;
    text-decoration: none;
/*    -webkit-text-stroke: 0.3px #1611A8;*/
    position: relative;
}

/*a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #FFFFFF;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

a:hover::before {
  transform: scaleX(1);
}
*/

/* Typography */
h1,
h2 {
    font-family: "HelveticaNeue", "Helvetica Neue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande";
    color: #FFFFFF;
    font-weight: 300;
/*    -webkit-text-stroke: 0.3px #FFFFFF;*/
    /* Adds a subtle stroke to thicken the font */
}

@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
        h2 {
            -webkit-text-stroke: 0.2px #FFFFFF;
            /* Slightly thicker stroke for Safari */
        }
    }
}

h1 {
    text-align: left;
    font-size: 60px;
    line-height: 1;
    line-height: 100%;
    margin: 0;
}

h2 {
    font-size: calc(8vw + 8vh); /* Kombiniert Breite und Höhe */
    text-align: left;
    line-height: 0.8;
    font-weight: 400;
    letter-spacing: -0.05em;
    margin-top: 20px;
}

h3 {
    font-family: "HelveticaNeue", "Helvetica Neue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande";
    color: #FFFFFF;
    font-weight: 200;
    font-size: 15px;
    text-align: left;
    line-height: 0.8;
    font-weight: 400;
    letter-spacing: 0.1em;
    transform: rotate(-90deg);
    /*position: fixed; */
    bottom: 50px; 
    right: -5px; 
    margin: 0;
    text-transform: uppercase;
}


h2.middlepane02 {
    margin-top: 0;
    text-align: left;
    font-size: calc(5vw + 5vh); /* Dynamische Größe basierend auf beiden Achsen */
    line-height: 0.89;
    font-weight: 400;
    margin-bottom: 100px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#Ebene_1 {
    display: block; /* Ensures the element is treated as a block for proper centering */
    width: max(37px, 5.5vw); /* The icon scales dynamically with no maximum */
    height: auto; /* Maintain aspect ratio */
    vertical-align: left;
}

/* Footer */
footer {
    position: relative;
    padding-bottom: 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 90.5%;
    align-items: flex-end; /* Align content to the bottom */
    position: relative;
    padding-left: 14px;
}

.footer-column {
    max-width: 32%;
    text-align: left;
    padding-right: 20px;
}
.footer-column-imprint {
    max-width: 5%;
    text-align: right;
    padding-right: 0px;
	margin-bottom:20px;
}

.footer-column.center-column {
    text-align: left;
}

.footer-column:last-child {
    padding-right: 0;
}


/* Second Page CSS Start */
.sec-content {
    padding: 10px;
}

.sec-content-inner {
    max-width: 84%;
    width: 100%;
}

.sec-content span {
    font-size: 20px;
    line-height: 0.99;
    font-weight: 400;
    color: #ed6b37;
    font-family: helvetica neue, sans-serif;
    letter-spacing: -0.03em;
    margin: 150px 0 10px;
    display: block;
}

.sec-content h6 {
    font-size: 20px;
    line-height: 0.96;
    font-weight: 400;
    color: #ed6b37;
    font-family: helvetica neue, sans-serif;
    letter-spacing: -0.03em;
    margin: 0px 0 30px;
}

.sec-content p,
.sec-content ul li {
    font-size: 40px;
    line-height: 0.97;
    font-weight: 400;
    color: #ffffff;
    font-family: helvetica neue, sans-serif;
    letter-spacing: -0.03em;
    margin: 0 0 38px;
}

.sec-content ul {
    margin: 0;
}

.sec-content ul li {
    margin-bottom: 20px;
}

.sec-content p:last-child {
    margin-bottom: 20px;
}


















/* CSS Variables for common dimensions */
:root {
    --font-size-h1-lg: 45px;
    --font-size-h1-md: 40px;
    --font-size-h1-sm: 32px;
    --font-size-h1-xs: 25px;

    --plane-width-lg: 440px;
    --plane-width-md: 380px;
    --plane-width-sm: 320px;
    --plane-width-xs: 260px;
    --plane-width-xxs: 200px;

    --plane-bottom-lg: -310px;
    --plane-bottom-md: -270px;
    --plane-bottom-sm: -220px;
    --plane-bottom-xs: -170px;
    --plane-bottom-xxs: -130px;
}

/* Keyframe animation, using variables for dimensions */
@keyframes moveLeftToRight {
    0% {
        left: calc(-1 * var(--plane-width-lg));
        bottom: var(--plane-bottom-lg);
    }
    100% {
        left: 100%;
        bottom: calc(100% - 220px);
    }
}

/* Media Queries */
@media screen and (min-width: 1400px) and (max-width: 3000px) {
    h1.middlepane02 {
        font-size: var(--font-size-h1-lg);
    }
    #plane02 {
        width: var(--plane-width-lg);
        bottom: var(--plane-bottom-lg);
    }
    #Ebene_1 {
        margin-bottom: 90px;
    }
}

@media screen and (max-width: 1600px) {
    h1.middlepane02 {
        font-size: var(--font-size-h1-md);
    }
    #plane02 {
        width: var(--plane-width-md);
        bottom: var(--plane-bottom-md);
    }
    .footer-content {
        padding-left: 12px;
    }
    #Ebene_1 {
        margin-bottom: 80px;
    }
}

@media screen and (max-width: 1400px) {
    h1.middlepane02 {
        font-size: var(--font-size-h1-md);
    }
    #plane02 {
        width: var(--plane-width-sm);
        bottom: var(--plane-bottom-sm);
    }
    .footer-content {
        padding-left: 10px;
    }
    #Ebene_1 {
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 1300px) {
    h1.middlepane02 {
        font-size: 37px;
    }
    #plane02 {
        width: var(--plane-width-sm);
        bottom: var(--plane-bottom-sm);
    }
    .footer-content {
        padding-left: 10px;
    }
    #Ebene_1 {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 1200px) {
    h1.middlepane02 {
        font-size: var(--font-size-h1-sm);
    }
    #plane02 {
        width: var(--plane-width-xs);
        bottom: var(--plane-bottom-xs);
    }
    .footer-content {
        padding-left: 8px;
    }
    #Ebene_1 {
        width: max(37px, 5.8vw);
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 1050px) {
    h1.middlepane02 {
        font-size: var(--font-size-h1-sm);
    }
    #plane02 {
        width: var(--plane-width-xxs);
        bottom: var(--plane-bottom-xxs);
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4px;
        text-align: left;
    }
    .footer-column {
        max-width: 420px;
        width: 100%;
        margin-bottom: 50px;
    }
    .footer-column-imprint {
        max-width: 420px;
        width: 100%;
        margin-bottom: 50px;
    }	
    .footer-column:last-child {
        margin-bottom: 0;
    }
	h3 {
		transform:none;
	}	
		
    #Ebene_1 {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 767px) {
    .content-wrap {
        margin: 0;
        padding: 10px 12px;
    }
    h1.middlepane02 {
        font-size: var(--font-size-h1-sm);
    }
    #plane02 {
        width: 140px;
        bottom: -80px;
    }
    .footer-column {
        max-width: 360px;
        margin-bottom: 35px;
        padding: 0;
    }
    .footer-content {
        padding-left: 2px;
    }
    #Ebene_1 {
        margin-bottom: 30px;
    }
    h2.middlepane02 {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 575px) {
    h1.middlepane02 {
        font-size: var(--font-size-h1-xs);
    }
    .footer-column {
        max-width: 245px;
        margin-bottom: 30px;
        padding: 0;
    }
    #Ebene_1 {
        margin-bottom: 30px;
    }
    h2.middlepane02 {
        margin-bottom: 38px;
    }
}

@media screen and (max-width: 400px) {
    .footer-column {
        max-width: 220px;
        margin-bottom: 25px;
    }
    #Ebene_1 {
        margin-bottom: 20px;
    }
    h1.middlepane02 {
        font-size: 22px;
    }
    h2.middlepane02 {
        font-size: 50px;
        margin-bottom: 30px;
    }
}
