/* ==========================================================================
   HG-SERVICE - Modern Dark Gold Theme
   ========================================================================== */

/* Variables & Reset */
:root {
    --bg-dark: #0f1115;
    --bg-card: #181b22;
    --bg-card-hover: #212530;
    --bg-light-dark: #13161c;
    
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-hover: #b89628;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --text-primary: #f1f5f9;
    --text-secondary: #cde0fa;
    --text-muted: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gold {
    color: var(--gold-primary);
}

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

.gold-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), #b89128);
    color: #0f1115;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6be3b, var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 115px; /* Optimale Höhe für Navigationsleisten */
    width: auto;  /* Verhindert Verzerrung */
    max-height: 100%;
    margin: -18px 0;
    object-fit: contain;
    transition: var(--transition);
}

.site-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-accent {
    color: var(--gold-primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

/* Container sorgt dafür, dass beide Buttons auf einer Linie liegen */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px; /* Abstand zwischen den Buttons */
}

/* Einheitliche Form & Höhe für beide Buttons */
.nav-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;            /* Feste Höhe für beide */
    padding: 0 14px;          /* Innenabstand links/rechts */
    white-space: nowrap;      /* Verhindert den zweizeiligen Zeilenumbruch */
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;       /* Abgerundete Ecken */
    box-sizing: border-box;
}

/* Profil-Button für eingeloggte Nutzer */
.user-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color, #2a2e39);
    color: var(--text-color, #fff);
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-profile-btn i {
    color: #d4af37; /* Goldene Farbe für das Symbol */
}

.user-profile-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

/* Logout Icon-Button */
.btn-logout {
    color: #888;
    font-size: 16px;
    padding: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-logout:hover {
    color: #e74c3c; /* Rot beim Drüberfahren */
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(24, 27, 34, 0.8), var(--bg-dark));
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold-primary);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-light-dark);
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* 2. Nur das spezifische Bild pro Karte */
.card-pflaster {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_pflasterarbeiten.jpg');
}

.card-gartenbau {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_gartenarbeiten.jpg');
}

.card-sanierungen {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_sanierungen.jpg');
}

.card-reinigung {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_reinigungsarbeiten.jpg');
}

.card-baumarbeiten {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_baumarbeiten.jpg');
}

.card-malerarbeiten {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_malerarbeiten.jpg');
}

.card-trockenbau {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_trockenbau.jpg');
}

.card-abriss {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_abriss.jpg');
}

.card-bauendreinigung {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/img_bauendreinigung.jpg');
}

.card-details {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('');
}

.card-impressum {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('');
}

.card-agb {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('');
}

.card-neueterrasse-rasen {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/neueterrasse-rasen.jpg');
}

.card-fußweg-beete {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/fußweg-beete.jpg');
}

.card-terrasse-neu {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('img/terrasse-neu.jpg');
}


.gallery-img {
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('');
}




.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.card-link:hover {
    gap: 12px;
}

/* Stellt sicher, dass das Bild die Karte 300x500 ausfüllt */
.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Inhalt über dem Bild anzeigen */
.card-content {
    position: relative;
    z-index: 2;
}
/* About Section */
.about {
    padding: 100px 0;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--gold-primary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light-dark);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
}

/* Container für alle Kontakt-Items */
.info-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column; /* Stapelt alle Items untereinander */
    gap: 20px;
}

/* Einzelne Zeile im Kontaktbereich */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

/* Links im Kontaktbereich */
.info-item a,
.info-item a:visited {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

/* Perfekt runde Icons (kein Verformen möglich) */
.info-item i {
    width: 44px;
    height: 44px;
    min-width: 44px;  /* Verhindert horizontales Schrumpfen */
    min-height: 44px; /* Verhindert vertikales Schrumpfen */
    flex-shrink: 0;   /* Zwingt das Icon rund zu bleiben */
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Hover-Effekte für Links */
.info-item a:hover i {
    color: var(--gold-primary);
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--gold-primary));
}

.info-item a:hover {
    color: var(--gold-primary);
}



.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background-color: var(--bg-dark);
}

.footer-content {
    display: flex;
    flex-direction: column; /* Stapelt Logo, Text und Links untereinander */
    align-items: center;    /* Zentriert alles waagerecht */
    text-align: center;     /* Zentriert den Text */
    gap: 20px;              /* Gleichmäßiger Abstand zwischen den Elementen */
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    height: 120px;           /* Beliebig anpassen (z. B. 60px - 80px) */
    width: auto;            /* Verhindert Verzerrung */
    object-fit: contain;
    margin-bottom: 5px;     /* Abstand zum Slogan */
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* In practical application, implement a mobile menu toggle here */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Slider Wrapper */
.gallery-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
}

/* Container für 3D-Effekt */
.gallery-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 380px;
    perspective: 1000px;
}

/* Einzelne Karten im Slider */
.gallery-item {
    position: absolute;
    width: 300px;
    padding: 25px;
    
    border: 1px solid var(--border-color, #2a2e39);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.6) translateX(0);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}



/* Mittlere Hauptkarte (Fokus) */
.gallery-item.active {
    opacity: 1;
    transform: scale(1.05) translateX(0);
    z-index: 3;
    pointer-events: auto;
    border-color: #d4af37; /* Golden-Border für die aktive Karte */
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

/* Linke Karte (Vorherige) */
.gallery-item.prev {
    opacity: 0.6;
    transform: scale(0.85) translateX(-280px);
    z-index: 2;
    cursor: pointer;
}

/* Rechte Karte (Nächste) */
.gallery-item.next {
    opacity: 0.6;
    transform: scale(0.85) translateX(280px);
    z-index: 2;
    cursor: pointer;
}

/* Pfeil Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(28, 31, 38, 0.8);
    border: 1px solid #d4af37;
    color: #d4af37;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #d4af37;
    color: #111;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Responsive für Smartphones */
@media (max-width: 768px) {
    .gallery-item.prev { transform: scale(0.7) translateX(-180px); opacity: 0.3; }
    .gallery-item.next { transform: scale(0.7) translateX(180px); opacity: 0.3; }
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    border: 2px solid #1c1f26;
    line-height: 1;
}


