:root {
  --bg: #fffaf1;
  --surface: #ffffff;
  --surface-2: #f2eadc;
  --text: #223026;
  --muted: #657064;
  --primary: #315b46;
  --primary-2: #244534;
  --accent: #d89b43;
  --border: rgba(34, 48, 38, 0.14);
  --shadow: 0 24px 70px rgba(31, 48, 37, 0.14);
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

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

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary), #5e8564);
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(49, 91, 70, 0.22);
}

.brand-text {
  display: grid;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.84rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  padding: 10px 12px;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--surface-2);
}

.main-nav .nav-button {
  margin-left: 8px;
  color: white;
  background: var(--primary);
}

.main-nav .nav-button:hover {
  background: var(--primary-2);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-2);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero {
  padding: 82px 0 64px;
  background:
    radial-gradient(circle at 15% 0%, rgba(216, 155, 67, 0.22), transparent 32%),
    radial-gradient(circle at 100% 20%, rgba(49, 91, 70, 0.18), transparent 34%);
}

.hero-grid,
.split-grid,
.intro-grid,
.contact-grid,
.price-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
}

.hero h1,
.page-hero h1,
.section h2 {
  line-height: 1.12;
  margin: 0 0 18px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

.section h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: -0.04em;
}

h3 {
  line-height: 1.2;
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #465345;
  max-width: 64ch;
}

.eyebrow {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 16px 30px rgba(49, 91, 70, 0.22);
}

.button.primary:hover {
  background: var(--primary-2);
}

.button.secondary {
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--border);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.quick-facts li,
.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  font-weight: 700;
  color: #405044;
}

.hero-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-image figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 76px 0;
}

.muted {
  background: var(--surface-2);
}

.intro-grid,
.split-grid,
.contact-grid,
.price-grid {
  grid-template-columns: 1fr 1fr;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.contact-card,
.inquiry-form,
.price-card,
.info-card,
.feature-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 40px rgba(31, 48, 37, 0.08);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 1.4rem;
}

.rounded-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.text-link {
  font-weight: 850;
}

.cta {
  padding-top: 0;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #4e7658);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.cta-box .eyebrow,
.cta-box p,
.cta-box a {
  color: white;
}

.cta-box .button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.page-hero {
  padding: 74px 0;
  background:
    linear-gradient(rgba(255, 250, 241, 0.85), rgba(255, 250, 241, 0.95)),
    url("../../images/haus_neu-1002.jpg") center / cover;
  border-bottom: 1px solid var(--border);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
}

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

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.image-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(31, 48, 37, 0.12);
}

.price-placeholder {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.06em;
  margin: 16px 0;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(31, 48, 37, 0.12);
  background: var(--surface-2);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.small-note {
  color: var(--muted);
  margin-top: 18px;
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 18, 13, 0.84);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lightbox button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.contact-card a,
.site-footer a {
  color: inherit;
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fffefa;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(49, 91, 70, 0.18);
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h2 {
  margin-top: 34px;
}

.site-footer {
  padding: 54px 0;
  color: #edf4ed;
  background: #19251c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer p {
  color: rgba(237, 244, 237, 0.82);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

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

  .main-nav .nav-button {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .intro-grid,
  .split-grid,
  .contact-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .cards,
  .feature-grid,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-text small {
    display: none;
  }

  .main-nav {
    top: 72px;
    left: 14px;
    right: 14px;
  }

  .section {
    padding: 54px 0;
  }

  .page-hero {
    padding: 52px 0;
  }

  .cards,
  .feature-grid,
  .image-strip,
  .gallery,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }
}

.price-table-wrap {
  overflow-x: auto;
  margin: 22px 0 16px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fffefa;
}

.price-table th,
.price-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table th {
  color: white;
  background: var(--primary);
  font-weight: 850;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child {
  font-weight: 850;
  color: var(--primary);
  white-space: nowrap;
}

/* Modernisierung mit stärkerem Ökoregion-Bezug */
:root {
  --bg: #fbf7ed;
  --surface: #fffdf7;
  --surface-2: #edf3e8;
  --text: #17251d;
  --muted: #5e6d60;
  --primary: #2f6b4f;
  --primary-2: #214d39;
  --accent: #d99a3f;
  --accent-soft: #fff0d4;
  --border: rgba(23, 37, 29, 0.12);
  --shadow: 0 28px 80px rgba(26, 55, 40, 0.16);
}

body {
  background:
    radial-gradient(circle at 4% 12%, rgba(217, 154, 63, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 6%, rgba(47, 107, 79, 0.10), transparent 28rem),
    var(--bg);
}

.site-header {
  background: rgba(251, 247, 237, 0.80);
}

.brand-mark {
  background: linear-gradient(135deg, #2f6b4f, #79a66c);
}

.main-nav a {
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.eco-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
}

.eco-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.45), transparent 55%),
    radial-gradient(circle at 75% 45%, rgba(217,154,63,0.20), transparent 16rem);
}

.eco-hero .container {
  position: relative;
}

.eco-hero h1 {
  max-width: 11ch;
}

.floating-card {
  transform: rotate(1.2deg);
  border: 10px solid rgba(255, 253, 247, 0.86);
}

.floating-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--text);
}

.floating-card figcaption span {
  color: var(--muted);
}

.eco-intro {
  padding-bottom: 54px;
}

.modern-cards {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.modern-card {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,253,247,0.96));
  box-shadow: 0 18px 52px rgba(26, 55, 40, 0.10);
}

.modern-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(47, 107, 79, 0.08);
}

.modern-card.feature {
  background:
    linear-gradient(135deg, rgba(47, 107, 79, 0.94), rgba(93, 135, 76, 0.94)),
    url("../../images/haus_neu-1002.jpg") center / cover;
  color: white;
}

.modern-card.feature p,
.modern-card.feature .text-link {
  color: rgba(255,255,255,0.88);
}

.modern-card.feature .icon {
  background: rgba(255,255,255,0.16);
}

.region-band {
  background:
    linear-gradient(135deg, rgba(33, 77, 57, 0.94), rgba(47, 107, 79, 0.90)),
    url("../../images/haus_neu-1002.jpg") center / cover;
  color: white;
}

.region-band h2,
.region-band p,
.region-band .eyebrow,
.region-band a {
  color: white;
}

.region-band-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.region-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.region-stats div {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 22px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.region-stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.region-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.82);
}

.region-hero {
  background:
    linear-gradient(90deg, rgba(251,247,237,0.88), rgba(251,247,237,0.54)),
    url("../../images/haus_neu-1002.jpg") center / cover;
}

.cta-box.light {
  color: var(--text);
  background: linear-gradient(135deg, #fffdf7, #edf3e8);
}

.cta-box.light .eyebrow,
.cta-box.light p,
.cta-box.light h2 {
  color: var(--text);
}

.cta-box.light .button.primary {
  color: white;
}

@media (max-width: 920px) {
  .modern-cards,
  .region-band-inner {
    grid-template-columns: 1fr;
  }

  .eco-hero h1 {
    max-width: none;
  }

  .floating-card {
    transform: none;
  }
}

@media (max-width: 620px) {
  .modern-card {
    min-height: auto;
    border-radius: 24px;
  }

  .floating-card figcaption {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Onepage-Ergänzung */
.onepage-body section[id] {
  scroll-margin-top: 96px;
}

.onepage-nav a[href^="#"] {
  white-space: nowrap;
}

.onepage-gallery {
  margin-top: 34px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 920px) {
  .onepage-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .onepage-body section[id] {
    scroll-margin-top: 78px;
  }

  .onepage-gallery {
    grid-template-columns: 1fr;
  }
}

.single-price-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: start;
}

.price-card-wide {
  min-width: 0;
}

.price-table td:first-child {
  font-weight: 850;
  color: var(--primary);
}

@media (max-width: 920px) {
  .single-price-grid {
    grid-template-columns: 1fr;
  }
}

/* Logo-Einbindung */
.logo-brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(150px, 18vw, 235px);
  height: auto;
  max-height: 74px;
  object-fit: contain;
}

.hero-logo-badge {
  width: min(260px, 72vw);
  height: auto;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--border);
  box-shadow: 0 18px 52px rgba(26, 55, 40, 0.10);
}

@media (max-width: 620px) {
  .brand-logo {
    width: 148px;
    max-height: 58px;
  }

  .hero-logo-badge {
    width: min(220px, 78vw);
  }
}


/* Logo-Header-Abstand */
.header-inner {
  min-height: 92px;
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 76px;
  }
}

/* Logo nur in der Kopfzeile */
.logo-brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(170px, 19vw, 255px);
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.hero-logo-badge {
  display: none;
}

@media (max-width: 620px) {
  .brand-logo {
    width: 155px;
    max-height: 60px;
  }
}

/* Finale Logo-Position im Header */
.site-header .logo-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-header .brand-logo {
  display: block;
  width: clamp(190px, 20vw, 270px);
  height: auto;
  max-height: 82px;
  object-fit: contain;
}

.hero-logo-badge {
  display: none !important;
}

@media (max-width: 620px) {
  .site-header .brand-logo {
    width: 162px;
    max-height: 62px;
  }
}

/* Schönerer Header */
.refined-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 0 12px;
  background:
    linear-gradient(180deg, rgba(251, 247, 237, 0.98), rgba(251, 247, 237, 0.82));
  backdrop-filter: blur(18px);
  border-bottom: 0;
  box-shadow: 0 10px 34px rgba(23, 37, 29, 0.07);
}

.header-top {
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  font-size: 0.9rem;
}

.header-top-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-top a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.header-top a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.region-note {
  font-weight: 750;
  letter-spacing: 0.01em;
}

.header-shell {
  position: relative;
  min-height: 86px;
  margin-top: 12px;
  padding: 10px 14px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(23, 37, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 18px 55px rgba(26, 55, 40, 0.12);
}

.refined-header .logo-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.refined-header .brand-logo {
  display: block;
  width: clamp(190px, 19vw, 270px);
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

.refined-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1;
}

.refined-header .main-nav a {
  color: var(--text);
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.refined-header .main-nav a:hover,
.refined-header .main-nav a.active {
  color: var(--primary-2);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.refined-header .main-nav .nav-button {
  margin-left: 8px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #5f8f64);
  box-shadow: 0 12px 24px rgba(47, 107, 79, 0.22);
}

.refined-header .main-nav .nav-button:hover {
  color: white;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.refined-header .nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(23, 37, 29, 0.08);
}

.refined-header .nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
}

/* Hero-Abstand passend zum neuen Header */
.eco-hero {
  padding-top: 68px;
}

@media (max-width: 1060px) {
  .refined-header .brand-logo {
    width: clamp(170px, 24vw, 230px);
  }

  .refined-header .main-nav a {
    padding-inline: 10px;
    font-size: 0.95rem;
  }
}

@media (max-width: 920px) {
  .refined-header {
    padding-bottom: 10px;
  }

  .header-shell {
    min-height: 76px;
    border-radius: 28px;
  }

  .refined-header .nav-toggle {
    display: block;
  }

  .refined-header .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 300;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(23, 37, 29, 0.12);
    border-radius: 24px;
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 22px 70px rgba(26, 55, 40, 0.18);
  }

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

  .refined-header .main-nav a {
    padding: 13px 14px;
  }

  .refined-header .main-nav .nav-button {
    margin: 6px 0 0;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .header-top-inner {
    min-height: auto;
    padding-block: 8px;
    flex-direction: column;
    gap: 3px;
    text-align: center;
    font-size: 0.82rem;
  }

  .header-contact {
    gap: 6px;
    white-space: normal;
    justify-content: center;
  }

  .header-shell {
    width: min(100% - 22px, var(--container));
    margin-top: 8px;
    padding: 9px 10px 9px 13px;
    border-radius: 24px;
  }

  .refined-header .brand-logo {
    width: 156px;
    max-height: 58px;
  }

  .refined-header .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .eco-hero {
    padding-top: 46px;
  }
}

/* Startbild größer und ohne Bildtext */
.hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.hero-image {
  border-radius: 34px;
}

.hero-image img {
  width: 100%;
  min-height: clamp(440px, 48vw, 680px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-image figcaption {
  display: none !important;
}

.floating-card {
  transform: none;
  border-width: 8px;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    min-height: clamp(360px, 72vw, 560px);
  }
}

@media (max-width: 620px) {
  .hero-image {
    border-radius: 24px;
  }

  .hero-image img {
    min-height: 330px;
  }
}

/* Startbild zentriert */
.hero-image {
  justify-self: center;
  width: 100%;
}

.hero-image img {
  object-position: center center;
}

.hero-grid {
  align-items: center;
}

/* Startbild: ganzes Haus sichtbar */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fffdf7, #edf3e8);
}

.hero-image img {
  width: 100%;
  height: auto;
  min-height: 0 !important;
  max-height: 680px;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 920px) {
  .hero-image img {
    max-height: none;
  }
}

/* Text oberhalb des Startbildes */
.hero-image-headline {
  justify-self: center;
  width: 100%;
  max-width: 760px;
  margin: 0 0 16px;
  padding: 0 10px;
  color: var(--primary-2);
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-align: center;
}

.hero-image-headline + .hero-image {
  margin-top: 0;
}

@media (max-width: 920px) {
  .hero-image-headline {
    margin-top: 8px;
  }
}

/* Bestehende Hero-Überschrift über dem Startbild */
.hero-image-headline {
  justify-self: center;
  width: 100%;
  max-width: 820px;
  margin: 0 0 18px;
  padding: 0 10px;
  color: var(--primary-2);
  font-size: clamp(1.75rem, 3.4vw, 3.45rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-align: center;
}

.hero-image-headline + .hero-image {
  margin-top: 0;
}

/* Neuer Startbereich mit besserer Aufteilung */
.start-redesign {
  padding: clamp(42px, 6vw, 82px) 0 clamp(54px, 7vw, 96px);
  overflow: hidden;
}

.start-redesign::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 154, 63, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(47, 107, 79, 0.14), transparent 24rem);
}

.start-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.start-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.start-copy h1 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(2.55rem, 5.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.start-copy .lead {
  max-width: 58ch;
  color: #415146;
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
}

.start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.start-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.start-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-2);
  background: rgba(255, 253, 247, 0.72);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(26, 55, 40, 0.07);
}

.start-visual {
  position: relative;
  z-index: 1;
  justify-self: stretch;
}

.start-image {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: clamp(390px, 42vw, 620px);
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(23, 37, 29, 0.12);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(237, 243, 232, 0.96));
  box-shadow: 0 30px 90px rgba(26, 55, 40, 0.17);
}

.start-image img {
  width: 100%;
  height: auto;
  max-height: 570px;
  object-fit: contain;
  object-position: center center;
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(26, 55, 40, 0.12);
}

.start-badge {
  position: absolute;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  max-width: min(280px, calc(100% - 32px));
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, rgba(47, 107, 79, 0.94), rgba(33, 77, 57, 0.90));
  box-shadow: 0 18px 42px rgba(26, 55, 40, 0.22);
  backdrop-filter: blur(12px);
}

.start-badge strong,
.start-badge span {
  display: block;
}

.start-badge strong {
  font-size: 1.05rem;
}

.start-badge span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

/* Alte Hero-Bildregeln im neuen Startbereich neutralisieren */
.start-redesign .hero-image,
.start-redesign .hero-image-headline {
  display: none !important;
}

@media (max-width: 980px) {
  .start-layout {
    grid-template-columns: 1fr;
  }

  .start-copy {
    max-width: 760px;
  }

  .start-image {
    min-height: auto;
  }

  .start-image img {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .start-redesign {
    padding-top: 34px;
  }

  .start-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.55rem);
  }

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

  .start-actions .button {
    width: 100%;
  }

  .start-image {
    padding: 10px;
    border-radius: 26px;
  }

  .start-image img {
    border-radius: 18px;
  }

  .start-badge {
    position: static;
    margin: 12px auto 0;
    color: var(--text);
    background: rgba(255, 253, 247, 0.94);
    border-color: var(--border);
  }

  .start-badge span {
    color: var(--muted);
  }
}

/* Text/Badge beim Hausbild entfernt */
.start-badge {
  display: none !important;
}

/* Überschrift über dem Hausbild */
.start-image-headline {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2rem, 3.7vw, 3.55rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-align: center;
}

@media (max-width: 620px) {
  .start-image-headline {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
    margin-bottom: 14px;
  }
}

/* Start-Überschrift über volle Seitenbreite */
.start-full-headline {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto clamp(12px, 2vw, 24px);
  color: var(--text);
  font-size: clamp(2.45rem, 6.2vw, 6.4rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.08em;
  text-align: center;
}

.start-image-headline {
  display: none !important;
}

@media (max-width: 980px) {
  .start-full-headline {
    text-align: left;
    max-width: 760px;
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .start-full-headline {
    font-size: clamp(2.25rem, 12vw, 3.75rem);
    letter-spacing: -0.065em;
  }
}

/* Hausbild ohne Rahmen direkt neben dem Text */
.start-full-headline,
.start-image-headline,
.start-badge {
  display: none !important;
}

.start-layout {
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
}

.start-copy h1 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(2.55rem, 5.2vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.start-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-image {
  margin: 0;
  display: block;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.start-image img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: center center;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .start-layout {
    grid-template-columns: 1fr;
  }

  .start-image img {
    max-height: none;
  }
}
