/* ===========================================================================
   Breathwork Nordsee V2 — subpage compat re-skin
   Maps the legacy subpage classes (header/hero/section/card/faq/blog/footer)
   onto the new light Nordsee system (Imbue / Albert Sans, sea-mist palette).
   Replaces relaunch.css on all subpages. Loaded AFTER base.css.
   =========================================================================== */

:root {
  --bg: #f5eee3; --surface: #ede0cd; --surface-2: #e3d3bb;
  --ink: #1d2c2a; --muted: #5d685f; --accent: #1fb0a2; --accent-ink: #0a2b27; --sea: #0c7d71;
  --font-display: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-text: "DM Sans", system-ui, -apple-system, sans-serif;
  --margin: clamp(1.15rem, 3.4vw, 3.1rem);
  --maxw: 72rem;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: 1.1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: none; font-weight: 700; letter-spacing: -.02em; line-height: 1.02; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
p { margin: 0 0 1rem; max-width: 65ch; }
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.text-center { text-align: center; }
.text-center p, .section-header p { margin-inline: auto; }

/* ---- header / nav ---- */
.header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: none; }
.header-container { max-width: var(--maxw); margin-inline: auto; padding: .9rem var(--margin); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { height: 2.3rem; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-links { list-style: none; display: flex; gap: clamp(1rem, 2vw, 1.8rem); margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--ink); font-size: .98rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.btn-nav-cta { background: var(--accent); color: var(--accent-ink) !important; padding: .55rem 1.1rem; }
.btn-nav-cta:hover { background: var(--sea); text-decoration: none; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 26px; height: 2px; background: var(--ink); display: block; }
@media (max-width: 52em){
  .nav-links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; transform: translateY(-100%); transition: transform .4s ease; }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--bg); font-size: 1.6rem; }
  .menu-toggle { display: flex; z-index: 40; }
}

/* ---- hero ---- */
.hero { background: var(--surface); padding: clamp(3rem,8vw,6rem) 0 clamp(2.5rem,6vw,4.5rem); }
.hero-container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.hero-content { max-width: 40ch; }
.hero-headline { color: var(--ink); }
.hero-subheadline { font-family: var(--font-text); text-transform: none; font-weight: 400; font-size: clamp(1.15rem,1rem+.5vw,1.4rem); color: var(--muted); max-width: 48ch; line-height: 1.5; }

/* ---- sections ---- */
.section, section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-white { background: var(--bg); }
.section-light { background: var(--surface); }
.section-header { max-width: 42rem; margin: 0 auto clamp(2rem,4vw,3rem); }
.section-header.text-center { text-align: center; }

/* ---- cards / boxes ---- */
.card, .info-box, .resource-card, .blog-preview-card, .exercise-item, .trust-badge {
  background: var(--surface); border-radius: 16px; padding: clamp(1.3rem,2.5vw,2rem); border: 0;
}
.section-light .card, .section-light .info-box, .section-light .resource-card, .section-light .blog-preview-card { background: var(--bg); }
.card h3, .resource-card h3, .blog-preview-card h3 { margin-top: 0; }
.info-box { border-left: 4px solid var(--accent); }
.trust-badges-grid, .footer-trust-badges { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.trust-badge { padding: .8rem 1.1rem; font-size: .95rem; font-weight: 500; }

/* grids where legacy used them */
.card, .resource-card, .blog-preview-card { margin-bottom: 1.2rem; }

/* ---- check-list ---- */
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: .7rem; height: .7rem; background: var(--accent); border-radius: 50%; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; font-weight: 600; font-size: .98rem; border-radius: 16px; border: 0; cursor: pointer; text-decoration: none; transition: background-color .18s ease, color .18s ease, transform .14s ease; }
.btn:active { transform: scale(.97); }
.btn:hover { text-decoration: none; }
.btn-primary, .btn.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--sea); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-large { min-height: 3.4rem; padding: 0 2rem; }

/* ---- faq ---- */
.faq-category-title { margin-top: 2.5rem; }
.faq-item { background: var(--surface); margin-bottom: .7rem; padding: 0; }
.section-light .faq-item { background: var(--bg); }
.faq-question { width: 100%; text-align: left; background: none; border: 0; padding: 1.1rem 1.3rem; font-family: var(--font-text); font-weight: 600; font-size: 1.1rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-answer { padding: 0 1.3rem 1.1rem; color: var(--muted); }
.toggle-icon { color: var(--accent); flex: 0 0 auto; }

/* ---- blog ---- */
.blog-preview-card { display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: .8rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; flex-wrap: wrap; }
.blog-category { background: var(--accent); color: var(--accent-ink); padding: .2rem .6rem; font-weight: 600; font-size: .78rem; text-transform: none; letter-spacing: .03em; }
.blog-date, .reading-time { color: var(--muted); }

/* ---- exercises ---- */
.exercise-header { display: flex; align-items: baseline; gap: .8rem; }
.exercise-steps { padding-left: 1.2rem; }
.exercise-steps li { margin-bottom: .5rem; }
.exercise-tip { background: var(--surface-2); padding: 1rem 1.2rem; margin-top: 1rem; font-size: .95rem; }

/* ---- forms ---- */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; min-height: 3rem; padding: .7rem .9rem; background: var(--bg); border: 1.5px solid var(--surface-2); border-radius: 16px; font: inherit; color: var(--ink); }
.section-light .form-group input, .section-light .form-group textarea { background: #fff; }
.form-group textarea { min-height: 7rem; }

/* ---- footer ---- */
.footer { background: var(--ink); color: var(--bg); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer a { color: var(--bg); opacity: .9; }
.footer a:hover { opacity: 1; }
.footer-content { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; }
.footer-logo img { height: 2.4rem; filter: brightness(0) invert(1); opacity: .9; }
.footer-column h4 { color: var(--bg); font-family: var(--font-text); text-transform: none; font-size: 1rem; opacity: .7; margin-bottom: .8rem; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: .5rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.5rem var(--margin) 0; font-size: .85rem; opacity: .6; }

/* ---- floats / a11y ---- */
.whatsapp-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 25; }
.phone-sticky-mobile { background: var(--accent); color: var(--accent-ink); }
.a11y-toggle, .a11y-option { font-size: .95rem; }
.a11y-btn { background: var(--surface); color: var(--ink); border: 1.5px solid var(--surface-2); }

/* kill any leftover gradients/shadows from inline legacy styles */
.hero, .section, .card, .btn { box-shadow: none; }


/* warm & relaxed polish (subpages) */
html { scroll-behavior: smooth; }
.btn, .btn-primary, .btn-secondary, .btn-nav-cta { border-radius: 999px !important; }
.card, .info-box, .resource-card, .blog-preview-card, .exercise-item,
.trust-badge, .faq-item, img, .hero { border-radius: 16px; }
.header, .footer, .btn, .nav-links { border-radius: 0; }
.footer-logo img, .logo img { border-radius: 0; }
.btn, .card, .resource-card, .blog-preview-card { transition: transform .45s cubic-bezier(.22,.61,.36,1), background-color .2s ease, color .2s ease; }
@media (hover:hover){ .btn:hover { transform: translateY(-2px); } }

/* --- blog / article (2026-11-06) --- */
.tpcms-article .hero, .tpcms-bloglist .hero { padding-bottom: clamp(1.5rem,3vw,2.5rem); }
.article-body { max-width: 44rem; margin: 0 auto; font-size: 1.12rem; line-height: 1.72; }
.article-body h2 { margin: 1.8em 0 .5em; font-size: clamp(1.4rem,1.1rem+1vw,1.9rem); }
.article-body p { margin: 0 0 1.1em; }
.article-body ul { margin: 0 0 1.2em 1.2em; }
.article-body li { margin-bottom: .5em; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.article-cta { max-width: 44rem; margin: 2.5rem auto; background: var(--surface); border-radius: 18px; padding: clamp(1.4rem,3vw,2.2rem); }
.article-cta h2 { margin-top: 0; }
.article-related { max-width: 44rem; margin: 2.5rem auto 0; }
.article-related > h2 { margin-bottom: 1rem; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem,1fr)); gap: 1.2rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem,1fr)); gap: 1.4rem; }
.rel-card, .post-card { display: block; background: var(--surface); border-radius: 16px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .4s ease; }
.rel-card img, .post-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.rel-t { display: block; padding: .8rem 1rem; font-weight: 600; }
.post-card-b { padding: 1rem 1.1rem 1.3rem; }
.post-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--sea); font-weight: 700; }
.post-card h2 { margin: .3rem 0 .4rem; font-size: 1.2rem; line-height: 1.25; }
.post-card p { margin: 0 0 .6rem; color: var(--muted); font-size: .97rem; }
.post-more { color: var(--sea); font-weight: 600; font-size: .95rem; }
@media (hover:hover){ .post-card:hover, .rel-card:hover { transform: translateY(-3px); } }


/* --- brand lockup (2026-11-07) --- */
.logo a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.logo .brand-mark { height: 2rem; width: auto; display: block; }
.logo .brand-word { font-family: "DM Sans", system-ui, sans-serif; font-weight: 500; font-size: 1.05rem; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.logo .brand-word b { font-weight: 700; }
