/* =====================================================================
   Web-Studio (/studio) + Kundenbereich – eigenes, ruhiges Design:
   viel Weissraum, eine Akzentfarbe (aus dem Admin-Bereich: --ac),
   klare Typografie (Vazirmatn fuer Persisch, Inter fuer alles andere).
   Schriften selbst gehostet (SIL OFL) – keine Anfrage an Google.
   ===================================================================== */

@font-face { font-family: 'Vazirmatn'; font-style: normal; font-display: swap; font-weight: 400; src: url(/lib/fonts/files/vazirmatn-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Vazirmatn'; font-style: normal; font-display: swap; font-weight: 500; src: url(/lib/fonts/files/vazirmatn-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Vazirmatn'; font-style: normal; font-display: swap; font-weight: 700; src: url(/lib/fonts/files/vazirmatn-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Vazirmatn'; font-style: normal; font-display: swap; font-weight: 800; src: url(/lib/fonts/files/vazirmatn-arabic-800-normal.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(/lib/fonts/files/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(/lib/fonts/files/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(/lib/fonts/files/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(/lib/fonts/files/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 800; src: url(/lib/fonts/files/inter-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 800; src: url(/lib/fonts/files/inter-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
    --ac: #1d4ed8;
    --ac-ink: color-mix(in srgb, var(--ac) 82%, #000);
    --ac-soft: color-mix(in srgb, var(--ac) 9%, #fff);
    --ac-line: color-mix(in srgb, var(--ac) 28%, #fff);
    --ink: #0b1324;
    --ink2: #334155;
    --muted: #64748b;
    --line: #e5e9f0;
    --bg: #ffffff;
    --soft: #f5f7fb;
    --ok: #15803d;
    --ok-soft: #ecfdf3;
    --warn: #b45309;
    --warn-soft: #fff7ed;
    --err: #b91c1c;
    --err-soft: #fef2f2;
    --r: 16px;
    --r-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .07);
    --shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 60px rgba(15, 23, 42, .12);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --wrap: 1140px;
}
html[lang="fa"] { --font: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.st { overflow-x: hidden; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="fa"] body.st { line-height: 1.9; }
.st img { max-width: 100%; display: block; }
.st a { color: var(--ac); text-decoration: none; }
.st a:hover { text-decoration: underline; }
.st h1, .st h2, .st h3, .st h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--ink); }
html:not([lang="fa"]) .st h1, html:not([lang="fa"]) .st h2 { letter-spacing: -.02em; }
.st p { margin: 0 0 1em; color: var(--ink2); }
.st :focus-visible { outline: 3px solid var(--ac-line); outline-offset: 2px; border-radius: 6px; }
.st-skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.st-skip:focus { inset-inline-start: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted) !important; }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ac); color: #fff !important; box-shadow: 0 6px 16px color-mix(in srgb, var(--ac) 30%, transparent); }
.btn-primary:hover { background: var(--ac-ink); }
.btn-ghost { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ac-line); background: var(--ac-soft); }
.btn-soft { background: var(--ac-soft); color: var(--ac-ink) !important; }
.btn-soft:hover { background: color-mix(in srgb, var(--ac) 15%, #fff); }
.btn-ok { background: var(--ok); color: #fff !important; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .875rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ac); cursor: pointer; }

/* ---------- Header */
.st-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.st-head.scrolled { border-bottom-color: var(--line); }
.st-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 44vw; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; font-weight: 800; font-size: 1.05rem; text-decoration: none !important; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ac); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; letter-spacing: .02em; flex: none; }
.brand img { height: 36px; width: auto; }
.st-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.st-nav a { color: var(--ink2); font-weight: 500; font-size: .93rem; padding: 8px 12px; border-radius: 9px; text-decoration: none !important; }
.st-nav a:hover, .st-nav a.on { background: var(--soft); color: var(--ink); }
.st-tools { display: flex; align-items: center; gap: 8px; }
.st-nav + .st-tools { margin-inline-start: 6px; }
.lang-sw { position: relative; }
.lang-sw > summary { white-space: nowrap; list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink2); background: #fff; }
.lang-sw > summary::-webkit-details-marker { display: none; }
.lang-sw[open] > summary { border-color: var(--ac-line); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; }
.lang-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--ink) !important; font-size: .92rem; text-decoration: none !important; }
.lang-menu a:hover, .lang-menu a.on { background: var(--soft); }
.lang-menu a.on::after { content: "✓"; color: var(--ac); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; }

/* ---------- Hero */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; background:
    radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--ac) 12%, transparent), transparent 70%),
    radial-gradient(700px 380px at -10% 110%, color-mix(in srgb, var(--ac) 7%, transparent), transparent 70%); }
html[dir="rtl"] .hero { background:
    radial-gradient(900px 420px at 15% -10%, color-mix(in srgb, var(--ac) 12%, transparent), transparent 70%),
    radial-gradient(700px 380px at 110% 110%, color-mix(in srgb, var(--ac) 7%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink2); font-size: .85rem; font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; margin: 18px 0 16px; }
html[lang="fa"] .hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.45; }
.hero .lead { font-size: 1.12rem; color: var(--ink2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); font-size: .93rem; font-weight: 500; }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2315803d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.mock { position: relative; }
.browser { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
html[dir="rtl"] .browser { transform: perspective(1400px) rotateY(4deg) rotateX(2deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--soft); border-bottom: 1px solid var(--line); direction: ltr; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.browser-bar i:nth-child(1) { background: #f87171; } .browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-inline-start: 10px; flex: 1; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: .72rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.browser-shot { aspect-ratio: 16 / 10.5; background: var(--soft); }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wire { padding: 18px; display: grid; gap: 12px; height: 100%; }
.wire b { display: block; border-radius: 8px; background: linear-gradient(90deg, #eef2f7, #f6f8fb); }
.wire .w1 { height: 18px; width: 40%; } .wire .w2 { height: 70px; background: var(--ac-soft); } .wire .w3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: none; } .wire .w3 b { height: 70px; } .wire .w4 { height: 14px; width: 70%; } .wire .w5 { height: 14px; width: 55%; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: .84rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; background: var(--ok-soft); }
.fc-1 { inset-inline-start: -26px; bottom: 34px; }
.fc-2 { inset-inline-end: -18px; top: 26px; min-width: 190px; display: block; }
.bar { height: 7px; border-radius: 99px; background: #eef2f7; overflow: hidden; margin-top: 7px; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: var(--ac); }

/* ---------- Sections */
.sec { padding: 84px 0; }
.sec.alt { background: var(--soft); }
.sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-head .kicker { display: inline-block; color: var(--ac); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
html[lang="fa"] .sec-head .kicker { letter-spacing: 0; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.sec-head p { font-size: 1.05rem; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.card p { margin: 0; font-size: .95rem; }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: var(--ac-soft); margin-bottom: 14px; }
.card.hov { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card.hov:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ac-line); }

.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 56px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Referenzen */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-img { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.work-card:hover .work-img img { transform: scale(1.03); }
.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-body h3 { font-size: 1.05rem; margin: 0; }
.work-body p { font-size: .92rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink2); border: 1px solid var(--line); }
.work-body .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .9rem; }

/* Pakete */
.pk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pk-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; }
.pk-card.featured { border: 2px solid var(--ac); box-shadow: var(--shadow-lg); }
.pk-badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--ac); color: #fff; font-size: .76rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
html[dir="rtl"] .pk-badge { transform: translateX(50%); }
.pk-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.pk-card .sum { font-size: .93rem; min-height: 3em; }
.price { margin: 8px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .from { color: var(--muted); font-size: .88rem; }
.price b { font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.price-na { font-weight: 700; color: var(--ink2); font-size: 1.05rem; }
.weeks { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.feat { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 10px; }
.feat li { position: relative; padding-inline-start: 28px; font-size: .93rem; color: var(--ink2); }
.feat li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--ac-soft); color: var(--ac); font-size: .7rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.pk-card .btn { margin-top: auto; }
.st .pk-note { text-align: center; margin: 26px auto 0; max-width: 720px; font-size: .9rem; color: var(--muted); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .num { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ac); color: var(--ac); display: grid; place-items: center; font-size: 1.4rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--soft); }
.steps::before { content: ""; position: absolute; top: 28px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--ac-line) 0 8px, transparent 8px 14px); }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .92rem; margin: 0; }
.step small { display: block; color: var(--ac); font-weight: 700; font-size: .75rem; margin-bottom: 4px; }

/* Warum */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why .card { display: flex; gap: 14px; align-items: flex-start; }
.why .ic { margin: 0; flex: none; }

/* Stimmen */
.rev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev .card { display: flex; flex-direction: column; gap: 12px; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: .95rem; }
.who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ac-soft); color: var(--ac-ink); font-weight: 700; flex: none; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--ac-line); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--ac); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Ueber uns */
.about { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; max-width: 900px; margin: 0 auto; }
.about-mark { width: 140px; height: 140px; border-radius: 28px; background: linear-gradient(135deg, var(--ac), var(--ac-ink)); color: #fff; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; box-shadow: var(--shadow-lg); overflow: hidden; }
.about-mark img { width: 100%; height: 100%; object-fit: cover; }

/* CTA */
.cta { border-radius: 26px; padding: 52px 40px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--ac), var(--ac-ink)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 620px; margin: 0 auto 24px; }
.cta .btn-primary { background: #fff; color: var(--ac-ink) !important; box-shadow: none; }
.cta .btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.contacts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Footer */
.st-foot { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 0; background: #fff; }
.st-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.st-foot p { margin: 0; font-size: .88rem; color: var(--muted); }
.st-foot nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; }
.st-foot nav a { color: var(--ink2); }

.preview-banner { background: #111827; color: #fff; text-align: center; font-size: .85rem; padding: 8px 12px; }
.preview-banner a { color: #93c5fd; }

/* ---------- Formulare */
.form { display: grid; gap: 16px; }
.field label, .lbl { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.st input[type=text], .st input[type=email], .st input[type=password], .st input[type=tel], .st input[type=url], .st select, .st textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid #d5dbe5; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.st textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.st input:focus, .st select:focus, .st textarea:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac) 14%, transparent); }
.st input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .25em; accent-color: var(--ac); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid #d5dbe5; background: #fff; font-size: .9rem; cursor: pointer; transition: all .15s; user-select: none; }
.chip input:checked + span { border-color: var(--ac); background: var(--ac-soft); color: var(--ac-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--ac-line); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { overflow-wrap: anywhere; hyphens: auto; display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid #d5dbe5; background: #fff; cursor: pointer; font-size: .92rem; height: 100%; transition: all .15s; }
.opt span i { font-style: normal; font-size: 1.3rem; }
.opt input:checked + span { border-color: var(--ac); background: var(--ac-soft); box-shadow: 0 0 0 1px var(--ac); }
.opt input:focus-visible + span { outline: 3px solid var(--ac-line); }
.hp { position: absolute !important; inset-inline-start: -5000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 12px; padding: 12px 16px; font-size: .93rem; margin-bottom: 16px; border: 1px solid; }
.alert-ok { background: var(--ok-soft); color: #14532d; border-color: #bbf7d0; }
.alert-err { background: var(--err-soft); color: #7f1d1d; border-color: #fecaca; }
.alert-info { background: var(--ac-soft); color: var(--ac-ink); border-color: var(--ac-line); }

/* ALTCHA im hellen Design */
.altcha-wrap { margin: 2px 0 4px; }
.altcha-wrap altcha-widget { --altcha-border-radius: 12px; --altcha-color-base: #fff; --altcha-color-border: #d5dbe5; --altcha-color-text: var(--ink2); --altcha-color-border-focus: var(--ac); --altcha-max-width: 100%; display: block; }
.altcha-hint { display: block; margin-top: 5px; font-size: .75rem; color: var(--muted); }

/* ---------- Anmeldung */
.auth { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px 60px; background: radial-gradient(800px 400px at 50% -10%, color-mix(in srgb, var(--ac) 10%, transparent), transparent 70%), var(--soft); }
.auth-box { width: 100%; max-width: 960px; display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.auth-side { padding: 40px 36px; background: linear-gradient(160deg, var(--ac), var(--ac-ink)); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.auth-side h2 { color: #fff; font-size: 1.5rem; }
.auth-side p { color: rgba(255, 255, 255, .86); margin: 0; }
.auth-side ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .92); font-size: .93rem; }
.auth-side li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: .75rem; flex: none; margin-top: .2em; }
.auth-main { padding: 40px 40px 34px; }
.auth-main h1 { font-size: 1.55rem; font-weight: 800; }
.auth-alt { margin-top: 18px; text-align: center; font-size: .92rem; color: var(--muted); }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 1rem; color: var(--muted); padding: 6px; }

/* ---------- Kundenbereich */
.portal { background: var(--soft); min-height: calc(100vh - 68px); padding: 30px 0 70px; }
.p-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.p-top h1 { font-size: 1.6rem; font-weight: 800; margin: 0; }
.p-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.p-tabs a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink2); text-decoration: none !important; }
.p-tabs a.on, .p-tabs a:hover { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.p-card > h2 { font-size: 1.12rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.p-card > h2 .count { margin-inline-start: auto; font-size: .78rem; font-weight: 700; background: var(--soft); color: var(--ink2); border-radius: 999px; padding: 2px 9px; }
.orders { display: grid; gap: 14px; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; color: inherit !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.order-row:hover { border-color: var(--ac-line); box-shadow: var(--shadow); }
.order-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.order-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .85rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--ac-soft); color: var(--ac-ink); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.gray { background: #f1f5f9; color: #475569; }
.badge-dot { min-width: 22px; height: 22px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .75rem; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }
.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty .big { font-size: 2.4rem; margin-bottom: 8px; }

.o-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; }
.o-head h1 { font-size: 1.45rem; margin: 0 0 4px; }
.o-grid > *, .grid > *, .p-card { min-width: 0; }
.o-grid { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.timeline { list-style: none; margin: 18px 0 4px; padding: 0; display: flex; gap: 0; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.timeline li { flex: 1 0 96px; text-align: center; position: relative; font-size: .76rem; color: var(--muted); padding: 0 4px; }
.timeline li::before { content: ""; position: absolute; top: 13px; inset-inline-start: -50%; width: 100%; height: 3px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li .dot { width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); position: relative; z-index: 1; font-size: .75rem; font-weight: 700; color: var(--muted); }
.timeline li.done { color: var(--ink2); }
.timeline li.done .dot { background: var(--ac); border-color: var(--ac); color: #fff; }
.timeline li.done::before, .timeline li.now::before { background: var(--ac); }
.timeline li.now { color: var(--ink); font-weight: 700; }
.timeline li.now .dot { border-color: var(--ac); color: var(--ac); box-shadow: 0 0 0 5px var(--ac-soft); }
.timeline li > a { display: block; color: inherit !important; text-decoration: none !important; border-radius: 10px; padding: 0 2px 4px; }
.timeline li > a:hover .dot { box-shadow: 0 0 0 5px var(--ac-soft); }
.timeline li > a:hover { color: var(--ac) !important; }
.timeline li.sel > a { color: var(--ac) !important; font-weight: 700; }
.timeline li.sel .dot { outline: 3px solid var(--ac-line); outline-offset: 2px; }
.step-panel { border-color: var(--ac-line); }
.step-panel h3.sub { font-size: .95rem; margin: 6px 0 10px; color: var(--ink2); }
.req { display: grid; grid-template-columns: minmax(140px, 30%) 1fr; gap: 10px 18px; margin: 0 0 12px; font-size: .94rem; }
.req dt { color: var(--muted); font-weight: 500; }
.req dd { margin: 0; color: var(--ink); }
.step-actions { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.change-req > summary { list-style: none; cursor: pointer; }
.change-req > summary::-webkit-details-marker { display: none; }
.stage-hint { display: flex; gap: 12px; align-items: flex-start; background: var(--ac-soft); border-radius: 12px; padding: 14px 16px; color: var(--ac-ink); font-size: .93rem; margin-top: 14px; }
.kv { display: grid; gap: 10px; font-size: .92rem; }
.kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv span { color: var(--muted); }
.ms { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ms li { display: flex; gap: 10px; align-items: center; font-size: .93rem; }
.ms li i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-style: normal; font-size: .7rem; }
.ms li.done { color: var(--muted); text-decoration: line-through; }
.ms li.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.doc-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-row .t { font-weight: 600; }
.doc-row .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; padding: 4px 2px 10px; margin-bottom: 12px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.65; word-wrap: break-word; }
.msg .tx { white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--ac); color: #fff; border-end-end-radius: 4px; }
.msg.them { align-self: flex-start; background: var(--soft); color: var(--ink); border-end-start-radius: 4px; border: 1px solid var(--line); }
.msg small { display: block; font-size: .72rem; opacity: .75; margin-top: 4px; }
.msg.me a { color: #fff; text-decoration: underline; }
.composer { display: flex; gap: 10px; align-items: flex-end; }
.composer textarea { min-height: 52px !important; height: 52px; }
.files { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.files li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.files li .n { display: flex; gap: 10px; align-items: center; min-width: 0; }
.files li .n span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border: 2px dashed var(--line); border-radius: 14px; padding: 14px; }
.pay { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.pay-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.pay-amt { font-size: 1.25rem; font-weight: 800; }
.pay-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.manual { background: var(--soft); border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-size: .9rem; white-space: pre-wrap; }
.upd { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; margin-bottom: 10px; }
.upd summary { cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; list-style: none; }
.upd summary::-webkit-details-marker { display: none; }
.upd ul { margin: 0 0 10px; padding-inline-start: 20px; color: var(--ink2); font-size: .92rem; }
.upd h4 { font-size: .85rem; margin: 10px 0 4px; color: var(--muted); }
.subnav { position: sticky; top: 76px; display: grid; gap: 4px; }
.subnav a { padding: 9px 12px; border-radius: 10px; color: var(--ink2); font-weight: 500; font-size: .9rem; display: flex; justify-content: space-between; text-decoration: none !important; }
.subnav a:hover { background: #fff; }
.danger-zone { border-color: #fecaca; }

/* ---------- Responsive */
@media (max-width: 1020px) {
    .st-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; box-shadow: var(--shadow); }
    .st-nav.open { display: flex; }
    .st-nav a { padding: 12px; }
    .menu-btn { display: inline-grid; place-items: center; margin-inline-start: auto; }
    .st-nav + .st-tools { margin-inline-start: 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .mock { max-width: 560px; margin: 0 auto; width: 100%; }
    .work, .g3, .why, .rev, .pk { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .steps::before { display: none; }
    .o-grid { grid-template-columns: 1fr; }
    .subnav { position: static; grid-auto-flow: column; overflow-x: auto; }
}
@media (max-width: 720px) {
    body.st { font-size: 15.5px; }
    .hero { padding: 40px 0 52px; }
    .sec { padding: 60px 0; }
    .work, .g3, .g2, .why, .rev, .pk, .steps, .row2 { grid-template-columns: 1fr; }
    .fc-1 { inset-inline-start: 6px; bottom: -18px; }
    .fc-2 { inset-inline-end: 6px; top: -18px; min-width: 170px; }
    .browser, html[dir="rtl"] .browser { transform: none; }
    .about { grid-template-columns: 1fr; text-align: center; }
    .about-mark { margin: 0 auto; width: 110px; height: 110px; }
    .cta { padding: 38px 22px; border-radius: 20px; }
    .auth-box { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .auth-main { padding: 30px 22px; }
    .st-tools .btn-label { display: none; }
    .st-head .wrap { gap: 8px; }
    .brand { font-size: .95rem; }
    .lang-sw > summary { padding: 0 9px; }
    .order-row { grid-template-columns: 1fr; }
    .req { grid-template-columns: 1fr; gap: 2px; }
    .req dd { margin-bottom: 10px; }
    .msg { max-width: 92%; }
    .hero-cta .btn { flex: 1 1 auto; }
}
@media (max-width: 430px) {
    .st-tools .btn-primary { display: none; }
    .brand > span:last-child { max-width: 42vw; font-size: .9rem; }
    .brand-mark { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card.hov, .work-card, .work-img img { transition: none; }
}
@media print {
    .st-head, .st-foot, .menu-btn { display: none !important; }
}

/* ---------- Paket-Details, Vergleich, Zusatzleistungen, Bedingungen */
.pk-more { margin: -8px 0 18px; border-top: 1px dashed var(--line); padding-top: 10px; }
.pk-more > summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ac); list-style: none; }
.pk-more > summary::-webkit-details-marker { display: none; }
.pk-more > summary::after { content: " ▾"; }
.pk-more[open] > summary::after { content: " ▴"; }
.pk-more h4 { font-size: .85rem; margin: 12px 0 6px; color: var(--ink); }
.pk-fn { font-size: .8rem; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; }
ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
ul.plain li { position: relative; padding-inline-start: 16px; font-size: .9rem; color: var(--ink2); }
ul.plain li::before { content: "•"; position: absolute; inset-inline-start: 2px; color: var(--ac); }
.feat.small li { font-size: .88rem; }
.work-body .hl { margin: 4px 0; gap: 6px; }
.cmp-title { text-align: center; font-size: 1.25rem; margin: 52px 0 16px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { background: var(--ink); color: #fff; font-weight: 700; position: sticky; top: 0; }
.cmp thead th.hot { background: var(--ac); }
.cmp tbody th { text-align: start; color: var(--ink); font-weight: 600; background: var(--soft); white-space: nowrap; }
.cmp td.hot { background: var(--ac-soft); }
.cmp td.yes { color: var(--ok); font-weight: 700; }
.cmp td.no { color: #cbd5e1; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.ex-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ex-table th { background: var(--ink); color: #fff; text-align: start; padding: 12px 16px; font-weight: 700; }
.ex-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: top; }
.ex-table td:last-child { color: var(--ink); font-weight: 600; text-align: end; }
.ex-table tr:last-child td { border-bottom: 0; }
.note-box { background: var(--warn-soft); border-inline-start: 4px solid #f59e0b; border-radius: 12px; padding: 14px 16px; font-size: .92rem; color: var(--ink2); line-height: 1.8; }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; max-width: 980px; margin: 0 auto; }
.term { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.term p { margin: 2px 0 0; font-size: .92rem; }
.ic.sm { width: 36px; height: 36px; border-radius: 10px; font-size: 1.05rem; margin: 0; flex: none; }
.steps.many { row-gap: 34px; }
.steps.many::before { display: none; }
.stars-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
html[dir="rtl"] .stars-in { flex-direction: row-reverse; }
.stars-in legend { width: 100%; }
.stars-in input { position: absolute; opacity: 0; pointer-events: none; }
.stars-in label { font-size: 1.7rem; color: #d1d5db; cursor: pointer; line-height: 1; padding: 0 2px; }
.stars-in input:checked ~ label, .stars-in label:hover, .stars-in label:hover ~ label { color: #f59e0b; }
.stars-in input:focus-visible + label { outline: 2px solid var(--ac-line); border-radius: 4px; }
@media (max-width: 720px) {
    .terms { grid-template-columns: 1fr; }
}

/* lange Dateinamen duerfen das Layout nicht sprengen */
.files li { min-width: 0; }
.files li .n { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.files li .n span:last-child { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li .btn { flex: none; }
.msg a, .msg .tx { overflow-wrap: anywhere; word-break: break-word; }
.upload input[type=file] { width: 100%; min-width: 0; }
.p-card { overflow-wrap: anywhere; }

/* Mit Google fortfahren */
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #c9ced6; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.btn-google:hover { background: #f6f8fb; }
.g-form .hint { margin-top: 6px; }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .85rem; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line, #e3e7ee); }
.check.need { color: #b42318; }
.msg .thumb { display: block; margin-bottom: 6px; }
.msg .thumb img { display: block; max-width: 220px; max-height: 180px; width: auto; border-radius: 10px; background: #fff; object-fit: contain; }
.msg .fname { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; color: inherit; }

/* ---- Angebot direkt im Kundenbereich ---- */
.wait-box { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px dashed var(--ac-line); color: var(--ink2); line-height: 1.7; }
.qcard { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; }
.qhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.qhead .t { font-weight: 700; }
.qlines { list-style: none; margin: 0; padding: 0; }
.qlines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.qlines li span { min-width: 0; }
.qlines li b { white-space: nowrap; font-weight: 600; }
.qlines li.disc { color: var(--ok); }
.qtotal { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 4px; font-size: 1.05rem; }
.qtotal b { font-size: 1.25rem; color: var(--ac-ink); white-space: nowrap; }
.qinfo { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: .9rem; line-height: 1.8; }
.qplan { margin: 4px 0 0; padding-inline-start: 20px; }
.qplan li { display: flex; justify-content: space-between; gap: 10px; }
.qplan li b { white-space: nowrap; font-weight: 600; }
.qaccept { margin-top: 14px; display: grid; gap: 8px; text-align: center; }
.qacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: flex-start; }
.qacts .change-req { flex: 1 1 100%; }
.tl-meta b { color: var(--ink2); }
/* eigene Dateiauswahl (Text in der Sprache der Seite statt "Choose File") */
.file-pick { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; cursor: pointer; }
.file-pick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-pick .fp-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-pick:focus-within .btn { outline: 2px solid var(--ac); outline-offset: 2px; }
