/* ==========================================================================
   Denkzeche — Schichtwechsel für die KI
   Landingpage styles. Built on the mobilistics design tokens (tokens.css).
   ========================================================================== */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg-1);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: var(--fs-body-web);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

input, label, button, select, textarea { font-family: var(--font-body); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--color-horizon-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-white);
  color: var(--color-deep-sea);
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Layout primitives ---------------------------------------------------- */

.section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-pad);
}

.band { width: 100%; }
.band--silver { background: var(--bg-2); }
.band--dark { background: var(--bg-dark); color: var(--fg-inverse); }
.band--white { background: var(--bg-1); }

[id] { scroll-margin-top: 24px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.split--narrow-first { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--center { align-items: center; }

/* --- Type ----------------------------------------------------------------- */

.section-title {
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 600;
  color: var(--color-deep-sea);
  margin: 0 0 var(--space-5);
}
.band--dark .section-title { color: var(--color-white); }
.section-title--flush { margin-bottom: 0; }
.section-title--wide { margin-bottom: var(--space-8); }
.section-title .accent { display: block; color: var(--color-horizon-blue); }
.section-title .line { display: block; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 var(--space-5);
}
.band--dark .lead { color: rgba(255, 255, 255, 0.82); }
.lead--measure { max-width: 68ch; }

/* --- Pills / eyebrows ----------------------------------------------------- */

.pill-row { display: flex; margin-bottom: var(--space-5); }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  color: var(--color-deep-sea);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill--inverse {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  background: transparent;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}

.btn--primary {
  height: 56px;
  padding: 0 28px;
  background: var(--color-horizon-blue);
  color: var(--color-white);
  font-size: 17px;
  border: none;
}
.btn--primary:hover { background: var(--fg-accent-hover); color: var(--color-white); }

.btn--ghost {
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-size: var(--fs-body-web);
  background: transparent;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--color-white); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  background: var(--color-deep-sea);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(0, 5, 61, 0.94) 0%,
      rgba(0, 5, 61, 0.62) 34%,
      rgba(0, 5, 61, 0.05) 78%,
      rgba(0, 5, 61, 0.00) 86%),
    linear-gradient(to bottom,
      rgba(0, 5, 61, 0.40) 0%,
      rgba(0, 5, 61, 0.00) 16%);
}

.hero__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 44px 72px 0 72px;
}

.hero__logo { height: 30px; width: auto; display: block; }

.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 128px 72px 104px 72px;
}

.hero__title {
  margin: 22px 0 0 0;
  font-weight: 600;
  line-height: 1.05;
  color: var(--color-white);
  font-size: var(--fs-display);
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.hero__sub {
  margin: 26px 0 0 0;
  max-width: 610px;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.76);
  text-wrap: pretty;
}

.hero__date {
  margin-top: 18px;
  font-size: var(--fs-h3);
  line-height: 1.2;
  color: var(--color-white);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
  margin-top: 34px;
}

.hero__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hero__credit a:hover { color: rgba(255, 255, 255, 0.9); }

.hero__credit {
  position: absolute;
  right: 72px;
  bottom: 40px;
  z-index: 2;
  font-size: var(--fs-caption);
  color: var(--color-grey);
}

/* --- Speakers ------------------------------------------------------------- */

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: 56px;
}

.speaker__photo {
  aspect-ratio: 1 / 1;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-2);
}
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.speaker__name {
  font-size: var(--fs-h4, 24px);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-deep-sea);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 6px;
}
.speaker__role { font-size: var(--fs-body-web); color: var(--color-grey); }
.speaker__bio { font-size: var(--fs-body-web); line-height: var(--lh-body); color: var(--fg-2); margin: var(--space-4) 0 0; }

/* --- Checklist ------------------------------------------------------------ */

.checklist { display: flex; flex-direction: column; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: var(--space-4); align-items: flex-start; font-size: var(--fs-lead); line-height: 1.5; color: var(--fg-2); }
.checklist svg { flex-shrink: 0; margin-top: 4px; }

/* --- Agenda --------------------------------------------------------------- */

.agenda-list { display: flex; flex-direction: column; gap: 44px; list-style: none; margin: 0; padding: 0; }

.agenda-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
}
.agenda-item__time {
  font-size: var(--fs-h5);
  font-weight: 600;
  color: var(--color-horizon-blue);
  letter-spacing: -0.01em;
}
.agenda-item__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-deep-sea);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-2);
}
.agenda-item__body {
  font-size: var(--fs-body);
  color: var(--fg-2);
  max-width: 62ch;
  line-height: var(--lh-body);
}
.agenda-item__body p { margin: 0 0 1em; }
.agenda-item__body p:last-child { margin-bottom: 0; }

/* --- Registration --------------------------------------------------------- */

.contact-block {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-block__label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-grey);
}
.contact-block__body { font-size: var(--fs-body); line-height: 1.65; color: var(--fg-2); }
.contact-block__body strong { font-weight: 600; color: var(--color-deep-sea); }
.contact-block__body a { color: var(--fg-2); font-weight: 400; }
.contact-block__body a:hover { color: var(--color-horizon-blue); }
.contact-block__mail { font-size: var(--fs-body); color: var(--color-horizon-blue); font-weight: 600; }

.form-card {
  background: var(--bg-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-fallback {
  font-size: var(--fs-body-web);
  line-height: var(--lh-body);
  color: var(--fg-2);
}

/* --- Location ------------------------------------------------------------- */

.location-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.location-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; }

.facts { display: flex; flex-direction: column; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; gap: var(--space-4); align-items: flex-start; }
.facts svg { flex-shrink: 0; margin-top: 3px; }
.facts__title { font-size: var(--fs-body); font-weight: 600; color: var(--color-white); }
.facts__text { font-size: var(--fs-body-web); color: rgba(255, 255, 255, 0.7); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.gallery__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: var(--space-5);
}
.gallery__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__caption { font-size: var(--fs-body); color: rgba(255, 255, 255, 0.82); max-width: 44ch; }

.credit-line { margin-top: var(--space-7); font-size: var(--fs-caption); color: rgba(255, 255, 255, 0.5); }

/* --- FAQ ------------------------------------------------------------------ */

.faq-list { display: flex; flex-direction: column; gap: var(--space-4); }

.faq-item {
  background: var(--bg-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2px 28px;
  box-shadow: var(--shadow-card);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  background: none;
  border: none;
  padding: var(--space-5) 0;
  cursor: pointer;
  text-align: left;
  color: var(--color-deep-sea);
  font-size: var(--fs-lead);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-item__sign {
  flex-shrink: 0;
  color: var(--color-horizon-blue);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
}

.faq-item__a {
  padding: 0 var(--space-7) 26px 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 62ch;
}
.faq-item__q[aria-expanded="false"] + .faq-item__a { display: none; }

/* --- Footer --------------------------------------------------------------- */

.site-footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.7); }
.site-footer .section { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: end;
}
.footer-logo { height: 22px; width: auto; display: block; margin-bottom: var(--space-5); }
.footer-address { font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-nav a { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.footer-nav a:hover { color: var(--color-white); }

/* --- HubSpot form --------------------------------------------------------- */

.hsform .hs-form { display: flex; flex-direction: column; gap: 0; font-family: var(--font-body); }
.hsform .hs-form fieldset { max-width: none; border: none; padding: 0; margin: 0 0 0 0; }
.hsform .hs-form fieldset.form-columns-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.hsform .hs-form fieldset .hs-form-field { width: 100% !important; float: none !important; padding: 0 !important; margin-bottom: 16px !important; }
.hsform .hs-form .hs-form-field { margin-bottom: 16px; }

.hsform .hs-form label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-deep-sea);
  margin-bottom: var(--space-2);
}
.hsform .hs-form .input { margin-right: 0 !important; }

.hsform .hs-form input[type="text"],
.hsform .hs-form input[type="email"],
.hsform .hs-form input[type="tel"],
.hsform .hs-form input[type="number"],
.hsform .hs-form select,
.hsform .hs-form textarea {
  width: 100% !important;
  height: 48px;
  padding: 0 14px;
  font-size: var(--fs-body-web);
  font-family: var(--font-body);
  color: var(--color-deep-sea);
  background: var(--color-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  outline: none;
}
.hsform .hs-form textarea { height: auto; min-height: 120px; padding: 12px 14px; }
.hsform .hs-form input:focus,
.hsform .hs-form select:focus,
.hsform .hs-form textarea:focus {
  border-color: var(--color-horizon-blue);
  box-shadow: var(--shadow-focus);
}

.hsform .hs-form .hs-form-booleancheckbox label,
.hsform .hs-form .legal-consent-container label {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-small);
  line-height: 1.5;
  font-weight: 400;
  color: var(--fg-2);
  cursor: pointer;
}
.hsform .hs-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--color-horizon-blue);
  flex-shrink: 0;
}
.hsform .hs-form .legal-consent-container { margin-bottom: 28px; }
.hsform .hs-form .legal-consent-container p,
.hsform .hs-form .legal-consent-container span { font-size: var(--fs-caption); line-height: 1.5; color: var(--color-grey); }
.hsform .hs-form .legal-consent-container p { margin: 0; }

.hsform .hs-form ul { list-style: none; margin: 0; padding: 0; }
.hsform .hs-form .hs-error-msgs label { color: #C0392B; font-size: 13px; font-weight: 400; margin: 6px 0 0; }
.hsform .hs-form .hs_error_rollup { display: none; }

.hsform .hs-form input[type="submit"] {
  width: 100%;
  height: 52px;
  background: var(--color-horizon-blue);
  color: var(--color-white);
  font-size: var(--fs-body-web);
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
}
.hsform .hs-form input[type="submit"]:hover { background: var(--fg-accent-hover); }
.hsform .hs-form .submitted-message { font-size: var(--fs-body); color: var(--fg-2); }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1150px) {
  .split, .split--narrow-first { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  :root { --container-pad: 24px; }
  .section { padding: 72px var(--container-pad); }
  .section-title { font-size: 34px; }
  .lead, .checklist li { font-size: 18px; }

  .hero { min-height: auto; }
  .hero__img { opacity: 0.3; }
  .hero__overlay {
    background: linear-gradient(to top,
      rgba(0, 5, 61, 0.98) 0%,
      rgba(0, 5, 61, 0.90) 26%,
      rgba(0, 5, 61, 0.55) 48%,
      rgba(0, 5, 61, 0.25) 70%,
      rgba(0, 5, 61, 0.18) 100%);
  }
  .hero__header { padding: 28px var(--container-pad) 0; }
  .hero__body { padding: 96px var(--container-pad) 88px; }
  .hero__title { font-size: 44px; }
  .hero__date { font-size: 26px; }
  .hero__sub { font-size: 18px; }
  .hero__credit { position: static; margin: 0 var(--container-pad) 24px; }

  .agenda-item { grid-template-columns: 1fr; gap: var(--space-3); }
  .form-card { padding: 24px; }
  .faq-item { padding: 2px 20px; }
  .faq-item__a { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); align-items: start; }
}

@media (max-width: 560px) {
  .hero__header { flex-direction: row; }
  .hero__logo { height: 24px; }
  .hero__title { font-size: 36px; }
  .btn--primary { width: 100%; justify-content: center; }
  .hsform .hs-form fieldset.form-columns-2 { grid-template-columns: 1fr; }
}

@media print {
  .hero__img, .hero__overlay { display: none; }
  .hero, .band--dark, .site-footer { background: #fff !important; color: #000 !important; }
}
