/* ==========================================================================
   TAGESPFLEGE GROßKÖLLNBACH – Design System
   Brand-aligned with Pflegedienst Kammerer
   ========================================================================== */

/* ---------- @font-face Declarations ---------- */
@font-face {
    font-family: 'ALittleSunshine';
    src: url('fonts/Alittlesunshine.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clemente';
    src: url('fonts/ClementePDac-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors */
    --sage: #6B9E8A;
    --sage-light: #8EBF9E;
    --sage-lighter: #B8D8C8;
    --sage-lightest: #E8F3ED;
    --sage-dark: #4A7A63;

    --teal: #5A9AA0;
    --teal-light: #E6F3F4;

    --warm-white: #FAFBF9;
    --cream: #F7F5F0;
    --cream-light: #FCFBF8;

    /* Neutral Palette */
    --gray-900: #2C3330;
    --gray-800: #3D4543;
    --gray-700: #4F5856;
    --gray-600: #6B7572;
    --gray-500: #8A9290;
    --gray-400: #A8B0AE;
    --gray-300: #C5CBC9;
    --gray-200: #E2E6E4;
    --gray-100: #F1F3F2;
    --gray-50: #F8F9F8;

    --white: #FFFFFF;

    /* Functional */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --border-color: var(--gray-200);
    --border-light: var(--gray-100);

    /* Typography */
    --font-heading: 'ALittleSunshine', 'Georgia', serif;
    --font-body: 'Clemente', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    --container-padding: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(44, 51, 48, 0.06);
    --shadow-md: 0 4px 12px rgba(44, 51, 48, 0.08);
    --shadow-lg: 0 8px 30px rgba(44, 51, 48, 0.1);
    --shadow-xl: 0 16px 50px rgba(44, 51, 48, 0.12);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--sage);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--sage-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.01em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.01em;
}

h3 {
    font-size: 1.65rem;
    font-weight: 400;
}

p {
    color: var(--text-secondary);
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---------- Section ---------- */
.section {
    padding: var(--section-padding) 0;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sage);
    margin-bottom: 12px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    max-width: 800px;
}

.section-header-center {
    text-align: center;
}

.section-header-center h2 {
    margin: 0 auto;
}

.section-desc {
    max-width: 600px;
    margin: 16px auto 0;
    font-size: 21px;
    color: var(--text-secondary);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 19px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}

.btn-primary:hover {
    background-color: var(--sage-dark);
    border-color: var(--sage-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--sage);
    border-color: var(--sage);
}

.btn-outline:hover {
    background-color: var(--sage);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 21px;
}

.btn-full {
    width: 100%;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon-wrap {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--gray-800);
    letter-spacing: 0.01em;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sage);
    letter-spacing: 0.02em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sage-dark);
    background: var(--sage-lightest);
}

/* Header CTA */
.header-cta {
    font-size: 17px;
    padding: 10px 24px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

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

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-700);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mobile-nav-link:hover {
    background: var(--sage-lightest);
    color: var(--sage-dark);
}

.mobile-cta {
    margin-top: 16px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.75) 40%,
            rgba(255, 255, 255, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 100px;
}

.hero-text {
    max-width: 640px;
}

.hero-text h1 {
    margin-bottom: 20px;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 24px;
    line-height: 1.65;
    color: var(--gray-600);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Badges */
.hero-badges {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(107, 158, 138, 0.15);
}

.badges-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 24px 0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 600;
    color: var(--gray-700);
}

.badge-icon {
    width: 20px;
    height: 20px;
    color: var(--sage);
    flex-shrink: 0;
}

/* =============================================
   INTRO
   ============================================= */
.intro {
    background: var(--white);
}

.intro-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    margin-bottom: 24px;
}

.intro-text {
    font-size: 22px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits {
    background: var(--sage-lightest);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.benefit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-lighter);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-lightest);
    border-radius: var(--radius-md);
    color: var(--sage);
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    color: var(--gray-800);
}

.benefit-card p {
    font-size: 19px;
    line-height: 1.7;
}

/* =============================================
   HIGHLIGHT
   ============================================= */
.highlight {
    background: var(--white);
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.highlight-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.gallery-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.gallery-img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.highlight-content h2 {
    margin-bottom: 20px;
}

.highlight-content p {
    font-size: 21px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.highlight-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-700);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--sage);
    flex-shrink: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
    background: var(--cream-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
}

.service-card:hover {
    border-color: var(--sage-lighter);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-lightest);
    border-radius: var(--radius-md);
    color: var(--sage);
    margin-bottom: 16px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--gray-800);
}

.service-card p {
    font-size: 19px;
    line-height: 1.7;
}

/* =============================================
   IMAGE DIVIDER
   ============================================= */
.image-divider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.image-divider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-divider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(107, 158, 138, 0.75),
            rgba(90, 154, 160, 0.65));
}

.image-divider-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-divider blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--white);
    text-align: center;
    max-width: 700px;
    line-height: 1.5;
    font-style: italic;
}

/* =============================================
   LOCATION
   ============================================= */
.location {
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.location-content h2 {
    margin-bottom: 28px;
}

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--sage-lightest);
    border-radius: var(--radius-md);
    margin-bottom: 28px;
}

.location-pin {
    width: 24px;
    height: 24px;
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-note-icon {
    width: 20px;
    height: 20px;
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-address div {
    font-size: 20px;
    color: var(--gray-700);
    line-height: 1.6;
}

.location-address strong {
    color: var(--gray-800);
}

.location-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 500;
    color: var(--gray-700);
}

.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 420px;
    background: var(--gray-100);
    position: relative;
}

.location-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--gray-500);
    text-align: center;
    padding: 24px;
}

.map-fallback svg {
    color: var(--sage-light);
}

.map-fallback p {
    font-weight: 600;
    color: var(--gray-700);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
    background: var(--sage-lightest);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info>p {
    font-size: 21px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail .contact-icon {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail a {
    color: var(--gray-700);
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--sage);
}

.contact-detail strong {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--sage-lighter);
}

.contact-note .contact-note-icon {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-note p {
    font-size: 19px;
    font-style: italic;
    color: var(--gray-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 20px;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-800);
    transition: all var(--transition-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7572' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(107, 158, 138, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
}

.form-privacy a {
    color: var(--sage);
    text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo .logo-icon-wrap {
    color: var(--sage-light);
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: var(--sage-light);
}

.footer-tagline {
    font-size: 18px;
    color: var(--gray-500);
    margin-top: 12px;
}

.footer-contact h4,
.footer-address h4,
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-contact p,
.footer-address p {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a,
.footer-address a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 16px;
    color: var(--gray-500);
}

.footer-credit a {
    color: var(--sage-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.1s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(4) {
    animation-delay: 0.3s;
}

.fade-in-up:nth-child(5) {
    animation-delay: 0.4s;
}

.fade-in-up:nth-child(6) {
    animation-delay: 0.5s;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .benefits-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .highlight-image {
        order: -1;
    }

    .badges-grid {
        gap: 32px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 64px;
        --container-padding: 20px;
    }

    body {
        font-size: 21px;
    }

    .header-inner {
        height: 68px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-main {
        font-size: 1.25rem;
    }

    .logo-sub {
        font-size: 0.85rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 25px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .badges-grid {
        flex-direction: column;
        gap: 16px;
        padding: 20px 0;
    }

    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .image-divider {
        height: 300px;
    }

    .image-divider blockquote {
        font-size: 1.15rem;
        padding: 0 16px;
    }

    .location-map {
        height: 300px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 20px;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--sage);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {

    .benefit-card,
    .service-card {
        border: 2px solid var(--gray-700);
    }

    .nav-link {
        color: var(--gray-800);
    }
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-banner-inner p {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
}

/* =============================================
   MAP CONSENT OVERLAY
   ============================================= */
.map-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 40px 24px;
    background: var(--sage-lightest);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--sage-lighter);
    min-height: 340px;
}

.map-consent p {
    color: var(--gray-700);
    font-size: 19px;
}

.map-consent-text {
    font-size: 17px !important;
    color: var(--text-muted) !important;
    max-width: 320px;
    line-height: 1.6;
}

.map-consent .btn {
    margin-top: 8px;
}

.map-iframe-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.map-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    border-radius: var(--radius-lg);
}

/* =============================================
   LEGAL PAGES (IMPRESSUM / DATENSCHUTZ)
   ============================================= */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 60vh;
}

.legal-page h1 {
    margin-bottom: 40px;
}

.legal-content h2 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 2rem;
}

.legal-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 0 0 16px 24px;
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--sage);
    text-decoration: underline;
}

/* ============ ÖFFNUNGSZEITEN ============ */
.hours-grid {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1.5rem;
}

.hours-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 3.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-width: 280px;
}

.hours-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.hours-icon svg {
    width: 36px;
    height: 36px;
    color: var(--sage);
}

.hours-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hours-time {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sage);
    margin: 0;
}

.hours-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 540px;
    margin: 0 auto;
}

/* ============ FOOTER SERVICE ============ */
.footer-service {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-service a {
    color: var(--sage-light);
    text-decoration: none;
    transition: color 0.2s;
}

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