:root {
  --navy: #02569b;
  --sky: #42a5f5;
  --ink: #111111;
  --muted: #4a5563;
  --paper: #f4f8fc;
  --white: #ffffff;
  --line: rgba(2, 86, 155, 0.12);
  --shadow: 0 18px 50px rgba(2, 86, 155, 0.12);
  --radius: 18px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #f7fafc;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 250, 252, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
  margin-right: auto;
}

.logo strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  font-size: 15px;
  text-transform: uppercase;
}

.logo span {
  font-size: 11px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 45;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: #e8f2fb;
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 700 12px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: #02569b;
  color: #fff;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: #243044;
}

.nav a:hover {
  color: var(--navy);
}

.nav .btn {
  color: #fff;
}

.nav .btn:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-family: inherit;
  border-radius: 999px;
  padding: 13px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(90deg, #02569b, #42a5f5);
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 86, 155, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 22, 42, 0.28) 0%, rgba(4, 22, 42, 0.62) 46%, rgba(4, 22, 42, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 86, 155, 0.28), transparent 55%);
}

.accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #02569b, #42a5f5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.host-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: #b9dcff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 0 28px;
  color: #8ec8ff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.fact {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 16px;
}

.fact b {
  display: block;
  color: #8ec8ff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.countdown {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.count {
  min-width: 72px;
  text-align: center;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 12px;
  padding: 10px 8px 8px;
}

.count strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
}

.count span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5d8ea;
}

.section {
  padding: 88px 0;
}

.section-kicker {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 8px;
}

.section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 68ch;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.prose p {
  color: #3d4a5c;
  font-size: 17px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  background: #e8f2fb;
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.speakers {
  background:
    linear-gradient(180deg, rgba(244, 248, 252, 0.92), rgba(244, 248, 252, 0.96)),
    url("images/pattern.jpg") center / cover;
}

.speakers-head {
  text-align: center;
  margin-bottom: 36px;
}

.speakers-head .section-kicker::after,
.speakers-head h2::after {
  content: none;
}

.rule {
  width: 42px;
  height: 3px;
  background: var(--sky);
  margin: 12px auto 0;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.speaker-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e6eef6;
  border-radius: 22px;
  padding: 26px 16px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(2, 86, 155, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 86, 155, 0.12);
}

.avatar {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid var(--sky);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  font-weight: 700;
  overflow: hidden;
  background: linear-gradient(160deg, #02569b, #42a5f5);
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.avatar-mathias img {
  object-position: center 12%;
}

.avatar-lukas img {
  object-position: center 8%;
}

.body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.agenda-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid #d6e7f6;
  flex-shrink: 0;
}

.agenda-photo-mathias {
  object-position: center 12%;
}

.agenda-photo-lukas {
  object-position: center 8%;
}

.speaker-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.speaker-card p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.agenda {
  background: #fff;
}

.agenda-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.time {
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
}

.agenda-item.highlight .time {
  background: var(--sky);
}

.agenda-item.break {
  border-style: dashed;
}

.agenda-item.break .time {
  background: #dfe6ee;
  color: #555;
}

.body h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.body p {
  margin: 0;
  color: #555;
}

.note {
  margin-top: 18px;
  text-align: center;
  background: #eef4f9;
  color: var(--navy);
  font-style: italic;
  font-weight: 600;
  padding: 14px;
  border-radius: 12px;
}

.signup {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.signup-bg,
.signup-bg img,
.signup-bg::after {
  pointer-events: none;
}

.signup-bg,
.signup-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.signup-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 22, 42, 0.88) 0%, rgba(4, 22, 42, 0.78) 48%, rgba(4, 22, 42, 0.55) 100%);
}

.signup-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.signup h2,
.signup .lead {
  color: #fff;
}

.signup .lead {
  opacity: 0.88;
}

.form {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d5e0ea;
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #42a5f5;
  border-color: #42a5f5;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}

.consent input {
  width: auto;
  margin-top: 3px;
}

.form-status {
  min-height: 22px;
  margin: 8px 0 0;
  font-weight: 700;
}

.form-status.error {
  color: #b42318;
}

.form-status.ok {
  color: #027a48;
}

.success-card {
  display: none;
  text-align: center;
  padding: 36px 10px 18px;
}

.success-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  margin: 0 0 8px;
}

.success-card p {
  color: var(--muted);
  font-size: 17px;
}

.success-card.show,
.form.done .fields {
  display: none;
}

.form.done .success-card {
  display: block;
}

.site-footer {
  background: #071525;
  color: #c9d7e6;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer strong {
  color: #fff;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }

  .nav.open {
    display: flex;
  }

  .hero-facts,
  .split,
  .speaker-grid,
  .signup-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .agenda-item {
    grid-template-columns: 72px 1fr;
  }
}
