
/* ----- Design-Token ----- */
:root {
  --zf-bg: #ffffff;
  --zf-fg: #111827; /* gray-900 */
  --zf-fg-muted: #374151; /* gray-700 */
  --zf-accent: #111827;
  --zf-border: #e5e7eb; /* gray-200 */
  --zf-card: #f9fafb;    /* gray-50 */
}

/* Scope alles unter .zf-landing, verhindert Kollisionen mit Divi */
.zf-landing { color: var(--zf-fg); background: var(--zf-bg); line-height: 1.6; }
.zf-landing * { box-sizing: border-box; }
.zf-landing img { max-width: 100%; height: auto; display: block; }

/* Scroll-Snap (optional, deaktiviert bei reduced motion) */
.zf-landing { scroll-snap-type: y mandatory; }
@media (prefers-reduced-motion: reduce) {
  .zf-landing { scroll-snap-type: none; }
}
.zf-section, .zf-header { scroll-snap-align: start; min-height: 100svh; display: flex; align-items: center; }

/* Layout */
.zf-container { width: min(1120px, 92%); margin: 0 auto; }
.zf-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
@media (max-width: 960px) { .zf-hero-grid { grid-template-columns: 1fr; } }

/* Typo */
.zf-h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; font-weight: 800; margin: 0; }
.zf-h1 span { color: var(--zf-fg-muted); font-weight: 800; }
.zf-h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.2; font-weight: 700; margin: 0 0 .75rem 0; }
.zf-h3 { font-size: 1.125rem; font-weight: 700; margin: 0; }
.zf-subline { margin-top: 1rem; color: var(--zf-fg-muted); font-size: 1.05rem; max-width: 65ch; }
.zf-quote { margin-top: 1rem; padding-left: 1rem; border-left: 4px solid var(--zf-border); font-weight: 600; }

/* Hero */
.zf-hero-visual { border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); background: #e5e7eb; }

/* Lists, Grid, Cards */
.zf-list { margin: 1rem 0; padding-left: 1.25rem; }
.zf-list li { margin: .35rem 0; }

.zf-dimensions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 960px) { .zf-dimensions { grid-template-columns: repeat(2, 1fr); } }

.zf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.zf-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .zf-grid, .zf-grid--two { grid-template-columns: 1fr; } }

.zf-card { background: var(--zf-card); border: 1px solid var(--zf-border); border-radius: 1rem; padding: 1rem 1.25rem; }
.zf-card__head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .5rem; }
.zf-card__head > span { font-size: 1.1rem; }
.zf-card__text, .zf-teaser { color: var(--zf-fg-muted); margin: .4rem 0 0; }

/* Details/summary styles */
.zf-card summary { list-style: none; cursor: pointer; }
.zf-card summary::-webkit-details-marker { display: none; }
.zf-card summary { position: relative; padding-right: 2rem; }
.zf-card summary::after { content: '▾'; position: absolute; right: .25rem; top: .35rem; transition: transform .2s ease; }
.zf-card[open] summary::after { transform: rotate(-180deg); }
.zf-card[open] { background: #fff; }

/* Buttons */
.zf-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.zf-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1rem; border-radius: .75rem; border: 1px solid var(--zf-fg); background: var(--zf-fg); color: #fff; text-decoration: none; font-weight: 600; }
.zf-btn:hover { filter: brightness(0.95); }
.zf-btn--outline { background: transparent; color: var(--zf-fg); border-color: var(--zf-fg); }

/* Notes, quotes */
.zf-note { font-size: .85rem; color: var(--zf-fg-muted); margin-top: .75rem; }
.zf-quote-card { margin-top: 1rem; padding: 1rem; border: 1px solid var(--zf-border); border-radius: 1rem; background: #fff; }
.zf-quote-card blockquote { font-weight: 600; }
.zf-quote-card figcaption { font-size: .9rem; color: var(--zf-fg-muted); margin-top: .25rem; }

/* Footer */
.zf-footer { border-top: 1px solid var(--zf-border); background: #fff; }
.zf-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding: 2rem 0; }
@media (max-width: 960px) { .zf-footer__grid { grid-template-columns: 1fr; } }
.zf-links { margin: .5rem 0 0; padding: 0; list-style: none; }
.zf-links li { margin: .25rem 0; }
.zf-links a { text-decoration: underline; text-underline-offset: 2px; }
.zf-footer__legal { border-top: 1px solid var(--zf-border); display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 0; font-size: .85rem; color: var(--zf-fg-muted); }
@media (max-width: 640px) { .zf-footer__legal { flex-direction: column; } }

/* Skiplink */
.zf-skip { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.zf-skip:focus { position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem; background: #000; color: #fff; border-radius: .5rem; z-index: 9999; }
