/* ==========================================================================
   Completely Human — Stylesheet
   Roligt, naturligt design for holistisk terapipraksis
   Mobile-first, responsive
   ========================================================================== */

/* --- CUSTOM PROPERTIES --- */
:root {
    /* Farver — varm beige/taupe palette (matcher CH-branding) */
    --clr-primary:     #B8A899;   /* Varm taupe fra logo */
    --clr-primary-dk:  #9A8B7C;
    --clr-primary-lt:  #D1C4B7;
    --clr-secondary:   #C4A69B;   /* Dusty rose fra citat-grafik */
    --clr-secondary-lt:#D9C1B8;
    --clr-accent:      #A68A7B;   /* Mørkere rose */

    --clr-bg:          #FAF7F4;   /* Varm off-white */
    --clr-surface:     #F0EBE5;   /* Varm creme */
    --clr-surface-alt: #E8E1D9;
    --clr-text:        #3A3530;   /* Varm mørk brun */
    --clr-text-light:  #7A7168;
    --clr-text-inv:    #FAF7F4;
    --clr-border:      #D9D0C6;
    --clr-white:       #FFFFFF;

    --clr-success:     #5A8A5E;
    --clr-error:       #B84C4C;

    /* Typografi */
    --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --fs-xs:   0.75rem;
    --fs-sm:   0.875rem;
    --fs-base: 1rem;
    --fs-md:   1.125rem;
    --fs-lg:   1.25rem;
    --fs-xl:   1.5rem;
    --fs-2xl:  2rem;
    --fs-3xl:  2.5rem;
    --fs-4xl:  3rem;

    --fw-light:  300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semi:   600;

    /* Spacing */
    --sp-xs:  0.25rem;
    --sp-sm:  0.5rem;
    --sp-md:  1rem;
    --sp-lg:  1.5rem;
    --sp-xl:  2rem;
    --sp-2xl: 3rem;
    --sp-3xl: 4rem;
    --sp-4xl: 6rem;

    /* Layout */
    --container-max: 72rem;   /* 1152px */
    --container-pad: 1.25rem;

    /* Borders & shadows */
    --radius:    0.5rem;
    --radius-lg: 1rem;
    --shadow-sm: 0 1px 3px rgba(45,41,38,0.06);
    --shadow-md: 0 4px 12px rgba(45,41,38,0.08);
    --shadow-lg: 0 8px 24px rgba(45,41,38,0.10);

    /* Transitions */
    --transition: 200ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-normal);
    line-height: 1.7;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

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

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-primary-dk);
}

ul, ol {
    list-style: none;
}

/* --- FOCUS STYLES (WCAG 2.4.7) --- */
:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid var(--clr-primary-dk);
    outline-offset: 3px;
    border-radius: 2px;
}

.btn:focus-visible,
.nav-cta:focus-visible {
    outline-offset: 4px;
}

h1, h2, h3, h4 {
    font-family: var(--ff-heading);
    font-weight: var(--fw-semi);
    line-height: 1.3;
    color: var(--clr-text);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl);  }

p + p { margin-top: var(--sp-md); }

address { font-style: normal; }

/* --- SKIP LINK --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--sp-md);
    background: var(--clr-primary);
    color: var(--clr-text-inv);
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--radius);
    z-index: 1000;
    font-size: var(--fs-sm);
}
.skip-link:focus {
    top: var(--sp-md);
}

/* --- CONTAINER --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    line-height: 1;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-text-inv);
    border-color: var(--clr-primary);
}
.btn-primary:hover {
    background: var(--clr-primary-dk);
    border-color: var(--clr-primary-dk);
    color: var(--clr-text-inv);
}

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

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}
.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-text-inv);
}

.btn-ghost {
    background: transparent;
    color: var(--clr-text-inv);
    border-color: var(--clr-text-inv);
}
.btn-ghost:hover {
    background: var(--clr-white);
    color: var(--clr-primary-dk);
    border-color: var(--clr-white);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: var(--fs-base);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--fs-xs);
}

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

/* --- HEADER --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253,250,245,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--clr-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    gap: var(--sp-md);
}

.logo {
    text-decoration: none;
    color: var(--clr-text);
}

.logo-img {
    height: 2.25rem;
    width: auto;
    display: block;
}

.logo-text {
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semi);
    letter-spacing: -0.01em;
}

/* Hamburger */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: var(--clr-text);
    border-radius: 1px;
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px;  }

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Nav */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 20rem);
    height: 100vh;
    background: var(--clr-bg);
    padding: 5rem var(--sp-xl) var(--sp-xl);
    transition: right 300ms ease;
    box-shadow: var(--shadow-lg);
    z-index: 105;
}

.main-nav.is-open {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.nav-link {
    display: block;
    padding: var(--sp-sm) 0;
    font-size: var(--fs-md);
    color: var(--clr-text);
    border-bottom: 1px solid var(--clr-border);
    transition: color var(--transition);
}

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

.nav-cta {
    margin-top: var(--sp-md);
    background: var(--clr-primary);
    color: var(--clr-text-inv) !important;
    border-bottom: none;
    border-radius: var(--radius);
    padding: var(--sp-sm) var(--sp-md);
    text-align: center;
    font-weight: var(--fw-medium);
}
.nav-cta:hover {
    background: var(--clr-primary-dk);
    color: var(--clr-text-inv) !important;
}

/* Header phone */
.header-phone {
    display: none;
    align-items: center;
    gap: var(--sp-xs);
    color: var(--clr-text);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
}

/* Body overlay when nav is open */
body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(45,41,38,0.3);
    z-index: 100;
}

/* --- HERO --- */
.hero {
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
    color: var(--clr-text-inv);
    padding: var(--sp-4xl) 0 var(--sp-3xl);
    text-align: center;
    overflow: hidden;
}

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

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

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(58,53,48,0.55), rgba(58,53,48,0.55));
}

.hero-eyebrow {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-bottom: var(--sp-md);
}

.hero-heading {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semi);
    color: var(--clr-text-inv);
    margin-bottom: var(--sp-lg);
    line-height: 1.2;
}

.hero-heading em {
    font-style: italic;
    opacity: 0.9;
}

.hero-text {
    font-size: var(--fs-md);
    max-width: 36rem;
    margin-inline: auto;
    opacity: 0.9;
    margin-bottom: var(--sp-xl);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-md);
}


/* --- SECTIONS --- */
.section {
    padding: var(--sp-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: var(--sp-2xl);
}

.section-header p {
    margin-top: var(--sp-sm);
    color: var(--clr-text-light);
    font-size: var(--fs-md);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--clr-border);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* --- PAGE HEADER (undersider) --- */
.page-header {
    background: var(--clr-surface);
    padding: var(--sp-2xl) 0 var(--sp-xl);
}

.page-header h1 {
    margin-bottom: var(--sp-sm);
}

.page-intro {
    color: var(--clr-text-light);
    font-size: var(--fs-md);
    max-width: 36rem;
}

/* --- BREADCRUMB --- */
.breadcrumb {
    background: var(--clr-surface);
    padding-top: var(--sp-md);
}

.breadcrumb-list {
    display: flex;
    gap: var(--sp-sm);
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: var(--sp-sm);
    color: var(--clr-border);
}

.breadcrumb-list a {
    color: var(--clr-text-light);
}

.breadcrumb-list a:hover {
    color: var(--clr-primary);
}

/* --- INTRO SECTION --- */
.intro-section {
    background: var(--clr-white);
}

.intro-inner {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.intro-text h2 {
    margin-bottom: var(--sp-lg);
}

.intro-text p {
    font-size: var(--fs-md);
    color: var(--clr-text-light);
    line-height: 1.8;
}

/* --- CARD GRID --- */
.card-grid {
    display: grid;
    gap: var(--sp-lg);
    grid-template-columns: 1fr;
}

.card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-icon {
    color: var(--clr-primary);
    margin-bottom: var(--sp-md);
}

.card-title {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-sm);
}

.card-text {
    color: var(--clr-text-light);
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-md);
}

.card-link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--clr-primary);
}

.card-link:hover {
    color: var(--clr-primary-dk);
}

/* --- BENEFITS / TAGS --- */
.benefits-section {
    background: var(--clr-surface);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-sm);
}

.tag {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
    transition: all var(--transition);
}

.tag:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

/* --- IMAGES --- */
.about-img {
    width: 100%;
    max-width: 16rem;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.about-portrait-img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.treatment-img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.certificate-figure {
    margin: var(--sp-xl) 0;
}

.certificate-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* --- PULL QUOTE --- */
.quote-section {
    background: var(--clr-secondary);
    padding: var(--sp-3xl) 0;
}

.pull-quote {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
    color: var(--clr-white);
}

.pull-quote::before {
    content: '\201C';
    display: block;
    font-family: var(--ff-heading);
    font-size: 4rem;
    line-height: 1;
    opacity: 0.4;
    margin-bottom: var(--sp-sm);
}

.pull-quote p {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    font-style: italic;
    line-height: 1.8;
    color: var(--clr-white);
}

.quote-author {
    margin-top: var(--sp-lg);
    font-family: var(--ff-body);
    font-style: normal;
    font-size: var(--fs-sm);
    opacity: 0.8;
}

/* --- IMAGE PLACEHOLDERS --- */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--sp-xs);
    background: var(--clr-surface-alt);
    border: 2px dashed var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-2xl) var(--sp-lg);
    min-height: 16rem;
    color: var(--clr-text-light);
}

.img-placeholder span {
    font-weight: var(--fw-medium);
    font-size: var(--fs-sm);
}

.img-placeholder small {
    font-size: var(--fs-xs);
    opacity: 0.7;
    max-width: 18rem;
}

.img-placeholder--portrait {
    min-height: 20rem;
    aspect-ratio: 3 / 4;
    max-width: 16rem;
}

.img-placeholder--portrait-lg {
    min-height: 24rem;
    aspect-ratio: 3 / 4;
    max-width: 20rem;
    margin-inline: auto;
}

/* --- ABOUT TEASER --- */
.about-teaser {
    background: var(--clr-white);
}

.about-teaser-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2xl);
    max-width: 52rem;
    margin-inline: auto;
}

.about-teaser-text h2 {
    margin-bottom: var(--sp-lg);
}

.about-teaser-text p {
    font-size: var(--fs-md);
    color: var(--clr-text-light);
    line-height: 1.8;
}

.about-teaser-text .btn {
    margin-top: var(--sp-lg);
}

/* --- FAQ --- */
.faq-section {
    background: var(--clr-bg);
}

.faq-list {
    max-width: 42rem;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid var(--clr-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-lg) 0;
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semi);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: '+';
    font-size: var(--fs-xl);
    font-weight: var(--fw-light);
    color: var(--clr-primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--sp-md);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-question:hover {
    color: var(--clr-primary);
}

.faq-answer {
    padding-bottom: var(--sp-lg);
    color: var(--clr-text-light);
    line-height: 1.8;
}

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, var(--clr-primary-dk) 0%, var(--clr-accent) 100%);
    color: var(--clr-text-inv);
    padding: var(--sp-3xl) 0;
    text-align: center;
}

.cta-heading {
    font-size: var(--fs-2xl);
    color: var(--clr-text-inv);
    margin-bottom: var(--sp-md);
}

.cta-text {
    font-size: var(--fs-md);
    opacity: 0.9;
    max-width: 32rem;
    margin-inline: auto;
    margin-bottom: var(--sp-xl);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-md);
}

.cta-actions .btn-primary {
    background: var(--clr-white);
    color: var(--clr-primary-dk);
    border-color: var(--clr-white);
}
.cta-actions .btn-primary:hover {
    background: var(--clr-surface);
    border-color: var(--clr-surface);
    color: var(--clr-primary-dk);
}

/* --- TREATMENT NAV (quick jump) --- */
.treatment-nav {
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 4rem;
    z-index: 50;
}

.treatment-nav-list {
    display: flex;
    gap: var(--sp-xs);
    overflow-x: auto;
    padding: var(--sp-md) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.treatment-nav-list::-webkit-scrollbar { display: none; }

.treatment-nav-link {
    display: block;
    padding: var(--sp-sm) var(--sp-md);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--clr-text-light);
    background: var(--clr-surface);
    border-radius: 2rem;
    white-space: nowrap;
    transition: all var(--transition);
}

.treatment-nav-link:hover {
    background: var(--clr-primary);
    color: var(--clr-text-inv);
}

/* --- TREATMENT BLOCKS --- */
.treatment-block {
    padding: var(--sp-3xl) 0;
    background: var(--clr-white);
}

.treatment-block--alt {
    background: var(--clr-bg);
}

.treatment-card {
    display: grid;
    gap: var(--sp-2xl);
    grid-template-columns: 1fr;
    align-items: start;
}

.treatment-card-img {
    width: 100%;
}

.treatment-card-body h2 {
    margin-bottom: var(--sp-xs);
}

.treatment-tagline {
    color: var(--clr-primary);
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    margin-bottom: var(--sp-lg);
}

.treatment-card-body h3 {
    margin-top: var(--sp-xl);
    margin-bottom: var(--sp-sm);
    font-size: var(--fs-lg);
}

.treatment-card-body p {
    color: var(--clr-text-light);
    line-height: 1.8;
}

.treatment-card-body ul {
    margin-top: var(--sp-sm);
    margin-bottom: var(--sp-md);
    padding-left: var(--sp-lg);
    list-style: disc;
}

/* Price list */
.price-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    width: 100%;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--sp-md);
}

.price-row span {
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
}

.price-row strong {
    font-size: var(--fs-sm);
    white-space: nowrap;
}

.treatment-card-body li {
    color: var(--clr-text-light);
    margin-bottom: var(--sp-xs);
    line-height: 1.7;
}

.treatment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
    margin-top: var(--sp-xl);
    margin-bottom: var(--sp-lg);
    padding: var(--sp-md) var(--sp-lg);
    background: var(--clr-surface);
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--clr-text);
}

/* --- CROSS-SELL --- */
.cross-sell {
    margin-top: var(--sp-md);
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
    font-style: italic;
}

.cross-sell a {
    font-weight: var(--fw-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- THANK YOU PAGE --- */
.thank-you-section {
    padding: var(--sp-4xl) 0;
    text-align: center;
    background: var(--clr-white);
}

.thank-you-inner {
    max-width: 32rem;
    margin-inline: auto;
}

.thank-you-icon {
    font-size: 3rem;
    margin-bottom: var(--sp-lg);
    color: var(--clr-success);
}

.thank-you-inner h1 {
    margin-bottom: var(--sp-md);
}

.thank-you-inner p {
    color: var(--clr-text-light);
    font-size: var(--fs-md);
    line-height: 1.8;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-md);
    margin-top: var(--sp-xl);
}

/* --- COMBINED SECTION --- */
.combined-section {
    background: var(--clr-surface);
    text-align: center;
}

.combined-inner {
    max-width: 36rem;
    margin-inline: auto;
}

.combined-inner h2 {
    margin-bottom: var(--sp-lg);
}

.combined-inner p {
    color: var(--clr-text-light);
    font-size: var(--fs-md);
    line-height: 1.8;
}

.combined-inner .btn {
    margin-top: var(--sp-xl);
}

/* --- ABOUT PAGE --- */
.about-section {
    background: var(--clr-white);
}

.about-inner {
    max-width: 42rem;
    margin-inline: auto;
}

.about-portrait {
    margin-bottom: var(--sp-xl);
    text-align: center;
}

.about-text h2 {
    margin-bottom: var(--sp-lg);
}

.about-text h3 {
    margin-top: var(--sp-xl);
    margin-bottom: var(--sp-sm);
}

.about-text p {
    color: var(--clr-text-light);
    font-size: var(--fs-md);
    line-height: 1.8;
}

/* --- VALUES --- */
.values-section {
    background: var(--clr-bg);
}

.values-grid {
    display: grid;
    gap: var(--sp-lg);
    grid-template-columns: 1fr;
}

.value-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    border: 1px solid var(--clr-border);
}

.value-card h3 {
    color: var(--clr-primary);
    margin-bottom: var(--sp-sm);
}

.value-card p {
    color: var(--clr-text-light);
    font-size: var(--fs-sm);
}

/* --- PRACTICAL INFO --- */
.practical-section {
    background: var(--clr-surface);
}

.practical-inner h2 {
    text-align: center;
    margin-bottom: var(--sp-2xl);
}

.practical-grid {
    display: grid;
    gap: var(--sp-lg);
    grid-template-columns: 1fr;
}

.practical-item {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
}

.practical-item h3 {
    color: var(--clr-primary);
    margin-bottom: var(--sp-sm);
    font-size: var(--fs-lg);
}

.practical-item p {
    color: var(--clr-text-light);
    font-size: var(--fs-sm);
}

.practical-item a {
    font-weight: var(--fw-medium);
}

/* --- CONTACT PAGE --- */
.contact-section {
    background: var(--clr-white);
    padding: var(--sp-2xl) 0 var(--sp-3xl);
}

.contact-grid {
    display: grid;
    gap: var(--sp-2xl);
    grid-template-columns: 1fr;
}

/* Form */
.contact-form-wrap {
    order: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

.form-field label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    margin-bottom: var(--sp-xs);
    color: var(--clr-text);
}

.required {
    color: var(--clr-error);
}

.optional {
    font-weight: var(--fw-normal);
    color: var(--clr-text-light);
    font-size: var(--fs-xs);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem var(--sp-md);
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--clr-text);
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(107,127,94,0.15);
}

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

.form-field textarea {
    resize: vertical;
    min-height: 8rem;
}

.has-error {
    border-color: var(--clr-error) !important;
}

.field-error {
    display: block;
    margin-top: var(--sp-xs);
    font-size: var(--fs-xs);
    color: var(--clr-error);
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.gdpr-note {
    font-size: var(--fs-xs);
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* Alerts */
.alert {
    padding: var(--sp-md) var(--sp-lg);
    border-radius: var(--radius);
    margin-bottom: var(--sp-lg);
}

.alert-success {
    background: #EDF7ED;
    border: 1px solid var(--clr-success);
    color: var(--clr-success);
}

.alert-error {
    background: #FDEDED;
    border: 1px solid var(--clr-error);
    color: var(--clr-error);
}

/* Sidebar */
.contact-sidebar {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

.contact-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
}

.contact-card h2,
.contact-card h3 {
    margin-bottom: var(--sp-md);
    font-size: var(--fs-lg);
}

.contact-item {
    display: flex;
    gap: var(--sp-md);
    align-items: flex-start;
    margin-bottom: var(--sp-md);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--clr-primary);
    margin-top: 0.15rem;
}

.contact-item strong {
    display: block;
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-xs);
}

.contact-item a,
.contact-item p {
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
}

.contact-item a:hover {
    color: var(--clr-primary);
}

/* Map */
.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: var(--sp-sm);
}

.map-embed iframe {
    display: block;
}

/* Social in contact */
.social-links-contact {
    display: flex;
    gap: var(--sp-sm);
}

/* --- FOOTER --- */
.site-footer {
    background: var(--clr-text);
    color: rgba(253,250,245,0.8);
    padding-top: var(--sp-3xl);
}

.footer-inner {
    display: grid;
    gap: var(--sp-xl);
    grid-template-columns: 1fr;
    padding-bottom: var(--sp-2xl);
}

.footer-logo {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-semi);
    color: var(--clr-text-inv);
}

.footer-tagline {
    font-size: var(--fs-sm);
    margin-top: var(--sp-xs);
    opacity: 0.7;
}

.footer-contact h3,
.footer-links h3,
.footer-social h3 {
    color: var(--clr-text-inv);
    font-size: var(--fs-sm);
    font-family: var(--ff-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--sp-md);
}

.footer-contact address p {
    font-size: var(--fs-sm);
    margin-top: var(--sp-xs);
}

.footer-contact a {
    color: rgba(253,250,245,0.8);
}
.footer-contact a:hover {
    color: var(--clr-text-inv);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: rgba(253,250,245,0.8);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--clr-text-inv);
}

.social-links {
    display: flex;
    gap: var(--sp-md);
}

.social-links a {
    color: rgba(253,250,245,0.7);
    transition: color var(--transition);
}
.social-links a:hover {
    color: var(--clr-text-inv);
}

.footer-bottom {
    border-top: 1px solid rgba(253,250,245,0.1);
    padding: var(--sp-lg) 0;
}

.footer-bottom p {
    font-size: var(--fs-xs);
    opacity: 0.6;
    text-align: center;
}

/* --- 404 PAGE --- */
.error-section {
    padding: var(--sp-4xl) 0;
    text-align: center;
}

.error-inner h1 {
    font-size: 6rem;
    color: var(--clr-primary-lt);
    line-height: 1;
    margin-bottom: var(--sp-md);
}

.error-heading {
    font-family: var(--ff-heading);
    font-size: var(--fs-2xl);
    margin-bottom: var(--sp-md);
}

.error-text {
    color: var(--clr-text-light);
    max-width: 30rem;
    margin-inline: auto;
    margin-bottom: var(--sp-xl);
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: var(--sp-md);
}

/* ==========================================================================
   RESPONSIVE — Tablet (600px+)
   ========================================================================== */
@media (min-width: 37.5em) {
    :root {
        --container-pad: 2rem;
    }

    h1 { font-size: var(--fs-4xl); }

    .hero-heading {
        font-size: var(--fs-4xl);
    }

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

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .practical-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    /* Treatment cards 2-col on tablet */
    .treatment-card {
        grid-template-columns: 1fr 1fr;
    }

    .treatment-card--reverse {
        direction: rtl;
    }
    .treatment-card--reverse > * {
        direction: ltr;
    }

    /* About teaser side-by-side */
    .about-teaser-inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-teaser-img {
        flex-shrink: 0;
    }

    /* About page portrait floats beside intro text */
    .about-portrait {
        float: left;
        margin: 0 var(--sp-xl) var(--sp-md) 0;
        max-width: 14rem;
    }
}

/* ==========================================================================
   RESPONSIVE — Desktop (900px+)
   ========================================================================== */
@media (min-width: 56.25em) {
    /* Desktop nav */
    .menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .nav-link {
        font-size: var(--fs-sm);
        padding: var(--sp-sm) var(--sp-md);
        border-bottom: none;
    }

    .nav-cta {
        margin-top: 0;
        margin-left: var(--sp-sm);
    }

    .header-phone {
        display: flex;
    }

    body.nav-open::before {
        display: none;
    }

    /* Hero */
    .hero {
        padding: var(--sp-4xl) 0;
    }

    .hero-heading {
        font-size: 3.5rem;
    }

    .hero-text {
        font-size: var(--fs-lg);
    }

    /* Cards - 3 behandlinger */
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr 22rem;
    }

    .contact-sidebar {
        order: 2;
    }

    /* Treatment cards wider image on desktop */
    .treatment-card {
        grid-template-columns: 20rem 1fr;
        gap: var(--sp-3xl);
    }

    /* About page portrait bigger on desktop */
    .about-portrait {
        max-width: 16rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
    .site-header,
    .cta-section,
    .menu-toggle,
    .hero-actions,
    .map-embed,
    .site-footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ==========================================================================
   FOR BØRN OG UNGE  - landing page + cross-links
   ========================================================================== */

/* Forsiden: hovedfokus-sektion der peger på /born-og-unge */
.youth-focus-section {
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.youth-focus-inner {
    max-width: 50rem;
    text-align: center;
}

.youth-focus-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--fs-sm);
    color: var(--clr-accent);
    margin-bottom: var(--sp-md);
}

.youth-focus-inner h2 {
    margin-bottom: var(--sp-lg);
}

.youth-focus-inner p {
    margin-bottom: var(--sp-md);
}

.youth-focus-inner .btn {
    margin-top: var(--sp-lg);
}

/* Behandlingssiden: cross-link nederst */
.youth-crosslink-section {
    background: var(--clr-surface-alt);
    border-top: 1px solid var(--clr-border);
}

.youth-crosslink-inner {
    max-width: 44rem;
    text-align: center;
}

.youth-crosslink-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--fs-sm);
    color: var(--clr-accent);
    margin-bottom: var(--sp-sm);
}

.youth-crosslink-inner h2 {
    margin-bottom: var(--sp-md);
    font-size: var(--fs-2xl);
}

.youth-crosslink-inner p {
    margin-bottom: var(--sp-lg);
}

/* /born-og-unge: hero */
.youth-hero {
    background: linear-gradient(180deg, var(--clr-surface) 0%, var(--clr-bg) 100%);
    text-align: center;
    padding-bottom: var(--sp-3xl);
}

.youth-hero .hero-eyebrow {
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-md);
}

.youth-hero h1 {
    margin-bottom: var(--sp-lg);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.youth-intro {
    max-width: 38rem;
    margin: 0 auto var(--sp-xl);
    font-size: var(--fs-md);
}

.youth-hero .hero-actions {
    justify-content: center;
}

/* /born-og-unge: tekst-sektioner */
.youth-section {
    padding: var(--sp-3xl) 0;
}

.youth-section--alt {
    background: var(--clr-surface);
}

.youth-prose {
    max-width: 44rem;
}

.youth-prose h2 {
    margin-bottom: var(--sp-lg);
}

.youth-prose h3 {
    margin-top: var(--sp-xl);
    margin-bottom: var(--sp-sm);
    font-size: var(--fs-xl);
}

.youth-prose p {
    margin-bottom: var(--sp-md);
}

.youth-prose .tag-list {
    margin-top: var(--sp-lg);
}

.youth-lead {
    font-size: var(--fs-md);
    color: var(--clr-text-light);
    margin-bottom: var(--sp-xl);
    font-style: italic;
}

.youth-note {
    background: var(--clr-bg);
    border-left: 3px solid var(--clr-secondary);
    padding: var(--sp-md) var(--sp-lg);
    margin-top: var(--sp-xl);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.youth-note strong {
    color: var(--clr-text);
}

.youth-list {
    list-style: none;
    margin: var(--sp-md) 0 var(--sp-lg);
    padding: 0;
}

.youth-list li {
    position: relative;
    padding-left: var(--sp-lg);
    margin-bottom: var(--sp-sm);
}

.youth-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--clr-primary);
}

/* Modality-kort i "Sådan foregår en behandling" */
.youth-modality {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    margin-bottom: var(--sp-lg);
}

.youth-modality h3 {
    margin-top: 0;
    margin-bottom: var(--sp-sm);
    color: var(--clr-primary-dk);
}

.youth-modality p {
    margin-bottom: 0;
}

/* Trygheds-strip */
.youth-trust {
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.youth-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
}

.youth-trust-list li {
    text-align: center;
    padding: var(--sp-md);
}

.youth-trust-list strong {
    display: block;
    color: var(--clr-primary-dk);
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-xs);
}

.youth-trust-list span {
    color: var(--clr-text-light);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

/* Tablet og opefter */
@media (min-width: 48rem) {
    .youth-trust-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 64rem) {
    .youth-trust-list {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--sp-md);
    }

    .youth-modality {
        padding: var(--sp-xl) var(--sp-2xl);
    }
}
