/**
 * VitaPFLEGE Combined CSS
 * Generated: 2025-06-16 13:09:17
 * Mode: DEBUG
 */

:root {
    --primary-color: #4CAF50;
    --text-primary: #212121;
    --bg-primary: #FFFFFF;
}


/* ===== MAIN FILES ===== */

/* File: 0.css */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

body {
    min-height: 100vh;
    line-height: 1.5;
    text-rendering: optimizeSpeed
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto
}

input, button, textarea, select {
    font: inherit
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word
}

a {
    text-decoration-skip-ink: auto
}

ul[role="list"], ol[role="list"] {
    list-style: none
}

:root {
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --primary-light: #81C784;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #FFFFFF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-dark: #212121;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --font-primary: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: var(--font-primary);
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --border-radius-xl: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md)
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast)
}

a:hover {
    color: var(--primary-dark)
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-base)
}

.btn-primary {
    background-color: var(--primary-color);
    color: white
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 0
}

.skip-link:focus {
    top: 0
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary)
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-lg)
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg)
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem)
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem)
}

h5 {
    font-size: 1.25rem
}

h6 {
    font-size: 1.125rem
}

p {
    margin-bottom: var(--spacing-md)
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6
}

strong {
    font-weight: 600
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg)
}

li {
    margin-bottom: var(--spacing-xs)
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

main {
    flex: 1
}

section {
    padding: var(--spacing-xxl) 0
}

@media (min-width: 768px) {
    section {
        padding: calc(var(--spacing-xxl) * 1.5) 0
    }
}

.grid {
    display: grid;
    gap: var(--spacing-lg)
}

.grid-2 {
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr))
}

.grid-3 {
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr))
}

.grid-4 {
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr))
}

.flex {
    display: flex
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.flex-column {
    display: flex;
    flex-direction: column
}

.mt-0 {
    margin-top: 0
}

.mt-1 {
    margin-top: var(--spacing-xs)
}

.mt-2 {
    margin-top: var(--spacing-sm)
}

.mt-3 {
    margin-top: var(--spacing-md)
}

.mt-4 {
    margin-top: var(--spacing-lg)
}

.mt-5 {
    margin-top: var(--spacing-xl)
}

.mb-0 {
    margin-bottom: 0
}

.mb-1 {
    margin-bottom: var(--spacing-xs)
}

.mb-2 {
    margin-bottom: var(--spacing-sm)
}

.mb-3 {
    margin-bottom: var(--spacing-md)
}

.mb-4 {
    margin-bottom: var(--spacing-lg)
}

.mb-5 {
    margin-bottom: var(--spacing-xl)
}

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0
}

.logo {
    flex-shrink: 0
}

.logo img {
    height: 60px;
    width: auto
}

.main-navigation {
    display: flex;
    align-items: center
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-lg)
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-primary);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-fast)
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color)
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-base)
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm)
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all var(--transition-base)
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        overflow-y: auto
    }

    .nav-menu.active {
        right: 0
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--gray-200)
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px)
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px)
    }
}

.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-xxl) 0 var(--spacing-lg)
}

.footer-content {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl)
}

.footer-column h4 {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md)
}

.footer-column p {
    margin-bottom: var(--spacing-sm);
    opacity: 0.9
}

.footer-column ul {
    list-style: none;
    padding: 0
}

.footer-column ul li {
    margin-bottom: var(--spacing-sm)
}

.footer-column a {
    color: var(--text-light);
    opacity: 0.9;
    transition: opacity var(--transition-fast)
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-light)
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns:1fr;
        text-align: center
    }

    .footer-column {
        padding: var(--spacing-md) 0
    }
}

.accessibility-toolbar {
    background-color: var(--bg-light, #f8f9fa);
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    padding: 0.5rem 0;
    transition: all var(--transition-base, 300ms ease-in-out)
}

.accessibility-toolbar button {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
    margin: 0 0.25rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    transition: all var(--transition-fast, 150ms ease-in-out)
}

.accessibility-toolbar button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background-color: var(--primary-light);
    border-color: var(--primary-color)
}

.accessibility-toolbar button:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px
}

.accessibility-toolbar button[aria-pressed="true"] {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-dark)
}

body.font-size-large {
    font-size: 1.125rem
}

body.font-size-large .navbar {
    font-size: 1.125rem
}

body.font-size-xlarge {
    font-size: 1.25rem
}

body.font-size-xlarge .navbar {
    font-size: 1.25rem
}

body.high-contrast .accessibility-toolbar {
    background-color: #000;
    border-bottom: 3px solid #fff
}

body.high-contrast .accessibility-toolbar button {
    background-color: #fff;
    color: #000;
    border: 2px solid #000
}

.navbar {
    background-color: var(--bg-primary, #ffffff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base, 300ms ease-in-out);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky, 1020)
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity var(--transition-fast)
}

.navbar-brand:hover {
    opacity: 0.8
}

.navbar-brand img {
    height: 50px;
    width: auto;
    margin-right: 0.75rem;
    transition: transform var(--transition-base)
}

.navbar-brand:hover img {
    transform: scale(1.05)
}

.navbar-brand .brand-text {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2
}

.navbar-nav {
    margin-left: auto
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.75rem 1rem !important;
    transition: all var(--transition-fast);
    text-decoration: none
}

.nav-link i {
    font-size: 1.125rem;
    margin-right: 0.375rem;
    opacity: 0.8;
    transition: opacity var(--transition-fast)
}

.nav-link:hover {
    color: var(--primary-color)
}

.nav-link:hover i {
    opacity: 1
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all var(--transition-base);
    transform: translateX(-50%)
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600
}

.btn-emergency {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem
}

.btn-emergency:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white
}

.btn-emergency i {
    font-size: 1.125rem;
    animation: pulse 2s infinite
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.1)
    }
    100% {
        transform: scale(1)
    }
}

.navbar-toggler {
    border: none;
    background: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast)
}

.navbar-toggler:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block
}

.navbar-toggler-icon::before, .navbar-toggler-icon::after, .navbar-toggler-icon span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-base)
}

.navbar-toggler-icon::before {
    top: 0
}

.navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%)
}

.navbar-toggler-icon::after {
    bottom: 0
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(7px, 7px)
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(7px, -7px)
}

.emergency-banner {
    background-color: var(--danger-color, #dc3545);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 500;
    position: relative
}

.emergency-banner a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity var(--transition-fast)
}

.emergency-banner a:hover {
    opacity: 0.8;
    color: white
}

.emergency-banner i {
    font-size: 1.25rem;
    vertical-align: middle;
    animation: shake 0.5s ease-in-out infinite alternate
}

@keyframes shake {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(3px)
    }
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    min-width: 120px
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    font-weight: 500
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark)
}

.dropdown-item.active {
    background-color: var(--primary-color);
    color: white
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
        transition: right var(--transition-base);
        overflow-y: auto;
        z-index: var(--z-modal)
    }

    .navbar-collapse.show {
        right: 0
    }

    .navbar-nav {
        padding: 2rem 1rem
    }

    .nav-link {
        padding: 1rem !important;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .nav-link::after {
        display: none
    }

    .nav-link i {
        font-size: 1.25rem
    }

    .btn-emergency {
        width: 100%;
        justify-content: center;
        margin-top: 1rem
    }

    .navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: calc(var(--z-modal) - 1);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base)
    }

    .navbar-backdrop.show {
        opacity: 1;
        visibility: visible
    }
}

@media (max-width: 767px) {
    .accessibility-toolbar {
        display: none !important
    }

    .navbar-brand .brand-text {
        font-size: 1rem
    }

    .navbar-brand img {
        height: 40px
    }

    .emergency-banner {
        font-size: 0.875rem;
        padding: 0.5rem 0
    }
}

@media print {
    .accessibility-toolbar, .navbar-toggler, .btn-emergency, .emergency-banner {
        display: none !important
    }

    .navbar {
        position: static;
        box-shadow: none;
        border-bottom: 1px solid #000
    }

    .navbar-collapse {
        display: block !important;
        position: static !important;
        height: auto !important
    }
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background-color: #1a1a1a;
        box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1)
    }

    .navbar-brand .brand-text {
        color: var(--primary-light)
    }

    .nav-link {
        color: #111111
    }

    .nav-link:hover {
        color: var(--primary-light)
    }

    .accessibility-toolbar {
        background-color: #2a2a2a;
        border-bottom-color: #444
    }

    .accessibility-toolbar button {
        background-color: #1a1a1a;
        color: #e0e0e0;
        border-color: #444
    }
}


/* ==========================================================================
   Planning Section Styles
   Component: CTA Planning Section
   Location: Homepage / Service pages
   ========================================================================== */

/* Planning section base */
.planning-section {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    overflow: hidden;
}

/* Background image with responsive sources */
.planning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to right,
            rgba(248, 248, 248, 0.9) 0%,
            rgba(248, 248, 248, 0.7) 50%,
            transparent 100%
    );
    z-index: 1;
}

/* Container wrapper */
.planning-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 80vh;
}

/* Grid layout */
.planning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
    min-height: 80vh;
    align-items: center;
}

/* Content column */
.planning-content {
    background-color: rgba(248, 248, 248, 0.98);
    padding: 48px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

/* Typography hierarchy */
.planning-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-weight: 400;
    color: #647565;
    line-height: 1.2;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.planning-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 400;
    color: #647565;
    line-height: 1.3;
    margin: 0 0 24px 0;
}

/* Text content */
.planning-text {
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.planning-text p {
    font-family: Arial, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #151515;
    margin-bottom: 16px;
}

.planning-text p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.planning-cta {
    margin-top: 32px;
}

.planning-cta .btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-family: Arial, -apple-system, BlinkMacSystemFont, sans-serif;
}

.planning-cta .btn-primary {
    background-color: #4CAF50;
    color: #ffffff;
    border: 2px solid #4CAF50;
}

.planning-cta .btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.planning-cta .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* Image column */
.planning-image {
    position: relative;
    height: 100%;
    min-height: 80vh;
}

/* Responsive background images */
@media screen and (min-width: 1921px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-desktop-3840w.webp');
    }
}

@media screen and (max-width: 1920px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-desktop-1920w.webp');
    }
}

@media screen and (max-width: 1280px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-tablet-2048w.webp');
    }
}

/* Tablet styles */
@media screen and (max-width: 1024px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-tablet-1024w.webp');
    }

    .planning-grid {
        grid-template-columns: 1fr;
    }

    .planning-content {
        max-width: 720px;
        margin: 0 auto;
        padding: 40px 32px;
    }

    .planning-section h2 {
        font-size: 33px;
    }

    .planning-section h3 {
        font-size: 24px;
    }

    .planning-image {
        display: none;
    }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .planning-section {
        min-height: 70vh;
        background-image: url('/assets/images/planning/planning-mobile-1280w.webp');
    }

    .planning-section .container {
        min-height: 70vh;
    }

    .planning-grid {
        min-height: 70vh;
    }

    .planning-content {
        padding: 32px 24px;
        background-color: rgba(248, 248, 248, 0.96);
    }

    .planning-section h2 {
        font-size: 28px;
    }

    .planning-section h3 {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .planning-text p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-mobile-640w.webp');
    }

    .planning-content {
        padding: 24px 20px;
    }

    .planning-section h2 {
        font-size: 24px;
    }

    .planning-section h3 {
        font-size: 19px;
    }

    .planning-cta .btn {
        width: 100%;
        padding: 16px 24px;
    }
}

/* Fallback for browsers without WebP support */
.no-webp .planning-section {
    background-image: url('/assets/images/planning/planning-desktop-1920w.jpg');
}

@media screen and (max-width: 1280px) {
    .no-webp .planning-section {
        background-image: url('/assets/images/planning/planning-tablet-1024w.jpg');
    }
}

@media screen and (max-width: 768px) {
    .no-webp .planning-section {
        background-image: url('/assets/images/planning/planning-mobile-640w.jpg');
    }
}

/* Print styles */
@media print {
    .planning-section {
        background: none;
        min-height: auto;
    }

    .planning-content {
        background-color: transparent;
        padding: 20px 0;
    }

    .planning-cta {
        display: none;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .planning-cta .btn {
        transition: none;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .planning-content {
        background-color: rgba(32, 32, 32, 0.98);
    }

    .planning-text p {
        color: #e0e0e0;
    }

    .planning-section h2,
    .planning-section h3 {
        color: #8fb391;
    }
}


/* ==========================================================================
   Planning Section Styles
   Component: CTA Planning Section
   Location: Homepage / Service pages
   ========================================================================== */

/* Planning section base */
.planning-section {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    overflow: hidden;
}

/* Background image with responsive sources */
.planning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to right,
            rgba(248, 248, 248, 0.9) 0%,
            rgba(248, 248, 248, 0.7) 50%,
            transparent 100%
    );
    z-index: 1;
}

/* Container wrapper */
.planning-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 80vh;
}

/* Grid layout */
.planning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
    min-height: 80vh;
    align-items: center;
}

/* Content column */
.planning-content {
    background-color: rgba(248, 248, 248, 0.98);
    padding: 48px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

/* Typography hierarchy */
.planning-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-weight: 400;
    color: #647565;
    line-height: 1.2;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.planning-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 400;
    color: #647565;
    line-height: 1.3;
    margin: 0 0 24px 0;
}

/* Text content */
.planning-text {
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.planning-text p {
    font-family: Arial, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #151515;
    margin-bottom: 16px;
}

.planning-text p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.planning-cta {
    margin-top: 32px;
}

.planning-cta .btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-family: Arial, -apple-system, BlinkMacSystemFont, sans-serif;
}

.planning-cta .btn-primary {
    background-color: #4CAF50;
    color: #ffffff;
    border: 2px solid #4CAF50;
}

.planning-cta .btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.planning-cta .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* Image column */
.planning-image {
    position: relative;
    height: 100%;
    min-height: 80vh;
}

/* Responsive background images */
@media screen and (min-width: 1921px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-desktop-3840w.webp');
    }
}

@media screen and (max-width: 1920px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-desktop-1920w.webp');
    }
}

@media screen and (max-width: 1280px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-tablet-2048w.webp');
    }
}

/* Tablet styles */
@media screen and (max-width: 1024px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-tablet-1024w.webp');
    }

    .planning-grid {
        grid-template-columns: 1fr;
    }

    .planning-content {
        max-width: 720px;
        margin: 0 auto;
        padding: 40px 32px;
    }

    .planning-section h2 {
        font-size: 33px;
    }

    .planning-section h3 {
        font-size: 24px;
    }

    .planning-image {
        display: none;
    }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .planning-section {
        min-height: 70vh;
        background-image: url('/assets/images/planning/planning-mobile-1280w.webp');
    }

    .planning-section .container {
        min-height: 70vh;
    }

    .planning-grid {
        min-height: 70vh;
    }

    .planning-content {
        padding: 32px 24px;
        background-color: rgba(248, 248, 248, 0.96);
    }

    .planning-section h2 {
        font-size: 28px;
    }

    .planning-section h3 {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .planning-text p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
    .planning-section {
        background-image: url('/assets/images/planning/planning-mobile-640w.webp');
    }

    .planning-content {
        padding: 24px 20px;
    }

    .planning-section h2 {
        font-size: 24px;
    }

    .planning-section h3 {
        font-size: 19px;
    }

    .planning-cta .btn {
        width: 100%;
        padding: 16px 24px;
    }
}

/* Fallback for browsers without WebP support */
.no-webp .planning-section {
    background-image: url('/assets/images/planning/planning-desktop-1920w.jpg');
}

@media screen and (max-width: 1280px) {
    .no-webp .planning-section {
        background-image: url('/assets/images/planning/planning-tablet-1024w.jpg');
    }
}

@media screen and (max-width: 768px) {
    .no-webp .planning-section {
        background-image: url('/assets/images/planning/planning-mobile-640w.jpg');
    }
}

/* Print styles */
@media print {
    .planning-section {
        background: none;
        min-height: auto;
    }

    .planning-content {
        background-color: transparent;
        padding: 20px 0;
    }

    .planning-cta {
        display: none;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .planning-cta .btn {
        transition: none;
    }
}


/* ==========================================================================
   Accessibility Toolbar Styles - Without Language Selection
   VitaPFLEGE GmbH - Accessibility Features
   ========================================================================== */

/* Accessibility Toolbar Base Styles */
.accessibility-toolbar {
    position: relative;
    z-index: 1000;
    min-height: 48px;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    font-size: 14px;
}

/* Toolbar Container */
.accessibility-toolbar .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Controls Group */
.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Toolbar Buttons */
.accessibility-toolbar .btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    position: relative;
}

.accessibility-toolbar .btn:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accessibility-toolbar .btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accessibility-toolbar .btn:active:not(:disabled) {
    transform: translateY(0);
}

.accessibility-toolbar .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.accessibility-toolbar .btn.active {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.accessibility-toolbar .btn-outline-danger {
    margin-left: 0.5rem;
}

/* Icons */
.accessibility-toolbar .bi {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 0.25rem;
}

/* Info Text */
.accessibility-info {
    font-size: 0.813rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.accessibility-info .bi {
    margin-right: 0;
}

/* Progress Indicator */
#font-size-indicator {
    display: inline-flex;
    align-items: center;
}

#font-size-indicator .progress {
    width: 100px;
    height: 8px;
    background-color: #e9ecef;
}

#font-size-indicator .progress-bar {
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

/* Screen Reader Only Content */
.sr-only,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Visually Hidden but Focusable */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus Visible for Keyboard Navigation */
.accessibility-toolbar button:focus-visible,
.accessibility-toolbar a:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}

/* High Contrast Mode Base */
body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

/* Feedback Toast */
.accessibility-feedback {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 9999;
    pointer-events: none;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Emergency Banner */
.emergency-banner {
    font-size: 0.938rem;
}

.emergency-banner a {
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .accessibility-info .d-xl-inline {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .accessibility-toolbar {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand .d-sm-block {
        display: none !important;
    }
}

/* Print Styles */
@media print {
    .accessibility-toolbar,
    .emergency-banner {
        display: none !important;
    }
}

/* Animation for Contrast Toggle */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.high-contrast * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Custom Focus Styles for Better Visibility */
*:focus {
    outline: 2px solid transparent;
}

*:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Skip to Content Link */
.visually-hidden-focusable {
    z-index: 1100;
}

/* Keyboard Navigation Indicators */
.keyboard-nav .accessibility-toolbar button:focus,
.keyboard-nav .accessibility-toolbar a:focus {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
}

/* Error States */
.accessibility-toolbar .btn.error {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Success States */
.accessibility-toolbar .btn.success {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* Mobile-Friendly Touch Targets */
@media (pointer: coarse) {
    .accessibility-toolbar .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem 1rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .accessibility-toolbar .btn,
    body,
    body.high-contrast *,
    .navbar,
    .navbar-brand img {
        transition: none !important;
        animation: none !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .accessibility-toolbar {
        background-color: #212529;
        border-bottom-color: #495057;
        color: #f8f9fa;
    }

    .accessibility-toolbar .btn-outline-secondary {
        color: #adb5bd;
        border-color: #6c757d;
    }

    .accessibility-toolbar .btn-outline-secondary:hover:not(:disabled) {
        background-color: #6c757d;
        color: #fff;
        border-color: #6c757d;
    }

    .accessibility-toolbar .btn-outline-danger {
        color: #f8d7da;
        border-color: #f5c6cb;
    }

    .accessibility-toolbar .btn-outline-danger:hover:not(:disabled) {
        background-color: #dc3545;
        color: #fff;
        border-color: #dc3545;
    }

    #font-size-indicator .progress {
        background-color: #495057;
    }

    .accessibility-info {
        color: #adb5bd;
    }
}

/* Additional Utility Classes */
.high-contrast .accessibility-toolbar {
    background-color: #111 !important;
    border-bottom: 2px solid #fff !important;
}

.high-contrast .accessibility-toolbar .btn {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

.high-contrast .accessibility-toolbar .btn:hover:not(:disabled) {
    background-color: #000 !important;
    color: #fff !important;
}

.high-contrast .accessibility-toolbar .btn.active {
    background-color: #ffff00 !important;
    color: #000 !important;
    border-color: #ffff00 !important;
}










/**
 * Process Section Styles
 * VitaPFLEGE GmbH - 4-Step Consultation Process
 */

/* Section Container */
.process-section {
    padding: 60px 0;
    background-color: #C8E6C9; /* Light mint green background */
    background-image:
            radial-gradient(circle at 20% 80%, rgba(129, 199, 132, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(165, 214, 167, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Section Header */
.process-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-title {
    color: #2E7D32; /* Deep green for main headings */
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.3;
}

.process-cta {
    margin-top: 10px;
}

.process-phone-link {
    color: #2E7D32; /* Deep green for CTA */
    font-size: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.process-phone-link:hover {
    color: #1B5E20; /* Darker green on hover */
    transform: translateY(-2px);
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Process Step */
.process-step {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step-inner {
    background: #FFFFFF; /* Clean white background for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    border: 1px solid #E8F5E9; /* Subtle light green border */
}

.process-step:hover .process-step-inner {
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.12); /* Lighter green shadow on hover */
    border-color: #A5D6A7; /* Lighter green border on hover */
}

/* Process Image */
.process-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    aspect-ratio: 3/2;
}

.process-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.process-step:hover .process-image {
    transform: scale(1.05);
}

/* Process Content */
.process-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.process-step-number {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #388E3C; /* Medium green for step numbers */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(56, 142, 60, 0.3),
    inset 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .process-step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(56, 142, 60, 0.4);
}

.process-step-title {
    color: #2E7D32; /* Deep green for headings */
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 2.8em; /* Ensures consistent height in 2x2 grid */
}

.process-step-description {
    color: #616161; /* Medium gray for better readability */
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Process Footer */
.process-footer {
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
}

.process-footer-text {
    color: #2E7D32; /* Deep green for footer text */
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.process-cta-button {
    background-color: #388E3C; /* Medium green for primary button */
    color: #FFFFFF;
    padding: 15px 40px;
    font-size: 20px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 142, 60, 0.3);
    font-weight: 600;
}

.process-cta-button:hover {
    background-color: #2E7D32; /* Deep green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    color: #FFFFFF;
}

.process-cta-button i {
    font-size: 18px;
}

/* Responsive Styles */
@media (min-width: 1200px) {
    .process-grid {
        column-gap: 40px;
        row-gap: 50px;
    }

    .process-section {
        padding: 80px 0;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 30px 0;
    }

    .process-title {
        font-size: 33px;
    }

    .process-phone-link {
        font-size: 24px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step-title {
        font-size: 20px;
        min-height: auto;
    }

    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: -25px;
    }

    .process-content {
        padding: 20px;
        padding-top: 30px; /* Extra padding for mobile number positioning */
    }

    .process-cta-button {
        font-size: 18px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .process-title {
        font-size: 28px;
    }

    .process-phone-link {
        font-size: 20px;
    }

    .process-content {
        padding: 20px;
    }

    .process-footer-text {
        font-size: 18px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .process-step,
    .process-step-inner,
    .process-image,
    .process-phone-link,
    .process-cta-button {
        transition: none;
    }
}

/* Focus States for Keyboard Navigation */
.process-phone-link:focus,
.process-cta-button:focus {
    outline: 3px solid #388E3C;
    outline-offset: 4px;
}

.process-step:focus-within .process-step-inner {
    box-shadow: 0 0 0 3px #66BB6A;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {


    .process-title,
    .process-step-title {
        color: #506050; /* Light green for headings */
    }

    .process-step-description {
        color: #2A672C;
    }

    .process-phone-link {
        color: #2A672C; /* Light green for links */
    }

    .process-phone-link:hover {
        color: #A5D6A7;
    }

    .process-footer-text {
        color: #2A672C;
    }

    .process-step-number {
        background: #388E3C;
    }

    .process-cta-button {
        background-color: #388E3C;
    }

    .process-cta-button:hover {
        background-color: #4CAF50;
    }
}

/* Print Styles */
@media print {
    .process-section {
        background-color: white;
        page-break-inside: avoid;
    }

    .process-grid {
        display: block;
    }

    .process-step {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }

    .process-step-inner {
        box-shadow: none;
        border: 1px solid #C8E6C9;
    }

    .process-step-number {
        background: #2E7D32;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .process-cta-button {
        display: none;
    }
}











/**
 * Contact Form Section Styles
 * VitaPFLEGE GmbH - Modern contact form with light friendly colors
 */

/* Section Container */
.contact-form-section {
    padding: 80px 0;
    background-color: #F7FCF7; /* Very light green-tinted background */
    background-image:
            radial-gradient(circle at 10% 20%, rgba(195, 227, 196, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(195, 227, 196, 0.15) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Section Header */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    color: #1B5E20; /* Dark green for maximum contrast */
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-subtitle {
    color: #424242; /* Dark gray for good readability */
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Wrapper */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Information */
.contact-info-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 2px solid #E8F5E9;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 4px 20px rgba(195, 227, 196, 0.3);
    border-color: #C3E3C4;
}

.contact-info-title {
    color: #1B5E20; /* Dark green for contrast */
    font-family: 'Merriweather', serif;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Contact Item Enhanced */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #F7FCF7;
    transform: translateX(5px);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #C3E3C4 0%, #D4EED5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B5E20; /* Dark green icon for contrast */
    box-shadow: 0 2px 8px rgba(195, 227, 196, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(195, 227, 196, 0.5);
    background: linear-gradient(135deg, #D4EED5 0%, #C3E3C4 100%);
}

.contact-details h4 {
    color: #212121; /* Almost black for excellent contrast */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.contact-link {
    color: #2E7D32; /* Medium-dark green */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1B5E20;
    text-decoration: underline;
}

.contact-address {
    font-style: normal;
    color: #424242; /* Dark gray for readability */
    line-height: 1.6;
}

.opening-hours {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #424242;
}

/* Quick Contact Button */
.quick-contact {
    margin-top: 30px;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2E7D32; /* Darker green for contrast */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
}

.quick-contact-btn:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.3);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 2px solid #E8F5E9;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 4px 20px rgba(195, 227, 196, 0.3);
    border-color: #C3E3C4;
}

/* Form Layout */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Form Groups */
.form-group {
    position: relative;
}

.form-group-full {
    grid-column: 1 / -1;
}

/* Form Labels */
.form-label {
    display: block;
    color: #212121; /* Almost black for maximum contrast */
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #C62828; /* Darker red for better contrast */
    font-weight: normal;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 14px 20px;
    background: #FAFAFA;
    border: 2px solid #E0E0E0; /* Neutral gray border */
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    color: #212121; /* Dark text for contrast */
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #9E9E9E;
    opacity: 1;
}

.form-input:hover {
    background: #FFFFFF;
    border-color: #C3E3C4; /* Light green on hover */
    box-shadow: 0 2px 8px rgba(195, 227, 196, 0.2);
}

.form-input:focus {
    background: #FFFFFF;
    border-color: #2E7D32; /* Dark green on focus */
    box-shadow: 0 0 0 4px rgba(195, 227, 196, 0.4);
}

.form-input.error {
    border-color: #C62828;
    background: #FFEBEE;
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
}

/* Textarea */
.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Error Messages */
.form-error {
    display: none;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #C62828; /* Darker red for contrast */
    font-size: 13px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-error svg {
    flex-shrink: 0;
}

.form-group.error .form-error {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Helper Text */
.form-helper {
    display: block;
    margin-top: 5px;
    color: #616161; /* Medium gray */
    font-size: 13px;
}

/* Checkbox */
.form-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.form-checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    color: #424242; /* Dark gray for readability */
    font-size: 14px;
}

.checkbox-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #FAFAFA;
    border: 2px solid #BDBDBD; /* Gray border */
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.form-checkbox:checked + .form-checkbox-label .checkbox-icon {
    background: #2E7D32; /* Dark green when checked */
    border-color: #2E7D32;
}

.checkbox-icon::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.3s ease;
}

.form-checkbox:checked + .form-checkbox-label .checkbox-icon::after {
    transform: rotate(45deg) scale(1);
}

.form-checkbox:focus + .form-checkbox-label .checkbox-icon {
    box-shadow: 0 0 0 4px rgba(195, 227, 196, 0.4);
}

/* Form Note */
.form-note {
    grid-column: 1 / -1;
    color: #616161;
    font-size: 13px;
    margin-top: -10px;
}

/* Submit Button */
.form-submit {
    grid-column: 1 / -1;
    background: #2E7D32; /* Dark green for contrast */
    color: #FFFFFF;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
    position: relative;
    overflow: hidden;
}

.button-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-text svg {
    vertical-align: middle;
}

.form-submit:hover:not(:disabled) {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.3);
}

.form-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27, 94, 32, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-loading {
    display: none;
}

.form-submit.loading .button-text {
    visibility: hidden;
}

.form-submit.loading .button-loading {
    display: inline-flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Spinner Animation */
.spinner {
    animation: rotate 1.5s linear infinite;
}

.spinner-circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 45;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 60;
    }
    50% {
        stroke-dashoffset: 15;
    }
    100% {
        stroke-dashoffset: 60;
    }
}

/* Form Messages */
.form-message {
    grid-column: 1 / -1;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 10px;
    animation: slideUp 0.3s ease;
}

.form-message.show {
    display: flex;
}

.form-success {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    color: #1B5E20; /* Dark green text */
    border: 1px solid #A5D6A7;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
}

.form-error-message {
    background: #FFEBEE;
    color: #C62828; /* Dark red text */
    border: 1px solid #FFCDD2;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-card {
        padding: 30px;
    }

    .contact-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group {
        grid-column: 1 / -1;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-info-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .contact-header {
        margin-bottom: 40px;
    }

    .contact-wrapper {
        gap: 30px;
    }

    .form-input {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .quick-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-form-section {
        background-image:
                radial-gradient(circle at 10% 20%, rgba(195, 227, 196, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(195, 227, 196, 0.03) 0%, transparent 50%);
    }

    .contact-info-card,
    .contact-form-wrapper {
        background: #C3E3C4;
        border-color: #81C784;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    }

    .contact-title,
    .contact-info-title {
        color: #2E7D32;
    }

    .contact-subtitle {
        color: #2E7D32;
    }

    .contact-address,
    .opening-hours {
        color: #2E7D32;
    }

    .contact-details h4,
    .form-label {
        color: #2E7D32;
    }

    .form-input {
        background: #F4FBF4;
        border-color: #81C784;
        color: #2E7D32;
    }

    .form-input:hover {
        background: #81C784;
        border-color: #4CAF50;
        color: #F4FBF4;
    }

    .form-input:focus {
        color: #2A2A2A;
        background: #F4FBF4;
        border-color: #66BB6A;
        box-shadow: 0 0 0 4px rgba(195, 227, 196, 0.2);
    }

    .contact-icon {
        background: rgba(195, 227, 196, 0.15);
        color: #81C784;
    }

    .checkbox-icon {
        background: #2A2A2A;
        border-color: #424242;
    }

    .form-checkbox:checked + .form-checkbox-label .checkbox-icon {
        background: #4CAF50;
        border-color: #4CAF50;
    }

    .form-checkbox-label {
        color: #BDBDBD;
    }

    .form-helper,
    .form-note {
        color: #9E9E9E;
    }

    .quick-contact-btn,
    .form-submit {
        background: #4CAF50;
    }

    .quick-contact-btn:hover,
    .form-submit:hover:not(:disabled) {
        background: #66BB6A;
    }

    .form-success {
        background: rgba(76, 175, 80, 0.1);
        color: #81C784;
        border-color: #4CAF50;
    }

    .form-error-message {
        background: rgba(239, 83, 80, 0.1);
        color: #EF5350;
        border-color: #E53935;
    }

    .form-error {
        color: #EF5350;
    }

    .required {
        color: #EF5350;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-title,
    .contact-info-title {
        color: #000000;
    }

    .form-label,
    .contact-details h4 {
        color: #000000;
    }

    .form-input {
        border-width: 3px;
    }

    .form-submit,
    .quick-contact-btn {
        border: 2px solid currentColor;
    }
}

/* Print Styles */
@media print {
    .contact-form-section {
        background: white;
        page-break-inside: avoid;
    }

    .contact-info-card,
    .contact-form-wrapper {
        box-shadow: none;
        border: 1px solid #E0E0E0;
    }

    .quick-contact {
        display: none;
    }

    .form-submit {
        display: none;
    }

    .contact-icon {
        background: #F5F5F5;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .contact-item:hover {
        transform: none;
    }

    .contact-item:hover .contact-icon {
        transform: none;
    }
}

/* Focus Visible for Better Keyboard Navigation */
.form-input:focus-visible,
.form-checkbox:focus-visible + .form-checkbox-label .checkbox-icon,
.quick-contact-btn:focus-visible,
.form-submit:focus-visible {
    outline: 3px solid #1B5E20;
    outline-offset: 3px;
}

/* Enhanced Hover States for Touch Devices */
@media (hover: hover) and (pointer: fine) {
    .contact-link:hover {
        text-decoration: underline;
    }

    .contact-icon {
        transition: transform 0.3s ease;
    }

    .contact-item:hover .contact-icon {
        transform: scale(1.05);
    }
}

/* Loading State Animation */
.contact-form.submitting {
    pointer-events: none;
    opacity: 0.7;
}

.contact-form.submitting .form-input,
.contact-form.submitting .form-textarea {
    background: #F5F5F5;
}

/* Success Animation */
@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.form-success.show {
    animation: successPulse 0.5s ease;
}

/* Custom Scrollbar for Textarea */
.form-textarea::-webkit-scrollbar {
    width: 8px;
}

.form-textarea::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 4px;
}

.form-textarea::-webkit-scrollbar-thumb {
    background: #C3E3C4;
    border-radius: 4px;
}

.form-textarea::-webkit-scrollbar-thumb:hover {
    background: #A5D6A7;
}



/**
 * About Section Styles
 * VitaPFLEGE GmbH - Individual care and activating nursing
 */

/* Section Container */
.about-section {
    padding: 80px 0;
    background-color: #F8F8F8;
    position: relative;
    overflow: hidden;
}

/* About Wrapper */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    max-width: 1920px;
    margin: 0 auto;
}

/* Content Column */
.about-content {
    padding-right: 40px;
}

.about-title {
    color: #368039;
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 30px;
    hyphens: auto;
}

.about-description {
    color: #151515;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-description p {
    margin-bottom: 20px;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-description strong {
    color: #368039;
    font-weight: 600;
}

/* Action Buttons */
.about-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #368039;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(54, 128, 57, 0.2);
}

.btn-primary:hover {
    background-color: #2A5F2C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 128, 57, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #368039;
    border: 2px solid #368039;
}

.btn-secondary:hover {
    background-color: #368039;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: 100%;
    min-height: 600px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #E8F5E9;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-link:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(54, 128, 57, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-link:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: #FFFFFF;
    width: 48px;
    height: 48px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-link:hover .gallery-icon {
    transform: scale(1);
}

/* Features Section */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid #E0E0E0;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    color: #368039;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-title {
    color: #368039;
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 10px;
}

.feature-text {
    color: #616161;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-wrapper {
        grid-template-columns: 1fr 1.5fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        padding-right: 0;
        max-width: 600px;
        margin: 0 auto;
    }

    .gallery-grid {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 32px;
    }

    .about-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        min-height: 400px;
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 60px;
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .feature-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* Animation Classes */
.about-content,
.gallery-item,
.feature-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.about-content {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(1) { animation-delay: 0.2s; }
.gallery-item:nth-child(2) { animation-delay: 0.3s; }
.gallery-item:nth-child(3) { animation-delay: 0.4s; }
.gallery-item:nth-child(4) { animation-delay: 0.5s; }
.gallery-item:nth-child(5) { animation-delay: 0.6s; }
.gallery-item:nth-child(6) { animation-delay: 0.7s; }

.feature-item:nth-child(1) { animation-delay: 0.8s; }
.feature-item:nth-child(2) { animation-delay: 0.9s; }
.feature-item:nth-child(3) { animation-delay: 1.0s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .about-section {
        background-color: #121212;
    }

    .about-title,
    .feature-title {
        color: #81C784;
    }

    .about-description,
    .feature-text {
        color: #E0E0E0;
    }

    .about-description strong {
        color: #81C784;
    }

    .gallery-item {
        background-color: #1E1E1E;
    }

    .gallery-overlay {
        background: rgba(129, 199, 132, 0.8);
    }

    .feature-icon {
        background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
        color: #81C784;
    }

    .btn-primary {
        background-color: #4CAF50;
    }

    .btn-primary:hover {
        background-color: #66BB6A;
    }

    .btn-secondary {
        color: #81C784;
        border-color: #81C784;
    }

    .btn-secondary:hover {
        background-color: #81C784;
        color: #121212;
    }

    .about-features {
        border-top-color: #424242;
    }
}

/* Print Styles */
@media print {
    .about-section {
        background: white;
    }

    .gallery-overlay {
        display: none;
    }

    .about-actions {
        display: none;
    }

    .gallery-grid {
        display: block;
    }

    .gallery-item {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.gallery-link:focus {
    outline: 3px solid #368039;
    outline-offset: 3px;
}

/* Loading State for Images */
.gallery-image {
    background: linear-gradient(90deg, #E8F5E9 0%, #F5F5F5 50%, #E8F5E9 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.gallery-image[data-loaded="true"] {
    animation: none;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}