

/*
@screen__xs: 360px;
@screen__s: 480px;
@screen__m: 768px;
@screen__l: 1279;
@screen__xl: 1440;
@screen__xxl: 1920;
*/


html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


html {
    
}

body {
    
}

div {
    
}

ul,
ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #5c83e6;
    text-decoration: none;
    font-weight: 600;
}


.page-wrapper,
.page {
    
}

.page-wrapper {
    background: url("background-06-h1280px.png") no-repeat center center;
    background-size: auto 100%;
    
    background-position-x: -86vh;
    background-position-y: 0;
    
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}

.page {
    
}




.navigation,
.logo {
    
    position: absolute;
    display: block;
}


.logo {
    
    right: 0;
    top: 14%;
    width: 56%;
    height: 10%;
}

.logo h1 {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.logo a {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
}



.navigation-one,
.navigation-two {
    width: 25%;
    height: 5%;
}


.navigation-one {
    left: 3%;
    top: 20%;
}

.navigation-two {
    right: 3%;
    bottom: 20%;
}




html,
body {
    /*
    height: 90%;
    width: 90%;
    */
    
}


:root{
    --panel-bg:#fff;
    --panel-border:#333;
    --panel-padding:16px;
    --btn-padding:10px 22px;
    --shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Basis */
body{
    font-family: Verdana, system-ui, Arial, sans-serif;
    /*
    background:#f3f3f3;
    padding:5%;
    */
}

/* Menüleiste */
.menu {
    display:flex;
    gap:20px;
    align-items:center;
}

/* --- Button Styling (einmalig, gilt überall) --- */
.menu-btn {
    background: #fff;
    border: 8px solid #444;
    padding: var(--btn-padding);
    font-weight:700;
    cursor:pointer;
    box-shadow: 0 2px 0 rgba(0,0,0,0.15);
    position: relative;
    z-index: 400;
    transition: transform 0.25s ease;
    color: #777;
}

/* optional: Hover/Active */
.menu-btn:hover {
    /*
    transform: translateY(-2px);
    */
    color: #5c83e6;
    
}
.menu-btn:active {
    transform: translateY(0);
    
    color: #5c83e6;
    
}

/* Platzhalter für Button (verhindert Layout-Sprung beim Verschieben) */
.menu-placeholder{
    display:inline-block;
    vertical-align: middle;
}

/* --- Panel Styling + Animation (ScaleY spring) --- */
.panel {
    position: absolute;
    min-width: 260px;
    max-width: 360px;
    background: var(--panel-bg);
    border: 12px solid var(--panel-border);
    padding: var(--panel-padding);
    box-shadow: var(--shadow);
    z-index: 300;
    
    /* Start: geschrumpft (oben) */
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* offene / sichtbare Phase -> nutzt Keyframes für elastischen "Spring"-Effekt */
.panel.open {
    animation: openSmooth 1.5s cubic-bezier(0.01, 0.75, 0.01, 1) both;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* beim Schließen: sanft zurück skalieren (ohne Overshoot) */
.panel.closing {
    animation: closeSmooth 1s cubic-bezier(0.9, 0.1, 0.9, 1) both;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

/* mehr Fußraum, wenn Button angehängt ist */
.panel.attached {
    //padding-bottom: calc(var(--panel-padding) + 28px);
}

/* Panel-Inhalt */
.panel .content {
    background:#faf8f1;
    padding:8px;
    line-height:1.35;
}

/* Wenn Button INSIDE Panel ist: nur Positionierung, visual styling bleibt gleich (nutzt dieselbe .menu-btn) */
.panel .menu-btn.attached-btn {
    position: absolute;
    left: 16px;           /* linke Kante des Panels = linke Kante des Buttons */
    //bottom: -26px;        /* hängt über dem unteren Rand */
    z-index: 500;
    margin: 0;
    /* keine Änderung an Border/Padding -> sieht identisch aus */
    
    color: #5c83e6;
}

/* Close-Button im Panel */
.panel .close-btn {
    margin-top: 8px;
    display:inline-block;
    background:#eee;
    border:1px solid #ccc;
    padding:6px 10px;
    cursor:pointer;
}








.panel .content ul {
    
}

.panel .content li {
    margin-bottom: 1vw;
    text-align: center;
}


.panel .content li:last-child {
    margin-bottom: 0;
}


.panel .content a {
    font-weight: 500;
}



section {
    /*
    position: absolute;
    top: 22.4vw;
    height: 15.5vw;
    overflow: hidden;
    */
    
}

.slider-wrapper {
    position: absolute;
    top: 46vh;
    height: 18.75vw;
    overflow: hidden;
    width: 100%;
    
}

.slider {
    height: 100%;
}

.element-list {
    
    //display: flex;
    
}

.element {
    height: 18.75vw;
    
    
}


.element img {
    height: 100%;
    
    
}













.menuunten {
    bottom: 40%;
    position: absolute;
}






/* --- Keyframes für das "elastische" Öffnen --- */
@keyframes springOpen {
  0%   { transform: scaleY(0); opacity: 0; }
  60%  { transform: scaleY(1.08); opacity: 1; } /* Overshoot */
  80%  { transform: scaleY(0.98); }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes openSmooth {
  0%   { transform: scaleY(0); opacity:0; }
  100% { transform: scaleY(1); opacity:1; }
}

@keyframes closeSmooth {
  0%   { transform: scaleY(1); opacity:1; }
  100% { transform: scaleY(0); opacity:0; }
}

/* Responsive */
@media (max-width:420px){
  .panel {
      left:8px !important;
      right:8px;
      min-width: auto;
      max-width: calc(100% - 16px);
      
  }
  .panel .menu-btn.attached-btn {
      bottom: -22px;
      left: 12px;
      
  }
  
}







@media (min-width:360px){
  footer {
      font-size: 2.2vw;
  }
}
@media (min-width:480px){
  footer {
      font-size: 1.95vw;
  }
}


@media (min-width:768px){
  footer {
      font-size: 1.4vw;
  }
}

@media (min-width:1279px){
  footer {
      font-size: 1vw;
  }
}

@media (min-width:1440px){
  footer {
      font-size: 0.81vw;
  }
}

@media (min-width:1920px){
  footer {
      font-size: 0.65vw;
  }
}







footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #5c83e6;
}

footer .footer-inner {
    width: 44%;
    padding: 0.5vw 2.5% 1vw;
}

footer .copyright,
footer .legalNotices {
    
}

footer .copyright {
    float: left;
}

footer .legalNotices {
    float: right;
    text-align: right;
}

footer ul {
    
}
footer ul li {
    display: inline-block;
}
footer ul li:first-child {
    
}
footer ul li:first-child:after {
    content: "•";
}

footer a {
    
}



.panel.hero {
    position: absolute;
    visibility: visible;
    opacity: 1;
    transform: none;
    margin: 0;
    overflow: unset;
    transform-origin: unset;
    top: 0;
    left: 0;
    bottom: 0;
    
    pointer-events: auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    
    min-width: 60vw;
    height: 80vh;
}




.page.impressum,
.page.datenschutz {
    
}



.page.impressum .logo,
.page.datenschutz .logo {
    right: 0;
    top: 0;
    width: 100%;
    height: 95%;
    left: 0;
    z-index: 900;
}



.page.impressum main,
.page.datenschutz main {
    z-index: 999;
    
    position: relative;
    margin: 10vh 5vw 0;
    
}

















@media screen and (orientation: landscape) {
    
    .logo {
        top: 4.5vw;
        right: 18.8vw;
        width: 24.5%;
        height: 5.5vw;
    }
    
    .page-wrapper {
        background-size: 100% auto;
        background-position-x: 0;
        background-position-y: -4vw;
    }
    
    .boxtesti {
        background-color: #DDD;
        width: 200px;
        height: 100px;
    }
    
    .menu {
        display: flex;
        gap: 2%;
        align-items: center;
    }
    
    
    .navigation-one {
        left: 15%;
        top: 8.35vw;
        height: 3.5vw;
        width: 34%;
    }
    
    .menu-btn {
        
        border: none;
        box-shadow: none;
        padding: 2.275% 5%;
        font-weight: 700;
        cursor: pointer;
        position: relative;
        z-index: 400;
        transition: transform 0.25s ease;
        
        
        background: url("button.png") no-repeat center center;
        background-size: contain;
        font-size: 1.41vw;
        min-width: 16.32vw;
        max-width: 48%;
    }
    
    .panel {
        position: absolute;
        min-width: 16.32vw;
        max-width: 345px;
        background: var(--panel-bg);
        border: none;
        //padding: var(--panel-padding);
        box-shadow: var(--shadow);
        z-index: 300;
        transform-origin: top;
        transform: scaleY(0);
        color: #5c83e6;
        font-width: 600;
    }
    
    .panel.attached {
        padding: 0;
    }
    
    .panel .menu-btn.attached-btn {
        position: absolute;
        left: 0;
        //bottom: calc(-4.3% - 3.0vw);
        z-index: 500;
        margin: 0;
        min-width: 16.32vw;
        padding: 5% 5%;
        
        
        //background-size: auto;
        
    }
    
    
    .panel .content {
        padding: 1.16vw 1.16vw 2.16vw;
    }
    
    .panel#panel-1 .menu-btn.attached-btn {
        
    }
    
    .panel#panel-2 .menu-btn.attached-btn {
        
        
    }
    
    
    
    .slider-wrapper {
        top: 17.58vw;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    footer {
        
    }
    
    footer ul {
        
    }
    footer ul li {
        
    }
    footer ul li:first-child {
        
    }
    footer ul li:first-child:after {
        
    }
    
    footer a {
        
    }
}




