:root {
  --logo-bg: #f3ede1;
  --bg: #f3ede1;
  --bg-soft: #ebe1d0;
  --surface: #fbf7ef;
  --surface-2: #fffaf2;
  --primary: #1f432c;
  --primary-2: #3f5a3e;
  --sage: #5f7658;
  --taupe: #8b7658;
  --text: #17291d;
  --muted: #5f685c;
  --border: #d6cbb9;
  --shadow: 0 24px 70px rgba(31, 67, 44, 0.11);
  --copy-size: clamp(1.16rem, 1.28vw, 1.23rem);
  --compact-copy-size: clamp(1.06rem, 1.14vw, 1.12rem);
  --copy-line-height: 1.7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 400;
  line-height: 1.68;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 1rem;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  color: var(--primary);
}
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}
h1 {
  font-size: clamp(3.45rem, 7.7vw, 7.9rem);
  letter-spacing: -0.035em;
  max-width: 1020px;
}
h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  background: rgba(243, 237, 225, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  background: var(--logo-bg);
  border-radius: 6px;
  flex: 0 0 auto;
  min-width: 150px;
  overflow: visible;
}
.brand img {
  display: block;
  width: clamp(150px, 14vw, 225px);
  max-height: 72px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.05rem, 0.85vw, 1.35rem);
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.085em;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a {
  opacity: 0.84;
}
.main-nav a:hover {
  opacity: 1;
}
.nav-cta {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  opacity: 1 !important;
  letter-spacing: 0.095em;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  color: var(--primary);
}
.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 4rem) 0;
}
.hero-photo {
  position: relative;
  min-height: calc(100vh - 86px);
  background-size: cover;
  background-position: 75% center;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(62rem, 58vw);
  background: linear-gradient(
    90deg,
    rgba(14, 31, 20, 0.74) 0%,
    rgba(14, 31, 20, 0.48) 56%,
    rgba(14, 31, 20, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 86px);
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}
.hero-photo h1 {
  color: var(--surface);
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.46),
    0 18px 60px rgba(0, 0, 0, 0.32);
}
.lead {
  font-size: clamp(1.02rem, 1.48vw, 1.2rem);
  color: var(--muted);
  max-width: 760px;
  margin-top: 1.35rem;
  font-weight: 400;
}
.lead.light {
  color: rgba(251, 247, 239, 0.95);
  max-width: 720px;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.58),
    0 12px 34px rgba(0, 0, 0, 0.42);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.22rem;
  border-radius: 999px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: 0 12px 30px rgba(31, 67, 44, 0.18);
}
.secondary {
  border: 1px solid var(--sage);
  color: var(--primary);
  background: rgba(251, 247, 239, 0.55);
}
.light-btn {
  background: var(--surface);
  color: var(--primary);
}
.light-secondary {
  color: var(--surface);
  border-color: rgba(251, 247, 239, 0.42);
  background: var(--sage);
  box-shadow:
    0 14px 34px rgba(14, 31, 20, 0.26),
    0 0 0 1px rgba(251, 247, 239, 0.14) inset;
}
.section-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 2rem;
}
.section-heading p:last-child {
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
  margin-top: 1rem;
}
.cards {
  display: grid;
  gap: 1rem;
}
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}
.cards article {
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: 0 14px 50px rgba(31, 67, 44, 0.055);
  padding: 1rem 1rem 2rem;
  border-radius: 30px;
  overflow: hidden;
}
.number {
  display: inline-block;
  color: var(--taupe);
  font-weight: 400;
  margin: 0.2rem 1rem 1.2rem;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
}
.cards h3,
.cards p {
  margin-left: 1rem;
  margin-right: 1rem;
}
.cards p {
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
  margin-top: 0.8rem;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  column-gap: clamp(2rem, 4vw, 4.25rem);
  row-gap: clamp(0.9rem, 1.6vw, 1.35rem);
  align-items: start;
}
.contact > div {
  display: contents;
}
.contact > div > h2 {
  grid-column: 1 / -1;
  max-width: none;
}
.contact .check-list {
  grid-column: 1;
  grid-row: 2;
}
.contact .contact-form {
  grid-column: 1;
  grid-row: 3 / span 2;
}
.contact .contact-side {
  grid-column: 2;
  grid-row: 2 / span 3;
}
.contact p {
  color: var(--muted);
  margin-top: 1rem;
}
.contact-side {
  display: grid;
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
  width: 100%;
  max-width: 420px;
  justify-self: center;
  align-self: start;
}
.contact .contact-side .organic-photo,
.contact .contact-side .contact-side-note,
.contact .contact-side .contact-socials {
  grid-column: 1;
  grid-row: auto;
}
.contact .contact-side-note {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.55rem;
  line-height: 1.16;
}
.contact-form {
  padding: 0;
  border-radius: 28px;
  display: grid;
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.04em;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fffdf8;
  color: var(--text);
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-width: 1.05rem;
  min-height: 1.05rem;
  padding: 0;
  accent-color: var(--primary);
}
textarea {
  resize: none;
}
input:focus,
textarea:focus {
  outline: 2px solid rgba(95, 118, 88, 0.28);
  border-color: var(--sage);
}
.helmer-fluent-form .ff-el-group {
  margin-bottom: 1rem;
}
.helmer-fluent-form .ff-el-input--label,
.helmer-fluent-form .ff-el-form-check-label,
.helmer-fluent-form label {
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.helmer-fluent-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.helmer-fluent-form textarea,
.helmer-fluent-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fffdf8;
  color: var(--text);
}
.helmer-fluent-form textarea {
  resize: none;
}
.helmer-fluent-form .ff-el-form-check,
.helmer-fluent-form .ff_t_c,
.helmer-fluent-form .ff-el-form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
}
.helmer-fluent-form .ff-el-form-check-input,
.helmer-fluent-form input[type="checkbox"],
.helmer-fluent-form input[type="radio"] {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0.24rem 0 0;
  cursor: pointer;
}
.helmer-fluent-form .ff-el-form-check-label span,
.helmer-fluent-form .ff_tc_label,
.helmer-fluent-form .ff-el-form-check-label {
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  cursor: default;
}
.helmer-fluent-form .ff-el-form-check-label a,
.helmer-fluent-form .ff_tc_label a {
  color: #1f5fa8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  font-weight: 600;
  cursor: pointer;
}
.helmer-fluent-form .ff-el-form-check-label a:hover,
.helmer-fluent-form .ff_tc_label a:hover {
  color: var(--primary);
}
.helmer-fluent-form .ff-btn-submit,
.helmer-fluent-form button[type="submit"],
.helmer-fluent-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.22rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--surface);
  box-shadow: 0 12px 30px rgba(31, 67, 44, 0.18);
  font: inherit;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  cursor: pointer;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 1rem;
}
@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    max-height: calc(100svh - 6.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .cards.three,
  .contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .brand img {
    width: 190px;
  }
  .site-header {
    padding: 0.85rem 1rem;
  }
  h1 {
    font-size: 3.05rem;
  }
  .hero-actions .button {
    width: 100%;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-socials {
    justify-content: flex-start;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid rgba(31, 67, 44, 0.28);
  background: rgba(251, 247, 239, 0.78);
  color: var(--primary);
  box-shadow: 0 12px 34px rgba(31, 67, 44, 0.08);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.social-button:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 18px 42px rgba(31, 67, 44, 0.17);
}
.social-button svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}
.social-button--icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}
.social-button--wide {
  min-height: 54px;
  width: 100%;
  justify-content: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.contact-socials {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  clear: none;
}
.contact-side .contact-socials {
  margin-top: 0;
}
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

/* Mehrseitige Struktur / V2 nach PDF */
.main-nav a.active,
.nav-group > a.active {
  opacity: 1;
  font-weight: 600;
}
.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.subnav {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.18s ease;
}
.nav-group:hover .subnav,
.nav-group:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.subnav a {
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
}
.subnav a:hover {
  background: rgba(95, 118, 88, 0.12);
}
.page-hero {
  min-height: calc(100vh - 86px);
}
.page-hero .hero-overlay {
  min-height: calc(100vh - 86px);
}

@media (min-width: 900px) {
  .page-hero .hero-overlay .lead.light {
    font-size: clamp(1.16rem, 1.45vw, 1.42rem);
    line-height: 1.62;
  }
}

/* MacBook-/Laptop-Entwurf: Subpage-Hero-Überschriften etwas kompakter,
   damit lange Titel nicht in Christians Gesicht laufen. Große Desktop-Ansichten
   und die bereits abgestimmte Startseite bleiben unverändert. */
@media (min-width: 1181px) and (max-width: 1900px) and (max-height: 1150px) {
  body:not(.page-home) .page-hero .hero-overlay h1 {
    max-width: 820px;
    font-size: clamp(4.2rem, 5.8vw, 6.15rem);
    line-height: 1.02;
  }
  body:not(.page-home) .page-hero .hero-overlay .lead {
    max-width: 660px;
  }
}

@media (max-width: 1640px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    max-height: calc(100svh - 6.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-group {
    display: grid;
    gap: 0.4rem;
  }
  .subnav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    box-shadow: none;
    background: rgba(95, 118, 88, 0.08);
    margin-left: 0.6rem;
  }
  .nav-group:hover .subnav,
  .nav-group:focus-within .subnav {
    transform: none;
  }
}
@media (max-width: 1180px) {
  .nav-group {
    display: grid;
    gap: 0.4rem;
  }
  .subnav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    box-shadow: none;
    background: rgba(95, 118, 88, 0.08);
    margin-left: 0.6rem;
  }
  .nav-group:hover .subnav,
  .nav-group:focus-within .subnav {
    transform: none;
  }
}

/* FERTIG-Texte aus Word-Dokument · Mai 2026 */
.content-section .prose {
  width: 100%;
  max-width: none;
}
.prose p {
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
  margin-bottom: 1.1rem;
}
.prose blockquote,
blockquote {
  margin: 2rem 0;
  padding: 1.3rem 1.8rem;
  border-left: 5px solid var(--sage);
  color: var(--primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.18;
  background: rgba(251, 247, 239, 0.65);
  border-radius: 0 22px 22px 0;
}
.text-cards article {
  padding: 1.6rem 1.3rem 2rem;
}
.text-cards article a,
.text-cards article div {
  display: block;
}
.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.value-list article {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.7rem;
  box-shadow: 0 14px 48px rgba(31, 67, 44, 0.055);
}
.value-list h3 {
  margin-bottom: 0.8rem;
}
.value-list p,
.closing-line {
  color: var(--muted);
}
.value-list p {
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
}
.closing-line {
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
}
.cta-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}
.cta-block.dark {
  background: var(--primary);
  color: var(--surface);
}
.cta-block.dark h2,
.cta-block.dark p {
  color: var(--surface);
}
.cta-block p {
  color: var(--muted);
  width: 100%;
  max-width: none;
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
  margin-bottom: 1.5rem;
}
.cta-block h2 {
  margin-bottom: 1rem;
  width: 100%;
  max-width: none;
}
.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0;
}
.contact .check-list {
  grid-template-columns: 1fr;
  margin: 0 0 clamp(1.6rem, 3vw, 2.25rem);
}
.check-list p {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  color: var(--primary);
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
  margin: 0;
}

.legal-placeholder {
  opacity: 0.82;
}

.site-footer strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 600;
}
.site-footer p {
  margin: 0.1rem 0 0;
}
@media (max-width: 900px) {
  .value-list {
    grid-template-columns: 1fr;
  }
}


/* Startseiten-Optimierung nach Kundenfeedback */
.home-hero-title {
  display: grid;
  gap: 0.05em;
  max-width: 980px;
}
.home-hero-title .hero-line {
  display: block;
}
.home-hero-title .hero-line-soft {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.35rem, 5.5vw, 5.45rem);
  letter-spacing: -0.02em;
}
.home-hero-title .hero-line-strong {
  font-style: normal;
  font-weight: 700;
  font-size: clamp(3.25rem, 7.4vw, 7.75rem);
  letter-spacing: -0.035em;
}
@media (min-width: 561px) and (max-width: 1180px) {
  .page-home .page-hero {
    background-position: 82% center;
  }
  body:not(.page-home) .page-hero {
    background-position: 82% center;
  }
  body:not(.page-home) .page-hero .hero-overlay {
    justify-content: flex-end;
    padding-top: clamp(13rem, 26vh, 19rem);
    padding-bottom: clamp(2.5rem, 6vh, 4.25rem);
  }
  body:not(.page-home) .page-hero .hero-overlay h1,
  body:not(.page-home) .page-hero .hero-overlay .lead {
    max-width: min(38rem, 45vw);
  }
  body:not(.page-home) .page-hero .hero-overlay h1 {
    font-size: clamp(3.05rem, 6.1vw, 4.85rem);
    line-height: 1.02;
  }
  body:not(.page-home) .page-hero .hero-overlay .lead {
    font-size: clamp(1.02rem, 2vw, 1.16rem);
    line-height: 1.55;
  }
  .page-home .hero-overlay {
    justify-content: flex-end;
    padding-top: clamp(14rem, 28vh, 20rem);
    padding-bottom: clamp(2rem, 5vh, 3.8rem);
  }
  .page-home .home-hero-title,
  .page-home .page-hero .hero-overlay .lead,
  .page-home .hero-actions {
    max-width: min(44rem, 50vw);
  }
  .page-home .home-hero-title .hero-line-soft {
    font-size: clamp(2.25rem, 5.8vw, 3.85rem);
    line-height: 1.02;
  }
  .page-home .home-hero-title .hero-line-strong {
    font-size: clamp(2.95rem, 7.4vw, 4.95rem);
    line-height: 0.98;
  }
  .page-home .page-hero .hero-overlay .lead {
    font-size: clamp(1.02rem, 2.1vw, 1.18rem);
    line-height: 1.55;
  }
}
@media (min-width: 561px) and (max-width: 900px) and (min-height: 900px) {
  body:not(.page-home) .page-hero .hero-overlay {
    justify-content: flex-start;
    padding-top: clamp(4.75rem, 9vh, 6.5rem);
    padding-bottom: 2.5rem;
  }
}
@media (max-width: 560px) {
  .home-hero-title .hero-line-soft {
    font-size: 2.35rem;
  }
  .home-hero-title .hero-line-strong {
    font-size: 3.05rem;
  }
}

/* Mobile Hero-Entwurf: pro Seite steuerbare Textposition,
   damit die Portrait-Mitte auf iPhone-Breiten möglichst frei bleibt. */
@media (max-width: 560px) {
  body {
    --mobile-hero-x: 75%;
    --mobile-hero-y: center;
    --mobile-hero-bottom: 2.4rem;
    --mobile-hero-copy-width: 100%;
  }
  .hero-photo.page-hero {
    min-height: calc(100svh - 82px);
    background-position: var(--mobile-hero-x) var(--mobile-hero-y);
  }
  .hero-photo.page-hero::before {
    inset: auto 0 0;
    width: 100%;
    height: 48%;
    background: linear-gradient(
      0deg,
      rgba(14, 31, 20, 0.74) 0%,
      rgba(14, 31, 20, 0.42) 56%,
      rgba(14, 31, 20, 0) 100%
    );
  }
  .page-hero .hero-overlay {
    justify-content: flex-end;
    min-height: calc(100svh - 82px);
    padding-top: clamp(14rem, 40vh, 22rem);
    padding-bottom: var(--mobile-hero-bottom);
  }
  .page-hero .hero-overlay h1,
  .page-hero .hero-overlay .lead,
  .page-hero .hero-actions {
    width: var(--mobile-hero-copy-width);
  }
  .page-hero .hero-overlay h1 {
    max-width: 10.5em;
    font-size: clamp(2.55rem, 13vw, 3.2rem);
    line-height: 0.98;
  }
  .page-hero .hero-overlay .lead {
    max-width: 26rem;
    margin-top: 0.95rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .page-hero .hero-actions {
    gap: 0.7rem;
    margin-top: 1.45rem;
  }
  .page-hero .hero-actions .button {
    min-height: 46px;
    padding: 0.78rem 1rem;
  }

  .page-home {
    --mobile-hero-x: 75%;
    --mobile-hero-bottom: 2rem;
  }
  .page-home .home-hero-title {
    gap: 0;
    max-width: 23rem;
  }
  .page-home .home-hero-title .hero-line-soft {
    font-size: clamp(1.95rem, 8vw, 2.25rem);
    line-height: 1.02;
  }
  .page-home .home-hero-title .hero-line-strong {
    font-size: clamp(2.42rem, 10.6vw, 2.92rem);
    line-height: 0.98;
    max-width: 8.6em;
  }
  .page-home .page-hero .hero-overlay .lead {
    max-width: 22.8rem;
  }

  .page-coaching,
  .page-grenzen-kennen-wachsen {
    --mobile-hero-x: 75%;
    --mobile-hero-bottom: 2.25rem;
  }
  .page-ueber-mich,
  .page-ich-zuerst,
  .page-menschen-bewegen,
  .page-systeme-bewegen,
  .page-bewegt-veraendern,
  .page-fuer-schulen,
  .page-kontakt {
    --mobile-hero-x: 75%;
    --mobile-hero-bottom: 2.7rem;
  }
  .page-impressum,
  .page-datenschutz {
    --mobile-hero-x: 75%;
    --mobile-hero-bottom: 3.2rem;
  }
}

/* Startseite: Schwerpunkte-Kacheln mit hervorgehobener Unterzeile */
.focus-cards article {
  display: flex;
}
.focus-cards article a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.focus-cards .card-subtitle {
  color: var(--taupe);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
}
.focus-cards .card-text {
  color: var(--muted);
  font-size: var(--compact-copy-size);
  line-height: var(--copy-line-height);
  margin-top: 0;
}
.focus-cards h3 {
  margin-bottom: 0.35rem;
}

/* Startseite: dunkler Abschluss-Appell mit sichtbarem Button */
.homepage-final-cta {
  background: linear-gradient(135deg, #163c28 0%, #1f432c 55%, #17351f 100%);
  color: var(--surface);
  padding: clamp(3rem, 7vw, 5.5rem);
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(23, 41, 29, 0.22);
}
.homepage-final-cta h2 {
  color: var(--surface);
  max-width: 920px;
  font-size: clamp(2.9rem, 6vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.45rem;
}
.homepage-final-cta p {
  color: rgba(251, 247, 239, 0.9);
  max-width: 940px;
  font-size: var(--copy-size);
  line-height: 1.78;
  margin-bottom: 2.2rem;
}
.homepage-final-cta .cta-visible-button {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--surface);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  min-height: 56px;
  padding: 1rem 1.45rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.homepage-final-cta .cta-visible-button:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

/* Über mich: Ausbildung & Erfahrung als klare zweispaltige Kompetenzliste */
.experience-list {
  display: grid;
  gap: 1rem;
}
.experience-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: stretch;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 14px 48px rgba(31, 67, 44, 0.055);
}
.experience-category {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
  border-right: 1px solid var(--border);
  min-width: 0;
}
.experience-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(95, 118, 88, 0.13);
  color: var(--sage);
  font-size: 0.78rem;
  margin-top: 0.12rem;
}
.experience-category h3 {
  font-size: clamp(1.38rem, 2.05vw, 1.86rem);
  line-height: 1.05;
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.experience-details {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
.credential-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(243, 237, 225, 0.58);
  border: 1px solid rgba(214, 203, 185, 0.72);
}
.credential-item strong {
  display: block;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.22rem;
  line-height: 1.35;
}
.credential-item span {
  display: block;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line-height);
}
.module-topic-list {
  margin: 1.8rem 0 2.2rem;
}
.module-topic-list .experience-row {
  grid-template-columns: minmax(300px, 0.45fr) minmax(0, 1fr);
}
.module-topic-list .experience-details {
  min-width: 0;
}

/* Coaching-Seite: Passungs-Kriterien brauchen links mehr Raum,
   damit lange Begriffe wie „Veränderungsbereitschaft“ auf Desktop nicht in die Textbox laufen. */
.coaching-fit-list .experience-row {
  grid-template-columns: minmax(390px, 0.72fr) minmax(0, 1fr);
  gap: clamp(0.85rem, 1.7vw, 1.35rem);
}
.coaching-fit-list .experience-details {
  min-width: 0;
}
.coaching-fit-list .experience-category {
  padding-right: clamp(0.75rem, 1.5vw, 1.15rem);
}
.coaching-fit-list .experience-category h3 {
  font-size: clamp(1.48rem, 2.05vw, 1.8rem);
  overflow-wrap: normal;
  hyphens: none;
}
.experience-section .section-heading .organic-photo {
  margin-top: clamp(0.9rem, 2vw, 1.35rem);
}
@media (min-width: 821px) {
  .page-ueber-mich .experience-section .section-heading {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: clamp(1.4rem, 2.4vw, 2rem) clamp(2.4rem, 5vw, 4rem);
    align-items: start;
  }
  .page-ueber-mich .experience-section .section-heading h2 {
    grid-column: 1 / -1;
  }
  .page-ueber-mich .experience-section .section-heading .organic-photo,
  .page-ueber-mich .experience-section .section-heading .organic-photo--left {
    grid-column: 1;
    grid-row: 2;
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0;
  }
  .page-ueber-mich .experience-section .section-heading .organic-photo img {
    aspect-ratio: 4 / 5;
  }
  .page-ueber-mich .experience-section .section-heading > p {
    grid-column: 2;
    grid-row: 2;
    max-width: 760px;
    margin-top: 0;
  }
}
@media (max-width: 820px) {
  .experience-row,
  .module-topic-list .experience-row,
  .coaching-fit-list .experience-row {
    grid-template-columns: 1fr;
  }
  .experience-category,
  .module-topic-list .experience-category,
  .coaching-fit-list .experience-category {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 1rem;
  }
  .coaching-fit-list .experience-category h3 {
    font-size: clamp(1.32rem, 7.2vw, 1.62rem);
    overflow-wrap: anywhere;
  }
  .experience-section .section-heading .organic-photo,
  .experience-section .section-heading .organic-photo--left {
    margin-top: 1.1rem;
    margin-bottom: 1.6rem;
  }
}

/* Über mich: Portrait neben Einstiegstext */
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-intro-grid > div {
  grid-column: 2;
  grid-row: 1;
}
.about-portrait {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  position: sticky;
  top: 110px;
}
.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.about-portrait figcaption {
  margin-top: 0.75rem;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  text-align: center;
}
@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .about-intro-grid > div,
  .about-portrait {
    grid-column: auto;
    grid-row: auto;
  }
  .about-portrait {
    position: static;
    max-width: 420px;
  }
}

.organic-photo {
  width: min(38vw, 380px);
  margin: 0.25rem 0 1.35rem clamp(1.4rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
}

.organic-photo--left {
  float: left;
  margin-left: 0;
  margin-right: clamp(1.4rem, 4vw, 3rem);
}

.organic-photo--right {
  float: right;
}

.organic-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.contact .organic-photo,
.contact .organic-photo--right {
  float: none;
  width: 100%;
  max-width: 420px;
  margin: 0;
  justify-self: center;
}

.prose::after,
.contact::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 760px) {
  .organic-photo,
  .organic-photo--left,
  .organic-photo--right {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 0 0 1.4rem;
  }
}

.section-heading::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 560px) {
  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 1180px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact > div > h2,
  .contact .check-list,
  .contact .contact-form,
  .contact .contact-side,
  .contact .organic-photo,
  .contact .contact-side-note,
  .contact .contact-socials {
    grid-column: 1;
    grid-row: auto;
  }
  .contact .check-list {
    grid-template-columns: 1fr;
  }
  .contact .contact-side {
    justify-self: start;
    max-width: 420px;
  }
  .contact .organic-photo,
  .contact .contact-side-note,
  .contact .contact-socials {
    justify-self: start;
    max-width: 420px;
  }
}
