.topbar a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.topbar a:hover,
.footer-contact a:hover {
  text-decoration: underline;
}

.service-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-link-grid a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(16, 40, 30, .14);
  border-radius: 18px;
  color: #10281e;
  background: linear-gradient(145deg, #fff 0%, #f3f8f4 100%);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-link-grid a:hover {
  transform: translateY(-3px);
  border-color: #5f9f45;
  box-shadow: 0 16px 34px rgba(20, 52, 38, .12);
}

.service-link-grid span {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #386b29;
  background: #e8f3e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-link-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.service-link-grid small {
  color: #52675d;
  font-size: 14px;
}

.seo-page {
  margin: 0;
  color: #10281e;
  background:
    radial-gradient(circle at 12% 8%, rgba(142, 197, 108, .28), transparent 28rem),
    linear-gradient(180deg, #f8fbf7 0%, #fff 42%, #f1f6f2 100%);
  font-family: "Inter", sans-serif;
}

.seo-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(16, 40, 30, .12);
  background: rgba(250, 252, 249, .94);
  backdrop-filter: blur(16px);
}

.seo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #10281e;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.seo-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #4d8b36;
}

.seo-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.seo-nav-links a {
  color: #2d493b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.seo-nav-links .seo-nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: #10281e;
}

.seo-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  padding: 76px 0 60px;
}

.seo-kicker {
  margin: 0 0 12px;
  color: #4d8b36;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
}

.seo-lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: #496055;
  font-size: 19px;
  line-height: 1.65;
}

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

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #10281e;
  border-radius: 999px;
  color: #fff;
  background: #10281e;
  font-weight: 800;
  text-decoration: none;
}

.seo-button.secondary {
  color: #10281e;
  background: transparent;
}

.seo-hero-media {
  position: relative;
}

.seo-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  border-radius: 32px 32px 10px 32px;
  box-shadow: 0 28px 70px rgba(16, 40, 30, .18);
}

.seo-price-note {
  position: absolute;
  right: -16px;
  bottom: 24px;
  max-width: 230px;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  background: #4d8b36;
  box-shadow: 0 18px 40px rgba(16, 40, 30, .2);
}

.seo-price-note strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.seo-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(16, 40, 30, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 40, 30, .08);
}

.seo-proof div {
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.seo-section {
  padding: 80px 0;
}

.seo-section h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.seo-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: #52675d;
  font-size: 18px;
  line-height: 1.7;
}

.seo-card-grid,
.seo-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.seo-card,
.seo-step {
  padding: 26px;
  border: 1px solid rgba(16, 40, 30, .12);
  border-radius: 22px;
  background: #fff;
}

.seo-card h3,
.seo-step h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
}

.seo-card p,
.seo-step p {
  margin: 0;
  color: #5a6d64;
  line-height: 1.65;
}

.seo-step span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #4d8b36;
  font-weight: 900;
}

.seo-faq {
  display: grid;
  gap: 12px;
  max-width: 840px;
  margin-top: 30px;
}

.seo-faq details {
  padding: 20px 22px;
  border: 1px solid rgba(16, 40, 30, .14);
  border-radius: 16px;
  background: #fff;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 850;
}

.seo-faq p {
  margin: 14px 0 0;
  color: #566c61;
  line-height: 1.65;
}

.seo-crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.seo-crosslinks a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #274f34;
  background: #e9f3e7;
  font-weight: 750;
  text-decoration: none;
}

.seo-cta {
  margin: 30px auto 90px;
  padding: 46px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #10281e 0%, #315c3d 100%);
}

.seo-cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 5vw, 54px);
}

.seo-cta p {
  max-width: 720px;
  color: #d5e4d9;
  line-height: 1.65;
}

.seo-footer {
  padding: 36px 20px;
  color: #d7e3da;
  background: #0d2118;
  text-align: center;
}

.seo-footer a {
  color: #fff;
}

@media (max-width: 820px) {
  .service-link-grid,
  .seo-hero,
  .seo-proof,
  .seo-card-grid,
  .seo-process {
    grid-template-columns: 1fr;
  }

  .seo-nav-links a:not(.seo-nav-cta) {
    display: none;
  }

  .seo-hero {
    gap: 34px;
    padding-top: 50px;
  }

  .seo-price-note {
    right: 12px;
  }

  .seo-proof div {
    border-bottom: 1px solid rgba(16, 40, 30, .1);
  }

  .seo-proof div:last-child {
    border-bottom: 0;
  }

  .seo-cta {
    padding: 32px 24px;
  }
}

/* Calculator UX: reveal the price first, then ask for contact details. */
.hero .copy h1 {
  max-width: 690px;
  font-size: clamp(54px, 5.25vw, 72px);
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero .copy h2 {
  max-width: 620px;
  margin-top: 16px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero .copy .beratung-line {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(17px, 1.75vw, 23px);
  line-height: 1.4;
}

.calc {
  overflow: hidden;
  border: 1px solid rgba(26, 84, 32, .18);
  border-top: 4px solid #43a91a;
  box-shadow: 0 24px 70px rgba(3, 24, 17, .28);
}

.calc h3 {
  margin-bottom: 4px;
  letter-spacing: -.025em;
}

.calc > label {
  margin-top: 10px;
  color: #132219;
  font-size: 13px;
  font-weight: 850;
}

.calc > input,
.calc .stepper-wrap {
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.calc > input:focus,
.calc .stepper-wrap:focus-within {
  border-color: #54a934;
  box-shadow: 0 0 0 4px rgba(84, 169, 52, .14);
}

.calc-guidance {
  margin: 12px 0 0;
  padding: 11px 13px;
  border: 1px solid #dbe9d7;
  border-radius: 12px;
  color: #3d5345;
  background: #f5faf3;
  font-size: 12px;
  line-height: 1.45;
}

.calc-guidance strong {
  color: #286f18;
}

.price-reveal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  align-items: center;
  margin: 12px 0 10px;
  padding: 14px 16px;
  border: 1px solid #9bc98b;
  border-radius: 15px;
  background: linear-gradient(135deg, #eef8ea 0%, #fff 100%);
}

.price-reveal .price-label,
.price-reveal .reveal-note {
  margin: 0;
}

.price-reveal .price-label {
  color: #315b2a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.price-reveal .price {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #2e8618;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  white-space: nowrap;
}

.price-reveal .reveal-note {
  max-width: 245px;
  color: #5a6a60;
  font-size: 10px;
  line-height: 1.35;
}

.price-reveal.is-empty {
  grid-template-columns: 1fr;
  border-style: dashed;
  border-color: #cbd8c8;
  background: #f8faf8;
}

.price-reveal.is-empty .price {
  grid-row: auto;
  grid-column: 1;
  color: #66746b;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  white-space: normal;
}

.price-reveal.is-empty .reveal-note {
  display: none;
}

.offer-teaser {
  margin: 8px 0 10px;
  padding-left: 12px;
  border-left: 3px solid #5eb936;
}

.offer-teaser .offer-ready,
.offer-teaser .offer-sub {
  margin: 0;
}

.offer-teaser .offer-ready {
  color: #244d25;
  font-size: 13px;
  font-weight: 850;
}

.offer-teaser .offer-sub {
  margin-top: 2px;
  color: #617067;
  font-size: 11px;
  line-height: 1.35;
}

.calc-form {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #dfe6e1;
}

.calc.calc-ready .calc-form {
  display: grid;
  animation: calculator-contact-in .35s ease both;
}

.form-section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  color: #14231a;
  font-size: 13px;
  font-weight: 900;
}

.form-section-title span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #378e1e;
}

.calc-form label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
}

.calc-form label:nth-of-type(3),
.calc-form .btn,
.calc-form .offer-hint {
  grid-column: 1 / -1;
}

.calc-form input {
  min-height: 46px;
  margin-top: 4px;
  border-color: #d4ded7;
  border-radius: 11px;
  background: #fff;
}

.calc-form input:focus {
  border-color: #54a934;
  box-shadow: 0 0 0 4px rgba(84, 169, 52, .14);
}

.calc-form .btn {
  min-height: 46px;
  margin-top: 2px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(47, 141, 22, .22);
}

.calc .lock {
  margin-top: 8px;
}

@keyframes calculator-contact-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 620px) {
  .hero .copy h1 {
    font-size: clamp(44px, 13.5vw, 58px);
  }

  .hero .copy h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .price-reveal {
    grid-template-columns: 1fr;
  }

  .price-reveal .price {
    grid-row: auto;
    grid-column: 1;
    font-size: 28px;
  }

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

  .calc-form label,
  .calc-form label:nth-of-type(3),
  .calc-form .btn,
  .calc-form .offer-hint {
    grid-column: 1;
  }
}

/* Final responsive QA refinements */
.calc .calc-form {
  display: none !important;
}

.calc .price-reveal {
  display: none !important;
}

.calc.calc-ready .price-reveal {
  display: grid !important;
}

.calc.calc-ready .calc-form {
  display: grid !important;
}

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

.area-field {
  min-width: 0;
}

.area-field > label {
  display: block;
  white-space: nowrap;
}

.calc .area-field .stepper-wrap {
  min-width: 0;
}

.calc .area-field .stepper-btn {
  width: 34px !important;
  min-width: 34px !important;
  height: 40px !important;
  padding: 0 !important;
}

.calc .area-field input {
  min-width: 0;
  height: 40px !important;
  padding-inline: 4px !important;
  text-align: center;
}

.calc .price-reveal:not(.is-empty) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 3px;
  padding: 10px 12px;
  text-align: center;
}

.calc .price-reveal:not(.is-empty) .price-label {
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.calc .price-reveal:not(.is-empty) .price {
  grid-area: auto;
  font-size: 36px;
  line-height: 1;
}

.calc .price-reveal:not(.is-empty) .reveal-note {
  max-width: none;
  font-size: 10px;
  line-height: 1.3;
}

.contact {
  background:
    radial-gradient(circle at 8% 16%, rgba(128, 199, 91, 0.16), transparent 28%),
    linear-gradient(135deg, #f3f6ef 0%, #eef2ef 52%, #f8f8f4 100%);
}

.contact-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.contact-intro,
.contact-card {
  min-width: 0;
}

.contact-intro h2 {
  max-width: 540px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.contact-lede {
  max-width: 520px;
  margin: 0 0 24px;
  color: #536158;
  font-size: 17px;
  line-height: 1.6;
}

.contact-channels {
  display: grid;
  gap: 9px;
}

.contact-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 11px 14px;
  border: 1px solid rgba(35, 85, 48, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: #102d22;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-channel:hover {
  transform: translateY(-1px);
  border-color: rgba(52, 139, 33, 0.42);
  box-shadow: 0 9px 24px rgba(24, 54, 34, 0.08);
}

.contact-channel span {
  color: #67746b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-channel strong {
  font-size: 15px;
}

.contact-channel-whatsapp {
  border-color: rgba(52, 139, 33, 0.28);
  background: linear-gradient(135deg, rgba(224, 246, 216, 0.9), rgba(255, 255, 255, 0.88));
}

.contact-response {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 18px 0 0;
  color: #5d6a62;
  font-size: 13px;
}

.contact-response strong {
  color: #2f8d16;
}

.contact-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(31, 73, 43, 0.12);
  border-top: 4px solid #4eaa2d;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(26, 48, 34, 0.13);
}

.contact-card-kicker {
  margin: 0 0 6px;
  color: #398c22;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0 0 20px;
  color: #102d22;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.05;
}

.contact-card form {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

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

.contact-form-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  color: #1a3127;
  font-size: 12px;
  font-weight: 800;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #d8e1da;
  border-radius: 11px;
  background: #fbfcfb;
  font: inherit;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-card input {
  min-height: 48px;
  padding: 10px 12px;
}

.contact-card textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: #54a934;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(84, 169, 52, 0.13);
}

.contact-card .btn {
  width: 100%;
  min-height: 50px;
  margin: 16px 0 0;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(47, 141, 22, 0.22);
}

.contact-form-note {
  margin: 9px 0 0;
  color: #6b786f;
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .contact-intro h2 {
    font-size: clamp(38px, 11vw, 50px);
  }
}

@media (max-width: 520px) {
  .contact-channel {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .contact-card {
    padding: 20px;
    border-radius: 18px;
  }

  .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-field-wide {
    grid-column: 1;
  }
}

.seo-hero > * {
  min-width: 0;
}

.seo-hero h1 {
  hyphens: auto;
  overflow-wrap: anywhere;
}

@media (min-width: 951px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px !important;
  }

  .calc {
    width: 320px !important;
  }
}

@media (max-width: 620px) {
  .seo-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-hero > * {
    width: 100%;
  }
}
