/*
 * Tierarztpraxis Dr. Stephanie Milz - Modern Design
 * Erstellt: 2025
 */

:root {
    --color-turkis: #00ABC4;
    --color-turkis-light: #33BFD1;
    --color-turkis-lighter: #66D2DE;
    --color-lila: #4B2582;
    --color-lila-light: #592c9a;
    --color-lila-lighter: #7b4bc3;
    --color-grau: #5A5A5A;
    --color-warm-bg: #FAF6F0;
    --color-warm-bg-alt: #F5F0E8;
    --gradient-primary: linear-gradient(135deg, var(--color-lila-lighter), var(--color-turkis-lighter));
    --gradient-secondary: linear-gradient(45deg, var(--color-turkis), var(--color-lila));
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Nunito', 'Segoe UI', 'Rounded Mplus', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-grau);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background: var(--color-warm-bg);
}

/* Tierische Pfotenabdrücke als Dekoration */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 171, 196, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(75, 37, 130, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.emergency-number {
    font-weight: bold;
    font-size: 16px;
}

.top-bar-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ===== NAVIGATION ===== */
.navbar-custom {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 20px 0;
    border-radius: 0 0 20px 20px;
}

.navbar-custom.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-brand img {
    height: 70px;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 8px rgba(0, 171, 196, 0.2));
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.nav-link {
    color: var(--color-grau) !important;
    font-weight: 600;
    padding: 12px 22px !important;
    position: relative;
    transition: all 0.3s;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-turkis-light) !important;
    background: rgba(0, 171, 196, 0.05);
}

.nav-link::after {
    content: '🐾';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scale(1);
    opacity: 0.6;
}

.btn-notfall {
    background: #dc3545 !important;
    color: white !important;
    font-weight: bold;
    border: none;
    padding: 12px 28px !important;
    border-radius: 30px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-notfall:hover {
    background: #c82333 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
}

.btn-termin {
    background: var(--color-turkis) !important;
    color: white !important;
    font-weight: bold;
    border: 2px solid var(--color-turkis);
    padding: 12px 28px !important;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 171, 196, 0.2);
}

.btn-termin:hover {
    background: var(--color-turkis-light) !important;
    border-color: var(--color-turkis-light);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 171, 196, 0.35);
}

.btn-termin-secondary {
    background: white !important;
    color: var(--color-grau) !important;
    font-weight: bold;
    border: 2px solid var(--color-grau);
    padding: 12px 28px !important;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(90, 90, 90, 0.1);
}

.btn-termin-secondary:hover {
    background: var(--color-grau) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(90, 90, 90, 0.25);
}

.btn-danger-rounded {
    background: #dc3545 !important;
    color: white !important;
    font-weight: bold;
    border: 2px solid #dc3545;
    padding: 12px 28px !important;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.btn-danger-rounded:hover {
    background: #c82333 !important;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.35);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(75, 37, 130, 0.8), rgba(0, 171, 196, 0.6));*/
    background: rgba(135, 135, 135, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 45px;
    font-size: 1.1rem;
    border-radius: 35px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary {
    background: var(--color-turkis);
    color: white;
    border: 2px solid var(--color-turkis);
}

.btn-hero-primary:hover {
    background: var(--color-turkis-light);
    border-color: var(--color-turkis-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 171, 196, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-lila);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    color: var(--color-lila);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-grau);
    margin-bottom: 60px;
    font-size: 1.2rem;
}

.section-divider {
    width: 100px;
    height: 5px;
    background: var(--gradient-secondary);
    margin: 0 auto 60px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 171, 196, 0.2);
}


/* ===== TEXT STYLES ===== */
.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-turkis);
    margin-bottom: 25px;
    line-height: 1.6;
}

p {
    margin-bottom: 18px;
}

/* ===== HIGHLIGHT CARDS ===== */
.highlight-card {
    background: white;
    border-radius: 25px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.highlight-card::before {
    content: '🐾';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.highlight-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(0, 171, 196, 0.15);
    border-color: var(--color-turkis-lighter);
}

.highlight-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 171, 196, 0.25);
    transition: all 0.3s;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 171, 196, 0.4);
}

.highlight-card h3 {
    color: var(--color-lila);
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1.4rem;
}

.highlight-card p {
    color: var(--color-grau);
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
}

.btn-mehr {
    color: var(--color-turkis);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 171, 196, 0.05);
    margin-top: auto;
    align-self: center;
}

.btn-mehr:hover {
    gap: 12px;
    color: var(--color-lila);
    background: rgba(75, 37, 130, 0.08);
    transform: translateX(3px);
}

/* ===== INFO BOXES ===== */
.info-box {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.3s;
    border: 2px solid rgba(0, 171, 196, 0.08);
}

.info-box:hover {
    box-shadow: 0 12px 35px rgba(0, 171, 196, 0.12);
    transform: translateY(-5px);
}

.info-box h3 {
    color: var(--color-lila);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.info-box h3 i {
    color: var(--color-turkis);
    font-size: 1.6rem;
}

.opening-hours {
    list-style: none;
    padding: 0;
}

.opening-hours li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 171, 196, 0.1);
    display: flex;
    justify-content: space-between;
    transition: all 0.3s;
}

.opening-hours li:hover {
    padding-left: 10px;
    background: rgba(0, 171, 196, 0.03);
    border-radius: 10px;
}

.opening-hours li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 700;
    color: var(--color-grau);
}

.time {
    color: var(--color-turkis);
    font-weight: 600;
}

/* ===== SERVICES GRID ===== */
.service-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 15px 35px rgba(0, 171, 196, 0.15);
    border-color: var(--color-turkis-lighter);
}

.service-item i {
    font-size: 2.8rem;
    color: var(--color-turkis);
    margin-bottom: 18px;
    transition: all 0.3s;
}

.service-item:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--color-turkis-light);
}

.service-item h4 {
    color: var(--color-lila);
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 700;
}

/* ===== MAP SECTION ===== */
.map-container {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(0, 171, 196, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ===== TEAM CARDS ===== */
.team-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 171, 196, 0.15);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card-body {
    padding: 30px;
}

.team-card h3 {
    color: var(--color-lila);
    margin-bottom: 10px;
    font-weight: 700;
}

.team-card .position {
    color: var(--color-turkis);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--color-grau) 0%, #4a4a4a 100%);
    color: white;
    padding: 60px 0 25px;
}

.footer h5 {
    color: var(--color-turkis-light);
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.3rem;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer a:hover {
    color: var(--color-turkis-lighter);
    transform: translateX(5px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--color-turkis);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 171, 196, 0.3);
}

.social-icon:hover {
    background: var(--color-lila);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(75, 37, 130, 0.4);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 20px;
        background: var(--color-warm-bg-alt);
        padding: 20px;
        border-radius: 20px;
    }

    .navbar-nav .nav-item {
        margin-bottom: 12px;
    }

    .btn-notfall,
    .btn-termin {
        width: 100%;
        margin: 8px 0 !important;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .top-bar-links {
        flex-direction: column;
        gap: 12px;
    }

    .hero-section {
        height: 450px;
    }

    .btn-hero {
        padding: 14px 35px;
        font-size: 1rem;
    }

    .highlight-card h3 {
        font-size: 1.35rem;
    }

    .service-item h4 {
        font-size: 1.05rem;
    }

    .highlight-card {
        padding: 35px 25px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.7rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2.4rem;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== NOTFALL SPECIFIC STYLES ===== */
.emergency-hero {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.emergency-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.emergency-hero .lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: white;
}

.emergency-contact {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin: 30px auto;
    max-width: 600px;
}

.emergency-contact h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.emergency-contact p {
    font-size: 1.1rem;
    margin: 0;
}

.step-card {
    background: white;
    border-left: 5px solid var(--color-turkis);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
    float: left;
}

.step-content h3 {
    color: var(--color-lila);
    margin-bottom: 10px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-card.highlight {
    border: 3px solid var(--color-turkis);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: var(--color-lila);
    margin-bottom: 15px;
    text-align: center;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-info strong {
    color: var(--color-turkis);
}

.btn-call {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    font-size: 1.1rem;
}

.warning-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.warning-box h4 {
    color: #856404;
    margin-bottom: 10px;
}

.warning-box ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.danger-box {
    background: #f8d7da;
    border-left: 5px solid #dc3545;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.danger-box h4 {
    color: #721c24;
    margin-bottom: 10px;
}

.notfall-image-container img {
    width: 100%;
    height: auto;
    border: 3px solid var(--color-turkis);
}

.notfall-image-caption {
    font-size: 1rem;
    color: var(--color-grau);
    font-style: italic;
}

.emergency-steps {
    background: #f8f9fa;
}

