/* Installationsseite „→ Bread'n Flow" — Werte aus dem Design-Canvas
   („Lesezeichen installieren"), Tokens wie im Importer (public/js/importer/stil.js). */
:root {
  --bg: #f0ede9; --bg-soft: #faf8f5; --surface: #fff; --ink: #292524; --ink-soft: #57534e; --ink-mute: #6f6862;
  --line: #e7e5e4; --line-soft: #f5f3f0; --primary: #44403c; --accent: #c05a3e; --accent-soft: #fff7f3;
  --accent-border: #f4c8b8; --accent-ink: #8a3920; --blue: #1d4ed8; --green: #166534; --green-soft: #dcfce7;
  --green-border: #86efac; --amber: #92400e; --amber-tint: #fffbeb; --amber-border: #f59e0b;
  --shadow: 0 1px 2px rgba(0,0,0,.03); --shadow-lg: 0 12px 32px rgba(28,25,23,.16);
}
* { box-sizing: border-box; }
body.lz { margin: 0; font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5; }
.lz a { color: var(--blue); }
/* Kopf und Fuß folgen der App (#app-topbar, <footer> in app.html, css/style.css):
   1000 px Inhaltsbreite, 1.25rem Rand, Logo 40 px, Glas-Hintergrund. */
.lz-tb { position: sticky; top: 0; z-index: 5; background: rgba(245,243,240,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-top: env(safe-area-inset-top, 0px); }
.lz-tb-innen { max-width: 1000px; margin: 0 auto; padding: 6px calc(1.25rem + env(safe-area-inset-right, 0px)) 6px calc(1.25rem + env(safe-area-inset-left, 0px)); display: flex; align-items: center; justify-content: space-between; }
.lz-logo-link { display: block; }
.lz-logo { height: 40px; width: auto; display: block; }
.lz-tb-link { font-size: 13px; font-weight: 600; color: var(--ink-soft) !important; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.lz-tb-link:hover { color: var(--ink) !important; }
.lz-main { max-width: 1000px; margin: 0 auto; padding: 24px 1.25rem 0; display: flex; flex-direction: column; gap: 28px; }
.lz-fuss { max-width: 1000px; margin: 48px auto 0; padding: 0 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.lz-fuss-innen { border-top: 1px solid var(--line); padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; font-size: 12px; color: #a8a29e; }
.lz-fuss-stand { cursor: default; user-select: none; }
.lz-fuss-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 24px; }
.lz .lz-fuss-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.lz .lz-fuss-link:hover { color: var(--ink-soft); }
.lz-intro { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.lz-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.lz-h1 { margin: 0; font-size: clamp(27px, 4vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.lz-p { display: block; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.lz-p-gross { font-size: 16px; }
.lz-klein { display: block; font-size: 13px; color: var(--ink-mute); margin-top: 6px; }
.lz-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.lz-tab { padding: 12px 14px 13px; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-mute); min-height: 44px; cursor: pointer; }
.lz-tab-an { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.lz-panel { display: flex; flex-direction: column; gap: 22px; }
.lz-panel[hidden] { display: none; }
.lz-zwei { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.lz-zwei > .lz-schritte { flex: 1 1 360px; min-width: 0; }
.lz-schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.lz-schritte li { display: flex; gap: 14px; }
.lz-schritte li > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.lz-schritte strong { font-size: 16px; }
.lz-num { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lz-ziehknopf { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-lg); cursor: grab; margin-top: 4px; }
.lz-ziehknopf svg { width: 18px; height: 18px; }
@keyframes lz-ruetteln { 0%,100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.lz-ruetteln { animation: lz-ruetteln .3s ease-in-out 2; color: var(--accent-ink); font-weight: 600; }
.lz-figur { flex: 1 1 460px; min-width: 0; margin: 0; }
.lz-browser { position: relative; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; height: 300px; }
.lz-browser-kopf { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.lz-browser-kopf > span:not(.lz-adresse) { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.lz-adresse { flex: 1; height: 26px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); margin-left: 10px; display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: var(--ink-mute); }
.lz-browser-leiste { display: flex; align-items: center; gap: 14px; padding: 7px 14px; border-bottom: 1px solid var(--line); height: 38px; }
.lz-ablage { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; border: 1.5px dashed var(--accent); color: var(--accent); font-weight: 600; font-size: 12px; }
.lz-browser-inhalt { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.lz-strich { display: block; width: 54px; height: 10px; border-radius: 5px; background: var(--line); }
.lz-strich-lang { width: 70px; } .lz-w60 { width: 60%; height: 16px; } .lz-w40 { width: 40%; }
@keyframes lz-ziehen { 0% { transform: translate(0,0); opacity: 1; } 60% { transform: translate(-150px,-170px); opacity: 1; } 75%,100% { transform: translate(-150px,-170px); opacity: 0; } }
.lz-zieh-anim { position: absolute; left: 60%; top: 220px; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-lg); animation: lz-ziehen 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .lz-zieh-anim, .lz-ruetteln { animation: none; } }
.lz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; align-self: flex-start; }
.lz-btn-haupt { background: var(--primary); color: #fff; min-height: 52px; width: 100%; max-width: 360px; margin-top: 6px; }
.lz-btn-sek { background: var(--surface); color: var(--ink) !important; border-color: var(--line); }
.lz-status { padding: 8px 12px; border-radius: 10px; font-size: 14px; max-width: 360px; }
.lz-ok { background: var(--green-soft); border: 1px solid var(--green-border); color: var(--green); }
.lz-warn { background: var(--amber-tint); border: 1px solid var(--amber-border); color: var(--amber); }
.lz-code { width: 100%; max-width: 360px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--ink-mute); border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--bg-soft); resize: none; }

/* ── Geräte-Nachbauten (iOS-Safari, Android-Chrome) ─────────────────────────
   Keine Bildschirmfotos: Nachbauten mit den Systemfarben, damit sie in beiden
   Sprachen stimmen. Der Tipp-Punkt (.lz-tipp) zeigt, wohin getippt wird. */
.lz-geraet { margin-top: 8px; max-width: 340px; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 28px rgba(28,25,23,.12); }
.lz-geraet svg { width: 20px; height: 20px; flex-shrink: 0; }
.lz-tipp { position: absolute; right: 44px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(192,90,62,.28); box-shadow: 0 0 0 2px var(--accent); pointer-events: none; }
@keyframes lz-tipp { 0%,100% { transform: scale(1); } 50% { transform: scale(.82); } }
.lz-tipp { animation: lz-tipp 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .lz-tipp { animation: none; } }
.lz-cursor { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -3px; background: #007aff; }

/* iOS: Systemschrift, Gruppen auf Grau (#f2f2f7), Trennlinien #c6c6c8 */
.lz-ios { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif; font-size: 15px; color: #000; background: #f2f2f7; letter-spacing: -.01em; }
.lz-ios-blatt { padding: 6px 12px 14px; }
.lz-ios-blatt-voll { padding-top: 0; }
.lz-ios-griff { width: 36px; height: 5px; border-radius: 3px; background: #c7c7cc; margin: 0 auto 10px; }
.lz-ios-kopf { display: flex; align-items: center; gap: 10px; padding: 0 2px 12px; border-bottom: .5px solid #c6c6c8; }
.lz-ios-seite { width: 40px; height: 40px; border-radius: 9px; background: #fff; border: .5px solid #d1d1d6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lz-ios-seite img { width: 24px; height: 24px; }
.lz-ios-seite-klein { width: 28px; height: 28px; border-radius: 6px; margin-right: 10px; }
.lz-ios-seite-klein img { width: 18px; height: 18px; }
.lz-ios-kopf-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; color: #8e8e93; }
.lz-ios-kopf-tx b { font-size: 14px; font-weight: 600; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lz-ios-x { width: 28px; height: 28px; border-radius: 50%; background: #e3e3e8; color: #8e8e93; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lz-ios-apps { display: flex; justify-content: space-between; padding: 14px 6px 12px; font-size: 11px; color: #3c3c43; }
.lz-ios-apps > span { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 62px; text-align: center; }
.lz-app { display: block; width: 52px; height: 52px; border-radius: 12px; }
.lz-app-airdrop { border-radius: 50%; background: radial-gradient(circle, #fff 0 4px, #1a8cff 4px 9px, #fff 9px 11px, #1a8cff 11px 16px, #fff 16px 18px, #1a8cff 18px); }
.lz-app-nachr { background: linear-gradient(#5cf777, #0cbd2a); }
.lz-app-mail { background: linear-gradient(#1e9bff, #0563e6); }
.lz-app-notiz { background: linear-gradient(#fff 0 30%, #fcd03a 30% 34%, #fff 34%); border: .5px solid #d1d1d6; }
.lz-ios-gruppe { background: #fff; border-radius: 10px; overflow: hidden; }
.lz-ios-zeile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 44px; padding: 0 14px 0 16px; }
.lz-ios-zeile + .lz-ios-zeile { box-shadow: inset 16px .5px 0 #fff, inset 0 .5px 0 #c6c6c8; }
.lz-ios-zeile svg { color: #000; }
.lz-ios-an { background: #e5e5ea; }
.lz-ios-zeile-links { justify-content: flex-start; }
.lz-ios-zeile-links svg { color: #007aff; }
.lz-ios-chevron { margin-left: auto; color: #c4c4c7; font-size: 20px; }
/* Zurück nur als Chevron: Safari kürzt den Zurück-Titel genauso, wenn der Platz nicht reicht. */
.lz-ios-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px; font-size: 15px; }
.lz-ios-nav .lz-ios-blau { font-size: 26px; line-height: 1; font-weight: 300; }
.lz-ios-nav b { font-weight: 600; font-size: 15px; }
.lz-ios-blau { color: #007aff; white-space: nowrap; }
.lz-ios-feld { display: flex; align-items: center; height: 44px; padding: 0 16px; white-space: nowrap; overflow: hidden; }
.lz-ios-feld + .lz-ios-feld { box-shadow: inset 0 .5px 0 #c6c6c8; }
.lz-ios-code { color: #000; font-size: 14px; background: #e8f0fe; }
.lz-ios-abschnitt { font-size: 12px; text-transform: uppercase; color: #6d6d72; padding: 18px 16px 6px; }

/* Android: Chrome mit Material-Farben */
.lz-and { font-family: Roboto, 'Google Sans', system-ui, sans-serif; font-size: 15px; color: #1f1f1f; background: #e9eef6; padding: 14px; border-radius: 22px; }
.lz-and-menue { background: #fff; border-radius: 16px; padding: 6px 0 8px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.lz-and-symbole { display: flex; justify-content: space-around; align-items: center; height: 48px; color: #444746; border-bottom: 1px solid #e3e3e3; margin-bottom: 4px; }
.lz-and-an { position: relative; display: inline-flex; }
.lz-and-an .lz-tipp { right: -3px; }
.lz-and-zeile { display: flex; align-items: center; gap: 18px; height: 44px; padding: 0 18px; }
.lz-and-zeile svg { color: #444746; }
.lz-and-seite { background: #fff; border-radius: 16px; padding: 0 16px 14px; }
.lz-and-leiste { display: flex; align-items: center; gap: 22px; height: 52px; font-size: 18px; }
.lz-and-leiste b { font-weight: 400; }
.lz-and-feld { position: relative; border: 1px solid #747775; border-radius: 4px; padding: 14px 14px 12px; margin-top: 16px; white-space: nowrap; text-overflow: ellipsis; }
.lz-and-feld label { position: absolute; top: -9px; left: 10px; padding: 0 4px; background: #fff; font-size: 12px; color: #444746; }
.lz-and-fokus { border: 2px solid #0b57d0; padding: 13px 13px 11px; }
.lz-and-fokus label { color: #0b57d0; }
.lz-and-code { font-size: 14px; }
.lz-karte { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.lz-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.lz-klappt { padding: 0 16px; }
.lz-klappt summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.lz-klappt ul { margin: 0 0 14px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 600px) { .lz-figur { display: none; } }
