/* IMAGEvault – Startseite und Anmeldung (CI wie Verwaltung/Galerie: Schwarz/Weiß, Akzent Sand, Raleway) */
:root { --fg: #141414; --bg: #fff; --muted: #6b6b6b; --line: #e7e4df; --accent: #c3a78c; --sand: #f6f2ec; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 'Raleway', system-ui, sans-serif; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
.wm { text-decoration: none; letter-spacing: .25em; font-size: 17px; }
.wm b { color: var(--accent); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 1px solid var(--fg); text-decoration: none; background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.primary { background: var(--fg); color: var(--bg); }
.btn.primary:hover { background: #333; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.wide { width: 100%; }

.hd { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 28px; padding: 16px clamp(16px, 4vw, 48px); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.hd nav a { text-decoration: none; color: var(--muted); }
.hd nav a:hover { color: var(--fg); }
.hd .btn { padding: 8px 18px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(48px, 9vw, 120px) clamp(16px, 4vw, 48px); }
.kicker { text-transform: uppercase; letter-spacing: .3em; font-size: 12px; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #333; max-width: 560px; margin: 26px 0 34px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; gap: 10px; }
.mosaic i { display: block; background: linear-gradient(135deg, #d9c7b3, #8f7a66); }
.mosaic .m0 { grid-row: span 2; background: linear-gradient(160deg, #e8dccf, #b79c82); }
.mosaic .m1 { background: linear-gradient(120deg, #2b2b2b, #6d625a); }
.mosaic .m2 { grid-row: span 2; background: linear-gradient(200deg, #c3a78c, #5e4b3c); }
.mosaic .m3 { background: linear-gradient(90deg, #f3ece3, #cbb59e); }
.mosaic .m4 { grid-row: span 2; background: linear-gradient(180deg, #9a8775, #3a3330); }
.mosaic .m5 { background: linear-gradient(45deg, #e2d6c8, #a48c76); }
.mosaic .m6 { background: linear-gradient(135deg, #514740, #c3a78c); }
.mosaic .m7 { background: linear-gradient(10deg, #efe7dd, #d4c0aa); }
.mosaic .m8 { background: linear-gradient(300deg, #7a6a5c, #e9dfd3); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.pillars .p { background: var(--sand); padding: clamp(28px, 4vw, 56px); }
.pillars svg, .f svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.pillars h2 { font-size: 26px; letter-spacing: .12em; text-transform: uppercase; margin: 14px 0 10px; }
.pillars ul { margin: 0; padding-left: 18px; color: #333; }
.pillars li { margin: 8px 0; }

.sh { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(32px, 4vw, 48px); text-align: center; margin-bottom: 44px; }
.features { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 30px; }
.f h3 { font-size: 18px; margin: 10px 0 6px; font-weight: 600; }
.f p { margin: 0; color: var(--muted); font-size: 15px; }

.school { background: var(--fg); color: #fff; }
.school-in { max-width: 1100px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 48px); }
.school ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.school li { counter-increment: s; border-top: 1px solid #444; padding-top: 18px; }
.school li::before { content: '0' counter(s); display: block; color: var(--accent); font-size: 13px; letter-spacing: .2em; margin-bottom: 8px; }
.school b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.school span { color: #bbb; font-size: 15px; }

.access { padding: clamp(56px, 8vw, 100px) 16px; background: var(--sand); }
.box { max-width: 560px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); text-align: center; }
.box h1, .box h2 { font-size: 22px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 14px; }
.row { display: flex; gap: 8px; margin-top: 18px; }
input { font: inherit; border: 1px solid var(--fg); padding: 12px 14px; width: 100%; background: var(--bg); color: var(--fg); border-radius: 0; }
.row input { letter-spacing: .12em; text-transform: uppercase; }
.error { color: #b00020; font-size: 14px; min-height: 1em; }

.contact { text-align: center; padding: clamp(48px, 7vw, 90px) 16px; }
.contact .sh { margin-bottom: 14px; }
.contact p { color: var(--muted); }

.login { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 48px 16px; background: var(--sand); }
.login .box { width: min(440px, 100%); text-align: left; }
.login h1 { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 22px 0; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.hint { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

.ft { border-top: 1px solid var(--line); }
.ft-in { max-width: 1240px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 48px); display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ft p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.legal { display: flex; gap: 20px; font-size: 14px; margin-left: auto; }
.legal a { color: var(--muted); text-decoration: none; }
.legal a:hover { color: var(--fg); }
.cf { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.cf img { height: 34px; width: auto; display: block; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .mosaic { grid-auto-rows: 80px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .school ol { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hd nav { display: none; }
  .hd .btn { margin-left: auto; }
  .grid, .school ol { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .legal { margin-left: 0; }
}
