/*
  6.9.138 «Unslop» pass: small rules that apply everywhere, loaded last (after zf-polish.css).
  Each block names the guideline it follows; the page-specific changes live in the views.
*/

/* Flat line icons instead of text glyphs (no ‹ › → ↗ ✓ ◷ ⌖ characters as icons). */
/* 6.9.138: icon glyphs as flat line icons (CSS masks, same 24px grid and round strokes as the nav icons).
   Use <zf-gi data-i="name" aria-hidden="true"></zf-gi> wherever a text glyph (‹ › → ↗ ✓ ◷ …) stood. */
zf-gi{display:inline-block;flex:none;width:1em;height:1em;vertical-align:-.14em;background-color:currentColor;-webkit-mask:var(--zf-gi) center/contain no-repeat;mask:var(--zf-gi) center/contain no-repeat}
zf-gi[data-i="chev-l"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E")}
zf-gi[data-i="chev-r"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E")}
zf-gi[data-i="chev-d"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
zf-gi[data-i="arrow-r"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")}
zf-gi[data-i="arrow-l"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E")}
zf-gi[data-i="arrow-d"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E")}
zf-gi[data-i="arrow-u"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E")}
zf-gi[data-i="ext"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8.5 7H17v8.5'/%3E%3C/svg%3E")}
zf-gi[data-i="check"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E")}
zf-gi[data-i="x"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
zf-gi[data-i="clock"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E")}
zf-gi[data-i="pin"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6.5-5.6 6.5-11a6.5 6.5 0 0 0-13 0c0 5.4 6.5 11 6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E")}
zf-gi[data-i="user"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5 20c.8-3.7 3.6-5.6 7-5.6s6.2 1.9 7 5.6'/%3E%3C/svg%3E")}
zf-gi[data-i="users"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3.5 19c.6-3.2 2.9-5 5.5-5s4.9 1.8 5.5 5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16 14.2c2.4.2 4 1.8 4.5 4.8'/%3E%3C/svg%3E")}
zf-gi[data-i="grid"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M4 10h16M4 15h16M10 4v16M15 4v16'/%3E%3C/svg%3E")}
zf-gi[data-i="swap"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M8 8l-4 4 4 4M16 8l4 4-4 4'/%3E%3C/svg%3E")}
zf-gi[data-i="repeat"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11V9a3 3 0 0 1 3-3h12l-3-3M20 13v2a3 3 0 0 1-3 3H5l3 3'/%3E%3C/svg%3E")}
zf-gi[data-i="lock"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/%3E%3C/svg%3E")}
zf-gi[data-i="shield"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l7 2.8v5.4c0 4.3-2.9 7.4-7 8.8-4.1-1.4-7-4.5-7-8.8V6.3z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E")}
zf-gi[data-i="hourglass"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h10M7 20.5h10M8 3.5c0 4.5 8 4.5 8 8.5s-8 4-8 8.5M16 3.5c0 4.5-8 4.5-8 8.5s8 4 8 8.5'/%3E%3C/svg%3E")}
zf-gi[data-i="mail"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.5'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E")}
zf-gi[data-i="download"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E")}
zf-gi[data-i="plus"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")}
zf-gi[data-i="edit"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3C/svg%3E")}
zf-gi[data-i="sort"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 20V4M4 8l4-4 4 4M16 4v16M12 16l4 4 4-4'/%3E%3C/svg%3E")}
zf-gi[data-i="target"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E")}
zf-gi[data-i="sparkle"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l1.8 5.2L19 11l-5.2 1.8L12 18l-1.8-5.2L5 11l5.2-1.8z'/%3E%3C/svg%3E")}
zf-gi[data-i="search"]{--zf-gi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E")}
:is(.meeting-meta, .zf-ld-meta, .zf-group-intro-meta) > span { display: inline-flex; align-items: center; gap: .38em; }
:is(.meeting-meta, .zf-ld-meta, .zf-group-intro-meta) > span > zf-gi { width: 1.05em; height: 1.05em; opacity: .8; }
.zf-arrow-link:not([hidden]) { display: inline-flex; align-items: center; gap: .3em; }
.zf-arrow-link > zf-gi { transition: transform .18s ease; }
.zf-arrow-link:hover > zf-gi[data-i="arrow-r"], .zf-arrow-link:focus-visible > zf-gi[data-i="arrow-r"] { transform: translateX(2px); }
.zf-arrow-link:hover > zf-gi[data-i="ext"], .zf-arrow-link:focus-visible > zf-gi[data-i="ext"] { transform: translate(1px, -1px); }
a.backlink:not([hidden]), .zf-auth-back:not([hidden]) { display: inline-flex; align-items: center; gap: .35em; }
.button:has(> zf-gi):not([hidden]), a:has(> zf-gi):not([hidden]), button:has(> zf-gi):not([hidden]) { display: inline-flex; align-items: center; justify-content: center; gap: .4em; }

/* Check marks that were printed by CSS content are drawn with the same line icon. */

.zf751-merge-card span::before, .zf-voter-chips span.is-done::before, .zf-ld-gsteps li.is-done b::before,
.zf-gsetup[data-setup-mode="simple"] .zf-gsetup-step.is-done > header > span::before {
  content: "" !important; display: inline-block; width: 1em; height: 1em; margin-right: .25em; vertical-align: -.14em; background: currentColor;
  -webkit-mask: var(--zf-gi-check) center / contain no-repeat; mask: var(--zf-gi-check) center / contain no-repeat;
}

/* Numbers that sit in columns or change in place keep their width (tabular figures). */
.is-workspace, time, table, .calendar-grid, .calendar-day, .day-number,
[class*="slot"], [class*="time"], [class*="price"], [class*="count"], [class*="stat"], [class*="kpi"],
.zf-tier-limits, .zf-ld, .zf-booking-date, .zf-pv-row-t, .booking-progress, .zf-report-activity-row {
  font-variant-numeric: tabular-nums;
}

/* Paragraphs avoid a single word on the last line. */
p, li, dd, figcaption, .lead, .zf-feature-story-copy small { text-wrap: pretty; }

/* Pressed buttons give a small, quick answer. */
@media (prefers-reduced-motion: no-preference) {
  :is(.button, button, .zf-button):not(:disabled):not([aria-disabled="true"]) { transition: transform .12s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease !important; }
  :is(.button, button, .zf-button):not(:disabled):not([aria-disabled="true"]):active { transform: scale(.97) !important; }
}

:root { --zf-gi-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"); }

/* The button that sent the form shows that it is working (the page loader may come later). */
.zf-is-sending, :is(.button, button, .zf-button).zf-is-sending { position: relative; color: transparent !important; -webkit-text-fill-color: transparent !important; pointer-events: none; }
.zf-is-sending > * { visibility: hidden; }
.zf-is-sending::after, .button.zf-is-sending::after {
  display: block !important; content: ""; position: absolute; left: 50%; top: 50%; width: 1.05em; height: 1.05em; margin: -.525em 0 0 -.525em;
  border-radius: 50%; border: 2px solid currentColor; border-color: var(--zf-busy-ink, #fff) var(--zf-busy-ink, #fff) transparent transparent;
  animation: zf-busy-spin .7s linear infinite;
}
:is(.button-secondary, .button-ghost, .zf-button-quiet).zf-is-sending { --zf-busy-ink: #2b2e23; }
@keyframes zf-busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .zf-is-sending::after { animation-duration: 2s; } }

/* «Kopiert»: the copy buttons confirm with a check icon (set by app.js) that pops in. */
:is([data-copy], [data-copy-value]).is-done, :is([data-copy], [data-copy-value]).is-done:hover:not(:disabled) { background: #ecf7cc !important; color: #3f5a00 !important; border-color: #b9dc6a !important; }
:is([data-copy], [data-copy-value]).is-done > zf-gi { margin-right: .2em; }
@media (prefers-reduced-motion: no-preference) {
  :is([data-copy], [data-copy-value]).is-done > zf-gi { animation: zf-pop .32s cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes zf-pop { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ------------------------------------------------------------------------------------------------
   Landing page
   ------------------------------------------------------------------------------------------------ */

/* Hero: one main button; «Alle Funktionen» becomes a quiet link. */
.zf-hero-actions { align-items: center; }
.zf-hero-more { padding: 0 6px; font-weight: 750; font-size: .9rem; color: #3f5a00; text-decoration: none; }
.zf-hero-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* «Für Elterngespräche und Sprechstunden gemacht»: line icons instead of 01–06 number badges. */
/* 6.9.138 review: icons about 20% bigger, cards a little roomier. */
.zf-schools-grid { gap: 20px; }
.zf-schools-grid article { gap: 10px; padding: 30px 30px 28px; }
.zf-schools-mark { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; padding: 0 !important; border-radius: 14px !important; }
.zf-schools-mark .zf-plan-ic { width: 24px; height: 24px; }
/* 6.9.156: the duotone part takes a light wash of the tile colour instead of the plan-card lime, so coral
   and amber tiles no longer show green blobs. */
.zf-schools-mark .zf-plan-ic { width: 26px; height: 26px; stroke-width: 1.7; }
.zf-schools-mark .zf-plan-ic .zf-plan-ic-duo { fill: currentColor; opacity: .2; }

/* Sub-page titles get enough room for a short title on one line (no lone last word). */
.is-public .zf-subpage-hero h1 { max-width: 21ch; }

/* Booking access page: the page background fills the window (it stopped at 650px and drew a grey box). */
.auth-shell.manage-access-shell { max-width: none; margin: 0; padding: 30px 18px; }

/* Close, remove and «full» marks: the line icon sits centred in the round button. */
.zf-modal-close, .zf752-holo-close, .zf-tp-x, .zf-icon-quiet, .icon-button { display: inline-grid; place-items: center; }
.zf-modal-close zf-gi { width: 16px; height: 16px; }
.zf752-holo-close zf-gi, .zf-icon-quiet zf-gi, .icon-button zf-gi { width: 14px; height: 14px; }
.zf-tp-x zf-gi { width: 12px; height: 12px; }
.day-limit-mark zf-gi { width: 12px; height: 12px; }
.zf-ld-day-full zf-gi, .zf-heatmap-cell.is-no-slots span zf-gi { width: .8em; height: .8em; }
.zf-report-counts { display: inline-flex; gap: 10px; }
.zf-report-counts > span { display: inline-flex; align-items: center; gap: 3px; }
.zf-report-counts zf-gi { width: 11px; height: 11px; }

/* Page detail: «Kommende Tage» and «Alle Buchungen» are the section titles now, so the pills are a size bigger. */
.zf-pv-subnav { gap: 6px; }
.zf-pv-subnav button { height: 44px; padding: 0 20px; font-size: 15.5px; gap: 8px; }
.zf-pv-subnav button span { min-width: 24px; padding: 2px 7px; font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; }

/* «Gratis für immer»: what stays free, then a blank line, then what the paid plans add. */
#warum .zf-value-grid p.zf-value-more { margin-top: .9em; }
