/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.6;
}

/* =========================
   NAVIGATION
========================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;

    background: white;

    box-shadow: 0 2px 15px rgba(0,0,0,0.08);

    .header-hidden {
    transform: translateY(-100%);
}
}

.header-hidden {
    transform: translateY(-100%) !important;
}


.navbar {

    max-width: 1500px;

    margin: auto;

    display: grid;

    grid-template-columns:
    220px 1fr 220px;

    align-items: center;

    padding: 10px 40px;
}

.logo img {
    height: 90px;
}

.nav-links {

    list-style: none;

    display: flex;

    justify-content: center;

    gap: 40px;

    transform: translateX(-80px);
}

.nav-links a {

    text-decoration: none;

    color: #222;

    font-weight: 600;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #c40000;
}

/* =========================
   HERO
========================= */

.hero {

    position: relative;

    height: 100vh;

    overflow: hidden;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;
}

.hero-video {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;
}

.hero-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.55);

    z-index: -1;
}

.hero-content {

    position: relative;

    z-index: 5;

    max-width: 900px;

    padding: 20px;
}

.hero h1 {

    color: white;

    font-size: 68px;

    line-height: 1.2;

    margin-bottom: 25px;
}

.hero p {

    color: white;

    font-size: 24px;

    margin-bottom: 40px;
}

.btn {

    display: inline-block;

    padding: 18px 40px;

    background: #c40000;

    color: white;

    text-decoration: none;

    border-radius: 6px;

    font-weight: bold;

    transition: .3s;
}

.btn:hover {

    background: #9d0000;

    transform: translateY(-3px);
}

/* HANDY */

@media(max-width:768px){

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:18px;
    }
}

@media(max-width:480px){

    .hero h1{
        font-size:28px;
    }

    .hero p{
        font-size:16px;
    }
}

.btn {
    display: inline-block;

    padding: 18px 40px;

    background: #c40000;
    color: white;

    text-decoration: none;
    border-radius: 6px;

    font-weight: bold;

    transition: 0.3s;
}

.btn:hover {
    background: #9d0000;
    transform: translateY(-3px);
}

/* =========================
   ALLGEMEINE SEKTIONEN
========================= */

section {
    padding: 120px 8%;
}

section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;

    color: #c40000;
}

/* =========================
   LEISTUNGEN
========================= */

.cards {
    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

    gap: 35px;
}

.card {
    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.08);

    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card h3 {
    padding: 20px 20px 10px;
    color: #c40000;
}

.card p {
    padding: 0 20px 25px;
}

/* =========================
   ÜBER UNS
========================= */

#ueber-uns {
    background: #f7f7f7;
}

#ueber-uns ul {
    max-width: 700px;
    margin: auto;

    list-style: none;
}

#ueber-uns li {
    background: white;

    margin-bottom: 15px;

    padding: 18px;

    border-left: 5px solid #c40000;

    box-shadow:
    0 4px 12px rgba(0,0,0,0.05);
}

/* =========================
   GALERIE
========================= */

.gallery {
    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 280px;

    object-fit: cover;

    border-radius: 10px;

    transition: 0.4s;
}

.gallery img:hover {
    transform: scale(1.04);
}

/* =========================
   KONTAKT
========================= */

form {
    max-width: 700px;
    margin: auto;
}

form input,
form textarea {

    width: 100%;

    padding: 18px;

    margin-bottom: 15px;

    border: 1px solid #ddd;

    border-radius: 6px;

    font-size: 16px;
}

form textarea {
    height: 180px;
}

form button {

    background: #c40000;
    color: white;

    border: none;

    padding: 18px 40px;

    cursor: pointer;

    border-radius: 6px;

    font-size: 16px;
}

form button:hover {
    background: #9d0000;
}

.kontakt-info {
    text-align: center;
    margin-top: 50px;
}

.kontakt-info h3 {
    color: #c40000;
    margin-bottom: 15px;
}



/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

    .navbar{
        flex-direction: column;
        gap: 20px;
    }

    .hero h1{
        font-size: 42px;
    }

    .hero p{
        font-size: 18px;
    }

    section{
        padding: 90px 5%;
    }

}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo img {
        height: 55px;
    }

    .hero {
        height: 90vh;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 17px;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    section {
        padding: 70px 20px;
    }

    section h2 {
        font-size: 30px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img {
        height: 230px;
    }

    form input,
    form textarea {
        font-size: 16px;
    }
}

/* =========================
   KLEINE HANDYS
========================= */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    section h2 {
        font-size: 24px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    footer {
        padding: 25px 15px;
    }
}

/* =========================
   VORTEILE
========================= */

.vorteile {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

    margin-top: 50px;
}

.vorteile .card {

    text-align: center;

    padding: 40px;
}


/* =========================
   FOOTER NEU
========================= */

.footer-container{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:40px;
}

.footer-box{

    display:flex;
    
    text-align:center;

    flex-direction:column;

    gap:12px;
}

.footer-box h3{

    color:#ff4040;

    margin-bottom:10px;
}

.footer-box a{

    color:white;

    text-decoration:none;
}

.footer-box a:hover{

    color:#ff4040;
}

.footer-logo{

    display:block;

    margin:0 auto 25px;

    width:140px;

    height:auto;
}

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,.1);

    margin-top:15px;

    padding-top:10px;

    text-align:center;
}

.footer-bottom a{

    margin:0 10px;
}

@media(max-width:768px){

    .footer-container{

        text-align:center;
    }

    .footer-logo{

        margin:auto;
    
    }    
}


/* =========================
   FOOTER PREMIUM
========================= */

.footer-container {

    max-width: 1400px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    padding: 0px 0;
}

.footer-box {

    flex: 1;

    min-width: 220px;
}

.footer-logo {

    width: 140px;

    margin-bottom: 1px;
}

.footer-box h3 {

    color: #ff4040;

    margin-bottom: 1px;

    font-size: 22px;
}

.footer-box a {

    color: white;

    text-decoration: none;

    transition: .3s;
}

.footer-box a:hover {

    color: #ff4040;

    padding-left: 5px;
}

.footer-box p {

    color: #d5d5d5;

    line-height: 1.8;
}

.footer-bottom {

    margin-top: 50px;

    padding-top: 25px;

    border-top:
    1px solid rgba(255,255,255,.1);

    text-align: center;
}

.footer-bottom a {

    color: white;

    margin: 0 12px;

    text-decoration: none;
}

.footer-bottom a:hover {

    color: #ff4040;
}

.footer-bottom p {

    margin-top: 15px;

    color: #bdbdbd;
}
footer {

    background: #111;

    color: white;

    padding: 25px 40px;

    font-size: 16px;
}
/* =========================
   FOOTER HANDY
========================= */

@media(max-width:900px){

    .footer-container{

        flex-direction:column;

        text-align:center;
    }

    .footer-box{

        width:100%;
    }

    .footer-logo{

        margin:auto;
    }
    .angebot-btn{

    display:none;
}
}

/* =========================
   VORTEILE PREMIUM
========================= */

.vorteile-section {

    text-align: center;

    padding: 120px 8%;

    background: #fff;
}

.vorteile-section h2 {

    font-size: 52px;

    color: #c40000;

    margin-bottom: 25px;
}

.vorteile-text {

    max-width: 900px;

    margin: auto;

    font-size: 22px;

    color: #555;

    margin-bottom: 80px;

    line-height: 1.8;
}

.vorteile {

    display: flex;

    justify-content: center;

    gap: 50px;

    flex-wrap: wrap;

    margin-bottom: 60px;
}

.vorteile .card {

    flex: 1;

    min-width: 280px;

    max-width: 350px;

    background: white;

    padding: 40px;

    border-radius: 15px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition: .3s;
}

.vorteile .card:hover {

    transform: translateY(-10px);
}

.vorteile .card i {

    font-size: 55px;

    color: #c40000;

    margin-bottom: 25px;
}

.vorteile .card h3 {

    margin-bottom: 20px;

    font-size: 26px;
}

.vorteile .card p {

    color: #666;

    line-height: 1.8;
}

.vorteile-btn {

    display: inline-block;

    background: #c40000;

    color: white;

    text-decoration: none;

    padding: 18px 40px;

    border-radius: 8px;

    font-weight: bold;

    transition: .3s;
}

.vorteile-btn:hover {

    background: #9d0000;

    transform: translateY(-3px);
}

/* =========================
   HANDY
========================= */

@media(max-width:768px){

    .vorteile-section h2{

        font-size: 34px;
    }

    .vorteile-text{

        font-size: 18px;
    }

    .vorteile{

        flex-direction: column;

        align-items: center;
    }
}

.angebot-btn {

    justify-self: end;

    background: #c40000;

    color: white;

    text-decoration: none;

    padding: 14px 25px;

    border-radius: 8px;

    font-weight: 600;

    transition: .3s;
}

.angebot-btn:hover {

    background: #9d0000;

    transform: translateY(-2px);
}
/* =========================
   MODAL
========================= */

.modal {


    z-index: 1000;

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.6);

    z-index: 9999;
}

.modal-content {

    background: white;

    width: 90%;
    max-width: 650px;

    margin: 80px auto;

    padding: 35px;

    border-radius: 12px;

    position: relative;
}

.modal-content h2 {

    margin-bottom: 15px;
}

.modal-content p {

    color: #666;

    margin-bottom: 25px;
}

.modal-content input,
.modal-content textarea {

    width: 100%;

    padding: 15px;

    margin-bottom: 15px;

    border: 1px solid #ddd;

    border-radius: 8px;
}

.modal-content textarea {

    height: 160px;

    resize: none;
}

.checkbox {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.5;
}

.checkbox input {

    width: auto !important;

    margin: 0;
}

.checkbox a {

    color: #c40000;

    text-decoration: none;

    font-weight: 600;
}

.checkbox a:hover {

    text-decoration: underline;
}

.modal-content button {

    width: 100%;

    background: #c40000;

    color: white;

    border: none;

    padding: 16px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 16px;
}

.modal-content button:hover {

    background: #9d0000;
}

.close {

    position: absolute;

    top: 15px;
    right: 20px;

    font-size: 28px;

    cursor: pointer;

    color: #666;
}

.leistungen-intro{

    max-width: 800px;

    margin: 15px auto 30px;

    text-align: center;

    font-size: 18px;

    color: #666;

    line-height: 1.8;
}

.leistungen-button{

    text-align: center;

    margin-top: 50px;
}


/* =========================
   WARUM TRB
========================= */

.warum-grid{

    max-width:1200px;

    margin:60px auto 0;

    padding-left:90px;

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:40px;
}

.warum-item{

    border-left:5px solid #c40000;

    padding-left:25px;
}

.warum-item h3{

    color:#c40000;

    margin-bottom:12px;

    font-size:28px;
}

.warum-item p{

    color:#666;

    line-height:1.8;
}

@media(max-width:768px){

    .warum-grid{

        grid-template-columns:1fr;
    }

}

#ueber-uns h2 {

    margin-bottom: 15px !important;
}




/* =========================
   KONTAKTSEITE
========================= */

.kontakt-hero{

    height: 350px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding-top: 220px;

    background:
    linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.6)),
    url("kontakt-banner.jpg");

    background-size: cover;
    background-position: center;
}

.kontakt-hero h1{

    color: white;

    font-size: 60px;

    margin-bottom: 15px;
}

.kontakt-hero p{

    color: white;

    font-size: 20px;
}

.kontakt-page{

    padding: 100px 8%;

    max-width: 1200px;

    margin: auto;

    text-align: center;
}

.kontakt-page h2{

    color: #c40000;

    margin-bottom: 20px;
}

.kontakt-intro{

    max-width: 800px;

    margin: 0 auto 50px;

    color: #666;

    line-height: 1.8;
}

.kontakt-page form{

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.kontakt-page form input:nth-child(3),
.kontakt-page form input:nth-child(4),
.kontakt-page form textarea,
.kontakt-page form .checkbox,
.kontakt-page form button{

    grid-column: span 2;
}

.kontakt-page textarea{

    height: 220px;
}

/* =========================
   ADRESSE
========================= */

.adresse-section{

    padding: 100px 8%;

    text-align: center;
}

.adresse-section h2{

    color: #c40000;

    margin-bottom: 15px;
}

.adresse{

    color: #c40000;

    font-weight: 600;

    margin: 20px 0 40px;
}

.map-container{

    max-width: 1100px;

    margin: auto;

    overflow: hidden;

    border-radius: 12px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.1);
}

/* =========================
   CTA
========================= */

.cta-section{

    background: #616161;

    color: white;

    text-align: center;

    padding: 80px 8%;
}

.cta-section h2{

    color: white;

    margin-bottom: 20px;
}

.cta-section p{

    max-width: 700px;

    margin: 0 auto 40px;

    line-height: 1.8;
}

/* =========================
   HANDY
========================= */

@media(max-width:768px){

    .kontakt-page form{

        grid-template-columns: 1fr;
    }

    .kontakt-page form input,
    .kontakt-page form textarea,
    .kontakt-page form .checkbox,
    .kontakt-page form button{

        grid-column: span 1;
    }

    .kontakt-hero h1{

        font-size: 40px;
    }
}

/* =========================
   IMPRESSUM / DATENSCHUTZ
========================= */

.page-header{

    padding:180px 20px 80px;

    text-align:center;

    background:
    linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("impressum-banner.jpg");

    background-size:cover;

    background-position:center;
}

.page-header h1{

    font-size:56px;

    color:#c40000;
}

.content-page{

    max-width:1000px;

    margin:auto;

    padding:80px 8%;

    line-height:1.8;
}

.content-page h2{

    color:#c40000;

    margin-bottom:30px;
}

.content-page h3{

    color:#222;

    margin-top:40px;

    margin-bottom:15px;
}

.content-page p{

    color:#555;
}

.content-page a{

    color:#c40000;

    text-decoration:none;

    font-weight:600;
}

.content-page a:hover{

    text-decoration:underline;
}
/* =========================
   LEISTUNGEN
========================= */

.leistungen-page{

    padding:220px 8%;

    background:#f7f7f7;
}

.leistungen-header{

    text-align:center;

    margin-bottom:130px;
}

.leistungen-header h1{

    font-size:60px;

    color:#c40000;

    margin-bottom:20px;
}

.leistungen-header p{

    max-width:800px;

    margin:auto;

    color:#666;

    line-height:1.8;
}

.leistungen-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:60px;

    max-width:1200px;

    margin:0 auto;

}



.leistung-card{

    display:flex;

    gap:25px;

    align-items:center;
}

.leistung-card img{

    width:260px;

    height:180px;

    object-fit:cover;

    border-radius:10px;
}

.leistung-content h3{

    color:#24458d;

    font-size:34px;

    margin-bottom:15px;
}

.leistung-content p{

    color:#666;

    line-height:1.8;

    margin-bottom:10px;
}

.leistung-content a{

    color:#24458d;

    text-decoration:none;

    font-weight:bold;
}

/* =========================
   WARUM TRB
========================= */

.warum-trb{

    margin-top:120px;
}

.warum-trb h2{

    text-align:center;

    color:#24458d;

    margin-bottom:40px;
}

.warum-grid{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:25px;
}

.warum-box{

    background:white;

    padding:25px;

    border-radius:10px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.warum-box h4{

    color:#c40000;

    margin-bottom:10px;
}

.warum-box p{

    color:#666;
}

/* =========================
   HANDY
========================= */

@media(max-width:400px){

    .leistungen-grid{

        grid-template-columns:1fr;
    }



.leistungen-banner {
        height: auto !important;
        padding: 60px 20px !important;

        /* ÄNDERUNG HIER: Greift jetzt NUR auf dem Smartphone! */
        background-position: 20% 15% !important; 
    }





    
.leistungen-banner {
        height: auto !important;
        padding: 60px 20px !important;
    }

    .leistungen-overlay {
        margin-top: 40px !important;
    }

.leistungen-overlay p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }
    
.warum-grid {
        padding-left: 0 !important;
        margin: 30px auto 0 !important;
    }

.leistung-content {
        text-align: left !important;
        width: 100% !important;
        padding: 10px 5px !important; /* Gibt dem Text minimalen Abstand zum Rand */
    }

    .leistung-card{

        flex-direction:column;
    }

    .leistung-card img{

        width:100%;
        height:250px;
    }

    .warum-grid{

        grid-template-columns:1fr;
    }
}

.leistung-card.gross{

    grid-column: 1 / -1;

    max-width: 900px;

    margin: 20px auto 0;
}


/* =========================
   LEISTUNGEN BANNER
========================= */

.leistungen-banner{

    height:450px;

    background:
    linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
    ),
    url("leistungen-banner.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;
}

.leistungen-overlay h1{

    color:white;

    font-size:70px;

    margin-bottom:20px;
}

.leistungen-overlay p{

    color:white;

    font-size:22px;

    max-width:800px;

    margin:auto;
}

.leistungen-overlay{

    margin-top: 80px;
}


/* =========================
   CTA LEISTUNGEN
========================= */

.cta-section{

    background:#ac0a0a;

    padding:50px 20px;

    text-align:center;

    margin-top:80px;
}

.cta-content{

    max-width:900px;

    margin:auto;
}

.cta-content h2{

    color:white;

    font-size:48px;

    margin-bottom:20px;
}

.cta-content p{

    color:white;

    font-size:18px;

    line-height:1.8;

    margin-bottom:30px;
}

.cta-btn{

    display:inline-block;

    background:white;

    color:#c40000;

    text-decoration:none;

    padding:15px 35px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;
}

.cta-btn:hover{

    transform:translateY(-2px);

    background:#f5f5f5;
}


/* =========================
   DATENSCHUTZ / IMPRESSUM
========================= */

.content-page{

    max-width:1000px;

    margin:80px auto;

    padding:50px;

    background:white;

    border-radius:12px;

    box-shadow:
    0 5px 25px rgba(0,0,0,.08);
}

.content-page h2{

    color:#c40000;

    margin-top:40px;

    margin-bottom:15px;

    font-size:30px;
}

.content-page h3{

    color:#333;

    margin-top:25px;

    margin-bottom:10px;
}

.content-page p{

    color:#555;

    line-height:1.9;

    margin-bottom:15px;
}

.content-page ul{

    margin:20px 0;

    padding-left:25px;
}

.content-page li{

    margin-bottom:10px;

    color:#555;

    line-height:1.8;
}

.content-page a{

    color:#c40000;

    text-decoration:none;

    font-weight:600;
}

.content-page a:hover{

    text-decoration:underline;
}

/* =========================
   HEADER BILD
========================= */

.page-header{

    height:350px;

    background:
    linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.55)
    ),
    url("datenschutz-banner.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;
}

.page-header h1{

    color:white;

    font-size:60px;

    font-weight:700;
}

/* =========================
   HANDY
========================= */

@media(max-width:768px){

    .content-page{

        margin:40px 20px;

        padding:30px;
    }

    .page-header h1{

        font-size:40px;
    }

    .content-page h2{

        font-size:24px;
    }
}


/* =========================
   ÜBER UNS BANNER
========================= */

.about-banner{

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.45)
    ),
    url("ueber-banner.jpg");


    background-size:cover;

    background-position:center 70%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;
}

.about-banner h1{

    color:white;

    font-size:80px;

    margin-bottom:15px;
}

.about-banner p{

    color:white;

    font-size:50px;

    text-align:center;
}

/* =========================
   HAUPTBEREICH
========================= */

.about-main{

    max-width:1200px;

    margin:100px auto;

    padding:0 30px;

    text-align:center;
}

.about-text h2{

    color:#b30000;

    font-size:42px;

    margin-bottom:30px;
}

.about-text p{

    max-width:900px;

    margin:0 auto 20px;

    line-height:1.8;

    color:#555;
}

/* =========================
   BILDER
========================= */

.about-gallery{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:50px;

    flex-wrap:wrap;
}

.about-gallery img{

    width:320px;

    height:220px;

    object-fit:cover;

    border-radius:10px;
}

/* =========================
   WERTE
========================= */

.about-values{

    max-width:1200px;

    margin:120px auto;

    padding:0 30px;

    text-align:center;
}

.about-values h2{

    color:#26458b;

    font-size:40px;

    margin-bottom:20px;
}

.values-subtitle{

    color:#666;

    margin-bottom:50px;
}

.values-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:25px;
}

.value-box{

    background:white;

    padding:35px;

    border-radius:10px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.value-box h3{

    color:#26458b;

    margin-bottom:15px;
}

.value-box p{

    color:#555;

    line-height:1.7;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

    .values-grid{

        grid-template-columns:1fr;
    }

    .about-banner h1{

        font-size:42px;
    }

    .about-text h2{

        font-size:32px;
    }
}








/* =========================
   REFERENZEN
========================= */

.referenzen-page{

    padding:100px 8%;

    background:#f8f8f8;
}

.referenzen-header{

    text-align:center;

    margin-bottom:60px;
}

.referenzen-header h2{

    color:#c40000;

    font-size:42px;

    margin-bottom:20px;
}

.referenzen-header p{

    max-width:800px;

    margin:auto;

    color:#666;

    line-height:1.8;
}

.referenzen-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));

    gap:35px;
}

.referenz-card{

    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:
    0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.referenz-card:hover{

    transform:translateY(-5px);
}

.referenz-card img{

    width:100%;

    height:250px;

    object-fit:cover;
}

.referenz-content{

    padding:25px;
}

.referenz-content h3{

    color:#c40000;

    margin-bottom:10px;
}

.referenz-content p{

    color:#666;

    line-height:1.7;
}

@media(max-width:768px){

    .referenzen-header h2{

        font-size:32px;
    }

    .referenzen-grid{

        grid-template-columns:1fr;
    }
}

/* Macht die Schrift zusätzlich handlich, falls sie zu groß ist */
    .referenzen-header h2 {
        font-size: 34px !important;
        margin-top: 20px !important;
    }



.cookie-banner{

    z-index: 999999 !important;
    position:fixed;

    bottom:20px;

    left:20px;

    width:450px;

    background:white;

    padding:25px;

    border-radius:12px;

    box-shadow:0 5px 25px rgba(0,0,0,.25);

    z-index:99999;
}

.cookie-content{

    z-index: 999999 !important;

    position:relative;
}

.cookie-close{

    position:absolute;

    right:0;

    top:0;

    border:none;

    background:none;

    font-size:22px;

    cursor:pointer;
}

.cookie-content h3{

    margin-bottom:15px;

    color:#222;
}

.cookie-content p{

    color:#555;

    line-height:1.7;

    margin-bottom:20px;
}

.cookie-content a{

    color:#c40000;

    text-decoration:none;

    font-weight:600;
}

.cookie-buttons{

    display:flex;

    justify-content:space-between;
}

.cookie-buttons button{

    padding:12px 25px;

    border-radius:30px;

    cursor:pointer;

    font-size:15px;
}

#decline-cookies{

    background:white;

    border:2px solid #333;
}

#accept-cookies{

    background:#c40000;

    color:white;

    border:none;
}

/* =========================
   GOOGLE MAPS DATENSCHUTZ
========================= */

#map-placeholder{

    background:#f5f5f5;

    padding:60px 30px;

    text-align:center;

    border-radius:12px;
}

#map-placeholder p{

    color:#555;

    font-size:18px;

    margin-bottom:20px;
}

#load-map-btn{

    background:#c40000;

    color:white;

    border:none;

    padding:15px 30px;

    border-radius:8px;

    cursor:pointer;

    font-size:16px;

    transition:.3s;
}

#load-map-btn:hover{

    background:#9d0000;
}

#map-placeholder h3{

    color:#c40000;

    font-size:30px;

    margin-bottom:20px;
}

#map-placeholder a{

    color:#c40000;

    text-decoration:none;

    font-weight:600;
}

#map-placeholder a:hover{

    text-decoration:underline;
}
.content-page{

    max-width:900px;

    margin:80px auto;

    padding:0 30px;

    text-align:center;
}

.content-page ul{

    list-style:none;

    padding:0;

    text-align:center;
}

.content-page li{

    margin-bottom:12px;
}






/* =========================
   ERFOLGSFENSTER
========================= */

.success-popup{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.6);

    justify-content:center;

    align-items:center;

    z-index:999999;
}

.success-box{

    background:white;

    max-width:500px;

    width:90%;

    padding:40px;

    border-radius:15px;

    text-align:center;
}

.success-box h2{

    color:#28a745;

    margin-bottom:15px;
}

.success-box p{

    color:#555;

    line-height:1.7;
}

.success-box button{

    margin-top:20px;

    background:#c40000;

    color:white;

    border:none;

    padding:12px 30px;

    border-radius:30px;

    cursor:pointer;
}










/* =========================
   IMPRESSUM & DATENSCHUTZ TIEFER (HANDY)
========================= */
@media (max-width: 680px) {
    
    /* Schiebt das graue Banner weit genug nach unten, damit die Fix-Navigation nichts verdeckt */
    .page-header {
        height: auto !important;
        padding-top: 270px !important;  /* Schiebt den Text nach unten */
        padding-bottom: 60px !important;
    }

    /* Macht die Überschrift auf Handys etwas kompakter, damit sie perfekt passt */
    .page-header h1 {
        font-size: 36px !important;
    }
}