:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #2b2b2b;
  --muted: #5f5f5f;
  --line: #e8e5df;
  --dark: #343434;
  --dark-soft: #444444;
  --accent: #111111;
  --warm: #d9ccb8;
  --warm-deep: #b39a79;
  --container: 1180px;
  --shadow: 0 22px 50px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 56px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 56px), var(--container));
  margin: 0 auto;
  padding: 18px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 164px;
  max-width: min(76vw, 620px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}

.site-nav a,
.legal-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a {
  text-align: center;
}

.site-nav a:hover,
.legal-links a:hover,
.site-nav a:focus-visible,
.legal-links a:focus-visible {
  color: var(--text);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  background: var(--surface);
}

#macht,
#social,
#wer,
#kontakt {
  scroll-margin-top: 250px;
}

.hero-banner {
  height: min(42vw, 360px);
  min-height: 240px;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.hero-copy {
  padding: 88px 0 100px;
  text-align: center;
}

.kicker {
  margin: 0 0 14px;
  color: #676767;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker-light {
  color: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

h1 {
  font-size: clamp(4.25rem, 11vw, 7rem);
}

h2 {
  font-size: clamp(2.9rem, 7.6vw, 4.9rem);
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.92;
}

.intro,
.centered p,
.content-card p {
  max-width: 64ch;
}

.hero-copy .intro {
  margin: 24px auto 0;
}

.intro-secondary {
  margin-top: 16px;
}

.dark-band {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: #fff;
}

.dark-band h2,
.dark-band p {
  color: #fff;
}

.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.centered h2 {
  max-width: 16ch;
  text-align: center;
}

.centered p {
  margin-top: 18px;
}

.narrow p {
  max-width: 70ch;
}

.feature-section,
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 110px 0;
}

.visual-card,
.content-card,
.portrait-card {
  min-width: 0;
}

.content-card h2 {
  margin-bottom: 26px;
}

.content-card p + p {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 30px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-dark {
  background: #111;
  color: #fff;
}

.mascot-card,
.portrait-frame {
  box-shadow: var(--shadow);
}

.mascot-card {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 24px;
}

.feature-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 430px;
  margin: 0 auto;
}

.feature-logo-heartzebueb {
  max-width: 320px;
}

.feature-logo-herzenkinder {
  max-width: 430px;
}

.marketing-block {
  padding: 34px 0 24px;
  background: var(--surface);
}


.narrow h2 {
  max-width: 18ch;
  margin-inline: auto;
  text-align: center;
}

.portrait-frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 4.5;
  margin-inline: auto;
  overflow: hidden;
  background: #e7e0d6;
}

.portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.contact-section {
  padding: 88px 0 110px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(221, 210, 193, 0.22)),
    var(--bg);
}

.form-wrap {
  margin-top: 34px;
}

.contact-form {
  max-width: 840px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.form-status {
  max-width: 840px;
  margin: 0 auto 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  font-size: 1rem;
  box-shadow: var(--shadow);
}

.form-status-success {
  color: #155724;
  background: #eef8f0;
  border-color: #cfe7d4;
}

.form-status-error {
  color: #7f1d1d;
  background: #fff2f2;
  border-color: #f2caca;
}

.form-status-eyebrow {
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-status h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.form-status p {
  max-width: 56ch;
}

.form-error-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.form-error-list li + li {
  margin-top: 8px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.captcha-field {
  max-width: 320px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form span {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d9d5cd;
  background: #fff;
  color: var(--text);
  font: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 190px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.button[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.site-footer {
  padding: 56px 0 48px;
}

.legal-page {
  padding: 80px 0;
  background: #fff;
}

.legal-inner {
  max-width: 860px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  text-decoration: none;
}

.legal-card {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.legal-card p + p {
  margin-top: 10px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

@media (max-width: 980px) {
  .header-inner,
  .feature-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 14px;
  }

  .feature-section,
  .about-section {
    gap: 42px;
    padding: 84px 0;
  }

  .site-nav {
    gap: 22px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 176px;
  }

  #macht,
  #social,
  #wer,
  #kontakt {
    scroll-margin-top: 176px;
  }

  .container,
  .header-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    border-bottom: 0;
  }

  .header-inner {
    align-items: stretch;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: center;
    flex-direction: column;
    width: 42px;
    height: 42px;
  }

  .brand {
    order: -1;
  }

  .brand-logo {
    height: 112px;
    max-width: min(78vw, 340px);
    margin: 0 auto;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--line);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .hero-copy {
    padding: 46px 0 54px;
  }

  .hero-banner {
    height: 210px;
    min-height: 210px;
  }

  .dark-band,
  .contact-section {
    padding: 58px 0 64px;
  }

  .feature-section,
  .about-section {
    gap: 28px;
    padding: 54px 0;
  }

  .site-nav {
    gap: 12px 18px;
  }

  .site-nav a,
  .legal-links a,
  p {
    font-size: 1.02rem;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .kicker {
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .centered h2,
  .narrow h2 {
    max-width: 14ch;
  }

  .centered p,
  .content-card p,
  .narrow p {
    max-width: 34ch;
  }

  .mascot-card {
    min-height: 250px;
    padding: 12px;
  }

  .feature-logo-heartzebueb {
    max-width: 250px;
  }

  .feature-logo-herzenkinder {
    max-width: 300px;
  }

  .portrait-frame {
    width: min(100%, 360px);
  }

  .contact-form {
    padding: 24px;
  }

  .form-status {
    padding: 20px 18px;
  }

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

  .contact-form input,
  .contact-form textarea {
    padding: 14px 16px;
  }

  .captcha-field {
    max-width: 100%;
  }

  .form-actions {
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .legal-page {
    padding: 54px 0;
  }

  .legal-card {
    padding: 22px;
  }
}
