/* MLTech Tagungen — Designentwurf */
@font-face { font-family: 'Karla'; src: url('fonts/Karla-Regular.ttf') format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('fonts/Karla-Bold.ttf') format('truetype'); font-weight: 700 800; font-display: swap; }

:root {
  --navy: #0B2A5C;
  --navy-deep: #081F45;
  --blue: #1B6AC9;
  --blue-light: #6CACF9;
  --ice: #E8F1FB;
  --ink: #1C1C2E;
  --muted: #5B6478;
  --line: #D9E1EC;
  --paper: #FBFCFE;
  --white: #fff;
  --sans: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
em, .it { font-style: normal; }

/* ---------- Bracket motif (aus dem Logo) ---------- */
.br { position: relative; display: inline-block; padding: 0 .5em; }
.br::before, .br::after { content: ''; position: absolute; top: 0; bottom: 0; width: .28em; border: .07em solid var(--blue); }
.br::before { left: 0; border-right: 0; }
.br::after { right: 0; border-left: 0; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--blue-light); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,252,254,.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand span { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); border-left: 1px solid var(--line); padding-left: 14px; line-height: 36px; white-space: nowrap; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--navy); }
.nav a:hover { color: var(--blue); }
.nav .ext { color: var(--muted); font-weight: 500; }
.nav a.btn { color: #fff; padding: 10px 18px; }
.nav a.btn:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 2px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit; }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.on-dark .btn { background: #fff; color: var(--navy); border-color: #fff; }
.on-dark .btn:hover { background: var(--blue-light); border-color: var(--blue-light); }
.on-dark .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.on-dark .btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nav-toggle { display: none; background: none; border: 0; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; padding: 8px 0; }

/* ---------- Hero (Startseite) ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(42px, 7.4vw, 96px); line-height: .98; letter-spacing: -.035em; font-weight: 800; color: var(--navy); margin: 0; max-width: 13ch; }
.hero h1 em { color: var(--blue); white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end; }
.hero-lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 42ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mark { position: absolute; right: -60px; top: 40px; font-size: 520px; line-height: .8; font-weight: 800; color: var(--ice); z-index: -1; letter-spacing: -.06em; user-select: none; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.facts div { padding: 22px 20px 0 0; }
.facts strong { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }

/* ---------- Nächste Tagung ---------- */
.next { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.next::after { content: ''; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; border: 2px solid rgba(108,172,249,.18); border-left: 0; }
.next-grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.next-year { font-size: clamp(72px, 11vw, 150px); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: #fff; }
.next-year.br::before, .next-year.br::after { border-color: var(--blue-light); }
.next h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
.next p { margin: 0; color: rgba(255,255,255,.75); max-width: 50ch; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; border-radius: 2px; margin-bottom: 16px; }
.on-dark .tag { color: var(--blue-light); }

/* ---------- Archiv ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 0; color: var(--navy); font-weight: 800; }
.section-head p { margin: 0; color: var(--muted); max-width: 40ch; }

.archive { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.archive li { border-bottom: 1px solid var(--line); }
.archive a { display: grid; grid-template-columns: 190px 1fr 260px 48px; gap: 32px; align-items: center; padding: 36px 0; text-decoration: none; transition: background .2s, padding .2s; }
.archive a:hover { background: var(--ice); padding-left: 20px; padding-right: 20px; }
.archive .yr { font-size: 64px; font-weight: 800; letter-spacing: -.05em; color: var(--navy); line-height: 1; }
.archive .yr.br { font-size: 52px; justify-self: start; }
.archive h3 { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.22; margin: 0 0 8px; color: var(--ink); letter-spacing: -.01em; }
.archive .partner { font-size: 14px; color: var(--muted); }
.archive .meta { font-size: 14px; color: var(--muted); line-height: 1.5; }
.archive .meta b { display: block; color: var(--ink); font-weight: 700; }
.archive .arrow { width: 48px; height: 48px; border: 2px solid var(--navy); display: grid; place-items: center; color: var(--navy); transition: background .2s, color .2s; }
.archive a:hover .arrow { background: var(--navy); color: #fff; }

/* ---------- Format / Über ---------- */
.about { background: var(--ice); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.about h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -.03em; color: var(--navy); margin: 0; }
.pillars { display: grid; gap: 28px; }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.pillar .n { font-weight: 800; color: var(--blue); font-size: 15px; padding-top: 3px; }
.pillar h3 { margin: 0 0 4px; font-size: 19px; color: var(--navy); }
.pillar p { margin: 0; color: var(--muted); }

/* ---------- Newsletter ---------- */
.signup { padding: clamp(56px, 8vw, 96px) 0; }
.signup-box { border: 2px solid var(--navy); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
.signup h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin: 0 0 8px; color: var(--navy); letter-spacing: -.02em; }
.signup p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Tagung-Detail ---------- */
.t-hero { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 96px) 0 0; position: relative; overflow: hidden; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 36px; }
.crumbs a { text-decoration: none; color: rgba(255,255,255,.8); }
.crumbs a:hover { color: #fff; }
.t-year { font-size: clamp(64px, 9vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin-bottom: 28px; }
.t-year.br::before, .t-year.br::after { border-color: var(--blue-light); }
.t-hero h1 { font-size: clamp(32px, 4.8vw, 62px); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 28px; max-width: 20ch; font-weight: 800; }
.t-hero .lead { font-size: 19px; color: rgba(255,255,255,.75); max-width: 56ch; margin: 0 0 36px; }
.t-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,.18); }
.t-meta div { padding: 24px 24px 32px 0; }
.t-meta div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.t-meta dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-light); font-weight: 700; margin-bottom: 6px; }
.t-meta dd { margin: 0; font-size: 16px; line-height: 1.45; }
.t-meta dd b { display: block; font-size: 19px; }

.subnav { position: sticky; top: 76px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); padding: 16px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a:hover, .subnav a.active { color: var(--navy); border-bottom-color: var(--blue); }

.split { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); }
.split > h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); margin: 0; position: sticky; top: 150px; align-self: start; }
.prose p { margin: 0 0 1.1em; font-size: 18px; }
.prose p:first-child::first-line { font-weight: 700; }
.two-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.theme { background: #fff; border: 1px solid var(--line); padding: 28px; }
.theme .n { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .12em; text-transform: uppercase; }
.theme h3 { margin: 8px 0 8px; color: var(--navy); font-size: 21px; line-height: 1.25; }
.theme p { margin: 0; color: var(--muted); font-size: 16px; }

/* Programm */
.program { border-top: 2px solid var(--navy); }
.block-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 28px 0 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.block-title h3 { margin: 0; font-size: 22px; color: var(--navy); letter-spacing: -.01em; }
.block-title span { font-size: 14px; color: var(--muted); }
.slot { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.slot time { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.slot .who { font-weight: 700; }
.slot .role { color: var(--muted); font-size: 15px; }
.slot .what { margin-top: 4px; }
.slot.pause { color: var(--muted); }
.slot.pause .what { margin: 0; font-style: normal; }
.slot.key { background: var(--ice); padding-left: 16px; padding-right: 16px; margin: 0 -16px; }

/* Personen */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; padding: 1px; }
.person { background: #fff; outline: 1px solid var(--line); padding: 24px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.avatar { width: 52px; height: 52px; background: var(--ice); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.person b { display: block; line-height: 1.3; color: var(--ink); }
.person span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; margin-top: 3px; }

.orgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.org { border: 2px solid var(--navy); padding: 28px; display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; }
.org .avatar { width: 72px; height: 72px; font-size: 22px; background: var(--navy); color: #fff; }
.org b { display: block; font-size: 19px; color: var(--navy); }
.org span { color: var(--muted); font-size: 15px; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.dl:hover { border-color: var(--blue); transform: translateY(-2px); }
.dl b { display: block; color: var(--navy); }
.dl span { font-size: 14px; color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 40px 0; text-decoration: none; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 32px; }
.pager span { font-size: 13px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.pager b { display: block; font-size: 21px; color: var(--navy); margin-top: 6px; line-height: 1.25; }
.pager a:hover b { color: var(--blue); }

.draft-note { background: #FFF6DB; border-bottom: 1px solid #F0DFA8; color: #6B5200; font-size: 13px; text-align: center; padding: 7px 16px; }

/* ---------- Ergänzungen ---------- */
.section.tight { padding-top: 0; }
.sub { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 40px 0 16px; }
.sub.first { margin-top: 0; }
.support { margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.signup-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.t-meta dd b + b { margin-top: 6px; font-size: 16px; }

/* Programm: Sprechende und Notizen */
.slot .what { font-weight: 700; font-size: 17px; line-height: 1.4; margin: 0; color: var(--ink); }
.speakers { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.speakers li { line-height: 1.4; }
.speakers .who { font-weight: 500; }
.speakers .role { display: block; color: var(--muted); font-size: 14px; }
.slot.note { padding: 10px 0; color: var(--muted); font-size: 15px; }
.slot.note time { color: var(--muted); font-weight: 500; }
.slot.key .what { color: var(--navy); }

/* Fotostreifen auf der Startseite */
.strip { padding: 0 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.strip-track { display: flex; gap: 12px; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track img { height: clamp(180px, 24vw, 300px); width: auto; aspect-ratio: 16 / 9; object-fit: cover; flex: none; scroll-snap-align: start; }
.strip-cap { margin-top: 18px; }
.strip-cap a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; }
.strip-cap a:hover { color: var(--blue); }

/* Galerie + Lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery a { display: block; overflow: hidden; background: var(--ice); aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,31,69,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox p { position: absolute; bottom: 20px; left: 16px; right: 16px; text-align: center; color: rgba(255,255,255,.85); margin: 0; font-size: 15px; }
.lightbox button { position: absolute; background: none; border: 2px solid rgba(255,255,255,.4); color: #fff; width: 48px; height: 48px; font-size: 22px; cursor: pointer; font-family: inherit; display: grid; place-items: center; }
.lightbox button:hover { border-color: #fff; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Tagungs-Hero mit Foto */
.t-hero.has-img .t-hero-img { position: absolute; inset: 0 0 0 50%; background-size: cover; background-position: center; opacity: .5; }
.t-hero.has-img .t-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,42,92,.55) 45%, rgba(11,42,92,.2) 100%); }
.t-hero .wrap { position: relative; z-index: 1; }

@media (max-width: 960px) {
  .t-hero.has-img .t-hero-img { inset: 0; opacity: .22; }
}
@media (max-width: 720px) {
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 64px; transform: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .signup-box, .split { grid-template-columns: 1fr; }
  .split > h2 { position: static; }
  .next-grid { grid-template-columns: 1fr; }
  .archive a { grid-template-columns: 120px 1fr 48px; }
  .archive .meta { grid-column: 2; grid-row: 2; }
  .archive .arrow { grid-column: 3; grid-row: 1; }
  .archive .yr.br { font-size: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-mark { display: none; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .nav-toggle { display: block; }
  .facts { grid-template-columns: 1fr 1fr; }
  .archive a { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .archive .meta, .archive .arrow { grid-column: auto; grid-row: auto; }
  .archive .arrow { display: none; }
  .t-meta { grid-template-columns: 1fr; }
  .t-meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .two-themes { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 64px 1fr; gap: 14px; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; text-align: left; }
  .foot-grid { grid-template-columns: 1fr; }
  .subnav { top: 76px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.hero h1 + .hero-actions { margin-top: 40px; }
.hero-sub { margin: 20px 0 0; font-family: var(--sans); font-style: normal; font-weight: 500; font-size: clamp(19px, 2.2vw, 27px); line-height: 1.3; color: rgba(255,255,255,.88); max-width: 40ch; }
.hero-sub + .hero-actions { margin-top: 36px; }

/* Startseiten-Hero mit Hintergrundfotos (Überblendung) */
.hero-bg { background: var(--navy-deep); color: #fff; min-height: min(78vh, 720px); display: flex; align-items: flex-end; isolation: isolate; }
.hero-bg .wrap { position: relative; z-index: 2; width: 100%; }
.hero-bg h1 { color: #fff; }
.hero-bg h1 em { color: var(--blue-light); }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,31,69,.55) 0%, rgba(8,31,69,.35) 40%, rgba(8,31,69,.92) 100%), linear-gradient(90deg, rgba(8,31,69,.7) 0%, rgba(8,31,69,0) 70%); }
.hero-slide { position: absolute; inset: 0; background-image: var(--img-sm); background-size: cover; background-position: center; opacity: 0; animation: heroFade 24s infinite; }
@media (min-width: 900px), (min-resolution: 2dppx) { .hero-slide { background-image: var(--img); } }
.hero-slide:first-child { opacity: 1; }
@keyframes heroFade { 0% { opacity: 0; } 6% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
.hero-credit { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(40px, 6vw, 72px); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); text-decoration: none; }
.hero-credit:hover { color: #fff; }
.hero-bg + .next { border-top: 1px solid rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
}

/* Porträts */
img.avatar.photo { object-fit: cover; padding: 0; background: var(--ice); }
.person img.avatar.photo { width: 64px; height: 64px; }
.person { grid-template-columns: 64px 1fr; }
.org img.avatar.photo { width: 72px; height: 72px; }

/* Newsletter-Formular */
.signup-box { align-items: start; }
.nl-form { display: grid; gap: 16px; }
.nl-label { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: -6px; }
.nl-row { display: flex; align-items: stretch; border: 2px solid var(--navy); background: #fff; border-radius: 2px; transition: box-shadow .15s; }
.nl-row:focus-within { box-shadow: 0 0 0 3px rgba(27,106,201,.25); }
.nl-row input[type=email] { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; border: 0; border-radius: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.nl-row input::placeholder { color: #9AA3B2; }
.nl-row .btn { border: 0; border-radius: 0; padding: 0 24px; flex: none; }
@media (max-width: 420px) {
  .nl-row { flex-direction: column; }
  .signup .nl-row input[type=email] { height: 50px; }
  .nl-row .btn { height: 48px; justify-content: center; }
}
.nl-groups { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.nl-groups legend { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 8px; padding: 0; }
.nl-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.nl-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.nl-privacy { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.nl-privacy a { color: var(--navy); }
.nl-hp { position: absolute; left: -5000px; }
.nl-msg { margin: 0; font-size: 15px; font-weight: 700; min-height: 0; }
.nl-msg:empty { display: none; }
.nl-msg.ok { color: #2E7D46; }
.nl-msg.err { color: #B3261E; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Titel-Animation: [MLTech] → [MLT Forum] → [Munich / Law & Tech Forum] ----------
   Endzustand (ohne JS, bei reduzierter Bewegung): zwei Zeilen. Während der Animation .is-one = eine Zeile. */
.hero h1.lt { max-width: none; font-size: clamp(34px, 8.6vw, 96px); line-height: 1; letter-spacing: 0; white-space: nowrap; }
.lt-logo { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; padding: .16em .5em; }
.lt-logo::before, .lt-logo::after { content: ''; position: absolute; top: 0; bottom: 0; width: .3em; border: .06em solid var(--blue-light); }
.lt-logo::before { left: 0; border-right: 0; }
.lt-logo::after { right: 0; border-left: 0; }
.lt-line { display: block; line-height: 1.06; letter-spacing: -.035em; transition: letter-spacing .9s cubic-bezier(.65,0,.35,1); }
.lt-r { display: block; }
.lt.is-one .lt-r { display: inline; }
.lt-p, .lt-c { display: inline-block; vertical-align: top; white-space: pre; }
.lt-c { overflow: hidden; transition: width .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.lt-b { color: var(--blue-light); transition: color .9s ease; }
.lt-sub { align-self: center; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s cubic-bezier(.65,0,.35,1), opacity .5s ease; }
.lt-sub > span { overflow: hidden; font-size: .16em; font-weight: 500; letter-spacing: .6em; margin-right: -.6em; text-transform: uppercase; line-height: 2.4; }
/* Logo-Zustand */
.lt.is-logo .lt-line { letter-spacing: .22em; }
.lt.is-logo .lt-b, .lt.is-plain .lt-b { color: #fff; }
.lt.is-logo .lt-sub { grid-template-rows: 1fr; opacity: 1; }
/* Bis das Skript gemessen hat, nichts zeigen (Sicherheitsnetz: nach 2 s trotzdem sichtbar) */
.js .lt:not(.lt-ready) { visibility: hidden; animation: ltShow 0s 2s forwards; }
@keyframes ltShow { to { visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .js .lt:not(.lt-ready) { visibility: visible; animation: none; } }
.lt.lt-setup, .lt.lt-setup * { transition: none !important; }

/* Partner-Logos unter dem Tagungs-Hero */
.logos { background: #fff; border-bottom: 1px solid var(--line); }
.logos .wrap { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.logos a { display: block; line-height: 0; opacity: .95; transition: opacity .15s; }
.logos a:hover { opacity: 1; }
.logos img { height: 56px; width: auto; }
.logos .logo-stmj { height: 40px; }
@media (max-width: 720px) {
  .logos .wrap { gap: 24px 32px; }
  .logos img { height: 44px; }
  .logos .logo-stmj { height: 30px; }
}

/* Personenkarten: lange Namen/Behörden umbrechen statt überlaufen */
.people { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.person > div, .org > div { min-width: 0; }
.person b, .person span, .org b, .org span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.person .avatar { width: 64px; height: 64px; }

/* Personenkarten mit Link zur Personenseite */
a.person { text-decoration: none; color: inherit; transition: background .15s, outline-color .15s; }
a.person:hover { background: var(--ice); outline-color: var(--blue); position: relative; z-index: 1; }
.person .more { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px !important; font-size: 13px !important; font-weight: 700; color: var(--blue) !important; }
.person .more svg { width: 14px; height: 14px; }

/* Personenseite */
.p-page { padding-top: clamp(40px, 6vw, 72px); }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a { color: var(--navy); }
.p-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.p-photo img, .avatar.big { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.avatar.big { display: grid; place-items: center; font-size: 64px; }
.p-page h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); margin: 0; }
.p-org { font-size: 18px; color: var(--muted); margin: 12px 0 32px; }
.p-page .prose p { font-size: 17px; hyphens: auto; }
.p-page .prose p:first-child::first-line { font-weight: inherit; }
.p-talks { margin: 40px 0; border-top: 2px solid var(--navy); padding-top: 24px; }
@media (max-width: 720px) {
  .p-grid { grid-template-columns: 1fr; }
  .p-photo { max-width: 220px; }
}

/* Gleich hohe Karten je Reihe, „Zur Person“ unten bündig */
.people, .orgs { align-items: stretch; grid-auto-rows: 1fr; }
.person, .org { height: 100%; }
.person > div { display: flex; flex-direction: column; height: 100%; }
.person .more { margin-top: auto !important; padding-top: 10px; }

/* Voller Forumsname in der Navbar: zweizeilig, Schrift wie der Hero-Titel (Karla 800, „Law & Tech“ blau) */
.brand .brand-name { font-family: var(--sans); font-size: 21px; font-weight: 800; line-height: 1.02; letter-spacing: -.035em; color: var(--navy); white-space: nowrap; border-left: 1px solid var(--line); padding-left: 14px; }
.brand .brand-name em { color: var(--blue); }
.brand img { height: 42px; }
@media (max-width: 720px) {
  .brand { gap: 10px; min-width: 0; }
  .brand img { height: 32px; }
  .brand .brand-name { font-size: 17px; padding-left: 10px; }
}

/* ---------- Titel-Animation: [MLTech] → [MLT Forum] → [Munich / Law & Tech Forum] ----------
   Endzustand (ohne JS, bei reduzierter Bewegung): zwei Zeilen. Während der Animation .is-one = eine Zeile. */
.hero h1.lt { max-width: none; font-size: clamp(34px, 8.6vw, 96px); line-height: 1; letter-spacing: 0; white-space: nowrap; }
.lt-logo { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; padding: .16em .5em; }
.lt-logo::before, .lt-logo::after { content: ''; position: absolute; top: 0; bottom: 0; width: .3em; border: .06em solid var(--blue-light); }
.lt-logo::before { left: 0; border-right: 0; }
.lt-logo::after { right: 0; border-left: 0; }
.lt-line { display: block; line-height: 1.06; letter-spacing: -.035em; transition: letter-spacing .9s cubic-bezier(.65,0,.35,1); }
.lt-r { display: block; }
.lt.is-one .lt-r { display: inline; }
.lt-p, .lt-c { display: inline-block; vertical-align: top; white-space: pre; }
.lt-c { overflow: hidden; transition: width .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.lt-b { color: var(--blue-light); transition: color .9s ease; }
.lt-sub { align-self: center; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s cubic-bezier(.65,0,.35,1), opacity .5s ease; }
.lt-sub > span { overflow: hidden; font-size: .16em; font-weight: 500; letter-spacing: .6em; margin-right: -.6em; text-transform: uppercase; line-height: 2.4; }
/* Logo-Zustand */
.lt.is-logo .lt-line { letter-spacing: .22em; }
.lt.is-logo .lt-b, .lt.is-plain .lt-b { color: #fff; }
.lt.is-logo .lt-sub { grid-template-rows: 1fr; opacity: 1; }
/* Bis das Skript gemessen hat, nichts zeigen (Sicherheitsnetz: nach 2 s trotzdem sichtbar) */
.js .lt:not(.lt-ready) { visibility: hidden; animation: ltShow 0s 2s forwards; }
@keyframes ltShow { to { visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .js .lt:not(.lt-ready) { visibility: visible; animation: none; } }
.lt.lt-setup, .lt.lt-setup * { transition: none !important; }

/* Partner-Logos unter dem Tagungs-Hero */
.logos { background: #fff; border-bottom: 1px solid var(--line); }
.logos .wrap { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.logos a { display: block; line-height: 0; opacity: .95; transition: opacity .15s; }
.logos a:hover { opacity: 1; }
.logos img { height: 56px; width: auto; }
.logos .logo-stmj { height: 40px; }
@media (max-width: 720px) {
  .logos .wrap { gap: 24px 32px; }
  .logos img { height: 44px; }
  .logos .logo-stmj { height: 30px; }
}

/* Personenkarten: lange Namen/Behörden umbrechen statt überlaufen */
.people { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.person > div, .org > div { min-width: 0; }
.person b, .person span, .org b, .org span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.person .avatar { width: 64px; height: 64px; }

/* Personenkarten mit Link zur Personenseite */
a.person { text-decoration: none; color: inherit; transition: background .15s, outline-color .15s; }
a.person:hover { background: var(--ice); outline-color: var(--blue); position: relative; z-index: 1; }
.person .more { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px !important; font-size: 13px !important; font-weight: 700; color: var(--blue) !important; }
.person .more svg { width: 14px; height: 14px; }

/* Personenseite */
.p-page { padding-top: clamp(40px, 6vw, 72px); }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a { color: var(--navy); }
.p-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.p-photo img, .avatar.big { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.avatar.big { display: grid; place-items: center; font-size: 64px; }
.p-page h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); margin: 0; }
.p-org { font-size: 18px; color: var(--muted); margin: 12px 0 32px; }
.p-page .prose p { font-size: 17px; hyphens: auto; }
.p-page .prose p:first-child::first-line { font-weight: inherit; }
.p-talks { margin: 40px 0; border-top: 2px solid var(--navy); padding-top: 24px; }
@media (max-width: 720px) {
  .p-grid { grid-template-columns: 1fr; }
  .p-photo { max-width: 220px; }
}

/* Gleich hohe Karten je Reihe, „Zur Person“ unten bündig */
.people, .orgs { align-items: stretch; grid-auto-rows: 1fr; }
.person, .org { height: 100%; }
.person > div { display: flex; flex-direction: column; height: 100%; }
.person .more { margin-top: auto !important; padding-top: 10px; }

/* Voller Forumsname in der Navbar, immer zweizeilig („Munich“ / „Law & Tech Forum“ wie im Hero) */
.brand span { font-size: 16px; line-height: 1.15; white-space: nowrap; }
@media (max-width: 720px) {
  .brand { gap: 10px; min-width: 0; }
  .brand img { height: 30px; }
  .brand span { font-size: 14px; padding-left: 10px; }
}
