/* ============================================================
           TESTSEITE hispanocoon.info  –  Nachbau des Canva-Designs
           - Alle Fotos sind PLATZHALTER (gestrichelte Kästen mit Text).
             Später einfach das <div class="ph ..."> durch ein <img> ersetzen.
           - Der LILA FARBVERLAUF steht unten bei  body { background: ... }
           - Für BLAU statt Lila: die drei --bg-Farben unten ändern.
           ============================================================ */

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

        :root {
            /* Grüntöne (Header/Footer, von .es) */
            --green-darkest: #081c15;
            --green-dark:    #1b4332;
            --green-accent:  #52b788;
            --green-pale:    #d8f3dc;

            /* Lila-Farbverlauf (hier ändern zum Testen) */
            --bg-1: #24073f;
            --bg-2: #3b0f66;
            --bg-3: #7c34bd;

            /* Akzente & Schrift */
            --cream: #e9dcc0;          /* warme Creme-Farbe für Überschriften */
            --lila-mid: #8B2BE2;
            --text-light: rgba(255,255,255,0.82);
            --white: #ffffff;

            --header-height: 70px;
            --banner-height: 38px;
            --orange-glow: #ff9800;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Jost', sans-serif;
            color: var(--text-light);
            min-height: 100vh;
            /* ---- LILA FARBVERLAUF: waagerecht, links dunkel -> rechts heller ---- */
            background: linear-gradient(90deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
            background-attachment: fixed;
        }

        h1, h2, h3, blockquote {
            font-family: 'Cormorant Garamond', serif;
            color: var(--cream);
            font-weight: 400;
            line-height: 1.15;
        }

        /* ---- Platzhalter für Fotos ---- */
        .ph {
            background: rgba(255,255,255,0.06);
            border: 1px dashed rgba(255,255,255,0.35);
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            color: rgba(255,255,255,0.6);
            text-align: center;
            padding: 1rem;
            font-size: 0.85rem;
            min-height: 160px;
        }
        .ph i { font-size: 1.6rem; }

        /* ---- HEADER ---- */
        header {
            background: var(--green-dark);
            padding: 0 5%;
            height: var(--header-height);
            box-shadow: 0 2px 10px rgba(0,0,0,0.25);
            display: flex; justify-content: space-between; align-items: center;
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
        }

        /* ---- BAUSTELLEN-HINWEIS (unterhalb des Headers) ---- */
        .construction-banner {
            background: #b45309;
            color: #fff;
            text-align: center;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            height: var(--banner-height);
            line-height: var(--banner-height);
            position: fixed; top: var(--header-height); left: 0; right: 0; z-index: 99;
        }
        .logo-text {
            font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.7rem;
            color: var(--white); display: flex; align-items: center; gap: 10px; text-decoration: none;
        }
        .logo-text i { color: var(--green-accent); font-size: 1.4rem; }
        .logo-text span { color: var(--green-accent); font-style: italic; }
        nav ul { display: flex; list-style: none; gap: 2rem; }
        nav a {
            text-decoration: none; color: var(--green-pale); font-size: 0.88rem; font-weight: 500;
            letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.2s;
        }
        nav a:hover, nav a.active { color: var(--white); }
        #servicios, #contacto { scroll-margin-top: calc(var(--header-height) + var(--banner-height) + 10px); }

        /* ---- HERO / Titelbild ---- */
        .hero {
            min-height: 74vh;
            margin-top: calc(var(--header-height) + var(--banner-height));
            display: flex; align-items: center; justify-content: space-between;
            gap: 1.5rem; padding: 0 2%; overflow: hidden;
        }
        .hero-title { position: relative; z-index: 2; flex: 1 1 420px; max-width: 480px; text-align: center; }
        .hero-title h1 { font-size: 3.6rem; font-weight: 600; letter-spacing: 0.02em; }
        .hero-subtitle { font-size: 1.2rem; font-weight: 300; margin-top: 0.6rem; }
        .hero-welcome { font-size: 1.02rem; font-weight: 300; line-height: 1.75; margin-top: 1.3rem; max-width: 440px; margin-left: auto; margin-right: auto; color: var(--text-light); }
        .hero-btn {
            display: inline-block; margin-top: 1.8rem;
            background: var(--cream); color: #3a1060;
            padding: 0.8rem 2rem; border-radius: 50px;
            font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
            text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.25);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .hero-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
        /* Zwei Katzen, links und rechts, beide zur Textmitte hin blickend */
        .hero-cat { flex: 0 1 auto; align-self: flex-end; display: flex; }
        .hero-cat img { display: block; max-height: 68vh; width: auto; max-width: 30vw; }

        /* ---- Animation: Katzen fliegen von aussen herein (wiederholbar beim Scrollen) ---- */
        .hero-cat-left  { opacity: 0; transform: translateX(-120px); }
        .hero-cat-right { opacity: 0; transform: translateX(120px); }
        .hero-cat-left.animate-in  { animation: flyInLeft 1.1s ease-out forwards; }
        .hero-cat-right.animate-in { animation: flyInRight 1.1s ease-out forwards; }
        @keyframes flyInLeft {
            from { opacity: 0; transform: translateX(-120px); }
            to   { opacity: 1; transform: translateX(0); }
        }
        @keyframes flyInRight {
            from { opacity: 0; transform: translateX(120px); }
            to   { opacity: 1; transform: translateX(0); }
        }

        /* ---- Animation: Text blendet sich sanft ein (wiederholbar beim Scrollen) ---- */
        .hero-fade-in { opacity: 0; }
        .hero-fade-in.animate-in { animation: fadeInStrong 1.8s ease-in forwards; animation-delay: 0.2s; }
        @keyframes fadeInStrong {
            from { opacity: 0; }
            to   { opacity: 1; }
        }

        /* ---- Allgemeine Abschnitte ---- */
        section { padding: 70px 8%; }
        .section-title { text-align: center; font-size: 2.6rem; margin-bottom: 2.5rem; }

        /* ---- Sobre nosotros ---- */
        .about-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
            max-width: 1100px; margin: 0 auto;
        }
        .about h2 { font-size: 2.6rem; margin-bottom: 1.5rem; }
        .about-text p { font-size: 1rem; font-weight: 300; line-height: 1.8; }
        .about-photo-portrait { min-height: 260px; }

        /* ---- Missions-Zitat ---- */
        .mission { text-align: center; }
        .mission blockquote {
            font-size: 1.9rem; font-style: italic; font-weight: 300;
            max-width: 820px; margin: 0 auto 2.5rem; line-height: 1.4;
        }
        .mission .ph { min-height: 240px; }

        /* ---- Servicios ---- */
        .services-grid {
            display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
            max-width: 1050px; margin: 0 auto;
        }
        .service { width: 300px; text-align: center; }
        .service .ph { min-height: 170px; margin-bottom: 1rem; }
        .service h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
        .service p { font-size: 0.9rem; font-weight: 300; line-height: 1.6; }

        /* ---- Testimonios ---- */
        .testimonials-grid {
            display: flex; flex-direction: column; gap: 2rem;
            max-width: 760px; margin: 0 auto;
        }
        .testimonial { display: flex; gap: 1.5rem; align-items: flex-start; }
        .testimonial .ph { width: 130px; min-width: 130px; min-height: 130px; }
        .testimonial h3 { font-size: 1.4rem; color: var(--cream); margin-bottom: 0.3rem; }
        .testimonial p { font-size: 0.95rem; font-weight: 300; line-height: 1.6; }

        /* ---- Contáctanos ---- */
        .contact-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
            max-width: 1100px; margin: 0 auto;
        }
        .contact .ph { min-height: 320px; }
        .contact h2 { font-size: 2.6rem; margin-bottom: 1.5rem; }
        .contact-block { margin-bottom: 2.2rem; }
        .contact-block strong {
            display: block; color: var(--cream); font-weight: 500;
            letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.2rem;
        }
        .contact-block span { font-weight: 300; line-height: 1.85; }

        /* ---- FOOTER (von .es) ---- */
        footer { background: var(--green-darkest); color: #b7e4c7; padding: 50px 5% 25px; font-size: 0.9rem; }
        .footer-grid {
            max-width: 1200px; margin: 0 auto 2.5rem; display: flex; flex-wrap: wrap;
            justify-content: space-between; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #1b4332;
        }
        .footer-col h4 {
            color: var(--white); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em;
            text-transform: uppercase; margin-bottom: 1rem;
        }
        .footer-col p { color: #95d5b2; line-height: 1.7; font-weight: 300; }
        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
        .footer-col a { color: #b7e4c7; text-decoration: none; font-weight: 300; transition: color 0.2s; }
        .footer-col a:hover { color: var(--white); }
        .footer-bottom { text-align: center; color: #74c69d; font-size: 0.8rem; max-width: 1200px; margin: 0 auto; }

        /* ---- Echte Fotos (ersetzen Platzhalter) ---- */
        .foto { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
        /* Kontakt-Foto: volles Bild ohne Beschnitt (Ohren/Pinsel bleiben sichtbar) */
        .contact .foto { width: 100%; max-width: 290px; height: auto; margin: 0 auto; }

        /* ---- Rechtsseiten (Aviso Legal, Política de Privacidad) ---- */
        .legal-section { padding: calc(var(--header-height) + var(--banner-height) + 60px) 5% 60px; max-width: 900px; margin: 0 auto; }
        .legal-container h1 { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 600; color: var(--orange-glow); margin-bottom: 1.5rem; text-shadow: 0 0 18px rgba(255,152,0,0.35); }
        .legal-container h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--orange-glow); margin: 1.8rem 0 0.7rem; scroll-margin-top: calc(var(--header-height) + var(--banner-height) + 20px); }
        .legal-container p { font-size: 1.15rem; line-height: 1.85; color: #ffd699; font-weight: 300; }
        .legal-container .legal-note { font-size: 0.95rem; font-style: italic; opacity: 0.85; margin-top: 2rem; color: #ffd699; }

        /* ---- Mobil ---- */
        @media (max-width: 760px) {
            nav ul { gap: 1rem; }
            .hero {
                flex-direction: column; text-align: center;
                min-height: auto; padding: 2rem 6% 2.5rem; gap: 1.2rem;
            }
            .hero-title { order: 2; max-width: 100%; }
            .hero-title h1 { font-size: 2.4rem; }
            .hero-cat { order: 1; align-self: center; }
            .hero-cat:last-of-type { order: 3; }
            .hero-cat img { max-width: 60vw; max-height: 32vh; }
            .about-grid, .contact-grid { grid-template-columns: 1fr; }
            .testimonial { flex-direction: column; align-items: center; text-align: center; }
        }


        /* ============================================================
           BURGER-MENUE / Navigation fuer kleine Geraete
           ============================================================ */
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--green-pale);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.3rem 0.5rem;
            line-height: 1;
            transition: color 0.2s;
        }
        .nav-toggle:hover { color: var(--white); }

        @media (max-width: 900px) {
            .nav-toggle { display: block; }
            header nav {
                position: fixed;
                top: calc(var(--header-height) + var(--banner-height));
                left: 0; right: 0;
                background: var(--green-dark);
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.35s ease;
                box-shadow: 0 10px 18px rgba(0,0,0,0.3);
                z-index: 98;
            }
            header nav.open { max-height: 80vh; }
            header nav ul {
                flex-direction: column;
                gap: 0;
                padding: 0.4rem 5% 0.8rem;
            }
            header nav ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }
            header nav ul li:last-child { border-bottom: none; }
            header nav a {
                display: block;
                padding: 0.95rem 0.2rem;
                font-size: 0.95rem;
            }
        }
