/* ==== Site-wide additions (2026-11) ==== */

/* Article + wiki pages: text starts right under the breadcrumb, table of contents sits out to the left */
.post-section.wiki-article-section { padding-top: 2.5rem; }
@media (min-width: 769px) {
  .breadcrumbs-wide { margin-bottom: .5rem; }
}
/* wide screens: TOC moves into the left margin, text column lines up with "Willkommen › Wiki › …" */
@media (min-width: 1440px) {
  .wiki-article-layout .wiki-toc { margin-left: calc(-200px - 2.5rem); margin-right: .5rem; }
}
/* medium screens (not enough margin): breadcrumb moves to the text column instead */
@media (min-width: 769px) and (max-width: 1439px) {
  body:has(.wiki-toc) .breadcrumbs-wide .container-md { padding-left: calc(1rem + 200px + 2rem); }
}

/* ==== About page v2 ==== */
.ab2-kicker { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent-green); margin: 0 0 .9rem; }
.ab2-kicker--light { color: #9cc7a8; }
.ab2-center { text-align: center; }
.ab2-h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 1.25rem; color: var(--text-dark); }

.ab2-story { background: #f5f0eb; border-radius: var(--radius-xl); margin: .75rem 1rem 0; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.ab2-story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1150px; margin: 0 auto; }
.ab2-story-body p { font-size: 1.1rem; line-height: 1.75; color: #3d3a37; margin: 0 0 1rem; }
.ab2-story-photos { position: relative; height: 440px; }
.ab2-photo { position: absolute; width: 58%; height: 340px; object-fit: cover; object-position: top; border-radius: 24px; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.ab2-photo--a { left: 0; top: 0; rotate: -3deg; }
.ab2-photo--b { right: 0; bottom: 0; rotate: 3deg; }

.ab2-team { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.ab2-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1150px; margin: 1rem auto 0; }
.ab2-person { display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: 24px; overflow: hidden; color: var(--text-dark); text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease; }
.ab2-person:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.1); }
.ab2-person-img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: top; display: block; }
.ab2-person-body { padding: 1.6rem 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.ab2-person-body h3 { display: flex; align-items: center; gap: .4rem; font-size: 1.5rem; margin: 0; letter-spacing: -.02em; }
.ab2-person-role { font-size: .85rem; color: var(--accent-green); font-weight: 500; }
.ab2-person-body p { margin: 0; color: #5f5a54; line-height: 1.6; font-size: .95rem; }
.ab2-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ab2-more { margin-top: auto; padding-top: .4rem; font-weight: 600; color: var(--accent-green); font-size: .95rem; }

.ab2-values { padding: 0 0 clamp(2rem, 4vw, 3rem); }
.ab2-values-card { background: #222; border-radius: var(--radius-xl); padding: clamp(2.5rem, 5vw, 4rem); max-width: 1150px; margin: 0 auto; }
.ab2-values-card .ab2-h2 { color: #fff; }
.ab2-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.ab2-value { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 1.5rem; }
.ab2-value img { width: 40px; height: 40px; }
.ab2-value h3 { color: #fff; font-size: 1.15rem; margin: 1rem 0 .4rem; }
.ab2-value p { color: rgba(255,255,255,.72); line-height: 1.6; margin: 0; font-size: .95rem; }

.ab2-cta { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 5rem); }
.ab2-cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.ab2-cta-inner p { color: #5f5a54; font-size: 1.1rem; margin: 0 0 1.5rem; }
.ab2-btn { margin: 0 auto !important; position: relative; padding: .55rem 50px .55rem 20px; }
.ab2-btn span:first-child { padding-right: 0; }
.ab2-btn .features-toggle-circle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); transition: right .35s ease; }
.ab2-btn:hover .features-toggle-circle { right: calc(100% - 38px); transform: translateY(-50%); }
.ab2-btn:hover span:first-child { transform: translateX(30px); }

@media (max-width: 991px) {
  .ab2-story-grid { grid-template-columns: 1fr; }
  .ab2-story-photos { height: 360px; max-width: 480px; width: 100%; margin: 0 auto; }
  .ab2-photo { height: 280px; }
  .ab2-team-grid { grid-template-columns: 1fr; }
  .ab2-values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ab2-story { margin: .75rem 0 0; border-radius: 18px; }
  .ab2-person { grid-template-columns: 1fr; }
  .ab2-person-img img { min-height: 0; height: 260px; }
  .ab2-story-photos { height: 300px; }
  .ab2-photo { height: 220px; }
}
[data-theme="dark"] .ab2-story { background: #262626; }
[data-theme="dark"] .ab2-h2 { color: #fff; }
[data-theme="dark"] .ab2-story-body p, [data-theme="dark"] .ab2-cta-inner p { color: rgba(255,255,255,.75); }
[data-theme="dark"] .ab2-person { background: #2a2a2a; color: #fff; }
[data-theme="dark"] .ab2-person-body p { color: #b9b4ad; }

/* about: story icons (replace photos) – no cards */
.ab2-story-icons { position: relative; height: 420px; }
.ab2-ic-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ab2-ic-lines path { fill: none; stroke: #b9ae9f; stroke-width: 1.5; stroke-dasharray: 4 6; }
.ab2-ic { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; width: 190px; background: #f5f0eb; padding: .4rem; }
.ab2-ic b { font-size: 1.1rem; letter-spacing: -.01em; color: var(--text-dark); }
.ab2-ic small { font-size: .85rem; color: #6b665f; line-height: 1.4; }
.ab2-ic-svg { display: block; margin-bottom: .4rem; }
.ab2-ic-svg svg { width: 60px; height: 60px; display: block; }
.ab2-ic--book { left: 22%; top: 22%; } .ab2-ic--book .ab2-ic-svg { color: var(--accent-green); }
.ab2-ic--ai { left: 80%; top: 34%; } .ab2-ic--ai .ab2-ic-svg { color: #e87c3e; }
.ab2-ic--social { left: 36%; top: 82%; } .ab2-ic--social .ab2-ic-svg { color: #c44536; }
.ab2-ic-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem; color: var(--text-dark); background: #f5f0eb; padding: .3rem .5rem; }
.ab2-ic-center span { width: 14px; height: 14px; border-radius: 50%; background: #e87c3e; box-shadow: 0 0 0 6px rgba(232,124,62,.18); }
@media (max-width: 900px) {
  .ab2-story-icons { height: auto; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
  .ab2-ic { position: static; transform: none; width: 170px; background: none; }
  .ab2-ic-lines, .ab2-ic-center { display: none; }
}
[data-theme="dark"] .ab2-ic, [data-theme="dark"] .ab2-ic-center { background: #262626; }
[data-theme="dark"] .ab2-ic b, [data-theme="dark"] .ab2-ic-center { color: #fff; }
[data-theme="dark"] .ab2-ic small { color: #b9b4ad; }
[data-theme="dark"] .ab2-ic-lines path { stroke: #555; }
/* about: profile button */
.ab2-more { align-self: flex-start; display: inline-flex; align-items: center; gap: .7rem; background: #161616; color: #fff; border-radius: 999px; padding: .5rem .6rem .5rem 1.1rem; font-size: .9rem; font-weight: 500; transition: background .25s ease; }
.ab2-more-dot { width: 20px; height: 20px; border-radius: 50%; background: #e87c3e; transition: transform .3s ease; }
.ab2-person:hover .ab2-more-dot { transform: translateX(3px) scale(1.1); }
[data-theme="dark"] .ab2-more { background: #fff; color: #161616; }

/* about: highlighted words in story */
.ab2-story-body strong { font-weight: 650; color: var(--text-dark); }
.ab2-story-body .hl-g { color: var(--accent-green); }
.ab2-story-body .hl-o { color: #e87c3e; }
.ab2-story-body .hl-r { color: #c44536; }
.ab2-story-body .hl-m { background: linear-gradient(transparent 55%, rgba(232,124,62,.35) 55%); padding: 0 .1em; }
[data-theme="dark"] .ab2-story-body strong { color: #fff; }
[data-theme="dark"] .ab2-story-body .hl-g { color: #8fc39d; }

/* about: venn instead of icons */
.ab2-venn { position: relative; width: min(100%, 440px); aspect-ratio: 1 / .95; margin: 0 auto; }
.ab2-venn-c { position: absolute; width: 58%; aspect-ratio: 1; display: flex; padding: 14%; mix-blend-mode: multiply; }
.ab2-venn-c b { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--text-dark); }
.ab2-venn--book { left: 0; top: 0; background: rgba(74,124,89,.22); border-radius: 52% 48% 50% 50% / 48% 52% 48% 52%; align-items: flex-start; justify-content: flex-start; padding: 22% 0 0 18%; }
.ab2-venn--ai { right: 0; top: 4%; background: rgba(232,124,62,.24); border-radius: 48% 52% 47% 53% / 52% 47% 53% 48%; align-items: flex-start; justify-content: flex-end; padding: 22% 22% 0 0; }
.ab2-venn--social { left: 20%; bottom: 0; background: rgba(196,69,54,.18); border-radius: 50% 50% 52% 48% / 53% 49% 51% 47%; align-items: flex-end; justify-content: center; padding: 0 0 18%; }
.ab2-venn-mid { position: absolute; left: 51%; top: 52%; transform: translate(-50%, -50%); font-weight: 700; font-size: 1.05rem; color: var(--text-dark); }
@media (max-width: 900px) { .ab2-venn { width: min(100%, 360px); } }
[data-theme="dark"] .ab2-venn-c { mix-blend-mode: screen; }
[data-theme="dark"] .ab2-venn-c b, [data-theme="dark"] .ab2-venn-mid { color: #fff; }
@font-face { font-family: 'Bristol'; src: url('/fonts/Bristol.otf') format('opentype'); font-display: swap; }
.ab2-venn-mid { font-family: 'Bristol', var(--font-heading, sans-serif); font-weight: 400; font-size: 2.1rem; letter-spacing: 0; color: var(--text-dark); line-height: 1; }

.ab2-team-head { text-align: left; max-width: 1150px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.ab2-team-head .ab2-h2 { margin-bottom: .6rem; }
.ab2-team-head p { margin: 0; font-size: 1.1rem; color: #5f5a54; }
[data-theme="dark"] .ab2-team-head p { color: rgba(255,255,255,.75); }
.ab2-tag-more { padding-left: .9em !important; padding-right: .9em !important; letter-spacing: .1em; }
/* about cards: clearer hierarchy */
.ab2-person-body { gap: 0; }
.ab2-person-body h3 { font-size: 1.55rem; }
.ab2-person-role { display: block; margin-top: .35rem; font-size: .8rem; line-height: 1.45; color: #7d776f; font-weight: 500; }
.ab2-person-body p { margin-top: 1rem; font-size: .95rem; line-height: 1.65; color: #4a4642; }
.ab2-person-body .ab2-tags { margin: 1rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.ab2-person-body .ab2-tags .blog-tag { font-size: .72rem; padding: .3rem .7rem; margin: 0; }
.ab2-person-body .ab2-more { margin-top: auto; }
[data-theme="dark"] .ab2-person-role { color: #a39d95; }
[data-theme="dark"] .ab2-person-body p { color: #c9c4bd; }

/* about cards: index-style button */
.ab2-person-body .ab2-card-btn { margin: auto 0 0; position: relative; padding: .55rem 50px .55rem 20px; }
.ab2-card-btn span:first-child { padding-right: 0; }
.ab2-card-btn .features-toggle-circle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); transition: right .35s ease; }
.ab2-person:hover .ab2-card-btn { background: var(--bg-darker); }
.ab2-person:hover .ab2-card-btn .features-toggle-circle { right: calc(100% - 38px); transform: translateY(-50%); }
.ab2-person:hover .ab2-card-btn span:first-child { transform: translateX(30px); }
/* about hero: soft blur like start page */
.ab2-hero { overflow: hidden; }
.ab2-hero > img { filter: blur(2px) saturate(.75); transform: scale(1.03); }
.ab2-hero-sub { margin: 1rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.85); font-weight: 400; }

/* about: process timeline */
.ab2-process { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem); }
.ab2-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1150px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; position: relative; }
.ab2-steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: calc((100% - 7rem) / 5 - 20px); height: 2px; background: repeating-linear-gradient(90deg, #d9cfc3 0 8px, transparent 8px 14px); }
.ab2-step { position: relative; }
.ab2-step-num { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--accent-green); color: var(--accent-green); font-weight: 700; font-size: .95rem; margin-bottom: 1.1rem; }
.ab2-step:nth-child(3) .ab2-step-num { background: #e87c3e; border-color: #e87c3e; color: #fff; }
.ab2-step h3 { font-size: 1.1rem; margin: 0 0 .45rem; letter-spacing: -.01em; color: var(--text-dark); }
.ab2-step p { margin: 0; font-size: .9rem; line-height: 1.6; color: #5f5a54; }
@media (max-width: 900px) {
  .ab2-steps { grid-template-columns: 1fr; gap: 1.6rem; max-width: 560px; margin: 0; }
  .ab2-steps::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #d9cfc3 0 8px, transparent 8px 14px); }
  .ab2-step { padding-left: 60px; }
  .ab2-step-num { position: absolute; left: 0; top: -6px; margin: 0; }
}
[data-theme="dark"] .ab2-step-num { background: #1e1e1e; }
[data-theme="dark"] .ab2-step h3 { color: #fff; }
[data-theme="dark"] .ab2-step p { color: #b9b4ad; }

.ab2-venn-c { flex-direction: column; }
.ab2-venn-c small { font-size: .82rem; color: #6b665f; margin-top: .15rem; }
.ab2-venn--book { align-items: flex-start; }
.ab2-venn--ai { align-items: flex-end; text-align: right; }
.ab2-venn--social { align-items: center; justify-content: flex-end; text-align: center; }
[data-theme="dark"] .ab2-venn-c small { color: #c9c4bd; }
.ab2-venn--book { justify-content: flex-start; align-items: flex-start; }
.ab2-venn--ai { justify-content: flex-start; align-items: flex-end; }
/* venn: stronger colours, white logo */
.ab2-venn--book { background: rgba(74,124,89,.55); }
.ab2-venn--ai { background: rgba(232,124,62,.6); }
.ab2-venn--social { background: rgba(196,69,54,.5); }
.ab2-venn-c b { color: #fff; }
.ab2-venn-c small { color: #fff; font-weight: 500; }
.ab2-venn-mid { color: #fff; }

/* ---- de-templating pass ---- */
/* timeline: hand-drawn line + handwritten numerals */
.ab2-steps::before { display: none; }
.ab2-steps-line { position: absolute; top: 4px; left: 0; width: calc(100% - (100% - 7rem) / 5); height: 40px; overflow: visible; pointer-events: none; }
.ab2-steps-line path { fill: none; stroke: #e87c3e; stroke-opacity: .55; stroke-width: 2; stroke-linecap: round; }
.ab2-step-num { width: auto; height: auto; border: 0; border-radius: 0; background: #fff; display: inline-block; padding: 0 .55rem 0 0; font-family: 'Bristol', var(--font-heading, sans-serif); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--text-dark); margin-bottom: .9rem; }
.ab2-step:nth-child(4) .ab2-step-num { background: #fff; border: 0; color: #e87c3e; }
.ab2-step:nth-child(3) .ab2-step-num { background: #fff; color: var(--text-dark); }
@media (max-width: 900px) {
  .ab2-steps-line { display: none; }
  .ab2-step { padding-left: 52px; }
  .ab2-step-num { position: absolute; left: 0; top: -4px; font-size: 2.2rem; padding: 0; }
}
[data-theme="dark"] .ab2-step-num { background: #1e1e1e; color: #fff; }
/* transparency note */
.ab2-note { padding: clamp(1rem, 3vw, 2rem) 0 0; }
.ab2-note-text { max-width: 1150px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid #e6dfd6; font-size: 1.05rem; line-height: 1.7; color: #5f5a54; }
.ab2-note-hand { font-family: 'Bristol', var(--font-heading, sans-serif); font-size: 1.5rem; color: #e87c3e; margin-right: .35rem; vertical-align: -.1em; }
[data-theme="dark"] .ab2-note-text { color: rgba(255,255,255,.75); border-color: #333; }
/* CTA: second action */
.ab2-cta-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.ab2-cta-actions .ab2-btn { margin: 0 !important; }
.ab2-cta-link { color: var(--text-dark); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.ab2-cta-link:hover { color: #e87c3e; }
[data-theme="dark"] .ab2-cta-link { color: #fff; }

/* =========================================================
   Profile pages (Elke, Roland) – calm, unboxed layout
   ========================================================= */
.pf-hero { background: #1d1b19; color: #fff; border-radius: var(--radius-xl); margin: 1rem 1rem 0; padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem); position: relative; z-index: 2; overflow: hidden; }
.pf-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1150px; margin: 0 auto; }
.pf-hero-role { margin: 0 0 1rem; font-size: 1rem; color: rgba(255,255,255,.7); }
.pf-hero h1 { color: #fff; margin: 0 0 1.4rem; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.04em; }
.pf-hero-lead { margin: 0 0 2rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; color: rgba(255,255,255,.85); max-width: 560px; }
.pf-hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.pf-btn.features-toggle { background: #fff; color: #161616; margin: 0; position: relative; padding: .55rem 50px .55rem 20px; }
.pf-btn span:first-child { padding-right: 0; }
.pf-btn .features-toggle-circle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); transition: right .35s ease; }
.pf-btn:hover { background: #f1ece6; }
.pf-btn:hover .features-toggle-circle { right: calc(100% - 38px); transform: translateY(-50%); }
.pf-btn:hover span:first-child { transform: translateX(30px); }
.pf-hero .pf-link { color: #fff; }
.pf-link { color: var(--text-dark); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.pf-link:hover { color: #e87c3e; }
.pf-hero-photo { justify-self: end; width: min(100%, 380px); }
.pf-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 24px; rotate: 2deg; box-shadow: 0 24px 50px rgba(0,0,0,.35); display: block; }

.pf-h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 1.5rem; color: var(--text-dark); }
.pf-page section.pf-intro, .pf-page section.pf-topics, .pf-page section.pf-writing, .pf-page section.pf-path, .pf-page section.pf-close { padding: clamp(3rem, 6vw, 5rem) 0 0; }
.pf-page section.pf-close { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.pf-intro-grid, .pf-topics .container, .pf-writing .container, .pf-path .container, .pf-close-grid { max-width: 1150px; margin: 0 auto; }
.pf-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.pf-intro-body p { margin: 0 0 1.1rem; font-size: 1.12rem; line-height: 1.75; color: #3d3a37; }

.pf-topic-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); }
.pf-topic { padding: 1.4rem 0; border-top: 1px solid #e6dfd6; }
.pf-topic h3 { font-size: 1.12rem; margin: 0 0 .45rem; letter-spacing: -.01em; color: var(--text-dark); }
.pf-topic p { margin: 0; font-size: .95rem; line-height: 1.65; color: #5f5a54; }

.pf-writing-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pf-writing-list { border-bottom: 1px solid #e6dfd6; }
.pf-writing-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 1.25rem; align-items: baseline; padding: 1.3rem 0; border-top: 1px solid #e6dfd6; text-decoration: none; color: inherit; }
.pf-writing-type { font-size: .8rem; font-weight: 600; color: var(--accent-green); }
.pf-writing-title { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; color: var(--text-dark); margin-bottom: .3rem; transition: color .2s; }
.pf-writing-excerpt { display: block; font-size: .95rem; line-height: 1.6; color: #6b665f; }
.pf-writing-arrow { font-size: 1.2rem; color: #b9ae9f; transition: transform .25s, color .25s; }
.pf-writing-item:hover .pf-writing-title { color: #e87c3e; }
.pf-writing-item:hover .pf-writing-arrow { transform: translateX(4px); color: #e87c3e; }

.pf-path-list { list-style: none; margin: 0; padding: 0; }
.pf-path-item { display: grid; grid-template-columns: 190px 1fr 56px; gap: 1.5rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid #e6dfd6; }
.pf-path-year { font-size: .9rem; color: #e87c3e; font-weight: 600; padding-top: .15rem; }
.pf-path-body h3 { font-size: 1.12rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.pf-path-body h3 a { color: var(--text-dark); text-decoration: none; border-bottom: 1px solid #d9cfc3; }
.pf-path-body h3 a:hover { color: #e87c3e; }
.pf-path-body p { margin: 0; font-size: .95rem; line-height: 1.65; color: #5f5a54; max-width: 640px; }
.pf-path-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; }

/* personal galleries keep their look, but drop the boxed side card */
.pf-page .gallery-wall-section { margin-top: clamp(3rem, 6vw, 5rem); }
.pf-page .gallery-info-card { background: none; box-shadow: none; padding: 0; color: rgba(255,255,255,.8); }
.pf-page .gallery-info-card h3 { color: #fff; }

.pf-close-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.pf-quote { margin: 0; position: relative; }
.pf-quote-mark { font-family: 'Bristol', var(--font-heading, serif); font-size: 5rem; line-height: .6; color: #e87c3e; display: block; margin-bottom: .6rem; }
.pf-quote blockquote { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: -.015em; color: var(--text-dark); font-weight: 500; }
.pf-quote blockquote p { margin: 0; }
.pf-quote figcaption { font-size: .95rem; color: #6b665f; }
.pf-members-label { margin: 0 0 .8rem; font-size: .95rem; color: #6b665f; }
.pf-members-logos { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.pf-members-logos img { height: 44px; width: auto; display: block; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.pf-members-logos a:hover img { filter: none; opacity: 1; }

@media (max-width: 900px) {
  .pf-hero-grid, .pf-intro-grid, .pf-close-grid { grid-template-columns: 1fr; }
  .pf-hero-photo { justify-self: start; width: min(70%, 300px); order: -1; }
  .pf-topic-list { grid-template-columns: 1fr; }
  .pf-path-item { grid-template-columns: 1fr 48px; }
  .pf-path-year { grid-column: 1 / -1; }
  .pf-path-logo { width: 48px; height: 48px; grid-row: 2; grid-column: 2; }
  .pf-writing-item { grid-template-columns: 1fr auto; }
  .pf-writing-type { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .pf-hero { margin: .75rem 0 0; border-radius: 18px; } }
[data-theme="dark"] .pf-h2, [data-theme="dark"] .pf-topic h3, [data-theme="dark"] .pf-writing-title, [data-theme="dark"] .pf-path-body h3 a, [data-theme="dark"] .pf-quote blockquote { color: #fff; }
[data-theme="dark"] .pf-intro-body p { color: rgba(255,255,255,.8); }
[data-theme="dark"] .pf-topic, [data-theme="dark"] .pf-writing-item, [data-theme="dark"] .pf-path-item, [data-theme="dark"] .pf-writing-list { border-color: #333; }
[data-theme="dark"] .pf-link { color: #fff; }
/* kulinarik block on profile: dark text on the light linen */
.pf-page .gallery-wall-kulinarik .gallery-preview-header h2 { color: #161616; }
.pf-page .gallery-wall-kulinarik .gallery-preview-header p, .pf-page .gallery-wall-kulinarik .plate-title { color: #4a4642; }
.pf-page .gallery-wall-kulinarik .gallery-cta-btn { color: #161616; border-color: rgba(0,0,0,.3); }
.pf-page .gallery-wall-kulinarik .gallery-cta-btn:hover { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.5); }
.pf-writing-type--wiki { color: #e87c3e; }
/* profile: art block (Elke) – light, unboxed, prints with a white mat */
.pf-page section.pf-art { background: #f5f0eb; border-radius: var(--radius-xl); margin: clamp(3rem, 6vw, 5rem) 1rem 0; padding: clamp(3rem, 6vw, 5rem) 0; }
.pf-art .container { max-width: 1150px; margin: 0 auto; }
.pf-art-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem); }
.pf-art-intro p { margin: 0 0 1rem; font-size: 1.12rem; line-height: 1.75; color: #3d3a37; }
.pf-art-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.pf-art-item { text-decoration: none; color: inherit; display: block; }
.pf-art-frame { display: block; background: #fff; padding: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.1); transition: transform .35s ease, box-shadow .35s ease; }
.pf-art-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pf-art-item:nth-child(1) .pf-art-frame { rotate: -1.5deg; }
.pf-art-item:nth-child(2) .pf-art-frame { rotate: 1deg; margin-top: 1.5rem; }
.pf-art-item:nth-child(3) .pf-art-frame { rotate: -.5deg; }
.pf-art-item:nth-child(4) .pf-art-frame { rotate: 1.5deg; margin-top: 1rem; }
.pf-art-item:hover .pf-art-frame { transform: translateY(-4px) rotate(0deg); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.pf-art-title { display: block; margin-top: .8rem; font-size: .88rem; color: #6b665f; }
@media (max-width: 900px) {
  .pf-art-head { grid-template-columns: 1fr; }
  .pf-art-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .pf-page section.pf-art { margin-left: 0; margin-right: 0; border-radius: 18px; } }
[data-theme="dark"] .pf-page section.pf-art { background: #262626; }
[data-theme="dark"] .pf-art-intro p { color: rgba(255,255,255,.8); }
/* profile: Werdegang on beige to break the rhythm */
.pf-page section.pf-path { background: #f5f0eb; border-radius: var(--radius-xl); margin: clamp(3rem, 6vw, 5rem) 1rem 0; padding: clamp(3rem, 6vw, 5rem) 0; }
.pf-path-item { border-top-color: #e3d9cd; }
.pf-path-logo { background: #fff; padding: 6px; }
/* art block directly after the beige Werdegang: keep it white */
.pf-page section.pf-path + section.pf-art { background: transparent; margin-top: 0; }
@media (max-width: 600px) { .pf-page section.pf-path { margin-left: 0; margin-right: 0; border-radius: 18px; } }
[data-theme="dark"] .pf-page section.pf-path { background: #262626; }
/* profile: food block (Roland) – round plates, no linen */
.pf-art--food .pf-art-frame { padding: 0; background: #f5f0eb; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.1); rotate: 0deg !important; margin-top: 0 !important; }
.pf-art--food .pf-art-frame img { aspect-ratio: 1; border-radius: 50%; }
.pf-art--food .pf-art-item:nth-child(even) .pf-art-frame { margin-top: 1.25rem !important; }
.pf-art--food .pf-art-item:hover .pf-art-frame { transform: translateY(-4px) scale(1.02); }
.pf-art--food .pf-art-title { text-align: center; }
.pf-path-year { color: var(--text-dark); }
[data-theme="dark"] .pf-path-year { color: #fff; }
.pf-path-year { opacity: .55; }
/* blog: shorter, softly blurred hero; tighter intro; card meta */
.blog-hero { height: 50vh; min-height: 320px; max-height: 480px; }
.page-blog .blog-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.page-blog .emergency-intro { margin-top: 0; margin-bottom: 2rem; }
.page-blog .emergency-intro p { max-width: 640px; margin: 0 auto; }
.blog-card-meta { margin: .1rem 0 .8rem; }
.recent-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font-size: .8rem; color: #8a847c; margin: -.35rem 0 1rem; }
.recent-meta > span + span::before { content: '·'; margin-right: .5rem; color: #c4beb6; }
.recent-meta-author { color: #3d3a37; font-weight: 600; }
.recent-meta-src { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent-green); font-weight: 600; }
.recent-meta-src svg { flex: none; }
[data-theme="dark"] .recent-meta-author { color: #eee; }
.blog-card .blog-card-meta { margin: .1rem 0 .8rem; }
/* wiki: same treatment as blog */
.page-wiki .wiki-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.wiki-card .blog-card-meta { margin: .1rem 0 .6rem; }
.page-faq .faq-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.page-notfall .emergency-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.page-notfall .emergency-intro { margin-top: 0; margin-bottom: 2rem; }
.page-notfall .emergency-intro p { max-width: 640px; margin: 0 auto; }
/* Anlaufstellen: compact crisis line instead of intro paragraph */
.crisis-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .6rem; margin: 0 auto 2rem; font-size: 1rem; color: #3d3a37; text-align: center; }
.crisis-dot { width: 9px; height: 9px; border-radius: 50%; background: #c44536; box-shadow: 0 0 0 4px rgba(196,69,54,.15); }
.crisis-line a { color: var(--text-dark); text-decoration: none; border-bottom: 1px solid #d9cfc3; }
.crisis-line a:hover { color: #c44536; border-color: currentColor; }
.crisis-line b { font-weight: 700; }
.crisis-sep { color: #c4beb6; }
.crisis-note { color: #8a847c; font-size: .9rem; }
[data-theme="dark"] .crisis-line, [data-theme="dark"] .crisis-line a { color: #eee; }
/* Kontakt: contact details inside the hero (like the start page peek cards) */
.contact-hero .contact-hero-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: 4rem; max-width: 1150px; margin: 0 auto; }
.contact-hero h1 { color: #fff; margin: 0 0 1rem; }
.contact-hero-sub { margin: 0; max-width: 460px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,.85); }
.contact-hero-cards { display: flex; flex-direction: column; gap: .7rem; }
.contact-hero-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 18px; background: rgba(245,240,235,.97); color: #161616; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .25s ease; }
a.contact-hero-card:hover { transform: translateX(-4px); }
.contact-hero-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-green); display: grid; place-items: center; }
.contact-hero-icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-hero-label { display: block; font-size: .78rem; color: #6b665f; margin-bottom: .1rem; }
.contact-hero-value { display: block; font-weight: 600; font-size: .98rem; word-break: break-word; }
@media (max-width: 900px) {
  .contact-hero { height: auto; max-height: none; }
  .contact-hero .contact-hero-grid { grid-template-columns: 1fr; padding: 8rem 1.25rem 2.5rem; }
}
.page-kontakt .contact-form-section { margin-top: .75rem; border-radius: var(--radius-xl); padding-top: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 600px) { .page-kontakt .contact-form-section { margin-left: 0; margin-right: 0; border-radius: 18px; } }
/* Anlaufstellen: crisis line in hero, one calm toolbar instead of 20 pills */
.crisis-line--hero { margin: 1.4rem auto 0; color: rgba(255,255,255,.85); font-size: .95rem; background: rgba(0,0,0,.28); padding: .55rem 1.1rem; border-radius: 999px; width: fit-content; max-width: 100%; backdrop-filter: blur(6px); }
.crisis-line--hero a { color: #fff; border-bottom-color: rgba(255,255,255,.35); }
.crisis-line--hero a:hover { color: #fff; border-bottom-color: #fff; }
.crisis-line--hero .crisis-note { color: rgba(255,255,255,.65); }
.crisis-line--hero .crisis-sep { color: rgba(255,255,255,.4); }
.dir-toolbar { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: .75rem; max-width: 960px; margin: 0 auto 1.5rem; align-items: end; }
.dir-toolbar .blog-search { max-width: none; margin: 0; }
.dir-select { display: flex; flex-direction: column; gap: .3rem; }
.dir-select-label { font-size: .75rem; font-weight: 600; color: #8a847c; padding-left: .9rem; }
.dir-select select { appearance: none; -webkit-appearance: none; width: 100%; height: 48px; padding: 0 2.6rem 0 1.1rem; border: 1px solid #e3dbd1; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1.1rem center; font: inherit; font-size: .95rem; color: #161616; cursor: pointer; }
.dir-select select:focus { outline: none; border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(74,124,89,.15); }
.page-notfall .emergency-count { text-align: center; }
@media (max-width: 760px) { .dir-toolbar { grid-template-columns: 1fr 1fr; } .dir-toolbar .blog-search { grid-column: 1 / -1; } }
[data-theme="dark"] .dir-select select { background-color: #2a2a2a; color: #fff; border-color: #444; }
/* dark mode: footer keeps its rounded top corners */
[data-theme="dark"] .footer, [data-theme="dark"] .page-home .footer { background: #070707; border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; }
[data-theme="dark"] .footer-wrap { background: transparent; }
[data-theme="dark"] .ab2-steps .ab2-step .ab2-step-num { background: #1e1e1e; }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); max-width: 900px; margin-left: auto; margin-right: auto; }
/* Anlaufstellen: "Hoffnung & Perspektive" text with more character */
.hope-hand { display: inline-block; font-family: 'Bristol', var(--font-heading, sans-serif); font-size: 1.9rem; line-height: 1; color: #e87c3e; rotate: -4deg; margin-bottom: .6rem; }
.hope-text { margin: 0 0 2rem; font-size: 1.08rem; line-height: 1.7; color: #5f5a54; max-width: 440px; }
.notfall-carousel-quote-wrap::before { display: none !important; }
.notfall-carousel-quote-wrap { position: relative; margin: 0; padding: 1.4rem 0 0 0; border-top: 1px solid #e3dbd1; }
.notfall-carousel-quote-wrap::after { content: "„"; position: absolute; top: .6rem; left: -.15rem; font-family: 'Bristol', serif; font-size: 3.8rem; line-height: 1; color: #e87c3e; }
.notfall-carousel-quote { padding-left: 2.6rem; font-style: normal !important; font-size: 1.2rem !important; line-height: 1.55 !important; }
[data-theme="dark"] .hope-text { color: rgba(255,255,255,.7); }
[data-theme="dark"] .notfall-carousel-quote-wrap { border-color: #3a3a3a; }
/* Anlaufstellen videos: framed as encouragement to seek help */
.videos-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem); }
.videos-head .pf-h2 { margin: 0; }
.videos-head p { margin: 0; font-size: 1.08rem; line-height: 1.7; color: #5f5a54; }
@media (max-width: 900px) { .videos-head { grid-template-columns: 1fr; } }
[data-theme="dark"] .videos-head p { color: rgba(255,255,255,.7); }
.emergency-bento-section .videos-head .pf-h2 { color: #fff; }
.emergency-bento-section .videos-head p { color: rgba(255,255,255,.72); }
/* Anlaufstellen: facts ("Sie sind nicht allein") */
.facts { margin-bottom: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid rgba(255,255,255,.1); }
.emergency-bento-section .facts-title { color: #fff; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.facts-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.fact { border-top: 2px solid rgba(255,255,255,.15); padding-top: 1.2rem; }
.fact--big { border-top-color: #e87c3e; }
.fact-num { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; margin-bottom: .9rem; }
.fact--big .fact-num { color: #e87c3e; font-size: clamp(2.8rem, 5.5vw, 4.6rem); }
.fact-num--word { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.15; }
.fact p { margin: 0; font-size: .98rem; line-height: 1.6; color: rgba(255,255,255,.7); }
.fact-dots { display: flex; gap: 6px; margin-bottom: 1rem; }
.fact-dots i { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.18); }
.fact-dots i.on { background: #e87c3e; box-shadow: 0 0 0 4px rgba(232,124,62,.2); }
.fact-dots--sm i { width: 11px; height: 11px; }
.facts-src { margin: 1.8rem 0 0; font-size: .8rem; color: rgba(255,255,255,.45); }
.facts-src a { color: rgba(255,255,255,.6); }
@media (max-width: 1000px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts-grid { grid-template-columns: 1fr; } }
/* video cards: optional self-hosted cover image */
.video-frame.has-cover { background-image: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.75) 100%), var(--cover) !important; background-size: cover !important; background-position: center !important; }
.video-frame.has-cover::before, .video-frame.has-cover::after { opacity: 0; }
/* facts: dots light up one after another */
.fact-dots i { transition: background .4s ease, box-shadow .4s ease, transform .4s ease; transform: scale(.6); opacity: .5; }
.facts-go .fact-dots i { transform: scale(1); opacity: 1; }
.fact-dots i.on { background: rgba(255,255,255,.18); box-shadow: none; }
.facts-go .fact-dots i.on { background: #e87c3e; box-shadow: 0 0 0 4px rgba(232,124,62,.2); transition-delay: .9s; }
.facts-go .fact-dots i:nth-child(2) { transition-delay: .08s; } .facts-go .fact-dots i:nth-child(3) { transition-delay: .16s; }
.facts-go .fact-dots i:nth-child(4) { transition-delay: .24s; } .facts-go .fact-dots i:nth-child(5) { transition-delay: .32s; }
.facts-go .fact-dots i:nth-child(6) { transition-delay: .40s; } .facts-go .fact-dots i:nth-child(7) { transition-delay: .48s; }
.facts-go .fact-dots i:nth-child(8) { transition-delay: .56s; }
@media (prefers-reduced-motion: reduce) { .fact-dots i { transition: none; transform: none; opacity: 1; } }
/* auth pages (login, register, password): rounded content block like every other page */
.auth-section { border-radius: var(--radius-xl); margin: .75rem 1rem; }
@media (max-width: 600px) { .auth-section { margin: .75rem 0; border-radius: 18px; } }
[data-theme="dark"] .auth-card { background: #2e2e2e; border: 1px solid rgba(255,255,255,.06); box-shadow: none; }
[data-theme="dark"] .auth-card input[type="text"], [data-theme="dark"] .auth-card input[type="email"], [data-theme="dark"] .auth-card input[type="password"] { background: #262626; border-color: rgba(255,255,255,.1); }

/* =========================  Termine (events)  ========================= */
.ev-section { background: var(--bg-light); border-radius: var(--radius-xl); margin: .75rem 1rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.ev-toolbar { grid-template-columns: 1.4fr 1fr 1fr 1fr; max-width: 1150px; }
.ev-count { text-align: center; font-size: .85rem; color: #8a847c; margin: 0 0 1rem; }
.ev-list { max-width: 900px; margin: 0 auto; }
.ev-month { font-size: 1.05rem; font-weight: 600; color: #8a847c; margin: 2rem 0 .8rem; letter-spacing: .01em; }
.ev-card { display: grid; grid-template-columns: 76px 1fr; gap: 1.25rem; background: #fff; border-radius: 20px; padding: 1.4rem; margin-bottom: .9rem; }
.ev-card[hidden], .ev-month[hidden] { display: none; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 16px; background: #f5f0eb; }
.ev-day { font-size: 1.8rem; font-weight: 700; line-height: 1; color: var(--text-dark); letter-spacing: -.03em; }
.ev-mon { font-size: .8rem; font-weight: 600; color: #e87c3e; margin-top: .2rem; text-transform: uppercase; letter-spacing: .06em; }
.ev-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.ev-tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: #e3eee6; color: #2f6b45; }
.ev-tag--pro { background: #fbe7da; color: #b35a1f; }
.ev-tag--fmt { background: #f0ece7; color: #5f5a54; }
.ev-title { font-size: 1.2rem; margin: 0 0 .35rem; letter-spacing: -.01em; color: var(--text-dark); }
.ev-meta { display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: 0 0 .6rem; font-size: .9rem; color: #5f5a54; }
.ev-meta span + span::before { content: '·'; margin-right: .5rem; color: #c4beb6; }
.ev-desc { margin: 0 0 .8rem; font-size: .95rem; line-height: 1.6; color: #5f5a54; }
.ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.ev-cost { font-size: .85rem; font-weight: 600; color: var(--accent-green); }
.ev-ics { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 500; color: var(--text-dark); text-decoration: none; padding: .35rem .8rem; border: 1px solid #e3dbd1; border-radius: 999px; }
.ev-ics:hover { border-color: var(--text-dark); }
.ev-empty, .ev-none { max-width: 640px; margin: 1rem auto; text-align: center; color: #5f5a54; font-size: 1.05rem; line-height: 1.7; }
.ev-suggest { padding: clamp(3rem, 6vw, 5rem) 0; }
.ev-suggest-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); max-width: 1150px; margin: 0 auto; align-items: start; }
.ev-suggest-text { font-size: 1.05rem; line-height: 1.7; color: #5f5a54; margin: 0; }
.ev-form select.form-input { appearance: auto; }
.ev-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ev-submit { margin-top: .5rem !important; }
.ev-form-ok { background: #e3eee6; color: #2f6b45; padding: 1.2rem 1.4rem; border-radius: 16px; font-weight: 500; }
@media (max-width: 900px) { .ev-toolbar { grid-template-columns: 1fr 1fr; } .ev-toolbar .blog-search { grid-column: 1 / -1; } .ev-suggest-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ev-card { grid-template-columns: 1fr; } .ev-date { flex-direction: row; gap: .4rem; width: auto; height: auto; padding: .4rem .8rem; justify-self: start; } .ev-day { font-size: 1.2rem; } .ev-mon { margin: 0; } .ev-section { margin: .75rem 0; border-radius: 18px; } }
/* home preview */
.home-events { padding: clamp(2.5rem, 5vw, 4rem) 0 .5rem; }
.home-events .container { max-width: 1150px; margin: 0 auto; }
.home-events-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.home-events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.home-event { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; background: #f5f0eb; border-radius: 20px; padding: 1rem; text-decoration: none; color: inherit; transition: transform .25s ease; }
.home-event:hover { transform: translateY(-3px); }
.home-event .ev-date { width: 64px; height: 64px; background: #fff; }
.home-event-body { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.home-event-title { font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--text-dark); }
.home-event-meta { font-size: .82rem; color: #6b665f; }
@media (max-width: 900px) { .home-events-grid { grid-template-columns: 1fr; } }
[data-theme="dark"] .ev-card { background: #2a2a2a; }
[data-theme="dark"] .ev-date, [data-theme="dark"] .home-event { background: #333; }
[data-theme="dark"] .home-event .ev-date { background: #2a2a2a; }
[data-theme="dark"] .ev-title, [data-theme="dark"] .ev-day, [data-theme="dark"] .home-event-title, [data-theme="dark"] .ev-ics { color: #fff; }
[data-theme="dark"] .ev-meta, [data-theme="dark"] .ev-desc, [data-theme="dark"] .ev-suggest-text, [data-theme="dark"] .home-event-meta, [data-theme="dark"] .ev-empty { color: rgba(255,255,255,.7); }
[data-theme="dark"] .ev-ics { border-color: #444; }
.ev-form .ev-submit { margin: .5rem 0 0 !important; }

/* Termine: optionales Hintergrundbild – Inhalt auf Milchglas */
.ev-card.has-img { background-color: #d9d2c8; background-size: cover; background-position: center; grid-template-columns: 76px minmax(0, 720px); padding: 1.4rem; }
.ev-card.has-img .ev-date { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ev-card.has-img .ev-body { background: rgba(255,255,255,.84); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-radius: 16px; padding: 1.15rem 1.3rem; }
.ev-card.has-img .ev-ics { background: rgba(255,255,255,.6); }
@media (max-width: 560px) { .ev-card.has-img { grid-template-columns: 1fr; padding-top: 8rem; } }
[data-theme="dark"] .ev-card.has-img .ev-body, [data-theme="dark"] .ev-card.has-img .ev-date { background: rgba(28,30,29,.8); }
[data-theme="dark"] .ev-card.has-img .ev-ics { background: rgba(255,255,255,.06); }

/* Startseite: Events als Zwei-Spalter (Text links, Liste rechts) */
.home-events-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.home-events-wrap .home-events-head { display: block; }
.home-events-wrap .home-events-head .pf-h2 { margin-bottom: .6rem; }
.home-events-intro { color: var(--text-gray, #6b6560); font-size: 1.02rem; line-height: 1.55; max-width: 34ch; margin: 0 0 1.1rem; }
.home-events-wrap .home-events-grid { grid-template-columns: 1fr; gap: .7rem; }
@media (max-width: 900px) { .home-events-wrap { grid-template-columns: 1fr; } }

/* Startseite: Events als eigene Bildkarte mit Milchglas-Einträgen (gleich breit wie die Karten darunter) */
.page-home .home-events { padding: 0 0 1.25rem; }
.home-events .container { max-width: var(--container-max, 1400px); }
.home-events-wrap { border-radius: 24px; background-size: cover; background-position: center; padding: clamp(1.75rem, 4vw, 3.25rem); color: #fff; }
.home-events-wrap .pf-h2 { color: #fff; }
.home-events-wrap .home-events-intro { color: rgba(255,255,255,.82); }
.home-events-wrap .pf-link { color: #fff; border-color: rgba(255,255,255,.6); }
.home-events-wrap .home-event { background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.home-events-wrap .home-event:hover { background: rgba(255,255,255,.18); }
.home-events-wrap .home-event .ev-date { background: rgba(255,255,255,.94); }
.home-events-wrap .home-event-title { color: #fff; }
.home-events-wrap .home-event-meta { color: rgba(255,255,255,.75); }
.home-events-wrap .ev-tag { background: rgba(255,255,255,.16); color: #cfe9d6; }
[data-theme="dark"] .home-events-wrap .home-event { background: rgba(255,255,255,.08); }
.home-events-wrap .home-event .ev-day { color: var(--text-dark, #1a1a1a); }
.ev-form .ev-file { padding: .7rem 1rem; cursor: pointer; }
.ev-form .ev-file::file-selector-button { border: 0; border-radius: 999px; background: #f0ece7; padding: .45rem .9rem; margin-right: .8rem; font: inherit; font-size: .85rem; cursor: pointer; }
/* meta line: dot sits at the end of the previous item, so a wrapped line never starts with "·" */
.ev-meta { display: block; line-height: 1.6; }
.ev-meta span + span::before { content: none; }
.ev-meta span:not(:last-child)::after { content: ' ·'; color: #c4beb6; margin-right: .35rem; }
/* card with photo: narrower glass panel so the photo stays visible on the right */
@media (min-width: 561px) { .ev-card.has-img { grid-template-columns: 76px minmax(0, 600px); padding: 1.75rem; min-height: 260px; background-position: 70% 35%; } }

/* Startseite: Event-Liste scrollt (Mausrad/Touch), ca. 3 Einträge sichtbar, weiche Kanten oben/unten */
.home-events-wrap .home-events-grid { max-height: 23rem; overflow-y: auto; scrollbar-width: none; padding: .9rem 0; margin: -.9rem 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.1rem, #000 calc(100% - 1.6rem), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 1.1rem, #000 calc(100% - 1.6rem), transparent 100%); }
.home-events-wrap .home-events-grid::-webkit-scrollbar { display: none; }
.home-events-wrap .home-event:hover { transform: none; }

/* Über uns: die vier Bereiche als ruhige Zeile unter der Einleitung (keine Boxen) */
.ab2-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgba(0,0,0,.08); padding-top: clamp(1.5rem, 3vw, 2rem); }
.ab2-pillar { display: flex; align-items: flex-start; gap: .85rem; padding: .25rem 1.25rem .25rem 0; text-decoration: none; color: var(--text-dark); }
.ab2-pillar + .ab2-pillar { padding-left: 1.25rem; border-left: 1px solid rgba(0,0,0,.08); }
.ab2-pillar-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; transition: transform .25s ease; }
.ab2-pillar-ic img { width: 24px; height: 24px; }
.ab2-pillar:hover .ab2-pillar-ic { transform: translateY(-3px); }
.ab2-pillar-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.ab2-pillar-title { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: 1.02rem; }
.ab2-pillar-title svg { opacity: .45; transition: opacity .2s ease, transform .2s ease; }
.ab2-pillar:hover .ab2-pillar-title svg { opacity: 1; transform: translate(2px, -2px); }
.ab2-pillar-desc { font-size: .88rem; line-height: 1.45; color: #6b665f; }
@media (max-width: 900px) {
  .ab2-pillars { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
  .ab2-pillar:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .ab2-pillars { grid-template-columns: 1fr; }
  .ab2-pillar, .ab2-pillar + .ab2-pillar { padding-left: 0; border-left: 0; }
}
[data-theme="dark"] .ab2-pillars { border-top-color: rgba(255,255,255,.1); }
[data-theme="dark"] .ab2-pillar + .ab2-pillar { border-left-color: rgba(255,255,255,.1); }
[data-theme="dark"] .ab2-pillar { color: #fff; }
[data-theme="dark"] .ab2-pillar-desc { color: rgba(255,255,255,.65); }
[data-theme="dark"] .ab2-pillar-ic { background: rgba(255,255,255,.94); }
.ab2-pillars { max-width: 1150px; margin-left: auto; margin-right: auto; }

/* Events: schwebender Button "Event vorschlagen" (unten mittig, verschwindet beim Formular) */
.ev-fab { position: fixed; left: 50%; bottom: 1.5rem; z-index: 880; display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1.15rem .45rem .45rem; border-radius: 999px; background: #1a1a1a; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translate(-50%, 14px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.ev-fab.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ev-fab:hover { transform: translate(-50%, -3px); }
.ev-fab-plus { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-orange, #e87c3e); display: grid; place-items: center; color: #fff; }
[data-theme="dark"] .ev-fab { background: #fff; color: #1a1a1a; }
html { scroll-behavior: smooth; }
.ab2-story-body .hl-b { background: linear-gradient(transparent 55%, rgba(74,127,168,.35) 55%); padding: 0 .1em; }

/* Elke: Fotoserie in der Galerie-Vorschau – Bilder blenden beim Hover nacheinander durch */
.pf-art-item--series .pf-art-frame { position: relative; }
.pf-art-stack { display: grid; }
.pf-art-stack img { grid-area: 1 / 1; opacity: 0; transition: opacity .45s ease; }
.pf-art-stack img.is-on { opacity: 1; }
.pf-art-count { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-variant-numeric: tabular-nums; }

/* ==== Galerie im Stil der restlichen Seite: helles Beige, Pillen wie im Blog, Polaroid-Rahmen wie auf Elkes Profil ==== */
.gallery-wall-section.gal2 { background: #f5f0eb; background-image: none; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.gal2 .container { max-width: 1150px; margin: 0 auto; }
.gal2-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gal2 .gallery-wall-grid { columns: 3; column-gap: clamp(1.25rem, 3vw, 2.5rem); padding: 0; }
.gal2 .gallery-frame { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); cursor: pointer; }
.gal2 .gallery-frame:nth-child(n) { transform: none; }
.gal2-frame { position: relative; display: block; background: #fff; padding: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.1); transition: transform .35s ease, box-shadow .35s ease; }
.gal2-frame img { display: block; width: 100%; height: auto; }
.gal2 .gallery-frame:nth-child(4n+1) .gal2-frame { rotate: -1.2deg; }
.gal2 .gallery-frame:nth-child(4n+2) .gal2-frame { rotate: .8deg; }
.gal2 .gallery-frame:nth-child(4n+3) .gal2-frame { rotate: -.4deg; }
.gal2 .gallery-frame:nth-child(4n) .gal2-frame { rotate: 1.2deg; }
.gal2 .gallery-frame:hover .gal2-frame { transform: translateY(-4px); rotate: 0deg; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.gal2 .pf-art-stack img { aspect-ratio: 4 / 5; object-fit: cover; }
.gal2 .gallery-frame-label { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem .15rem 0; }
.gal2 .gallery-frame-title { font-size: .92rem; color: #3d3a37; font-weight: 500; }
.gal2 .gallery-frame-year { font-size: .82rem; color: #8a847c; }
@media (max-width: 900px) { .gal2 .gallery-wall-grid { columns: 2; } }
@media (max-width: 520px) { .gal2 .gallery-wall-grid { columns: 1; } .gallery-wall-section.gal2 { margin-left: 0; margin-right: 0; } }
[data-theme="dark"] .gallery-wall-section.gal2 { background: #1f1f1f; }
[data-theme="dark"] .gal2-frame { background: #2c2c2c; }
[data-theme="dark"] .gal2 .gallery-frame-title { color: #eee; }

/* Galerie-Detail: mehrere Bilder als Slider nebeneinander (statt untereinander) */
.gallery-slider { position: relative; overflow: hidden; border-radius: 14px; background: #111; }
.gallery-slider-track { display: flex; transition: transform .45s cubic-bezier(.3,.7,.3,1); }
.gallery-slider-slide { flex: 0 0 100%; display: grid; place-items: center; }
.gallery-slider-slide img { display: block; width: 100%; max-height: 78vh; object-fit: contain; }
.gallery-slider-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s ease; }
.gallery-slider-arrow:hover { background: rgba(255,255,255,.28); }
.gallery-slider-prev { left: 14px; } .gallery-slider-next { right: 14px; }
.gallery-slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: .4rem; }
.gallery-slider-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.gallery-slider-dot.active { background: #fff; transform: scale(1.25); }

/* FAQ: Absätze, Listen und Links in den Antworten */
.faq-answer-inner p { margin: 0 0 .8rem; }
.faq-answer-inner p:last-child, .faq-answer-inner ul:last-child { margin-bottom: 0; }
.faq-answer-inner ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.faq-answer-inner li { margin-bottom: .45rem; }
.faq-answer-inner a { color: var(--accent-green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
[data-theme="dark"] .faq-answer-inner a { color: #9ad3ab; }

/* Kulinarik wie die Galerie: helles Beige, Blog-Pillen, Teller in 3 Spalten */
.kul2.gallery-wall-kulinarik, .gallery-wall-section.kul2 { background: #f5f0eb; }
.kul2::before { content: none; }
.kul2 .plate-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); padding: 0; }
.kul2 .plate-item { cursor: pointer; }
.kul2 .plate-overlay { filter: drop-shadow(0 10px 18px rgba(0,0,0,.14)); }
.kul2 .plate-label { padding-top: .9rem; }
.kul2 .plate-title { color: #3d3a37; font-size: .95rem; font-weight: 500; }
@media (max-width: 900px) { .kul2 .plate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kul2 .plate-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }
[data-theme="dark"] .gallery-wall-section.kul2 { background: #1f1f1f; }
[data-theme="dark"] .kul2 .plate-title { color: #eee; }
/* Lightbox details: normal labels (no small caps) and room between label and value */
.gallery-lb-meta-row { gap: 1.25rem; }
.gallery-lb-meta-label { text-transform: none; letter-spacing: 0; font-size: .85rem; flex: none; }
.gallery-lb-meta-row > span:last-child { text-align: right; }

/* Kulinarik: Teller so groß wie die Bilderrahmen der Galerie */
.kul2 .plate-item { max-width: 300px; width: 100%; justify-self: center; }
/* persönliche Notiz zum Gericht */
.gallery-feeling { margin: 0 0 1.25rem; padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--accent-orange, #e87c3e); font-size: 1.1rem; line-height: 1.6; color: inherit; opacity: .92; }
.gallery-feeling .gf-hand { font-family: 'Bristol', var(--font-heading, sans-serif); font-size: 1.4em; line-height: 1; color: var(--accent-orange, #e87c3e); letter-spacing: 0; }
.gallery-recipe { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; padding: .6rem 1.1rem; border-radius: 999px; background: var(--accent-orange, #e87c3e); color: #fff !important; font-weight: 600; font-size: .9rem; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.gallery-recipe:hover { background: #f39155; transform: translateY(-2px); }
.gallery-detail-info .gallery-recipe { margin: 0 0 1.25rem; }
.gallery-recipe { width: fit-content; align-self: flex-start; }
/* Roland: Kulinarik-Vorschau mit echten Tellern wie auf der Kulinarik-Seite */
.pf-plate { display: block; transition: transform .35s ease; }
.pf-plate .plate-overlay { filter: drop-shadow(0 10px 18px rgba(0,0,0,.14)); }
.pf-plate-item:hover .pf-plate { transform: translateY(-4px) rotate(-2deg); }
.pf-art--food .pf-plate-item:nth-child(even) .pf-plate { margin-top: 1.25rem; }

/* "Zuletzt geschrieben": Blog-Links grün, Wiki-Links orange beim Hover */
.pf-writing-item--blog:hover .pf-writing-title, .pf-writing-item--blog:hover .pf-writing-arrow { color: var(--accent-green, #4a7c59); }
.pf-writing-item--wiki:hover .pf-writing-title, .pf-writing-item--wiki:hover .pf-writing-arrow { color: #e87c3e; }
/* "Gut zu wissen:" als eigene Zeile, damit der Text gleichmäßig läuft */
.ab2-note-hand { display: block; margin: 0 0 .35rem; line-height: 1.1; }
/* phones: no white stripe between hero and the first section – flush, square corners */
@media (max-width: 767px) {
  .inner-hero + *, .inner-hero + script + *, .inner-hero + style + * { margin-top: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
}

/* Wiki: 3 per row like the blog */
.wiki-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 991px) { .wiki-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .wiki-grid { grid-template-columns: 1fr; } }

/* About: note under team cards */
.ab2-note-text--team { border-top: 0; padding-top: 0; margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0; }

/* KX account */
.kx.post-section { padding-top: 0; }
.kx-wrap { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
.kx .konto-card { border-radius: 18px; }
.kx-hello { position: relative; display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.75rem; margin-bottom: 1rem; }
.kx-avatar { flex: none; width: 68px; height: 68px; border-radius: 50%; background: #FBF1E7; color: var(--accent-orange); display: flex; align-items: center; justify-content: center; font-family: 'Bristol', var(--font-heading, sans-serif); font-size: 2.3rem; line-height: 1; padding-top: .2rem; }
.kx-hello-main { flex: 1; min-width: 0; padding-right: 5.5rem; }
.kx-hello-name { font-weight: 700; font-size: 1.3rem; color: var(--text-dark); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.kx-hello-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .2rem; font-size: var(--small); color: var(--text-gray); }
.kx-hello-meta span + span::before { content: '·'; margin-right: .9rem; }
.kx-hello-text { margin: .85rem 0 0; color: #555; line-height: 1.6; font-size: .98rem; }
.kx-logout { position: absolute; top: 1.5rem; right: 1.5rem; padding: .35rem .9rem; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: var(--small); font-weight: 500; color: var(--text-dark); text-decoration: none; transition: background .2s; }
.kx-logout:hover { background: #f5f2ec; }
.kx-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.kx-badge--ok { background: rgba(74,124,89,.1); color: #4a7c59; }
.kx-badge--wait { background: rgba(180,83,9,.08); color: #b45309; }
.kx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 2rem; }
.kx-stat { background: #fff; border-radius: 16px; padding: 1rem 1.1rem; text-decoration: none; color: var(--text-dark); box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.kx-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.kx-stat b { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--kx-c); }
.kx-stat span { font-size: .82rem; color: var(--text-gray); }
.kx-stat--blog, .kx-dot--blog, .kx-pill--blog { --kx-c: #4A7C59; }
.kx-stat--wiki, .kx-dot--wiki, .kx-pill--wiki { --kx-c: #E87C3E; }
.kx-stat--com, .kx-dot--com { --kx-c: #4A7FA8; }
.kx-card { padding: 1.75rem; margin-bottom: 1.25rem; scroll-margin-top: 100px; }
.kx-h { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; font-size: var(--h4); }
.kx-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--kx-c); flex: none; }
.kx-empty { text-align: center; padding: 1.5rem 1rem; background: #faf8f4; border-radius: 14px; }
.kx-empty p { margin: 0 auto; max-width: 420px; color: #666; font-size: .95rem; line-height: 1.6; }
.kx-pill { display: inline-block; margin-top: 1rem; padding: .55rem 1.2rem; border-radius: 999px; background: var(--kx-c); color: #fff !important; font-size: var(--small); font-weight: 600; text-decoration: none; transition: opacity .2s; }
.kx-pill:hover { opacity: .88; }
.kx-settings-title { font-size: var(--h4); margin: 2.75rem 0 1rem; color: var(--text-dark); }
.kx-acc { margin-bottom: .75rem; border-radius: 16px; overflow: hidden; }
.kx-acc > summary { list-style: none; cursor: pointer; padding: 1.1rem 1.5rem; display: flex; align-items: baseline; gap: .75rem; position: relative; }
.kx-acc > summary::-webkit-details-marker { display: none; }
.kx-acc > summary::after { content: ''; position: absolute; right: 1.5rem; top: 50%; width: 8px; height: 8px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.kx-acc[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.kx-acc-t { font-weight: 600; color: var(--text-dark); }
.kx-acc-s { font-size: .82rem; color: var(--text-gray); }
.kx-acc-body { padding: .25rem 1.5rem 1.5rem; }
.kx-row-form { margin-bottom: 1.1rem; }
.kx-label { display: block; font-size: .78rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .3rem; }
.kx-row { display: flex; gap: .5rem; align-items: center; }
.kx-input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1px solid #ccc; border-radius: 10px; font-size: var(--body); background: #fff; color: var(--text-dark); font-family: inherit; }
.kx-full { width: 100%; }
.kx-static { margin: 0; font-weight: 500; }
.kx-btn { background: var(--accent-orange); color: #fff; border: none; padding: .6rem 1.2rem; border-radius: 10px; cursor: pointer; font-size: var(--small); font-weight: 600; white-space: nowrap; font-family: inherit; transition: opacity .2s; }
.kx-btn:hover { opacity: .9; }
.kx-ok { background: #e8f5e9; color: #2e7d32; padding: .75rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: var(--small); }
.kx-nl { padding: 1.1rem 1.5rem; }
.kx-switch { display: flex; align-items: center; gap: .9rem; cursor: pointer; }
.kx-switch input { position: absolute; opacity: 0; pointer-events: none; }
.kx-switch i { flex: none; width: 42px; height: 24px; border-radius: 999px; background: #ddd; position: relative; transition: background .2s; }
.kx-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.kx-switch input:checked + i { background: #4A7C59; }
.kx-switch input:checked + i::after { transform: translateX(18px); }
.kx-switch input:focus-visible + i { outline: 2px solid var(--accent-orange); outline-offset: 2px; }
.kx-switch span { display: flex; flex-direction: column; }
.kx-switch b { font-weight: 600; color: var(--text-dark); }
.kx-switch small { font-size: .82rem; color: var(--text-gray); }
.kx-note { margin: 2.5rem 0 2rem; padding: 1.75rem; border-radius: 18px; background: #FBF1E7; text-align: center; }
.kx-note p { margin: 0 auto; max-width: 460px; color: #555; line-height: 1.6; }
.kx-note-links { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.kx-link { font-size: var(--small); color: var(--accent-green); text-decoration: underline; }
.kx-sig { margin-top: 1rem; font-family: 'Bristol', var(--font-heading, sans-serif); font-size: 1.6rem; color: var(--accent-orange); line-height: 1; }
.kx-danger { background: transparent; border: 1px solid #f1d0cc; }
.kx-danger .kx-acc-t { color: #c0392b; font-weight: 500; font-size: .95rem; }
@media (max-width: 600px) {
  .kx-wrap { padding-top: 1.5rem; }
  .kx-hello { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1.25rem; }
  .kx-hello-main { padding-right: 0; }
  .kx-hello-name, .kx-hello-meta { justify-content: center; }
  .kx-hello-meta { flex-direction: column; gap: .1rem; }
  .kx-hello-meta span + span::before { display: none; }
  .kx-logout { position: static; margin: .25rem auto 0; }
  .kx-stats { gap: .5rem; }
  .kx-stat { padding: .8rem .7rem; text-align: center; }
  .kx-stat b { font-size: 1.45rem; }
  .kx-stat span { font-size: .72rem; line-height: 1.25; display: block; }
  .kx-card { padding: 1.4rem 1.1rem; }
  .kx-acc > summary { padding: 1rem 1.15rem; flex-direction: column; gap: .1rem; }
  .kx-acc-body { padding: .25rem 1.15rem 1.25rem; }
}
[data-theme="dark"] .kx-stat, [data-theme="dark"] .kx-input { background: #1f1f1f; color: #eee; }
[data-theme="dark"] .kx-empty { background: rgba(255,255,255,.04); }
[data-theme="dark"] .kx-note, [data-theme="dark"] .kx-avatar { background: rgba(232,124,62,.12); }
[data-theme="dark"] .kx-note p, [data-theme="dark"] .kx-hello-text { color: #ccc; }

/* Home events: date tile stays light in dark mode -> keep the number dark and readable */
[data-theme="dark"] .home-events-wrap .home-event .ev-date .ev-day { color: #1a1a1a; }

/* <button> versions of the dark pill button look exactly like the links on the homepage */
button.features-toggle { border: 0; outline: 0; font-family: inherit; font-size: var(--small); font-weight: 500; line-height: inherit; color: var(--text-white, #fff); background: var(--bg-dark, #1a1a1a); cursor: pointer; -webkit-appearance: none; appearance: none; }
button.features-toggle:focus-visible { outline: 2px solid var(--accent-orange, #e87c3e); outline-offset: 3px; }

/* Kontakt: little walking figure (+ dog) on the bottom edge of the hero – motion is driven by js/hero-walker.js */
.hero-walker, .hero-dog { position: absolute; left: 0; bottom: 6px; pointer-events: none; color: #fff; opacity: .9; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); will-change: transform; }
.hero-walker { z-index: 3; width: 44px; height: 64px; transform: translateX(-60px); }
.hero-dog { z-index: 4; width: 54px; height: 32px; transform: translateX(-90px); visibility: hidden; }
.hero-dog.is-running { visibility: visible; }
.hero-walker svg, .hero-dog svg { display: block; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.hero-walker svg { stroke-width: 3.2; }
.hero-walker .hw-leg { stroke: #4A7C59; stroke-width: 4.6; }
.hero-walker .hw-arm { stroke: #E87C3E; stroke-width: 4; }
.hero-walker .hw-torso { fill: #E87C3E; stroke: none; }
.hero-walker .hw-scarf, .hero-walker .hw-scarf-tail { stroke: #5E9A6E; stroke-width: 3.4; }
.hero-walker .hw-scarf-tail { stroke-width: 2.8; }
.hero-walker .hw-face { fill: #FBEBDD; stroke: none; }
.hero-walker .hw-eyes circle { fill: #2a2a2a; stroke: none; }
.hero-walker .hw-smile { stroke: #2a2a2a; stroke-width: 1; }
.hero-walker .hw-curl { stroke: #7a5236; stroke-width: 1.8; }
.hero-walker .hw-hat { fill: #C0392B; stroke: none; }
.hero-walker .hw-hat-brim { stroke: #fff; stroke-width: 3.4; }
.hero-walker .hw-hat-pom { fill: #fff; stroke: none; }
.hero-dog .hd-body { stroke-width: 8; }
.hero-dog .hd-neck { stroke-width: 5; }
.hero-dog .hd-head { fill: currentColor; stroke: none; }
.hero-dog .hd-snout { stroke-width: 3.6; }
.hero-dog .hd-ear { stroke-width: 3; }
.hero-dog .hd-tail { stroke-width: 2.8; }
.hero-dog .hd-leg { stroke-width: 3.2; }
@media (max-width: 600px) { .hero-walker svg { width: 34px; height: 49px; } .hero-dog svg { width: 42px; height: 25px; } }

/* Article highlights */
.post-body mark, .reader-content mark { background: linear-gradient(transparent 58%, rgba(232,124,62,.32) 58%); color: inherit; padding: 0 .08em; border-radius: 2px; }
[data-theme="dark"] .post-body mark { background: linear-gradient(transparent 58%, rgba(232,124,62,.45) 58%); }

/* Reading view (js/reader.js) */
.reader-open { display: inline-flex; align-items: center; gap: .35rem; margin-left: .75rem; padding: .3rem .75rem; border: 1px solid var(--border-subtle, #ddd); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .8rem; cursor: pointer; transition: background .2s, border-color .2s; vertical-align: middle; }
.reader-open:hover { background: rgba(232,124,62,.1); border-color: #e87c3e; }
.reader-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: flex-start; justify-content: center; padding: 3vh 1rem; background: rgba(20,20,20,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.reader-modal.is-open { display: flex; }
html.reader-lock, html.reader-lock body { overflow: hidden; }
.reader-sheet { position: relative; width: 100%; max-width: 680px; max-height: 94vh; overflow-y: auto; background: #fff; color: #1d1d1d; border-radius: 16px; padding: 2.4rem 2.6rem 2.6rem; box-shadow: 0 20px 60px rgba(0,0,0,.25); overscroll-behavior: contain; }
.reader-tools { position: sticky; top: 0; float: right; display: flex; gap: .35rem; margin: -1.2rem -1.4rem 0 .75rem; z-index: 2; }
.reader-close, .reader-size { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2efea; color: #1d1d1d; font-size: 1.4rem; line-height: 1; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.reader-size { font-size: .85rem; font-weight: 600; letter-spacing: -.02em; }
.reader-size-up { font-size: 1.05rem; }
.reader-size:disabled { opacity: .35; cursor: default; }
.reader-size:not(:disabled):hover { background: #4A7C59; color: #fff; }
.reader-close:hover { background: #e87c3e; color: #fff; }
.reader-content { font-size: .95rem; line-height: 1.6; }
.reader-content h1 { font-size: 1.6em; line-height: 1.2; margin: 0 0 1.1rem; letter-spacing: -.01em; }
.reader-content h2 { font-size: 1.18em; line-height: 1.3; margin: 1.5rem 0 .45rem; }
.reader-content h3 { font-size: 1.05em; margin: 1.2rem 0 .4rem; }
.reader-content p { margin: 0 0 .8rem; }
.reader-content ul, .reader-content ol { margin: 0 0 .9rem; padding-left: 1.2rem; }
.reader-content li { margin-bottom: .35rem; }
.reader-content a { color: #4a7c59; }
.reader-content img { max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 600px) { .reader-modal { padding: 0; } .reader-sheet { max-height: 100vh; height: 100%; border-radius: 0; padding: 1.6rem 1.25rem 2rem; } .reader-tools { margin: -.6rem -.4rem 0 .5rem; } .reader-open span { display: none; } .reader-open { padding: .35rem .5rem; } }

/* Blog/Wiki: number of entries under the filters */
.list-count { text-align: center; margin: -.25rem 0 1.5rem; }

/* Kontakt: cat instead of dog */
.hero-cat .hd-fill { fill: currentColor; stroke: none; }
.hero-cat .hd-eye { fill: #22382b; stroke: none; }
.hero-cat .hd-tail { stroke-width: 3; }
.hero-cat .hd-leg { stroke-width: 3.4; }

/* Horror post: little animated pumpkin in the hero (post field "decor": "pumpkin") */
.hero-pumpkin { position: absolute; right: clamp(1rem, 6vw, 5rem); bottom: 1.25rem; z-index: 3; pointer-events: none; transform-origin: 50% 100%; animation: pkRock 3.6s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.hero-pumpkin svg { display: block; overflow: visible; }
.hero-pumpkin .pk-halo { opacity: .35; animation: pkHalo 2.4s ease-in-out infinite; }
.hero-pumpkin .pk-face { animation: pkFlicker 1.9s steps(1) infinite; }
.hero-pumpkin .pk-leaf { transform-origin: 66px 14px; animation: pkLeaf 3.6s ease-in-out infinite; }
@keyframes pkRock { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-3px); } }
@keyframes pkHalo { 0%,100% { opacity: .28; } 50% { opacity: .5; } }
@keyframes pkFlicker { 0%,100% { opacity: 1; } 12% { opacity: .65; } 16% { opacity: 1; } 47% { opacity: .8; } 52% { opacity: .55; } 56% { opacity: 1; } 81% { opacity: .75; } }
@keyframes pkLeaf { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@media (max-width: 600px) { .hero-pumpkin svg { width: 64px; height: 59px; } .hero-pumpkin { bottom: .75rem; right: 1rem; } }
@media (prefers-reduced-motion: reduce) { .hero-pumpkin, .hero-pumpkin * { animation: none !important; } }

/* Login / register: welcoming intro panel next to the form */
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; max-width: 1000px; }
.auth-split .auth-card { margin: 0; width: 100%; }
.auth-intro { padding: .5rem 0; }
.auth-intro-kicker { font-family: 'Bristol', var(--font-heading, sans-serif); font-size: 1.7rem; line-height: 1.1; color: #E87C3E; margin-bottom: .5rem; }
.auth-intro h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 0 1.5rem; color: var(--text-dark); }
.auth-benefits { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .85rem; }
.auth-benefits li { display: flex; align-items: center; gap: .85rem; font-size: 1rem; line-height: 1.45; color: #4a4642; }
.auth-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--c); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.auth-note { font-size: .88rem; line-height: 1.55; color: #8a847c; margin: 0; max-width: 420px; }
.auth-hero-sub { margin-top: .6rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); }
.auth-forgot { margin-top: .75rem !important; }
[data-theme="dark"] .auth-intro h2 { color: #fff; }
[data-theme="dark"] .auth-benefits li { color: #ccc; }
[data-theme="dark"] .auth-ic { background: #2a2a2a; }
@media (max-width: 860px) { .auth-split { grid-template-columns: 1fr; max-width: 480px; } .auth-intro { text-align: left; } }

/* Kontakt: figure can sit on the hero's bottom edge with legs dangling over it */
.contact-hero-wrap { position: relative; display: flow-root; }
.hero-stage { position: absolute; left: 1rem; right: 1rem; top: 0; bottom: -70px; overflow: hidden; pointer-events: none; z-index: 5; }
.hero-stage .hero-walker, .hero-stage .hero-dog { bottom: 76px; }
@media (max-width: 767px) { .contact-hero-wrap + * { margin-top: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; } }
@media (max-width: 600px) { .hero-stage .hero-walker, .hero-stage .hero-dog { bottom: 74px; } }
@media (max-width: 767px) { .hero-stage { display: none; } }

/* Login: the little figure sits on top of the form box */
.auth-card--sitter { position: relative; }
.hero-walker.auth-sitter { left: auto; right: 2.75rem; bottom: auto; top: -38px; transform: none !important; z-index: 4; filter: drop-shadow(0 3px 5px rgba(0,0,0,.25)); }
@media (max-width: 600px) { .hero-walker.auth-sitter { top: -29px; right: 1.75rem; } }

/* Register form is long: start the intro text at the top of the form */
.auth-split { align-items: start; }
.auth-intro { padding-top: 2.5rem; position: sticky; top: 110px; }
@media (max-width: 860px) { .auth-intro { position: static; padding-top: .5rem; } }

/* Events: "Ich gehe hin" / "Interessiert" */
.ev-rsvp { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .9rem 0 .2rem; }
.ev-rsvp-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .9rem; border-radius: 999px; border: 1.5px solid #d9d2c7; background: #fff; color: #3a3632; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ev-rsvp-btn:hover { border-color: #4A7FA8; color: #4A7FA8; }
.ev-rsvp-btn.is-on { background: #4A7FA8; border-color: #4A7FA8; color: #fff; }
.ev-rsvp-btn[data-status="interested"].is-on { background: #E87C3E; border-color: #E87C3E; }
.ev-rsvp-count { font-size: .82rem; color: #8a847c; margin-left: .25rem; }
[data-theme="dark"] .ev-rsvp-btn:not(.is-on) { background: #2a2a2a; border-color: #444; color: #ddd; }
/* Account: my events */
.kx-stats { grid-template-columns: repeat(4, 1fr); }
.kx-stat--ev, .kx-dot--ev, .kx-pill--ev { --kx-c: #4A7FA8; }
.kx-stat--com, .kx-dot--com { --kx-c: #8B6F5C; }
@media (max-width: 600px) { .kx-stats { grid-template-columns: repeat(2, 1fr); } }
.kx-events { display: grid; gap: .6rem; }
.kx-event { display: flex; align-items: center; gap: 1rem; padding: .75rem .9rem; border-radius: 14px; background: #faf8f4; text-decoration: none; color: var(--text-dark); transition: background .2s; }
.kx-event:hover { background: #f2eee7; }
.kx-event-date { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.kx-event-date b { font-size: 1.25rem; }
.kx-event-date span { font-size: .72rem; color: #8a847c; margin-top: .15rem; }
.kx-event-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.kx-event-title { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kx-event-meta { font-size: .8rem; color: #8a847c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kx-event-status { flex: none; font-size: .75rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; color: #fff; background: #4A7FA8; }
.kx-event-status--interested { background: #E87C3E; }
@media (max-width: 600px) { .kx-event-status { display: none; } }
[data-theme="dark"] .kx-event { background: rgba(255,255,255,.04); }
[data-theme="dark"] .kx-event-date { background: #2a2a2a; }
