﻿/* Modernes Sanitätshaus CSS - 2025 Design */

/* CSS Custom Properties für konsistente Farben */
:root {
    --primary-green: #16a085;
    --secondary-green: #1abc9c;
    --accent-red: #e74c3c;
    --warm-red: #ff6b6b;
    --dark-blue: #2c3e50;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --white: #ffffff;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    --gradient-warm: linear-gradient(135deg, var(--accent-red) 0%, var(--warm-red) 100%);
    --gradient-glass: rgba(255, 255, 255, 0.1);
    --bs-primary: #16a085;
    --bs-primary-rgb: 22, 160, 133;
}

/* Bootstrap Button Overrides */
.btn-primary {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: #138f7a !important;
        border-color: #138f7a !important;
    }

.btn-outline-primary {
    color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus,
    .btn-outline-primary:active {
        background-color: var(--primary-green) !important;
        border-color: var(--primary-green) !important;
        color: white !important;
    }

/* Modern Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.display-4 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Navigation */
.navbar {
    background: transparent !important;
    border-bottom: none;
    padding: 1.5rem 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.navbar-nav {
    gap: 0.5rem;
}

    .navbar-nav .nav-link {
        font-weight: 600;
        padding: 0.75rem 1.5rem !important;
        border-radius: 50px;
        transition: all 0.3s ease;
        color: var(--dark-blue) !important;
        background: rgba(255, 255, 255, 0.8);
        margin: 0 0.25rem;
        position: relative;
        overflow: hidden;
    }

        .navbar-nav .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            transition: left 0.5s ease;
            z-index: -1;
        }

        .navbar-nav .nav-link:hover::before,
        .navbar-nav .nav-link.active::before {
            left: 0;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: white !important;
            transform: translateY(-2px);
            box-shadow: var(--shadow-medium);
        }

/* Modern Hero Section */
.hero-modern {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.1) 0%, rgba(26, 188, 156, 0.1) 50%, rgba(231, 76, 60, 0.1) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.8) 0%, rgba(26, 188, 156, 0.6) 50%, rgba(231, 76, 60, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

.floating-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    box-shadow: var(--shadow-strong);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.hero-title {
    color: white !important ;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    min-width: 220px;
    text-align: center;
    background: var(--gradient-primary);
}

.btn-hero-primary {
    animation: subtlePulse 3s ease-in-out infinite;
}

.btn-hero-secondary {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    opacity: 0.9;
}

    .btn-hero-primary:hover,
    .btn-hero-secondary:hover {
        background: var(--gradient-warm);
        transform: translateY(-3px);
        box-shadow: 0 20px 60px rgba(231, 76, 60, 0.3);
        opacity: 1;
    }

.btn-modern {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.6s;
    }

    .btn-modern:hover::before {
        left: 100%;
    }

    .btn-modern:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-strong);
        color: white;
        text-decoration: none;
    }

.btn-hero-primary {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: var(--shadow-medium);
    }

    50% {
        box-shadow: 0 12px 40px rgba(22, 160, 133, 0.3);
    }
}

/* Geometric Shapes Container */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
}

.shape-svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .shape-svg svg {
        color: white;
        opacity: 0.3;
        filter: drop-shadow(0 8px 30px rgba(255,255,255,0.8)) drop-shadow(0 0 15px rgba(255,255,255,0.4));
        transition: all 0.3s ease;
    }

.shape-1 {
    top: 10%;
    right: 5%;
    width: 120px;
    height: 120px;
    animation: floatAround 12s ease-in-out infinite;
}

.shape-2 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    animation: floatAround2 15s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(-30px, 40px) rotate(10deg) scale(1.1);
    }

    50% {
        transform: translate(40px, 60px) rotate(-8deg) scale(1.15);
    }

    75% {
        transform: translate(-20px, 30px) rotate(5deg) scale(1.05);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes floatAround2 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(50px, 30px) rotate(-12deg) scale(1.2);
    }

    50% {
        transform: translate(-40px, 50px) rotate(15deg) scale(0.95);
    }

    75% {
        transform: translate(30px, 25px) rotate(-8deg) scale(1.1);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* Herzschlag-Linie */
.heartbeat-line-container {
    margin-top: 3rem;
    width: 100%;
    height: 100px;
    overflow: visible;
    position: relative;
}

.heartbeat-line {
    width: 100%;
    height: 100%;
}

    .heartbeat-line line {
        stroke: rgba(255,255,255,0.2);
        stroke-width: 2;
    }

.heartbeat-pulse {
    stroke: white;
    stroke-width: 3;
    opacity: 0.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 8px 30px rgba(255,255,255,0.8));
    animation: heartbeat 3s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        stroke-dasharray: 800;
        stroke-dashoffset: 800;
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        stroke-dashoffset: -800;
        opacity: 0;
    }
}

/* Modern Services Section */
.services-modern {
    padding: 4rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-strong);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}

    .service-icon img {
        width: 40px;
        height: 40px;
        filter: brightness(0) invert(1);
    }

.service-title {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-service {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-service:hover {
        background: var(--primary-green);
        color: white;
        transform: translateY(-2px);
        text-decoration: none;
    }

/* Modern About Section */
.about-modern {
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    padding: 2rem;
}

.about-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--dark-blue);
    margin-bottom: 2rem;
    position: relative;
}

    .about-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }

.about-text {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.about-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

    .about-image:hover {
        transform: scale(1.02);
        box-shadow: var(--shadow-strong);
    }

.about-stats {
    position: absolute;
    top: -20px;
    right: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    z-index: 10;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern News Section */
.news-modern {
    padding: 4rem 0;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-strong);
    }

.news-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.news-meta {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.news-content {
    padding: 0 2rem 2rem;
}

.news-title {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.news-description {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

    .floating-contact .btn-modern {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: var(--shadow-strong);
        padding: 0;
    }

/* News Section - Einzelne Nachricht mit Archiv */
.current-news-container {
    max-width: 800px;
    margin: 0 auto;
}

.current-news-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

    .current-news-card:hover {
        border-color: var(--primary-green);
        transform: translateY(-5px);
        box-shadow: var(--shadow-strong);
    }

.news-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-light);
}

.news-archive-toggle {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-archive {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

    .btn-archive:hover {
        background: var(--primary-green);
        color: white;
        transform: translateY(-2px);
    }

.archive-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-archive.active .archive-icon {
    transform: rotate(180deg);
}

.news-archive-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

    .news-archive-container.show {
        max-height: 1000px;
        opacity: 1;
        margin-bottom: 2rem;
    }

.archive-header {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

    .archive-header h4 {
        color: var(--dark-blue);
        margin: 0;
    }

.archive-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

    .archive-item:hover {
        transform: translateX(5px);
        box-shadow: var(--shadow-light);
    }

.archive-date {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.archive-title {
    font-size: 1.2rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.archive-preview {
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.archive-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .archive-link:hover {
        color: var(--secondary-green);
        text-decoration: none;
        padding-left: 5px;
    }

/* Produkte Seite Styles */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .product-card:hover::before {
        transform: scaleX(1);
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-strong);
    }

.product-icon-wrapper {
    margin-bottom: 1.5rem;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-light);
}

.gradient-green {
    background: var(--gradient-primary);
}

.gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.product-title {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

    .product-list li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        position: relative;
        color: var(--dark-blue);
    }

        .product-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--primary-green);
            font-weight: bold;
        }

/* =========================================
   APPOINTMENT / KALENDER STYLES - VERBESSERT
   ========================================= */

/* Row mit Flexbox für gleiche Höhe */
.appointment-steps-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Appointment Step Container - nimmt volle Höhe ein */
.appointment-step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Step Number Badge */
.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(22, 160, 133, 0.3);
}

/* Überschriften innerhalb der Steps */
.appointment-step h4 {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--dark-blue);
}

/* Consultation Options */
.consultation-option {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

    .consultation-option:hover,
    .consultation-option.active {
        border-color: var(--primary-green);
        background: rgba(22, 160, 133, 0.05);
    }

/* Time Slots Container - flexibel */
.time-slots-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Time Slots Grid - 4 Spalten ohne Scrollen */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    flex: 1;
}

/* Zeit-Buttons */
.time-slot {
    padding: 0.6rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}

    .time-slot:hover:not(.disabled) {
        background: var(--primary-green);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-light);
    }

    .time-slot.selected {
        background: var(--primary-green);
        color: white;
        font-weight: bold;
        box-shadow: var(--shadow-light);
    }

    .time-slot.disabled {
        background: #f5f5f5;
        color: #999;
        cursor: not-allowed;
        opacity: 0.6;
    }

/* Booking Summary */
.booking-summary {
    background: rgba(22, 160, 133, 0.1);
    border-left: 4px solid var(--primary-green);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

/* Selected Date Display */
.selected-date-display {
    background: rgba(22, 160, 133, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

/* Opening Hours Info */
.opening-hours-info {
    background: rgba(100, 116, 139, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
}

/* Wochenkonfiguration Styles */
.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.day-column {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

    .day-column.weekend {
        background: #f8f9fa;
        opacity: 0.7;
    }

.day-header {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-weight: bold;
}

.day-column.weekend .day-header {
    background: #6c757d;
}

.day-stats {
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.day-slots {
    padding: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}

.mini-slot {
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.8rem;
}

    .mini-slot.booked {
        background: #d4edda;
    }

    .mini-slot.blocked {
        background: #f8d7da;
    }

.day-actions {
    padding: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

/* Icons */
.product-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.about-icon img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.contact-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.upload-icon img {
    width: 110px;
    height: 110px;
    margin-bottom: 1rem;
}

.footer-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .week-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .day-column.weekend {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
        gap: 0.25rem;
    }

    /* Time Slots auf Tablets */
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: 70vh;
    }

    .floating-card {
        padding: 2rem;
        margin: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        min-width: unset;
    }

    .btn-modern {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .shape-svg {
        width: 80px !important;
        height: 80px !important;
    }

        .shape-svg svg {
            width: 60px;
            height: 60px;
        }

    .heartbeat-line-container {
        margin-top: 2rem;
        height: 80px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    .about-stats {
        position: relative;
        right: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }

    .services-modern,
    .about-modern,
    .news-modern {
        padding: 3rem 0;
    }

    /* Appointment Steps auf Mobile */
    .appointment-steps-row {
        flex-direction: column;
    }

    .appointment-step {
        height: auto;
        margin-bottom: 1.5rem;
    }

    /* Time Slots auf Mobile */
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .week-grid {
        grid-template-columns: 1fr;
    }

    .current-news-card {
        padding: 1.5rem;
    }

    .news-badge {
        right: 15px;
    }

    .btn-archive {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .archive-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .floating-card {
        padding: 1.5rem;
    }
}

/* Auf größeren Bildschirmen noch mehr Spalten */
@media (min-width: 992px) {
    .time-slots-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.floating-contact a:hover {
    animation: pulse 1s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-green);
    }

/* ==========================================
   BARRIEREFREIHEITS-WIDGET STYLES
   ========================================== */

#accessibility-widget {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    z-index: 9999;
}

.accessibility-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(22, 160, 133, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .accessibility-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(22, 160, 133, 0.5);
    }

    .accessibility-btn svg {
        width: 28px;
        height: 28px;
    }

.accessibility-panel {
    position: fixed;
    bottom: 170px;
    right: 2rem;
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
}

    .accessibility-panel.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

.accessibility-header {
    background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .accessibility-header h3 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 600;
    }

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

    .close-btn:hover {
        transform: rotate(90deg);
    }

.accessibility-content {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.accessibility-group {
    margin-bottom: 1.5rem;
}

    .accessibility-group label {
        display: block;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .accessibility-group input[type="checkbox"] {
        margin-right: 0.5rem;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

.btn-group-accessibility {
    display: flex;
    gap: 0.5rem;
}

.accessibility-option {
    flex: 1;
    padding: 0.75rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #2c3e50;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .accessibility-option:hover {
        background: #e2e8f0;
        border-color: #16a085;
    }

    .accessibility-option.active {
        background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
        color: white;
        border-color: #16a085;
    }

.btn-reset {
    width: 100%;
    padding: 0.75rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-reset:hover {
        background: #c0392b;
        transform: translateY(-2px);
    }

/* Barrierefreiheits-Klassen die angewendet werden */
body.font-large {
    font-size: 120% !important;
}

body.font-extra-large {
    font-size: 140% !important;
}

body.font-small {
    font-size: 90% !important;
}

body.contrast-high {
    filter: contrast(1.5);
}

body.contrast-inverted {
    filter: invert(1) hue-rotate(180deg);
}

body.line-spacing-large * {
    line-height: 1.8 !important;
}

body.line-spacing-extra * {
    line-height: 2.2 !important;
}

body.readable-font,
body.readable-font * {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
}

body.highlight-links a {
    background-color: yellow !important;
    color: black !important;
    text-decoration: underline !important;
    padding: 2px 4px !important;
}

body.big-cursor,
body.big-cursor * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><circle cx="16" cy="16" r="10" fill="black"/><circle cx="16" cy="16" r="8" fill="white"/></svg>') 16 16, auto !important;
}

/* Responsive */
@media (max-width: 768px) {
    .accessibility-panel {
        right: 1rem;
        left: 1rem;
        width: auto;
        bottom: 140px;
    }

    #accessibility-widget {
        right: 1rem;
        bottom: 80px;
    }

    .accessibility-btn {
        width: 55px;
        height: 55px;
    }
}

/* Custom Alert für schöne Fehlermeldungen */
.custom-alert-error {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95) 0%, rgba(192, 57, 43, 0.95) 100%);
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(231, 76, 60, 0.4);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 90%;
}

    .custom-alert-error.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .custom-alert-error .alert-content {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .custom-alert-error .alert-icon {
        font-size: 1.5rem;
        animation: shake 0.5s ease;
    }

    .custom-alert-error .alert-text {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.4;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-alert-error {
        top: 80px;
        padding: 15px 20px;
    }

        .custom-alert-error .alert-icon {
            font-size: 1.2rem;
        }

        .custom-alert-error .alert-text {
            font-size: 0.9rem;
        }
}


