/* ISIS Studio Website – helles Design wie der Client („Klassisch“): warmes Weiß, Anthrazit, Kupfer. */
@font-face { font-family: "Geist"; src: url("/studio/assets/fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/studio/assets/fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/studio/assets/fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/studio/assets/fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #f8f7f4; --story: #f1ede6; --card: #ffffff; --raised: #f0ede8; --line: #e9e5de; --border: #dcd8d1; --text: #252525;
  --muted: #5f625f; --soft: #454846; --accent: #874b21; --accent-hover: #6f3916; --tint: #f3e6d8; --ok: #1b7650; --danger: #b42328;
  --shadow: 0 20px 50px rgb(60 40 20 / .10); --sans: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); }
a { color: var(--accent); } a:hover { color: var(--accent-hover); }
[hidden] { display: none !important; }
h1, h2, p { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted, .small { color: var(--muted); } .small { font-size: 13px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Kopf */
.site-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px clamp(16px, 4vw, 48px); background: var(--card);
             border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; margin-right: auto; }
.brand svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.site-head nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.site-head nav a, .nav-plain { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--soft);
                                text-decoration: none; font-size: 14px; font-weight: 500; background: transparent; border: 0; font-family: inherit; cursor: pointer; }
.site-head nav a:hover, .nav-plain:hover { background: var(--raised); color: var(--text); }
.site-head nav a[aria-current="page"] { background: var(--tint); color: var(--accent-hover); }
.site-head nav a.nav-cta { background: var(--accent); color: #fff; margin-left: 6px; } .site-head nav a.nav-cta:hover { background: var(--accent-hover); }
.nav-user { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 0 6px 0 12px; color: var(--soft); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 12px; }

main { max-width: 1200px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 64px; }
.notice { max-width: 760px; margin: 0 auto 20px; padding: 12px 16px; border-radius: 10px; background: var(--tint); color: var(--accent-hover); border: 1px solid #ecdcc9; }
.notice.error { background: #fbe9e9; color: var(--danger); border-color: #f1caca; }

/* Knöpfe und Felder */
.primary, .outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px;
                     font: 600 15px var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.primary { background: var(--accent); color: #fff; } .primary:hover { background: var(--accent-hover); color: #fff; }
.primary:disabled { opacity: .55; cursor: not-allowed; }
.outline { background: var(--card); color: var(--text); border-color: var(--border); } .outline:hover { background: var(--raised); color: var(--text); }
.small-button { min-height: 40px; padding: 0 14px; font-size: 14px; }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
input { display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 0 14px; border: 1px solid #d6d1c8; border-radius: 10px;
        background: #fff; color: var(--text); font: 15px var(--sans); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(135 75 33 / .16); }
input.otp { font: 500 22px var(--mono); letter-spacing: .3em; text-align: center; min-height: 56px; }
form .primary { width: 100%; margin-top: 4px; }

/* Start */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.slogan { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; margin: 0 0 16px; }
.slogan em { font-style: normal; color: var(--accent); }
.lead { font-size: 18px; color: var(--soft); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.features article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.features h2 { font-size: 17px; margin: 12px 0 6px; } .features p { color: var(--soft); margin: 0; font-size: 14px; }
.feature-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.feature-icon svg, .search svg, .close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Video (Client-Film oder Vorschau der Oberfläche) */
.video-card { margin: 0; }
.video-card .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #1b1d1e; box-shadow: var(--shadow); }
.video-card video { width: 100%; height: 100%; display: block; background: #000; }
.video-card figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.mock { position: absolute; inset: 0; display: flex; }
.mock .r { width: 14%; background: #141617; } .mock .s { width: 24%; background: #1e2021; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.mock .c { flex: 1; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.mock i { display: block; height: 10px; border-radius: 3px; background: #303334; }
.mock i.a { background: #dfa06d; width: 22px; height: 22px; border-radius: 6px; margin: 14px auto 0; } .mock i.t { height: 18px; background: #3b3028; }
.mock i.u { align-self: flex-end; width: 52%; height: 28px; border-radius: 10px; background: #342b24; } .mock i.l { background: #3a3d3e; }
.mock i.in { margin-top: auto; height: 34px; border-radius: 10px; background: #232526; border: 1px solid #454847; }

/* Anmeldung */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 420px); gap: 56px; align-items: center; }
.split-story { padding: 8px 0; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1, .auth-card h2 { font-size: 26px; letter-spacing: -.01em; margin-bottom: 4px; }
.auth-card > p.muted { margin-bottom: 22px; }
.auth-card.single { max-width: 520px; margin: 0 auto; } .auth-card.inline { margin-bottom: 20px; box-shadow: none; }
.secure { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* Akademie */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; max-width: 680px; }
.page-head p { margin: 0; }
.search { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
          color: var(--muted); flex: 0 1 340px; margin: 0; font-weight: 400; }
.search input { border: 0; margin: 0; min-height: 0; padding: 0; box-shadow: none !important; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pills button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--soft);
                font: 500 14px var(--sans); cursor: pointer; }
.pills button:hover { background: var(--raised); }
.pills button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.doc { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.doc-top { display: flex; align-items: center; gap: 12px; }
.kind { min-width: 46px; height: 44px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; font: 600 11px var(--mono); background: var(--raised); color: var(--soft); }
.kind.pdf { background: #f9e3e1; color: #a12a2a; } .kind.video { background: #f3e6d8; color: #874b21; }
.kind.docx, .kind.odt { background: #e3ecf8; color: #2a5a9a; } .kind.pptx, .kind.odp { background: #fbe9dc; color: #9a4a1c; } .kind.xlsx, .kind.ods { background: #e3f2ea; color: #1b7650; }
.doc h2 { font-size: 17px; line-height: 1.3; margin: 0; }
.doc .cat { font-size: 12px; color: var(--muted); }
.doc p { margin: 0; color: var(--soft); font-size: 14px; flex-grow: 1; }
.doc .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.doc .buttons { display: flex; gap: 8px; flex-wrap: wrap; } .doc .buttons > * { flex: 1 1 130px; min-height: 44px; font-size: 14px; }
.empty { padding: 28px; border: 1px dashed var(--border); border-radius: 14px; color: var(--muted); text-align: center; background: var(--card); }

/* Ansicht */
dialog#viewer { width: min(1040px, calc(100vw - 24px)); height: min(860px, calc(100vh - 24px)); padding: 0; border: 0; border-radius: 16px;
                overflow: hidden; box-shadow: 0 30px 70px rgb(40 25 10 / .3); background: var(--card); color: var(--text); }
dialog#viewer[open] { display: flex; flex-direction: column; }
dialog#viewer::backdrop { background: rgb(40 32 24 / .45); }
.viewer-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.viewer-head .kind { min-width: 40px; height: 36px; font-size: 10px; }
.viewer-title { margin-right: auto; min-width: 0; } .viewer-title h2 { font-size: 16px; margin: 0; }
.close { width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--soft); display: grid; place-items: center; cursor: pointer; }
.close:hover { background: var(--raised); }
.viewer-body { flex: 1; min-height: 0; background: #ece8e1; display: flex; align-items: center; justify-content: center; }
.viewer-body iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.viewer-body video { max-width: 100%; max-height: 100%; background: #000; }
.viewer-body .empty { margin: 24px; }

/* Downloads */
.account-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; margin-bottom: 18px; border-radius: 12px; background: var(--card);
               border: 1px solid var(--line); font-size: 14px; } .account-bar span:last-child { color: var(--ok); }
.release-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.release { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.release .kind { display: inline-grid; width: fit-content; padding: 0 10px; height: 26px; font-size: 11px; background: var(--tint); color: var(--accent); }
.release h2 { font-size: 20px; margin: 4px 0 0; } .release p { color: var(--soft); margin: 0; flex-grow: 1; }
.release .meta { font: 12px var(--mono); color: var(--muted); } .release .primary { margin-top: 8px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; max-width: 1200px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 48px) 32px;
         color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; gap: 28px; }
  .brand { margin-right: 0; } .site-head nav { width: 100%; }
}

.isis-brand-image{display:block;width:58px;height:58px;object-fit:contain;border-radius:12px;flex-shrink:0}
.auth-brand-image{display:block;width:140px;height:140px;object-fit:contain;border-radius:22px;margin:0 auto 24px}.chat-login{color-scheme:dark;--bg:#1e1e20;--story:#1e1e20;--card:#242426;--raised:#343438;--line:#3a3a3f;--border:#3a3a3f;--text:#ececf1;--muted:#aaaab4;--soft:#c0c0c9;--accent:#8573d9;--accent-hover:#9e8fe9;--tint:#322c45;--shadow:0 20px 60px #0003}.chat-login .split-story{display:none}.chat-login .split{display:block;max-width:480px;margin:0 auto}.chat-login .auth-card{border-radius:24px}.chat-login input{background:#1e1e20;border-color:var(--border)}.chat-login .auth-card h2,.chat-login .auth-card>p{text-align:center}.chat-login .site-head{background:var(--bg)}
