/**
 * Alinta - Custom Styles
 * Generated by WEBOMATOR v1.0
 */

/* CSS Custom Properties - Markendesign Alinta (Tailwind-Pendant: /js/alinta-theme.js) */
:root {
    --color-primary: #1F3D2E;       /* Waldgruen */
    --color-primary-dark: #152B20;
    --color-primary-light: #2C5440;
    --color-secondary: #6B8F6F;     /* Salbei */
    --color-secondary-dark: #4E6B52;
    --color-accent: #EBDCC2;        /* Creme */
    --color-accent-dark: #DFCBA6;
    --color-gold: #D4AF37;          /* Gold - nur Akzent/Linie, nie Text auf Hell */
    --color-warm-50: #FAF6EE;
    --color-warm-100: #F4ECDD;
    --color-warm-200: #EBDCC2;
    --color-text: #1f2937;
    --color-text-light: #4b5563;
    --font-family: 'Montserrat', system-ui, sans-serif;
}

/* Base Styles */
[x-cloak] { display: none !important; }

html {
    scroll-behavior: smooth;
    /* Sprungziele (#hunde, #kontakt ...) nicht unter der festen Kopfzeile verstecken */
    scroll-padding-top: 6.5rem;
}

body {
    font-family: var(--font-family);
}

/* Sichtbarer Fokus-Rahmen (Tastatur) - Gold mit waldgruenem Innenring, auf hellen und dunklen Flaechen erkennbar */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--color-primary);
}

/* Goldene Zierlinie (z. B. unter Ueberschriften) */
.gold-line {
    display: block;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Sanftes Einblenden beim Scrollen - nur wenn JS aktiv ist (html.js-reveal), sonst sofort sichtbar */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
    .animate-fade-in-up, .animate-pulse-soft, .animate-bounce { animation: none !important; }
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(31, 61, 46, 0.88) 0%, rgba(21, 43, 32, 0.92) 100%);
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Dog Card Styles */
.dog-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.dog-card img {
    transition: transform 0.5s ease;
}

.dog-card:hover img {
    transform: scale(1.1);
}

.dog-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 2rem 1rem 1rem;
}

/* Process Timeline */
.timeline-step {
    position: relative;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 40px;
    background: var(--color-primary);
    transform: translateX(-50%);
}

.timeline-step:last-child::before {
    display: none;
}

/* Team Member Cards */
.team-card {
    position: relative;
    overflow: hidden;
}

.team-card-image {
    aspect-ratio: 1;
    object-fit: cover;
}

/* Button Styles */
.btn-primary {
    background: var(--color-primary); /* Waldgruen */
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 61, 46, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

/* Gold-Button: Goldflaeche mit waldgruener Schrift (Kontrast 5,7:1) */
.btn-gold {
    background: var(--color-gold);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    background: #E0C25A;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    /* secondary-dark statt warm-200: Rahmen-Kontrast >= 3:1 auf Weiss (WCAG 1.4.11), warm-200 lag bei 1,35:1 */
    border: 2px solid var(--color-secondary-dark);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

/* Trust Badge */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Mobile Menu */
.mobile-menu {
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}
