@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
}

:root {
  --color-bg: #faf7f2;
  --color-bg-soft: #fdf8f2;
  --color-surface: #ffffff;
  --color-surface-alt: #f8efe3;
  --color-surface-strong: #fff8ed;
  --color-text: #120508;
  --color-text-soft: #5c3a28;
  --color-text-muted: #8f7b6e;
  --color-brand: #a11c35;
  --color-brand-dark: #7f1429;
  --color-brand-pale: #f3dde1;
  --color-accent: #f5c800;
  --color-accent-dark: #ddb300;
  --color-border: #f0e8da;
  --color-footer: #170d0e;
  --shadow-soft: 0 8px 24px rgba(127, 20, 41, 0.08);
  --shadow-card: 0 24px 60px rgba(127, 20, 41, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1648px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

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

@media (min-width: 900px) {
  .container {
    width: min(calc(100vw * 0.8042328), var(--container));
  }
}

.site-shell {
  overflow: hidden;
  padding-top: clamp(76px, 5.026vw, 103px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(161, 28, 53, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(76px, 5.026vw, 103px);
  gap: clamp(18px, 1.19vw, 24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(13px, 0.9vw, 18px);
  flex-shrink: 0;
}

.brand__logo {
  width: clamp(48px, 3.175vw, 65px);
  height: clamp(48px, 3.175vw, 65px);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(161, 28, 53, 0.22);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__title {
  font-size: clamp(16.8px, 1.111vw, 22.7px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--color-brand);
}

.brand__subtitle {
  margin-top: 2px;
  font-size: clamp(8.8px, 0.582vw, 11.9px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
  max-width: 18ch;
  white-space: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.main-nav a {
  padding: clamp(7px, 0.423vw, 8.6px) clamp(8px, 0.529vw, 10.8px);
  border-radius: 6px;
  font-size: clamp(10.4px, 0.688vw, 14px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d1f0e;
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #fff2f4;
  color: var(--color-brand);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: clamp(14px, 0.926vw, 19px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-brand);
  white-space: nowrap;
}

.header-phone__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.header-phone__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--color-brand);
  font-size: 28px;
  cursor: pointer;
}

.hero-section {
  background:
    radial-gradient(circle at 22% 28%, rgba(244, 225, 197, 0.42) 0, rgba(244, 225, 197, 0) 34%),
    linear-gradient(180deg, #fffdfa 0%, #fbf5ec 54%, #f8efe2 100%);
  padding: 80px 0 96px;
}

.hero-grid,
.about-grid,
.inquiry-grid,
.rights-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 5.291vw, 108px);
  align-items: center;
}

.inquiry-grid,
.rights-layout {
  align-items: start;
}

.hero-copy h1 {
  margin: 8px 0 0;
  max-width: 568px;
  font-size: 51.2px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-copy h1 span {
  color: var(--color-brand);
}

.hero-copy__lead,
.section-heading p,
.about-copy p,
.inquiry-copy p,
.rights-copy p,
.contact-copy p {
  color: var(--color-text-soft);
  font-size: clamp(15.5px, 1.026vw, 21px);
  line-height: 1.8;
}

.hero-copy__lead {
  max-width: 430px;
  margin: 24px 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(50px, 3.439vw, 70px);
  padding: clamp(14px, 1.032vw, 21px) clamp(28px, 2.249vw, 46px);
  border-radius: clamp(9px, 0.595vw, 12px);
  border: 2px solid transparent;
  font-size: clamp(14px, 0.931vw, 19px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  background: var(--color-accent);
  color: #000;
  box-shadow: 0 6px 12px rgba(245, 200, 0, 0.38);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-accent-dark);
}

.button--ghost {
  box-shadow: none;
}

.button--secondary {
  background: transparent;
  border-color: var(--color-brand-pale);
  color: var(--color-brand);
}

.button--block {
  width: 100%;
}

.inquiry-form .button--block {
  grid-column: 1 / -1;
}

.hero-media {
  position: relative;
  min-height: 486px;
}

.hero-gallery {
  position: relative;
  overflow: hidden;
  width: 568px;
  max-width: 100%;
  margin-left: auto;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(127, 20, 41, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-gallery__image {
  width: 100%;
  height: 426px;
  object-fit: cover;
}

.hero-gallery__overlay {
  position: absolute;
  inset: auto 0 0;
  height: 149px;
  background: linear-gradient(to top, rgba(100, 14, 30, 0.42), rgba(0, 0, 0, 0));
}

.hero-gallery__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-gallery__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-gallery__dots .is-active {
  width: 26px;
  background: var(--color-accent);
}

.hero-media__shape {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2e4c8 0%, #f5d8c0 100%);
}

.hero-media__shape--top {
  top: -2px;
  right: 0;
  width: 150px;
  height: 150px;
}

.hero-media__shape--bottom {
  left: 0;
  bottom: 10px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #fde8d4 0%, #f9e0c4 100%);
}

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 70px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 17px 21px;
  border: 1px solid #f5e8da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(161, 28, 53, 0.12);
}

.hero-badge img,
.about-media__badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(161, 28, 53, 0.2);
}

.hero-badge strong,
.about-media__badge strong,
.map-card__caption strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.hero-badge span,
.about-media__badge span,
.map-card__caption span {
  display: block;
  margin-top: 3px;
  color: var(--color-text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.about-media__badge span {
  color: var(--color-brand);
}

.section {
  padding: clamp(96px, 6.349vw, 130px) 0;
}

.section--tint {
  background: linear-gradient(172deg, #f8f3ea 8.5%, #fcf8f1 91.5%);
}

.section--soft {
  background: linear-gradient(169deg, #f5ede0 8.5%, #faf2e4 91.5%);
  border-top: 1px solid #f0dfc4;
  border-bottom: 1px solid #f0dfc4;
}

.section-heading {
  max-width: clamp(760px, 53.7vw, 1100px);
  margin: 0 auto clamp(56px, 3.704vw, 76px);
  text-align: center;
}

.section-heading--news {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#leistungen + .section--tint .section-heading,
#heimeinzug .section-heading {
  max-width: none;
}

#leistungen + .section--tint .section-heading h2,
#heimeinzug .section-heading h2 {
  white-space: nowrap;
}

#leistungen {
  background: #fff;
}

.section-heading h2,
.about-copy h2,
.inquiry-copy h2,
.rights-copy h2,
.contact-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 2.646vw, 54px);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 800;
}

.section-heading p {
  max-width: clamp(480px, 37.037vw, 760px);
  margin: clamp(18px, 1.164vw, 24px) auto 0;
  color: #6b4530;
  font-size: clamp(14px, 1.005vw, 20.6px);
  line-height: 1.75;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.529vw, 11px);
  color: var(--color-brand);
  font-size: clamp(11.2px, 0.741vw, 15.2px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-eyebrow--center {
  justify-content: center;
}

.section-eyebrow__line {
  width: clamp(24px, 1.587vw, 32px);
  height: 2px;
  border-radius: 1px;
  background: var(--color-brand);
}

.cards-grid {
  display: grid;
  gap: clamp(20px, 1.587vw, 32.5px);
}

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

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

.cards-grid--features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(17px, 1.322vw, 27px) clamp(17px, 1.323vw, 27px);
}

.service-card,
.news-card {
  overflow: hidden;
  border: 1px solid #f0e4d4;
  border-radius: clamp(16px, 1.19vw, 24px);
  background: #faf7f2;
  box-shadow: 0 4px 16px rgba(161, 28, 53, 0.05);
}

.service-card img,
.news-card img {
  width: 100%;
  height: clamp(180px, 14.087vw, 288px);
  object-fit: cover;
}

.service-card__body,
.news-card__body {
  padding: clamp(20px, 1.587vw, 32.5px);
}

.service-card__body h3,
.news-card__body h3,
.feature-card h3,
.step-card h3 {
  margin: 0 0 clamp(8px, 0.635vw, 13px);
  font-size: clamp(16px, 1.058vw, 21.7px);
  line-height: 1.3;
  font-weight: 700;
}

.service-card__body p,
.news-card__body p,
.feature-card p,
.step-card p {
  margin: 0;
  color: #6b4530;
  font-size: clamp(13.4px, 0.91vw, 18.6px);
  line-height: 1.68;
}

.service-card__body a,
.news-card__body a {
  display: inline-block;
  margin-top: clamp(12px, 0.926vw, 19px);
  color: var(--color-brand);
  font-size: clamp(13px, 0.867vw, 17.8px);
  line-height: 1.5;
  font-weight: 600;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 3.175vw, 65px);
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: clamp(13px, 1.058vw, 21.7px);
  min-height: clamp(105px, 8.201vw, 168px);
  padding: clamp(17px, 1.389vw, 28.5px);
  border: 1px solid #f0e4d4;
  border-radius: clamp(14px, 1.058vw, 22px);
  background: #fff;
  box-shadow: 0 3px 16px rgba(161, 28, 53, 0.05);
}

.feature-card__image {
  width: clamp(66px, 5.423vw, 111px);
  height: clamp(66px, 5.423vw, 111px);
  flex: 0 0 auto;
  border: 2px solid #f5e8da;
  border-radius: clamp(10px, 0.794vw, 16px);
  object-fit: cover;
  padding: 2px;
}

.about-copy,
.inquiry-copy,
.rights-copy,
.contact-copy {
  max-width: none;
}

.about-copy p + p {
  margin-top: clamp(18px, 1.164vw, 24px);
}

.check-list {
  display: grid;
  gap: clamp(12px, 0.899vw, 18.5px);
  margin: clamp(32px, 2.646vw, 54px) 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(43px, 3.36vw, 69px);
  padding: clamp(13px, 1.019vw, 21px) clamp(16px, 1.389vw, 28px) clamp(13px, 1.019vw, 21px)
    clamp(48px, 3.704vw, 76px);
  border: 1px solid #f0e4d4;
  border-radius: clamp(10px, 0.661vw, 14px);
  background: #faf7f2;
  color: var(--color-text);
  font-size: clamp(14px, 0.931vw, 19px);
  line-height: 1.4;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: clamp(20px, 1.455vw, 30px);
  top: 50%;
  width: clamp(18px, 1.19vw, 24px);
  height: clamp(18px, 1.19vw, 24px);
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23b11f3b' stroke-width='2.2'/%3E%3Cpath d='M8.4 12.2l2.3 2.4 4.9-5.3' stroke='%23b11f3b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.about-copy .button {
  margin-top: clamp(48px, 3.439vw, 70px);
}

.about-media {
  position: relative;
  z-index: 0;
}

.about-media__photo {
  width: 100%;
  height: clamp(320px, 25.193vw, 516px);
  border: 3px solid #f5e8da;
  border-radius: clamp(18px, 1.455vw, 30px);
  object-fit: cover;
  box-shadow: 0 28px 72px rgba(127, 20, 41, 0.15), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about-media__shape {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 999px;
}

.about-media__shape--top {
  top: clamp(-24px, -1.587vw, -18px);
  right: clamp(-28px, -1.852vw, -20px);
  width: clamp(118px, 9.259vw, 190px);
  height: clamp(118px, 9.259vw, 190px);
  background: linear-gradient(135deg, #f5e8d0 0%, #fde8cc 100%);
}

.about-media__shape--bottom {
  left: clamp(-18px, -1.19vw, -12px);
  bottom: clamp(-18px, -1.19vw, -12px);
  width: clamp(68px, 5.291vw, 108px);
  height: clamp(68px, 5.291vw, 108px);
  background: linear-gradient(135deg, #fde8d4 0%, #f9e0c4 100%);
}

.about-media__badge {
  position: absolute;
  left: clamp(24px, 1.587vw, 32px);
  bottom: clamp(24px, 1.852vw, 38px);
  display: inline-flex;
  align-items: center;
  min-width: clamp(250px, 16.488vw, 338px);
  padding: clamp(15px, 1.019vw, 21px) clamp(21px, 1.389vw, 28px);
  border-radius: clamp(12px, 0.794vw, 16px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #f5e8da;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 1.587vw, 32.5px);
}

.step-card {
  min-height: clamp(236px, 18.475vw, 378px);
  padding: clamp(28px, 2.183vw, 45px) clamp(25px, 1.918vw, 39px);
  border-radius: clamp(16px, 1.19vw, 24px);
  background: #fff;
  border: 1px solid #f0dfc4;
  box-shadow: 0 6px 14px rgba(200, 149, 42, 0.08);
  text-align: left;
}

.step-card__number {
  display: inline-block;
  margin-bottom: clamp(16px, 1.323vw, 27px);
  color: #000;
  font-size: clamp(40px, 3.175vw, 65px);
  line-height: 1;
  font-weight: 800;
}

.step-card__rule {
  display: block;
  width: clamp(28px, 2.116vw, 43px);
  height: 3px;
  margin-bottom: clamp(14px, 1.058vw, 22px);
  border-radius: 2px;
  background: var(--color-accent);
}

.step-card h3 {
  margin-bottom: clamp(10px, 0.794vw, 16px);
}

.contact-stack {
  display: grid;
  gap: clamp(18px, 1.323vw, 27px);
  margin: clamp(46px, 3.175vw, 65px) 0 0;
}

.contact-stack__item {
  display: flex;
  gap: clamp(14px, 1.058vw, 22px);
  align-items: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-stack__item:nth-child(2) {
  max-width: clamp(280px, 19.841vw, 406px);
  padding: clamp(14px, 1.058vw, 22px) clamp(18px, 1.455vw, 30px);
  border: 1px solid #f0dfc4;
  border-left: 3px solid var(--color-brand);
  border-radius: clamp(8px, 0.661vw, 14px);
  background: #fbf4e9;
}

.contact-stack__marker,
.contact-detail__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(34px, 2.381vw, 49px);
  height: clamp(34px, 2.381vw, 49px);
  border-radius: 999px;
  border: 1px solid #f0dfc4;
  color: var(--color-brand);
  background: #fff;
  font-size: clamp(14px, 0.926vw, 19px);
  line-height: 1;
}

.contact-stack strong,
.contact-detail strong {
  display: block;
  font-size: clamp(14px, 1.058vw, 21.7px);
  line-height: 1.35;
}

.contact-stack small,
.contact-detail small {
  display: block;
  margin-top: 3px;
  color: var(--color-text-soft);
  font-size: clamp(11.5px, 0.794vw, 16.3px);
  line-height: 1.45;
}

.contact-stack__item:first-child .contact-stack__marker {
  width: clamp(52px, 3.439vw, 70px);
  height: clamp(52px, 3.439vw, 70px);
  border: 0;
  color: #fff;
  background: var(--color-brand);
  box-shadow: 0 10px 24px rgba(161, 28, 53, 0.22);
}

.contact-stack__marker svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-stack__item:first-child strong {
  color: var(--color-brand);
  font-size: clamp(24px, 1.852vw, 38px);
  line-height: 1.1;
}

.contact-stack__item:nth-child(2) .contact-stack__marker {
  display: none;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 1.323vw, 27px) clamp(20px, 1.455vw, 30px);
  padding: clamp(40px, 3.175vw, 65px);
  border-radius: clamp(16px, 1.19vw, 24px);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 28px 72px rgba(127, 20, 41, 0.12);
}

.form-intro,
.form-full {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-intro h3 {
  margin: 0;
  font-size: clamp(22px, 1.587vw, 32.5px);
  line-height: 1.25;
  font-weight: 800;
}

.form-intro p {
  margin: 10px 0 clamp(12px, 0.794vw, 16px);
  color: var(--color-text-soft);
  font-size: clamp(12px, 0.794vw, 16.3px);
  line-height: 1.6;
}

.inquiry-form label {
  display: grid;
  gap: clamp(7px, 0.529vw, 11px);
}

.inquiry-form label span {
  color: var(--color-text);
  font-size: clamp(11.8px, 0.794vw, 16.3px);
  line-height: 1.4;
  font-weight: 600;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #e7dbcd;
  border-radius: clamp(8px, 0.661vw, 14px);
  background: #fbf7f0;
  padding: clamp(13px, 0.926vw, 19px);
  color: var(--color-text);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: 2px solid rgba(161, 28, 53, 0.18);
  border-color: var(--color-brand);
}

.form-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 12px !important;
}

.form-consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  border-radius: 2px;
  accent-color: var(--color-brand);
}

.form-consent span {
  color: var(--color-text-soft) !important;
  font-size: clamp(11.2px, 0.741vw, 15.2px) !important;
  font-weight: 500 !important;
}

.form-consent a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: underline;
}

.rights-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(70px, 6.085vw, 124px);
}

.rights-copy h3 {
  margin: 0 0 clamp(18px, 1.323vw, 27px);
  font-size: clamp(19px, 1.323vw, 27px);
  line-height: 1.35;
  font-weight: 800;
}

.rights-copy p {
  margin: 0;
}

.rights-copy p + p {
  margin-top: clamp(18px, 1.323vw, 27px);
}

.rights-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 1.058vw, 22px);
  margin-top: clamp(32px, 2.381vw, 49px);
}

.rights-actions .button {
  min-height: clamp(48px, 3.042vw, 62px);
  padding: clamp(13px, 0.926vw, 19px) clamp(24px, 1.852vw, 38px);
  font-size: clamp(13px, 0.867vw, 17.8px);
}

#bewohnerrechte {
  background: #fff;
}

#bewohnerrechte .button--secondary {
  border-color: #ead8be;
  color: #8c6945;
  background: #fffaf2;
  box-shadow: none;
}

.rights-list {
  display: grid;
  gap: clamp(18px, 1.323vw, 27px);
}

.rights-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.323vw, 27px);
  min-height: clamp(76px, 5.291vw, 108px);
  padding: clamp(20px, 1.587vw, 32.5px);
  border: 1px solid #f0e4d4;
  border-left: 4px solid var(--color-brand);
  border-radius: clamp(12px, 0.794vw, 16px);
  background: #fff;
  box-shadow: 0 3px 16px rgba(161, 28, 53, 0.05);
}

.rights-card__icon {
  display: grid;
  place-items: center;
  width: clamp(24px, 1.587vw, 32px);
  height: clamp(24px, 1.587vw, 32px);
  flex: 0 0 auto;
  color: var(--color-brand);
  line-height: 1;
}

.rights-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rights-card h2 {
  margin: 0;
  font-size: clamp(14px, 1.005vw, 20.6px);
  line-height: 1.35;
  font-weight: 700;
}

.news-head {
  position: relative;
  margin-bottom: clamp(42px, 3.175vw, 65px);
}

.news-section {
  background: #fff;
}

.news-head h2 {
  margin: 14px 0 0;
  max-width: none;
  font-size: clamp(32px, 2.646vw, 54px);
  line-height: 1.18;
  font-weight: 800;
}

.news-head h2 a,
.news-card__body h3 a {
  color: inherit;
}

.news-controls {
  position: absolute;
  right: 0;
  bottom: clamp(4px, 0.529vw, 11px);
  display: flex;
  gap: clamp(12px, 0.794vw, 16px);
}

.news-controls span {
  display: grid;
  place-items: center;
  width: clamp(44px, 2.646vw, 54px);
  height: clamp(44px, 2.646vw, 54px);
  border: 1px solid #f0dfc4;
  border-radius: 999px;
  color: var(--color-brand);
  background: #fff;
}

.news-controls svg {
  width: clamp(16px, 1.058vw, 22px);
  height: clamp(16px, 1.058vw, 22px);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-controls .is-active {
  color: #fff;
  background: var(--color-brand);
  border-color: var(--color-brand);
  box-shadow: 0 10px 24px rgba(161, 28, 53, 0.18);
}

.news-card__meta {
  display: inline-block;
  margin-bottom: clamp(10px, 0.794vw, 16px);
  color: var(--color-brand);
  font-size: clamp(11px, 0.741vw, 15.2px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card__media {
  display: block;
}

.news-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(180px, 14.087vw, 288px);
  color: var(--color-brand);
  background:
    radial-gradient(circle at 75% 25%, rgba(245, 200, 0, 0.3), transparent 28%),
    linear-gradient(145deg, #f8eee0, #fffaf3);
}

.news-card__placeholder span {
  font-size: clamp(20px, 1.587vw, 32px);
  font-weight: 800;
}

.news-empty {
  padding: clamp(34px, 3.175vw, 65px);
  border: 1px solid #f0dfc4;
  border-radius: 24px;
  text-align: center;
  background: #faf7f2;
}

.news-empty h2,
.news-empty p {
  margin: 0;
}

.news-empty p {
  color: var(--color-text-soft);
}

.news-empty h2 + p {
  margin-top: 12px;
}

.news-archive {
  padding: clamp(80px, 6.349vw, 130px) 0;
  background: #fff;
}

.news-archive__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(48px, 3.175vw, 65px);
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #ead9bd;
  border-radius: 999px;
  color: var(--color-brand);
  font-weight: 700;
  background: #fff;
}

.news-pagination .current {
  color: #fff;
  border-color: var(--color-brand);
  background: var(--color-brand);
}

.news-single__hero {
  padding: clamp(84px, 7.407vw, 152px) 0 clamp(64px, 5.291vw, 108px);
  background:
    radial-gradient(circle at 82% 20%, rgba(245, 200, 0, 0.14), transparent 27%),
    linear-gradient(180deg, #fffdfa, #f8efe2);
}

.news-single__hero-inner {
  max-width: 1120px;
}

.news-single__back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--color-brand);
  font-weight: 700;
}

.news-single__hero h1 {
  max-width: 1050px;
  margin: 10px 0 0;
  font-size: clamp(40px, 4.233vw, 86px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.news-single__layout {
  max-width: 1120px;
  padding-top: clamp(64px, 5.291vw, 108px);
  padding-bottom: clamp(80px, 6.349vw, 130px);
}

.news-single__image {
  overflow: hidden;
  margin: 0 0 clamp(42px, 3.175vw, 65px);
  border-radius: clamp(18px, 1.587vw, 32px);
}

.news-single__image img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.news-single__content {
  max-width: 860px;
  color: var(--color-text-soft);
  font-size: clamp(16px, 1.058vw, 21px);
  line-height: 1.8;
}

.news-single__content h2,
.news-single__content h3 {
  margin: 1.6em 0 0.65em;
  color: var(--color-text);
  line-height: 1.25;
}

.news-single__content a {
  color: var(--color-brand);
  text-decoration: underline;
}

.news-single__footer {
  margin-top: clamp(42px, 3.175vw, 65px);
}

.news-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(38px, 2.646vw, 54px);
}

.news-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ead9bd;
}

.news-dots .is-active {
  width: 28px;
  background: var(--color-brand);
}

.contact-details {
  display: grid;
  gap: clamp(18px, 1.323vw, 27px);
  margin: clamp(36px, 2.646vw, 54px) 0 0;
}

.contact-detail {
  display: flex;
  gap: clamp(14px, 1.058vw, 22px);
  align-items: flex-start;
}

.contact-detail__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail__icon--primary {
  color: #fff;
  background: var(--color-brand);
  border-color: var(--color-brand);
  box-shadow: 0 10px 24px rgba(161, 28, 53, 0.22);
}

.contact-section {
  background: linear-gradient(169deg, #f7efdf 8.5%, #fcf4e7 91.5%);
}

.contact-copy h2 {
  font-size: clamp(32px, 2.46vw, 50px);
  line-height: 1.16;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 472px;
  border: 1px solid var(--color-border);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #f7efdf 0%, #f2e7d1 100%);
}

.map-card__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
}

.map-card__grid span {
  border-right: 1px solid rgba(128, 90, 64, 0.14);
  border-bottom: 1px solid rgba(128, 90, 64, 0.14);
}

.map-card__cross {
  position: relative;
}

.map-card__cross::before,
.map-card__cross::after {
  content: "";
  position: absolute;
  background: rgba(193, 121, 98, 0.22);
}

.map-card__cross::before {
  left: -90%;
  right: -90%;
  top: 50%;
  height: 5px;
  transform: translateY(-50%);
}

.map-card__cross::after {
  top: -90%;
  bottom: -90%;
  left: 50%;
  width: 5px;
  transform: translateX(-50%);
}

.map-card__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(72px, 4.233vw, 86px);
  height: clamp(102px, 6.35vw, 130px);
  color: #fff;
  transform: translate(-50%, -50%);
}

.map-card__pin svg {
  width: 100%;
  height: 100%;
  fill: var(--color-brand);
  stroke: #fff;
  stroke-width: 1.5;
  filter: drop-shadow(0 12px 22px rgba(161, 28, 53, 0.22));
}

.map-card__caption {
  padding: 26px 40px 28px;
  border: 1px solid var(--color-border);
  border-radius: 0 0 24px 24px;
  background: #fff;
}

.site-footer {
  background: #111111;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr;
  gap: 72px;
  padding: 86px 32px 68px;
}

.brand--footer .brand__title {
  color: #fff;
}

.brand--footer .brand__subtitle {
  color: #f5c800;
}

.footer-brand p {
  max-width: 330px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.8px;
  line-height: 1.72;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.6px;
  line-height: 1.5;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-column h2 {
  margin: 0 0 28px;
  font-size: 12.8px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f5c800;
  outline-offset: 4px;
}

.footer-column,
.footer-column--contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a,
.footer-column--contact strong {
  color: #fff;
  font-size: 13.9px;
  line-height: 1.45;
  font-weight: 500;
}

.footer-column--contact span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-column--contact strong {
  display: block;
  font-weight: 600;
  margin-top: 6px;
}

.footer-column--contact div:nth-child(3) strong {
  color: #f5c800;
}

.footer-column--contact div + div {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 32px 38px;
  border-top: 1px solid rgba(255, 210, 132, 0.12);
}

.footer-bottom p,
.footer-bottom nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.8px;
  line-height: 1.5;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

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

  .nav-toggle {
    display: inline-block;
  }

  .header-inner {
    padding: 0 16px;
  }

  .hero-grid,
  .about-grid,
  .inquiry-grid,
  .rights-grid,
  .rights-layout,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .about-media,
  .contact-map {
    order: -1;
  }

  .hero-badge {
    left: 20px;
    bottom: 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-controls {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .site-shell,
  main,
  section {
    overflow-x: hidden;
  }

  .section,
  .hero-section {
    padding: 72px 0;
  }

  .section-eyebrow {
    max-width: 100%;
  }

  .section-eyebrow span:not(.section-eyebrow__line) {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .section-heading h2,
  .about-copy h2,
  .inquiry-copy h2,
  .rights-copy h2,
  .contact-copy h2 {
    font-size: 32px;
    max-width: 100%;
  }

  .hero-copy h1,
  .section-heading h2,
  .about-copy h2,
  .inquiry-copy h2,
  .rights-copy h2,
  .contact-copy h2,
  .section-heading p,
  .about-copy p,
  .inquiry-copy p,
  .rights-copy p,
  .contact-copy p,
  .service-card__body p,
  .news-card__body p,
  .feature-card p,
  .step-card p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  #leistungen + .section--tint .section-heading h2,
  #heimeinzug .section-heading h2 {
    white-space: normal;
  }

  .cards-grid--services,
  .cards-grid--news,
  .cards-grid--features,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-actions .button,
  .rights-actions .button {
    width: 100%;
  }

  .service-card,
  .news-card,
  .feature-card,
  .step-card,
  .rights-card,
  .check-list li {
    min-width: 0;
  }

  .hero-gallery__image {
    height: 340px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .rights-actions {
    flex-direction: column;
  }

  .header-phone {
    display: none;
  }

  .footer-main,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* WordPress integration and shared internal-page patterns. */
body.admin-bar .site-header {
  top: 32px;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.contact-detail[href],
.footer-column--contact a {
  color: inherit;
}

.footer-column--contact a {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 13.9px;
  line-height: 1.45;
  font-weight: 600;
}

.footer-column--contact div:nth-of-type(2) a {
  color: var(--color-accent);
}

.news-controls button {
  display: grid;
  place-items: center;
  width: clamp(44px, 2.646vw, 54px);
  height: clamp(44px, 2.646vw, 54px);
  padding: 0;
  border: 1px solid #f0dfc4;
  border-radius: 999px;
  color: var(--color-brand);
  background: #fff;
  cursor: pointer;
}

.news-controls button.is-active {
  color: #fff;
  background: var(--color-brand);
  border-color: var(--color-brand);
  box-shadow: 0 10px 24px rgba(161, 28, 53, 0.18);
}

.form-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.form-notice--success {
  color: #245b35;
  background: #edf7ef;
  border: 1px solid #c9e7d0;
}

.form-notice--error {
  color: #7f1429;
  background: #fff0f2;
  border: 1px solid #f0c9d0;
}

.inquiry-form button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 200, 0, 0.14) 0, rgba(245, 200, 0, 0) 26%),
    linear-gradient(180deg, #fffdfa 0%, #fbf5ec 100%);
}

.inner-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(161, 28, 53, 0.035);
}

.inner-hero__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(84px, 7.407vw, 152px);
  padding-bottom: clamp(84px, 7.407vw, 152px);
}

.inner-hero__content h1 {
  max-width: 920px;
  margin: 18px 0 0;
  font-size: clamp(42px, 4.233vw, 86px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.inner-hero__content p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--color-text-soft);
  font-size: clamp(16px, 1.058vw, 21.7px);
  line-height: 1.75;
}

.inner-hero__content .hero-actions {
  margin-top: 36px;
}

.contact-section--page {
  background: #fff;
}

.contact-form-section {
  background: linear-gradient(169deg, #f7efdf 8.5%, #fcf4e7 91.5%);
}

.inner-hero--overview {
  background:
    radial-gradient(circle at 80% 14%, rgba(245, 200, 0, 0.12) 0, rgba(245, 200, 0, 0) 26%),
    radial-gradient(circle at 16% 22%, rgba(240, 216, 184, 0.28) 0, rgba(240, 216, 184, 0) 30%),
    linear-gradient(180deg, #fffdfa 0%, #fbf5ec 62%, #f8efe2 100%);
}

.overview-section {
  padding: clamp(80px, 6.349vw, 130px) 0;
  background: #fff;
}

.overview-section--soft {
  background: linear-gradient(169deg, #f5ede0 8.5%, #faf2e4 91.5%);
}

.section-heading--left {
  text-align: left;
  align-items: flex-start;
}

.section-heading--left p,
.section-heading--left h2 {
  max-width: 860px;
}

.overview-grid {
  display: grid;
  gap: clamp(18px, 1.323vw, 27px);
}

.overview-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.overview-card {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: clamp(22px, 1.587vw, 32px);
  border: 1px solid #f0dfc4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(127, 20, 41, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.overview-card:hover,
.overview-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(161, 28, 53, 0.24);
  box-shadow: 0 18px 38px rgba(127, 20, 41, 0.12);
}

.overview-card--service,
.overview-card--faq {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.overview-card__icon {
  width: 84px;
  height: 84px;
}

.overview-card__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.overview-card__body strong {
  color: var(--color-text);
  font-size: clamp(18px, 1.19vw, 24px);
  line-height: 1.28;
  font-weight: 800;
}

.overview-card__body span {
  color: var(--color-text-soft);
  font-size: clamp(14px, 0.926vw, 19px);
  line-height: 1.7;
}

.overview-card__arrow {
  color: var(--color-brand);
  font-size: 22px;
  line-height: 1;
}

.overview-card__badge {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #fff2f4;
  color: var(--color-brand);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.overview-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 3.175vw, 65px);
  align-items: start;
}

.overview-aside {
  top: 124px;
}

.legal-section {
  padding: clamp(80px, 6.349vw, 130px) 0;
  background: #fff;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(56px, 6.349vw, 130px);
  align-items: start;
}

.legal-layout--single {
  grid-template-columns: minmax(0, 980px);
}

.legal-content {
  max-width: 960px;
  color: var(--color-text-soft);
  font-size: clamp(15px, 0.926vw, 19px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

.legal-content > h1:first-child,
.contact-wp-content > h1:first-child {
  display: none;
}

.contact-wp-content {
  max-width: 720px;
  color: var(--color-text);
  font-size: clamp(16px, 1.058vw, 21.7px);
}

.contact-wp-content em {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.55;
}

.contact-wp-content a {
  color: var(--color-brand);
  font-weight: 700;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: var(--color-text);
  line-height: 1.25;
  font-weight: 800;
}

.legal-content h2 {
  margin: 2.2em 0 0.75em;
  font-size: clamp(25px, 1.852vw, 38px);
}

.legal-content h3 {
  margin: 2em 0 0.7em;
  font-size: clamp(20px, 1.323vw, 27px);
}

.legal-content h4 {
  margin: 1.8em 0 0.65em;
  font-size: clamp(17px, 1.058vw, 22px);
}

.legal-content p,
.legal-content ul,
.legal-content ol,
.legal-content table,
.legal-content address {
  margin: 0 0 1.35em;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35em;
}

.legal-content a {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
}

.legal-content th,
.legal-content td {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.legal-content img {
  height: auto;
  border-radius: 16px;
}

.legal-aside {
  position: sticky;
  top: 132px;
  padding: 28px;
  border: 1px solid #f0dfc4;
  border-radius: 16px;
  background: #fbf4e9;
}

.legal-aside strong {
  display: block;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.35;
}

.legal-aside p {
  margin: 10px 0 18px;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.legal-aside a {
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(127, 20, 41, 0.14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 13px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .overview-grid--services,
  .overview-grid--faq,
  .overview-split {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  body.nav-is-open {
    overflow: hidden;
  }

  .brand__subtitle {
    max-width: 20ch;
  }

  .inner-hero__content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .inner-hero__content h1 {
    font-size: 42px;
  }

  .overview-section {
    padding: 72px 0;
  }

  .legal-section {
    padding: 72px 0;
  }

  .legal-content {
    font-size: 15px;
  }

  .cards-grid--news {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cards-grid--news::-webkit-scrollbar {
    display: none;
  }

  .cards-grid--news .news-card {
    min-width: 88%;
    scroll-snap-align: start;
  }

  .news-archive__grid {
    grid-template-columns: 1fr;
  }

  .news-archive__grid .news-card {
    min-width: 0;
  }

  .overview-card--service,
  .overview-card--faq {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .overview-card__icon,
  .overview-card__badge {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .overview-card__badge {
    font-size: 24px;
  }
}

/* Shared service detail pages. */
.service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 2.381vw, 49px) 0 clamp(82px, 6.349vw, 130px);
  background:
    radial-gradient(circle at 82% 35%, rgba(245, 200, 0, 0.13) 0, rgba(245, 200, 0, 0) 25%),
    radial-gradient(circle at 18% 18%, rgba(240, 216, 184, 0.34) 0, rgba(240, 216, 184, 0) 30%),
    linear-gradient(180deg, #fffdfa 0%, #fbf5ec 58%, #f8efe2 100%);
}

.service-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(161, 28, 53, 0.035);
}

.service-breadcrumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--color-text-muted);
  font-size: clamp(11px, 0.741vw, 15px);
  line-height: 1.5;
}

.service-breadcrumbs a {
  transition: color 0.2s ease;
}

.service-breadcrumbs a:hover,
.service-breadcrumbs a:focus-visible {
  color: var(--color-brand);
}

.service-breadcrumbs span[aria-current="page"] {
  color: var(--color-brand);
  font-weight: 600;
}

.service-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(56px, 6.349vw, 130px);
  align-items: center;
  padding-top: clamp(70px, 5.291vw, 108px);
}

.service-hero__copy h1 {
  max-width: 980px;
  margin: clamp(16px, 1.19vw, 24px) 0 0;
  font-size: clamp(48px, 4.233vw, 86px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.service-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(230px, 18.519vw, 380px);
}

.service-hero__halo {
  position: absolute;
  width: clamp(210px, 15.873vw, 325px);
  height: clamp(210px, 15.873vw, 325px);
  border: 1px solid rgba(161, 28, 53, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 clamp(28px, 2.116vw, 43px) rgba(255, 255, 255, 0.35);
}

.service-icon-shell {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border: 1px solid #f0dfc4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(127, 20, 41, 0.12);
}

.service-icon-shell--hero {
  position: relative;
  z-index: 1;
  width: clamp(118px, 8.466vw, 174px);
  height: clamp(118px, 8.466vw, 174px);
  border-radius: clamp(26px, 2.116vw, 43px);
  box-shadow: 0 28px 64px rgba(127, 20, 41, 0.16);
}

.service-icon {
  width: 50px !important;
  height: 50px !important;
  max-width: none;
  object-fit: contain;
  image-rendering: auto;
}

.service-detail-section {
  padding: clamp(84px, 7.407vw, 152px) 0;
  background: #fff;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1120px);
  justify-content: center;
}

.service-detail-content {
  padding: clamp(34px, 3.175vw, 65px) clamp(28px, 3.704vw, 76px);
  border: 1px solid #f0e4d4;
  border-radius: clamp(18px, 1.455vw, 30px);
  background: #fffdf9;
  color: var(--color-text-soft);
  font-size: clamp(15px, 0.926vw, 19px);
  line-height: 1.82;
  box-shadow: 0 22px 60px rgba(127, 20, 41, 0.08);
  overflow-wrap: anywhere;
}

.service-detail-content > :first-child {
  margin-top: 0;
}

.service-detail-content > :last-child {
  margin-bottom: 0;
}

.service-detail-content p,
.service-detail-content > em,
.service-detail-content ul,
.service-detail-content ol,
.service-detail-content figure,
.service-detail-content h3,
.service-detail-content h4 {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.service-detail-content em {
  font-style: normal;
}

.service-detail-content strong,
.service-detail-content b {
  color: var(--color-text);
  font-weight: 700;
}

.service-detail-content h2,
.service-detail-content h3 {
  color: var(--color-text);
  line-height: 1.25;
  font-weight: 800;
}

.service-detail-content h2 {
  margin: 2em 0 0.7em;
  font-size: clamp(26px, 1.852vw, 38px);
}

.service-detail-content h3 {
  margin-top: clamp(36px, 2.646vw, 54px);
  font-size: clamp(21px, 1.323vw, 27px);
}

.service-detail-content h4 {
  padding: clamp(22px, 1.852vw, 38px);
  border-left: 4px solid var(--color-brand);
  border-radius: 0 14px 14px 0;
  background: #fbf4e9;
  color: var(--color-text-soft);
  font-size: inherit;
  line-height: inherit;
  font-weight: 500;
}

.service-detail-content ul,
.service-detail-content ol {
  display: grid;
  gap: 10px;
  padding-left: 1.4em;
}

.service-detail-content li::marker {
  color: var(--color-brand);
}

.service-detail-content a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.service-detail-content img {
  width: 100%;
  height: auto;
  margin: clamp(18px, 1.587vw, 32px) 0 0;
  border: 2px solid #f5e8da;
  border-radius: clamp(14px, 1.19vw, 24px);
  box-shadow: 0 18px 42px rgba(127, 20, 41, 0.1);
}

.service-detail-content figure,
.service-detail-content .wp-block-image {
  max-width: none !important;
}

.service-detail-content figure img {
  width: 100% !important;
  max-width: none;
}

.service-detail-content p[style*="text-align: center"] {
  padding: clamp(18px, 1.323vw, 27px);
  border: 1px solid #f0dfc4;
  border-radius: 14px;
  background: #fbf4e9;
}

.service-navigation-section {
  padding: clamp(86px, 6.349vw, 130px) 0;
  border-top: 1px solid #f0dfc4;
  background: linear-gradient(169deg, #f5ede0 8.5%, #faf2e4 91.5%);
}

.service-navigation-heading {
  margin-bottom: clamp(42px, 3.175vw, 65px);
}

.service-navigation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.323vw, 27px);
}

/* Redesigned internal content families. */
.overview-grid--company {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-route-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 1.587vw, 32px);
  align-items: center;
  min-height: 190px;
  padding: clamp(28px, 2.381vw, 49px);
  border: 1px solid #f0dfc4;
  border-radius: clamp(18px, 1.455vw, 30px);
  background: #fffdf9;
  box-shadow: 0 18px 48px rgba(127, 20, 41, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-route-card:hover,
.company-route-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(127, 20, 41, 0.13);
}

.company-route-card__index {
  color: var(--color-brand);
  font-size: clamp(30px, 2.116vw, 43px);
  font-weight: 800;
}

.company-route-card strong,
.company-route-card small {
  display: block;
}

.company-route-card strong {
  font-size: clamp(20px, 1.455vw, 30px);
  line-height: 1.25;
}

.company-route-card small {
  margin-top: 10px;
  color: var(--color-text-soft);
  font-size: clamp(14px, 0.926vw, 19px);
  line-height: 1.6;
}

.company-route-card__arrow {
  color: var(--color-brand);
  font-size: 28px;
}

.story-section,
.people-section,
.career-section,
.information-section {
  padding: clamp(84px, 7.407vw, 152px) 0;
  background: #fff;
}

.story-layout,
.career-layout,
.information-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: clamp(34px, 4.233vw, 86px);
  align-items: start;
}

.story-aside,
.career-contact,
.information-aside {
  position: sticky;
  top: 132px;
  padding: clamp(26px, 2.116vw, 43px);
  border: 1px solid #f0dfc4;
  border-radius: 22px;
  background: linear-gradient(145deg, #fbf4e9, #fffdf9);
  box-shadow: 0 16px 42px rgba(127, 20, 41, 0.08);
}

.story-aside__mark {
  display: block;
  margin-bottom: 22px;
  color: var(--color-brand);
  font-size: clamp(38px, 3.175vw, 65px);
  line-height: 1;
  font-weight: 800;
}

.story-aside strong,
.information-aside strong {
  display: block;
  color: var(--color-text);
  font-size: 21px;
}

.story-aside p,
.information-aside p,
.career-contact p {
  color: var(--color-text-soft);
  line-height: 1.7;
}

.story-aside a,
.information-aside a,
.career-contact > a:not(.button) {
  color: var(--color-brand);
  font-weight: 700;
}

.story-content img.alignright {
  width: min(300px, 40%);
  margin: 0 0 28px 38px;
  float: right;
}

.contact-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 1.587vw, 32px);
}

.contact-person-card {
  min-height: 230px;
  padding: clamp(26px, 2.116vw, 43px);
  border: 1px solid #f0dfc4;
  border-radius: 22px;
  color: var(--color-text-soft);
  font-size: clamp(14px, 0.926vw, 19px);
  line-height: 1.8;
  background: #fffdf9;
  box-shadow: 0 16px 42px rgba(127, 20, 41, 0.07);
}

.contact-person-card em {
  font-style: normal;
}

.contact-person-card strong {
  color: var(--color-text);
  font-weight: 700;
}

.contact-person-card a {
  color: var(--color-brand);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.career-contact h2 {
  margin: 18px 0;
  font-size: clamp(28px, 2.116vw, 43px);
  line-height: 1.15;
}

.career-contact .button {
  margin: 16px 0 24px;
}

.career-content .je_stellenmarkt {
  min-height: 180px;
  margin: 34px 0;
  padding: 26px;
  border: 1px dashed #dfcaa7;
  border-radius: 18px;
  background: #fbf4e9;
}

.career-content .je_stellenmarkt:empty::before {
  content: "Aktuelle Stellenangebote werden geladen …";
  color: var(--color-text-soft);
}

.information-section {
  background: linear-gradient(180deg, #fff 0%, #fffaf4 100%);
}

.information-content .document-link {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 18px 0;
  padding: 20px;
  border: 1px solid #ead9bd;
  border-radius: 16px;
  text-decoration: none;
  background: #fff;
}

.document-link__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: var(--color-brand);
}

.document-link strong,
.document-link small {
  display: block;
}

.document-link small {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.information-content--gruener-haken img {
  width: min(220px, 45%);
  margin: 0 30px 20px 0;
  float: left;
  object-fit: contain;
}

.information-content--unsere-einrichtung h4 {
  margin: 32px 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-brand);
  font-size: 18px;
  font-weight: 800;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.schedule-card {
  padding: clamp(22px, 1.852vw, 38px);
  border: 1px solid #ead9bd;
  border-radius: 18px;
  background: #fff;
}

.schedule-card h3 {
  margin: 0 0 18px;
  color: var(--color-brand);
}

.schedule-card p,
.schedule-card ul {
  margin-bottom: 16px;
}

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

.structural-links a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid #ead9bd;
  border-radius: 16px;
  color: var(--color-text);
  font-weight: 700;
  background: #fffdf9;
}

.structural-links span {
  color: var(--color-brand);
}

.service-navigation-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 126px;
  padding: 20px;
  border: 1px solid #f0dfc4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(127, 20, 41, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a.service-navigation-card:hover,
a.service-navigation-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(161, 28, 53, 0.28);
  box-shadow: 0 16px 34px rgba(127, 20, 41, 0.11);
}

.service-navigation-card.is-current {
  border-color: var(--color-brand);
  background: #fff7f8;
}

.service-navigation-card__title {
  min-width: 0;
  font-size: clamp(14px, 0.926vw, 19px);
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: break-word;
}

.service-navigation-card__arrow {
  color: var(--color-brand);
  font-size: 22px;
  line-height: 1;
}

.service-navigation-card.is-current .service-navigation-card__arrow {
  opacity: 0.35;
}

@media (max-width: 1180px) {
  .service-hero__grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 40px;
  }

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

  .story-layout,
  .career-layout,
  .information-layout {
    grid-template-columns: 1fr;
  }

  .story-aside,
  .career-contact,
  .information-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .service-hero {
    padding-top: 24px;
    padding-bottom: 72px;
  }

  .service-hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 52px;
  }

  .service-hero__copy h1 {
    font-size: 42px;
  }

  .service-hero__visual {
    min-height: 190px;
    order: -1;
  }

  .service-hero__halo {
    width: 190px;
    height: 190px;
  }

  .service-icon-shell--hero {
    width: 112px;
    height: 112px;
    border-radius: 26px;
  }

  .service-detail-section,
  .service-navigation-section {
    padding: 72px 0;
  }

  .service-detail-content {
    padding: 28px 22px;
    border-radius: 18px;
    font-size: 15px;
  }

  .service-navigation-grid {
    grid-template-columns: 1fr;
  }

  .service-navigation-card {
    min-height: 108px;
  }

  .overview-grid--company,
  .contact-person-grid,
  .schedule-grid,
  .structural-links {
    grid-template-columns: 1fr;
  }

  .company-route-card {
    min-height: 150px;
    padding: 24px;
  }

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

  .story-content img.alignright,
  .information-content--gruener-haken img {
    width: 100%;
    margin: 0 0 24px;
    float: none;
  }
}
