:root {
  --kita-blue: #4176d9;
  --kita-blue-dark: #315fb5;
  --kita-blue-soft: #eef4ff;
  --kita-ink: #172033;
  --kita-muted: #5d6a7e;
  --kita-card: #ffffff;
  --kita-border: rgba(65, 118, 217, 0.14);
  --kita-shadow: 0 24px 70px rgba(49, 95, 181, 0.13);
  --kita-radius: 28px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(65, 118, 217, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 42%, #f7faff 100%);
  color: var(--kita-ink);
  font-family: Roboto, Arial, sans-serif;
}

main {
  overflow: hidden;
}

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

.home-announcement {
  align-items: center;
  background: linear-gradient(135deg, var(--kita-blue), #6ba8ff);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 72px);
}

.home-announcement p {
  color: inherit;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.45;
  margin: 0;
}

.home-announcement__button {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  color: var(--kita-blue-dark);
  display: inline-flex;
  font-size: 17px;
  font-weight: 560;
  padding: 16px 28px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.home-announcement__button:hover {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.home-hero {
  background-image:
    linear-gradient(105deg, rgba(18, 22, 28, 0.58) 0%, rgba(36, 40, 46, 0.32) 40%, rgba(255, 255, 255, 0.12) 76%, rgba(255, 255, 255, 0.22) 100%),
    radial-gradient(circle at 22% 48%, rgba(255, 255, 255, 0.2), transparent 42%),
    url("../../images/cologne.jpeg");
  background-position: center;
  background-size: cover;
  min-height: clamp(480px, 62vh, 640px);
  position: relative;
}

.home-hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.24) 100%);
  bottom: -1px;
  content: "";
  height: 44px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.home-hero .blue-cover {
  background: transparent;
  justify-content: center;
  padding: clamp(44px, 8vw, 110px);
  text-align: center;
}

.home-hero .content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.home-kicker {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  padding: 10px 16px;
}

.home-hero-title {
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(36px, 5.6vw, 62px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0;
}

.home-hero-title span {
  color: #dce8ff;
  display: block;
  font-size: clamp(25px, 3.8vw, 42px);
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-top: 12px;
}

.home-hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  margin: 28px 0 0;
  max-width: 640px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.welcome-button,
.home-secondary-button {
  border-radius: 999px;
  display: inline-flex;
  font-size: 18px;
  font-weight: 560;
  justify-content: center;
  padding: 17px 30px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.welcome-button {
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  color: var(--kita-blue-dark);
  margin-top: 0;
}

.welcome-button:hover {
  background: var(--kita-blue-soft);
  color: var(--kita-blue-dark);
  transform: translateY(-2px);
}

.home-hero-actions .welcome-button.btn.btn-primary {
  color: #1f2933;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(31, 41, 55, 0.08),
    0 0 18px rgba(31, 41, 55, 0.18),
    0 14px 34px rgba(31, 41, 55, 0.28) !important;
  filter: none;
}

.home-hero-actions .welcome-button.btn.btn-primary:hover {
  color: #111827;
  background: #f4f7fb;
  border-color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(31, 41, 55, 0.1),
    0 0 22px rgba(31, 41, 55, 0.22),
    0 16px 38px rgba(31, 41, 55, 0.32) !important;
  filter: none;
}

.home-secondary-button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.home-secondary-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.home-hero-actions .home-secondary-button.btn.btn-secondary {
  color: var(--kita-blue-dark);
  background: rgba(238, 244, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.home-hero-actions .home-secondary-button.btn.btn-secondary:hover {
  color: var(--kita-blue-dark);
  background: #dfeaff;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.section-container {
  margin: 0 auto;
  max-width: 1160px;
  padding: 34px 24px 10px;
}

.second-section {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--kita-border);
  border-radius: var(--kita-radius);
  box-shadow: var(--kita-shadow);
  padding: clamp(28px, 5vw, 58px);
}

.secondcontent {
  color: var(--kita-muted);
  line-height: 1.9;
  text-align: left;
}

.secondcontent p {
  font-size: 18px;
  margin: 0;
}

.section-title,
.home-section-title {
  color: var(--kita-ink);
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.16;
  margin-bottom: 24px;
}

.section-title::after {
  background: var(--kita-blue);
  border-radius: 999px;
  bottom: -10px;
  height: 4px;
  width: 86px;
}

.home-highlights {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 28px auto 40px;
  max-width: 1160px;
  padding: 0 24px;
}

.home-highlight-card {
  background: var(--kita-card);
  border: 1px solid var(--kita-border);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(21, 42, 94, 0.09);
  color: var(--kita-muted);
  padding: 28px;
}

.home-highlight-card h2 {
  color: var(--kita-ink);
  font-size: 22px;
  margin-bottom: 12px;
}

.home-highlight-card p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.home-highlight-card a {
  color: var(--kita-blue);
  display: inline-flex;
  font-weight: 800;
  margin-top: 18px;
  text-decoration: none;
}

.fourth-section {
  background: transparent;
  margin: 16px auto 60px;
  max-width: 1240px;
  min-height: auto;
  padding: 42px 24px;
  width: auto;
}

.fourth-section h1 {
  color: var(--kita-ink);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.022em;
  padding-bottom: 30px;
}

.referenten-section {
  position: relative;
}

.referenten-section::before {
  background:
    radial-gradient(circle at top left, rgba(65, 118, 217, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(238, 244, 255, 0.42));
  border: 1px solid var(--kita-border);
  border-radius: 36px;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.referenten-section-header {
  margin: 0 auto 30px;
  max-width: 820px;
  text-align: center;
}

.section-eyebrow {
  color: var(--kita-blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.referenten-section-header h1 {
  padding-bottom: 16px;
}

.referenten-section-header p:not(.section-eyebrow) {
  color: var(--kita-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 720px;
}

.referenten-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.referent-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--kita-border);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(21, 42, 94, 0.09);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.referent-card:hover {
  border-color: rgba(65, 118, 217, 0.32);
  box-shadow: 0 24px 64px rgba(21, 42, 94, 0.16);
  transform: translateY(-4px);
}

.referent-card img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.referent-card img.referent-card-image--centered {
  object-position: center center;
}

.referent-card img.referent-card-image--adriana {
  background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
  object-position: center 18%;
}

.referent-card img.referent-card-image--ulrike-balke {
  object-position: center 24%;
}

.referent-card img.referent-card-image--markus {
  object-position: center 18%;
}

.referent-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.referent-card h2 {
  color: var(--kita-ink);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.22;
  margin: 0 0 12px;
}

.referent-card p {
  color: var(--kita-muted);
  font-size: 15px;
  line-height: 1.62;
  margin: 0;
}

.referenten-section-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.referenten-section-action a {
  background: linear-gradient(135deg, var(--kita-blue), #6ba8ff);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(65, 118, 217, 0.24);
  color: #fff;
  display: inline-flex;
  font-size: 17px;
  font-weight: 900;
  justify-content: center;
  padding: 15px 28px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.referenten-section-action a:hover {
  box-shadow: 0 20px 44px rgba(65, 118, 217, 0.32);
  color: #fff;
  transform: translateY(-2px);
}

.scrollable-images {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  overflow: visible;
  padding: 4px 4px 28px;
  scrollbar-width: thin;
  white-space: normal;
}

.scrollable-images::-webkit-scrollbar {
  display: block;
  height: 10px;
}

.scrollable-images::-webkit-scrollbar-thumb {
  background: rgba(65, 118, 217, 0.24);
  border-radius: 999px;
}

.image-container {
  background: #fff;
  border: 1px solid var(--kita-border);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(21, 42, 94, 0.1);
  flex: initial;
  height: auto;
  margin: 0;
  max-width: none;
  overflow: hidden;
  padding: 18px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.image-container:hover {
  box-shadow: 0 24px 60px rgba(21, 42, 94, 0.16);
  transform: translateY(-4px);
}

.image-container img {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  height: 240px;
  margin: 0 auto 18px;
  max-height: none;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.speaker-image--compact {
  object-position: center top;
}

.description,
.description2,
.description3 {
  bottom: auto;
  color: var(--kita-muted);
  padding: 0 4px 8px;
  position: static;
  white-space: normal;
}

.bold-text {
  color: var(--kita-ink);
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  padding: 0 0 8px;
}

.normal-text {
  color: var(--kita-muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-section {
  background: #f1f5fc;
  border: 1px solid rgba(65, 118, 217, 0.12);
  border-radius: 38px;
  box-shadow: 0 24px 70px rgba(36, 59, 99, 0.12);
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  margin: 24px auto 70px;
  max-width: 1160px;
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 28px);
}

.contact-details,
.contact-form {
  margin: 0;
  min-width: 0;
}

.contact-details {
  background: transparent;
  border-radius: 0;
  color: var(--kita-ink);
  height: auto;
  padding: clamp(34px, 5vw, 58px);
}

.contact-details h2,
.contact-details p {
  color: var(--kita-ink);
}

.contact-info {
  line-height: 1.7;
}

.contact-info p {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 59, 99, 0.1);
  border-radius: 18px;
  display: flex;
  gap: 14px;
  margin: 14px 0;
  overflow-wrap: anywhere;
  padding: 13px 15px;
}

.contact-icon {
  align-items: center;
  background: rgba(65, 118, 217, 0.1);
  border-radius: 14px;
  color: var(--kita-blue-dark);
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.contact-icon svg {
  fill: none;
  height: 23px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 23px;
}

.contact-form {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  box-shadow: 0 12px 34px rgba(7, 23, 72, 0.1);
  max-width: none;
  padding: clamp(28px, 4vw, 48px);
  width: auto;
}

.contact-form h2,
.contact-details h2 {
  color: var(--kita-ink);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.018em;
}

.contact-details h2 {
  color: var(--kita-ink);
}

.contact-details .section-eyebrow,
.contact-form-header .section-eyebrow {
  margin-bottom: 10px;
}

.contact-details .section-eyebrow {
  color: var(--kita-blue-dark);
}

.contact-details-intro,
.contact-form-header p:not(.section-eyebrow) {
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 24px;
}

.contact-details-intro {
  color: var(--kita-muted);
  max-width: 390px;
}

.contact-form-header {
  margin-bottom: 24px;
}

.contact-form-header h2 {
  margin-bottom: 12px;
}

.contact-form-header p:not(.section-eyebrow) {
  color: var(--kita-muted);
  max-width: 520px;
}

.contact-form label {
  color: var(--kita-muted);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(112px, 0.44fr) minmax(0, 1fr);
}

.form-group {
  margin-bottom: 0;
}

.form-group--compact {
  min-width: 0;
}

.form-group--full {
  grid-column: 1 / -1;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  background: linear-gradient(135deg, #f7faff, #eef4ff);
  border: 1px solid rgba(65, 118, 217, 0.14);
  border-radius: 18px;
  box-shadow: none;
  color: var(--kita-ink);
  font: inherit;
  min-height: 48px;
  padding: 14px 16px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.contact-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--kita-blue) 50%) right 18px center / 6px 6px no-repeat,
    linear-gradient(135deg, #f7faff, #eef4ff);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background: #fff;
  border-color: rgba(65, 118, 217, 0.58);
  box-shadow: 0 0 0 4px rgba(65, 118, 217, 0.12);
  outline: none;
}

#confirmation-message {
  background: #e9f8ef;
  border: 1px solid rgba(34, 145, 82, 0.22);
  border-radius: 16px;
  color: #126334;
  display: none;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 14px 16px;
}

#email-error-message,
#captcha-error {
  color: #c43535;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

#email-error-message {
  display: none;
}

.button-container {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  text-align: left;
}

.g-recaptcha {
  margin-bottom: 16px;
  max-width: 100%;
  transform-origin: left top;
}

.contact-form button {
  background: var(--kita-blue);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(65, 118, 217, 0.24);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 560;
  min-height: 52px;
  padding: 15px 30px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: var(--kita-blue-dark);
  box-shadow: 0 16px 34px rgba(65, 118, 217, 0.3);
  transform: translateY(-2px);
}

footer {
  background: #243b63;
  padding: 54px 24px 42px;
}

.footer-columns {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.footer-column {
  min-width: 0;
}

.footer-column a {
  overflow-wrap: anywhere;
}

.footer-column h3 {
  color: #fff;
}

.footer-column ul li a,
.footer-column a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1180px) {
  .contact-section {
    margin-left: 24px;
    margin-right: 24px;
  }
}

@media (max-width: 1024px) {
  .home-hero {
    min-height: clamp(460px, 60vh, 600px);
  }

  .home-hero .blue-cover {
    padding: 64px 32px;
  }

  .scrollable-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }

  .contact-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-announcement,
  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-highlights,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-container {
    font-size: inherit;
    line-height: normal;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    width: 100%;
  }

  .secondcontent h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .secondcontent p {
    font-size: 17px;
    line-height: 1.75;
  }

  .fourth-section {
    width: auto;
  }

  .contact-section {
    border-radius: 26px;
    display: grid;
    margin-left: 18px;
    margin-right: 18px;
  }

  .contact-form {
    border-radius: 24px;
  }

  .section-container,
  .home-highlights,
  .fourth-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-hero .blue-cover {
    padding: 48px 24px;
  }

  .image-container {
    flex-basis: auto;
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: min(560px, 78vh);
  }

  .home-hero::after {
    height: 32px;
  }

  .home-hero .blue-cover {
    align-items: center;
    padding: 36px 18px 84px;
  }

  .home-hero-title {
    font-size: clamp(31px, 11vw, 42px);
  }

  .home-hero-title span {
    font-size: clamp(22px, 8vw, 30px);
  }

  .welcome-button,
  .home-secondary-button,
  .contact-form button {
    width: 100%;
  }

  .section-container,
  .home-highlights,
  .fourth-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .second-section,
  .home-highlight-card,
  .contact-details,
  .contact-form {
    padding: 24px 18px;
  }

  .contact-section {
    padding: 14px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .scrollable-images {
    grid-template-columns: 1fr;
  }

  .image-container img {
    height: auto;
    max-height: 280px;
  }

  .contact-info p {
    align-items: flex-start;
  }

  .contact-icon {
    flex-basis: 36px;
    height: 36px;
    width: 36px;
  }

  .contact-icon svg {
    height: 20px;
    width: 20px;
  }

  .g-recaptcha {
    transform: scale(0.86);
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.78);
  }
}
