/*Balken über Navigationsleiste */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;

}

* {
    box-sizing: border-box;
}



.side-buttons {
    position: fixed;
    right: 0;
    top: 65%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 10px;

    z-index: 999;
}

/* Basis */
.side-buttons a {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px 16px 0 16px; /* nur links rund */

    text-decoration: none;

    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.4);

    transition: all 0.2s ease;
}

/* Icons */
.side-buttons i {
    font-size: 22px;
    color: white;
}


.call-btn {
    background: linear-gradient(
            90deg,
            rgba(75, 77, 108, 0.67),
            rgba(26, 31, 78, 0.65)
    );
}


.whatsapp-btn {
    background: #379e5d;
}

.instagram-btn{
    background: #E1306C;
}

/* Hover */
.side-buttons a:hover {
    transform: translateX(-4px);
}

.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    background-image: url("../imports/hero_alt.png"); /* dein Bild */
    background-size: cover;
    background-position: center;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            90deg,
            rgba(115, 136, 150, 0.88),
            rgba(153, 172, 184, 0.82)
    );

    z-index: 1;
}

/* Content */
.hero-content {
    position: relative;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}


/* Überschrift */
.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Text */
.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button 1 */
.btn-primary {
    padding: 16px 28px;
    background: #e5e7eb;
    color: #676666;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;

    transition: 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Button 2 */
.btn-secondary {
    padding: 16px 28px;
    border: 2px solid white;
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-weight: 600;

    transition: 0.2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.why-section {
    max-width: 1200px;
    margin: 90px auto;
    padding: 0 30px;
    font-family: 'Manrope', sans-serif;
}

.why-header {
    text-align: center;
    margin-bottom: 46px;
}

.why-header h2 {
    margin: 0 0 12px 0;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f1b24;
}

.why-header p {
    margin: 0 auto;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.6;
    color: #6f7d88;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    padding: 34px 30px;

    background:
            radial-gradient(circle at top right, rgba(159, 178, 191, 0.16), transparent 34%),
            linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);

    border: 1px solid #dbe3e8;
    border-radius: 24px;
    box-shadow: 0 18px 42px -30px rgba(18, 32, 41, 0.22);

    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px -28px rgba(18, 32, 41, 0.28);
    border-color: #cbd8df;
}

.why-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;
    background: #99acb8;
    color: #ffffff;
    box-shadow: 0 14px 28px -20px rgba(115, 136, 150, 0.75);
}

.why-icon i {
    font-size: 22px;
}

.why-card h3 {
    margin: 0 0 14px 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0f1b24;
}

.why-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5f7482;
}

@media (max-width: 1000px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-section {
        margin: 60px auto;
        padding: 0 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 28px 24px;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #222;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 9999;
}

.cookie-banner button {
    margin-left: 15px;
    padding: 10px 18px;
    border: none;
    background: #2ecc71;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.cookie-banner {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 99999;
    padding: 20px;
}

.cookie-box {
    width: 100%;
    max-width: 720px;
    background: #fff;
    color: #222;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    font-family: Inter, Arial, sans-serif;
}

.cookie-box h3 {
    margin-bottom: 10px;
}

.cookie-box p {
    color: #555;
    line-height: 1.5;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #eee;
}

.cookie-option p {
    margin: 5px 0 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cookie-buttons button,
.map-consent-box button {
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
}

#accept-all,
#save-selection,
.map-consent-box button {
    background: #111;
    color: white;
}

#reject-all {
    background: #eee;
    color: #222;
}

.switch input {
    display: none;
}

.switch span {
    width: 52px;
    height: 28px;
    background: #ccc;
    display: block;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
}

.switch span::before {
    content: "";
    width: 22px;
    height: 22px;
    background: white;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    transition: 0.25s;
}

.switch input:checked + span {
    background: #111;
}

.switch input:checked + span::before {
    transform: translateX(24px);
}

.map-consent-box {
    padding: 40px;
    background: #f3f3f3;
    border-radius: 16px;
    text-align: center;
}