*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ===========================
   Navigation
=========================== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:#fff;
    z-index:1000;
    box-shadow:0 4px 20px rgba(0,0,0,.08);
}

.navbar{

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 40px;

}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
}

.logo img{
    height:70px;
    width:auto;
}

.logo span{
    color:#222;
    font-size:28px;
    font-weight:700;
    letter-spacing:.5px;
}
.nav-links{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-links a{

    color:#222;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.nav-links a:hover{

    color:#49b649;

}

/* ===========================
   Hero
=========================== */

.hero{

    min-height: 800px;
    height:100vh;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    padding-top: 140px;

    text-align:center;

   background-image:
linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
url("../images/hero.jpg");

    background-size:cover;

    background-position:center 40%;

    color:white;

}

.hero-content{

    max-width:850px;
    padding:20px;

    transform: translateY(70px);
}

.hero h1{

    font-size:56px;

    margin-bottom:20px;

    line-height:1.2;

}

.hero p{

    font-size:24px;

    margin-bottom:45px;

    opacity:.95;

}

/* ===========================
   Button
=========================== */

.button{

    display:inline-block;

    padding:18px 42px;

    background:#49b649;

    color:white;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.button:hover{

    background:#388e38;

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(0,0,0,.25);

}

/* ===========================
   Responsive
=========================== */

@media(max-width:900px){

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

.navbar{

flex-direction:column;

gap:20px;

}

.nav-links{

gap:18px;

flex-wrap:wrap;

justify-content:center;

}

}/* ==============================
   Rubin Care Solutions Premium
================================ */

.hero-tag{

display:inline-block;

padding:10px 22px;

background:rgba(73,182,73,.18);

border:1px solid rgba(73,182,73,.45);

border-radius:40px;

margin-bottom:25px;

font-size:15px;

letter-spacing:.5px;

backdrop-filter:blur(10px);

}

.hero-buttons{

display:flex;

justify-content:center;

gap:20px;

margin-top:40px;

flex-wrap:wrap;

}

.button-secondary{

display:inline-block;

padding:18px 42px;

border:2px solid white;

border-radius:50px;

text-decoration:none;

color:white;

font-weight:600;

transition:.35s;

}

.button-secondary:hover{

background:white;

color:#111;

}

.hero h1{

text-shadow:0 8px 30px rgba(0,0,0,.4);

}

.hero p{

font-size:22px;

max-width:750px;

margin:auto;

line-height:1.7;

}/* ==========================
   Leistungen
========================== */

.services{
    padding:120px 8%;
    background:#f8f9fb;
}

.container{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.section-tag{
    display:inline-block;
    background:#78d64b;
    color:white;
    padding:8px 18px;
    border-radius:30px;
    margin-bottom:20px;
    font-size:14px;
    font-weight:600;
}

.services h2{
    font-size:42px;
    margin-bottom:20px;
}

.section-text{
    max-width:700px;
    margin:auto;
    color:#666;
    margin-bottom:60px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    justify-items:center;
    gap:30px;
    margin-top:60px;
}

.service-card{
    background:#fff;
    width:100%;
    max-width:340px;
    min-height:360px;

    padding:40px 30px;
    border-radius:20px;

    border-top:5px solid #78d64b;
    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;
    text-align:center;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.icon{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:20px;
}

.service-icon{
    width:56px;
    height:56px;
    color:#78d64b;
    transition:.3s;
}

.service-card:hover .service-icon{
    transform:scale(1.1);
}

.service-card h3{
    margin:15px 0;
    font-size:24px;
}

.service-card p{
    color:#666;
    line-height:1.7;
    margin-bottom:25px;
}

.service-card a{
    color:#78d64b;
    text-decoration:none;
    font-weight:600;
}

.service-card a:hover{
    letter-spacing:1px;
}

@media (max-width:900px){
    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:600px){
    .service-grid{
        grid-template-columns:1fr;
    }
}

.service-card p{
    color:#666;
    line-height:1.7;
}
/* =========================
   Über uns
========================= */

.about{
    padding:70px 8% 120px;
    background:#f8f9fb;
    scroll-margin-top:110px;;
}

.about-container{
    max-width:900px;
    margin:0 auto;
}

.about-content{
    text-align:center;
}

.about-content h2{
    font-size:42px;
    margin:20px 0;
}

.about-content p{
    max-width:760px;
    margin:0 auto 22px;
    color:#666;
    line-height:1.8;
}

.about-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:30px;
}


.feature{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    background:#fff;
    padding:22px 28px;
    border-radius:16px;

    border:1px solid #e9ecef;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    transition:all .3s ease;
}

.feature:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

@media(max-width:900px){

.about-container{
    grid-template-columns:1fr;
}

.about-content{
    text-align:center;
}

.about-features{
    grid-template-columns:1fr;
}

}
@media (max-width:900px){
    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:600px){
    .service-grid{
        grid-template-columns:1fr;
    }
}

.feature-icon{
    width:26px;
    height:26px;
    color:#78d64b;
    stroke:#78d64b;
    flex-shrink:0;
}
/* ==========================
   Kontakt
========================== */

.contact{
    padding:110px 8% 90px;
    background:#f8f9fb;
    scroll-margin-top:20px;
}

.contact-container{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:50px;
    align-items:start;
}

.contact-info{
    text-align:left;
}

.contact-item{
    margin-bottom:35px;
}

.contact-item h3{
    font-size:22px;
    margin-bottom:10px;
    color:#222;
}

.contact-item p{
    font-size:18px;
    line-height:1.6;
    color:#666;
}

/* Formular */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:18px;
    width:100%;
    max-width:700px;
}

.contact-form input,
.contact-form textarea{

    width:100%;
    box-sizing:border-box;

    padding:18px 20px;

    border:1px solid #ddd;
    border-radius:12px;

    background:#fff;

    font-size:16px;
    font-family:inherit;

    outline:none;
    transition:.3s;
}

.contact-form textarea{
    min-height:180px;
    resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#78d64b;
    box-shadow:0 0 0 4px rgba(120,214,75,.15);

}

.contact-form button{

    width:100%;
    padding:18px;

    border:none;
    border-radius:12px;

    background:#78d64b;
    color:#fff;

    font-size:17px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{

    background:#63b33f;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(120,214,75,.25);

}

.contact-form button:active{
    transform:translateY(0);
}

.contact-form button:disabled{

    background:#8fbf7b;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;

}

/* ==========================
   Handyansicht Kontakt
========================== */

@media (max-width: 768px) {

    .contact{
        padding: 70px 20px;
    }

    .contact-container{
        display: flex;
        flex-direction: column;
        gap:40px;
    }

    .contact-info{
        width:100%;
    }

    .contact-form{
        width:100%;
        max-width:100%;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button{
        width:100%;
    }

}

/* Datenschutzhinweis */

.privacy-note{
    font-size:14px;
    color:#666;
    line-height:1.6;
    margin-top:-5px;
    margin-bottom:10px;
}

.privacy-note a{
    color:#78d64b;
    text-decoration:none;
    font-weight:600;
}

.privacy-note a:hover{
    text-decoration:underline;
}

.privacy-checkbox{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:20px 0;
    font-size:15px;
    line-height:1.6;
}

.privacy-checkbox input{
    flex-shrink:0;
    margin-top:4px;
}

.privacy-checkbox a{
    color:#79c000;
    font-weight:600;
    text-decoration:none;
}

.privacy-checkbox a:hover{
    text-decoration:underline;
}

.privacy-checkbox input[type="checkbox"]{
    appearance:auto;
    -webkit-appearance:checkbox;
    width:18px !important;
    height:18px !important;
    min-width:18px;
    min-height:18px;
    margin-top:2px;
    padding:0 !important;
    border:none;
    box-shadow:none;
    flex-shrink:0;
}

.privacy-checkbox a{
    color:#79c000;
    font-weight:600;
    text-decoration:none;
}

.privacy-checkbox a:hover{
    text-decoration:underline;
}

/* Erfolgsmeldung */

.success-message{
    background:#e9f9e5;
    border:1px solid #78d64b;
    color:#2d6a1f;

    padding:18px 22px;
    border-radius:12px;

    margin:25px 0;

    font-weight:500;
    line-height:1.6;
}

/* Fehlermeldung */

.error-message{
    background:#ffeaea;
    border:1px solid #e74c3c;
    color:#b00020;

    padding:18px 22px;
    border-radius:12px;

    margin:25px 0;

    font-weight:500;
    line-height:1.6;
}


/* ==========================
   Footer
========================== */

.footer{
    width:100%;
    background:#1f1f1f;
    color:#f8f9fb;
    border-top:4px solid #78d64b;

    margin-top:0px;
    padding:70px 8% 30px;
}

.footer-container{

    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:70px;
}

.footer h3{
    font-size:28px;
    margin-bottom:20px;
}

.footer h4{
    font-size:20px;
    margin-bottom:20px;
}

.footer p{
    color:#cfcfcf;
    line-height:1.8;
}

.footer-contact{
    margin-top:25px;
}

.footer-contact p{
    margin-bottom:10px;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.footer a{
    color:#cfcfcf;
    text-decoration:none;
    transition:.3s;
}

.footer a:hover{
    color:#78d64b;
    padding-left:6px;
}

.footer-bottom{

    max-width:1200px;
    margin:50px auto 0;
    padding-top:22px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;
    color:#999;
    font-size:14px;
}

@media(max-width:900px){

    .footer-container{
        grid-template-columns:1fr;
        gap:40px;
        text-align:center;
    }

    .footer-links{
        align-items:center;
    }

}
/* ==========================
   Impressum / Datenschutz
========================== */

.legal-page{

    padding:170px 8% 100px;
    background:#f8f9fb;

}

.legal-box{

    background: #ffff;

    max-width:900px;

    margin:40px auto 0;

    padding:50px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    text-align:left;

}

.legal-box h2{

    margin-top:35px;
    margin-bottom:15px;

    color:#222;

}

.legal-box p{

    line-height:1.9;
    color:#666;

}

.legal-box a{

    color:#49b649;
    text-decoration:none;

}

.legal-box a:hover{

    text-decoration:underline;

}

@media(max-width:900px){

.legal-box{

padding:30px;

}

}
.success-message{
    background:#e8f8ec;
    color:#2e7d32;
    border:1px solid #78d64b;
    padding:18px;
    border-radius:12px;
    margin:25px auto;
    max-width:700px;
    text-align:center;
    font-weight:600;
}

.error-message{
    background:#fdeaea;
    color:#c62828;
    border:1px solid #ef5350;
    padding:18px;
    border-radius:12px;
    margin:25px auto;
    max-width:700px;
    text-align:center;
    font-weight:600;
}

@media (max-width: 900px) {

    html,
    body{
        overflow-x:hidden;
    }

    .container{
        width:100%;
        max-width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    .services-grid{
        display:grid;
        grid-template-columns:1fr;
    }

    .features-grid{
        display:grid;
        grid-template-columns:1fr;
    }

    .about-container{
        display:flex;
        flex-direction:column;
    }

    .contact-container{
        display:flex;
        flex-direction:column;
        gap:35px;
    }

    .contact-info{
        width:100%;
    }

    .contact-form{
        width:100%;
        max-width:100%;
    }

    .contact-form input,
    .contact-form textarea{
        width:100%;
        box-sizing:border-box;
    }

}

/* =====================================================
   MOBILE PREMIUM (bis 768px)
===================================================== */

@media (max-width:768px){

html,
body{
    overflow-x:hidden;
}

/* Allgemein */

.container{
    width:100%;
    max-width:100%;
    padding:0 20px;
    box-sizing:border-box;
}

.section-title{
    font-size:32px;
    text-align:center;
}

.section-text{
    font-size:17px;
    text-align:center;
    line-height:1.8;
}

/* Header */

.navbar{
    padding:18px 20px;
}

.logo img{
    height:55px;
}

.logo span{
    font-size:22px;
}

/* Hero */

.hero{
    min-height:90vh;
    padding:130px 20px 70px;
    text-align:center;
}

.hero-content{
    max-width:100%;
}

.hero h1{
    font-size:38px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero p{
    font-size:18px;
    line-height:1.7;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    flex-direction:column;
    gap:16px;
    align-items:center;
}

.hero-buttons .button,
.hero-buttons .button-secondary{
    width:100%;
    max-width:320px;
}

/* Leistungen */

.services-grid{
    grid-template-columns:1fr;
    gap:25px;
}

.service-card{
    padding:35px 25px;
}

/* Über uns */

.about-container{
    display:flex;
    flex-direction:column;
    gap:40px;
}

.about-image img{
    width:100%;
}

/* Kontakt */

.contact{
    padding:70px 20px;
}

.contact-container{
    display:flex;
    flex-direction:column;
    gap:40px;
}

.contact-form{
    max-width:100%;
}

.contact-form input,
.contact-form textarea,
.contact-form button{
    width:100%;
    box-sizing:border-box;
}

/* Footer */

.footer-container{
    display:flex;
    flex-direction:column;
    gap:35px;
    text-align:center;
}

.footer-column{
    width:100%;
}

.footer-contact{
    text-align:center;
}

.footer-links{
    align-items:center;
}

}

/* =====================================
   PREMIUM EFFEKTE
===================================== */

/* Sanftes Scrollen */
html{
    scroll-behavior:smooth;
}

/* Buttons */

.button,
.button-secondary,
.contact-form button{

    transition:all .35s ease;

}

.button:hover,
.button-secondary:hover,
.contact-form button:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

/* Karten */

.service-card,
.contact-item{

    transition:all .35s ease;

}

.service-card:hover,
.contact-item:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

/* Bilder */

.about-image img{

    transition:transform .5s ease;

}

.about-image img:hover{

    transform:scale(1.03);

}

/* Navigation */

.nav-links a{

    transition:.3s;

}

.nav-links a:hover{

    color:#78d64b;

}

/* Chrome / Edge */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f2f2f2;
}

::-webkit-scrollbar-thumb{
    background:#78d64b;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#63b33f;
}