/* Grundlegende Reset-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b5d3b;
    --primary-light: #4a724a;
    --primary-dark: #2c462c;
    --accent: #e9b649;
    --text: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;
    --success: #28a745;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.qr-image {
  width: 100px;
  height: 100px;
  margin-top: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* Visitenkarte mit rundem Logo */
.visitenkarte {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 30px auto 0;
  padding: 18px 22px;
  border: 2px solid var(--background-dark);
  border-radius: var(--border-radius);
  background-color: var(--background-light);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  text-align: left;
  max-width: 520px;
}

.visitenkarte .logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--background-dark);
}

.visitenkarte .info h2 {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.visitenkarte .info p {
  margin: 4px 0;
  color: var(--text);
}

.visitenkarte a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.visitenkarte a:hover { color: var(--primary-dark); }

/* optional: QR-Code innerhalb der Karte */
.visitenkarte .qr-image {
  width: 84px;
  height: 84px;
  margin-left: 10px;
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 560px) {
  .visitenkarte {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    width: calc(100% - 40px);
  }
  .visitenkarte .qr-image {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 6px;
  }
}

/* Verstecke den Menu-Toggle Button */
.menu-toggle {
    display: none;
}

/* Zeige das Menü permanent an */
.nav-menu {
    position: static;
    display: flex;
    gap: 2rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-menu li {
    margin: 0;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Responsive Design für die Navigation */
@media (max-width: 768px) {
    .mobile-nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/start_bild.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    color: white;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-2 {
    display: inline-block;
    padding: 10px 15px;
    background: var(--accent);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta-button-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background: var(--background-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.features i {
    color: var(--success);
    margin-right: 1rem;
}

.about-image {
    height: 400px;
    background-image: url('img/FZ_Galabau.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
}

/* Services Section */
.services {
    background: var(--primary);
    color: white;
}

.services .section-header h2,
.services .section-header .subtitle {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.project-1 { background-image: url('img/FZ_Galabau.jpg'); }
.project-2 { background-image: url('img/FZ_Pflastersteine.jpg'); }
.project-3 { background-image: url('img/FZ_Pool_Sauna.jpg'); }

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transition: var(--transition);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(0);
}

.project-info p {
    opacity: 0.9;
    font-size: 1rem;
}

.gallery-item:hover .project-image {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: var(--primary);
    color: white;
}

.section-header.light h2,
.section-header.light .subtitle {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    background: var(--accent);
    color: var(--text);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #4a4a4a;
    padding: 4rem 0 2rem;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-social h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: var(--transition);
    font-weight: 400;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Legal Section */
.footer-legal h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: var(--transition);
    font-weight: 400;
}

.footer-legal a:hover {
    color: white;
    transform: translateX(5px);
}

/* Legal Content Pages */
.legal-content {
    padding: 8rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.legal-content .section-header {
    margin-bottom: 3rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.legal-text h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-text p, .legal-text ul {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-text ul {
    padding-left: 1.5rem;
}

.legal-text a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.legal-text a:hover {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 6rem 0 3rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-text h2 {
        font-size: 1.3rem;
    }

    .legal-text h3 {
        font-size: 1.1rem;
    }
}

/* Datenschutz */
/* Modal Hintergrund */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 3rem;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
        order: -1;
    }

    section {
        padding: 4rem 0;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header,
.service-card,
.gallery-item,
.contact-form {
    animation: fadeIn 1s ease-out forwards;
}

/* Floating Button */
.floating-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-button i {
    font-size: 1.2rem;
}

/* Whatsapp Button */
.whatsapp-button {
    position: fixed;
    bottom: 6rem;
    right: 2rem; 
    width: 50px;
    height: 50px;
    background: #25D366; /* WhatsApp grün */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-button:hover {
    background: #20b954;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

/* Responsive Design für den Floating Button */
@media (max-width: 768px) {
    .floating-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
} 