/* ======================
   CSS Variables & Reset
   ====================== */
:root {
    /* Colors */
    --color-primary: #ba5c2d;
    --color-secondary: #99ab8f;
    --color-text-dark: #221812;
    --color-text-light: #f7efe3;
    --color-bg-light: #f7efe3;
    --color-bg-white: #ffffff;
    --color-border: rgba(186, 92, 45, 0.3);
    --color-accent: #e7d8c8;

    /* Typography */
    --font-primary: 'Work Sans', sans-serif;
    --font-heading: 'Sora', sans-serif;
    --font-logo: 'Public Sans', sans-serif;
    --font-body: 'Work Sans', sans-serif;

    /* Type scale */
    --fs-body: 18px;
    --fs-small: 16px;
    --fs-subtitle: 26px;
    --fs-h3: 20px;
    --fs-button: 16px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 80px;

    /* Animation */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: auto;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

html,
body {
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    color: var(--color-text-dark);
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-normal);
}

/* ======================
   Typography
   ====================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 56px;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h2 {
    font-size: 48px;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h3 {
    font-size: var(--fs-h3);
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

p {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-body);
    line-height: 1.7;
}

.lead-text {
    font-size: var(--fs-body);
    line-height: 1.7;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

/* Underline hover: left → right */
.link-underline {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width var(--transition-normal);
}

.link-underline:hover::after {
    width: 100%;
}

.text-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: var(--fs-body);
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.text-link:hover {
    color: #a04f24;
}

.text-link:hover::after {
    width: 100%;
}

/* ======================
   Buttons
   ====================== */
.btn {
    height: 40px;
    padding: 0 20px;
    border-radius: 3px;
    font-weight: 500;
    font-size: var(--fs-button);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    width: fit-content;
    max-width: max-content;
    flex: 0 0 auto;
    box-sizing: border-box;
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
}

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

.btn-fit {
    width: fit-content !important;
    max-width: max-content !important;
    align-self: flex-start !important;
}

.navbar .btn {
    align-self: center;
    margin: 0;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 1px 3px rgba(186, 92, 45, 0.2);
}

.btn-primary:hover {
    background: #a04f24;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(186, 92, 45, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--color-secondary);
    color: white;
    box-shadow: 0 1px 3px rgba(153, 171, 143, 0.2);
}

.btn-secondary:hover {
    background: #859a7c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(153, 171, 143, 0.25);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-secondary img {
    width: 10px;
    height: 10px;
    transition: transform var(--transition-fast);
}

.btn-secondary:hover img {
    transform: translateY(2px);
}

/* ======================
   Navigation
   ====================== */
.navbar {
    background: var(--color-bg-light);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
}

.navbar.is-open {
    z-index: 1003;
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    background: rgba(247, 239, 227, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    min-height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-dark);
    flex-shrink: 0;
}

.logo-mark {
    width: 52px;
    height: 37px;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-tagline {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

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

.nav-contact-mobile {
    display: none;
}

.nav-links-legal {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-dark);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.navbar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links-main {
    display: contents;
}

.nav-link {
    font-weight: 500;
    font-size: var(--fs-small);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ======================
   Hero Section
   ====================== */
.hero {
    background: var(--color-bg-light);
    padding-bottom: var(--spacing-3xl);
}

.hero-image-wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-image {
    position: relative;
    border-radius: 0;
}

.hero-image-media {
    position: relative;
    height: 520px;
    border-radius: 0;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(17, 11, 7, 0.75) 0%,
            rgba(17, 11, 7, 0.45) 25%,
            rgba(0, 0, 0, 0.19) 43.846%,
            transparent 70%);
}

.hero-content {
    position: absolute;
    bottom: 220px;
    left: 48px;
    z-index: 2;
}

.hero-title {
    color: white;
    width: 500px;
    line-height: 1.15;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero-curve {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    z-index: 3;
    pointer-events: none;
    line-height: 0;
    overflow: hidden;
    right: -2px;
}

.hero-curve img {
    display: block;
    width: calc(100% + 4px);
    height: 100%;
    margin-left: -2px;
    object-fit: fill;
}

.hero-below {
    max-width: 1200px;
    margin: 8px auto 0;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-description {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    max-width: 697px;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

/* ======================
   Content Sections
   ====================== */
.content-section {
    background: var(--color-bg-light);
    padding: 96px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-nat {
    overflow-x: clip;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
}

.section-header h2 {
    color: rgba(34, 24, 18, 0.9);
    margin-bottom: 10px;
    animation: fadeInTitle 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.section-subtitle {
    font-weight: 500;
    font-size: var(--fs-subtitle);
    color: rgba(186, 92, 45, 0.9);
    line-height: 1.2;
    animation: fadeInTitle 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards;
}

.section-subtitle.green {
    color: rgba(58, 85, 58, 0.9);
}

.section-header-full {
    margin-bottom: 50px;
}

.section-header-full .lead-text {
    margin-top: 10px;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

.section-link {
    font-weight: 500;
    font-size: var(--fs-body);
    color: var(--color-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-link:hover {
    color: #a04f24;
    transform: translateX(3px);
}

/* ======================
   Cards Slider
   ====================== */
.cards-slider-block {
    position: relative;
    width: 100%;
    min-width: 0;
}

.cards-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 72%, transparent 100%);
    transition: mask-image 0.25s ease, -webkit-mask-image 0.25s ease;
}

.cards-slider-wrapper.is-end {
    mask-image: none;
    -webkit-mask-image: none;
}

.cards-slider-wrapper::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.cards-slider {
    display: flex;
    gap: 24px;
    width: max-content;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    padding: var(--spacing-md);
    width: 340px;
    flex: 0 0 340px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(0, 0, 0, 0.9);
}

.card p {
    font-size: var(--fs-small);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-links a {
    font-weight: 500;
    font-size: var(--fs-small);
    color: var(--color-primary);
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.card-links a:hover {
    color: #a04f24;
    text-decoration: underline;
}

.slider-arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 340px;
    margin-top: 16px;
    position: relative;
    z-index: 2;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    border-radius: 50%;
    background: rgba(186, 92, 45, 0.08);
    transition: all var(--transition-fast);
}

.arrow-btn:hover {
    opacity: 1;
    background: rgba(186, 92, 45, 0.15);
    transform: scale(1.08);
}

.arrow-btn:active {
    transform: scale(0.98);
}

.arrow-btn img {
    width: 22px;
    height: 22px;
    pointer-events: none;
    transition: transform var(--transition-fast);
}

.arrow-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
    background: rgba(186, 92, 45, 0.05);
    transform: none;
}

.arrow-btn.is-disabled:hover {
    transform: none;
    background: rgba(186, 92, 45, 0.05);
}

.arrow-btn.is-disabled:hover img {
    transform: none;
}

.arrow-left img {
    transform: rotate(180deg);
}

/* ======================
   Quote Section
   ====================== */
.quote-section {
    background: var(--color-bg-light);
    padding: 72px 120px;
    text-align: center;
}

.quote-container {
    max-width: 1151px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    font-weight: 700;
    font-size: 96px;
    line-height: 0.9;
    color: rgba(153, 171, 143, 0.4);
    font-family: var(--font-primary);
    display: block;
    width: 100%;
    transition: color var(--transition-slow);
}

.quote-section:hover .quote-mark {
    color: rgba(153, 171, 143, 0.6);
}

.quote-open {
    margin-bottom: -40px;
    text-align: left;
    padding-left: 0;
    margin-left: -48px;
}

.quote-close {
    margin-top: -40px;
    text-align: right;
    padding-right: 0;
    margin-right: -48px;
}

.quote-text {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-text-dark);
    padding: 0 80px;
    font-style: italic;
    font-weight: 400;
}

/* ======================
   Goal Cards
   ====================== */
.goal-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.goal-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-secondary);
    border-radius: 5px;
    padding: var(--spacing-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow var(--transition-fast);
}

.goal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.goal-card.is-visible:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.goal-card:nth-child(1) {
    transition-delay: 0s;
}

.goal-card:nth-child(2) {
    transition-delay: 0.08s;
}

.goal-card:nth-child(3) {
    transition-delay: 0.16s;
}

.goal-card:nth-child(4) {
    transition-delay: 0.24s;
}

.goal-card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.goal-number {
    background: var(--color-secondary);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    color: rgba(0, 0, 0, 0.9);
}

.goal-card h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
    line-height: 1.3;
}

.goal-card p {
    font-size: var(--fs-small);
    line-height: 1.6;
    flex-grow: 1;
}

/* ======================
   Timeline
   ====================== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(1) {
    transition-delay: 0s;
}

.timeline-item:nth-child(2) {
    transition-delay: 0.1s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(4) {
    transition-delay: 0.3s;
}

.timeline-number {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 30px;
    color: var(--color-primary);
    flex-shrink: 0;
    min-width: 60px;
}

.timeline-content h3 {
    font-weight: 600;
    font-size: var(--fs-h3);
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.9);
}

.timeline-content p {
    font-size: var(--fs-small);
    line-height: 1.6;
}

/* ======================
   About Section
   ====================== */
.about-section {
    background: var(--color-bg-light);
    padding: 96px 0;
}

.about-section .section-container {
    padding: 0 var(--spacing-md);
}

.about-content {
    display: grid;
    grid-template-columns: 489px 1fr;
    gap: var(--spacing-lg);
}

.about-image {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    height: 685px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-image::before,
.about-image::after {
    content: '';
    position: absolute;
    background: var(--color-accent);
    z-index: 1;
}

.about-image::before {
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.about-image::after {
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
}

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

.about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
}

.about-text .btn,
.about-text .btn-fit {
    width: fit-content;
    max-width: max-content;
    align-self: flex-start;
}

.about-block {
    border-left: 5px solid var(--color-primary);
    padding-left: 30px;
    width: 100%;
    transition: border-color var(--transition-normal);
}

.about-block:hover {
    border-left-color: #a04f24;
}

.about-block h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-block p {
    font-size: var(--fs-body);
    line-height: 1.7;
}

.about-block .text-link {
    display: inline-block;
    margin-top: 12px;
}

/* ======================
   Footer
   ====================== */
.footer {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 48px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .logo,
.footer .logo-name,
.footer .logo-tagline {
    color: var(--color-text-light);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-nav a,
.footer-legal a {
    font-weight: 500;
    font-size: var(--fs-small);
    line-height: 1;
    color: var(--color-text-light);
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.contact-link {
    font-weight: 500;
    font-size: var(--fs-small);
    line-height: 1;
    color: var(--color-text-light);
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer-nav a::after,
.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width var(--transition-normal);
}

.footer-nav a:hover::after,
.footer-legal a:hover::after {
    width: 100%;
}

.contact-link:hover {
    color: rgba(255, 255, 255, 0.85);
    transform: scale(1.01);
}

.footer-legal {
    font-size: var(--fs-small);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    gap: 8px;
}

.contact-link img {
    width: 14px;
    height: 14px;
}

/* ======================
   Responsive Design
   ====================== */
@media (max-width: 1200px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 489px;
        margin: 0 auto;
    }

    .hero-image-media {
        height: 420px;
    }

    .hero-curve {
        height: 90px;
        right: -5px;
        left: -5px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    .content-section,
    .about-section {
        padding: var(--spacing-2xl) 0;
    }

    .hero-title {
        font-size: 36px;
        width: auto;
        max-width: 90%;
    }

    .hero-content {
        left: var(--spacing-md);
        bottom: 120px;
    }

    .hero-image-media {
        height: 360px;
    }

    .logo-mark {
        width: 42px;
        height: 30px;
    }

    .logo-name {
        font-size: 22px;
    }

    .logo-tagline {
        font-size: 9px;
    }

    .nav-contact-desktop {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile: Nav immer fixed → kein Sprung sticky→fixed beim Öffnen */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1003;
        background: var(--color-bg-light);
    }

    body {
        padding-top: 92px;
    }

    .navbar.is-open {
        backdrop-filter: none;
        box-shadow: none;
    }

    .navbar.is-open .logo,
    .navbar.is-open .nav-toggle {
        position: relative;
        z-index: 1004;
    }

    /* Vollflächiges Overlay ab top:0 (kein 92px-Loch) – Inhalt unter der Nav */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        z-index: 1001;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        gap: 0;
        padding: 108px var(--spacing-md) 32px;
        background: var(--color-bg-light);
        transform: translate3d(100%, 0, 0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        /* Eigener Containing Block – weniger Lenis-/Scroll-Konflikte */
        will-change: transform;
    }

    .navbar.is-open .nav-links {
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }


    .nav-links-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 28px;
        text-align: center;
    }

    .nav-links .nav-link {
        font-size: 22px;
        line-height: 1.3;
    }

    .nav-contact-mobile {
        display: inline-flex;
        margin-top: 12px;
        align-self: center;
    }

    .nav-links-legal {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 500;
        color: rgba(34, 24, 18, 0.7);
        padding-top: 24px;
    }

    .nav-links-legal a {
        color: rgba(34, 24, 18, 0.7);
        text-decoration: none;
    }

    .nav-links-legal a:hover {
        color: var(--color-primary);
    }

    .footer-nav a,
    .footer-legal,
    .footer-legal a,
    .contact-link {
        font-size: 12px;
    }

    .goal-cards {
        grid-template-columns: 1fr;
    }

    .card {
        width: 280px;
        flex-basis: 280px;
    }

    .footer-top {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .quote-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .quote-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .quote-mark {
        font-size: 56px;
        line-height: 1;
        width: auto;
    }

    .quote-open {
        margin: 0;
        margin-bottom: 4px;
        padding: 0;
        text-align: left;
        align-self: flex-start;
    }

    .quote-close {
        margin: 0;
        margin-top: 4px;
        padding: 0;
        text-align: right;
        align-self: flex-end;
    }

    .quote-text {
        padding: 0;
        margin: 0;
    }
}

/* ======================
   Animations & Effects
   ====================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* Smooth scrolling within cards slider */
.cards-slider-wrapper {
    scroll-behavior: smooth;
}
