/* ===========================================
   PRAXIS PECKENSCHNEIDER – THEME CSS
   System Font Stacks · No External Dependencies
   =========================================== */

/* ----- CUSTOM PROPERTIES ----- */
:root {
    --clr-forest: #1a5c4c;
    --clr-forest-deep: #0f3d33;
    --clr-sage: #7fa88e;
    --clr-sage-light: #c5d9cb;
    --clr-cream: #f7f4ef;
    --clr-sand: #ede8df;
    --clr-warm-white: #fdfcfa;
    --clr-text: #2c2c2c;
    --clr-text-light: #5a5a5a;
    --clr-accent: #c17f4e;
    --clr-accent-soft: #dab08a;
    --clr-emergency: #b44040;

    /* System font stacks — zero external requests */
    --ff-display: 'Palatino Linotype', Palatino, 'Book Antiqua', 'Georgia', 'Times New Roman', serif;
    --ff-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    --fs-hero: clamp(2.8rem, 6vw, 5.5rem);
    --fs-h2: clamp(1.8rem, 3.5vw, 3rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
    --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
    --fs-small: 0.875rem;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 4px 30px rgba(26, 92, 76, 0.08);
    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--clr-text);
    background: var(--clr-warm-white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ----- UTILITIES ----- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-forest);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-size: var(--fs-small);
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}


/* ===========================================
   NAVIGATION
   =========================================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 92, 76, 0.08);
    transition: var(--transition);
}

.site-nav.scrolled {
    background: rgba(253, 252, 250, 0.95);
    box-shadow: var(--shadow-soft);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.nav__brand {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    color: var(--clr-forest);
    letter-spacing: -0.01em;
}

.nav__brand span {
    color: var(--clr-sage);
    font-style: italic;
}

/* WP Menu Integration */
.nav__menu {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav__menu li {
    position: relative;
}

.nav__menu a {
    font-size: var(--fs-small);
    font-weight: 400;
    color: var(--clr-text-light);
    position: relative;
    letter-spacing: 0.02em;
    transition: color var(--transition);
    padding: 0.3rem 0;
}

.nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--clr-forest);
    transition: width var(--transition);
}

.nav__menu a:hover {
    color: var(--clr-forest);
}

.nav__menu a:hover::after {
    width: 100%;
}

.nav__menu .current-menu-item a,
.nav__menu .current_page_item a {
    color: var(--clr-forest);
    font-weight: 500;
}

/* CTA Item */
.nav__menu li.menu-cta a,
.nav__menu li:last-child a {
    background: var(--clr-forest);
    color: var(--clr-warm-white) !important;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition);
}

.nav__menu li.menu-cta a::after,
.nav__menu li:last-child a::after {
    display: none !important;
}

.nav__menu li.menu-cta a:hover,
.nav__menu li:last-child a:hover {
    background: var(--clr-forest-deep);
    transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.nav__hamburger span {
    width: 24px;
    height: 2px;
    background: var(--clr-forest);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

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

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

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


/* ===========================================
   HERO
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--clr-cream);
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(127, 168, 142, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(193, 127, 78, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero__leaf {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    background: linear-gradient(135deg, var(--clr-sage-light), transparent);
    opacity: 0.2;
    top: -100px;
    right: -100px;
    animation: morphBlob 12s ease-in-out infinite;
    pointer-events: none;
}

.hero__leaf--2 {
    width: 300px;
    height: 300px;
    top: auto;
    right: auto;
    bottom: -80px;
    left: -80px;
    animation-delay: -6s;
    background: linear-gradient(135deg, rgba(193, 127, 78, 0.15), transparent);
}

@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
    50% { border-radius: 40% 60% 30% 70% / 60% 40% 50% 50%; }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px var(--space-md) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero__text {
    animation: fadeUp 0.8s ease-out both;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--clr-forest);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.hero__tag::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--clr-forest);
}

.hero h1 {
    font-family: var(--ff-display);
    font-size: var(--fs-hero);
    line-height: 1.05;
    color: var(--clr-forest-deep);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    font-weight: normal;
}

.hero h1 em {
    font-style: italic;
    color: var(--clr-sage);
}

.hero__subtitle {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--clr-text-light);
    max-width: 480px;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--ff-body);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn svg {
    flex-shrink: 0;
}

.btn--primary {
    background: var(--clr-forest);
    color: var(--clr-warm-white);
}

.btn--primary:hover {
    background: var(--clr-forest-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 92, 76, 0.25);
    color: var(--clr-warm-white);
}

.btn--outline {
    background: transparent;
    color: var(--clr-forest);
    border: 1.5px solid var(--clr-sage-light);
}

.btn--outline:hover {
    border-color: var(--clr-forest);
    background: rgba(26, 92, 76, 0.04);
}

/* Hero Image */
.hero__image-wrapper {
    position: relative;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero__image {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    background: var(--clr-forest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(26, 92, 76, 0.3);
}

.hero__image-accent strong {
    font-family: var(--ff-display);
    font-size: 1.8rem;
    line-height: 1;
}

.hero__image-accent span {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    text-align: center;
    margin-top: 4px;
}


/* ===========================================
   NOTICE / AKTUELLES
   =========================================== */
.notice {
    background: var(--clr-warm-white);
    padding: var(--space-xl) 0;
}

.notice__card {
    background: linear-gradient(135deg, var(--clr-forest), var(--clr-forest-deep));
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.notice__card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.notice__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.notice__badge {
    background: var(--clr-accent);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.notice__card h2 {
    font-family: var(--ff-display);
    font-size: var(--fs-h3);
    margin-bottom: var(--space-sm);
    font-weight: normal;
}

.notice__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.notice__item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    padding: var(--space-sm) 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notice__item p {
    font-size: var(--fs-small);
    opacity: 0.9;
    line-height: 1.6;
}

.notice__item strong {
    font-weight: 500;
}

.notice__general {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: var(--space-sm);
}

.notice__general p {
    font-size: var(--fs-small);
    opacity: 0.85;
    line-height: 1.7;
}

.notice__email {
    color: var(--clr-accent-soft) !important;
    font-weight: 500;
}


/* ===========================================
   SECTIONS — SHARED
   =========================================== */
.section {
    padding: var(--space-xl) 0;
}

.section--cream {
    background: var(--clr-cream);
}

.section--sand {
    background: var(--clr-sand);
}

.section__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-forest);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.section__tag::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--clr-accent);
}

.section__title {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    color: var(--clr-forest-deep);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
    font-weight: normal;
}

.section__subtitle {
    color: var(--clr-text-light);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}


/* ===========================================
   ABOUT / WILLKOMMEN
   =========================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__image-frame {
    background: var(--clr-sage-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    position: relative;
}

.about__image-frame::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1.5px solid var(--clr-sage-light);
    border-radius: calc(var(--radius-lg) + 8px);
    z-index: -1;
}

.about__quote {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: var(--clr-forest);
    text-align: center;
    padding: var(--space-md);
    line-height: 1.5;
    font-weight: normal;
}

.about__content p {
    color: var(--clr-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.85;
}

.about__signature {
    margin-top: var(--space-md);
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--clr-forest);
}


/* ===========================================
   SERVICES / LEISTUNGEN
   =========================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--clr-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md) 1.5rem;
    border: 1px solid rgba(26, 92, 76, 0.06);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-forest), var(--clr-sage));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--clr-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.service-card h3 {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    color: var(--clr-forest-deep);
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.service-card p {
    font-size: var(--fs-small);
    color: var(--clr-text-light);
    line-height: 1.7;
}


/* ===========================================
   PRACTICE / INFO CARDS
   =========================================== */
.info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.info-card {
    background: var(--clr-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md) 1.5rem;
    box-shadow: var(--shadow-card);
}

.info-card h3 {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    color: var(--clr-forest-deep);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--clr-sage-light);
    font-weight: normal;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: var(--fs-small);
}

.hours-row:last-of-type {
    border: none;
}

.hours-day {
    font-weight: 500;
    color: var(--clr-text);
}

.hours-time {
    color: var(--clr-text-light);
}

.hours-note {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: var(--fs-small);
}

.contact-line__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--clr-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.contact-line a {
    color: var(--clr-forest);
    font-weight: 500;
}

.contact-line a:hover {
    text-decoration: underline;
}

.directions-text {
    font-size: var(--fs-small);
    color: var(--clr-text-light);
    line-height: 1.7;
}

.transport-badges {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.transport-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--clr-cream);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--clr-forest);
}


/* ===========================================
   EMERGENCY
   =========================================== */
.emergency {
    background: var(--clr-warm-white);
    padding: var(--space-lg) 0;
}

.emergency__card {
    background: linear-gradient(135deg, #fdf2f2, #fef9f6);
    border: 1px solid rgba(180, 64, 64, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.emergency__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--clr-emergency);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.5rem;
}

.emergency__text h3 {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    color: var(--clr-emergency);
    margin-bottom: 0.3rem;
    font-weight: normal;
}

.emergency__text p {
    font-size: var(--fs-small);
    color: var(--clr-text-light);
}

.emergency__text a {
    font-weight: 600;
    color: var(--clr-emergency);
}

.emergency__text a:hover {
    text-decoration: underline;
}


/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
    background: var(--clr-forest-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-md);
}

.footer__brand {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.footer__desc {
    font-size: var(--fs-small);
    line-height: 1.7;
    max-width: 360px;
}

.footer__heading {
    font-weight: 600;
    color: #fff;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

/* Footer Menu from WP */
.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin: 0;
}

.footer-nav-links a,
.footer__link {
    display: block;
    font-size: var(--fs-small);
    padding: 0.3rem 0;
    transition: color var(--transition);
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-links a:hover,
.footer__link:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer__legal {
    display: flex;
    gap: var(--space-md);
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer__legal a:hover {
    color: #fff;
}


/* ===========================================
   GDPR COOKIE BANNER
   =========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--clr-forest-deep);
    color: #fff;
    padding: var(--space-md);
    transform: translateY(100%);
    transition: transform 0.5s ease;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
}

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

.cookie__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cookie__text {
    flex: 1;
    min-width: 300px;
}

.cookie__text h4 {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: normal;
}

.cookie__text p {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.6;
}

.cookie__text a {
    color: var(--clr-accent-soft);
    text-decoration: underline;
}

.cookie__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--ff-body);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.cookie-btn--accept {
    background: var(--clr-sage);
    color: #fff;
}

.cookie-btn--accept:hover {
    background: var(--clr-forest);
}

.cookie-btn--essential {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn--essential:hover {
    border-color: #fff;
}


/* ===========================================
   LEGAL PAGES (Datenschutz, Impressum)
   =========================================== */
.page-legal {
    padding-top: 120px;
    padding-bottom: var(--space-xl);
    min-height: 70vh;
}

.page-legal .container {
    max-width: 800px;
}

.page-legal__header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--clr-sage-light);
}

.page-legal__header h1 {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    color: var(--clr-forest-deep);
    margin-bottom: var(--space-xs);
    font-weight: normal;
}

.page-legal__header p {
    color: var(--clr-text-light);
    font-size: var(--fs-small);
}

.page-legal__content h2 {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    color: var(--clr-forest-deep);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-weight: normal;
}

.page-legal__content h3 {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    color: var(--clr-forest);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    font-weight: normal;
}

.page-legal__content p {
    color: var(--clr-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.85;
}

.page-legal__content ul {
    margin-bottom: var(--space-sm);
    padding-left: 1.5rem;
}

.page-legal__content ul li {
    list-style: disc;
    color: var(--clr-text-light);
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.page-legal__content a {
    color: var(--clr-forest);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-legal__content a:hover {
    color: var(--clr-forest-deep);
}

.page-legal__content address {
    font-style: normal;
    background: var(--clr-cream);
    padding: var(--space-md);
    border-radius: var(--radius);
    margin: var(--space-sm) 0;
    line-height: 1.8;
    color: var(--clr-text);
}


/* ===========================================
   404 PAGE
   =========================================== */
.page-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px var(--space-md);
}

.page-404 h1 {
    font-family: var(--ff-display);
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--clr-sage-light);
    line-height: 1;
    font-weight: normal;
}

.page-404 h2 {
    font-family: var(--ff-display);
    font-size: var(--fs-h3);
    color: var(--clr-forest-deep);
    margin-bottom: var(--space-sm);
    font-weight: normal;
}

.page-404 p {
    color: var(--clr-text-light);
    margin-bottom: var(--space-md);
}


/* ===========================================
   WP DEFAULTS
   =========================================== */
.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    border-radius: var(--radius);
}

.wp-caption-text {
    font-size: var(--fs-small);
    color: var(--clr-text-light);
    margin-top: var(--space-xs);
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: var(--space-md);
    margin-bottom: var(--space-sm);
}

.alignright {
    float: right;
    margin-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

.aligncenter {
    display: block;
    margin: var(--space-md) auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}


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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero__image-wrapper {
        max-width: 560px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about__visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .info__grid {
        grid-template-columns: 1fr 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--clr-warm-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-md);
        z-index: 999;
    }

    .nav__menu.open {
        display: flex;
    }

    .nav__menu a {
        font-size: 1.15rem;
    }

    .nav__hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 80px;
    }

    .hero__content {
        padding-top: 60px;
        padding-bottom: var(--space-lg);
    }

    .hero__image-accent {
        width: 90px;
        height: 90px;
        bottom: -12px;
        left: -12px;
    }

    .hero__image-accent strong {
        font-size: 1.3rem;
    }

    .hero__image-accent span {
        font-size: 0.6rem;
    }

    .notice__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .info__grid {
        grid-template-columns: 1fr;
    }

    .emergency__card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }

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

    .cookie__inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie__actions {
        justify-content: center;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
