/* Übersichtsseite workbooks.academy.inovit.ch – inovit Academy Design System */
@font-face { font-family: "Avotica"; font-weight: 700; font-display: swap; src: url("fonts/Avotica-Bold.woff2") format("woff2"); }
@font-face { font-family: "Stage Grotesk"; font-weight: 400; font-display: swap; src: url("fonts/StageGrotesk-Regular.woff2") format("woff2"); }
@font-face { font-family: "Stage Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/StageGrotesk-Bold.woff2") format("woff2"); }

:root {
  --c-deep-green: #1A3B3D; --c-dark: #000E22; --c-yellow: #FFFF65; --c-green: #6EE6B4; --c-shell: #FEF7FB;
  --n-200: #E7DCE3; --n-500: #7C7A80; --n-700: #324A4C;
  --font-display: "Avotica", system-ui, sans-serif; --font-body: "Stage Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.2, 0, .2, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--c-shell); color: var(--c-dark); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
::selection { background: var(--c-yellow); color: var(--c-dark); }
:focus-visible { outline: 2px solid var(--c-deep-green); outline-offset: 2px; }

.hero { position: relative; overflow: hidden; background: var(--c-deep-green); color: #fff; padding: 56px 48px 72px; }
.hero .sym { position: absolute; right: -100px; top: -100px; width: 420px; opacity: .08; pointer-events: none; }
.hero .inner { max-width: 1104px; margin: 0 auto; position: relative; }
.hero img.logo { height: 44px; display: block; margin-bottom: 72px; }
.hero .eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1.04; letter-spacing: -.02em; margin: 12px 0 16px; }
.hero h1 span { color: var(--c-yellow); }
.hero p { color: rgba(255,255,255,.86); max-width: 620px; margin: 0; }

main { max-width: 1104px; margin: 0 auto; padding: 48px 48px 72px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
a.card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--n-200); border-radius: 24px; padding: 32px; color: inherit; text-decoration: none; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
a.card:hover { box-shadow: 0 8px 24px rgba(0,14,34,.08); transform: translateY(-2px); }
a.card .aud { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n-700); }
a.card h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; margin: 0; }
a.card p { margin: 0; color: var(--n-700); font-size: 15px; flex: 1; }
a.card .go { align-self: flex-start; background: var(--c-deep-green); color: #fff; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 10px 22px; margin-top: 8px; transition: background 200ms var(--ease); }
a.card:hover .go { background: var(--c-dark); }
.login { max-width: 520px; background: #fff; border: 1px solid var(--n-200); border-radius: 24px; padding: 32px; }
.login label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.login input { width: 100%; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid var(--n-200); border-radius: 16px; background: #fff; color: var(--c-dark); }
.login input:focus { outline: none; border-color: var(--c-deep-green); box-shadow: 0 0 0 2px var(--c-deep-green); }
.login button { margin-top: 20px; background: var(--c-deep-green); color: #fff; font: inherit; font-weight: 700; font-size: 15px; border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer; transition: background 200ms var(--ease); }
.login button:hover { background: var(--c-dark); }
.err { background: var(--c-yellow); color: var(--c-dark); border-radius: 12px; padding: 10px 14px; margin: 12px 0 0; font-size: 15px; }
.err a { color: var(--c-dark); font-weight: 700; }
.note { font-size: 14px; color: var(--n-500); margin-top: 40px; max-width: 760px; }
footer { text-align: center; padding: 24px; font-size: 13px; color: var(--n-500); }
footer a { color: var(--n-700); }

@media (max-width: 700px) {
  .hero { padding: 32px 16px 48px; }
  .hero img.logo { margin-bottom: 48px; height: 36px; }
  .hero h1 { font-size: 38px; }
  main { padding: 32px 16px 56px; }
  .grid { grid-template-columns: 1fr; }
}
