/* ==========================================================================
   Hanna Frankfurt – Ratgeber im Design „Hausakte“ 2.0
   Übersicht mit Registerreitern und Kartenraster, Artikel mit dunklem Titelband,
   Inhaltsverzeichnis rechts, Checkliste als Formularbogen.
   Baut auf den Tokens aus assets/css/frankfurt.css auf.
   ========================================================================== */

.ff-guide-main { display: block; padding-bottom: clamp(64px, 8vw, 112px); }
.ff-guide-container { width: 100%; max-width: var(--ff-wrap); margin-inline: auto; padding-inline: var(--ff-gutter); }
.ff-guide-page .ff-guide-container > * + * { margin-top: 0; }

/* Dunkle, randlose Flächen ohne zusätzliche Wrapper */
.ff-guide-breadcrumb, .ff-guide-intro {
  background: var(--ff-night); box-shadow: 0 0 0 100vmax var(--ff-night); clip-path: inset(0 -100vmax);
}
.ff-guide-intro { clip-path: inset(-2px -100vmax 0); }
.ff-guide-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-top: 26px; font-size: .95rem; color: var(--ff-on-dark);
}
.ff-guide-breadcrumb a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.ff-guide-breadcrumb a:hover { color: var(--ff-teal-l); border-color: currentColor; }
.ff-guide-breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, .35); }
.ff-guide-context { font-family: var(--ff-head); font-weight: 500; font-size: 1.08rem; color: var(--ff-teal-ink); }

/* ---------- Übersicht ---------- */
.ff-guide-intro {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end;
  padding: clamp(36px, 5vw, 64px) 0 clamp(52px, 6vw, 88px); color: var(--ff-on-dark);
}
.ff-guide-intro .ff-guide-context { color: var(--ff-teal-l); margin-bottom: 14px; }
.ff-guide-intro h1 { color: #fff; font-size: var(--ff-h1); line-height: 1.02; }
.ff-guide-intro-text { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: clamp(20px, 3vw, 36px); }
.ff-guide-intro-text p { font-size: 1.12rem; }
.ff-guide-intro-text p + p { margin-top: 12px; }
.ff-guide-text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ff-teal); padding-bottom: 2px; }
.ff-guide-text-link:hover { color: var(--ff-teal-l); }

.ff-guide-feature {
  position: relative; z-index: 1; margin-top: -28px !important;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px); background: var(--ff-white);
  border-left: 6px solid var(--ff-teal); box-shadow: 0 0 0 1px var(--ff-line), 0 24px 48px -30px rgba(14, 39, 56, .5);
}
.ff-guide-feature-copy { display: contents; }
.ff-guide-feature h2 { grid-column: 1; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; }
.ff-guide-feature h2 a { color: var(--ff-night); text-decoration: none; }
.ff-guide-feature h2 a:hover { color: var(--ff-blue); }
.ff-guide-feature p { grid-column: 1; color: var(--ff-muted); max-width: 46em; }
.ff-guide-feature .ff-guide-button { grid-column: 2; grid-row: 1 / span 2; }

.ff-guide-focus-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px !important; }
.ff-guide-focus-topics .ff-guide-aside-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border: 1px solid var(--ff-line); border-radius: var(--ff-r);
  color: var(--ff-night); font-weight: 600; text-decoration: none; background: var(--ff-white);
}
.ff-guide-focus-topics .ff-guide-aside-link::before {
  content: ""; width: 14px; height: 14px; background: var(--ff-teal-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ff-guide-focus-topics .ff-guide-aside-link:hover { border-color: var(--ff-night); color: var(--ff-blue); }

.ff-guide-library { margin-top: clamp(56px, 7vw, 96px) !important; }
.ff-guide-library-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; }
.ff-guide-library-heading .ff-guide-context { margin-bottom: 8px; }
.ff-guide-library-heading h2 { font-size: var(--ff-h2); line-height: 1.05; }
.ff-guide-library-heading > p { color: var(--ff-muted); max-width: 22em; }

.ff-guide-filter-form { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.ff-guide-filter-form > label { font-weight: 600; color: var(--ff-night); }
.ff-guide-search-wrap {
  position: relative; display: flex; align-items: stretch; max-width: 640px; border: 1px solid #a9b8c1; border-radius: var(--ff-r); background: var(--ff-white);
}
.ff-guide-search-wrap:focus-within { border-color: var(--ff-teal-ink); box-shadow: 0 0 0 3px rgba(16, 178, 194, .28); }
.ff-guide-search-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ff-muted); pointer-events: none; }
.ff-guide-search-wrap input {
  flex: 1; min-width: 0; min-height: 52px; padding: 10px 12px 10px 46px; border: 0; background: transparent;
  font: 400 1.05rem/1.3 var(--ff-body); color: var(--ff-text);
}
.ff-guide-search-wrap input:focus { outline: none; }
.ff-guide-search-submit {
  margin: 5px; padding: 0 20px; border: 0; border-radius: 2px; background: var(--ff-night); color: #fff;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.08rem; cursor: pointer;
}
.ff-guide-search-submit:hover { background: var(--ff-blue); }

/* Themen als Registerreiter auf einer gemeinsamen Grundlinie */
.ff-guide-topics {
  display: flex; gap: 4px; margin-top: 22px; padding-top: 4px; border-bottom: 3px solid var(--ff-night);
  overflow-x: auto; scrollbar-width: thin;
}
.ff-guide-topics button {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
  border: 1px solid var(--ff-line); border-bottom: 0; border-radius: 5px 5px 0 0; background: var(--ff-concrete);
  font-family: var(--ff-head); font-weight: 600; font-size: 1.08rem; color: var(--ff-night); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.ff-guide-topics button span {
  min-width: 26px; padding: 1px 6px; border-radius: 2px; background: var(--ff-white); color: var(--ff-muted);
  font-family: var(--ff-body); font-weight: 600; font-size: .85rem; text-align: center;
}
.ff-guide-topics button:hover { background: var(--ff-concrete-2); }
.ff-guide-topics button[aria-pressed="true"] { background: var(--ff-night); border-color: var(--ff-night); color: #fff; }
.ff-guide-topics button[aria-pressed="true"] span { background: var(--ff-teal); color: var(--ff-night); }

.ff-guide-result-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 0; color: var(--ff-muted); font-weight: 600; }
.ff-guide-reset { font-weight: 600; }
.ff-guide-library-layout { display: block; margin-top: 24px; }
.ff-guide-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(18px, 2.4vw, 32px); }
.ff-guide-story { display: flex; flex-direction: column; min-width: 0; }
.ff-guide-story[hidden] { display: none; }
.ff-guide-story-image { display: block; overflow: hidden; background: var(--ff-concrete); }
.ff-guide-story-image .ff-guide-photo { margin: 0; }
.ff-guide-story-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ff-guide-story-copy { display: flex; flex-direction: column; flex: 1; padding-top: 16px; border-bottom: 1px solid var(--ff-line); padding-bottom: 18px; }
.ff-guide-story-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; color: var(--ff-muted); }
.ff-guide-story-meta span:first-child { font-family: var(--ff-head); font-weight: 600; font-size: 1rem; color: var(--ff-teal-ink); }
.ff-guide-story h3 { margin-top: 8px !important; font-size: clamp(1.25rem, 1.15rem + .4vw, 1.42rem); line-height: 1.15; }
.ff-guide-story h3 a { color: var(--ff-night); text-decoration: none; }
.ff-guide-story h3 a:hover { color: var(--ff-blue); text-decoration: underline; text-decoration-thickness: 2px; }
.ff-guide-story-copy > p {
  margin-top: 10px !important; color: var(--ff-muted); font-size: 1rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.ff-guide-story-link {
  margin-top: auto; padding-top: 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ff-blue); text-decoration: none;
}
.ff-guide-story-link::after {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: var(--ff-i-chev) center / contain no-repeat; mask: var(--ff-i-chev) center / contain no-repeat;
}
.ff-guide-story-link:hover { text-decoration: underline; }
.ff-guide-empty { grid-column: 1 / -1; padding: 40px; background: var(--ff-concrete); border-left: 5px solid var(--ff-teal); }
.ff-guide-empty[hidden] { display: none; }
.ff-guide-empty p { margin: 8px 0 20px; color: var(--ff-muted); }

.ff-guide-library-aside { margin-top: clamp(48px, 6vw, 80px); }
.ff-guide-help-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 28px; align-items: center;
  padding: clamp(24px, 3vw, 36px); background: var(--ff-concrete); border-top: 6px solid var(--ff-night);
}
.ff-guide-help-symbol { grid-row: 1 / span 2; width: 64px; height: 64px; display: grid; place-items: center; background: var(--ff-white); color: var(--ff-teal-ink); }
.ff-guide-help-card h3 { font-size: 1.5rem; }
.ff-guide-help-card > p:not(.ff-guide-help-small) { grid-column: 2; color: var(--ff-muted); }
.ff-guide-help-card > .ff-guide-button { grid-column: 3; grid-row: 1 / span 2; }
.ff-guide-help-card hr { grid-column: 1 / -1; width: 100%; border: 0; border-top: 1px solid var(--ff-line); margin: 16px 0 6px; }
.ff-guide-help-small { grid-column: 1 / -1; color: var(--ff-muted); font-size: .98rem; }
.ff-guide-help-card .ff-guide-aside-link { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ff-guide-help-card .ff-guide-aside-link::after {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: var(--ff-i-chev) center / contain no-repeat; mask: var(--ff-i-chev) center / contain no-repeat;
}
.ff-guide-editorial-note { margin-top: 14px; font-size: .92rem; color: var(--ff-muted); max-width: 60em; }

.ff-guide-principles {
  margin-top: clamp(56px, 7vw, 96px) !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px);
  padding-top: 32px; border-top: 2px solid var(--ff-night);
}
.ff-guide-principles > div { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; }
.ff-guide-tick {
  grid-row: 1 / span 2; width: 26px; height: 26px; border: 2px solid var(--ff-night); border-radius: 2px; position: relative; margin-top: 2px;
}
.ff-guide-tick::after {
  content: ""; position: absolute; inset: 2px; background: var(--ff-teal-ink);
  -webkit-mask: var(--ff-i-check) center / contain no-repeat; mask: var(--ff-i-check) center / contain no-repeat;
}
.ff-guide-principles h3 { font-size: 1.3rem; line-height: 1.15; }
.ff-guide-principles p { margin-top: 6px; color: var(--ff-muted); }

@media (max-width: 1000px) {
  .ff-guide-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-guide-help-card { grid-template-columns: auto minmax(0, 1fr); }
  .ff-guide-help-card > .ff-guide-button { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 10px; }
}
@media (max-width: 860px) {
  .ff-guide-intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ff-guide-intro-text { border-left: 0; padding-left: 0; }
  .ff-guide-feature { grid-template-columns: minmax(0, 1fr); }
  .ff-guide-feature .ff-guide-button { grid-column: 1; grid-row: auto; justify-self: start; }
  .ff-guide-principles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ff-guide-results { grid-template-columns: minmax(0, 1fr); }
  .ff-guide-help-card { grid-template-columns: minmax(0, 1fr); }
  .ff-guide-help-symbol { grid-row: auto; width: 52px; height: 52px; }
  .ff-guide-help-card > *, .ff-guide-help-card > p:not(.ff-guide-help-small), .ff-guide-help-card > .ff-guide-button,
  .ff-guide-help-small, .ff-guide-help-card .ff-guide-aside-link { grid-column: 1; }
  .ff-guide-intro h1 { font-size: min(2.6rem, 11vw); }
}

/* ---------- Artikel ---------- */
.ff-guide-reading-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 4px; pointer-events: none; }
.admin-bar .ff-guide-reading-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .ff-guide-reading-progress { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ff-guide-reading-progress { top: 0; } }
.ff-guide-reading-progress span { display: block; height: 100%; background: var(--ff-teal); transform: scaleX(0); transform-origin: left; }

.ff-guide-article-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); }
.ff-guide-article-hero::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: clamp(90px, 14vw, 220px);
  left: 50%; width: 100vw; transform: translateX(-50%); background: var(--ff-night);
}
.ff-guide-article-heading {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(28px, 5vw, 72px); align-items: end;
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 4.4vw, 56px); color: var(--ff-on-dark);
}
.ff-guide-article-heading > * { grid-column: 1; }
.ff-guide-category {
  justify-self: start; display: inline-block; padding: 4px 10px; margin-bottom: 18px; background: var(--ff-teal); color: var(--ff-night);
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 2px;
}
.ff-guide-category:hover { background: var(--ff-teal-l); color: var(--ff-night); }
.ff-guide-article-heading h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.9rem); line-height: 1.03; hyphens: manual; overflow-wrap: break-word; }
.ff-guide-article-deck { margin-top: 20px; font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); max-width: 40em; color: var(--ff-on-dark); }
.ff-guide-byline {
  grid-column: 2; grid-row: 2 / span 3; align-self: end; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px;
  padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .2);
}
.ff-guide-byline > div { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.ff-guide-byline strong { color: #fff; font-size: 1.02rem; }
.ff-guide-author-mark {
  width: 44px; height: 44px; display: grid; place-items: center; background: var(--ff-teal); color: var(--ff-night);
  font-family: var(--ff-head); font-weight: 600; font-size: 1.4rem; border-radius: 2px;
}
.ff-guide-print-link {
  grid-column: 2; justify-self: start; margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0;
  border: 0; background: none; color: #fff; font-weight: 600; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.ff-guide-print-link:hover { color: var(--ff-teal-l); }
.ff-guide-article-photo { margin: 0; }
.ff-guide-article-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 50%; }

.ff-guide-article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "body toc"; gap: clamp(32px, 6vw, 88px);
  margin-top: clamp(40px, 5vw, 72px) !important; align-items: start;
}
.ff-guide-toc { grid-area: toc; position: sticky; top: calc(var(--ff-bar) + 28px); }
.ff-guide-article-body { grid-area: body; min-width: 0; max-width: 44rem; }
.ff-guide-toc details { border-top: 3px solid var(--ff-night); }
.ff-guide-toc summary {
  list-style: none; cursor: pointer; padding: 14px 0 10px; font-family: var(--ff-head); font-weight: 600; font-size: 1.2rem; color: var(--ff-night);
  display: flex; align-items: center; justify-content: space-between;
}
.ff-guide-toc summary::-webkit-details-marker { display: none; }
.ff-guide-toc summary::after {
  content: ""; width: 12px; height: 12px; background: currentColor; transition: transform .2s var(--ff-ease);
  -webkit-mask: var(--ff-i-down) center / contain no-repeat; mask: var(--ff-i-down) center / contain no-repeat;
}
.ff-guide-toc details[open] summary::after { transform: rotate(180deg); }
.ff-guide-toc nav { display: flex; flex-direction: column; padding-bottom: 8px; counter-reset: ff-toc; }
.ff-guide-toc nav a {
  display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--ff-line); color: var(--ff-muted); text-decoration: none; font-size: .98rem; line-height: 1.35;
}
.ff-guide-toc nav a:hover { color: var(--ff-blue); border-left-color: var(--ff-blue); }
.ff-guide-toc nav a[aria-current] { color: var(--ff-night); font-weight: 600; border-left: 4px solid var(--ff-teal); padding-left: 12px; }
.ff-guide-toc-service { margin-top: 22px; padding: 18px; background: var(--ff-concrete); }
.ff-guide-toc-service p { font-size: .92rem; color: var(--ff-muted); }
.ff-guide-toc-service a { display: inline-block; margin-top: 4px; font-weight: 600; }

.ff-guide-summary { padding: clamp(22px, 3vw, 32px); background: var(--ff-concrete); border-left: 5px solid var(--ff-teal); }
.ff-guide-summary h2 { font-size: 1.45rem; }
.ff-guide-summary ul { list-style: none; padding: 0; margin-top: 12px; }
.ff-guide-summary li { position: relative; padding: 6px 0 6px 24px; }
.ff-guide-summary li::before { content: ""; position: absolute; left: 0; top: .85em; width: 9px; height: 9px; background: var(--ff-night); }

.ff-guide-prose { margin-top: clamp(32px, 4vw, 48px); }
.ff-guide-prose > * + * { margin-top: 1.05em !important; }
.ff-guide-prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.1; margin-top: 1.9em !important; scroll-margin-top: calc(var(--ff-bar) + 24px); }
.ff-guide-prose > h2:first-child { margin-top: 0 !important; }
.ff-guide-prose p { font-size: 1.14rem; line-height: 1.7; }

.ff-guide-checklist { margin-top: clamp(40px, 5vw, 64px); border: 2px solid var(--ff-night); background: var(--ff-white); }
.ff-guide-checklist-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: var(--ff-night); color: var(--ff-teal-l); }
.ff-guide-checklist-heading .ff-guide-context { color: var(--ff-teal-l); font-size: .98rem; }
.ff-guide-checklist-heading h2 { color: #fff; font-size: 1.6rem; }
.ff-guide-checklist > p { padding: 18px 22px 4px; color: var(--ff-muted); }
.ff-guide-checklist ul { list-style: none; padding: 8px 22px; margin: 0; }
.ff-guide-checklist li { border-bottom: 1px dashed var(--ff-line); }
.ff-guide-checklist label { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; cursor: pointer; align-items: start; }
.ff-guide-checklist input {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border: 2px solid var(--ff-night); border-radius: 2px; background: var(--ff-white); cursor: pointer;
}
.ff-guide-checklist input:checked {
  background: var(--ff-teal-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
  border-color: var(--ff-teal-ink);
}
.ff-guide-checklist input:checked + span { color: var(--ff-muted); text-decoration: line-through; text-decoration-color: rgba(0, 117, 130, .6); }
.ff-guide-checklist-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 22px; background: var(--ff-concrete); }
.ff-guide-checklist-footer [data-ff-guide-check-count] { font-weight: 600; color: var(--ff-night); margin-right: auto; }
.ff-guide-checklist-footer button { padding: 8px 14px; border: 1px solid var(--ff-night); border-radius: var(--ff-r); background: var(--ff-white); color: var(--ff-night); font-weight: 600; cursor: pointer; }
.ff-guide-checklist-footer button:hover { background: var(--ff-night); color: #fff; }
.ff-guide-checklist small { display: block; padding: 0 22px 16px; background: var(--ff-concrete); color: var(--ff-muted); font-size: .88rem; }

.ff-guide-faq { margin-top: clamp(40px, 5vw, 64px); }
.ff-guide-faq h2 { font-size: 1.8rem; padding-bottom: 12px; border-bottom: 2px solid var(--ff-night); }
.ff-guide-faq details { border-bottom: 1px solid var(--ff-line); }
.ff-guide-faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 48px 18px 0;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: var(--ff-night);
}
.ff-guide-faq summary::-webkit-details-marker { display: none; }
.ff-guide-faq summary::before, .ff-guide-faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 2px; background: var(--ff-night); transition: transform .2s var(--ff-ease);
}
.ff-guide-faq summary::after { transform: rotate(90deg); }
.ff-guide-faq details[open] summary::after { transform: rotate(0); }
.ff-guide-faq details > div { padding: 0 48px 20px 0; color: var(--ff-muted); }

.ff-guide-sources { margin-top: clamp(40px, 5vw, 56px); font-size: .98rem; }
.ff-guide-sources h2 { font-size: 1.35rem; }
.ff-guide-sources p { margin-top: 8px; color: var(--ff-muted); }
.ff-guide-sources ul { margin-top: 10px; padding-left: 1.1em; }
.ff-guide-sources li { padding: 3px 0; }
.ff-guide-sources a { overflow-wrap: anywhere; }

.ff-guide-author-box { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--ff-line); }
.ff-guide-author-box h2 { font-size: 1.25rem; }
.ff-guide-author-box p { margin-top: 6px; color: var(--ff-muted); }
.ff-guide-author-box a { display: inline-block; margin-top: 8px; font-weight: 600; }
.ff-guide-back { margin-top: 28px; }
.ff-guide-back a { font-weight: 600; }

.ff-guide-related { margin-top: clamp(64px, 8vw, 104px) !important; padding-top: 32px; border-top: 2px solid var(--ff-night); }
.ff-guide-related-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ff-guide-related-heading h2 { font-size: var(--ff-h2); line-height: 1.05; }
.ff-guide-related-heading a { font-weight: 600; }
.ff-guide-related-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.ff-guide-related-grid article { display: flex; flex-direction: column; min-width: 0; }
.ff-guide-related-grid .ff-guide-photo { margin: 0; }
.ff-guide-related-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ff-guide-related-grid article > span { margin-top: 14px; font-family: var(--ff-head); font-weight: 600; color: var(--ff-teal-ink); }
.ff-guide-related-grid h3 { margin-top: 4px !important; font-size: 1.3rem; line-height: 1.15; }
.ff-guide-related-grid h3 a { color: var(--ff-night); text-decoration: none; }
.ff-guide-related-grid h3 a:hover { color: var(--ff-blue); text-decoration: underline; }
.ff-guide-related-grid p { margin-top: 6px; font-size: .92rem; color: var(--ff-muted); }

@media (max-width: 900px) {
  .ff-guide-article-heading { grid-template-columns: minmax(0, 1fr); }
  .ff-guide-byline, .ff-guide-print-link { grid-column: 1; grid-row: auto; }
  .ff-guide-byline { margin-top: 24px; }
  .ff-guide-article-hero::before { bottom: clamp(60px, 18vw, 140px); }
  .ff-guide-article-photo img { aspect-ratio: 4 / 3; }
  .ff-guide-article-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "toc" "body"; gap: 28px; }
  .ff-guide-toc { position: static; }
  .ff-guide-toc details { border: 1px solid var(--ff-line); border-top: 3px solid var(--ff-night); padding: 0 16px; }
  .ff-guide-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ff-guide-related-grid { grid-template-columns: minmax(0, 1fr); }
  .ff-guide-article-heading h1 { font-size: min(2.25rem, 9.6vw); }
  .ff-guide-checklist-heading svg { display: none; }
  .ff-guide-checklist-heading, .ff-guide-checklist > p, .ff-guide-checklist ul, .ff-guide-checklist-footer, .ff-guide-checklist small { padding-left: 16px; padding-right: 16px; }
  .ff-guide-prose p { font-size: 1.08rem; }
}

/* ---------- Druck ---------- */
@media print {
  .ff-guide-reading-progress, .ff-guide-toc, .ff-guide-related, .ff-guide-back, .ff-guide-print-link, .ff-block-band,
  .ff-guide-checklist-footer button, .ff-guide-breadcrumb { display: none !important; }
  .ff-guide-article-hero::before { display: none; }
  .ff-guide-article-heading, .ff-guide-article-heading h1, .ff-guide-byline strong { color: #000 !important; }
  .ff-guide-article-layout { display: block; }
  .ff-guide-article-photo img { max-height: 9cm; }
  .ff-guide-checklist-heading { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .ff-guide-checklist-heading h2 { color: #000; }
  .ff-guide-faq details > div { display: block; }
}
