:root {
  --ink: #171717;
  --muted: #5f6565;
  --paper: #fbf8f4;
  --soft: #edf7f7;
  --aqua: #b8e4e7;
  --aqua-deep: #4c8589;
  --gold: #d9a019;
  --rose: #e8c7be;
  --charcoal: #202020;
  --line: rgba(23, 23, 23, 0.12);
  --shadow: 0 20px 55px rgba(23, 23, 23, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(251, 248, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  grid-template-columns: 54px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.brand small {
  max-width: 230px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.15;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.desktop-nav a,
.site-footer a {
  text-decoration: none;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--aqua-deep);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  background: var(--charcoal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.18);
}

.button.primary {
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.button.secondary {
  border: 1px solid rgba(255, 250, 246, 0.74);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: calc(78svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-herzensmagie-placeholder.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.72) 0%, rgba(23, 23, 23, 0.46) 46%, rgba(23, 23, 23, 0.06) 100%),
    linear-gradient(0deg, rgba(76, 133, 137, 0.32) 0%, rgba(76, 133, 137, 0.02) 36%);
  z-index: -1;
}

.hero-mark {
  position: absolute;
  right: clamp(28px, 7vw, 110px);
  top: 50%;
  width: clamp(220px, 28vw, 430px);
  transform: translateY(-50%);
  opacity: 0.56;
  filter: drop-shadow(0 24px 52px rgba(23, 23, 23, 0.18));
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 50px 0 60px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 250, 246, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--aqua-deep);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.65rem, 5.1vw, 4.35rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 250, 246, 0.9);
}

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

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metric {
  min-height: 132px;
  padding: 26px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric span {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 850;
  color: var(--charcoal);
}

.metric p {
  max-width: 240px;
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.rich-text {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.rich-text p:first-child {
  margin-top: 0;
}

.soft {
  background: var(--soft);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 900px;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.theme-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.78);
}

.theme-card h3 {
  color: var(--charcoal);
}

.theme-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.method {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline article {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(184, 228, 231, 0.42);
  color: var(--aqua-deep);
  font-weight: 850;
}

.timeline p {
  color: var(--muted);
}

.quote-section {
  padding: clamp(78px, 10vw, 132px) clamp(18px, 7vw, 110px);
  background: var(--charcoal);
  color: #fff;
}

.quote-section div {
  max-width: 1020px;
}

.quote-section h2 {
  max-width: 980px;
  font-size: clamp(2.1rem, 5.3vw, 5rem);
}

.quote-section p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.quote-section a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-weight: 750;
}

.offer-detail {
  background: #fff;
}

.offer-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 26px 54px;
  align-items: start;
  max-width: 1180px;
}

.offer-panel > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
}

.offer-panel .eyebrow,
.offer-panel h2,
.offer-panel > p,
.offer-panel .button {
  grid-column: 1;
}

.offer-panel dl {
  grid-row: 1 / span 5;
  grid-column: 2;
  margin: 0;
  border-top: 1px solid var(--line);
}

.offer-panel dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--aqua-deep);
  font-weight: 850;
}

dd {
  margin: 0;
  color: var(--muted);
}

.dark-button {
  width: fit-content;
  margin-top: 8px;
  background: var(--charcoal) !important;
  color: #fff !important;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  background: var(--soft);
}

.about p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.photo-placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 199, 190, 0.42), rgba(184, 228, 231, 0.56)),
    var(--paper);
  box-shadow: var(--shadow);
}

.photo-placeholder span {
  color: var(--muted);
  font-weight: 750;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  background: var(--paper);
}

.contact p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 133, 137, 0.4);
  box-shadow: 0 16px 38px rgba(23, 23, 23, 0.08);
}

.contact-link span {
  color: var(--aqua-deep);
  font-size: 0.83rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  overflow-wrap: anywhere;
}

.legal-note {
  padding: 30px clamp(18px, 5vw, 72px);
  background: #eef6f6;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal-note p {
  max-width: 1120px;
  margin: 0;
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand small {
    display: none;
  }

  .intro-band,
  .card-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .offer-panel,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .offer-panel .eyebrow,
  .offer-panel h2,
  .offer-panel > p,
  .offer-panel .button,
  .offer-panel dl {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand {
    grid-template-columns: 42px auto;
    gap: 8px;
  }

  .brand strong {
    font-size: 1.22rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: calc(80svh - 68px);
  }

  .hero-content {
    width: min(100% - 32px, 640px);
    margin-inline: 16px;
    padding: 54px 0 58px;
  }

  .hero-mark {
    right: -88px;
    top: 48%;
    width: 260px;
    opacity: 0.22;
  }

  h1 {
    font-size: clamp(2.05rem, 10.4vw, 3.35rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .card-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-panel dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .photo-placeholder {
    min-height: 320px;
  }
}
