/* Global Style for all pages */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #bfe7e3, #e9f6f5);
  color: #222;
}
/* --------------------------------- */
/* LANDINGPAGE FRIENDLY STYLES       */
/* --------------------------------- */
body.landingpage {
    font-family: 'Nunito', 'Arial', sans-serif;
    line-height: 1.7;
    color: #222;
    background: #fdfdfd;
}

/* HEADER */
body.landingpage header {
    background: #fff;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

body.landingpage header img {
    height: 60px;
}

body.landingpage header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: 0.3s;
}

body.landingpage header nav a:hover {
    color: #7ed6c5;
}

/* HERO SECTION - ZENTRIERT */
body.landingpage .hero-advanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px;
    gap: 30px;
    background: linear-gradient(135deg, #bfe7e3, #e9f6f5);


}

body.landingpage .hero-content {
    max-width: 600px;
}

body.landingpage .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #2a2a2a;
}

body.landingpage .hero-content p {
    font-size: 1.2rem;
    max-width: 500px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
}

body.landingpage .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Buttons */
body.landingpage .btn-primary, 
body.landingpage .btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
}

body.landingpage .btn-primary {
    background: #7ed6c5;
    color: #fff;
}

body.landingpage .btn-primary:hover {
    background: #63c5b8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

body.landingpage .btn-secondary {
    border: 2px solid #7ed6c5;
    color: #7ed6c5;
}

body.landingpage .btn-secondary:hover {
    background: #7ed6c5;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* FEATURES */
body.landingpage .features {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 60px 40px;
    flex-wrap: wrap;
}

body.landingpage .feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.landingpage .feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

body.landingpage .feature-card h3 {
    margin-bottom: 10px;
}

/* FOOTER */
body.landingpage footer {
    background: #f0fdfc;
    color: #555;
    text-align: center;
    font-size: 0.95rem;
    padding: 35px 20px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    body.landingpage .hero-advanced {
        padding: 80px 20px;
    }

    body.landingpage .features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    body.landingpage .hero-content h1 {
        font-size: 2.4rem;
    }

    body.landingpage .hero-content p {
        font-size: 1rem;
    }

    body.landingpage .feature-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Alles unterhalb gilt NUR für Seiten, deren Body die Klasse "legal" hat */

/* ---------- RECHTSSEITEN (Impressum / Datenschutz) ---------- */
body.legalpage {
    background: #f4f4fa;
    font-family: Arial, sans-serif;
}

/* Container */
.legal-content {
    padding: 60px 40px;
    max-width: 900px;
    margin: auto;
}

.legal-content h1 {
    font-size: 2.4rem;
    margin-bottom: 30px;
    text-align: center;
}

.legal-box {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.legal-box h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.legal-box p {
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .legal-content {
        padding: 40px 20px;
    }
    .legal-box {
        padding: 20px;
    }
    .legal-content h1 {
        font-size: 2rem;
    }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #ffffffcc;
  border-bottom: 1px solid #ddd;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.3s;
}
nav a:hover {
  color: #8844dd;
}
.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #66cdaa, #b3e8d5);
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #222;
}
.hero p {
  font-size: 1.2rem;
  color: #444;
}
/* MODERNE LANDINGPAGE ------------------------------------------------ */

.hero-advanced {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 40px;
  gap: 40px;
  background: linear-gradient(135deg, #bfe7e3, #e9f6f5);

}

.hero-advanced h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  color: #222;
}

.hero-advanced p {
  font-size: 1.2rem;
  max-width: 500px;
  color: #444;
  line-height: 1.6;
}

.hero-content {
  max-width: 600px;
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.btn-primary {
  background: #66cdaa;
  color: #fff;
}

.btn-primary:hover {
  background: #4fb594;
}

.btn-secondary {
  margin-left: 12px;
  border: 2px solid #66cdaa;
  color: #66cdaa;
}

.btn-secondary:hover {
  background: #66cdaa;
  color: white;
}

/* Hero Image */
.hero-image img {
  width: 380px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: float 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Feature Cards */
.features {
  display: flex;
  gap: 20px;
  padding: 60px 40px;
  justify-content: center;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #ddd;
  width: 280px;
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-card h3 {
  margin-bottom: 10px;
}
footer {
  text-align: center;
  padding: 40px;
  background: #fff;
  margin-top: 60px;
  border-top: 1px solid #ddd;
}
/* Dienstleistungen */
.content {
  padding: 60px 40px;
  background: linear-gradient(135deg, #bfe7e3, #e9f6f5);

}
.box {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 20px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto; /* wichtig, behält Seitenverhältnis */
    display: block;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none; /* versteckt standardmäßig */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .gallery img {
        width: 45%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .gallery img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        margin-top: 10px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    nav a {
        flex: 1 1 auto;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-advanced {
        padding: 60px 15px;
    }
}


.ph {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}
/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
button {
  padding: 12px;
  background: #a8d9d4;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}
button:hover {
  background: #6b27c7;
}

/* ------------------- SERVICES PAGE ------------------- */
body.servicespage {
    font-family: Arial, sans-serif;
    background: #f4f4fa;
    color: #222;
    margin: 0;
}

/* Header */
body.servicespage header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #ffffffcc;
    border-bottom: 1px solid #ddd;
}

body.servicespage nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: 0.3s;
}

body.servicespage nav a:hover {
    color: #8844dd;
}

/* Hero Section */
body.servicespage .hero-services {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #a8d9d4, #e9f6f5);
    color: #222;
    border-radius: 12px;
    margin: 20px;
}

body.servicespage .hero-services h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

body.servicespage .hero-services p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

/* Services Grid */
body.servicespage .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 60px 20px;
}

/* Service Card */
body.servicespage .service-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.servicespage .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Icons */
body.servicespage .service-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Card Titles */
body.servicespage .service-card h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Card Text */
body.servicespage .service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Footer */
body.servicespage footer {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    body.servicespage .hero-services {
        padding: 60px 15px;
    }

    body.servicespage .hero-services h1 {
        font-size: 2.2rem;
    }

    body.servicespage .services-grid {
        padding: 40px 15px;
    }
}

/* Kontaktseite zentrieren */
body.contactpage .contact-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

/* Beschreibung */
body.contactpage .contact-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

body.contactpage .contact-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

/* WhatsApp Button */
body.contactpage .contact-options {
    margin-bottom: 30px;
}

body.contactpage .btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    transition: 0.3s;
}

body.contactpage .btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

/* Formular */
body.contactpage form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.contactpage form input,
body.contactpage form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

body.contactpage form button {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #a8d9d4;
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

body.contactpage form button:hover {
    background: #a8d9d4;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    body.contactpage .contact-section h1 {
        font-size: 2rem;
    }

    body.contactpage .contact-section p {
        font-size: 1rem;
    }
}
