/* zimplifi.de landing page — brand: ink, signal orange (the full stop), paper. */

@font-face { font-family: 'zl Fraunces'; src: url(fonts/fraunces.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'zl Inter'; src: url(fonts/inter.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
	--zl-ink: #14231c;
	--zl-ink-2: #22372c;
	--zl-signal: #e8590c;
	--zl-signal-d: #c44a08;
	--zl-paper: #f7f3ec;
	--zl-sand: #efe8dc;
	--zl-line: #e0d8c9;
	--zl-sub: #55625a;
	--zl-moss: #2f6b4f;
	--zl-serif: 'zl Fraunces', Georgia, 'Times New Roman', serif;
	--zl-sans: 'zl Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--zl-r: 14px;
	--zl-schatten: 0 1px 2px rgb(20 35 28 / .06), 0 12px 32px -12px rgb(20 35 28 / .22);
}

/* The theme's global styles still frame the page — take over body, keep its footer readable. */
body.zl-body { background: var(--zl-paper); color: var(--zl-ink); font-family: var(--zl-sans); }
body.zl-body main.wp-block-group { margin: 0; padding: 0; }
body.zl-body footer.wp-block-template-part { margin-block-start: 0; background: var(--zl-paper); font-family: var(--zl-sans); color: var(--zl-sub); }
body.zl-body footer.wp-block-template-part a { color: var(--zl-ink); }

.zl { font-family: var(--zl-sans); font-size: 17px; line-height: 1.6; color: var(--zl-ink); -webkit-font-smoothing: antialiased; }
.zl *, .zl *::before, .zl *::after { box-sizing: border-box; }
/* margin reset at zero specificity, so the component classes below set spacing without !important */
:where(.zl) :where(h1, h2, h3, p) { margin: 0; }
.zl h1, .zl h2, .zl h3 { font-family: var(--zl-serif); font-weight: 700; color: var(--zl-ink); letter-spacing: -.015em; }
.zl a { color: inherit; }
.zl-innen { width: min(1160px, 100% - 40px); margin-inline: auto; }
.zl-schmal { width: min(780px, 100% - 40px); }

.zl-ueber { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--zl-sub); display: inline-flex; align-items: center; gap: .6em; }
.zl-ueber::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: var(--zl-signal); }

/* buttons */
.zl-knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 15px 26px; border: 0; border-radius: 999px;
	background: var(--zl-signal); color: #fff !important; font: 600 1rem/1.2 var(--zl-sans); text-decoration: none; cursor: pointer;
	box-shadow: 0 8px 20px -10px rgb(232 89 12 / .8); transition: background .15s, transform .15s; }
.zl-knopf:hover { background: var(--zl-signal-d); transform: translateY(-1px); }
.zl-knopf:focus-visible { outline: 3px solid var(--zl-ink); outline-offset: 3px; }
.zl-knopf:disabled { opacity: .6; cursor: progress; transform: none; }
.zl-knopf-klein { padding: 10px 18px; font-size: .92rem; box-shadow: none; }

/* header */
.zl-kopf { position: sticky; top: 0; z-index: 50; background: rgb(247 243 236 / .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
body.admin-bar .zl-kopf { top: 32px; }
.zl-kopf.zl-fest { border-color: var(--zl-line); box-shadow: 0 6px 20px -16px rgb(20 35 28 / .5); }
.zl-kopf-innen { display: flex; align-items: center; gap: 28px; height: 70px; }
.zl-marke { display: block; color: var(--zl-ink); line-height: 0; }
.zl-marke svg { height: 30px; width: auto; }
.zl-nav { display: flex; gap: 26px; margin-left: auto; }
.zl-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--zl-sub); }
.zl-nav a:hover { color: var(--zl-ink); }

/* hero */
.zl-held { padding: 64px 0 96px; overflow-x: clip; }
.zl-held-innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.zl-held h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.05; max-width: 11em; margin: 18px 0 20px; font-variation-settings: 'opsz' 144; }
.zl-lead { font-size: 1.15rem; color: var(--zl-sub); max-width: 32em; margin-bottom: 30px; }

.zl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; padding: 22px; border-radius: 20px; box-shadow: var(--zl-schatten); max-width: 560px; }
.zl-feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.zl-feld-voll { grid-column: 1 / -1; }
.zl-feld label { font-size: .85rem; font-weight: 600; }
.zl-feld label span { font-weight: 400; color: var(--zl-sub); margin-left: .3em; }
.zl-form input, .zl-form select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d6cfc2; border-radius: 10px; background: #fff;
	font: 400 1rem/1.3 var(--zl-sans); color: var(--zl-ink); appearance: none; -webkit-appearance: none; }
.zl-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314231c' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.zl-form input::placeholder { color: #9aa29c; }
.zl-form input:focus, .zl-form select:focus { outline: 2px solid var(--zl-signal); outline-offset: 0; border-color: var(--zl-signal); }
.zl-form button { margin-top: 4px; min-height: 54px; font-size: 1.05rem; }
/* "Ihre Demo ist fertig": replaces the form once this browser has made a demo (generator.js). */
.zl-meine-demo { background: #fff; padding: 24px; border-radius: 20px; box-shadow: var(--zl-schatten); max-width: 560px; }
.zl-meine-demo[hidden] { display: none; }
.zl-meine-demo-titel { margin: 0 0 14px; font-size: 1.15rem; }
.zl-meine-demo .zl-knopf { width: 100%; justify-content: center; min-height: 54px; font-size: 1.05rem; }
.zl-meine-demo-tipp { margin: 14px 0 6px; color: var(--zl-sub); font-size: .95rem; }
.zl-meine-demo-neu { border: 0; background: none; padding: 0; font: inherit; font-size: .92rem; font-weight: 600; color: var(--zl-signal-d); text-decoration: underline; cursor: pointer; }
.zl-status { min-height: 0; font-weight: 600; color: var(--zl-moss); font-size: .95rem; }
.zl-status:empty { display: none; }
.zfg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.zl-rueckruf { margin: 16px 0 0; font-size: .95rem; color: var(--zl-sub); }
.zl-rueckruf button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--zl-signal-d); text-decoration: underline; cursor: pointer; }
.zl-schluss .zl-rueckruf { margin: 22px 0 0; font-size: 1rem; }
.zl-meine-demo-fuss { margin: 6px 0 0; color: var(--zl-sub); }
.zl-vorteile { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 18px 0 0; font-size: .92rem; color: var(--zl-sub); }
.zl-vorteile li::before { content: '✓'; color: var(--zl-moss); font-weight: 700; margin-right: .45em; }

/* hero visual: two demo screenshots in browser frames + the design-menu chip */
.zl-held-bild { position: relative; aspect-ratio: 1.12; }
.zl-browser { position: absolute; margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgb(20 35 28 / .08), 0 30px 60px -24px rgb(20 35 28 / .45); }
.zl-browser img { display: block; width: 100%; height: auto; }
.zl-browser-leiste { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1ede6; border-bottom: 1px solid #e4ddd1; }
.zl-browser-leiste i { width: 9px; height: 9px; border-radius: 50%; background: #d9d1c4; }
.zl-browser-leiste span { margin-left: 10px; font-size: 11px; color: #7d857f; background: #fff; border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zl-browser-hinten { width: 78%; right: 0; top: 0; transform: rotate(2.5deg); }
.zl-browser-vorn { width: 82%; left: 0; bottom: 4%; transform: rotate(-1.5deg); }
.zl-spinner-chip { position: absolute; right: 2%; bottom: 0; display: grid; gap: 6px; padding: 14px 18px; background: var(--zl-ink); color: var(--zl-paper);
	border-radius: 14px; box-shadow: var(--zl-schatten); font-size: .8rem; transform: rotate(1.5deg); }
.zl-chip-titel { font-family: var(--zl-serif); font-weight: 600; font-size: 1rem; }
.zl-chip-farben { display: flex; gap: 6px; }
.zl-chip-farben i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .25); }
.zl-chip-farben i:first-child { box-shadow: 0 0 0 2px var(--zl-ink), 0 0 0 4px var(--zl-signal); }
.zl-chip-zeile { color: #b9c4bd; }

/* sections */
.zl-abschnitt { padding: 100px 0; }
.zl-abschnitt h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; margin: 14px 0 0; max-width: 20em; }
.zl-einleitung { color: var(--zl-sub); font-size: 1.1rem; max-width: 40em; margin-top: 16px; }

.zl-schritte { background: #fff; }
.zl-schritt-liste { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.zl-schritt-liste li { position: relative; padding: 30px 28px 32px; border-radius: var(--zl-r); background: var(--zl-paper); }
.zl-nr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--zl-ink); color: var(--zl-paper);
	font: 700 1.15rem/1 var(--zl-serif); margin-bottom: 22px; position: relative; }
.zl-nr::after { content: ''; position: absolute; right: -2px; bottom: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--zl-signal); box-shadow: 0 0 0 3px var(--zl-paper); }
.zl-schritt-liste h3 { font-size: 1.35rem; margin-bottom: 10px; }
.zl-schritt-liste p { color: var(--zl-sub); }

.zl .zl-branche { font-family: var(--zl-sans); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--zl-sub);
	margin: 48px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--zl-line); }
.zl-karten { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.zl-karte a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff; border-radius: var(--zl-r); overflow: hidden;
	box-shadow: var(--zl-schatten); transition: transform .2s, box-shadow .2s; }
.zl-karte a:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(20 35 28 / .08), 0 26px 48px -20px rgb(20 35 28 / .4); }
.zl-karte a:focus-visible { outline: 3px solid var(--zl-signal); outline-offset: 3px; }
.zl-karte-bild { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--zl-sand); border-bottom: 1px solid var(--zl-line); }
.zl-karte-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.zl-karte a:hover .zl-karte-bild img { transform: scale(1.03); }
.zl-karte-text { display: flex; flex-direction: column; padding: 18px 20px 4px; }
.zl-karte-text strong { font: 600 1.15rem/1.3 var(--zl-serif); }
.zl-karte-text span { color: var(--zl-sub); font-size: .92rem; }
.zl-karte-los { padding: 8px 20px 18px; margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--zl-signal-d); }
/* Beispiele: one card at a time; landing.js slides the next one in (without JS the first stays). */
.zl-wechsel { max-width: 820px; margin: 40px auto 0; }
.zl-wechsel .zl-karten { display: grid; grid-template-columns: 1fr; overflow: hidden; margin: -30px -30px 0; padding: 30px 30px 50px; }
.zl-wechsel .zl-karte { grid-area: 1 / 1; visibility: hidden; transform: translateX(110%); transition: transform .45s cubic-bezier(.22,.8,.24,1), opacity .45s; }
.zl-wechsel .zl-karte.zl-aktiv { visibility: visible; transform: none; z-index: 2; }
.zl-wechsel .zl-karte.zl-raus { visibility: visible; transform: translateX(-30%); opacity: 0; z-index: 1; }
.zl-wechsel .zl-karte.zl-zurueck:not(.zl-aktiv):not(.zl-raus) { transform: translateX(-110%); }
.zl-wechsel .zl-karte.zl-raus.zl-zurueck { transform: translateX(30%); }
.zl-wechsel .zl-karten { touch-action: pan-y; }
.zl-wechsel .zl-karte-text { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.zl-wechsel .zl-karte-text strong { font-size: 1.35rem; }
.zl-karte-branche { flex-basis: 100%; font-size: .78rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--zl-signal-d) !important; }
.zl-punkte { display: flex; justify-content: center; gap: 8px; margin-top: -24px; }
.zl-punkte button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: #d4cbbd; cursor: pointer; transition: width .3s, background .3s; }
.zl-punkte button[aria-current] { width: 26px; background: var(--zl-signal-d); }
@media (prefers-reduced-motion: reduce) { .zl-wechsel .zl-karte { transition: none; } }
.zl-bald { margin-top: 40px; padding: 18px 22px; border: 1px dashed #cfc5b3; border-radius: var(--zl-r); color: var(--zl-sub); }
.zl-bald strong { color: var(--zl-ink); margin-right: .3em; }

.zl-preis { background: var(--zl-ink); color: var(--zl-paper); }
.zl-preis h2 { color: var(--zl-paper); }
.zl-preis .zl-ueber { color: #b9c4bd; }
.zl-preis-innen { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 64px; align-items: center; }
.zl-preis-text > p:last-child { color: #cfd8d2; font-size: 1.1rem; margin-top: 18px; max-width: 30em; }
.zl-preis-karte { background: var(--zl-paper); color: var(--zl-ink); border-radius: 22px; padding: 36px 34px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.zl-betrag { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.zl-betrag span { font: 700 3.6rem/1 var(--zl-serif); font-variation-settings: 'opsz' 144; letter-spacing: -.02em; }
.zl-betrag small { font-size: 1rem; color: var(--zl-sub); }
.zl-haken { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; }
.zl-haken li { position: relative; padding-left: 30px; }
.zl-haken li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--zl-moss)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat; }
.zl-preis-karte .zl-knopf { width: 100%; }

.zl-faq { margin-top: 40px; border-top: 1px solid var(--zl-line); }
.zl-faq details { border-bottom: 1px solid var(--zl-line); }
.zl-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 1.15rem/1.35 var(--zl-serif); }
.zl-faq summary::-webkit-details-marker { display: none; }
.zl-faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--zl-ink);
	border-bottom: 2px solid var(--zl-ink); transform: rotate(45deg); transition: transform .2s; }
.zl-faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.zl-faq summary:focus-visible { outline: 2px solid var(--zl-signal); outline-offset: 4px; }
.zl-faq details p { padding: 0 0 24px; color: var(--zl-sub); max-width: 40em; }
.zl-faq details a { color: var(--zl-signal-d); }

.zl-schluss { padding: 110px 0 120px; text-align: center; background: var(--zl-sand); }
.zl-schluss h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; font-variation-settings: 'opsz' 144; }
.zl-schluss h2 em { font-style: italic; }
.zl-schluss p { color: var(--zl-sub); font-size: 1.15rem; margin: 18px 0 32px; }

/* tablet */
@media (max-width: 960px) {
	.zl-held { padding: 40px 0 72px; }
	.zl-held-innen { grid-template-columns: 1fr; gap: 56px; }
	.zl-held-bild { max-width: 620px; width: 100%; margin-inline: auto; }
	.zl-schritt-liste, .zl-karten { grid-template-columns: 1fr 1fr; }
	.zl-preis-innen { grid-template-columns: 1fr; gap: 40px; }
	.zl-nav { display: none; }
	.zl-kopf-innen { justify-content: space-between; }
}

/* phone */
@media (max-width: 600px) {
	.zl { font-size: 16px; }
	.zl-innen, .zl-schmal { width: calc(100% - 32px); }
	.zl-kopf-innen { height: 60px; }
	.zl-marke svg { height: 25px; }
	.zl-held h1 { margin-top: 14px; }
	.zl-lead { font-size: 1.05rem; }
	.zl-form { grid-template-columns: 1fr; padding: 18px; gap: 12px; border-radius: 16px; }
	.zl-schritt-liste { grid-template-columns: 1fr; }
	/* one swipeable row per trade instead of six stacked cards */
	.zl-karten:not(.zl-wechsel .zl-karten) { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 24px; scrollbar-width: none; }
	.zl-karten::-webkit-scrollbar { display: none; }
	.zl-karte { flex: 0 0 82%; scroll-snap-align: center; }
	.zl-abschnitt { padding: 72px 0; }
	.zl-preis-karte { padding: 28px 22px; }
	.zl-spinner-chip { display: none; }
	.zl-held-bild { aspect-ratio: 1.25; }
}
@media (max-width: 782px) { body.admin-bar .zl-kopf { top: 46px; } }
@media (prefers-reduced-motion: reduce) { .zl * { transition: none !important; } html { scroll-behavior: auto !important; } }
html:has(body.zl-body) { scroll-behavior: smooth; scroll-padding-top: 84px; }
.zl-preis-hinweis { margin: .9rem 0 0; font-size: .85rem; opacity: .75; text-align: center; }
