*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root{
    --primary:#1E5794;
    --primary-dark:#16416d;
    --light:#f7f9fc;
    --white:#ffffff;
    --text:#333333;
    --shadow:0 10px 30px rgba(0,0,0,0.12);
}

html{
    scroll-behavior:smooth;
}
body{
    font-family:'Segoe UI',sans-serif;
    color:var(--text);
    line-height:1.7;
    background:var(--light);
}

/* Globale Navigation (Desktop) */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0; /* Verhindert horizontales Verschieben */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-sizing: border-box;
}

.logo img {
    height: auto;
    max-height: 90px; /* Passt die Logogröße an */
    display: block;
}


nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all .3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, .15);
}

.menu-toggle {
    display: none;
}

/* Dunkler Hintergrund beim Öffnen */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobil-Optimierung (Tablets & Smartphones) */
@media (max-width: 768px) {
    nav {
        padding: 10px 20px; /* Kompakter auf Mobilgeräten */
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1001; /* Liegt über dem Menü */
    }

    /* Das seitliche JavaScript-Menü */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(16, 37, 61, .97);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: .4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        font-size: 1.2rem;
        padding: 15px;
    }
}

img{
    max-width:100%;
    height:auto;
    display:block;
}



/* Standard-Link ohne Animation */

a{
    color:var(--primary);
    text-decoration:none;
}

.angebot-link{
    text-decoration:none;
    color:inherit;
    display:block;
    flex:1;
    min-width:250px;
}

.angebot-link .preisbox{
    height:100%;
}
.angebot-link:hover .preisbox{
    transform:translateY(-10px);
}

/* Link mit Unterstreichungs-Effekt */

.fancy-link{
    position:relative;
}

.fancy-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-3px;
    width:0;
    height:2px;

    background:linear-gradient(
        90deg,
        #1E5794,
        #2D73BD
    );

    transition:width .3s ease;
}

.fancy-link:hover::after{
    width:100%;
}

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    padding-left:10%;
    background:#1E5794;
}
.hero-logo{
	width: 275px;
}
@media(max-width:768px){

    .hero{
        justify-content:center;
        text-align:center;

        padding-left:25px;
        padding-right:25px;
    }

    .hero-content{
        max-width:100%;
    }
    .hero-logo{
	max-width: 150px !important; /* Hier die Wunschbreite fürs Handy eintragen (z.B. 120px oder 150px) */
        height: auto !important;     /* Verhindert, dass das Logo verzerrt wird */
        display: block;
        margin: 0 auto 15px auto;   /* Zentriert das Logo und gibt nach unten etwas Abstand zum Text */
    }
}

.slider{
    position:absolute;
    inset:0;
}

.slide{
    position:absolute;
    inset:0;

    background-color:#000000;
    background-size:cover;
    background-position:center;

    opacity:0;

    animation:heroSlider 15s infinite;
}

.slide1{
    background-image:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.35)),
        url('../images/CampAbove_Campingzubehoer01.jpeg');

    animation-delay:0s;
}

.slide2{
    background-image:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.35)),
        url('../images/CampAbove_Dachbox03.jpeg');

    animation-delay:5s;
}

.slide3{
    background-image:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.35)),
        url('../images/CampAbove_Campingzubehoer02.jpeg');

    animation-delay:10s;
}
.dz1{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Dachzelt01.jpeg');

    animation-delay:0s;
}

.dz2{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/hero1.jpeg');

    animation-delay:5s;
}

.dz3{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Dachzelt03.jpeg');

    animation-delay:10s;
}
.db1{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Dachbox03.jpeg');

    animation-delay:0s;
}

.db2{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Dachbox01.jpeg');

    animation-delay:5s;
}

.db3{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Dachbox02.jpeg');

    animation-delay:10s;
}
.cz1{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Campingzubehoer01.jpeg');

    animation-delay:0s;
}

.cz2{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Campingzubehoer02.jpeg');

    animation-delay:5s;
}

.cz3{
    background-image:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.35)),
        url('../images/CampAbove_Campingzubehoer03.jpeg');

    animation-delay:10s;
}

@keyframes heroSlider{

    0%{
        opacity:0;
    }

    8%{
        opacity:1;
    }

    28%{
        opacity:1;
    }

    36%{
        opacity:0;
    }

    100%{
        opacity:0;
    }
}

.hero-content{
    position:relative;
    z-index:10;
    color:white;
}
.hero h1{
    font-size:6rem;
    font-weight:800;
    line-height:1;
    margin-bottom:10px;
}

.hero h2{
    font-size:1.3rem;
    margin-bottom:35px;
    font-weight:300;
}

.hero p{
    font-size:1.3rem;
    margin-bottom:35px;
    max-width:500px;
}

@media(max-width:768px){

    .hero h1{
        font-size:3.5rem;
	hyphens: auto;
        -webkit-hyphens: auto; /* Für Safari (iPhone) wichtig! */
        -ms-hyphens: auto;
    }

    .hero h2{
        font-size:1.1rem;
    }

    .hero p{
        font-size:1rem;
    }
}

.btn{
    background:var(--primary);
    color:white;
    text-decoration:none;
    padding:16px 32px;
    border-radius:50px;
    display:inline-block;
    font-weight:600;
    transition:.3s;
    box-shadow:var(--shadow);
}

.btn:hover{
    transform:translateY(-3px);
    background:var(--primary-dark);
}

section{
    padding:100px 10%;
    scroll-margin-top:90px;
}
@media(max-width:768px){

    section{
        padding:80px 25px;
    }

}
section h2{
    color:var(--primary);
    margin-bottom:25px;
    font-size:2.5rem;
}

section h2{
    color:#1E5794;
    margin-bottom:25px;
}

.preise{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.preisbox{
    background:white;
    padding:35px;
    border-radius:20px;
    min-width:250px;
    flex:1;
    box-shadow:var(--shadow);
    transition:.3s;
}
@media(max-width:768px){

    .preisbox{
        min-width:100%;
    }

}

.preisbox:hover{
    transform:translateY(-8px);
}

.preisbox h3{
    color:var(--primary);
    margin-bottom:15px;
}
#ueber-uns{
    background:white;
    border-radius:25px;
    box-shadow:var(--shadow);
}

#anfrage{
    background:white;
    border-radius:25px;
    box-shadow:var(--shadow);
}


.kaution{
    margin-top:20px;
    font-weight:bold;
    color: var(--primary);
}

.faq-intro{
    max-width:700px;
    margin-bottom:40px;
    color:#666;
    font-size:1.1rem;
}

details{
    background:white;
    border-radius:20px;
    margin-bottom:20px;
    padding:0;
    box-shadow:var(--shadow);
    overflow:hidden;
}

summary{
    cursor:pointer;
    list-style:none;
    padding:20px 25px;
    background:#f7f9fc;
    transition:.3s;
}

summary:hover{
    background:#eef3f8;
}

summary h3{
    margin:0;
    color:var(--primary);
}
@media(max-width:768px){

    summary{
        padding:16px 18px;
    }

    details p,
    details h4{
        padding-left:18px;
        padding-right:18px;
    }

}

details[open] summary{
    border-bottom:1px solid #e5e5e5;
}
details[open]{
    border-left:5px solid var(--primary);
    border-right:5px solid var(--primary);
}

details p,
details h4{
    padding-left:25px;
    padding-right:25px;
}

details h4{
    margin-top:20px;
    margin-bottom:10px;
    color:var(--primary);
}

details p{
    margin-bottom:15px;
}

details p:last-child{
    padding-bottom:25px;
}

#kontakt{
    background:var(--primary);
    color:white;
    text-align:center;
}

#kontakt h2{
    color:white;
}

#kontakt a{
    color:white;
    text-decoration:none;
}

.content-page{
    max-width:1000px;
    margin:140px auto 80px auto;
    padding:50px;
    background:white;
    border-radius:25px;
    box-shadow:var(--shadow);
}

.content-page h1{
    color:var(--primary);
    margin-bottom:30px;
    font-size:2.5rem;
}

.content-page h2{
    color:var(--primary);
    margin-top:40px;
    margin-bottom:15px;
}

.content-page p{
    margin-bottom:15px;
}

.content-page ul{
    margin-left:25px;
    margin-bottom:20px;
}

.content-page li{
    margin-bottom:8px;
}

@media(max-width:768px){

    .content-page{
        margin:110px 20px 50px 20px;
        padding:30px;
    }

    .content-page h1{
        font-size:2rem;
    }
}

#kontakt a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

#kontakt a:hover{
    opacity:.8;
}

#anfrage{
    background:white;
    border-radius:25px;
    box-shadow:var(--shadow);
}
@media(max-width:768px){

    #vergleich{
        display:none;
    }

    #vergleich-mobile{
        display:block;
    }

}

        .form-group { margin-bottom: 15px; }
        label { display: block; margin-bottom: 5px; font-weight: bold; }
        input, select, textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
        input[type="checkbox"] { width: auto; margin-right: 10px; }
        button { background-color: #28a745; color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; }
        button:hover { background-color: #218838; }
        .hidden { display: none; }
        .honeypot { display: none !important; } /* Unsichtbares Feld für Bots */

.campabove-float{
    position:fixed;

    right:-250px;
    bottom:30px;

    display:flex;
    align-items:center;
    gap:12px;

    padding:16px 24px;

    background:linear-gradient(
        135deg,
        var(--primary),
        #2D73BD
    );

    color:white;
    text-decoration:none;

    border-radius:50px;

    font-weight:600;
    font-size:1rem;

    box-shadow:
        0 10px 30px rgba(0,0,0,.20);

    z-index:9999;

    animation:slideIn 1s ease forwards;
    animation-delay:1.5s;

    transition:all .3s ease;
}

.campabove-float:hover{
    transform:translateY(-4px) scale(1.03);

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);
}

.campabove-float .icon{
    font-size:1.5rem;
}

@keyframes slideIn{

    from{
        right:-250px;
        opacity:0;
    }

    to{
        right:30px;
        opacity:1;
    }

}
@media(max-width:768px){

    .campabove-float{
	animation:none;
        padding:12px 16px;
        font-size:.85rem;

        right:15px;
        bottom:15px;
    }

    .campabove-float .icon{
        font-size:1.2rem;
    }

}
.mobile-text{
    display:none;
}

@media(max-width:768px){

    .desktop-text{
        display:none;
    }

    .mobile-text{
        display:inline;
    }

}

footer{
    background:#10253d;
    color:white;
    padding:35px;
    text-align:center;
}

footer a{
    color:white;
    margin:0 15px;
    text-decoration:none;
}

