/* ========================================
   PHYSIOTHERAPIE HERRMANN & REINER
   Finale optimierte CSS - Komplett
   Version: 1.0 - Mobile & Desktop optimiert
   ======================================== */

/* ========================================
   Reset & Base Styles
   ======================================== */

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

:root {
    --color-primary: #5eae88;
    --color-primary-dark: #4d9974;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-900: #111827;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-2xl: 2rem;
    --border-radius-full: 9999px;
    
    --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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    min-height: 100vh;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

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

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 20px rgba(94, 174, 136, 0.3);
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--color-gray-900);
    color: var(--color-gray-900);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: transparent;
    cursor: pointer;
}

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

.btn-primary-rounded {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-primary-rounded:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 20px rgba(94, 174, 136, 0.3);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5.5rem;
}

@media (min-width: 768px) {
    .nav-content {
        height: 7rem;
    }
}

.logo svg {
    height: 4.5rem;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

@media (min-width: 768px) {
    .logo svg {
        height: 6rem;
    }
}

.logo svg g:first-of-type * {
    fill: #5eae88;
}

.logo svg g:nth-of-type(2) path:nth-child(-n+14) {
    fill: #5eae88;
}

.logo svg g:nth-of-type(2) path:nth-child(n+15) {
    fill: #000;
}

.logo:hover svg {
    transform: scale(1.05);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 3rem;
    flex-direction: column;
    position: absolute;
    top: 5.5rem;
    right: 1.5rem;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 3rem;
        background: none;
        padding: 0;
        box-shadow: none;
        min-width: auto;
        top: 7rem;
    }
}

.nav-link {
    position: relative;
    color: var(--color-black);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.nav-link.active {
    color: var(--color-primary);
}

.nav-underline {
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link.active .nav-underline,
.nav-link:hover .nav-underline {
    transform: scaleX(1);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.75rem;
    height: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 767px) {
    .nav-links.active {
        display: flex;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom right, var(--color-white), var(--color-gray-50), rgba(94, 174, 136, 0.05));
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 10rem;
        padding-bottom: 5rem;
    }
}

.hero-bg-circle {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-bg-circle-1 {
    top: 5rem;
    right: 0;
    background-color: rgba(94, 174, 136, 0.1);
}

.hero-bg-circle-2 {
    bottom: 0;
    left: 0;
    background-color: rgba(94, 174, 136, 0.05);
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(94, 174, 136, 0.1);
    color: var(--color-primary);
    font-size: 0.875rem;
    border-radius: var(--border-radius-full);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .hero-text {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

.hero-image {
    position: relative;
    display: block;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 280px;
}

@media (min-width: 768px) {
    .hero-image-wrapper {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .hero-image-wrapper {
        height: 500px;
    }
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background-color: rgba(94, 174, 136, 0.2);
    border-radius: var(--border-radius-xl);
    filter: blur(40px);
    transform: rotate(6deg);
    pointer-events: none;
}

.hero-image-wrapper img {
    transform: translateZ(0);
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ========================================
   Leistungen Section
   ======================================== */

.section-leistungen {
    padding: 4rem 0;
    background-color: var(--color-white);
}

@media (min-width: 768px) {
    .section-leistungen {
        padding: 6rem 0;
    }
}

.section-header {
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

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

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 42rem;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.25rem;
    }
}

.leistungen-grid {
    display: grid;
    gap: 1.5rem;
    grid-auto-rows: 1fr;
}

@media (min-width: 768px) {
    .leistungen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .leistungen-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leistung-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--border-radius-2xl);
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    outline: none;
}

.leistung-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.leistung-card:active::before {
    width: 300px;
    height: 300px;
}

@media (hover: hover) {
    .leistung-card:hover {
        box-shadow: 0 20px 40px rgba(94, 174, 136, 0.3);
        transform: translateY(-8px);
    }
    
    .leistung-card:hover .leistung-icon {
        transform: rotate(90deg) scale(1.1);
        background: rgba(255, 255, 255, 0.25);
    }
}

.leistung-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

.leistung-card:active {
    transform: scale(0.98);
}

.leistung-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.leistung-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.leistung-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

.leistung-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.leistung-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    color: var(--color-white);
}

.leistung-content {
    flex-grow: 1;
}

.leistung-text {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Mobile Optimierung - ALLE Geräte (iOS, Android, etc.) */
@media (max-width: 767px) {
    .leistung-card {
        min-height: 60px !important;
        max-height: 60px !important;
        height: 60px;
    }
    
    .leistung-card-inner {
        display: flex !important;
        flex-direction: row !important;
        padding: 0 1.25rem !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 60px;
        height: 60px;
    }
    
    .leistung-header {
        margin-bottom: 0 !important;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .leistung-title {
        font-size: 1rem !important;
        line-height: 1.2;
    }
    
    .leistung-icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px;
        flex-shrink: 0;
    }
    
    .leistung-icon svg {
        width: 15px !important;
        height: 15px !important;
    }
    
    /* Text komplett verstecken auf Mobile */
    .leistung-content {
        display: none !important;
    }
}

/* Extra Sicherheit für sehr kleine Geräte */
@media (max-width: 360px) {
    .leistung-card {
        min-height: 60px !important;
        max-height: 60px !important;
    }
    
    .leistung-title {
        font-size: 0.9375rem !important;
    }
}

/* Extra Sicherheit für sehr große Phones */
@media (min-width: 400px) and (max-width: 767px) {
    .leistung-card {
        min-height: 60px !important;
        max-height: 60px !important;
    }
}

@media (hover: none) {
    .leistung-card:active,
    .btn-primary:active,
    .btn-secondary:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* ========================================
   Modal
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-2xl);
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-gray-200);
    transform: rotate(90deg);
}

.modal-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-gray-700);
}

.modal-content {
    padding: 3rem;
}

@media (max-width: 767px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}

.modal-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
    padding-right: 3rem;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .modal-title {
        font-size: 1.5rem;
        padding-right: 2.5rem;
    }
}

.modal-body {
    color: var(--color-gray-700);
    line-height: 1.8;
    font-size: 1rem;
}

.modal-body h3 {
    color: var(--color-gray-900);
    font-size: 1.25rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background: var(--color-gray-100);
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ========================================
   Praxis Section
   ======================================== */

.section-praxis {
    padding: 4rem 0;
    background-color: var(--color-gray-50);
}

@media (min-width: 768px) {
    .section-praxis {
        padding: 6rem 0;
    }
}

.praxis-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .praxis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.praxis-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.praxis-card:hover {
    box-shadow: var(--shadow-2xl);
}

.praxis-image-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.praxis-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.praxis-card:hover .praxis-image-wrapper img {
    transform: scale(1.1);
}

.praxis-content {
    padding: 2rem;
}

.praxis-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.875rem;
    border-radius: var(--border-radius-full);
    margin-bottom: 1rem;
}

.praxis-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.praxis-text {
    color: var(--color-gray-700);
    line-height: 1.8;
}

/* ========================================
   Team Section
   ======================================== */

.section-team {
    padding: 4rem 0;
    background-color: var(--color-white);
}

@media (min-width: 768px) {
    .section-team {
        padding: 6rem 0;
    }
}

.team-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .team-grid {
        margin-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-100);
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-2xl);
}

.team-image-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-gray-100);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-content {
    padding: 2rem;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--color-gray-700);
    line-height: 1.8;
}

/* ========================================
   Leitbild
   ======================================== */

.leitbild-card {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .leitbild-card {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .leitbild-card {
        padding: 4rem;
    }
}

.leitbild-content {
    max-width: 64rem;
}

.leitbild-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .leitbild-title {
        font-size: 1.875rem;
    }
}

.leitbild-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .leitbild-intro {
        font-size: 1.25rem;
    }
}

.leitbild-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .leitbild-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leitbild-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.leitbild-icon svg {
    color: var(--color-white);
}

.leitbild-subtitle {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.leitbild-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ========================================
   Kontakt Section
   ======================================== */

.section-kontakt {
    padding: 4rem 0;
    background-color: var(--color-white);
}

@media (min-width: 768px) {
    .section-kontakt {
        padding: 6rem 0;
    }
}

.kontakt-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .kontakt-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.kontakt-info-card {
    background-color: var(--color-gray-50);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
}

@media (min-width: 768px) {
    .kontakt-info-card {
        padding: 2.5rem;
    }
}

.kontakt-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.kontakt-details-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .kontakt-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kontakt-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.kontakt-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kontakt-icon svg {
    color: var(--color-white);
}

.kontakt-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
}

.kontakt-value {
    font-size: 1.125rem;
}

.kontakt-link {
    font-size: 1.125rem;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontakt-link:hover {
    color: var(--color-primary);
}

.kontakt-subtext {
    color: var(--color-gray-600);
}

.anfahrt-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-gray-200);
}

.anfahrt-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.anfahrt-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .anfahrt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.anfahrt-text {
    color: var(--color-gray-700);
}

.kontakt-cta-card {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .kontakt-cta-card {
        padding: 2.5rem;
    }
}

.cta-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-btn-primary {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    background-color: var(--color-gray-100);
    box-shadow: var(--shadow-lg);
}

.cta-btn-secondary {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    transition: all 0.3s ease;
}

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

.cta-accessibility {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-access-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.cta-access-text {
    color: var(--color-white);
}

.maps-container {
    margin-top: 2rem;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 2px solid var(--color-gray-100);
    height: 300px;
    position: relative;
}

@media (min-width: 768px) {
    .maps-container {
        height: 400px;
    }
}

.maps-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 3rem 0;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), var(--color-primary-dark));
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0;
    }
}

.footer-grid {
    display: grid;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        padding-bottom: 3rem;
    }
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo svg {
    height: 8rem;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .footer-logo svg {
        height: 10rem;
    }
}

.footer-logo svg path,
.footer-logo svg circle {
    fill: #fff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-accessibility {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
}

.accessibility-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-white);
    border-radius: 50%;
}

.footer-accessibility p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-heading {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-white);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-item svg {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.footer-contact-item p,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--color-white);
}

.footer-contact-indent {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 1.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--color-white);
}

/* ========================================
   Sticky CTA Button - NUR MOBILE
   ======================================== */

.sticky-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: white;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(94, 174, 136, 0.4);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
}

.sticky-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(94, 174, 136, 0.5);
}

.sticky-cta svg {
    width: 24px;
    height: 24px;
}

.sticky-cta span {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
    }
}

@media (max-width: 375px) {
    .sticky-cta {
        width: 52px;
        height: 52px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .sticky-cta svg {
        width: 22px;
        height: 22px;
    }
}

/* ========================================
   Accessibility & Performance
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .leistung-card,
    .leistung-icon,
    .modal-overlay,
    .modal,
    .sticky-cta {
        transition: none;
        will-change: auto;
    }
    
    .leistung-card:hover {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .leistung-card {
        border: 2px solid var(--color-white);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (hover: none) {
    .leistung-card:active,
    .btn-primary:active,
    .btn-secondary:active,
    .sticky-cta:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* ========================================
   Small Screen Optimizations
   ======================================== */

/* Sehr kleine Handys */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Mittlere Handys */
@media (min-width: 376px) and (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* Große Handys */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Alle Mobiles - einheitliche Content-Abstände */
@media (max-width: 767px) {
    .praxis-content,
    .team-content,
    .kontakt-info-card,
    .kontakt-cta-card,
    .leitbild-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

@supports (-webkit-touch-callout: none) {
    body {
        overflow-x: hidden;
    }
    
    .hero-section {
        min-height: -webkit-fill-available;
    }
}