/* =========================================================
   LÖSUNGSDETAILSEITEN – DREUSICKE-MARKETPLACE-OPTIK
   Der vorhandene Header bleibt unverändert.
   ========================================================= */

:root {
  --mp-blue: #2d789f;
  --mp-blue-dark: #073a59;
  --mp-blue-light: #58a8d6;
  --mp-text: #062c43;
  --mp-copy: #244557;
  --mp-muted: #6f8490;
  --mp-border: #dbe4e9;
  --mp-surface: #f5f7f8;
  --mp-white: #ffffff;
  --mp-shadow: 0 10px 28px rgba(18, 54, 73, 0.12);
  --mp-radius: 10px;
  --mp-max: 1180px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--mp-white);
  color: var(--mp-text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(88, 168, 214, 0.5);
  outline-offset: 3px;
}


/* Headerbreite: Logo und Seiteninhalt liegen auf derselben Flucht */

.header-inner {
  width: min(var(--mp-max), calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}


/* Hero */

.hero {
  width: min(var(--mp-max), calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 76px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(400px, 1.06fr);
  gap: clamp(48px, 7vw, 84px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mp-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 24px;
  color: var(--mp-text);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 450;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 64ch;
  margin: 0;
  color: var(--mp-copy);
  font-size: 17px;
  line-height: 1.72;
}

.hero-visual {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  background: var(--mp-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(20, 57, 77, 0.08);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  background: transparent;
  object-fit: cover;
}

.cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.btn.primary {
  background: var(--mp-blue);
  color: #ffffff;
  box-shadow: 0 7px 18px rgba(45, 120, 159, 0.24);
}

.btn.primary:hover {
  background: var(--mp-blue-dark);
}

.btn.secondary {
  border-color: #d5e0e6;
  background: #ffffff;
  color: var(--mp-blue);
  box-shadow: 0 5px 14px rgba(31, 67, 86, 0.11);
}

.btn.secondary:hover {
  border-color: var(--mp-blue-light);
  background: var(--mp-surface);
}


/* Inhaltsbereiche */

.wrap {
  width: min(var(--mp-max), calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 42px 0;
}

.section-title {
  margin: 0 0 24px;
  color: var(--mp-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}


/* Karten */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  min-height: 178px;
  padding: 30px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  background: #ffffff;
  color: var(--mp-copy);
  font-size: 15px;
  line-height: 1.65;
  box-shadow: 0 6px 20px rgba(20, 57, 77, 0.07);
}

.card strong {
  margin: 0 0 12px;
  color: var(--mp-text);
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.card strong::before {
  width: 34px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--mp-blue-light);
  display: block;
  content: "";
}


/* Text-/Bild-Bereich */

.split {
  overflow: hidden;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 0;
  align-items: stretch;
  box-shadow: 0 6px 20px rgba(20, 57, 77, 0.08);
}

.panel {
  padding: clamp(38px, 5vw, 58px);
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.panel h2 {
  margin: 0 0 22px;
  color: var(--mp-text);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 450;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.panel p {
  margin: 0 0 18px;
  color: var(--mp-copy);
  font-size: 16px;
  line-height: 1.72;
}

.panel ul {
  margin: 22px 0 0;
  padding: 0;
  color: var(--mp-copy);
  line-height: 1.65;
  list-style: none;
}

.panel li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid #edf1f3;
}

.panel li:last-child {
  border-bottom: 0;
}

.panel li::before {
  position: absolute;
  top: 21px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mp-blue-light);
  content: "";
}

.panel-media {
  min-height: 440px;
  overflow: hidden;
  border: 0;
  border-left: 1px solid var(--mp-border);
  border-radius: 0;
  background: var(--mp-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Abschluss-CTA */

.cta-block {
  margin: 0;
  padding: 46px 50px;
  border: 1px solid #d5e5ed;
  border-radius: var(--mp-radius);
  background: #edf5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.cta-block > div:first-child {
  max-width: 760px;
  color: var(--mp-copy);
  font-size: 16px;
  line-height: 1.65;
}

.cta-block > div:first-child strong {
  margin-bottom: 10px;
  color: var(--mp-text);
  display: inline-block;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.3;
}

.cta-block .cta {
  flex: 0 0 auto;
  margin: 0;
}


/* Footer */

footer {
  margin: 44px 0 0;
  padding: 34px 20px;
  border-top: 1px solid var(--mp-border);
  background: #ffffff;
  color: var(--mp-muted);
  font-size: 14px;
  text-align: center;
}

footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Responsive */

@media (max-width: 980px) {
  .hero {
    padding-top: 64px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .panel-media {
    min-height: 360px;
    border-top: 1px solid var(--mp-border);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .hero,
  .wrap {
    width: min(var(--mp-max), calc(100% - 28px));
  }

  .hero {
    padding: 48px 0 42px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 320px;
  }

  .wrap {
    padding: 34px 0;
  }

  .cards {
    grid-template-columns: 1fr !important;
  }

  .card {
    min-height: 0;
    padding: 26px 24px;
  }

  .panel {
    padding: 34px 24px;
  }

  .panel-media {
    min-height: 300px;
  }

  .cta-block {
    padding: 34px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .cta-block .cta,
  .cta-block .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
