:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #17293d;
  --ink-soft: #4f6278;
  --brand: #163f68;
  --brand-2: #1f638f;
  --accent: #c89a44;
  --border: #d7e0ea;
  --radius: 16px;
  --shadow: 0 10px 26px rgba(10, 36, 62, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fbfaf7 0%, #f2f5f9 100%);
  color: var(--ink);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
.container { width: min(1140px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(22, 63, 104, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.site-header .logo img {
  height: 72px !important;
  width: auto !important;
  max-width: min(48vw, 360px);
}

.nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}
.nav a:hover { color: var(--brand-2); }
.nav .cta-mini {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}
.nav .cta-mini-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(22, 63, 104, 0.28);
}
.nav .cta-mini-outline:hover {
  background: rgba(22, 63, 104, 0.08);
  color: var(--brand);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.hero { padding: 4.9rem 0 3.9rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.badge {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
}
h1 { margin: 0 0 0.8rem; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; }
h2 { margin: 0 0 0.7rem; font-size: clamp(1.45rem, 2.8vw, 2.2rem); line-height: 1.2; }
h3 { margin: 0.1rem 0 0.45rem; font-size: 1.17rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.45rem;
}

.hero-art {
  min-height: 365px;
  border-radius: 22px;
  border: 1px solid rgba(22, 63, 104, 0.2);
  background:
    linear-gradient(160deg, rgba(14, 45, 74, 0.65), rgba(20, 90, 134, 0.5)),
    url("../images/cropped-mediensturmer-aWf7mjwwJJo-unsplash-scaled-1.jpg") center/cover no-repeat;
  box-shadow: 0 18px 42px rgba(10, 36, 62, 0.2);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.hero-art p { color: #f8fbff; margin: 0; font-weight: 600; }

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.5rem;
  font-weight: 800;
}

.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 11px;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #dfba77);
  color: #1b2734;
}
.btn-ghost {
  background: #fff;
  color: var(--brand);
  border-color: var(--border);
}
.btn-dark { background: var(--brand); color: #fff; }
.btn-ai {
  background: linear-gradient(120deg, #204f8d, #2e6bb7);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 0 rgba(46, 107, 183, 0.42);
  animation: aiPulse 2.2s ease-out infinite;
}
.btn-ai:hover { filter: brightness(1.06); }

@keyframes aiPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 107, 183, 0.45); transform: translateY(0); }
  70% { box-shadow: 0 0 0 10px rgba(46, 107, 183, 0); transform: translateY(-1px); }
  100% { box-shadow: 0 0 0 0 rgba(46, 107, 183, 0); transform: translateY(0); }
}

.section { padding: 3.4rem 0; }
.section + .section { padding-top: 1.2rem; }
.section-compact { padding-top: 0.6rem; padding-bottom: 0.8rem; }
.grid-2, .grid-3 { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.card-media {
  width: 100%;
  height: 84px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
  opacity: 0.92;
  overflow: hidden;
}
.card-media-top {
  padding: 0;
  overflow: hidden;
}
.card-media-top .card-media {
  display: block;
  height: 92px;
  margin: 0;
  border: 0;
  border-radius: 16px 16px 0 0;
  opacity: 0.95;
}
.card-media-top .card-body {
  padding: 1.05rem 1.3rem 1.3rem;
}
.kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-2);
  font-weight: 800;
}

.bio {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
}
.bio img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid #e5edf6;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer {
  margin-top: 2.5rem;
  background: #0e2842;
  color: rgba(255, 255, 255, 0.9);
  padding: 2.6rem 0 1.65rem;
}
.footer a { color: rgba(255, 255, 255, 0.92); text-decoration: none; }
.footer p { color: rgba(255, 255, 255, 0.9); margin: 0 0 0.85rem; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-logo {
  height: 42px;
  width: auto;
  max-width: 220px;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.95;
}
.copy { font-size: 0.86rem; opacity: 0.9; }

.webinar-banner {
  margin-top: 2.2rem;
  border-radius: 18px;
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: radial-gradient(circle at 30% 20%, rgba(156, 110, 255, 0.65), rgba(90, 144, 255, 0.8));
  color: #fff;
}
.webinar-banner p { color: rgba(255, 255, 255, 0.95); margin: 0.2rem 0; }
.webinar-banner .btn { margin-top: 0.2rem; }

.long-copy p { margin-bottom: 0.85rem; }

.chatbot-floater {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 119;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(160deg, #173a61, #296cb0 74%);
  box-shadow:
    0 16px 34px rgba(14, 35, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.chatbot-floater:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 18px 38px rgba(14, 35, 58, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.chatbot-floater:focus-visible {
  outline: 3px solid rgba(200, 154, 68, 0.7);
  outline-offset: 3px;
}
.chatbot-floater__mark {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
  text-shadow: 0 2px 8px rgba(10, 26, 44, 0.35);
}

.chatbot-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.chatbot-modal.is-open {
  display: block;
}
.chatbot-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 27, 44, 0.62);
  backdrop-filter: blur(4px);
}
.chatbot-modal__dialog {
  position: relative;
  width: min(1040px, calc(100vw - 2rem));
  height: min(780px, calc(100vh - 2rem));
  margin: 1rem auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(9, 24, 41, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chatbot-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f7fafc, #eef4f8);
}
.chatbot-modal__header h2 {
  margin: 0;
  font-size: 1.05rem;
}
.chatbot-modal__close {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
}
.chatbot-modal__body {
  flex: 1;
  min-height: 0;
  background: #f3f7fb;
}
.chatbot-embed-root {
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.valuation-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid rgba(22, 63, 104, 0.12);
  background:
    linear-gradient(135deg, rgba(22, 63, 104, 0.96), rgba(31, 99, 143, 0.92)),
    linear-gradient(90deg, rgba(200, 154, 68, 0.16), rgba(255, 255, 255, 0));
  box-shadow: 0 16px 38px rgba(10, 36, 62, 0.18);
}
.valuation-cta .kicker,
.valuation-cta h2,
.valuation-cta p {
  color: #fff;
}
.valuation-cta p {
  margin-bottom: 0;
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.92);
}
.valuation-cta .btn-row {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .valuation-cta { grid-template-columns: 1fr; }
  .valuation-cta .btn-row { justify-content: flex-start; }
  .chatbot-modal__dialog {
    width: calc(100vw - 1rem);
    height: calc(100vh - 1rem);
    margin: 0.5rem auto;
  }
}
@media (max-width: 760px) {
  .site-header .logo img {
    height: 52px !important;
    max-width: 80vw;
  }
  .header-inner { align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.7rem 0 0.2rem;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 0.35rem 0; }
  .nav .cta-mini {
    width: auto;
    padding: 0.5rem 0.8rem;
  }
  .hero { padding-top: 3.2rem; }
  .section { padding: 2.5rem 0; }
  .panel, .card { padding: 1.1rem; }
  .chatbot-modal__dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
  }
  .chatbot-floater {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .chatbot-floater__mark {
    font-size: 1.55rem;
  }
  .chatbot-modal__header {
    padding: 0.85rem 0.9rem;
  }
  .chatbot-embed-root {
    min-height: calc(100vh - 64px);
  }
  .footer { padding: 2rem 0 1.35rem; }
  .footer-links { gap: 0.8rem; }
  .bio { grid-template-columns: 1fr; }
  .bio img { width: 96px; height: 96px; }
}
