/* ========== Überschriften ========== */
h2 {
    position: relative;
    padding-bottom: 12px; /* Abstand zur Linie */
    margin-bottom: 35px; /* Abstand zum nächsten Element */
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px; /* nicht durchgehend */
    height: 4px; /* dicke Linie */
    background-color: #27A8E0;/* deine Corporate-Farbe */
    border-radius: 2px; /* leicht abgerundet, wirkt hochwertig */
}

/* ========== GLOBAL ========== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

.centered {
    text-align: center;
    margin-bottom: 40px;
}


/* ========== HEADER ========== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
    background: #ffffff;
    color: #222;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eee;
}

header img {
    max-width: 420px;
}

.header-slogan {
    font-size: 16px;
    font-weight: 600;
    margin-left: 20px;
    flex-grow: 1;
    color: #222;
    transform: translateY(4px);
}

.header-phone {
    width: 38px;
    height: 38px;
    background: #27A8E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-phone svg {
    width: 22px;
    height: 22px;
}

@media(max-width: 600px){
    header img { max-width: 250px; }
    .header-slogan { display: none; }
    .header-phone {
        font-size: 26px;
        padding: 7px;
        border-radius: 50%;
    }
}


/* ========== HERO ========== */
.hero {
    background-image: url('images/diker-hausmeister-desktop.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.25)
    );
    backdrop-filter: blur(1.5px);
}

.hero h1,
.hero p,
.cta-btn {
    position: relative;
    z-index: 2;
    text-shadow: 0px 2px 6px rgba(0,0,0,0.6);
    line-height: 1.2em;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 22px;
    max-width: 700px;
    margin: auto;
}

.cta-btn {
    margin-top: 25px;
    background: #27A8E0;
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
}

/* Tablet */
@media(max-width: 1024px){
    .hero {
        background-image: url('images/diker-hausmeister-tablet.jpg');
    }
}

/* Mobile */
@media(max-width: 600px){
    .hero {
        background-image: url('images/diker-hausmeister-mobile.jpg');
        padding: 120px 20px;
    }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 18px; }
}


/* ========== ÜBER UNS ========== */
#ueber-uns ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

#ueber-uns li {
    position: relative;
    padding-left: 32px; /* etwas mehr Platz für dickere Punkte */
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.6; /* sorgt für perfekte vertikale Ausrichtung */
}

#ueber-uns li::before {
    content: "•"; /* Bullet-Punkt */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 30px; /* deutlich dicker & kräftiger */
    line-height: 1.0; /* zentriert den Punkt vertikal */
    color: #27A8E0; /* deine CTA-Farbe – seriös & konsistent */
    font-weight: bold; /* macht den Punkt optisch noch kräftiger */
}


/* ========== SERVICES ========== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-box {
    background: #f4f4f4;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.service-box img,
.service-box .icon {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 6px;
}


/* ========== TRUST ========== */
.trust-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.trust-item {
    background: #eaf2f8;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}


/* ========== FORMULAR & KONTAKT ========== */
#kontakt {
    max-width: 900px;
    margin: 0 auto;
}

form {
    max-width: 500px;
    margin: 0 auto;
    background: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
}

form input,
form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

form button {
    background: #0a3d62;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}


/* ========== FOOTER ========== */
footer {
    background: #0a3d62;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

footer a {
    color: #fff;
    text-decoration: underline;
    margin: 0 10px;
}


/* ========== COOKIE BANNER ========== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 9999;
    display: none;
}

#cookie-banner .cookie-buttons button {
    background: #e67e22;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 5px;
}


/* ========== COOKIE SETTINGS POPUP ========== */
#cookie-settings {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.cookie-settings-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
}

.cookie-settings-buttons button {
    background: #0a3d62;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
}
