/* ==========================================================================
   wellcare Alltagsbegleitung – gemeinsames Basis-Stylesheet
   Enthält die Styles, die auf index.html, ueber-uns.html und
   kosten-abrechnung.html identisch verwendet werden (Farbvariablen, Reset,
   Navigation, Footer, Burger-/Mobile-Menü, Scroll-to-Top-Button).
   Seiten-spezifische Styles bleiben bewusst in den jeweiligen <style>-Blöcken.
   ========================================================================== */

:root {
    --primary: #00BCAA;
    --secondary: #ff9478;
    --accent: #ff7a5c;
    --light: #f8f9fa;
    --dark: #2d3142;
    --text: #495057;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-button: 0 6px 20px rgba(0, 0, 0, 0.25), 0 3px 8px rgba(0, 0, 0, 0.15);
    --shadow-button-hover: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 148, 120, 0.6), 0 0 40px rgba(255, 122, 92, 0.4);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-overlay: linear-gradient(135deg, rgba(23, 162, 184, 0.45) 0%, rgba(255, 148, 120, 0.45) 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background: #E8F5F5;
}

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.logo-text .care {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    font-size: 1.2rem;
    color: white;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.facebook:hover {
    background: #0c5cbf;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.5);
}

/* Footer */
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
    z-index: 999;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(23, 162, 184, 0.4);
    border: none;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 122, 92, 0.5);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background var(--transition-base);
}

.burger-menu:hover {
    background: rgba(0, 188, 170, 0.1);
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all var(--transition-base);
    border-radius: 3px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 500;
    transition: color var(--transition-base);
    display: block;
    padding: 1rem;
    border-bottom: 2px solid var(--light);
}

.mobile-menu a:hover {
    color: var(--primary);
}
