/* =========================================
   1. GLOBAL & VARIABLEN
   ========================================= */
:root {
    --primary: #cc0000;
    --primary-dark: #990000;
    --text-dark: #222;
    --bg-grey: #e0e0e0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* WICHTIG: Verhindert, dass Bilder jemals breiter als der Bildschirm sind */
img { max-width: 100%; height: auto; } 

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--text-dark); background-color: var(--bg-grey); overflow-x: hidden; /* Verhindert seitliches Scrollen */ }

.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin-bottom: 15px; }
h2 { font-size: 2.5rem; text-align: center; }
.section-subtitle { display: block; text-align: center; color: var(--primary); margin-bottom: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }

/* =========================================
   2. HEADER
   ========================================= */
.main-header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 10px 0; height: 110px; }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.header-left { display: flex; align-items: center; }
.slogan-text { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; margin-right: 40px; line-height: 1.3; border-right: 1px solid #ddd; padding-right: 20px; }
.logo-link img { height: 90px; width: auto; display: block; transition: transform 0.3s; }
.logo-link:hover img { transform: scale(1.03); }

.header-right { display: flex; align-items: center; gap: 40px; }
.social-wrapper { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.follow-text { font-size: 0.8rem; text-transform: uppercase; color: #888; }
.social-icons a { color: #333; font-size: 1.3rem; margin-left: 5px; transition: color 0.3s; }
.social-icons a:hover { color: var(--primary); }

.main-nav ul { list-style: none; display: flex; gap: 30px; }
.main-nav a { text-decoration: none; color: #333; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary); }

.btn-termin { background: var(--primary); color: #fff !important; padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; transition: background 0.3s; white-space: nowrap; }
.btn-termin:hover { background: var(--primary-dark); }

/* =========================================
   3. HERO SEKTION
   ========================================= */
.split-hero { display: flex; height: 85vh; position: relative; margin-top: -110px; padding-top: 110px; background: #000; }
.hero-left { width: 50%; height: 100%; background-color: #bbbbbb; background-image: url('Bilder/blonde1.jpg'); background-size: cover; background-position: center; }
.hero-right { width: 50%; height: 100%; position: relative; background: #111; }

/* SLIDER BILDER: Fix für Verzerrung -> object-fit: cover statt fill */
.hero-right .slide { 
    position: absolute; inset: 0; width: 100%; height: 100%; 
    object-fit: cover; /* WICHTIG: Verhindert Verzerrung, schneidet ggf. Ränder ab */
    object-position: center center; 
    opacity: 0; transition: opacity 1.5s; 
    background-color: #000; 
}

.hero-right .slide.active { opacity: 0.6; }

.hero-unified-wrapper {
    position: absolute;
    top: 110px;     
    bottom: 0;
    left: 0;
    width: 50%;     
    display: flex;
    justify-content: center; 
    align-items: center;
    pointer-events: none;
}

.hero-unified-box {
    pointer-events: auto;
    background: #000000;
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px; 
    width: 85%;       
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border-top: 5px solid var(--primary);
    transform: translateY(-60px);
}

.hero-unified-box h1 { font-size: 2.2rem; margin-bottom: 10px; color: #fff; } 
.welcome-sub { font-family: var(--font-heading); font-size: 1.2rem; font-style: italic; color: #ccc; margin-bottom: 15px; }
.hero-description { margin-bottom: 25px; }
.hero-separator { border: none; border-top: 1px solid rgba(255,255,255,0.2); margin: 0 15% 25px 15%; }
.lower-info-text p { line-height: 1.5; font-size: 0.95rem; color: #eee; }
.lower-info-text strong { color: var(--primary); }
.hero-secondary-text { margin-top: 15px; }


/* =========================================
   4. SEKTIONEN
   ========================================= */
section { padding: 90px 0; }

/* Über Mich */
.about-section { background-color: #d4d4d4; } 
.about-flex-container { display: flex; align-items: center; gap: 60px; }
.about-image-wrapper { flex: 1; }
.about-image-wrapper img { width: 100%; border-radius: 4px; box-shadow: 15px 15px 0 #bfbfbf; }
.about-text-wrapper { flex: 1; text-align: left; }
.highlight-text { color: var(--primary); font-weight: 700; margin-bottom: 20px; font-family: var(--font-heading); font-size: 1.1rem; }
.about-secondary-text { margin-top: 15px; }
.milestones { margin-top: 30px; border-top: 1px solid #bbb; padding-top: 20px; display: flex; gap: 30px; }
.year { font-size: 1.4rem; font-weight: 700; color: var(--primary); font-family: var(--font-heading); display: block; }

/* Leistungen */
.leistungen-section { background: #eee; }

.service-details summary { 
    padding: 20px 0; 
    font-family: var(--font-body); 
    font-weight: 600; 
    font-size: 1.2rem; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    list-style: none; 
}
.service-details { border-bottom: 1px solid #ccc; padding: 10px 0; }
.service-details summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; }
.service-details[open] summary::after { transform: rotate(45deg); }
.details-content { padding-bottom: 20px; color: #666; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hd-logo-medium { max-width: 200px; }

/* --- GALERIE MINIATURANSICHTEN --- */
.gallery-container { margin-top: 30px; }
/* Standard: 3 Spalten auf dem Desktop */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 15px; width: 100%; }
.gallery-item-small { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; box-shadow: 0 3px 8px rgba(0,0,0,0.15); transition: transform 0.3s ease; cursor: pointer; background-color: #ddd; }
.gallery-item-small:hover { transform: scale(1.05); }
.gallery-item-small img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- NEU: BONDING BOX STYLES (Schwarz-Rot) --- */
.bonding-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.bonding-box {
    background: #000000; /* Schwarz */
    color: #ffffff;      /* Weißer Text */
    padding: 30px;
    border-radius: 20px; /* Abgerundete Ecken wie Preise */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-top: 5px solid var(--primary); /* Roter Akzent */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bonding-title {
    font-family: var(--font-heading); /* Playfair Display */
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.2); /* Dezente Trennlinie */
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
}

.bonding-box p {
    color: #cccccc; /* Leichtes Grau für bessere Lesbarkeit auf Schwarz */
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* Preise */
.prices-section { background-color: #d4d4d4; } 
.price-note-header { text-align: center; margin-bottom: 30px; font-size: 0.9rem; color: var(--text-dark); } 
.price-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.price-box { background: #000000; color: #ffffff; padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border-top: 5px solid var(--primary); }
.price-box h3 { border-bottom: 1px solid rgba(255,255,255,0.2); color: #ffffff; padding-bottom: 15px; margin-bottom: 15px; }
.price-table { width: 100%; }
.price-table td { padding: 10px 0; border-bottom: 1px dashed #444; }
.price-col { text-align: right; color: var(--primary); font-weight: bold; }
.table-separator-row { border-top: 1.5px solid #444; margin-top: 10px; }
.table-separator-cell { padding-top:15px; }
.special-list { list-style: none; padding: 0; line-height: 2.2; }
.special-list i { color: #cc0000; margin-right: 8px; }
.wedding-special { border-top: 1px dashed #444; margin-top: 10px; padding-top: 10px; }
.price-note { margin-top: 20px; font-size: 0.85rem; color: #ccc; font-style: italic; }

/* --- KUNDENSTIMMEN --- */
.testimonial-section { background: #eee; padding: 70px 0; text-align: center; }
.testimonials-slider { max-width: 700px; margin: 30px auto 0 auto; position: relative; height: 180px; }
.testimonial-slide { position: absolute; width: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; }
.testimonial-slide.active { opacity: 1; }
.quote-text { font-family: var(--font-heading); font-style: italic; font-size: 1.4rem; color: var(--text-dark); line-height: 1.4; margin-bottom: 20px; }
.quote-author { font-weight: 700; color: var(--primary); font-size: 1.1rem; margin-bottom: 5px; display: block; }
.stars { color: gold; font-size: 1.3rem; letter-spacing: 5px; }

/* =========================================
   5. KONTAKT
   ========================================= */
.contact { background-color: #1a1a1a; color: white; }
.contact h2 { color: white; margin-bottom: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
.contact-left h3, .contact-right h3 { color: white; margin-bottom: 20px; margin-top: 0; line-height: 1.2; font-size: 1.5rem; }
.contact-left { text-align: left; }
.address-text { color: #ccc; margin-bottom: 10px; font-style: normal; } 
.phone-link { color: white; font-weight: bold; font-size: 1.2rem; text-decoration: none; }
.btn-outline-white { display: inline-block; border: 1px solid rgba(255,255,255,0.4); color: #ffffff; padding: 10px 25px; border-radius: 50px; text-decoration: none; font-size: 0.9rem; transition: all 0.3s; margin-top: 20px; }
.btn-outline-white:hover { background: #ffffff; color: #000000; }
.contact-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.btn-whatsapp-large { background-color: #25D366; color: #fff; font-weight: 700; padding: 12px 30px; border-radius: 6px; text-decoration: none; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; transition: background 0.3s; margin-top: 10px; }
.btn-whatsapp-large:hover { background-color: #1ebc57; transform: translateY(-2px); }

/* Footer */
footer { background: #111; color: #666; padding: 30px 0; border-top: 1px solid #222; font-size: 0.85rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-legal a { color: #999; text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: #fff; }
.footer-separator { margin: 0 10px; }

/* =========================================
   6. COOKIE BANNER
   ========================================= */
.cookie-banner-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-banner-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
#cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #333; color: #fff; z-index: 9999; padding: 15px 0; transition: transform 0.8s ease-out, opacity 0.8s ease-out; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); font-size: 0.9rem; }
.cookie-content-wrapper { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.cookie-content-wrapper p { margin: 0; flex-grow: 1; padding-right: 20px; }
.cookie-link { color: var(--primary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }
.btn-cookie-accept { background: var(--primary); color: white; border: none; padding: 8px 20px; border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.2s; min-width: 160px; }
.btn-cookie-accept:hover { background: var(--primary-dark); }
.btn-cookie-decline { background: #555; color: white; border: 1px solid #777; padding: 8px 20px; border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.2s; min-width: 160px; }
.btn-cookie-decline:hover { background: #777; }


/* =========================================
   MOBILE ANPASSUNGEN (HANDY)
   ========================================= */
@media (max-width: 992px) {
    .main-header { height: auto; position: relative; top: auto; }
    .header-container { height: auto; flex-direction: column; padding: 10px 0; gap: 10px; }
    .header-left { flex-direction: column; margin-bottom: 0; }
    .logo-link img { height: 50px; }
    .slogan-text { border: none; margin: 5px 0 5px 0; text-align: center; font-size: 0.8rem; }
    .social-wrapper { justify-content: center; width: 100%; }
    .header-right { flex-direction: column; gap: 10px; width: 100%; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; }
    .main-nav a { font-size: 0.75rem; } 
    .btn-termin { padding: 5px 15px; font-size: 0.75rem; }

    .split-hero { flex-direction: column; height: auto; margin-top: 0; padding-top: 0; padding-bottom: 40px; }
    .hero-left, .hero-right { width: 100%; height: 200px; }
    .hero-right .slide { object-fit: fill; object-position: center center; } 
    
    .hero-unified-wrapper { position: relative; width: 100%; padding: 20px 0; height: auto; display: block; transform: none; }
    .hero-unified-box { margin: 0 auto; width: 95%; padding: 20px 15px; border-radius: 15px; max-width: 100%; transform: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
    .hero-unified-box h1 { font-size: 1.6rem; margin-bottom: 5px; } 
    .welcome-sub { font-size: 1rem; margin-bottom: 10px; }
    .lower-info-text p { font-size: 0.85rem; }
    
    .about-flex-container { flex-direction: column; } 
    .about-image-wrapper { order: -1; }
    .price-container { grid-template-columns: 1fr; }
    
    /* Bonding Boxen Mobil */
    .bonding-grid-container { grid-template-columns: 1fr; gap: 20px; }
    .bonding-box { padding: 15px; }

    .testimonials-slider { height: 220px; }
    .quote-text { font-size: 1.2rem; }
    .contact-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .contact-left, .contact-right { text-align: center; align-items: center; }
    .contact-left h3, .contact-right h3 { margin-top: 0; text-align: center; font-size: 1.3rem; }
    .footer-content { flex-direction: column; gap: 10px; }
    .cookie-content-wrapper { flex-direction: column; align-items: flex-start; text-align: left; gap: 15px; }
    .cookie-content-wrapper p { padding-right: 0; margin-bottom: 0; }
    .cookie-buttons { width: 100%; gap: 10px; justify-content: space-between; }
    .btn-cookie-accept, .btn-cookie-decline { flex-grow: 1; min-width: unset; }

    /* --- KORREKTUR FÜR DIE BILDERGALERIE AUF DEM HANDY --- */
    /* Macht aus 3 Spalten -> 1 Spalte, damit Bilder groß sind und nicht überlaufen */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}
/* ================================
   LOKALE SVG SOCIAL ICONS (NEU)
   ================================ */
.social-icons img.social-icon {
  width: 22px;
  height: 22px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img.social-icon {
  transform: scale(1.12);
  /* färbt SVG in Richtung deines Primary (#cc0000) */
  filter: brightness(0) saturate(100%) invert(16%) sepia(92%) saturate(5756%) hue-rotate(355deg) brightness(90%) contrast(120%);
}


}
