/* =====================================================================
   KAUFMANN PRAXIS — Kieselstein Design System
   Fonts: Cardo (serif) + Outfit (sans-serif)
   Organic pebble shapes, creek water palette, warm earth tones
   ===================================================================== */

/* ===================== VARIABLES ===================== */
:root {
    --river-stone: #6B635A;       /* darkened for WCAG AA contrast (was #7A7068) */
    --river-stone-soft: #7A7068;  /* original, use only for large text or decorative */
    --warm-pebble: #C4B5A2;
    --creek-water: #8BAAB0;       /* decorative accent only — fails contrast on white text */
    --creek-deep: #6E949B;
    --creek-button: #3F6770;      /* WCAG-compliant button color: 5.5:1 on white */
    --creek-button-hover: #2F555D;/* darker for hover */
    --sand-shore: #E8DDD0;
    --deep-stone: #4A4038;
    --cream: #FAF6F1;
    --white: #FFFFFF;
    --creek-light: #d0e4e7;
    --pebble-light: #e6dcd0;
    --moss: #A8B5A0;
    --driftwood: #B8A898;
    --shadow-soft: rgba(74, 64, 56, 0.08);
    --shadow-medium: rgba(74, 64, 56, 0.14);
    --shadow-strong: rgba(74, 64, 56, 0.22);
    --font-serif: 'Cardo', Georgia, serif;
    --font-sans: 'Outfit', system-ui, sans-serif;
    --radius-pebble: 42% 58% 55% 45% / 50% 45% 55% 50%;
    --radius-pebble-2: 55% 45% 48% 52% / 45% 55% 50% 50%;
    --radius-pebble-3: 48% 52% 42% 58% / 55% 48% 52% 45%;
    --radius-soft: 24px;
    --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 100px; }
body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--deep-stone);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; }

/* ===================== GLOBAL TYPOGRAPHY SPACING ===================== */
.content-section p { margin-bottom: 1rem; }
.content-section p:last-child { margin-bottom: 0; }
.content-section h2 { margin-bottom: 1.2rem; text-align: center; }
.content-section h3 { margin-bottom: 0.6rem; }
.content-section > .container > p,
.content-section .narrow-container > p,
.content-section .narrow-container > .info-box { text-align: center; }
.info-box { text-align: center; }
.info-box h4 { text-align: center; }
.detail-card h3 { text-align: center; }
.detail-card p { text-align: center; }
.accordion-body-inner > p { text-align: center; }
.accordion-body-inner > ul { display: inline-block; text-align: left; }
.cta-content { text-align: center; }
.two-col p, .two-col h2 { text-align: left; }
.two-col h2 { margin-bottom: 1.2rem; }

/* ===================== UTILITY ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.narrow-container { max-width: 800px; margin: 0 auto; }
.button-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; justify-content: center; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.text-gradient {
    background: linear-gradient(135deg, var(--creek-water), var(--creek-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================== SCROLL PROGRESS ===================== */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 3px; z-index: 1001;
    background: linear-gradient(90deg, var(--creek-water), var(--warm-pebble), var(--creek-water));
    background-size: 200% 100%;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
    animation: shimmer-progress 3s ease infinite;
}
@keyframes shimmer-progress {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ===================== HEADER ===================== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.1rem 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.header.scrolled {
    background: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 2px 30px var(--shadow-soft);
    padding: 0.6rem 0;
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.logo {
    font-family: var(--font-serif);
    font-size: 1.35rem; font-weight: 700;
    color: var(--deep-stone);
    letter-spacing: -0.01em;
    transition: opacity 0.3s ease;
}
.logo:hover { opacity: 0.8; }
.logo span { color: var(--creek-water); }

/* Navigation */
.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav-link {
    font-size: 0.9rem; font-weight: 500;
    color: var(--deep-stone);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: color 0.3s ease, background 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--creek-water);
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}
.nav-link:hover { color: var(--creek-water); }
.nav-link:hover::after { width: calc(100% - 2rem); left: 1rem; }
.nav-link.active { color: var(--creek-water); }
.nav-link.active::after { width: calc(100% - 2rem); left: 1rem; }

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-trigger {
    display: flex; align-items: center; gap: 0.3rem;
    cursor: pointer;
}
.nav-dropdown-trigger svg {
    width: 14px; height: 14px;
    transition: transform 0.3s ease;
    fill: currentColor;
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-soft);
    box-shadow: 0 12px 40px var(--shadow-medium), 0 0 0 1px rgba(196, 181, 162, 0.12);
    padding: 0.6rem;
    padding-top: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.88rem; font-weight: 500;
    color: var(--deep-stone);
    transition: all 0.25s ease;
}
.nav-dropdown-menu a:hover {
    background: var(--cream);
    color: var(--creek-water);
    transform: translateX(4px);
}
.nav-dropdown-menu a .dropdown-icon {
    width: 36px; height: 36px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.nav-dropdown-menu a:nth-child(1) .dropdown-icon { background: rgba(139, 170, 176, 0.15); }
.nav-dropdown-menu a:nth-child(2) .dropdown-icon { background: rgba(196, 181, 162, 0.2); }
.nav-dropdown-menu a:nth-child(3) .dropdown-icon { background: rgba(168, 181, 160, 0.2); }
.dropdown-text { display: flex; flex-direction: column; }
.dropdown-text small { font-size: 0.75rem; color: var(--river-stone); font-weight: 400; }

/* CTA Button */
.btn-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: var(--creek-button);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.88rem; font-weight: 600;
    border: none; cursor: pointer;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    margin-left: 0.5rem;
    position: relative;
    overflow: hidden;
}
.btn-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-cta:hover::before { transform: translateX(100%); }
.btn-cta:hover {
    background: var(--deep-stone);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 170, 176, 0.35);
}

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
    z-index: 1001;
}
.hamburger span {
    width: 26px; height: 2px;
    background: var(--deep-stone);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(24px);
    z-index: 999;
    flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
    font-family: var(--font-sans);
    font-size: 1.15rem; font-weight: 500; color: var(--deep-stone);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    opacity: 0; transform: translateY(20px);
}
.mobile-nav.open a {
    opacity: 1; transform: translateY(0);
}
.mobile-nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav a:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav a:nth-child(7) { transition-delay: 0.35s; }
.mobile-nav a:nth-child(8) { transition-delay: 0.4s; }
.mobile-nav a:nth-child(9) { transition-delay: 0.45s; }
.mobile-nav a:hover { color: var(--creek-water); background: rgba(139, 170, 176, 0.08); }
.mobile-nav .mobile-sub { font-size: 0.95rem; color: var(--river-stone); padding-left: 3rem; }
.mobile-nav .btn-cta { margin-top: 1rem; font-family: var(--font-sans); font-size: 1rem; padding: 0.8rem 2.5rem; }

/* ===================== BUTTONS (Global) ===================== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: var(--creek-button);  /* WCAG AA: 5.5:1 on white */
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem; font-weight: 600;
    border: none; cursor: pointer;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover {
    background: var(--creek-button-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(63, 103, 112, 0.35);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--deep-stone);
    font-family: var(--font-sans);
    font-size: 0.95rem; font-weight: 600;
    border: 2px solid var(--warm-pebble);
    cursor: pointer;
    border-radius: 50px;
    transition: all var(--transition-smooth);
}
.btn-secondary:hover {
    border-color: var(--creek-water);
    color: var(--creek-water);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 170, 176, 0.15);
}

.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    background: #25D366;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem; font-weight: 600;
    border: none; cursor: pointer;
    border-radius: 50px;
    transition: all var(--transition-smooth);
}
.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* ===================== SECTION HEADERS ===================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--creek-deep);
    margin-bottom: 0.8rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--deep-stone);
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--river-stone);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(170deg, var(--cream) 0%, var(--sand-shore) 50%, var(--creek-light) 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 600px 600px at 10% 20%, rgba(139, 170, 176, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 85% 80%, rgba(196, 181, 162, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 120px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
    pointer-events: none;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
@media (max-width: 900px) {
    .hero::after { height: 60px; }
}
@media (max-width: 640px) {
    .hero::after { height: 45px; }
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative; z-index: 2;
}
.hero-content { position: relative; z-index: 2; }

/* Floating pebbles in hero */
.hero-pebble {
    position: absolute;
    border-radius: var(--radius-pebble);
    opacity: 0.06;
    pointer-events: none;
    animation: float-pebble 12s ease-in-out infinite;
}
.hero-pebble:nth-child(1) {
    width: 120px; height: 100px;
    background: var(--creek-water);
    top: 15%; left: 5%;
    animation-delay: 0s;
}
.hero-pebble:nth-child(2) {
    width: 80px; height: 70px;
    background: var(--warm-pebble);
    top: 60%; right: 8%;
    animation-delay: -4s;
    border-radius: var(--radius-pebble-2);
}
.hero-pebble:nth-child(3) {
    width: 60px; height: 50px;
    background: var(--deep-stone);
    bottom: 20%; left: 15%;
    animation-delay: -8s;
    border-radius: var(--radius-pebble-3);
}
@keyframes float-pebble {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(139, 170, 176, 0.12);
    border: 1px solid rgba(139, 170, 176, 0.25);
    border-radius: 50px;
    font-size: 0.82rem; font-weight: 500;
    color: var(--deep-stone);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--creek-water);
    animation: pulse-dot 2s ease infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.5); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--deep-stone);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}
.hero h1 em {
    font-style: normal;
    color: var(--creek-water);
    position: relative;
}
.hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 2px; left: -4px; right: -4px;
    height: 8px;
    background: rgba(139, 170, 176, 0.2);
    border-radius: 4px;
    z-index: -1;
}
.hero-text {
    font-size: 1.08rem;
    color: var(--river-stone);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.trust-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.trust-badge {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; font-weight: 500;
    color: var(--river-stone);
    padding: 0.4rem 0.9rem;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.trust-badge:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}
.trust-badge svg { width: 14px; height: 14px; fill: var(--creek-water); flex-shrink: 0; }

/* Hero portrait */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.portrait-wrapper {
    position: relative;
    width: 380px; height: 460px;
    flex-shrink: 0;
}
.portrait-shape {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, var(--warm-pebble), var(--sand-shore));
    border-radius: var(--radius-pebble);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 5rem; color: rgba(255,255,255,0.5);
    box-shadow: 0 20px 60px rgba(74, 64, 56, 0.15);
    transition: border-radius 3s ease;
    animation: pebble-morph 8s ease-in-out infinite;
    overflow: hidden;
}
.portrait-shape img {
    width: 100%; height: 100%;
    object-fit: cover;
}
@keyframes pebble-morph {
    0% { border-radius: var(--radius-pebble); }
    33% { border-radius: var(--radius-pebble-2); }
    66% { border-radius: var(--radius-pebble-3); }
    100% { border-radius: var(--radius-pebble); }
}
@keyframes pebble-morph-soft {
    0% { border-radius: 30% 40% 35% 38% / 38% 35% 40% 32%; }
    33% { border-radius: 35% 38% 40% 30% / 32% 40% 35% 38%; }
    66% { border-radius: 38% 32% 30% 40% / 35% 38% 32% 40%; }
    100% { border-radius: 30% 40% 35% 38% / 38% 35% 40% 32%; }
}
.portrait-accent {
    position: absolute;
    border-radius: var(--radius-pebble-2);
    animation: pebble-morph 8s ease-in-out infinite reverse;
}
.portrait-accent-1 {
    top: -20px; right: -20px;
    background: rgba(139, 170, 176, 0.25);
    width: 80px; height: 80px;
}
.portrait-accent-2 {
    bottom: -15px; left: -25px;
    background: rgba(196, 181, 162, 0.3);
    width: 60px; height: 60px;
}
.portrait-accent-3 {
    top: 50%; right: -40px;
    background: rgba(139, 170, 176, 0.15);
    width: 40px; height: 40px;
}

/* ===================== PAGE HERO (Subpages) ===================== */
.page-hero {
    position: relative;
    padding: 9rem 0 7rem;
    background: linear-gradient(170deg, var(--cream) 0%, var(--sand-shore) 60%, var(--creek-light) 100%);
    overflow: hidden;
    text-align: center;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
    pointer-events: none;
    z-index: 0;
}
.page-hero > * {
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .page-hero::after { height: 50px; }
}
@media (max-width: 640px) {
    .page-hero::after { height: 40px; }
}
.page-hero .section-label { margin-bottom: 0.6rem; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--deep-stone);
    margin-bottom: 1rem;
}
.page-hero p {
    font-size: 1.08rem;
    color: var(--river-stone);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    color: var(--river-stone);
}
.breadcrumb a {
    color: var(--creek-water);
    transition: color 0.3s ease;
}
.breadcrumb a:hover { color: var(--deep-stone); }
.breadcrumb span { opacity: 0.5; }

/* ===================== QUOTE ===================== */
.quote-section {
    padding: 6rem 0;
    position: relative;
}
.quote-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.quote-inner::before {
    content: '\201C';
    font-family: var(--font-serif);
    font-size: 8rem;
    color: var(--creek-light);
    position: absolute;
    top: -3.5rem; left: -1rem;
    line-height: 1;
    pointer-events: none;
}
.quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-style: italic;
    color: var(--deep-stone);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.quote-author {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--river-stone);
}
.quote-divider {
    width: 50px; height: 3px;
    background: var(--creek-water);
    border-radius: 3px;
    margin: 0 auto 1rem;
}

/* ===================== LEITBILD / VALUES ===================== */
.leitbild {
    padding: 5rem 0 6rem;
    background: var(--white);
    position: relative;
}
.leitbild::before {
    content: '';
    position: absolute; top: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 0%);
}
.leitbild-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.leitbild-card {
    background: var(--cream);
    padding: 2.8rem 2.5rem;
    border-radius: 30% 40% 35% 38% / 38% 35% 40% 32%;
    text-align: center;
    transition: all var(--transition-smooth);
    animation: pebble-morph-soft 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    cursor: default;
}
.leitbild-card:nth-child(2) { animation-delay: -2s; }
.leitbild-card:nth-child(3) { animation-delay: -4s; }
.leitbild-card:nth-child(4) { animation-delay: -6s; }
.leitbild-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px var(--shadow-medium);
}
.leitbild-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--creek-water);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.leitbild-card:hover::after { opacity: 1; }
.leitbild-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform var(--transition-bounce);
}
.leitbild-card:hover .leitbild-icon { transform: scale(1.15); }
.leitbild-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--deep-stone);
}
.leitbild-card p {
    font-size: 0.88rem;
    color: var(--river-stone);
    line-height: 1.65;
}

/* ===================== SERVICES OVERVIEW ===================== */
.services {
    padding: 6rem 0;
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    position: relative;
    background: var(--white);
    padding: 2.8rem 2.5rem;
    transition: all var(--transition-smooth);
    overflow: hidden;
    border: 1px solid rgba(196, 181, 162, 0.25);
    cursor: pointer;
}
.service-card:nth-child(1) { border-radius: 32% 38% 30% 36% / 34% 30% 36% 32%; }
.service-card:nth-child(2) { border-radius: 36% 30% 34% 32% / 30% 36% 32% 38%; }
.service-card:nth-child(3) { border-radius: 30% 34% 38% 32% / 36% 32% 30% 36%; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-medium);
    border-color: var(--creek-water);
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(139, 170, 176, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 1; }
.service-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--creek-light);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.3rem;
    color: var(--deep-stone);
    margin-bottom: 0.8rem;
}
.service-card p {
    font-size: 0.92rem;
    color: var(--river-stone);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.service-price {
    display: inline-flex;
    padding: 0.4rem 1rem;
    background: var(--creek-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-stone);
}
.service-note {
    display: block;
    font-size: 0.78rem;
    color: var(--river-stone);
    margin-top: 0.5rem;
}
.service-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.88rem; font-weight: 600;
    color: var(--creek-water);
    margin-top: 1rem;
    transition: gap 0.3s ease;
}
.service-link:hover { gap: 0.8rem; }
.service-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }

/* ===================== CONTENT SECTIONS ===================== */
.content-section {
    padding: 5rem 0;
}
.content-section:nth-child(even) {
    background: var(--white);
}
.content-section.bg-white { background: var(--white); }
.content-section.bg-cream { background: var(--cream); }
.content-section.bg-sand { background: var(--sand-shore); }

/* Two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* Detail cards */
.detail-card {
    background: var(--white);
    border-radius: var(--radius-soft);
    padding: 2rem;
    border: 1px solid rgba(196, 181, 162, 0.15);
    transition: all var(--transition-smooth);
}
.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px var(--shadow-soft);
    border-color: var(--creek-water);
}
.detail-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--deep-stone);
}
.detail-card p {
    font-size: 0.92rem;
    color: var(--river-stone);
    line-height: 1.7;
}

/* Feature list */
.feature-list {
    display: flex; flex-direction: column; gap: 1rem;
}
.feature-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--cream);
    border-radius: 20px;
    transition: all var(--transition-smooth);
}
.feature-item:hover {
    background: var(--white);
    transform: translateX(6px);
    box-shadow: 0 8px 24px var(--shadow-soft);
}
.feature-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: rgba(139, 170, 176, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform var(--transition-bounce);
}
.feature-item:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-text h4 {
    font-family: var(--font-sans);
    font-size: 1rem; font-weight: 600;
    color: var(--deep-stone);
    margin-bottom: 0.25rem;
}
.feature-text p {
    font-size: 0.88rem;
    color: var(--river-stone);
    line-height: 1.6;
}

/* Info box */
.info-box {
    background: linear-gradient(135deg, var(--creek-light), rgba(139, 170, 176, 0.15));
    border-radius: var(--radius-soft);
    padding: 2rem;
    border-left: 4px solid var(--creek-water);
}
/* Consecutive info-boxes need visual separation */
.info-box + .info-box { margin-top: 1.25rem; }
.info-box + .button-group { margin-top: 2rem; }
/* Info-box needs proper spacing from preceding elements */
.feature-list + .info-box { margin-top: 2.5rem; }
.narrow-container .feature-list + .info-box { margin-top: 2.5rem; }
.info-box h4 {
    font-family: var(--font-sans);
    font-size: 1rem; font-weight: 600;
    color: var(--deep-stone);
    margin-bottom: 0.5rem;
}
.info-box p {
    font-size: 0.92rem;
    color: var(--deep-stone);
    line-height: 1.7;
}
.info-box p + p { margin-top: 0.8rem; }

/* ===================== PRICING TABLE ===================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-soft);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(196, 181, 162, 0.2);
    transition: all var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* All pricing cards get a colored top border stripe */
.pricing-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--warm-pebble), var(--sand-shore));
}
.pricing-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--moss), var(--driftwood));
}
.pricing-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--driftwood), var(--warm-pebble));
}
.pricing-card.featured {
    border-color: var(--creek-water);
    box-shadow: 0 12px 40px rgba(139, 170, 176, 0.15);
}
.pricing-card.featured::before {
    height: 5px;
    background: linear-gradient(90deg, var(--creek-water), var(--creek-button));
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-medium);
}
.pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--deep-stone);
}
.pricing-card .price {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--creek-water);
    margin: 1rem 0;
}
.pricing-card .price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--river-stone);
}
.pricing-card .price-note {
    font-size: 0.82rem;
    color: var(--river-stone);
    margin-bottom: 1.5rem;
}
.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}
.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--deep-stone);
    display: flex; align-items: center; gap: 0.6rem;
    border-bottom: 1px solid rgba(196, 181, 162, 0.1);
}
.pricing-features li:last-child { border: none; }
.pricing-features li::before {
    content: '';
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(139, 170, 176, 0.15);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%238BAAB0' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===================== CTA SECTION ===================== */
.cta-section {
    padding: 5rem 0;
}
.cta-card {
    background: var(--deep-stone);
    border-radius: 40px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 500px; height: 500px;
    border-radius: var(--radius-pebble);
    background: rgba(139, 170, 176, 0.1);
    animation: pebble-morph 12s ease-in-out infinite;
}
.cta-card::after {
    content: '';
    position: absolute; bottom: -30%; left: -10%;
    width: 300px; height: 300px;
    border-radius: var(--radius-pebble-2);
    background: rgba(196, 181, 162, 0.08);
    animation: pebble-morph 10s ease-in-out infinite reverse;
}
.cta-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cta-section .btn-secondary {
    color: var(--cream);
    border-color: rgba(250, 246, 241, 0.5);
}
.cta-section .btn-secondary:hover {
    border-color: var(--cream);
    color: var(--white);
}
.cta-info { display: flex; flex-direction: column; gap: 1.2rem; }
.cta-info-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: default;
}
.cta-info-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(6px);
}
.cta-info-icon {
    width: 44px; height: 44px;
    background: rgba(139, 170, 176, 0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-bounce);
}
.cta-info-item:hover .cta-info-icon { transform: scale(1.1); }
.cta-info-icon svg { width: 20px; height: 20px; fill: var(--creek-light); }
.cta-info-text { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; line-height: 1.5; }
.cta-info-text strong {
    color: var(--white); display: block;
    font-size: 0.82rem; font-weight: 600;
    margin-bottom: 0.15rem;
}
.cta-info-text a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s ease; }
.cta-info-text a:hover { color: var(--creek-water); }

/* ===================== CONTACT FORM ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 0.85rem; font-weight: 600;
    color: var(--deep-stone);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--white);
    border: 2px solid rgba(196, 181, 162, 0.25);
    border-radius: 16px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--deep-stone);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--creek-water);
    box-shadow: 0 0 0 4px rgba(139, 170, 176, 0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ===================== MAP PLACEHOLDER ===================== */
.map-container {
    border-radius: var(--radius-soft);
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, var(--sand-shore), var(--creek-light));
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(196, 181, 162, 0.2);
}
.map-container iframe {
    width: 100%; height: 100%; border: none;
}

/* ===================== CAL.COM EMBED ===================== */
.cal-embed-wrapper {
    background: var(--white);
    border-radius: var(--radius-soft);
    padding: 1rem;
    border: 1px solid rgba(196, 181, 162, 0.2);
    min-height: 600px;
}
.cal-embed-wrapper cal-inline {
    width: 100%;
    min-height: 550px;
}
.cal-placeholder {
    text-align: center;
    color: var(--river-stone);
}
.cal-placeholder svg {
    width: 60px; height: 60px;
    fill: var(--creek-light);
    margin-bottom: 1rem;
}
.cal-placeholder p { font-size: 0.95rem; }

/* ===================== LEGAL PAGES ===================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.legal-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--deep-stone);
}
.legal-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--deep-stone);
}
.legal-content p {
    font-size: 0.95rem;
    color: var(--river-stone);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.legal-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    list-style: disc;
}
.legal-content ul li {
    font-size: 0.92rem;
    color: var(--river-stone);
    margin-bottom: 0.4rem;
    line-height: 1.6;
}
.legal-content a {
    color: var(--creek-water);
    border-bottom: 1px solid rgba(139, 170, 176, 0.3);
    transition: border-color 0.3s ease;
}
.legal-content a:hover { border-color: var(--creek-water); }

/* ===================== FOOTER ===================== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--sand-shore);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute; top: -2px; left: 0; right: 0;
    height: 60px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 0%);
    pointer-events: none;
    z-index: 0;
}
.footer > .container { position: relative; z-index: 1; padding-top: 60px; }
@media (max-width: 900px) {
    .footer::before { height: 40px; }
    .footer > .container { padding-top: 40px; }
}
@media (max-width: 640px) {
    .footer::before { height: 30px; }
    .footer > .container { padding-top: 30px; }
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(74, 64, 56, 0.1);
}
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 1rem; display: block; }
.footer-brand p {
    font-size: 0.88rem;
    color: var(--river-stone);
    max-width: 280px;
    line-height: 1.7;
}
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--deep-stone);
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--river-stone);
    padding: 0.3rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-col a:hover { color: var(--creek-water); transform: translateX(4px); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.82rem;
    color: var(--river-stone);
}
.footer-bottom a { transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--creek-water); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ===================== WATER RIPPLE HOVER ===================== */
.ripple-hover {
    position: relative;
    overflow: hidden;
}
.ripple-hover::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(139, 170, 176, 0.06);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.ripple-hover:hover::after {
    width: 400%; height: 400%;
}

/* ===================== ABOUT PAGE SPECIFICS ===================== */
.about-image-wrapper {
    position: relative;
}
.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-pebble);
    background: linear-gradient(145deg, var(--warm-pebble), var(--sand-shore));
    animation: pebble-morph 10s ease-in-out infinite;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 4rem; color: rgba(255,255,255,0.4);
    box-shadow: 0 20px 60px var(--shadow-medium);
    overflow: hidden;
}
.about-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.about-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.credential-badge {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    background: var(--cream);
    border-radius: 16px;
    font-size: 0.82rem; font-weight: 500;
    color: var(--deep-stone);
    border: 1px solid rgba(196, 181, 162, 0.15);
    transition: all 0.3s ease;
}
.credential-badge:hover {
    background: var(--white);
    border-color: var(--creek-water);
    transform: translateY(-2px);
}
.credential-badge .badge-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: rgba(139, 170, 176, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===================== TIMELINE ===================== */
.timeline {
    position: relative;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute; top: 0; left: 14px; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--creek-water), var(--warm-pebble));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute; left: -2.47rem; top: 0.3rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--creek-water);
    border: 3px solid var(--cream);
    z-index: 1;
}
.timeline-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem; font-weight: 600;
    color: var(--deep-stone);
    margin-bottom: 0.3rem;
}
.timeline-item .timeline-year {
    font-size: 0.78rem; font-weight: 600;
    color: var(--creek-water);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}
.timeline-item p {
    font-size: 0.88rem;
    color: var(--river-stone);
    line-height: 1.65;
}

/* ===================== ACCORDION ===================== */
.accordion { display: flex; flex-direction: column; gap: 0.8rem; }
.accordion-item {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(196, 181, 162, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-item.active {
    border-color: var(--creek-water);
    box-shadow: 0 8px 24px var(--shadow-soft);
}
.accordion-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.3rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.1rem; font-weight: 700;
    color: var(--deep-stone);
    transition: color 0.3s ease;
    border: none; background: none; width: 100%;
    text-align: left;
}
.accordion-header:hover { color: var(--creek-water); }
.accordion-header .acc-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.accordion-item.active .accordion-header .acc-icon {
    background: var(--creek-water);
    transform: rotate(45deg);
}
.accordion-header .acc-icon svg {
    width: 14px; height: 14px;
    fill: var(--deep-stone);
    transition: fill 0.3s ease;
}
.accordion-item.active .accordion-header .acc-icon svg {
    fill: var(--white);
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-item.active .accordion-body {
    max-height: 600px;
}
.accordion-body-inner {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.92rem;
    color: var(--river-stone);
    line-height: 1.8;
}
.accordion-body-inner ul {
    margin: 0.5rem 0 0.5rem 1.2rem;
    list-style: disc;
}
.accordion-body-inner ul li {
    margin-bottom: 0.3rem;
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--creek-water);
    color: var(--white);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 900;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(139, 170, 176, 0.35);
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--deep-stone);
    transform: translateY(-4px);
}
.back-to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; left: 2rem;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-smooth);
    animation: whatsapp-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 26px; height: 26px; fill: currentColor; }
@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ===================== LANGUAGE SWITCH ===================== */
.lang-switch {
    display: flex; align-items: center; gap: 0.3rem;
    margin-left: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.lang-switch a, .lang-switch span {
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-smooth);
}
.lang-switch span {
    background: var(--creek-water);
    color: var(--white);
}
.lang-switch a {
    color: var(--river-stone);
}
.lang-switch a:hover {
    background: var(--creek-light);
    color: var(--deep-stone);
}
.lang-switch-mobile {
    display: none;
}
.mobile-nav .lang-switch {
    justify-content: center;
    margin: 1rem 0 0 0;
    gap: 0.5rem;
}
.mobile-nav .lang-switch a, .mobile-nav .lang-switch span {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; }
    .portrait-wrapper { width: 280px; height: 340px; }
    .hero-text { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .trust-badges { justify-content: center; }
    .leitbild-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .about-credentials { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .nav { display: none; }
    .hamburger { display: flex; }
    .lang-switch-mobile { display: flex; margin-right: 0.5rem; }
    .mobile-nav { display: flex; }
    .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .two-col.reverse { direction: ltr; }
    .cta-inner { grid-template-columns: 1fr; }
    .cta-card { padding: 2.5rem; border-radius: 28px; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    /* Medium tablet: reduce all section padding */
    .content-section,
    .faq-section,
    .quote-section,
    .leitbild,
    .services,
    .cta-section { padding: 3.5rem 0; }
    .page-hero { padding: 8rem 0 5rem; }
    .hero { padding: 9rem 0 4rem; }
}
@media (max-width: 640px) {
    .container { padding: 0 1.2rem; }
    .leitbild-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3) { border-radius: 24px; }
    .leitbild-card { border-radius: 24px; animation: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .hero { padding: 8rem 0 5rem; }

    /* Mobile-first spacing — tighter vertical rhythm */
    .content-section,
    .faq-section,
    .quote-section,
    .leitbild,
    .services,
    .cta-section { padding: 2.75rem 0; }
    .page-hero { padding: 7rem 0 4.5rem; }
    .hero { padding: 7.5rem 0 4.5rem; }

    /* Footer: add breathing room between grid and bottom */
    .footer-bottom { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(196, 181, 162, 0.25); }
    .footer { padding: 2.5rem 0 1.5rem; }
    .page-hero p { padding: 0 0.5rem; }
    .page-hero .breadcrumb { margin-bottom: 1.2rem; }

    /* Info boxes get more breathing room on mobile */
    .info-box { padding: 1.5rem 1.25rem; }
    .info-box + .info-box { margin-top: 1rem; }

    /* Section headers tighter on mobile */
    .section-header { margin-bottom: 2rem; }

    /* Button groups stack with tighter gap */
    .button-group { gap: 0.75rem; margin-top: 1.25rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn-primary,
    .cta-buttons .btn-whatsapp { width: 100%; text-align: center; }

    /* Feature list tighter */
    .feature-list { gap: 1.25rem; }
    .feature-item { margin-left: 0; }
    .feature-icon { min-width: 40px; width: 40px; height: 40px; font-size: 1.1rem; }

    /* Floating buttons smaller */
    .whatsapp-float { bottom: 1.2rem; left: 1.2rem; width: 46px; height: 46px; }
    .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 42px; height: 42px; }

    /* Accordion tighter */
    .accordion-item { margin-bottom: 0.75rem; }
    .accordion-header { padding: 1rem 1.25rem; font-size: 1rem; }
    .accordion-body-inner { padding: 0 1.25rem 1.25rem; }

    .cal-embed-wrapper { min-height: 300px; }

    /* Narrow container with better mobile padding */
    .narrow-container { padding: 0 0.25rem; }

    /* Section titles tighter on mobile */
    .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

    /* Paragraph bottom margin tighter on mobile */
    .content-section p { margin-bottom: 0.85rem; }

    /* Reduce CTA card padding on mobile */
    .cta-card { padding: 2rem 1.5rem !important; }
    .cta-content h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
    .cta-content p { font-size: 0.95rem; }

    /* Two-col gap tighter on mobile */
    .two-col { gap: 1.75rem; }
}


/* ===================== BOOKING TYPE CARDS (COMPACT) ===================== */
.section-sub {
    text-align: center;
    color: var(--river-stone);
    font-size: 0.92rem;
    margin-top: 0.4rem;
    margin-bottom: 0;
}
.booking-types-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.booking-types-grid-compact .booking-type-card {
    background: var(--white);
    border: 1.5px solid rgba(196, 181, 162, 0.3);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}
.booking-types-grid-compact .booking-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px var(--shadow-medium);
    border-color: var(--creek-water);
}
.booking-types-grid-compact .booking-type-card.active {
    border-color: var(--creek-button);
    background: linear-gradient(145deg, var(--white), rgba(139, 170, 176, 0.08));
    box-shadow: 0 10px 32px rgba(63, 103, 112, 0.18);
}
.booking-types-grid-compact .booking-type-card.highlight {
    border-color: var(--creek-water);
    background: linear-gradient(145deg, var(--white) 60%, rgba(139, 170, 176, 0.08));
}
.booking-types-grid-compact .booking-type-card.highlight {
    padding-top: 2rem;
}
.booking-types-grid-compact .booking-type-card.highlight::before {
    content: "★ Empfohlen";
    position: absolute;
    top: 0; left: 0; right: 0;
    background: var(--creek-button);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.booking-types-grid-compact .type-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.1rem;
}
.booking-types-grid-compact .type-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-stone);
    line-height: 1.25;
}
.booking-types-grid-compact .type-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--creek-button);
    font-family: var(--font-serif);
    white-space: nowrap;
}
.booking-types-grid-compact .type-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: var(--river-stone);
    align-items: center;
}
.booking-types-grid-compact .type-duration,
.booking-types-grid-compact .type-video {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.booking-types-grid-compact .type-video-yes {
    color: var(--creek-button);
    font-weight: 600;
}
.booking-types-grid-compact .type-video-no {
    color: var(--warm-pebble);
    opacity: 0.85;
    font-weight: 500;
}
.booking-types-grid-compact .type-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--river-stone);
    margin: 0;
}

@media (max-width: 900px) {
    .booking-types-grid-compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .booking-types-grid-compact { grid-template-columns: 1fr; gap: 0.7rem; }
    .booking-types-grid-compact .booking-type-card { padding: 0.95rem 1rem; }
    .booking-types-grid-compact .type-title { font-size: 0.95rem; }
    .booking-types-grid-compact .type-price { font-size: 1.1rem; }
    .booking-types-grid-compact .type-desc { font-size: 0.8rem; }
}

/* ===================== BOOKING TYPE CARDS (OLD, legacy) ===================== */
.booking-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.booking-type-card {
    background: var(--white);
    border-radius: var(--radius-soft);
    padding: 1.5rem;
    border: 1px solid rgba(196, 181, 162, 0.2);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.booking-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px var(--shadow-medium);
    border-color: var(--creek-water);
}
.booking-type-card .type-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    display: block;
}
.booking-type-card .type-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--deep-stone);
}
.booking-type-card .type-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--creek-deep);
    font-family: var(--font-serif);
    margin-bottom: 0.2rem;
}
.booking-type-card .type-duration {
    font-size: 0.82rem;
    color: var(--river-stone);
    margin-bottom: 0.8rem;
    font-weight: 500;
}
.booking-type-card .type-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--river-stone);
}
.booking-type-card.highlight {
    border-color: var(--creek-water);
    background: linear-gradient(170deg, var(--white) 60%, rgba(139, 170, 176, 0.06) 100%);
}
/* Legacy highlight ribbon removed — new compact cards use top bar style */

/* ===================== ANGEBOTE OVERVIEW ===================== */
.angebote-hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.angebote-card {
    background: var(--white);
    border-radius: var(--radius-soft);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(196, 181, 162, 0.15);
    text-align: center;
    transition: all var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    display: block;
}
.angebote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px var(--shadow-medium);
    border-color: var(--creek-water);
}
.angebote-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.angebote-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.angebote-card .card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--creek-deep);
    margin-bottom: 1rem;
}
.angebote-card p {
    font-size: 0.92rem;
    color: var(--river-stone);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}
.angebote-card .card-link {
    color: var(--creek-water);
    font-weight: 600;
    font-size: 0.92rem;
}
@media (max-width: 900px) {
    .angebote-hero-cards { grid-template-columns: 1fr; }
    .booking-types-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .booking-types-grid { grid-template-columns: 1fr; }
}


/* ===================== FAQ SECTION ===================== */
.faq-section {
    padding: 5rem 0;
    background: var(--cream);
}
@media (max-width: 900px) {
    .faq-section { padding: 3.5rem 0; }
}
@media (max-width: 640px) {
    .faq-section { padding: 2.75rem 0; }
}
.faq-container {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid rgba(196, 181, 162, 0.15);
    border-radius: var(--radius-soft);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-smooth);
}
.faq-item:hover {
    border-color: rgba(139, 170, 176, 0.3);
    box-shadow: 0 6px 20px var(--shadow-soft);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.4rem 1.8rem;
    background: transparent;
    border: none;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-stone);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--creek-deep); }
.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--creek-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-smooth);
}
.faq-question .faq-icon svg {
    width: 14px; height: 14px;
    fill: var(--creek-deep);
    transition: transform var(--transition-smooth);
}
.faq-item.open .faq-question .faq-icon { background: var(--creek-water); }
.faq-item.open .faq-question .faq-icon svg { transform: rotate(45deg); fill: white; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}
.faq-item.open .faq-answer { max-height: 1000px; }
.faq-answer-inner {
    padding: 0 1.8rem 1.5rem;
    color: var(--river-stone);
    line-height: 1.7;
    font-size: 0.98rem;
}
@media (max-width: 640px) {
    .faq-question { padding: 1.1rem 1.2rem; font-size: 1rem; }
    .faq-answer-inner { padding: 0 1.2rem 1.2rem; font-size: 0.94rem; }
}


/* ===================== ACCESSIBILITY ===================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--creek-deep);
    color: white;
    padding: 1rem 1.5rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--warm-pebble);
    outline-offset: 2px;
}

/* Improved focus visible states */
*:focus-visible {
    outline: 3px solid var(--creek-water);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--creek-water);
    outline-offset: 3px;
}
.btn-primary:focus-visible,
.btn-cta:focus-visible {
    outline: 3px solid var(--deep-stone);
    outline-offset: 3px;
}

/* Reduced motion preference */
@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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    body {
        color: #000;
    }
    .btn-primary {
        border: 2px solid #000;
    }
}

/* Screen reader only utility */
.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;
}


/* ===================== STICKY CTA BAR ===================== */
.sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    background: var(--white);
    box-shadow: 0 -10px 40px rgba(74, 64, 56, 0.18);
    border-radius: 100px;
    border: 1px solid rgba(196, 181, 162, 0.3);
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    transition: bottom var(--transition-smooth);
    max-width: calc(100vw - 2rem);
}
.sticky-cta.visible {
    bottom: 1.5rem;
}
.sticky-cta-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}
.sticky-cta-text {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--deep-stone);
    font-size: 0.95rem;
    white-space: nowrap;
}
.sticky-cta-buttons {
    display: flex;
    gap: 0.5rem;
}
.sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.sticky-cta-call {
    background: var(--cream);
    color: var(--deep-stone);
    border: 1px solid var(--warm-pebble);
}
.sticky-cta-call:hover {
    background: var(--sand-shore);
}
.sticky-cta-book {
    background: var(--creek-button);
    color: white;
}
.sticky-cta-book:hover {
    background: var(--creek-button-hover);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .sticky-cta {
        padding: 0.5rem 0.5rem 0.5rem 1rem;
        max-width: calc(100vw - 1rem);
    }
    .sticky-cta-text {
        display: none;
    }
    .sticky-cta-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.78rem;
    }
    .sticky-cta-btn span {
        display: none;
    }
    .sticky-cta-btn svg {
        width: 20px;
        height: 20px;
    }
    .sticky-cta.visible {
        bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sticky-cta { transition: none; }
}


/* ===================== TESTNET VARIANT STYLES (no-op for v3) ===================== */
/* Page photos for subpages */
.page-photo-section { padding: 0 0 1rem; position: relative; }
.page-photo-wrapper { max-width: 480px; margin: -3rem auto 0; position: relative; z-index: 2; }
.page-photo { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-soft); overflow: hidden; box-shadow: 0 16px 48px var(--shadow-medium); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.6s ease; }
.page-photo:hover img { transform: scale(1.03); }

.contact-portrait-wrapper { text-align: center; margin-bottom: 2rem; }
.contact-portrait { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; margin: 0 auto; box-shadow: 0 12px 36px var(--shadow-medium); border: 4px solid var(--white); }
.contact-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.photo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.photo-gallery .gallery-item { border-radius: var(--radius-soft); overflow: hidden; box-shadow: 0 8px 24px var(--shadow-soft); aspect-ratio: 3/4; }
.photo-gallery .gallery-item.featured { grid-row: span 2; }
.photo-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-gallery .gallery-item:hover img { transform: scale(1.04); }

.intro-photo { border-radius: var(--radius-soft); overflow: hidden; box-shadow: 0 12px 40px var(--shadow-medium); aspect-ratio: 3/4; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Variant 4: Full-width hero */
.hero-fullwidth { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--deep-stone); }
.hero-fullwidth .hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-fullwidth .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: brightness(0.55) saturate(0.9); }
.hero-fullwidth .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(74, 64, 56, 0.6) 0%, rgba(74, 64, 56, 0.3) 50%, rgba(139, 170, 176, 0.2) 100%); }
.hero-fullwidth .container { position: relative; z-index: 2; }
.hero-fullwidth .hero-content { max-width: 650px; color: var(--cream); }
.hero-fullwidth .hero-content h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.2rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-fullwidth .hero-text { color: rgba(250, 246, 241, 0.9); font-size: 1.15rem; margin-bottom: 2rem; max-width: 500px; }
.hero-fullwidth .hero-badge { display: inline-block; background: rgba(139, 170, 176, 0.3); backdrop-filter: blur(10px); color: var(--cream); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; border: 1px solid rgba(139, 170, 176, 0.3); }
.hero-fullwidth .trust-badges .trust-badge { background: rgba(250, 246, 241, 0.12); border: 1px solid rgba(250, 246, 241, 0.15); color: rgba(250, 246, 241, 0.9); backdrop-filter: blur(8px); }
.hero-fullwidth .trust-badges .trust-badge svg { fill: var(--cream); }

/* Variant 5: Split-screen hero */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; overflow: hidden; }
.hero-split-content { display: flex; flex-direction: column; justify-content: center; padding: 6rem 4rem 4rem; background: var(--cream); }
.hero-split-content .hero-badge { display: inline-block; align-self: flex-start; background: rgba(139, 170, 176, 0.12); color: var(--creek-water); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; border: 1px solid rgba(139, 170, 176, 0.2); }
.hero-split-content h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.2rem; line-height: 1.15; }
.hero-split-content .hero-text { font-size: 1.1rem; color: var(--river-stone); max-width: 450px; margin-bottom: 2rem; line-height: 1.7; }
.hero-split-content .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-split-image { position: relative; overflow: hidden; }
.hero-split-image img { width: 100%; height: 140%; object-fit: cover; object-position: center center; margin-top: -20%; }
.hero-split-image::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 80px; background: linear-gradient(90deg, var(--cream), transparent); }

/* Variant test banner */
.variant-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: rgba(74, 64, 56, 0.95); color: var(--cream); text-align: center; padding: 0.7rem 1rem; font-family: var(--font-sans); font-size: 0.85rem; backdrop-filter: blur(10px); }
.variant-banner strong { color: var(--creek-water); font-weight: 600; }
.variant-banner a { color: var(--creek-water); text-decoration: underline; margin-left: 1rem; }

@media (max-width: 1024px) {
    .hero-fullwidth { min-height: 80vh; }
    .hero-fullwidth .hero-content { max-width: 100%; text-align: center; }
    .hero-fullwidth .hero-text { margin: 0 auto 2rem; }
    .hero-fullwidth .hero-buttons { justify-content: center; }
    .hero-fullwidth .trust-badges { justify-content: center; }
    .hero-split { grid-template-columns: 1fr; min-height: auto; }
    .hero-split-content { padding: 8rem 2rem 3rem; text-align: center; order: 2; }
    .hero-split-content .hero-badge { align-self: center; }
    .hero-split-content .hero-text { margin: 0 auto 2rem; }
    .hero-split-content .hero-buttons { justify-content: center; }
    .hero-split-content .trust-badges { justify-content: center; }
    .hero-split-image { height: 50vh; order: 1; }
    .hero-split-image::after { display: none; }
}
@media (max-width: 900px) {
    .photo-gallery { grid-template-columns: 1fr; }
    .photo-gallery .gallery-item.featured { grid-row: span 1; }
}
@media (max-width: 640px) {
    .hero-fullwidth { min-height: 85vh; }
    .hero-split-image { height: 40vh; }
    .contact-portrait { width: 140px; height: 140px; }
    .variant-banner { font-size: 0.75rem; padding: 0.5rem 0.8rem; }
    .page-photo-wrapper { max-width: 100%; margin-top: -2rem; }
}


/* ===================== COOKIE CONSENT BANNER ===================== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 10001;
    background: var(--white);
    border-radius: var(--radius-soft);
    box-shadow: 0 20px 60px rgba(74, 64, 56, 0.25), 0 4px 20px rgba(74, 64, 56, 0.1);
    border: 1px solid rgba(196, 181, 162, 0.3);
    padding: 1.5rem 1.75rem;
    max-width: 720px;
    margin: 0 auto;
    animation: cookieSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
}
.cookie-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--deep-stone);
    margin-bottom: 0.3rem;
}
.cookie-text {
    font-size: 0.85rem;
    color: var(--river-stone);
    line-height: 1.55;
    margin: 0;
}
.cookie-text a {
    color: var(--creek-deep);
    text-decoration: underline;
    font-weight: 500;
}
.cookie-buttons {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 0.7rem 1.2rem;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1.5px solid;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.cookie-btn-decline {
    background: transparent;
    color: var(--river-stone);
    border-color: rgba(196, 181, 162, 0.5);
}
.cookie-btn-decline:hover {
    color: var(--deep-stone);
    border-color: var(--warm-pebble);
    background: rgba(196, 181, 162, 0.08);
}
.cookie-btn-accept {
    background: var(--creek-button);
    color: white;
    border-color: var(--creek-button);
}
.cookie-btn-accept:hover {
    background: var(--creek-button-hover);
    border-color: var(--creek-button-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(63, 103, 112, 0.35);
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 1.25rem 1.25rem 1rem;
    }
    .cookie-banner-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .cookie-buttons {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
    .cookie-btn { width: 100%; padding: 0.85rem 1.2rem; }
    .cookie-title { font-size: 1rem; }
    .cookie-text { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner { animation: none; }
}

/* ===================== PRINT ===================== */
@media print {
    .header, .mobile-nav, .scroll-progress, .back-to-top, .whatsapp-float { display: none; }
    body { background: white; }
    .hero { padding-top: 2rem; }
}
