:root {
  --header-title: #2b2b2b;
  --nav-link: #3a3a3a;
  --section-bg: #f6f4ef;
  --section-bg-2: #efece5;
  --section-bg-3: #e7e2d8;
  --surface: #ffffff;
  --border: #d8d2c8;
  --text-heading: #2b2b2b;
  --text-body: #5c5c5c;
  --text-note: #6a6a6a;
  --link: #7daed8;
  --primary: #86b8e2;
  --primary-hover: #6ea3d0;
  --footer-bg: #6f95bc;
  --footer-link: #eae6df;
  --overlay: rgba(63, 97, 133, 0.35);
  --radius-card: 20px;
  --radius-button: 14px;
  --shadow-card: 0 15px 40px rgba(0, 0, 0, 0.05);
  --content-width: 1120px;
  --font-family-main: "FF Meta Pro", "Avenir Next", "Segoe UI", sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-heading: 600;
  --size-misc-lg: 1.2rem;
  --size-misc-md: 1rem;
  --size-misc-sm: 0.9rem;
  --size-misc-xs: 0.8rem;
  --size-para-lg: 1.25rem;
  --size-para-md: 1.1rem;
  --size-para-sm: 0.95rem;
  --size-btn-lg: 1.1rem;
  --size-btn-md: 1rem;
  --size-btn-sm: 0.85rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-main);
  font-size: var(--size-para-md);
  font-weight: var(--font-weight-regular);
  line-height: 1.65em;
  letter-spacing: 0;
  color: var(--text-body);
  background: linear-gradient(180deg, var(--section-bg) 0%, var(--section-bg-2) 55%, var(--section-bg-3) 100%);
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65rem;
  color: var(--text-heading);
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-heading);
  line-height: 1.25em;
  letter-spacing: 0;
}

h1 {
  font-size: 2.9rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 0.9rem;
  font-size: var(--size-para-md);
  font-weight: var(--font-weight-regular);
  line-height: 1.65em;
  letter-spacing: 0;
  color: var(--text-body);
}

.slogan-bar {
  display: none;
  background:
    radial-gradient(circle at 10% 50%, rgba(134, 184, 226, 0.25) 0%, rgba(134, 184, 226, 0) 42%),
    radial-gradient(circle at 92% 50%, rgba(134, 184, 226, 0.22) 0%, rgba(134, 184, 226, 0) 42%),
    linear-gradient(180deg, rgba(246, 244, 239, 0.99), rgba(239, 236, 229, 0.96));
  color: #2b3f56;
  padding: 0.8rem 1rem 0.7rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
}

.slogan-inner {
  max-width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.slogan-text {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: 0;
  color: #2b3f56;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.slogan-cta {
  grid-column: 3;
  justify-self: end;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 1.15rem;
  border-radius: 14px;
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2em;
  box-shadow: 0 8px 18px rgba(134, 184, 226, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.slogan-cta:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(110, 163, 208, 0.35);
  filter: saturate(1.05);
}

@media (min-width: 901px) {
  .slogan-bar {
    min-height: 72px;
  }

  .slogan-inner {
    min-height: 48px;
  }

  .slogan-text,
  .slogan-cta {
    white-space: nowrap;
  }
}

.slogan-bar::after {
  content: "";
  display: block;
  width: min(860px, 90%);
  margin: 0.65rem auto 0;
  border-bottom: 1px solid rgba(216, 210, 200, 0.9);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 244, 239, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.top-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem 1.1rem 0.9rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--header-title);
  letter-spacing: 0;
}

.brand-mark {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 14px;
  background: #7fb6e1;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 650;
  box-shadow: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.03;
}

.brand-title {
  font-size: clamp(1.8rem, 2.3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.05em;
  letter-spacing: 0;
  color: var(--header-title);
  white-space: nowrap;
}

.brand-sub {
  margin-top: 0.08rem;
  font-size: clamp(1.08rem, 1.38vw, 1.55rem);
  font-weight: var(--font-weight-regular);
  line-height: 1.2em;
  letter-spacing: 0;
  color: #686868;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 0.5rem 0.78rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--header-title);
  font-family: var(--font-family-main);
  font-size: var(--size-misc-md);
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
  letter-spacing: 0;
}

.nav-menu {
  margin-left: auto;
}

.nav-menu > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta {
  margin-left: 0.35rem;
}

.nav-menu a.nav-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 14px 26px;
  border-radius: var(--radius-button);
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff !important;
  font-size: var(--size-btn-md);
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
  letter-spacing: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-menu a.nav-cta-link:hover,
.nav-menu a.nav-cta-link:focus {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.nav-menu > ul > li.nav-cta > a.nav-cta-link::before {
  display: none;
}

.nav-menu a,
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.78rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--nav-link);
  font: inherit;
  font-size: var(--size-misc-md);
  font-weight: var(--font-weight-regular);
  line-height: 1.2em;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-menu > ul > li > a,
.nav-menu > ul > li > .submenu-toggle {
  position: relative;
  border-radius: 0;
  transition: color 0.26s ease;
}

.nav-menu > ul > li > a::before,
.nav-menu > ul > li > .submenu-toggle::before {
  content: "";
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center center;
  transition: transform 0.26s ease, opacity 0.26s ease;
  opacity: 0.72;
}

.submenu-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}

.has-submenu.open .submenu-toggle::after {
  transform: rotate(180deg);
}

.nav-menu a:hover,
.nav-menu a.active,
.submenu-toggle:hover,
.submenu-toggle.active,
.has-submenu.open .submenu-toggle {
  color: var(--header-title);
  background: transparent;
}

.nav-menu > ul > li > a:hover::before,
.nav-menu > ul > li > a.active::before,
.nav-menu > ul > li > .submenu-toggle:hover::before,
.nav-menu > ul > li > .submenu-toggle.active::before,
.has-submenu.open > .submenu-toggle::before {
  transform: scaleX(1);
  opacity: 1;
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  min-width: 250px;
  padding: 0.45rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  background: #ffffff;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  list-style: none;
}

.has-submenu.open .submenu {
  display: flex;
}

.submenu li {
  list-style: none;
}

.submenu a {
  justify-content: flex-start;
  padding: 0.5rem 0.65rem;
  color: var(--header-title);
}

.submenu a:hover,
.submenu a.active {
  background: rgba(134, 184, 226, 0.18);
  border-radius: 8px;
}

.hero-home {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(246, 244, 239, 0.24), rgba(246, 244, 239, 0.24)),
    url("../images/startseiten-hero-real.png") center/cover no-repeat;
}

.home-continuation {
  margin: 0;
}

.story-strip {
  min-height: clamp(220px, 28vw, 330px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.story-strip-top {
  background-image: url("../images/startseite-durchfuehrung-unten.jpeg");
}

.story-strip-bottom {
  background-image: url("../images/startseite-durchfuehrung-oben.png");
  background-position: center 62%;
}

.story-content-wrap {
  background: #efede8;
}

.story-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2.3rem, 6vw, 4.4rem) 1rem;
}

.story-copy {
  max-width: 920px;
  margin: 0 auto;
}

.story-copy h2 {
  margin-bottom: 0.95rem;
}

.home-panel-text {
  background: #efede8;
}

.home-panel-text-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2.2rem, 5.5vw, 4rem) 1rem;
  text-align: center;
}

.home-panel-copy {
  max-width: 740px;
  margin: 0 auto;
}

.home-panel-copy h2 {
  margin-bottom: 0.45rem;
}

.home-panel-subline {
  margin: 0 0 0.85rem;
  color: var(--text-heading);
  font-size: var(--size-para-lg);
  font-weight: var(--font-weight-heading);
  line-height: 1.25em;
  letter-spacing: 0;
}

.home-panel-copy p {
  margin: 0 auto 1.2rem;
}

.home-panel-image {
  min-height: clamp(240px, 30vw, 370px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-panel-image-gutachten {
  background-image: url("../images/startseite-psychotherapie-hero.jpeg");
}

.home-leistungen-end {
  background: #efede8;
}

.home-leistungen-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2.2rem, 5.5vw, 4.2rem) 1rem;
  text-align: center;
}

.home-leistungen-box {
  max-width: 760px;
  margin: 0 auto;
}

.home-leistungen-row {
  border-top: 0;
  padding: 0.95rem 0 0.9rem;
}

.home-leistungen-row:last-of-type {
  border-bottom: 0;
}

.home-leistungen-row h3 {
  margin-bottom: 0.2rem;
}

.home-leistungen-row p {
  margin: 0;
}

.home-leistungen-actions {
  margin-top: 1.35rem;
}

.home-leistungen-image {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  min-height: clamp(240px, 33vw, 420px);
  border: 1px solid var(--border);
  background: url("../images/startseite-leistungen-unten.png") center/cover no-repeat;
}

.nn-gutachten-grid-section {
  margin-top: 2.2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, #f4f2ec 0%, #eae5db 100%);
}

.nn-container {
  max-width: 1120px;
  margin: 0 auto;
}

.nn-gutachten-grid-section .nn-container {
  max-width: 1200px;
}

.nn-gutachten-intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 2.1rem;
  padding: 0;
  animation: nnFadeUp 0.8s ease forwards;
}

.nn-gutachten-intro h1 {
  margin-top: 0.85rem;
  margin-bottom: 0.65rem;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  color: #5f8dbd;
}

.nn-gutachten-subtitle {
  margin: 0 0 0.8rem;
  color: #3f6285;
  font-size: var(--size-para-lg);
  font-weight: var(--font-weight-heading);
  line-height: 1.25em;
}

.nn-gutachten-intro p {
  color: var(--text-body);
  line-height: 1.65em;
  font-size: var(--size-para-md);
  max-width: 74ch;
  margin-left: auto;
  margin-right: auto;
}

.nn-gutachten-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.nn-gutachten-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 3.4vw, 2.45rem);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: nnFadeUp 0.9s ease forwards;
}

.nn-gutachten-card::before {
  content: "";
  position: absolute;
  inset: -140% auto auto -36%;
  width: 58%;
  height: 300%;
  transform: rotate(22deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.44) 45%,
    rgba(255, 255, 255, 0) 92%
  );
  transition: transform 0.75s ease;
  pointer-events: none;
}

.nn-gutachten-card.card-1 {
  animation-delay: 0.2s;
  background: #e7eff0;
}

.nn-gutachten-card.card-2 {
  animation-delay: 0.35s;
  background: #ece6f2;
}

.nn-gutachten-card.card-3 {
  animation-delay: 0.5s;
  background: #e9f0e8;
}

.nn-gutachten-card.card-4 {
  animation-delay: 0.65s;
  background: #f2eae3;
}

.nn-gutachten-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--text-heading);
}

.nn-gutachten-card p {
  color: #4f4f4f;
  line-height: 1.65em;
}

.blog-selection-grid .nn-gutachten-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.blog-card-meta {
  margin: 0 0 0.45rem;
  font-size: var(--size-misc-xs);
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3e638b;
}

.blog-card-cta {
  margin-top: auto;
  width: fit-content;
}

.blog-coming-soon {
  cursor: default;
}

.blog-coming-soon:hover {
  transform: translateY(-5px);
}

.blog-card-soon {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 99, 139, 0.35);
  background: rgba(255, 255, 255, 0.62);
  color: #3e638b;
  font-size: var(--size-misc-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
}

.blog-topic-page {
  width: 100%;
  margin-top: 0.8rem;
}

.blog-topic-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.6rem;
}

.blog-topic-list {
  max-width: 920px;
  margin: 0 auto 1.4rem;
  display: grid;
  gap: 1rem;
}

.blog-topic-item {
  position: relative;
  overflow: hidden;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 236, 229, 0.78));
  box-shadow: var(--shadow-card);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.blog-topic-item::before {
  content: "";
  position: absolute;
  inset: -120% auto auto -30%;
  width: 52%;
  height: 260%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 48%, rgba(255, 255, 255, 0) 100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.blog-topic-item:hover {
  transform: translateY(-4px);
  border-color: rgba(134, 184, 226, 0.7);
  box-shadow: 0 22px 44px rgba(79, 128, 173, 0.16);
}

.blog-topic-item:hover::before {
  transform: translateX(220%) rotate(22deg);
}

.blog-topic-item h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}

.blog-back-btn,
.blog-back-btn:link,
.blog-back-btn:visited,
.blog-back-btn:hover,
.blog-back-btn:active,
.blog-back-btn:focus {
  color: #ffffff !important;
}

.nn-gutachten-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.11);
  filter: saturate(1.03);
}

.nn-gutachten-card:hover::before {
  transform: translateX(220%) rotate(22deg);
}

.gutachten-flow {
  margin-top: 2.2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(1.8rem, 4.5vw, 3rem) clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 8% 12%, rgba(134, 184, 226, 0.2) 0%, rgba(134, 184, 226, 0) 46%),
    radial-gradient(circle at 92% 88%, rgba(134, 184, 226, 0.17) 0%, rgba(134, 184, 226, 0) 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 236, 229, 0.9));
}

.gutachten-flow-head {
  max-width: 900px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.gutachten-flow-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(134, 184, 226, 0.55);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  color: #3e638b;
}

.gutachten-flow-head h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4.3vw, 3.15rem);
  line-height: 1.2em;
  color: #2f4965;
}

.gutachten-flow-head p {
  margin: 0 auto;
  max-width: 68ch;
}

.gutachten-flow-list {
  position: relative;
  display: grid;
  gap: 1.35rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gutachten-flow-step {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
}

.gutachten-flow-step:nth-child(even) {
  grid-template-columns: 1fr minmax(300px, 420px);
}

.gutachten-flow-step:nth-child(even) .gutachten-step-card {
  order: 2;
}

.gutachten-flow-step:nth-child(even) .gutachten-step-copy {
  order: 1;
}

.gutachten-step-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(260px, 30vw, 340px);
  border-radius: 22px;
  border: 1px solid rgba(134, 184, 226, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 243, 250, 0.94));
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.gutachten-step-card::before,
.gutachten-step-card::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(134, 184, 226, 0.22);
}

.gutachten-step-card::before {
  top: 18px;
  right: 18px;
}

.gutachten-step-card::after {
  left: 18px;
  bottom: 18px;
}

.gutachten-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 184, 226, 0.78);
  box-shadow: 0 22px 44px rgba(79, 128, 173, 0.16);
}

.gutachten-step-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #93bbe0, #6f9ecb);
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 12px 24px rgba(87, 134, 177, 0.28);
  margin-bottom: 0.55rem;
}

.gutachten-step-number {
  display: block;
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
  font-size: clamp(3.5rem, 9vw, 4.9rem);
  line-height: 1;
  color: rgba(56, 93, 126, 0.12);
  font-weight: 700;
}

.gutachten-step-card strong {
  font-size: 1.9rem;
  color: #2f4965;
}

.gutachten-step-copy h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.gutachten-step-duration {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(134, 184, 226, 0.2);
  color: #355779;
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
}

.gutachten-step-copy p {
  margin-bottom: 0.75rem;
}

.gutachten-step-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.gutachten-step-copy li {
  border: 1px solid rgba(134, 184, 226, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.75rem;
  color: #2b3f56;
  font-size: 0.98rem;
  line-height: 1.35em;
}

.gutachten-step-copy li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: #527ba5;
  font-weight: 700;
}

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

@keyframes homeHeroTitleIn {
  from {
    opacity: 0;
    transform: perspective(900px) rotateX(16deg) translateY(24px) scale(0.94);
    filter: blur(1.5px);
  }
  to {
    opacity: 1;
    transform: perspective(900px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes homeHeroTitleFloat {
  from {
    transform: perspective(900px) rotateX(0deg) translateY(0);
  }
  to {
    transform: perspective(900px) rotateX(1.8deg) translateY(-3px);
  }
}

@keyframes homeHeroTitleGradient {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 180% 50%;
  }
}

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

@keyframes homeHeroSweep {
  0%,
  58% {
    transform: rotate(18deg) translateX(-135%);
  }
  100% {
    transform: rotate(18deg) translateX(255%);
  }
}

.hero-inner {
  width: min(900px, 100%);
  padding: clamp(2.5rem, 8vw, 5.2rem) 1.2rem;
  text-align: center;
  color: #2b2b2b;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.08) 62%),
    linear-gradient(170deg, rgba(246, 244, 239, 0.48) 0%, rgba(239, 236, 229, 0.3) 100%);
  border: 1px solid rgba(216, 210, 200, 0.55);
  border-radius: 42px 72px 42px 72px / 42px 46px 52px 48px;
  backdrop-filter: blur(1.5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-page .hero-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-page .hero-inner::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -45%;
  width: 54%;
  height: 220%;
  transform: rotate(18deg) translateX(-135%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: -1;
  animation: homeHeroSweep 6.8s ease-in-out 1.1s infinite;
}

.hero-inner h1 {
  margin-bottom: 0.75rem;
  color: #2b2b2b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.home-page .hero-inner h1 {
  color: #203b58;
  background: linear-gradient(122deg, #21384f 0%, #355d84 52%, #21384f 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.36),
    0 14px 24px rgba(18, 43, 67, 0.16);
  transform-origin: 50% 100%;
  animation:
    homeHeroTitleIn 0.95s cubic-bezier(0.2, 0.9, 0.24, 1) both,
    homeHeroTitleFloat 5.2s ease-in-out 1.1s infinite alternate,
    homeHeroTitleGradient 7.5s linear 1s infinite;
}

.hero-inner p {
  max-width: 64ch;
  margin: 0 auto;
  color: #2b2b2b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.36);
}

.home-page .hero-inner p {
  animation: homeHeroSubIn 0.9s ease 0.28s both;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.home-page .hero-actions {
  animation: homeHeroSubIn 0.9s ease 0.42s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  font-family: var(--font-family-main);
  font-size: var(--size-btn-md);
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.btn-lg {
  font-size: var(--size-btn-lg);
}

.btn-md {
  font-size: var(--size-btn-md);
}

.btn-sm {
  font-size: var(--size-btn-sm);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

main {
  max-width: var(--content-width);
  margin: 3.6rem auto;
  padding: 0 1rem;
}

main > section + section {
  margin-top: 2.2rem;
}

.intro-profile {
  display: grid;
  grid-template-columns: 1.32fr 0.92fr;
  gap: 2.4rem;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-image {
  min-height: clamp(560px, 48vw, 760px);
  border-radius: 20px;
  border: 0;
  background: url("../images/frederic-neiss.jpg") center 18%/cover no-repeat;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.profile-copy h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.9rem;
  color: var(--text-heading);
  font-size: 1.35rem;
}

.eyebrow {
  margin: 0 0 0.3rem;
  color: var(--text-note);
  font-size: var(--size-misc-xs);
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
}

.pricing-card[id] {
  scroll-margin-top: 8rem;
}

.page-header {
  margin-bottom: 1.25rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.gutachten-title-hero {
  max-width: 780px;
  margin: 0 auto 2.1rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.1rem, 3vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 236, 229, 0.9));
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
}

.gutachten-title-hero::after {
  content: "";
  display: block;
  width: clamp(120px, 20vw, 180px);
  margin: 0.75rem auto 0;
  border-top: 2px solid rgba(134, 184, 226, 0.75);
}

.gutachten-title-hero h1 {
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.08);
}

.card h2,
.card h3 {
  color: var(--text-heading);
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--text-body);
}

.card a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link);
  text-underline-offset: 0.2em;
  font-weight: 600;
}

.home-quick-grid .quick-link-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  border-width: 1px;
  cursor: pointer;
}

.home-quick-grid .quick-link-card p {
  margin-bottom: 1rem;
}

.quick-link-cta {
  margin-top: auto;
  color: var(--link);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-link-cta::after {
  content: "→";
  font-size: 0.96em;
  transition: transform 0.2s ease;
}

.home-quick-grid .quick-link-card:hover .quick-link-cta::after,
.home-quick-grid .quick-link-card:focus-visible .quick-link-cta::after {
  transform: translateX(3px);
}

.home-quick-grid .quick-card-1 {
  background: linear-gradient(155deg, #ecf3f2 0%, #ffffff 88%);
}

.home-quick-grid .quick-card-2 {
  background: linear-gradient(155deg, #f2edf6 0%, #ffffff 88%);
}

.home-quick-grid .quick-card-3 {
  background: linear-gradient(155deg, #edf2f8 0%, #ffffff 88%);
}

.home-quick-grid .quick-card-4 {
  background: linear-gradient(155deg, #eef4ed 0%, #ffffff 88%);
}

.home-quick-grid .quick-card-5 {
  background: linear-gradient(155deg, #f7efe9 0%, #ffffff 88%);
}

.home-quick-grid .quick-card-6 {
  background: linear-gradient(155deg, #f3f1ea 0%, #ffffff 88%);
}

.card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.anchor-target {
  scroll-margin-top: 8rem;
}

.section-stack {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.section-note {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  color: var(--text-body);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.2rem;
}

.selbstcheck-test {
  margin-top: 2.4rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.5);
}

.selbstcheck-test-head {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.selbstcheck-test-head h2 {
  margin-bottom: 0.3rem;
}

.selbstcheck-test-subheadline {
  margin-bottom: 0.7rem;
  color: var(--link);
  font-size: var(--size-misc-lg);
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
  letter-spacing: 0;
}

.selbstcheck-test-intro {
  max-width: 740px;
  margin: 0 auto;
}

.selbstcheck-test-cards {
  margin-top: clamp(1.3rem, 3vw, 2.1rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.7rem);
}

.selbstcheck-test-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.1rem, 2.8vw, 1.8rem);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.selbstcheck-test-card h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.95rem, 3.4vw, 2.25rem);
  line-height: 1.18;
}

.selbstcheck-test-price {
  margin: 0;
  color: var(--text-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: var(--font-weight-medium);
  line-height: 1.15;
}

.leistung-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistung-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
}

.leistung-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.09);
}

.leistung-psychotherapie {
  background: linear-gradient(155deg, #eef6fd 0%, #ffffff 86%);
}

.leistung-psychotherapie::before {
  background: linear-gradient(90deg, #86b8e2, #a7d0ef);
}

.leistung-gutachten {
  background: linear-gradient(155deg, #eef6fd 0%, #ffffff 86%);
}

.leistung-gutachten::before {
  background: linear-gradient(90deg, #8cbce6, #b3d8f4);
}

.leistung-card .selbstcheck-test-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.1rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
  letter-spacing: 0.01em;
}

.selbstcheck-test-price-note {
  margin: 0.4rem 0 0.9rem;
}

.selbstcheck-test-description {
  margin: 0;
}

.selbstcheck-test-subtle-note {
  margin: 0.8rem 0 0;
  color: var(--text-note);
  font-size: 0.95rem;
}

.selbstcheck-test-actions {
  margin-top: auto;
  padding-top: 1.2rem;
}

.selbstcheck-test-actions .btn + .btn {
  margin-left: 0.55rem;
}

.selbstcheck-test-info {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.selbstcheck-test-info p {
  margin: 0;
}

.pricing-page {
  margin-top: 2.4rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(1.8rem, 4.2vw, 3rem) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(245, 246, 249, 0.8) 100%);
}

.pricing-page > * {
  width: min(1320px, 95vw);
  margin-left: auto;
  margin-right: auto;
}

.pricing-head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #c8dff3;
  background: #eef6fd;
  color: #5f8dbd;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.2em;
}

.pricing-head h1 {
  margin-top: 0.9rem;
  margin-bottom: 0.7rem;
  font-size: clamp(2.15rem, 5vw, 3.2rem);
  color: #5f8dbd;
}

.pricing-head p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-benefits {
  margin-top: clamp(1.3rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.7vw, 1.15rem);
}

.pricing-benefit-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-radius: 20px;
  padding: 1.3rem 1rem 1.15rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(25, 43, 69, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    112deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.62) 49%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 220% 100%;
  background-position: -180% 0;
  pointer-events: none;
  transition: background-position 0.75s ease;
}

.pricing-benefit-card:hover {
  transform: translateY(-7px);
  border-color: #b3d2ee;
  box-shadow: 0 20px 34px rgba(110, 163, 208, 0.2);
}

.pricing-benefit-card:hover::before {
  background-position: 220% 0;
}

.pricing-benefit-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 0.9rem;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  background: linear-gradient(145deg, #9ecaf0 0%, #7caed9 100%);
  box-shadow: 0 10px 24px rgba(124, 174, 217, 0.32);
}

.pricing-benefit-card h2 {
  margin-bottom: 0.45rem;
  font-size: 1.65rem;
}

.pricing-benefit-card p {
  margin: 0;
  font-size: 1rem;
}

.pricing-grid {
  margin-top: clamp(1.5rem, 3.2vw, 2.2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.95rem, 2vw, 1.4rem);
}

.pricing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid #d8e7f5;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  padding: clamp(1.2rem, 2.8vw, 1.9rem);
  box-shadow: 0 14px 30px rgba(110, 163, 208, 0.18);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0.66) 49%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 220% 100%;
  background-position: -180% 0;
  pointer-events: none;
  transition: background-position 0.7s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: #9fc5e8;
  box-shadow: 0 30px 56px rgba(110, 163, 208, 0.28);
}

.pricing-card:hover::before {
  background-position: 220% 0;
}

.pricing-card-featured {
  border-width: 2px;
  border-color: #9fc5e8;
  box-shadow: 0 24px 52px rgba(110, 163, 208, 0.3);
}

.pricing-card-premium {
  border-width: 2px;
  border-color: #8eb9df;
  box-shadow: 0 22px 46px rgba(110, 163, 208, 0.26);
}

.pricing-card-gutachten {
  border-width: 2px;
  border-color: #caa86b;
  box-shadow: 0 22px 46px rgba(165, 128, 70, 0.2);
}

.pricing-card-gutachten:hover {
  border-color: #b89052;
  box-shadow: 0 30px 56px rgba(165, 128, 70, 0.28);
}

.pricing-card-premium .pricing-badge {
  background: linear-gradient(90deg, #7daed8, #5f97c7);
}

.pricing-badge {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #9ac7ec, #79add8);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
}

.pricing-card h2 {
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
  text-align: center;
  min-height: 2.6em;
}

.pricing-subline {
  margin-bottom: 0.65rem;
  text-align: center;
  min-height: 3.2em;
}

.pricing-amount {
  margin: 0 0 0.95rem;
  text-align: center;
  color: #5f6f81;
  font-size: 1.08rem;
}

.pricing-amount span {
  color: #6e9fcb;
  font-size: clamp(2rem, 3.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.1;
}

.pricing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.pricing-list li {
  position: relative;
  padding-left: 1.55rem;
  color: #4f5f6f;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #7fb2dd;
  font-weight: 700;
}

.pricing-buy-btn {
  width: 100%;
  margin-top: auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #9ec9ee 0%, #73a8d4 100%);
  border-color: #73a8d4;
  box-shadow: 0 12px 26px rgba(115, 168, 212, 0.35);
}

.pricing-buy-btn:hover {
  background: linear-gradient(135deg, #8fbfe8 0%, #5f97c7 100%);
  border-color: #5f97c7;
  box-shadow: 0 18px 32px rgba(95, 151, 199, 0.4);
}

.pricing-note {
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.85);
}

.pricing-note p {
  margin: 0;
}

.leistungen-social-proof {
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(2.1rem, 4.5vw, 3.5rem) 0;
  background:
    radial-gradient(circle at 50% 72%, rgba(134, 184, 226, 0.2) 0%, rgba(134, 184, 226, 0) 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(238, 246, 253, 0.58) 100%);
}

main > .pricing-page + .leistungen-social-proof {
  margin-top: 0;
}

.leistungen-social-proof > * {
  width: min(1320px, 95vw);
  margin-left: auto;
  margin-right: auto;
}

.leistungen-social-head {
  max-width: 920px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.leistungen-social-head h2 {
  margin-top: 0.8rem;
  margin-bottom: 0.7rem;
  color: #3d6288;
}

.leistungen-social-head p {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.leistungen-social-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.2rem);
}

.leistungen-social-stat {
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe8f5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(25, 43, 69, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.leistungen-social-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.58) 49%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 220% 100%;
  background-position: -180% 0;
  transition: background-position 0.8s ease;
  pointer-events: none;
}

.leistungen-social-stat:hover {
  transform: translateY(-7px);
  border-color: #b3d2ee;
  box-shadow: 0 20px 34px rgba(110, 163, 208, 0.2);
}

.leistungen-social-stat:hover::before {
  background-position: 220% 0;
}

.leistungen-social-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: #ffffff;
  background: linear-gradient(145deg, #9ecaf0 0%, #7caed9 100%);
  box-shadow: 0 10px 24px rgba(124, 174, 217, 0.32);
}

.leistungen-social-stat h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.leistungen-social-sub {
  margin: 0;
  color: #5a6f84;
  font-size: 0.96rem;
}

.leistungen-social-reviews-wrap {
  margin-top: clamp(1.7rem, 3.4vw, 2.6rem);
  text-align: center;
}

.leistungen-social-reviews-wrap h2 {
  margin-bottom: 0.4rem;
  color: #3d6288;
}

.leistungen-social-note {
  margin-bottom: 1rem;
  color: #6b7f95;
  font-size: 0.94rem;
}

.leistungen-social-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.7vw, 1.15rem);
}

.leistungen-review-card {
  border: 1px solid #dbe8f5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  padding: 1.15rem 1.15rem 1rem;
  text-align: left;
  box-shadow: 0 8px 20px rgba(25, 43, 69, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.leistungen-review-card:hover {
  transform: translateY(-6px);
  border-color: #b7d5ee;
  box-shadow: 0 18px 30px rgba(110, 163, 208, 0.18);
}

.leistungen-review-stars {
  margin: 0 0 0.55rem;
  color: #7daed8;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}

.leistungen-review-text {
  margin: 0 0 0.7rem;
  color: #465d74;
  font-style: italic;
}

.leistungen-review-author {
  margin: 0;
  color: #30495f;
  font-weight: 600;
  font-size: 0.95rem;
}

.leistungen-social-quality {
  margin-top: clamp(1.3rem, 2.8vw, 2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  border: 1px solid #dbe8f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  padding: 0.85rem 1rem;
}

.leistungen-social-quality-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.3rem 0.2rem;
}

.leistungen-social-quality-item .leistungen-social-icon {
  margin: 0;
  width: 52px;
  height: 52px;
  font-size: 1.18rem;
}

.leistungen-social-quality-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.leistungen-social-quality-item p {
  margin: 0;
  color: #5c7085;
  font-size: 0.9rem;
}

.leistungen-trust {
  margin-top: clamp(1.5rem, 3.4vw, 2.4rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(2rem, 4.5vw, 3.4rem) 0 clamp(2.2rem, 5vw, 3.8rem);
  background:
    radial-gradient(circle at 10% 78%, rgba(134, 184, 226, 0.16) 0%, rgba(134, 184, 226, 0) 22%),
    radial-gradient(circle at 90% 24%, rgba(134, 184, 226, 0.14) 0%, rgba(134, 184, 226, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(238, 246, 253, 0.56) 100%);
}

.leistungen-trust > * {
  width: min(1320px, 95vw);
  margin-left: auto;
  margin-right: auto;
}

.leistungen-guarantee {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: clamp(0.6rem, 1.2vw, 1rem) 0;
  text-align: center;
}

.leistungen-guarantee-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #7caed9;
  font-size: 1.65rem;
  font-weight: 700;
  border: 1px solid #cfe2f4;
  box-shadow: 0 10px 22px rgba(124, 174, 217, 0.24);
}

.leistungen-guarantee h2 {
  margin-bottom: 0.6rem;
}

.leistungen-guarantee p {
  max-width: 760px;
  margin: 0 auto;
}

.leistungen-faq-title {
  margin-top: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.9rem;
  text-align: center;
}

.leistungen-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.2rem);
}

.leistungen-faq-card {
  border: 1px solid #dbe8f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  padding: 1.15rem 1.2rem;
}

.leistungen-faq-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
}

.leistungen-faq-card p {
  margin: 0;
}

.selftest-tool {
  scroll-margin-top: 7rem;
  margin-top: 2.4rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(2rem, 4.8vw, 3.4rem) 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(134, 184, 226, 0.17) 0%, rgba(134, 184, 226, 0) 30%),
    radial-gradient(circle at 90% 88%, rgba(134, 184, 226, 0.12) 0%, rgba(134, 184, 226, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(238, 246, 253, 0.75) 100%);
}

.selftest-page-head-wrap {
  margin-top: 2.2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(1.9rem, 4.8vw, 3.2rem) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, #f4f2ec 0%, #eae5db 100%);
}

.selftest-page-head-wrap .nn-container {
  max-width: 1200px;
}

.selftest-page-head {
  max-width: 920px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.selftest-page-head h1 {
  margin-top: 0.85rem;
  margin-bottom: 0.65rem;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  color: #5f8dbd;
}

.selftest-page-head > p:not(.nn-gutachten-subtitle) {
  max-width: 72ch;
  margin: 0 auto;
  color: #5a6f84;
}

.selftest-top-grid {
  margin-bottom: 0;
}

.selftest-page-head-wrap + .selftest-tool {
  margin-top: 1.45rem;
}

.no-top-divider .site-header {
  border-bottom: 0;
}

.selftest-container {
  width: min(1200px, 95vw);
  margin: 0 auto;
}

.selftest-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border: 1px solid #d8e7f5;
  border-radius: 24px;
  padding: clamp(1.45rem, 3.2vw, 2.3rem);
  box-shadow: 0 14px 30px rgba(110, 163, 208, 0.16);
}

.selftest-intro {
  max-width: 74ch;
  color: #4f6173;
  margin-bottom: 1.25rem;
}

.selftest-access {
  margin-bottom: 1.4rem;
  border: 1px solid #dbe8f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.1rem 1.2rem;
}

.selftest-access h3 {
  margin-bottom: 0.4rem;
  color: #395674;
}

.selftest-access-intro {
  margin-bottom: 0.85rem;
}

.selftest-access-form,
.selftest-card form#stress-test {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.selftest-access-grid + .selftest-access-grid {
  margin-top: 0.7rem;
}

.selftest-access-form input {
  border-color: #c7ddef;
}

.selftest-access-form .btn {
  margin-top: 0.9rem;
}

.selftest-quiz-area[hidden] {
  display: none;
}

.selftest-access-summary {
  margin: 0 0 0.85rem;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: #eef6fd;
  border: 1px solid #c8dff3;
  color: #4f7aa3;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2em;
}

.selftest-scale-hint {
  font-size: 0.98rem;
  color: var(--text-note);
  margin-bottom: 0.9rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #faf9f6;
}

.selftest-step-indicator {
  margin-bottom: 0.95rem;
  color: #4f6f8e;
  font-size: var(--size-misc-md);
  font-weight: var(--font-weight-medium);
  line-height: 1.2em;
  letter-spacing: 0;
}

.selftest-fieldset {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e7f5;
  border-radius: 18px;
  padding: 1rem 1rem 0.95rem;
  margin: 0 auto 0.9rem;
  max-width: 900px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 22px rgba(110, 163, 208, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.selftest-fieldset::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.66) 49%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 220% 100%;
  background-position: -180% 0;
  pointer-events: none;
  transition: background-position 0.7s ease;
}

.selftest-fieldset:hover {
  transform: translateY(-5px);
  border-color: #b3d2ee;
  box-shadow: 0 20px 34px rgba(110, 163, 208, 0.18);
}

.selftest-fieldset:hover::before {
  background-position: 220% 0;
}

.selftest-question-step {
  display: none;
}

.selftest-question-step.active {
  display: block;
  animation: selftestFadeSlideUp 0.6s ease both;
}

.selftest-fieldset legend {
  font-weight: var(--font-weight-heading);
  padding: 0 8px 0 4px;
  font-size: 1.1rem;
  line-height: 1.25em;
  color: #2f4761;
}

.selftest-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 680px;
  margin: 0 auto;
}

.selftest-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  font-size: var(--size-para-sm);
  min-height: 52px;
  padding: 8px 22px;
  border: 1px solid #dbe8f5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.selftest-option:hover {
  background: #f5faff;
  border-color: #bdd8ef;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(110, 163, 208, 0.14);
}

.selftest-option:has(input:checked) {
  background: #edf6ff;
  border-color: #9fc5e8;
  box-shadow: 0 10px 20px rgba(110, 163, 208, 0.2);
}

.selftest-option input[type="radio"] {
  accent-color: var(--primary);
}

.selftest-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.selftest-btn-secondary {
  border: 0;
  border-radius: var(--radius-button);
  padding: 14px 26px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #2b4766;
  background: #dbeeff;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.selftest-btn-secondary:hover {
  background: #cbe5fb;
  transform: translateY(-2px);
}

.selftest-btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.selftest-result {
  margin-top: 1.3rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  display: none;
  box-shadow: var(--shadow-card);
}

.selftest-result h2 {
  margin-top: 0;
}

.selftest-result.visible {
  display: block;
  animation: selftestFadeSlideUp 0.85s ease both;
}

.selftest-result.low {
  border-left: 6px solid #8fc0e8;
}

.selftest-result.moderate {
  border-left: 6px solid #78add9;
}

.selftest-result.high {
  border-left: 6px solid #5f97c7;
}

.selftest-score {
  font-weight: 600;
}

.selftest-cta-wrap {
  margin-top: 0.8rem;
}

.selftest-cta {
  display: inline-block;
  text-decoration: none;
}

.selftest-cta-note,
.selftest-disclaimer {
  color: var(--text-note);
  font-size: 0.94rem;
  margin-top: 0.65rem;
}

.selftest-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  margin-top: 1.2rem;
}

.selftest-notice {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 14px;
  background: #f8f7f3;
  color: var(--text-heading);
  font-size: 1.01rem;
  line-height: 1.6;
}

.selftest-notice strong {
  color: var(--primary);
}

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

.therapy-page {
  display: block;
  max-width: none;
  width: 100%;
  margin: 2.8rem 0 0;
  padding: 0;
}

.therapy-shell {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(1.6rem, 4vw, 2.9rem) clamp(0.9rem, 3.6vw, 2.4rem);
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f6f4ef 0%, #efece5 60%, #e7e2d8 100%);
  box-shadow: none;
  overflow: visible;
}

.therapy-shell::after {
  display: none;
}

.therapy-shell > * {
  width: min(1580px, 95vw);
  margin-left: auto;
  margin-right: auto;
}

.therapy-page > section + section {
  margin-top: 0;
}

.therapy-module {
  scroll-margin-top: 8rem;
}

.therapy-intro {
  scroll-margin-top: 8rem;
  background: linear-gradient(180deg, #f4f2ec 0%, #eae5db 100%);
}

.therapy-intro .nn-gutachten-intro {
  margin-bottom: 1.6rem;
}

.therapy-intro .nn-container {
  max-width: 1200px;
}

.therapy-intro-cta {
  margin-top: 0.45rem;
}

.therapy-intro-grid {
  margin-bottom: clamp(1.45rem, 3vw, 2rem);
}

.therapy-hero {
  text-align: center;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.therapy-module .therapy-hero {
  text-align: left;
}

.therapy-hero h1,
.therapy-hero h2 {
  margin-bottom: 0.45rem;
}

.therapy-subline {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: var(--size-para-lg);
  font-weight: var(--font-weight-medium);
  line-height: 1.25em;
}

.therapy-lead {
  max-width: 74ch;
  margin: 0 auto 1.35rem;
  color: var(--text-body);
}

.therapy-module .therapy-lead {
  margin-left: 0;
}

.therapy-panel {
  margin-bottom: clamp(1.2rem, 2.8vw, 1.8rem);
}

.therapy-panel-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.1rem;
}

.therapy-panel h2,
.therapy-panel h3,
.therapy-panel-head h2 {
  margin-bottom: 0.7rem;
}

.therapy-panel h3 {
  font-size: 1.55rem;
}

.therapy-focus-grid,
.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.3vw, 1.2rem);
  align-items: stretch;
}

.therapy-focus-card,
.therapy-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.therapy-focus-card::after,
.therapy-card::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -58%;
  height: 130px;
  background: radial-gradient(ellipse at center, rgba(134, 184, 226, 0.22) 0%, rgba(134, 184, 226, 0) 70%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.therapy-focus-card:hover,
.therapy-card:hover {
  transform: translateY(-7px);
  border-color: rgba(134, 184, 226, 0.75);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  box-shadow: 0 24px 44px rgba(24, 42, 45, 0.12);
}

.therapy-focus-card:hover::after,
.therapy-card:hover::after {
  opacity: 1;
}

.therapy-focus-card h3,
.therapy-card h4 {
  margin-bottom: 0.45rem;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.therapy-focus-card p,
.therapy-card p {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.therapy-line-whole {
  white-space: nowrap;
}

.therapy-icon,
.therapy-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  color: #ffffff;
  background: var(--primary);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.therapy-focus-card:hover .therapy-icon,
.therapy-card:hover .therapy-card-icon {
  transform: translateY(-2px) scale(1.04);
  background: var(--primary-hover);
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(110, 163, 208, 0.26);
}

.therapy-icon.tone-adhs,
.tone-adhs-bg .therapy-card-icon {
  background: var(--primary);
}

.therapy-icon.tone-depression,
.tone-depression-bg .therapy-card-icon {
  background: var(--primary);
}

.therapy-icon.tone-angst,
.tone-angst-bg .therapy-card-icon {
  background: var(--primary);
}

.therapy-icon.tone-stress,
.tone-stress-bg .therapy-card-icon {
  background: var(--primary);
}

.therapy-icon.tone-emotion {
  background: var(--primary);
}

.therapy-icon.tone-selbstwert {
  background: var(--primary);
}

.therapy-highlight {
  position: relative;
  margin: 1.1rem 0 1.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  font-weight: var(--font-weight-medium);
  text-align: center;
  overflow: visible;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.therapy-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.52) 50%,
    rgba(255, 255, 255, 0) 66%
  );
  background-size: 220% 100%;
  background-position: -180% 0;
  transition: background-position 0.75s ease;
  pointer-events: none;
}

.therapy-highlight::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: -24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(216, 210, 200, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    20px 15px 0 -3px rgba(255, 255, 255, 0.82),
    20px 15px 0 -2px rgba(216, 210, 200, 0.85);
  pointer-events: none;
  opacity: 1;
}

.therapy-highlight:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.09);
  filter: saturate(1.02);
}

.therapy-highlight:hover::before {
  background-position: 220% 0;
}

.therapy-highlight:active::before,
.therapy-highlight:focus-visible::before {
  background-position: 220% 0;
}

.therapy-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.therapy-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.8rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.therapy-step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.therapy-step p {
  margin: 0.35rem 0 0;
}

.therapy-price {
  text-align: center;
}

.therapy-price-box {
  display: inline-block;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.therapy-price-main {
  font-size: clamp(2rem, 3.8vw, 2.4rem);
  line-height: 1.1;
  color: var(--text-heading);
  font-weight: var(--font-weight-heading);
}

.therapy-price-sub {
  margin-top: 0.3rem;
  color: var(--text-body);
}

.therapy-note {
  margin-top: 0.8rem;
  color: var(--text-note);
}

.therapy-cta {
  text-align: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ece7de 0%, #e2dbcf 100%);
}

.therapy-cta h2,
.therapy-cta h3 {
  margin-bottom: 0.6rem;
}

.therapy-cta p {
  max-width: 62ch;
  margin: 0 auto 1rem;
}

.tone-adhs-bg {
  background: linear-gradient(180deg, #f4f6f2 0%, #ecece2 100%);
}

.tone-stress-bg {
  background: linear-gradient(180deg, #f1f5ef 0%, #e7ece4 100%);
}

.tone-depression-bg {
  background: linear-gradient(180deg, #f4f4ef 0%, #ebe9df 100%);
}

.tone-angst-bg {
  background: linear-gradient(180deg, #f2f4f6 0%, #e7eaee 100%);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.therapy-highlight.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px) scale(0.92);
}

.therapy-highlight.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: therapyBubblePop 0.82s cubic-bezier(0.2, 0.86, 0.2, 1) both;
}

@keyframes therapyBubblePop {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.88);
  }
  58% {
    opacity: 1;
    transform: translateY(-3px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

form,
.info-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
}

label {
  display: block;
  margin: 0.7rem 0 0.3rem;
  color: var(--text-heading);
  font-weight: 600;
}

label.selftest-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 500;
}

label.selftest-option span {
  display: block;
  font-size: var(--size-misc-md);
  line-height: 1.2em;
  color: var(--text-heading);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text-heading);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(134, 184, 226, 0.35);
  border-color: var(--primary);
}

footer {
  margin-top: 2rem;
  background: var(--footer-bg);
  color: var(--footer-link);
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.15rem 1rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  color: var(--footer-link);
  font-size: var(--size-misc-sm);
  line-height: 1.2em;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--footer-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--footer-link);
  font-weight: var(--font-weight-medium);
  font-size: var(--size-misc-sm);
  line-height: 1.2em;
  letter-spacing: 0;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-page .legal-content {
  margin-top: 0.5rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.legal-page h1 {
  margin-bottom: 1rem;
}

.legal-page h2 {
  margin-top: 1.7rem;
  margin-bottom: 0.6rem;
  font-size: 1.8rem;
}

.legal-page h3 {
  margin-top: 1.15rem;
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.legal-page p {
  margin-bottom: 0.85rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-page li {
  margin-bottom: 0.45rem;
}

.legal-page .index {
  list-style: none;
  margin: 0.95rem 0 1.4rem;
  padding: 0;
  columns: 2;
  column-gap: 1.4rem;
}

.legal-page .index li {
  break-inside: avoid;
  margin-bottom: 0.42rem;
}

.legal-page .index-link {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link);
  text-underline-offset: 0.22em;
  font-size: var(--size-para-sm);
  line-height: 1.4em;
}

.legal-page .m-elements,
.legal-page .glossary {
  padding-left: 1.2rem;
}

.legal-page .seal {
  margin-top: 1.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: var(--size-misc-sm);
  line-height: 1.4em;
}

.legal-page a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.doctolib-widget {
  position: fixed;
  top: 200px;
  right: 0;
  display: block;
  text-align: center;
  background: #86b8e2;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  font-family: "FF Meta Pro", "Avenir Next", "Segoe UI", sans-serif;
  width: auto;
  border-radius: 6px 0 0 6px;
  padding: 5px;
  z-index: 999;
  opacity: 0.92;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
}

.doctolib-widget a {
  display: block;
  color: #6ea3d0;
  text-decoration: none;
  padding: 6px 10px;
  margin-top: 5px;
  background: #fff;
  border-radius: 4px;
  font-weight: 700;
  transition: 0.2s;
}

.doctolib-widget a:hover,
.doctolib-widget a:focus {
  opacity: 0.9;
  outline: 2px solid #86b8e2;
  outline-offset: 2px;
}

.doctolib-widget img {
  display: inline-block;
  height: 18px;
  margin: 3px 0;
  vertical-align: middle;
  width: auto;
}

.doctolib-widget .skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.doctolib-widget .skip-link:focus {
  left: 6px;
  top: 6px;
  width: auto;
  height: auto;
  padding: 6px 8px;
  background: #ffffff;
  border-radius: 4px;
  z-index: 2;
}

@media (max-width: 1140px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leistungen-social-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leistungen-social-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leistungen-social-quality {
    grid-template-columns: 1fr;
  }
}

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

  .intro-profile {
    grid-template-columns: 1fr;
  }

  .profile-image {
    min-height: 380px;
  }

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

  .selbstcheck-test-cards {
    grid-template-columns: 1fr;
  }

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

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

  .leistungen-social-stats,
  .leistungen-social-reviews {
    grid-template-columns: 1fr;
  }

  .pricing-card h2,
  .pricing-subline {
    min-height: 0;
  }

  .leistungen-faq-grid {
    grid-template-columns: 1fr;
  }

  .nn-gutachten-grid {
    grid-template-columns: 1fr;
  }

  .gutachten-flow-step,
  .gutachten-flow-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .gutachten-flow-step:nth-child(even) .gutachten-step-card,
  .gutachten-flow-step:nth-child(even) .gutachten-step-copy {
    order: initial;
  }

  .gutachten-step-card {
    min-height: 260px;
  }

  .therapy-module .therapy-hero {
    text-align: center;
  }

  .therapy-module .therapy-lead {
    margin: 0 auto 1.35rem;
  }

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

@media (max-width: 900px) {
  .slogan-inner {
    max-width: var(--content-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .slogan-cta {
    width: min(360px, 100%);
  }

  .top-nav {
    flex-wrap: wrap;
  }

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

  .nav-menu {
    width: 100%;
    margin-left: 0;
    display: none;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-top: 0.4rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .nav-cta-link {
    width: 100%;
  }

  .has-submenu {
    position: static;
  }

  .submenu {
    position: static;
    min-width: 0;
    margin: 0 0.4rem 0.4rem;
    box-shadow: none;
  }

  .submenu-toggle {
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }

  .hero-home {
    min-height: 52vh;
  }

  .hero-inner {
    padding: 2.4rem 1rem 2.6rem;
  }

  .brand-sub {
    display: none;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.05rem;
  }

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

  main {
    margin: 2.3rem auto;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .slogan-cta {
    width: 100%;
  }

  .selftest-actions {
    align-items: stretch;
  }

  .selftest-btn-secondary,
  .selftest-actions .btn {
    width: 100%;
  }

  .selbstcheck-test-actions .btn + .btn {
    margin-left: 0;
    margin-top: 0.55rem;
  }

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

  .legal-page .index {
    columns: 1;
  }

  .therapy-step {
    grid-template-columns: 1fr;
  }

  .therapy-step-num {
    width: 40px;
    height: 40px;
  }

  .therapy-focus-grid,
  .therapy-grid {
    grid-template-columns: 1fr;
  }

  .pricing-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .doctolib-widget {
    top: auto;
    bottom: 10px;
    right: 0;
    width: auto;
    padding: 4px;
  }

  .doctolib-widget a {
    font-size: 16px;
    padding: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctolib-widget,
  .doctolib-widget a,
  .nn-gutachten-card,
  .therapy-card,
  .therapy-focus-card {
    transition: none !important;
  }

  .home-page .hero-inner::before {
    animation: none !important;
  }

  .home-page .hero-inner h1,
  .home-page .hero-inner p,
  .home-page .hero-actions {
    animation: none !important;
    transform: none !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
