/*
Theme Name: Nähe zu dir
Template: hello-elementor
Description: Ruhiges Design in Sandtönen mit dunkelgrüner Schrift für „Nähe zu dir“.
Author: Lissa Harm
Version: 1.4.4
Text Domain: naehe-zu-dir
*/

/* ---------- Schriften (lokal gespeichert) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-latin-700-normal.woff2") format("woff2"); }

/* ---------- Farben & Maße ---------- */
:root {
  --sand-50:  #FCF9F3;
  --sand-100: #F6EFE3;
  --sand-200: #EDE2CF;
  --sand-300: #DFCFB3;
  --sand-400: #C9B28C;
  --sand-500: #A8906A;
  --green-950: #18291F;
  --green-900: #1F3528;
  --green-800: #2A4434;
  --green-700: #3A5A45;
  --green-600: #4E705A;
  --white: #FFFFFF;

  --bg: var(--sand-100);
  --text: var(--green-800);
  --heading: var(--green-900);
  --muted: #5B6E60;

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --s1: 0.5rem; --s2: 0.75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 4.5rem; --s8: 6.5rem;
  --radius: 18px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(31,53,40,.05), 0 8px 24px rgba(31,53,40,.07);
  --shadow-hover: 0 2px 4px rgba(31,53,40,.06), 0 16px 36px rgba(31,53,40,.12);
  --wrap: 1160px; --text-w: 720px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------- Grundlage ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, body.elementor-kit-20 {
  margin: 0; background: var(--bg) !important; color: var(--text) !important;
  font-family: var(--font-body) !important; font-size: 1.0625rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--green-950); }
:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sand-300); color: var(--green-950); }

h1, h2, h3, h4, h5, h6,
body .elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-head) !important; color: var(--heading) !important;
  font-weight: 600; line-height: 1.15; letter-spacing: -0.005em; margin: 0 0 var(--s3);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
p { margin: 0 0 var(--s4); }

.nzd-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.nzd-wrap--text { max-width: calc(var(--text-w) + 2 * var(--gutter)); }
.nzd-center { text-align: center; margin-top: var(--s6); }
.nzd-skip { position: absolute; left: -9999px; top: 0; background: var(--green-900); color: var(--white); padding: .6rem 1rem; z-index: 1000; }
.nzd-skip:focus { left: 1rem; top: 1rem; }

/* Hello-Theme-Reste ausblenden */
.site-header:not(.nzd-header), .site-footer:not(.nzd-footer), .page-header .entry-title { display: none !important; }

/* ---------- Kleine Bausteine ---------- */
.nzd-eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sand-500); margin-bottom: var(--s2);
}
.nzd-eyebrow--link { text-decoration: none; }
.nzd-eyebrow--link:hover { color: var(--green-700); }
.nzd-lead { font-size: clamp(1.15rem, 2vw, 1.3rem); line-height: 1.6; color: var(--green-900); }

.nzd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px;
  background: var(--green-800); color: var(--sand-50) !important; border: 1.5px solid var(--green-800);
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nzd-btn:hover { background: var(--green-950); border-color: var(--green-950); transform: translateY(-1px); box-shadow: var(--shadow); }
.nzd-btn--ghost { background: transparent; color: var(--green-800) !important; border-color: var(--sand-400); }
.nzd-btn--ghost:hover { background: var(--sand-50); border-color: var(--green-800); }
.nzd-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

/* ---------- Kopfzeile ---------- */
.nzd-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,239,227,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.admin-bar .nzd-header { top: 32px; }
.nzd-header.is-scrolled { border-bottom-color: var(--sand-300); box-shadow: 0 6px 20px rgba(31,53,40,.06); }
.nzd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 76px; }
.nzd-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--green-900); }
.nzd-logo__mark { font-size: 1.5rem; color: var(--sand-500); line-height: 1; }
.nzd-logo__text { font-family: var(--font-head); font-weight: 600; font-size: 1.65rem; letter-spacing: .01em; line-height: 1; }
.nzd-logo:hover { color: var(--green-950); }

.nzd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .35rem; }
.nzd-nav__list > li { position: relative; }
.nzd-nav__list a {
  display: block; padding: .55rem .95rem; border-radius: 999px; text-decoration: none;
  color: var(--green-800); font-weight: 700; font-size: .97rem; transition: background .2s ease, color .2s ease;
}
.nzd-nav__list a:hover, .nzd-nav__list .current-menu-item > a, .nzd-nav__list .current-menu-ancestor > a, .nzd-nav__list .current_page_item > a { background: var(--sand-200); color: var(--green-950); }
.nzd-nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.nzd-nav__list .sub-menu {
  list-style: none; margin: 0; padding: .5rem; position: absolute; left: 0; top: calc(100% + .35rem); min-width: 290px;
  background: var(--sand-50); border: 1px solid var(--sand-200); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nzd-nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.5rem; height: .5rem; }
.nzd-nav__list li:hover > .sub-menu, .nzd-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nzd-nav__list .sub-menu a { border-radius: 8px; font-weight: 400; padding: .6rem .85rem; }

.nzd-menu-toggle { display: none; }

@media (max-width: 900px) {
  .nzd-header__inner { min-height: 66px; }
  .nzd-logo__text { font-size: 1.45rem; }
  .nzd-menu-toggle {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem;
    background: transparent; border: 1.5px solid var(--sand-300); border-radius: 999px; cursor: pointer;
    color: var(--green-900); font: 700 .92rem var(--font-body);
  }
  .nzd-menu-toggle__bars, .nzd-menu-toggle__bars::before, .nzd-menu-toggle__bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nzd-menu-toggle__bars { position: relative; }
  .nzd-menu-toggle__bars::before, .nzd-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nzd-menu-toggle__bars::before { top: -6px; } .nzd-menu-toggle__bars::after { top: 6px; }
  .nzd-nav-open .nzd-menu-toggle__bars { background: transparent; }
  .nzd-nav-open .nzd-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nzd-nav-open .nzd-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nzd-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--sand-50); border-bottom: 1px solid var(--sand-300); box-shadow: 0 18px 30px rgba(31,53,40,.1);
    padding: var(--s3) var(--gutter) var(--s5); max-height: calc(100vh - 66px); overflow-y: auto;
    display: none;
  }
  .nzd-nav-open .nzd-nav { display: block; }
  .nzd-nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nzd-nav__list a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nzd-nav__list .menu-item-has-children > a::after { display: none; }
  .nzd-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 .4rem 1rem; min-width: 0; }
  .nzd-nav__list .sub-menu a { font-size: 1rem; color: var(--muted); }
}

/* ---------- Bereiche ---------- */
.nzd-main { display: block; }
.nzd-section { padding: var(--s8) 0; }
.nzd-section--first { padding-top: var(--s7); }
.nzd-section--tint { background: var(--sand-200); }
.nzd-section__head { max-width: 680px; margin: 0 auto var(--s6); text-align: center; }
.nzd-section__head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.nzd-section__head--page h1 { margin-bottom: var(--s3); }

/* Hero */
.nzd-hero { position: relative; overflow: hidden; padding: var(--s7) 0 var(--s8); }
.nzd-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(201,178,140,.35), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(223,207,179,.5), transparent 70%);
}
.nzd-hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s6); align-items: center; }
.nzd-hero__title { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.05; margin-bottom: var(--s4); }
.nzd-hero__text p:not(.nzd-lead) { color: var(--muted); max-width: 560px; }
.nzd-hero__art {
  aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius);
  background: var(--sand-200) url("/wp-content/uploads/161CC182-C9E3-4E51-9527-CCF9E5A480CC.png") center / cover no-repeat;
  box-shadow: var(--shadow-hover); border: 10px solid var(--sand-50);
}
@media (max-width: 900px) {
  .nzd-hero { padding: var(--s6) 0 var(--s7); }
  .nzd-hero__inner { grid-template-columns: 1fr; gap: var(--s5); }
  .nzd-hero__art { display: none; }
}

/* Themenkarten */
.nzd-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.nzd-topic {
  display: flex; flex-direction: column; padding: var(--s5); border-radius: var(--radius);
  background: var(--sand-50); border: 1px solid var(--sand-200); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nzd-topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--sand-300); color: var(--text); }
.nzd-topic__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sand-200); color: var(--green-700); font-size: 1.45rem; margin-bottom: var(--s4); }
.nzd-topic__title { margin-bottom: var(--s2); }
.nzd-topic__text { color: var(--muted); flex: 1; }
.nzd-topic__more, .nzd-card__more { font-weight: 700; color: var(--green-700); font-size: .95rem; }
.nzd-topic__more span, .nzd-card__more span { display: inline-block; transition: transform .2s ease; }
.nzd-topic:hover .nzd-topic__more span, .nzd-card__link:hover .nzd-card__more span { transform: translateX(4px); }

/* Warum-Bereich */
.nzd-why { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s7); align-items: center; }
.nzd-why__quote { position: relative; padding: var(--s6) var(--s5); border-radius: var(--radius); background: var(--green-800); color: var(--sand-100); box-shadow: var(--shadow-hover); }
.nzd-why__quote::before { content: "\2766\FE0E"; position: absolute; top: var(--s4); right: var(--s4); color: var(--sand-400); font-size: 1.6rem; }
.nzd-why__quote p { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.25; margin-bottom: var(--s4); color: var(--sand-50); }
.nzd-why__quote span { color: var(--sand-400); font-weight: 700; letter-spacing: .06em; }
.nzd-why__text p { color: var(--text); }
.nzd-why__text .nzd-btn { margin-top: var(--s2); }

/* Beitragskarten */
.nzd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.nzd-card { height: 100%; }
.nzd-card__link {
  display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden;
  background: var(--sand-50); border: 1px solid var(--sand-200); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease;
}
.nzd-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--text); }
.nzd-card__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nzd-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s5) var(--s5) var(--s4); border-top: 4px solid var(--sand-300); }
.nzd-card__title { font-size: 1.45rem; margin-bottom: var(--s3); }
.nzd-card__text { color: var(--muted); font-size: 1rem; line-height: 1.65; flex: 1; margin-bottom: var(--s4); }
.nzd-card__meta { font-size: .85rem; color: var(--sand-500); margin-bottom: var(--s3); }

@media (max-width: 1024px) { .nzd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  :root { --s7: 3.25rem; --s8: 4rem; }
  .nzd-topics, .nzd-grid { grid-template-columns: 1fr; }
  .nzd-why { grid-template-columns: 1fr; gap: var(--s5); }
  .nzd-topic { padding: var(--s4); }
  .nzd-card__body { padding: var(--s4); }
  .nzd-section__head { margin-bottom: var(--s5); }
  .nzd-actions .nzd-btn { flex: 1 1 100%; }
}

/* Themen-Filter im Blog */
.nzd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto var(--s6); }
.nzd-chip { padding: .5rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--sand-300); text-decoration: none; color: var(--green-800); font-weight: 700; font-size: .92rem; background: var(--sand-50); }
.nzd-chip:hover { border-color: var(--green-700); color: var(--green-950); }
.nzd-chip.is-active { background: var(--green-800); border-color: var(--green-800); color: var(--sand-50); }
.nzd-pagination { margin-top: var(--s6); text-align: center; }
.nzd-pagination .page-numbers { display: inline-block; padding: .4rem .85rem; margin: 0 .15rem; border-radius: 999px; text-decoration: none; }
.nzd-pagination .current { background: var(--green-800); color: var(--sand-50); }

/* ---------- Beitrag & Seiten ---------- */
.nzd-article { padding-bottom: var(--s7); }
.nzd-article__head { padding-top: var(--s7); padding-bottom: var(--s5); text-align: center; }
.nzd-article__title { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.1; margin-bottom: var(--s3); }
.nzd-article__meta { color: var(--sand-500); font-size: .95rem; margin: 0; }
.nzd-article__head::after { content: "\2766\FE0E"; display: block; margin-top: var(--s4); color: var(--sand-400); font-size: 1.3rem; }
.nzd-article--legal .nzd-article__head::after { display: none; }
.nzd-article__img img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; margin-bottom: var(--s5); }

/* Fließtext – gilt auch für Elementor-Inhalte */
.nzd-prose, .nzd-prose .elementor-widget-text-editor, .nzd-prose .elementor-widget-container {
  color: var(--text) !important; font-family: var(--font-body) !important; font-size: 1.125rem; line-height: 1.8;
}
.nzd-prose .elementor-section, .nzd-prose .e-con, .nzd-prose .elementor-element { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --container-max-width: 100%; padding: 0 !important; margin: 0 !important; background: none !important; }
.nzd-prose p { margin: 0 0 1.35em; }
.nzd-prose h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); margin: 2.2em 0 .6em; }
.nzd-prose h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); margin: 1.9em 0 .5em; }
.nzd-prose h2 strong, .nzd-prose h3 strong { font-weight: inherit; }
.nzd-prose > :first-child, .nzd-prose .elementor-widget-container > :first-child { margin-top: 0; }
.nzd-prose strong { color: var(--green-900); }
.nzd-prose ul, .nzd-prose ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.nzd-prose li { margin-bottom: .5em; padding-left: .2em; }
.nzd-prose li::marker { color: var(--sand-500); }
.nzd-prose p.nzd-li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.nzd-prose p.nzd-li::before { content: ""; position: absolute; left: .35em; top: .78em; width: .45em; height: .45em; border-radius: 50%; background: var(--sand-400); }
.nzd-prose p.nzd-li + p:not(.nzd-li) { margin-top: 1.35em; }
.nzd-prose blockquote, .nzd-prose .wp-block-quote {
  margin: 0 0 1.8em; padding: var(--s4) var(--s5); border: 0; border-left: 4px solid var(--sand-400);
  background: var(--sand-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.2rem; line-height: 1.7; color: var(--green-900); font-style: normal;
}
.nzd-prose blockquote p:last-child { margin-bottom: 0; }
.nzd-prose a { color: var(--green-700); font-weight: 700; }
.nzd-prose hr { border: 0; height: 1px; background: var(--sand-300); margin: 2.5em 0; }
.nzd-prose img { border-radius: var(--radius-sm); }
.nzd-ad { font-size: .8em; vertical-align: super; color: var(--sand-500); margin-left: .1em; cursor: help; }

.nzd-article--legal .nzd-prose { font-size: 1.02rem; line-height: 1.7; }
.nzd-article--legal .nzd-prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.nzd-article--legal .nzd-prose h3 { font-size: 1.25rem; }

.nzd-notice { margin: 0 0 var(--s5); padding: var(--s3) var(--s4); border-radius: var(--radius-sm); background: var(--sand-200); font-size: .95rem; line-height: 1.6; }
.nzd-author { display: flex; gap: var(--s4); align-items: flex-start; margin-top: var(--s6); padding: var(--s5); border-radius: var(--radius); background: var(--sand-50); border: 1px solid var(--sand-200); }
.nzd-author__mark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-800); color: var(--sand-200); font-size: 1.5rem; }
.nzd-author p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.nzd-author .nzd-author__name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--heading); margin-bottom: .25rem; }
@media (max-width: 560px) { .nzd-author { flex-direction: column; padding: var(--s4); } .nzd-prose { font-size: 1.0625rem; } }

/* ---------- Fußzeile ---------- */
.nzd-footer { background: var(--green-900); color: var(--sand-200); padding: var(--s7) 0 var(--s4); }
.nzd-footer a { color: var(--sand-100); text-decoration: none; }
.nzd-footer a:hover { color: var(--white); text-decoration: underline; }
.nzd-footer__grid { display: grid; grid-template-columns: 1.6fr 1.3fr 1fr 1fr; gap: var(--s5); }
.nzd-footer .nzd-logo { color: var(--sand-50); margin-bottom: var(--s3); }
.nzd-footer__brand p { color: var(--sand-300); max-width: 340px; font-size: .98rem; }
.nzd-footer__title { font-family: var(--font-body) !important; color: var(--sand-400) !important; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--s3); }
.nzd-footer__list { list-style: none; margin: 0; padding: 0; }
.nzd-footer__list li { margin-bottom: .55rem; font-size: .98rem; line-height: 1.45; }
.nzd-footer__bottom { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid rgba(223,207,179,.22); display: flex; justify-content: space-between; gap: var(--s4); align-items: flex-start; }
.nzd-footer__note { font-size: .85rem; line-height: 1.6; color: var(--sand-300); max-width: 720px; margin: 0; }
.nzd-footer__copy { font-size: .85rem; color: var(--sand-400); margin: 0; white-space: nowrap; }
@media (max-width: 900px) { .nzd-footer__grid { grid-template-columns: 1fr 1fr; } .nzd-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .nzd-footer__grid { grid-template-columns: 1fr; gap: var(--s4); } .nzd-footer__bottom { flex-direction: column; } .nzd-footer__copy { white-space: normal; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Feinschliff ---------- */
.nzd-prose, .nzd-prose .elementor-widget-text-editor, .nzd-prose p, .nzd-prose h2, .nzd-prose h3, .nzd-prose h4, .nzd-prose li, .nzd-prose blockquote { text-align: left !important; }
.nzd-nav__list .menu-item-type-custom.current-menu-item > a { background: transparent; }
.nzd-nav__list .menu-item-type-custom.current-menu-item > a:hover { background: var(--sand-200); }
.nzd-logo__mark, .nzd-author__mark, .nzd-topic__icon { font-family: "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", sans-serif; font-variant-emoji: text; }

/* ---------- Kontaktformular ---------- */
.nzd-form { margin-top: var(--s5); padding: var(--s5); border-radius: var(--radius); background: var(--sand-50); border: 1px solid var(--sand-200); box-shadow: var(--shadow); }
.nzd-form__row { margin: 0 0 var(--s4); }
.nzd-form label { display: block; font-weight: 700; color: var(--green-900); margin-bottom: .4rem; font-size: 1rem; }
.nzd-form input[type=text], .nzd-form input[type=email], .nzd-form textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--sand-300); border-radius: var(--radius-sm);
  background: var(--white); color: var(--green-900); font: 400 1.05rem/1.5 var(--font-body); transition: border-color .2s ease, box-shadow .2s ease;
}
.nzd-form input:focus, .nzd-form textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(58,90,69,.15); }
.nzd-form textarea { resize: vertical; min-height: 160px; }
.nzd-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nzd-form__hint { font-size: .92rem; color: var(--muted); }
.nzd-form__err { padding: var(--s3) var(--s4); border-radius: var(--radius-sm); background: #F6E3DC; color: #7A2E1D; }
.nzd-form__ok { margin-top: var(--s5); padding: var(--s4) var(--s5); border-radius: var(--radius); background: var(--sand-200); color: var(--green-900); }
@media (max-width: 560px) { .nzd-form { padding: var(--s4); } .nzd-form .nzd-btn { width: 100%; } }

/* ---------- Logo (L mit Herz) ---------- */
.nzd-logo__mark { display: inline-flex; font-size: 0; }
.nzd-logo__svg { width: 44px; height: 44px; color: var(--green-900); display: block; transition: transform .3s ease; }
.nzd-logo:hover .nzd-logo__svg { transform: rotate(-6deg) scale(1.04); }
.nzd-footer .nzd-logo__svg { color: var(--sand-50); width: 48px; height: 48px; }
.nzd-author__mark { background: var(--sand-100); border: 1px solid var(--sand-200); }
.nzd-author__mark .nzd-logo__svg { width: 46px; height: 46px; color: var(--green-900); }
@media (max-width: 900px) { .nzd-logo__svg { width: 40px; height: 40px; } }

/* ---------- Hero ohne Bild: zentriert ---------- */
.nzd-hero { padding: var(--s8) 0; text-align: center; }
.nzd-hero::before {
  background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(201,178,140,.32), transparent 70%),
              radial-gradient(ellipse 40% 50% at 100% 100%, rgba(223,207,179,.45), transparent 70%),
              radial-gradient(ellipse 40% 50% at 0% 90%, rgba(223,207,179,.4), transparent 70%);
}
.nzd-hero__inner { grid-template-columns: 1fr; justify-items: center; }
.nzd-hero__text { max-width: 820px; margin: 0 auto; }
.nzd-hero__title { font-size: clamp(2.6rem, 6.4vw, 4.75rem); margin-bottom: var(--s5); }
.nzd-hero__title::after { content: ""; display: block; width: 72px; height: 2px; margin: var(--s5) auto 0; background: var(--sand-400); border-radius: 2px; }
.nzd-hero .nzd-lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.nzd-hero__text p:not(.nzd-lead) { max-width: 620px; margin-left: auto; margin-right: auto; }
.nzd-hero .nzd-actions { justify-content: center; }
@media (max-width: 760px) {
  .nzd-hero { padding: var(--s7) 0; }
  .nzd-hero__title::after { margin-top: var(--s4); }
}

/* ---------- Version 1.1 (2026-11-07): 6 Themen, Kartenmotive, Inhaltsverzeichnis, Lesefortschritt ---------- */
@media (min-width: 1025px) { .nzd-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.nzd-card__cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--sand-50) 0%, var(--sand-200) 55%, var(--sand-300) 100%); }
.nzd-card__cover::before, .nzd-card__cover::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(168,144,106,.35); }
.nzd-card__cover::before { width: 150px; height: 150px; }
.nzd-card__cover::after { width: 230px; height: 230px; border-color: rgba(168,144,106,.18); }
.nzd-card__cover span { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--sand-50); color: var(--green-700); font-size: 1.75rem; box-shadow: 0 6px 18px rgba(31,53,40,.10); transition: transform .35s ease; }
.nzd-card__link:hover .nzd-card__cover span { transform: scale(1.08) rotate(-4deg); }
.nzd-card__cover + .nzd-card__body { border-top-width: 0; }
.nzd-card__cover--grenzen { background: radial-gradient(120% 140% at 85% 0%, #FBF6EC 0%, #E9DDC6 55%, #D9C7A6 100%); }
.nzd-card__cover--beziehung { background: radial-gradient(120% 140% at 50% 0%, #FCF7EF 0%, #EADFD0 55%, #DCCBB4 100%); }
.nzd-card__cover--trennung { background: radial-gradient(120% 140% at 0% 100%, #F9F4EA 0%, #E6DCC8 55%, #D3C3A5 100%); }
.nzd-card__cover--selbstfuersorge { background: radial-gradient(120% 140% at 80% 100%, #FBF7EF 0%, #E8E0CB 55%, #CFC6A4 100%); }
.nzd-card__cover--ruhe { background: radial-gradient(120% 140% at 50% 100%, #F6F3EA 0%, #DCE0D2 55%, #C3CCB8 100%); }

.nzd-toc { margin: 0 0 var(--s5); border: 1px solid var(--sand-300); border-radius: var(--radius-sm); background: var(--sand-50); font-size: 1rem; }
.nzd-toc summary { cursor: pointer; list-style: none; padding: var(--s3) var(--s4); font-weight: 700; color: var(--green-900); display: flex; justify-content: space-between; gap: var(--s3); align-items: center; }
.nzd-toc summary::-webkit-details-marker { display: none; }
.nzd-toc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--sand-500); }
.nzd-toc[open] summary::after { content: "–"; }
.nzd-toc summary span { margin-left: auto; font-weight: 400; font-size: .88rem; color: var(--sand-500); }
.nzd-toc ol { margin: 0 !important; padding: 0 var(--s4) var(--s4) calc(var(--s4) + 1.2em) !important; }
.nzd-toc li { margin-bottom: .35em; }
.nzd-toc a { font-weight: 400 !important; text-decoration: none; }
.nzd-toc a:hover { text-decoration: underline; }
.nzd-prose h2[id] { scroll-margin-top: 96px; }

.nzd-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.nzd-progress span { display: block; height: 100%; background: var(--sand-500); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .nzd-progress { top: 32px; }

/* Newsletter-Kasten (sichtbar, sobald NZD_NEWSLETTER_URL gesetzt ist) */
.nzd-news { display: flex; gap: var(--s4); align-items: flex-start; margin-top: var(--s5); padding: var(--s5); border-radius: var(--radius); background: var(--green-800); color: var(--sand-100); box-shadow: var(--shadow-hover); }
.nzd-news--start { max-width: 860px; margin: 0 auto; }
.nzd-news__mark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sand-200); color: var(--green-800); font-size: 1.5rem; }
.nzd-news .nzd-eyebrow { color: var(--sand-400); }
.nzd-news__title { color: var(--sand-50) !important; font-size: clamp(1.5rem, 3vw, 2rem); margin: .2em 0 .4em; }
.nzd-news p { color: var(--sand-100); margin: 0 0 var(--s3); }
.nzd-news .nzd-btn, .nzd-news .nzd-btn:visited { background: var(--sand-200) !important; color: var(--green-900) !important; border-color: var(--sand-200) !important; }
.nzd-news .nzd-btn:hover { background: var(--sand-50) !important; color: var(--green-950) !important; }
.nzd-news__hint { font-size: .85rem; margin-top: var(--s3) !important; opacity: .85; }
.nzd-news__hint a { color: var(--sand-200); }
.nzd-section--news { padding-bottom: 0; }
@media (max-width: 560px) { .nzd-news { flex-direction: column; padding: var(--s4); } .nzd-news .nzd-btn { width: 100%; text-align: center; } }

/* ---------- Version 1.3 (2026-11-07): feine Linien-Symbole statt Schmuckzeichen, Logo L mit Punkt ---------- */
.nzd-icon { width: 1em; height: 1em; display: block; }
.nzd-topic__icon { width: 50px; height: 50px; background: var(--sand-50); border: 1px solid var(--sand-300); color: var(--green-900); font-size: 1.4rem; font-family: inherit; }
.nzd-topic:hover .nzd-topic__icon { border-color: var(--sand-500); }
.nzd-card__cover span { width: 60px; height: 60px; font-size: 1.6rem; color: var(--green-900); border: 1px solid var(--sand-300); box-shadow: none; }
.nzd-card__link:hover .nzd-card__cover span { transform: none; border-color: var(--sand-500); }
.nzd-news__mark { background: transparent; border: 1px solid var(--sand-400); color: var(--sand-200); font-size: 1.45rem; }
.nzd-why__quote::before { content: ""; top: var(--s5); right: var(--s5); width: 36px; height: 1px; background: var(--sand-400); font-size: 0; }
.nzd-article__head::after { content: ""; width: 56px; height: 1px; margin: var(--s4) auto 0; background: var(--sand-400); font-size: 0; }
.nzd-logo:hover .nzd-logo__svg { transform: none; }

/* ---------- Version 1.4 (2026-11-10): ruhige Animationen passend zu „Nähe zu dir“ ----------
   Alles Versteckte nur, wenn html.nzd-anim gesetzt ist (Skript im Kopf). Ohne Skript
   oder bei „weniger Bewegung“ ist alles sofort sichtbar. */
.nzd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* Startseite oben: zwei Kreise finden zueinander (Nähe) und atmen danach leise */
.nzd-naehe { position: absolute; left: 50%; top: 50%; width: min(980px, 150vw); transform: translate(-50%, -50%); pointer-events: none; }
.nzd-naehe svg { display: block; width: 100%; height: auto; overflow: visible; }
.nzd-naehe circle { fill: none; stroke: var(--sand-400); stroke-width: 1; opacity: .55; transform-box: fill-box; transform-origin: center; }
.nzd-anim .nzd-naehe__a { animation: nzd-zu-a 3.4s cubic-bezier(.22,.61,.36,1) .2s both, nzd-atmen 9s ease-in-out 3.6s infinite; }
.nzd-anim .nzd-naehe__b { animation: nzd-zu-b 3.4s cubic-bezier(.22,.61,.36,1) .2s both, nzd-atmen 9s ease-in-out 4.1s infinite; }
@keyframes nzd-zu-a { from { opacity: 0; transform: translateX(-26%); } to { opacity: .55; transform: none; } }
@keyframes nzd-zu-b { from { opacity: 0; transform: translateX(26%); } to { opacity: .55; transform: none; } }
@keyframes nzd-atmen { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.035); } }

/* Überschrift erscheint Wort für Wort, danach zieht sich die Sandlinie auf */
.nzd-wort { display: inline-block; }
.nzd-anim .nzd-hero__title .nzd-wort { opacity: 0; transform: translateY(.3em); filter: blur(6px); animation: nzd-wort-ein 1.1s cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(.5s + var(--i) * .16s); }
@keyframes nzd-wort-ein { to { opacity: 1; transform: none; filter: blur(0); } }
.nzd-anim .nzd-hero__title::after { transform: scaleX(0); animation: nzd-linie 1.2s cubic-bezier(.22,.61,.36,1) 1.9s both; }
@keyframes nzd-linie { to { transform: scaleX(1); } }
.nzd-anim .nzd-hero .nzd-eyebrow { animation: nzd-sanft 1.2s ease .2s both; }
.nzd-anim .nzd-hero .nzd-lead { animation: nzd-sanft 1.2s ease 2.1s both; }
.nzd-anim .nzd-hero__text > p:not(.nzd-lead) { animation: nzd-sanft 1.2s ease 2.35s both; }
.nzd-anim .nzd-hero .nzd-actions { animation: nzd-sanft 1.2s ease 2.6s both; }
@keyframes nzd-sanft { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Beim Scrollen sanft einblenden (nacheinander) */
.nzd-anim .nzd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1); transition-delay: calc(var(--i, 0) * 90ms); }
.nzd-anim .nzd-reveal.is-da { opacity: 1; transform: none; }

/* Linien-Symbole zeichnen sich selbst */
.nzd-anim .nzd-zeichnen .nzd-icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.45,.05,.35,1); transition-delay: calc(.25s + var(--i, 0) * 90ms); }
.nzd-anim .nzd-zeichnen.is-da .nzd-icon > * { stroke-dashoffset: 0; }

/* Zitat: Wort für Wort, Sandlinie zieht sich auf */
.nzd-anim .nzd-why__quote .nzd-wort { opacity: 0; transform: translateY(.25em); transition: opacity .8s ease, transform .8s ease; transition-delay: calc(.35s + var(--i) * .12s); }
.nzd-anim .nzd-why__quote.is-da .nzd-wort { opacity: 1; transform: none; }
.nzd-anim .nzd-why__quote::before { transform: scaleX(0); transform-origin: right; transition: transform 1.2s ease .2s; }
.nzd-anim .nzd-why__quote.is-da::before { transform: scaleX(1); }
.nzd-anim .nzd-why__quote > span { opacity: 0; transition: opacity 1s ease 1.6s; }
.nzd-anim .nzd-why__quote.is-da > span { opacity: 1; }

/* Logo: Siegelringe ziehen sich einmal pro Besuch auf */
.nzd-anim.nzd-logo-zeichnen .nzd-logo__svg circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: nzd-ring 1.8s cubic-bezier(.45,.05,.35,1) .3s forwards; }
.nzd-anim.nzd-logo-zeichnen .nzd-logo__svg circle + circle { animation-delay: .6s; }
@keyframes nzd-ring { to { stroke-dashoffset: 0; } }

/* Kleine Atempause */
.nzd-section--atem { padding-top: 0; }
.nzd-atem { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s6); align-items: center; padding: var(--s6); border-radius: var(--radius); background: var(--sand-50); border: 1px solid var(--sand-300); box-shadow: var(--shadow); }
button.nzd-btn.nzd-atem__start { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
button.nzd-btn.nzd-atem__start:hover, button.nzd-btn.nzd-atem__start:focus, button.nzd-btn.nzd-atem__start:active { background: var(--green-900); color: var(--sand-50); }
.nzd-atem h2 { margin-bottom: var(--s3); }
.nzd-atem__text p { color: var(--muted); }
.nzd-atem .nzd-actions { align-items: center; }
.nzd-atem__link { font-weight: 700; text-decoration: none; }
.nzd-atem__link span { display: inline-block; transition: transform .2s ease; }
.nzd-atem__link:hover span { transform: translateX(4px); }
.nzd-atem__kreis { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.nzd-atem__ring, .nzd-atem__kern { position: absolute; border-radius: 50%; }
.nzd-atem__ring { inset: 0; border: 1px solid var(--sand-400); opacity: .7; }
.nzd-atem__ring--2 { inset: 9%; border-color: var(--sand-300); }
.nzd-atem__kern { inset: 14%; background: radial-gradient(circle at 50% 40%, var(--sand-200), var(--sand-300)); transform: scale(.55); transition: transform 4s cubic-bezier(.37,0,.63,1); }
.nzd-atem__wort { position: relative; max-width: 60%; text-align: center; font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.2; color: var(--green-900); transition: opacity .6s ease; }
.nzd-anim .nzd-atem:not(.is-laeuft) .nzd-atem__kern { animation: nzd-ruhig 6s ease-in-out infinite; }
@keyframes nzd-ruhig { 0%, 100% { transform: scale(.55); } 50% { transform: scale(.6); } }
.nzd-atem.is-ein .nzd-atem__kern { transform: scale(1); transition-duration: 4s; }
.nzd-atem.is-aus .nzd-atem__kern { transform: scale(.55); transition-duration: 6s; }
.nzd-atem.is-laeuft .nzd-atem__ring { animation: nzd-ring-puls 10s ease-in-out infinite; }
@keyframes nzd-ring-puls { 0%, 100% { opacity: .7; } 40% { opacity: .25; } }
.nzd-atem__wort.is-wechsel { opacity: 0; }
@media (max-width: 900px) {
  .nzd-atem { grid-template-columns: 1fr; padding: var(--s5) var(--s4); gap: var(--s5); text-align: center; }
  .nzd-atem .nzd-actions { justify-content: center; }
  .nzd-atem__kreis { grid-row: 1; width: min(240px, 66vw); }
}

/* Weniger Bewegung gewünscht: alles sofort sichtbar, Atempause nur mit Text */
@media (prefers-reduced-motion: reduce) {
  .nzd-naehe circle, .nzd-atem__kern, .nzd-atem__ring { animation: none !important; }
  .nzd-atem__kern { transform: scale(.75) !important; }
}

/* ---------- Version 1.4.3 (2026-11-10): Kopf-Logo als grünes Symbol ---------- */
.nzd-logo__svg--kachel { border-radius: 10px; box-shadow: 0 1px 2px rgba(31,53,40,.12), 0 4px 12px rgba(31,53,40,.12); }
.nzd-logo:hover .nzd-logo__svg--kachel { transform: translateY(-1px) scale(1.04); }
