* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #1f9d58;
  --green-dark: #14763f;
  --green-soft: #eaf7f0;
  --blue: #0c1f3f;
  --text: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #f7faf8;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(31, 33, 37, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  background: var(--green);
  color: white;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(31, 157, 88, 0.22);
  transition: 0.2s ease;
  text-align: center;
}

.btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: white;
  color: var(--green);
  border: 1px solid #cfeadb;
  box-shadow: none;
}

header {
  height: 82px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--blue);
  white-space: nowrap;
}

.brand img {
  height: 66px;
  width: auto;
  display: block;
  border-radius: 8px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
  color: #344054;
}

.nav-menu a {
  transition: 0.2s ease;
}

.nav-menu a:hover {
  color: var(--green);
}

.hero {
  min-height: calc(100vh - 82px);
  position: relative;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(247, 250, 248, 0.96) 0%, rgba(247, 250, 248, 0.88) 42%, rgba(247, 250, 248, 0.36) 72%, rgba(247, 250, 248, 0.18) 100%),
    url("hero.jpg");
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(247,250,248,0), var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
}

.hero-simple {
  min-height: auto;
  background: white;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.local-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0faf4 100%);
}

.local-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: start;
}

.local-copy {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}

.local-copy h2 {
  color: var(--blue);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.local-copy h3 {
  color: var(--blue);
  font-size: 22px;
  margin: 26px 0 10px;
}

.local-copy p,
.local-copy li {
  color: #344054;
  margin-bottom: 12px;
}

.local-copy ul {
  padding-left: 20px;
}

.local-form-wrap {
  position: sticky;
  top: 104px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 157, 88, 0.10);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 24px;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2.7px;
  color: var(--blue);
  margin-bottom: 22px;
  font-weight: 950;
}

h1 span {
  color: var(--green);
}

.hero p,
.lead {
  max-width: 620px;
  font-size: 19px;
  color: #344054;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-list,
.partner-points {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.trust-item,
.partner-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue);
}

.mini-check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--green-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex: 0 0 auto;
  font-weight: 900;
}

.form-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.form-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.form-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  color: var(--green);
  flex: 0 0 auto;
}

.form-icon svg {
  width: 30px;
  height: 30px;
}

.form-card h2 {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--blue);
}

.hint {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}

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

.field {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 850;
  color: #344054;
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  height: 48px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: white;
  color: var(--text);
  font: inherit;
  padding: 0 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 157, 88, 0.12);
}

.privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 16px;
}

.privacy input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.submit {
  width: 100%;
  border-radius: 14px;
  height: 56px;
}

.secure {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.completion-state {
  display: none;
  text-align: center;
  padding: 38px 18px;
}

.completion-state.active {
  display: block;
}

.form-card.processing .form-fields {
  display: none;
}

.loader {
  width: 58px;
  height: 58px;
  border: 5px solid #d8efe2;
  border-top: 5px solid var(--green);
  border-radius: 50%;
  margin: 0 auto 22px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.done-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-size: 34px;
  font-weight: 950;
}

.error-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fee4e2;
  color: #b42318;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-size: 34px;
  font-weight: 950;
}

.completion-state h3 {
  color: var(--blue);
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.completion-state p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto 22px;
  max-width: 340px;
}

section {
  padding: 76px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

.section-head h2,
.page-title {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  color: var(--blue);
  letter-spacing: -1.5px;
}

.section-head p {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.trust-bar {
  margin-top: -40px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}

.trust-box {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-box:last-child {
  border-right: none;
}

.professional-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.professional-icon svg {
  width: 28px;
  height: 28px;
}

.trust-box h3,
.service-card h3,
.step h3 {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.trust-box p,
.service-card p,
.step p {
  color: var(--muted);
  font-size: 14px;
}

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

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
  min-height: 250px;
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(16, 24, 40, 0.10);
}

.learn-more {
  margin-top: 22px;
  color: var(--green);
  font-weight: 900;
  display: inline-flex;
}

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

.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.partner-section {
  background: linear-gradient(135deg, #eef8f2 0%, #ffffff 55%, #eef8f2 100%);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 46px;
  background: linear-gradient(135deg, #eaf7f0 0%, #ffffff 56%, #eaf7f0 100%);
  border: 1px solid #d9efe2;
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.06);
}

.cta-box h2 {
  color: var(--blue);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--muted);
  font-size: 17px;
}

.content-page {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
  max-width: 900px;
}

.content-page h2 {
  color: var(--blue);
  font-size: 28px;
  margin: 24px 0 10px;
}

.content-page p,
.content-page li {
  color: #344054;
  margin-bottom: 12px;
}

.content-page ul {
  padding-left: 20px;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.area-list a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  font-weight: 800;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.area-list a:hover {
  border-color: #b8e3ca;
  color: var(--green);
}

footer {
  background: var(--blue);
  color: white;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

footer h3,
footer h4 {
  margin-bottom: 12px;
}

footer p,
footer a {
  color: rgba(255,255,255,0.72);
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

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

  .hero-grid,
  .partner-grid,
  .local-page-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero {
    background-position: center;
  }

  .form-card {
    max-width: 560px;
  }

  .local-form-wrap {
    position: static;
  }

  .trust-bar,
  .cards,
  .steps,
  .footer-grid,
  .area-list {
    grid-template-columns: 1fr 1fr;
  }
}

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

  header,
  .nav {
    height: 72px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    height: 34px;
  }

  .nav-btn {
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(247,250,248,0.97) 0%, rgba(247,250,248,0.90) 58%, rgba(247,250,248,0.76) 100%),
      url("hero.jpg");
  }

  .hero-grid {
    padding: 46px 0 62px;
  }

  h1 {
    letter-spacing: -1.6px;
  }

  .hero p {
    font-size: 17px;
  }

  .form-row,
  .trust-bar,
  .cards,
  .steps,
  .footer-grid,
  .cta-box,
  .area-list {
    grid-template-columns: 1fr;
  }

  .trust-box {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .trust-box:last-child {
    border-bottom: none;
  }

  .cta-box {
    padding: 32px 24px;
    text-align: center;
  }

  .content-page,
  .local-copy {
    padding: 28px;
  }
}


/* === PflegeSuche24 System Upgrade: zentraler Header/Footer + Mobile Menü + SEO Seiten === */

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
}

.mobile-cta {
  display: none;
}

.seo-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0faf4 100%);
}

.seo-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: start;
}

.seo-copy {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}

.seo-copy h2 {
  color: var(--blue);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1.1px;
  margin: 0 0 16px;
}

.seo-copy h3 {
  color: var(--blue);
  font-size: 22px;
  margin: 26px 0 10px;
}

.seo-copy p,
.seo-copy li {
  color: #344054;
  margin-bottom: 12px;
}

.seo-copy ul {
  padding-left: 20px;
}

.seo-form-wrap {
  position: sticky;
  top: 104px;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.seo-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(16,24,40,0.04);
}

.seo-links a:hover {
  color: var(--green);
  border-color: #b8e3ca;
}

.faq-box {
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin-top: 14px;
}

.faq-box h3 {
  margin-top: 0;
}

@media (max-width: 1050px) {
  .desktop-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    display: none !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 9999;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu a {
    width: 100%;
    font-size: 16px;
    font-weight: 800;
  }

  .mobile-cta {
    display: flex !important;
    margin-top: 10px;
    justify-content: center;
    background: var(--green);
    color: white !important;
    border-radius: 14px;
    padding: 14px 18px;
  }

  .seo-page-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .seo-form-wrap {
    position: static;
  }
}

@media (max-width: 700px) {
  .seo-copy {
    padding: 28px;
  }

  .seo-links {
    grid-template-columns: 1fr;
  }
}
.site-header {
  height: 86px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 24, 40, 0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-shell {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--blue);
}

.brand img {
  height: 58px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.brand-text {
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.8px;
  line-height: 1;
}

.brand-text span {
  color: var(--green);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  font-size: 14px;
  font-weight: 850;
  color: #344054;
}

.nav-menu a {
  white-space: nowrap;
  transition: 0.2s ease;
}

.nav-menu a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.nav-btn {
  height: 48px;
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid #d9efe2;
  border-radius: 14px;
  background: var(--green-soft);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--green);
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-cta {
  display: none;
}

@media (max-width: 1180px) {
  .nav-menu {
    gap: 16px;
    font-size: 13px;
  }

  .brand-text {
    font-size: 21px;
  }

  .brand img {
    height: 52px;
  }
}

@media (max-width: 1050px) {
  .site-header {
    height: 76px;
  }

  .nav-shell {
    height: 76px;
  }

  .brand img {
    height: 42px;
  }

  .brand-text {
    font-size: 21px;
  }

  .desktop-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.14);
    z-index: 1001;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 850;
  }

  .nav-menu a:hover {
    background: var(--green-soft);
  }

  .mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: white !important;
    margin-top: 8px;
  }

  .mobile-cta:hover {
    background: var(--green-dark) !important;
  }
}

@media (max-width: 520px) {
  .brand-text {
    display: none;
  }

  .brand img {
    height: 46px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }
}