/* ============================================================
   Barbara Gschwendtner – Praxis für Psychotherapie
   Calm, warm, professional. Palette derived from the logo's
   dusty-mauve mark on warm cream neutrals.
   ============================================================ */

:root {
    --cream:      #FAF6F1;
    --cream-2:    #F4ECE4;
    --sand:       #ECE0D4;
    --rose:       #BE96A0;
    --rose-600:   #A1737E;
    --rose-700:   #875F69;
    --rose-100:   #EFE0E2;
    --sage:       #8FA088;
    --sage-100:   #E4EADF;
    --ink:        #433D3B;
    --ink-soft:   #5A524F;
    --muted:      #877C76;
    --line:       #E7DCD2;
    --white:      #FFFFFF;

    --shadow-sm:  0 2px 10px rgba(70, 55, 50, 0.06);
    --shadow-md:  0 18px 50px rgba(80, 60, 55, 0.12);

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans:  "Mulish", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --maxw: 1140px;
    --radius: 18px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-soft);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1.15em; }

a { color: var(--rose-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rose-700); }

strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .01em;
    color: #fff;
    background: var(--rose-600);
    padding: .85rem 1.8rem;
    border-radius: 999px;
    border: 1px solid var(--rose-600);
    transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
    box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--rose-700); border-color: var(--rose-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-small { padding: .55rem 1.15rem; font-size: .92rem; box-shadow: none; }
.btn-ghost {
    background: transparent; color: var(--rose-700); border-color: var(--rose);
    box-shadow: none;
}
.btn-ghost:hover { background: var(--rose-100); color: var(--rose-700); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 246, 241, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; min-height: 78px;
}
.brand img { height: 42px; width: auto; }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.site-nav a {
    display: inline-block;
    font-weight: 500; font-size: .98rem;
    color: var(--ink-soft);
    padding: .5rem .8rem; border-radius: 999px;
    transition: color .2s ease, background .2s ease;
}
.site-nav a:hover { color: var(--rose-700); background: var(--rose-100); }
.site-nav a[aria-current="page"] { color: var(--rose-700); }
.nav-cta { margin-left: .4rem; }
.nav-cta a { color: #fff; }
.nav-cta a:hover { color: #fff; background: var(--rose-700); }

.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 80% -10%, var(--rose-100), transparent 60%),
        linear-gradient(180deg, var(--cream), var(--cream-2));
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero h1 { margin-bottom: .7rem; }
.hero .lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.hero-figure {
    position: relative;
}
.hero-figure img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 5 / 5.2;
}
.hero-figure::after {
    content: "";
    position: absolute; inset: auto -18px -18px auto;
    width: 62%; height: 62%;
    border: 1.5px solid var(--rose);
    border-radius: var(--radius);
    z-index: -1;
    opacity: .5;
}

.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 600; font-size: .78rem;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--rose-600);
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: var(--cream-2); }
.section--sand { background: var(--sand); }
.section--rose { background: var(--rose-100); }

.section-head { max-width: 56ch; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

.measure { max-width: 68ch; }
.measure-narrow { max-width: 58ch; }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

.signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--rose-700);
    margin-top: 1.5rem;
}

/* ---------- Split / media rows ---------- */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    aspect-ratio: 4 / 3.3;
    object-fit: cover;
}
.split-media.portrait img { aspect-ratio: 4 / 5; }

/* ---------- Cards ---------- */
.card-grid {
    display: grid; gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--ink); margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--rose-100); color: var(--rose-700);
    margin-bottom: 1.1rem;
}
.card .card-icon svg { width: 24px; height: 24px; }

/* ---------- Topics / chips ---------- */
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .65rem; }
.chip-list li {
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: .55rem 1.1rem;
    border-radius: 999px;
    font-size: .96rem;
}

/* ---------- Feature list with check marks ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
    content: "";
    position: absolute; left: 0; top: .55em;
    width: 12px; height: 7px;
    border-left: 2px solid var(--rose-600);
    border-bottom: 2px solid var(--rose-600);
    transform: rotate(-45deg);
}

.methods-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.methods-list li { padding-left: 1.4rem; position: relative; }
.methods-list li::before {
    content: ""; position: absolute; left: 0; top: .7em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}

/* ---------- Service / price blocks ---------- */
.stack { display: grid; gap: 1.4rem; }
.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--rose);
    border-radius: var(--radius);
    padding: 1.8rem 2rem;
    box-shadow: var(--shadow-sm);
}
.panel h3 { margin-bottom: .4rem; }
.panel p:last-child { margin-bottom: 0; }

/* ---------- Quote / pull ---------- */
.pull {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.35;
    color: var(--ink);
    max-width: 24ch;
    margin: 0;
}
.pull .pull-mark { color: var(--rose); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci {
    flex: none; width: 38px; height: 38px; border-radius: 10px;
    background: var(--rose-100); color: var(--rose-700);
    display: grid; place-items: center;
}
.contact-list .ci svg { width: 19px; height: 19px; }
.contact-list a { font-weight: 600; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(900px 400px at 10% 0%, var(--rose-100), transparent 60%),
        var(--cream-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: var(--muted); max-width: 48ch; margin: 0 auto 1.8rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background:
        radial-gradient(1000px 420px at 85% -20%, var(--rose-100), transparent 60%),
        linear-gradient(180deg, var(--cream), var(--cream-2));
    padding: clamp(3rem, 6vw, 4.8rem) 0 clamp(2.2rem, 4vw, 3.2rem);
    border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero p { max-width: 56ch; color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 0; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; color: var(--rose-700); }
.prose > :first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9CFC9; padding: 3.5rem 0 1.8rem; margin-top: 0; }
.site-footer a { color: #E8D9DC; }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
}
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.footer-col p { margin-bottom: .6rem; font-size: .96rem; line-height: 1.65; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .92; height: 40px; width: auto; margin-bottom: 1rem; }
.footer-note { font-size: .85rem !important; color: #B5A8A2; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 2.5rem; padding-top: 1.4rem;
    font-size: .85rem; color: #B5A8A2;
}
.footer-bottom p { margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead-spacer { margin-top: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-figure { max-width: 460px; margin: 0 auto; order: -1; }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav-burger {
        display: inline-flex; flex-direction: column; gap: 5px;
        width: 44px; height: 44px; align-items: center; justify-content: center;
        cursor: pointer; border-radius: 10px;
    }
    .nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--cream); border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
        box-shadow: var(--shadow-md);
    }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1rem 1.2rem; }
    .site-nav li { width: 100%; }
    .site-nav a { display: block; padding: .8rem .6rem; border-radius: 8px; }
    .nav-cta { margin: .6rem 0 0; }
    .nav-cta a { text-align: center; }
    .nav-toggle:checked ~ .site-nav { max-height: 420px; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-figure::after { display: none; }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.in { opacity: 1; transform: none; }
}
