/* Mobile-first, WCAG-orientiert, reduzierte Bewegung berücksichtigt */
/* Schriften: assets/css/fonts.css (lokal, vor styles.css einbinden) */
:root {
  --color-bg: #f7f3eb;
  --color-bg-elevated: #fffdf8;
  --color-bg-card: #fffaf3;
  --color-text: #2c2a26;
  --color-text-muted: #4a453c;
  --color-heading: #2a3d32;
  --color-accent: #206630;
  --color-accent-hover: #174a24;
  --color-accent-soft: #2d4a38;
  --color-warm-line: rgba(42, 61, 50, 0.12);
  --color-footer-bar: #2a3d32;
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --space: 1rem;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --color-header-mid: #3a5645;
  --color-header-contact: #eef2ee;
  --color-gray-ui: #f2f4f7;
  --color-nav-active: #4d4d4d;
  --shadow: 0 8px 32px rgba(42, 74, 58, 0.1);
  --shadow-soft: 0 4px 20px rgba(90, 70, 45, 0.08);
  --max: 72rem;
  --focus: 3px solid #206630;
  --focus-offset: 2px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-sub .line-a,
  .hero-sub .line-b {
    animation: none !important;
    opacity: 1 !important;
    position: static !important;
    display: block;
  }

  .hero-sub .line-b {
    margin-top: 0.15rem;
  }

  .hero__slide {
    animation: none !important;
    opacity: 0 !important;
  }

  .hero__slide--1,
  .hero__slide--1.is-active {
    opacity: 1 !important;
  }

  .hero--manual .hero__slide.is-active img {
    transform: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: var(--focus);
  outline-offset: var(--focus-offset);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.25;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  font-family: var(--font-sans);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 calc(var(--space) * 1.25);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

/* Header — ein Verlauf über volle Breite; Kontakt oben, Logo/Nav darunter */
.site-header {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fafcf9 8%,
    #f0f6f2 18%,
    #e0ebe4 30%,
    #c8ddd0 42%,
    #a8c4b0 54%,
    #7fa892 66%,
    #5a8268 76%,
    #3f624c 86%,
    #2d4a38 93%,
    #243d30 97%,
    #1f3629 100%
  );
  box-shadow: 0 4px 24px rgba(26, 42, 33, 0.15);
  position: relative;
  z-index: 20;
  color: #fff;
}

.site-header__frame {
  padding-top: 0.4rem;
  padding-bottom: 0.65rem;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0 0;
  width: 100%;
  background: none;
}

.brand img {
  display: block;
  max-height: 4.25rem;
  width: auto;
}

/* Logo im Header-Verlauf — ohne Kasten, sitzt im hellen Bereich */
.brand--on-dark {
  display: inline-block;
  padding: 0.15rem 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand--on-dark::before,
.brand--on-dark::after {
  content: none;
}

.brand--on-dark:hover {
  opacity: 0.92;
  transform: none;
}

.brand--on-dark:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
}

.brand--on-dark img {
  max-height: 4.5rem;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(32, 102, 48, 0.12));
}

@media (min-width: 960px) {
  .brand--on-dark img {
    max-height: 5rem;
  }
}

.site-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.site-nav.is-open {
  display: flex;
  padding: 0.75rem 0.5rem 1rem;
  background: rgba(45, 74, 56, 0.35);
  border-radius: var(--radius);
  margin-top: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-nav__list a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-block;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 8px rgba(32, 102, 48, 0.1);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-nav__list a:hover {
  background: #fff;
  color: var(--color-accent-hover);
  box-shadow: 0 3px 12px rgba(32, 102, 48, 0.16);
  transform: translateY(-1px);
}

.site-nav__list a[aria-current="page"] {
  background: var(--color-nav-active);
  color: #fff;
  border-color: var(--color-nav-active);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  outline: none;
}

.site-nav__list a[aria-current="page"]:hover {
  background: #3f3f3f;
  color: #fff;
  border-color: #3f3f3f;
}

.site-nav__cta {
  align-self: flex-start;
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--color-accent);
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.site-header__contact {
  padding: 0.15rem 0 0;
}

.site-header__rule {
  border: 0;
  height: 0;
  margin: 0.4rem 0 0.15rem;
  border-top: 1px solid rgba(42, 61, 50, 0.16);
}

.site-header__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.25rem;
}

.site-header__contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.2rem 0;
  transition: color 0.2s ease;
}

.site-header__contact-list a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.site-header__contact-icon {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--color-accent);
  flex-shrink: 0;
}

.site-header__contact-icon--at {
  font-weight: 700;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .site-header__contact-list {
    gap: 0.45rem 1.75rem;
  }

  .site-header__contact-list a {
    font-size: 0.88rem;
  }

  .site-header__contact-icon {
    font-size: 1.1rem;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-header__frame {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }

  .site-header__rule {
    margin: 0.45rem 0 0.25rem;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 0.35rem 1.5rem;
    flex-wrap: nowrap;
    padding: 0.65rem 0 0;
    min-height: 6.5rem;
  }

  .brand--on-dark {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }

  .site-nav {
    display: flex !important;
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    justify-self: end;
    width: auto;
    padding-bottom: 0;
    gap: 1rem;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
  }

  .site-nav__cta.btn--ghost {
    background: var(--color-accent);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  }

  .site-nav__cta.btn--ghost:hover {
    background: var(--color-accent-hover);
    color: #fff;
  }

}

@media (prefers-reduced-motion: reduce) {
  .site-nav__list a:hover,
  .site-header__contact-list a:hover {
    transform: none;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--color-accent);
  border-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.btn--ghost:hover {
  background: var(--color-gray-ui);
  color: var(--color-accent-hover);
  border-color: #fff;
}

.btn--dark {
  background: var(--color-footer-bar);
  color: #fff;
}

.btn--dark:hover {
  background: #1a2d24;
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--secondary:hover {
  background: rgba(32, 102, 48, 0.08);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Hero home */
.hero {
  position: relative;
  min-height: min(72vh, 38rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero--slideshow {
  min-height: min(78vh, 36rem);
}

@media (min-width: 768px) {
  .hero--slideshow {
    min-height: min(82vh, 34rem);
    max-height: 36rem;
  }
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1);
  animation: heroKenBurns 21s ease-in-out infinite;
}

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero__slide--1 {
  animation-delay: 0s;
}

.hero__slide--2 {
  animation-delay: 7s;
}

.hero__slide--3 {
  animation-delay: 14s;
}

/* JS steuert Slides; CSS-Animation nur ohne Skript */
.hero--manual .hero__slide {
  animation: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero--manual .hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero--manual .hero__slide.is-active img {
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

@keyframes heroKenBurns {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  4% {
    opacity: 1;
    transform: scale(1.04);
  }
  28% {
    opacity: 1;
    transform: scale(1.08);
  }
  33% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(35, 48, 40, 0.55) 0%,
    rgba(55, 62, 48, 0.22) 45%,
    rgba(85, 72, 52, 0.18) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero--home .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(38, 55, 45, 0.72) 0%,
    rgba(38, 55, 45, 0.35) 42%,
    rgba(62, 58, 48, 0.12) 68%,
    rgba(95, 78, 55, 0.15) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 2.5rem 1.25rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

/* Abstand nach unten: margin am Block (padding allein wirkte nicht wegen flex-end am Hero) */
.hero--home .hero__inner {
  margin-bottom: 2.75rem;
}

/* Smartphone: Leitsatz deutlich über dem unteren Rand und über dem Porträt */
@media (max-width: 767px) {
  .hero--home {
    align-items: flex-end;
    padding-bottom: 0.5rem;
  }

  .hero--home .hero__inner {
    margin-bottom: clamp(6rem, 26vw, 8.5rem);
    padding: 1.5rem 1.25rem 0.75rem;
  }

  .hero--home .hero__copy {
    max-width: 15rem;
  }

  .hero--home .hero__dots {
    bottom: 0.65rem;
  }

  .hero--home .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(38, 55, 45, 0.82) 0%,
      rgba(38, 55, 45, 0.5) 42%,
      rgba(62, 58, 48, 0.18) 72%,
      rgba(95, 78, 55, 0.12) 100%
    );
  }
}

.hero__copy {
  flex: 1 1 12rem;
  min-width: 0;
}

.hero__portrait {
  display: none;
  margin: 0;
  flex: 0 0 auto;
  align-self: flex-end;
}

.hero__portrait img {
  display: block;
  width: clamp(11rem, 42vw, 16rem);
  max-height: min(52vh, 22rem);
  height: auto;
  border-radius: var(--radius);
  border: 5px solid rgba(255, 255, 255, 0.94);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(32, 102, 48, 0.3);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  object-position: top center;
}

.hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.hero__dots[hidden] {
  display: none;
}

.hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__dot.is-active,
.hero__dot[aria-selected="true"] {
  background: #fff;
  transform: scale(1.15);
}

.hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .hero__portrait {
    display: block;
    animation: heroPortraitIn 1s ease-out 0.3s both;
  }

  .hero__portrait img {
    width: clamp(14rem, 28vw, 20rem);
    max-height: min(58vh, 26rem);
    border-width: 6px;
  }

  .hero--home .hero__inner {
    margin-bottom: 3.75rem;
    padding-bottom: 1rem;
  }

  .hero__inner {
    align-items: flex-end;
  }
}

@media (min-width: 1100px) {
  .hero__portrait img {
    width: clamp(16rem, 24vw, 22rem);
    max-height: 28rem;
  }
}

@keyframes heroPortraitIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  color: #fff;
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero-sub {
  position: relative;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  color: #fff;
  margin: 0;
  min-height: 2.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 2px 20px rgba(0, 0, 0, 0.18);
}

.hero-sub .line-a {
  display: inline-block;
  animation: heroFade 10s ease-in-out infinite;
}

.hero-sub .line-b {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  opacity: 0;
  animation: heroFade2 10s ease-in-out infinite;
}

@keyframes heroFade {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes heroFade2 {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.hero-sub-wrap {
  position: relative;
}

/* Seitenüberschrift (Unterseiten) — kompakt, warm, ohne Breadcrumb */
.page-intro {
  padding: 1.35rem 0 1.1rem;
  background: linear-gradient(
    180deg,
    var(--color-bg-elevated) 0%,
    var(--color-bg) 100%
  );
  border-bottom: 1px solid var(--color-warm-line);
}

.page-intro__inner {
  position: relative;
}

.page-intro__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.4rem;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4.2vw, 2.35rem);
  color: var(--color-heading);
  line-height: 1.2;
}

.page-intro h1::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--color-accent) 0%,
    rgba(32, 102, 48, 0.2) 100%
  );
}

.page-intro__tagline {
  margin: 0.75rem 0 0;
  max-width: 38em;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .page-intro {
    padding: 1.65rem 0 1.25rem;
  }

  .page-intro__tagline {
    font-size: 1.1rem;
  }
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

.home-welcome {
  position: relative;
  z-index: 3;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}

@media (min-width: 768px) {
  .home-welcome {
    margin-top: -3.5rem;
    padding-top: 0.5rem;
  }
}

.section--welcome {
  background: linear-gradient(
    180deg,
    var(--color-gray-ui) 0%,
    var(--color-bg-elevated) 12%,
    var(--color-bg) 100%
  );
  border-bottom: 1px solid var(--color-warm-line);
}

@media (min-width: 768px) {
  .home-welcome .welcome-fig {
    display: none;
  }

  .home-welcome .welcome-grid {
    grid-template-columns: 1fr;
    max-width: 44rem;
  }
}

.welcome-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .welcome-grid {
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.15fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .welcome-grid {
    grid-template-columns: minmax(300px, 1fr) minmax(0, 1.2fr);
    gap: 3rem;
  }
}

.welcome-fig {
  margin: 0.75rem 0 0;
  position: relative;
}

@media (min-width: 768px) {
  .welcome-fig {
    margin-top: -4.5rem;
  }
}

.welcome-fig::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 0;
  border-radius: calc(var(--radius) + 4px);
  border: 2px solid rgba(32, 102, 48, 0.2);
  pointer-events: none;
}

.welcome-fig img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.home-welcome__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  letter-spacing: 0.02em;
  color: var(--color-heading);
  margin: 0 0 0.2rem;
  line-height: 1.15;
}

.home-welcome__greeting {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.home-welcome__intro {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.home-welcome__meta {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.home-welcome__actions {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.lede {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 0.35rem;
}

.section--duo {
  position: relative;
  padding: 3rem 0 3.5rem;
  background-color: #e5ddd0;
  background-image: linear-gradient(
      118deg,
      rgba(255, 252, 246, 0.94) 0%,
      rgba(255, 248, 238, 0.9) 38%,
      rgba(245, 236, 224, 0.88) 100%
    ),
    var(--duo-bg);
  background-size: cover;
  background-position: center;
}

.section--duo-home {
  border-top: 1px solid var(--color-warm-line);
}

.duo-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .duo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.content-card {
  background: var(--color-bg-card);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-warm-line);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.content-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .content-card:hover {
    transform: none;
  }
}

.content-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-soft);
  margin: 0 0 0.85rem;
  line-height: 1.35;
}

.content-card p {
  margin: 0 0 0.85rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* Trauerredner — Porträt + Fließtext, keine schmalen Spalten */
.trauer-page {
  padding-bottom: 0.5rem;
}

.trauer-page__intro {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--color-warm-line);
  background: linear-gradient(
    180deg,
    var(--color-bg-elevated) 0%,
    var(--color-bg) 100%
  );
}

.trauer-page__name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.trauer-page__intro h1 {
  margin: 0;
  max-width: 22em;
  font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  line-height: 1.28;
  color: var(--color-heading);
}

.trauer-page__layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1.75rem 0 2.25rem;
}

@media (max-width: 899px) {
  .trauer-page__intro.wrap,
  .trauer-page__layout.wrap,
  .trauer-page + .section--press > .wrap {
    padding-left: max(1.35rem, 5vw);
    padding-right: max(1.35rem, 5vw);
  }

  .trauer-page__aside {
    display: contents;
  }

  .trauer-page__portrait {
    order: 1;
    max-width: 20rem;
    margin-inline: auto;
    width: 100%;
  }

  .trauer-page__prose {
    order: 2;
  }

  .trauer-page__cert {
    order: 3;
    max-width: 20rem;
    margin-inline: auto;
    width: 100%;
  }
}

@media (min-width: 900px) {
  .trauer-page__layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 2.75rem 3rem;
    align-items: start;
  }

  .trauer-page__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1rem;
    align-self: start;
  }

  .trauer-page__portrait,
  .trauer-page__prose,
  .trauer-page__cert {
    order: unset;
    max-width: none;
    margin-inline: 0;
    width: auto;
  }

  .trauer-page__prose {
    grid-column: 2;
  }
}

.trauer-page__portrait {
  margin: 0;
}

.trauer-page__portrait img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trauer-page__cert {
  margin: 0;
}

.trauer-page__cert a {
  display: block;
  text-decoration: none;
}

.trauer-page__cert img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.trauer-page__prose {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.trauer-page__prose p {
  margin: 0 0 1.1rem;
}

.trauer-page__prose p:last-child {
  margin-bottom: 0;
}

.trauer-page__pull {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--color-heading);
}

.text-gray-light {
  color: var(--color-text-muted);
}

.text-family-sec {
  font-family: var(--font-sans);
}

.text-bold {
  font-weight: 700;
}

.text-uppercase {
  text-transform: uppercase;
}

.h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

/* Presse */
.section--press {
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.press-card {
  max-width: 40rem;
  margin: 0;
  text-align: left;
  padding: 0.5rem 0 2rem;
}

.press-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.press-card__title a {
  text-decoration: none;
}

.press-card__title a:hover {
  text-decoration: underline;
}

.press-card__source {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-heading);
}

/* Kooperationen — kompakte Partner-Karten, bis zu drei pro Zeile */
.coop-section {
  padding: 2rem 0 2.75rem;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-elevated) 35%,
    var(--color-bg) 100%
  );
}

@media (max-width: 767px) {
  .coop-section .wrap {
    padding-left: max(1.35rem, 5vw);
    padding-right: max(1.35rem, 5vw);
  }
}

.coop-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .coop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1050px) {
  .coop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }

  /* 7. Partner: mittig in der letzten Zeile */
  .coop-grid > li:last-child:nth-child(3n + 1):last-child {
    grid-column: 2;
  }
}

.coop-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-elevated);
  border: 1px solid rgba(32, 102, 48, 0.12);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 3px 16px rgba(32, 102, 48, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.coop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(32, 102, 48, 0.12);
}

.coop-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(
    145deg,
    rgba(32, 102, 48, 0.06) 0%,
    rgba(255, 255, 255, 0.95) 55%,
    rgba(32, 102, 48, 0.04) 100%
  );
  border-bottom: 1px solid rgba(32, 102, 48, 0.1);
}

.coop-card__logo--dark {
  background: linear-gradient(
    145deg,
    #2d4a38 0%,
    #3f624c 50%,
    #2d4a38 100%
  );
}

.coop-card__logo img {
  display: block;
  max-width: 100%;
  max-height: 3.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.coop-card__body {
  flex: 1;
  padding: 0.85rem 1rem 1rem;
}

.coop-card__name {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-heading);
}

.coop-card__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.coop-card__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.coop-card__contacts a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.coop-card__contacts a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.coop-card__icon {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-accent);
  flex-shrink: 0;
}

.coop-card__icon--at {
  font-weight: 700;
  font-size: 1.05rem;
}

.coop-card__icon--web {
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .coop-card:hover {
    transform: none;
  }
}

.small-l-h .p,
.small-l-h p {
  margin: 0;
}

.img-responsive.center-block {
  display: block;
  margin: 0 auto 1rem;
}

/* Referenzen — Fotos vollständig sichtbar (kein Kopf-Abschnitt), Desktop mit ausgewogenem Fließtext */
.ref-list {
  background: var(--color-bg-elevated);
}

.ref-card {
  border-bottom: 1px solid var(--color-warm-line);
  padding: 2rem 0;
}

.ref-card:last-child {
  border-bottom: none;
}

.ref-card__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.ref-card__grid:has(.ref-card__media--empty) {
  grid-template-columns: 1fr;
}

.ref-card__media--empty {
  display: none;
}

.ref-card__media {
  background: linear-gradient(165deg, #f2ebe0 0%, #e8dfd2 100%);
  border-radius: var(--radius);
  padding: 0.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--color-warm-line);
}

.ref-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 520px);
  object-fit: contain;
  object-position: top center;
  border-radius: var(--radius-sm);
}

.ref-card__body {
  min-width: 0;
}

.ref-card__quote {
  margin: 0;
  max-width: 65ch;
}

.ref-card__quote q {
  quotes: "„" "“" "‚" "‘";
  font-style: italic;
  color: var(--color-text);
}

.ref-card__quote p {
  margin: 0;
  line-height: 1.72;
  font-size: 1.02rem;
}

.ref-card__footer {
  margin-top: 1.1rem;
  font-family: var(--font-sans);
  font-style: normal;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-warm-line);
  max-width: 65ch;
}

.ref-card__footer cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-heading);
}

/* Externer Video-Link (kein YouTube-Embed — DSGVO) */
.ref-video-placeholder {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  min-height: 12rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(
    155deg,
    #f0f6f2 0%,
    #e0ebe4 45%,
    #c8ddd0 100%
  );
  border: 1px solid rgba(32, 102, 48, 0.18);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ref-video-placeholder:hover {
  border-color: rgba(32, 102, 48, 0.35);
  box-shadow: 0 6px 20px rgba(32, 102, 48, 0.12);
  transform: translateY(-2px);
}

.ref-video-placeholder__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 1;
  min-height: 7rem;
  border-radius: calc(var(--radius-sm) - 1px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(32, 102, 48, 0.08) 100%
  );
}

.ref-video-placeholder__mark {
  position: absolute;
  top: 0.35rem;
  left: 0.5rem;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(32, 102, 48, 0.2);
}

.ref-video-placeholder__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.15rem;
  color: #fff;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(32, 102, 48, 0.28);
  padding-left: 0.15rem;
}

.ref-video-placeholder__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-sans);
  text-align: center;
}

.ref-video-placeholder__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-heading);
}

.ref-video-placeholder__meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.ref-video-placeholder__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (prefers-reduced-motion: reduce) {
  .ref-video-placeholder:hover {
    transform: none;
  }
}

@media (min-width: 900px) {
  .ref-card__grid {
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: start;
    max-width: 68rem;
  }

  .ref-card__grid:has(.ref-card__media--empty) {
    grid-template-columns: 1fr;
  }

  .ref-card__media {
    padding: 0.65rem;
    position: sticky;
    top: 1rem;
    align-self: start;
  }

  .ref-card__media img {
    max-height: min(70vh, 440px);
    width: 100%;
  }

  .ref-card__body {
    padding-top: 0.15rem;
  }
}

@media (min-width: 1200px) {
  .ref-card__grid {
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: 2.25rem 3rem;
    max-width: 72rem;
  }

  .ref-card__grid:has(.ref-card__media--empty) {
    grid-template-columns: 1fr;
  }

  .ref-card__media img {
    max-height: min(75vh, 480px);
  }
}

/* Unterseiten-Kopf (Kontakt, Impressum, Datenschutz) */
.contact-page__intro,
.legal-page__intro {
  padding: 1.5rem 0 1.1rem;
  border-bottom: 1px solid var(--color-warm-line);
  background: linear-gradient(
    180deg,
    var(--color-bg-elevated) 0%,
    var(--color-bg) 100%
  );
}

.contact-page__name,
.legal-page__name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.contact-page__intro h1,
.legal-page__intro h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  line-height: 1.28;
  color: var(--color-heading);
}

.contact-page__lead {
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-muted);
}

.contact-page__main {
  padding: 1.75rem 0 2.75rem;
}

@media (max-width: 767px) {
  .contact-page__intro.wrap,
  .contact-page__main.wrap,
  .legal-page__intro.wrap,
  .legal-page__content.wrap {
    padding-left: max(1.35rem, 5vw);
    padding-right: max(1.35rem, 5vw);
  }
}

.legal-page__content {
  padding-top: 1.75rem;
  padding-bottom: 2.75rem;
}

.contact-form {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--color-bg-elevated);
  border: 1px solid rgba(32, 102, 48, 0.12);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 20px rgba(32, 102, 48, 0.08);
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  margin: 0;
}

.form-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-heading);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(42, 61, 50, 0.22);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  min-height: 2.5rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(32, 102, 48, 0.12);
  outline: none;
}

.form-field textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.55;
}

.form-consent {
  border: 1px solid rgba(32, 102, 48, 0.14);
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  background: var(--color-bg-card);
}

.form-consent__check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  cursor: pointer;
}

.form-consent__check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-accent);
}

.form-consent__text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.form-consent__text a {
  text-decoration: underline;
}

.contact-form__legal {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.contact-form__legal a {
  text-decoration: underline;
}

.contact-form__actions {
  margin-top: 1.1rem;
  padding-top: 0.25rem;
}

.contact-form__actions .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .contact-form__actions .btn {
    width: auto;
    min-width: 12rem;
  }
}

.form-error {
  color: #a40000;
  font-size: 0.9rem;
  margin-top: 0.35rem;
  display: none;
}

.form-field.is-invalid .form-error {
  display: block;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #a40000;
}

/* Legal prose */
.prose.legal {
  max-width: 48rem;
  margin: 0 auto;
}

.prose.legal > h2:first-child {
  margin-top: 0;
}

.prose.legal h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.prose.legal h3 {
  font-size: 1.15rem;
}

.prose.legal ul {
  padding-left: 1.25rem;
}

.impressum {
  margin-top: 2.5rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 55%);
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-warm-line);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1.2fr;
  }
}

.site-footer__label {
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-heading);
}

.site-footer__link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer address {
  font-style: normal;
}

.site-footer__link-list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.site-footer__link-list a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.site-footer__icon {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--color-accent);
  flex-shrink: 0;
}

.site-footer__icon--at {
  font-weight: 700;
  font-size: 1.1rem;
}

.site-footer__bar {
  background: var(--color-footer-bar);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.site-footer__bar p {
  margin: 0;
  max-width: var(--max);
  margin-inline: auto;
}

.zertifikat {
  margin-top: 0.5rem;
}
