:root {
  --paper: #f6f8f5;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #666666;
  --soft: #dce5de;
  --line: rgba(21, 21, 21, 0.1);
  --accent: #b6621d;
  --accent-dark: #7b4218;
  --accent-soft: #f5e7dc;
  --forest: #335a4a;
  --steel: #2b3438;
  --shadow: 0 12px 32px rgba(25, 25, 25, 0.07);
  --max: 1240px;
  --header: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}

[id] {
  scroll-margin-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

body::selection {
  background: var(--accent-soft);
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  max-width: 1120px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5vw, 4rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.72rem, 3.2vw, 2.55rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(21, 21, 21, 0.06);
  background: rgba(246, 248, 245, 0.9);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(21, 21, 21, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(25, 25, 25, 0.045);
}

.header-inner {
  width: min(1080px, calc(100% - 32px));
  min-height: var(--header);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 5px;
  text-decoration: none;
  color: #3d3d3d;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.brand span {
  line-height: 1.15;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--soft);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}

.site-nav-left {
  justify-content: flex-end;
}

.site-nav-right {
  justify-content: flex-start;
}

.site-nav a {
  padding: 9px 2px;
  border-radius: 6px;
  color: #303030;
  text-decoration: none;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a.active {
  background: transparent;
  color: #303030;
}

.site-nav a:hover,
.site-nav a.active:hover {
  background: transparent;
  color: var(--accent-dark);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(560px, 64svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(246, 248, 245, 0.62) 0%, rgba(246, 248, 245, 0.36) 52%, rgba(246, 248, 245, 0.64) 100%),
    linear-gradient(180deg, rgba(246, 248, 245, 0.22), rgba(246, 248, 245, 0.76)),
    url("/assets/images/service-investment-card.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 248, 245, 0.12), rgba(246, 248, 245, 0), rgba(246, 248, 245, 0.12));
  backdrop-filter: blur(0.1px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  background-image:
    linear-gradient(90deg, rgba(51, 90, 74, 0.2) 1px, transparent 1px),
    linear-gradient(180deg, rgba(51, 90, 74, 0.16) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: block;
  padding: clamp(46px, 6vw, 72px) 0 clamp(44px, 5vw, 62px);
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.75rem, 6vw, 5rem);
}

.eyebrow,
.section-kicker {
  display: block;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hero-lede {
  max-width: 540px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.55;
}

.hero-cube {
  position: relative;
  width: min(100%, 660px);
  height: clamp(36px, 5vw, 48px);
  margin: -2px auto 18px;
  perspective: 900px;
}

.hero-cube-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3.2vw, 2.15rem);
  line-height: 1;
  opacity: 0;
  transform: rotateX(-90deg) translateY(10px);
  transform-origin: 50% 50% -24px;
  animation: heroCubeRotate 24s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-cube-word:nth-of-type(2) {
  animation-delay: 0s;
}

.hero-cube-word:nth-of-type(3) {
  animation-delay: 4s;
}

.hero-cube-word:nth-of-type(4) {
  animation-delay: 8s;
}

.hero-cube-word:nth-of-type(5) {
  animation-delay: 12s;
}

.hero-cube-word:nth-of-type(6) {
  animation-delay: 16s;
}

.hero-cube-word:nth-of-type(7) {
  animation-delay: 20s;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 17px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(123, 66, 24, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(123, 66, 24, 0.16);
}

.hero .button {
  min-height: 42px;
  border-color: rgba(182, 98, 29, 0.42);
  background: rgba(182, 98, 29, 0.1);
  color: var(--accent-dark);
  box-shadow: none;
}

.hero .button:hover {
  background: rgba(182, 98, 29, 0.16);
  box-shadow: none;
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent-dark);
  box-shadow: none;
}

.floating-appointment {
  position: fixed;
  right: clamp(16px, 2.3vw, 30px);
  bottom: clamp(16px, 2.3vw, 30px);
  z-index: 30;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(182, 98, 29, 0.28);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(26, 21, 17, 0.14);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.floating-appointment:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 66, 24, 0.48);
  background: rgba(255, 246, 235, 0.98);
  box-shadow: 0 18px 42px rgba(26, 21, 17, 0.18);
}

.floating-appointment:focus-visible {
  outline: 3px solid rgba(182, 98, 29, 0.22);
  outline-offset: 4px;
}

.section {
  padding: clamp(46px, 6vw, 76px) 0;
}

#leistungen {
  padding-top: clamp(24px, 3.4vw, 34px);
}

.problem-section {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.6vw, 54px) 0;
  background:
    linear-gradient(180deg, rgba(236, 246, 252, 0.78), rgba(246, 248, 245, 0.98) 14%, rgba(236, 246, 252, 0.72) 48%, rgba(246, 248, 245, 0.98));
}

.problem-layout {
  display: block;
  max-width: 1180px;
  position: relative;
}

.problem-layout .section-heading {
  max-width: 740px;
  margin: 0 auto clamp(14px, 2.2vw, 24px);
  text-align: center;
}

.problem-layout .section-heading p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(21, 21, 21, 0.46);
  font-size: clamp(0.94rem, 1.35vw, 1.04rem);
  line-height: 1.5;
}

.question-stack {
  --guide-fill: 0px;
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0;
}

.question-stack::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(21, 21, 21, 0.16);
}

.question-stack::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 2px;
  height: var(--guide-fill);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.18), rgba(21, 21, 21, 0.78), rgba(182, 98, 29, 0.58));
  transition: height 0.18s linear;
}

.guide-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(34px, 0.18fr) minmax(0, 1fr) 104px minmax(0, 1fr) minmax(34px, 0.18fr);
  align-items: start;
  z-index: 1;
  margin: 0;
  min-height: clamp(118px, 13vw, 150px);
  padding: clamp(8px, 1.4vw, 14px) 0;
  opacity: 1;
  transform: none;
  transition: none;
  filter: none;
}

.guide-item.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.guide-node {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
  margin-top: 4px;
  display: grid;
  width: clamp(56px, 6.5vw, 70px);
  height: clamp(56px, 6.5vw, 70px);
  place-items: center;
  border-radius: 50%;
  background: rgba(222, 222, 220, 0.94);
  color: rgba(21, 21, 21, 0.68);
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  filter: blur(3px);
  box-shadow: 0 12px 34px rgba(20, 20, 20, 0.07);
  transition:
    opacity 0.5s ease,
    background 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
}

.guide-item.is-passed .guide-node {
  background: rgba(245, 231, 220, 0.98);
  color: var(--accent-dark);
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 12px 34px rgba(182, 98, 29, 0.13);
  transform: scale(1.025);
}

.guide-node svg {
  width: 42%;
  height: 42%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.guide-card {
  grid-row: 1;
  max-width: 390px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(3px);
  transition:
    opacity 0.58s ease,
    transform 0.58s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.58s ease;
}

.guide-item.is-passed .guide-card {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.guide-item:nth-of-type(odd) .guide-card {
  grid-column: 2;
  justify-self: end;
  text-align: left;
}

.guide-item:nth-of-type(even) .guide-card {
  grid-column: 4;
  justify-self: start;
  text-align: left;
}

.guide-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.78rem, 1.1vw, 0.94rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.guide-card h3 {
  max-width: 420px;
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.15rem, 1.82vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.guide-card p {
  margin: 0;
  color: rgba(21, 21, 21, 0.72);
  font-size: clamp(0.88rem, 1.06vw, 0.96rem);
  line-height: 1.48;
}

.guide-card:hover {
  background: transparent;
}

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

.section-heading {
  max-width: 840px;
  margin-bottom: 24px;
}

.service-intro {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-intro p {
  color: rgba(21, 21, 21, 0.44);
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

#stimmen .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p,
.service-card p,
.testimonial p,
.contact-panel p,
.legal-content p,
.legal-content li,
.legal-page p,
.legal-page li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.section-heading.service-intro p {
  color: rgba(21, 21, 21, 0.42);
}

.section-kicker {
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.about-layout,
.contact-layout {
  display: grid;
  gap: 28px;
}

.service-card,
.testimonial,
.contact-panel,
.legal-card {
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.035);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.service-grid .service-card {
  display: grid;
  grid-template-rows: 200px 1fr;
  min-height: 0;
  position: relative;
}

.service-grid .service-card img {
  width: 100%;
  height: 200px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) sepia(0.03) contrast(1.05) brightness(0.96);
}

.service-grid .service-card:nth-child(1) img {
  object-position: center 48%;
}

.service-grid .service-card:nth-child(2) img {
  object-position: center 44%;
}

.service-grid .service-card:nth-child(3) img {
  object-position: center 48%;
}

.service-grid .service-card div {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.service-grid .service-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.16;
}

.service-grid .service-card p {
  color: rgba(21, 21, 21, 0.66);
  font-size: 0.82rem;
  line-height: 1.5;
}

.service-grid .service-card p + p {
  margin-top: 0.84rem;
}

.service-card,
.testimonial {
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
  transition: none;
}

.service-card div,
.testimonial,
.contact-panel,
.legal-card {
  padding: 24px;
}

.carousel {
  position: relative;
  isolation: isolate;
}

.carousel-track {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: min(820px, 68%);
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.96);
  transition: opacity 1s ease, transform 1s ease, filter 1s ease;
  will-change: opacity, transform;
}

.carousel-slide.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.carousel-slide.is-before {
  z-index: 1;
  opacity: 0.1;
  transform: translateX(-38%) scale(0.92);
  filter: saturate(0.75);
}

.carousel-slide.is-after {
  z-index: 1;
  opacity: 0.1;
  transform: translateX(38%) scale(0.92);
  filter: saturate(0.75);
}

.carousel-slide.is-hidden {
  opacity: 0;
  transform: translateX(0) scale(0.94);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  box-shadow: none;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease;
}

.carousel-button:hover {
  background: var(--accent);
  color: white;
}

.carousel-button-prev {
  left: 4px;
}

.carousel-button-next {
  right: 4px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.2);
  cursor: pointer;
  transition: width 0.24s ease, background 0.24s ease;
}

.carousel-dots button.active {
  width: 52px;
  background: var(--accent);
}

.service-carousel .carousel-track {
  min-height: 408px;
}

.service-carousel .carousel-slide {
  width: min(720px, 70%);
}

.service-carousel .carousel-slide.is-before,
.service-carousel .carousel-slide.is-after {
  opacity: 0;
  transform: translateX(0) scale(0.96);
  filter: none;
}

.service-carousel .service-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 360px;
}

.service-carousel .service-card img {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}

.service-carousel .service-card div {
  align-self: center;
  padding: clamp(24px, 3vw, 34px);
}

.service-carousel .service-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
}

.service-carousel .service-card p {
  font-size: 0.98rem;
  line-height: 1.58;
}

.about-section {
  background: var(--paper);
}

.about-layout {
  max-width: 1060px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 410px);
  gap: clamp(34px, 5.4vw, 68px);
  align-items: center;
}

.about-copy {
  max-width: none;
  position: relative;
}

.about-copy p {
  color: rgba(21, 21, 21, 0.62);
  font-size: clamp(0.93rem, 1.04vw, 1rem);
  line-height: 1.64;
}

.trust-note {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
}

.about-story {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin-top: clamp(18px, 2vw, 24px);
  padding: 0;
}

.about-story p:first-child {
  color: rgba(21, 21, 21, 0.84);
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.58;
}

.trust-note strong {
  color: var(--accent-dark);
}

.trust-note p {
  color: var(--muted);
}

.portrait-frame {
  align-self: stretch;
  min-height: 320px;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #e7ece8;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.06);
}

.portrait-frame img {
  width: min(100%, 620px);
  object-fit: contain;
}

.portrait-frame.about-portrait {
  width: min(100%, 395px);
  height: 440px;
  min-height: 0;
  max-height: none;
  align-items: stretch;
  justify-self: end;
  background: #e7ece8;
  transform: none;
  transition: transform 0.28s ease;
}

.portrait-frame.about-portrait:hover {
  transform: translateY(-2px);
}

.portrait-frame.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.quote {
  max-width: 880px;
  margin: 0 auto 8px;
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
}

.small-quote {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.quote-source {
  text-align: center;
  color: var(--muted);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial h3 {
  margin-bottom: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.testimonial .role {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.testimonial-carousel .carousel-track {
  min-height: 330px;
}

.testimonial-carousel .testimonial {
  width: min(500px, 52%);
  justify-content: center;
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
}

.testimonial-carousel .testimonial img {
  width: 78px;
  height: 78px;
}

.testimonial-carousel .testimonial h3 {
  font-size: 1.15rem;
}

.testimonial-carousel .testimonial p:not(.role) {
  font-size: clamp(0.96rem, 1.6vw, 1.08rem);
  line-height: 1.55;
}

.referral-section {
  background: var(--paper);
  padding-top: clamp(6px, 1.2vw, 14px);
  margin-top: clamp(-14px, -1.4vw, -8px);
}

.referral-card {
  display: block;
  width: min(760px, calc(100% - 36px));
  border: 0;
  border-top: 1px solid rgba(182, 98, 29, 0.16);
  border-bottom: 1px solid rgba(182, 98, 29, 0.1);
  border-radius: 0;
  padding: clamp(15px, 1.8vw, 18px) 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.referral-card p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(21, 21, 21, 0.58);
  font-size: clamp(0.9rem, 1.04vw, 0.98rem);
  line-height: 1.55;
}

.referral-card strong {
  color: var(--accent-dark);
  font-weight: 900;
  white-space: nowrap;
}

.process-section {
  border-top: 1px solid rgba(21, 21, 21, 0.06);
  background: var(--paper);
  color: var(--ink);
}

.process-section .section-kicker {
  color: var(--accent-dark);
}

.process-section .section-heading p {
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  min-height: 0;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 24px);
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.process-step:hover {
  border-color: rgba(182, 98, 29, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.process-step h3 {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}

.process-step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-section {
  padding: clamp(30px, 4.2vw, 48px) 0;
  border-top: 1px solid rgba(21, 21, 21, 0.06);
  background: #2f4540;
  color: white;
}

.contact-layout {
  max-width: 1040px;
}

.contact-section .section-kicker {
  color: #f5bd82;
}

.contact-section .contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  box-shadow: none;
}

.contact-section .contact-panel::after {
  content: none;
}

.contact-section .contact-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.5;
}

.contact-meta {
  display: grid;
  gap: 18px;
}

.contact-methods {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(180px, 0.84fr);
  gap: clamp(12px, 2vw, 18px);
  margin-top: 0;
  min-width: 0;
}

.contact-method {
  min-width: 0;
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-method:hover {
  border-color: rgba(245, 189, 130, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.contact-method span {
  color: #f5bd82;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method strong {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  font-size: clamp(0.9rem, 1.08vw, 1.02rem);
  line-height: 1.25;
}

.page-hero {
  padding: clamp(72px, 10vw, 124px) 0 clamp(42px, 7vw, 78px);
  background:
    linear-gradient(135deg, rgba(246, 248, 245, 0.98), rgba(232, 238, 233, 0.9)),
    linear-gradient(90deg, rgba(51, 90, 74, 0.12), rgba(182, 98, 29, 0.08));
}

.page-hero .wrap,
.legal-page .legal-layout {
  max-width: 920px;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.page-hero h1 {
  overflow-wrap: anywhere;
}

.legal-page {
  background: var(--paper);
}

.legal-page .legal-layout {
  display: grid;
  gap: 18px;
}

.legal-page .legal-card {
  margin: 0;
  padding: clamp(24px, 4vw, 36px);
  overflow: visible;
}

.legal-page .legal-card h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 900;
}

.legal-page a {
  color: var(--accent-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-page ul {
  margin: 0;
  padding-left: 22px;
}

.legal-section {
  background: #eef2ee;
}

.legal-layout {
  max-width: 900px;
}

.legal-card {
  margin-bottom: 18px;
  overflow: clip;
}

.legal-card summary {
  position: relative;
  padding: 24px 58px 24px 26px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.legal-card summary::-webkit-details-marker {
  display: none;
}

.legal-card summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-dark);
  font-size: 1.6rem;
  line-height: 1;
}

.legal-card[open] summary::after {
  content: "-";
}

.legal-content {
  padding: 0 26px 28px;
  overflow-wrap: anywhere;
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-note {
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  background: #fff7ef;
}

.site-footer {
  padding: clamp(56px, 7vw, 76px) 0 34px;
  border-top: 1px solid rgba(182, 98, 29, 0.16);
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 189, 130, 0.16), transparent 30%),
    linear-gradient(135deg, #302a25, #40362e 54%, #2d2925);
  color: #f7f3ed;
}

.has-floating-appointment .site-footer {
  padding-bottom: clamp(82px, 8vw, 104px);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: #fffaf2;
  text-decoration: none;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.footer-logo span {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.footer-brand p {
  max-width: 360px;
  color: rgba(247, 243, 237, 0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: #f5bd82;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p,
.footer-bottom p,
.footer-legal a {
  color: rgba(247, 243, 237, 0.66);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-col a:hover,
.footer-legal a:hover {
  color: #fffaf2;
}

.icon-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fffaf2;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.icon-link:hover {
  border-color: rgba(245, 189, 130, 0.4);
  background: rgba(245, 189, 130, 0.12);
  color: #f5bd82;
  transform: translateY(-2px);
}

.icon-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p,
.footer-legal a {
  margin: 0;
  color: rgba(247, 243, 237, 0.48);
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.scheduler-lock {
  overflow: hidden;
}

.scheduler-modal {
  width: min(720px, calc(100vw - 54px));
  height: min(600px, calc(100svh - 92px));
  max-height: none;
  border: 1px solid rgba(182, 98, 29, 0.12);
  border-radius: 10px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(13, 20, 17, 0.24);
}

.scheduler-modal::backdrop {
  background: rgba(21, 21, 21, 0.34);
  backdrop-filter: blur(8px);
}

.scheduler-shell {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
}

.scheduler-shell::before {
  content: "Kalender wird geladen...";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent),
    var(--paper);
  background-size: 220% 100%, auto;
  color: rgba(21, 21, 21, 0.52);
  font-size: 0.92rem;
  transition: opacity 0.24s ease;
  animation: schedulerLoading 1.25s ease-in-out infinite;
}

.scheduler-modal.scheduler-loaded .scheduler-shell::before {
  opacity: 0;
  pointer-events: none;
}

.scheduler-head {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.scheduler-head > div,
.scheduler-head p {
  display: none;
}

.scheduler-close {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.1);
}

.scheduler-close::before,
.scheduler-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.scheduler-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.scheduler-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.scheduler-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--paper);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.scheduler-modal.scheduler-loaded .scheduler-frame {
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  transition-delay: var(--delay, 0ms);
}

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

@keyframes heroCubeRotate {
  0% {
    opacity: 0;
    transform: rotateX(-90deg) translateY(10px);
  }

  5%,
  14% {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }

  19%,
  100% {
    opacity: 0;
    transform: rotateX(90deg) translateY(-10px);
  }
}

@keyframes guideLineIn {
  from {
    height: 0;
  }

  to {
    height: calc(100% - 24px);
  }
}

@keyframes guideRunner {
  0% {
    opacity: 0;
    top: 10px;
  }

  8% {
    opacity: 1;
  }

  86% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: calc(100% - 24px);
  }
}

@keyframes schedulerLoading {
  0% {
    background-position: 160% 0, 0 0;
  }

  100% {
    background-position: -60% 0, 0 0;
  }
}

@keyframes aboutPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stringItemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .guide-item {
    opacity: 1;
    transform: none;
    animation: none;
    filter: none;
  }

  .question-stack::after {
    height: calc(100% - 28px);
    animation: none;
  }

  .scheduler-shell::before {
    display: none;
  }

  .scheduler-frame {
    opacity: 1;
  }

  .hero-cube {
    display: grid;
    gap: 8px;
    height: auto;
  }

  .hero-cube-word {
    position: static;
    opacity: 1;
    transform: none;
    animation: none;
  }

}

@media (max-width: 1040px) {
  .site-nav a {
    padding: 9px 8px;
    font-size: 0.87rem;
  }

  .service-grid {
    gap: 12px;
  }

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

  .service-grid .service-card div {
    padding: 18px;
  }

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

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

  .about-copy {
    max-width: 620px;
  }

  .about-story {
    max-width: none;
  }

  .portrait-frame.about-portrait {
    justify-self: center;
    width: min(100%, 380px);
    height: 420px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 34px clamp(36px, 7vw, 64px);
  }
}

@media (max-width: 1120px) {
  .contact-section .contact-panel {
    grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  }

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

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: var(--header);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--soft);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav a {
    color: #303030;
    text-decoration: none;
    padding: 13px 14px;
    border-radius: 6px;
    font-size: 1rem;
  }

  .mobile-nav a:hover,
  .mobile-nav a.active:hover {
    background: transparent;
    color: var(--accent-dark);
  }

  .mobile-nav a.active {
    background: transparent;
    color: #303030;
  }

  .header-inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .brand {
    grid-column: 2;
  }

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

  .process-step {
    min-height: 0;
  }

  .portrait-frame {
    min-height: 380px;
  }

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

@media (max-width: 720px) {
  .about-layout,
  .hero-inner,
  .problem-layout,
  .process-grid,
  .referral-card,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-cube {
    height: 38px;
  }

  .question-stack {
    gap: 0;
    max-width: 560px;
    padding: 10px 0;
  }

  .question-stack::before {
    left: 42px;
    transform: none;
  }

  .question-stack::after {
    left: 42px;
    transform: none;
  }

  .guide-item {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 0;
    padding: 26px 0;
  }

  .guide-node {
    grid-column: 1;
    width: 68px;
    height: 68px;
    margin-top: 2px;
  }

  .guide-item:nth-of-type(odd) .guide-card,
  .guide-item:nth-of-type(even) .guide-card {
    grid-column: 2;
    justify-self: stretch;
    text-align: left;
  }

  .guide-card strong {
    margin-bottom: 12px;
  }

  .guide-card h3 {
    margin-bottom: 10px;
  }

  .carousel-track,
  .service-carousel .carousel-track,
  .testimonial-carousel .carousel-track {
    min-height: 0;
    overflow: visible;
  }

  .carousel-slide,
  .service-carousel .carousel-slide,
  .testimonial-carousel .testimonial {
    position: relative;
    inset: auto;
    display: none;
    width: 100%;
    transform: none;
  }

  .carousel-slide.is-active {
    display: grid;
    opacity: 1;
    transform: none;
  }

  .testimonial-carousel .carousel-slide.is-active {
    display: flex;
  }

  .carousel-slide.is-before,
  .carousel-slide.is-after,
  .carousel-slide.is-hidden {
    display: none;
  }

  .carousel-button {
    top: auto;
    bottom: -8px;
    transform: none;
  }

  .carousel-button:hover {
    transform: none;
  }

  .carousel-button-prev {
    left: 0;
  }

  .carousel-button-next {
    right: 0;
  }

  .service-carousel .service-card,
  .service-carousel .carousel-slide.is-active {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-carousel .service-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .testimonial-carousel .testimonial {
    min-height: 0;
  }

  .portrait-frame.about-portrait {
    justify-self: center;
    width: min(100%, 340px);
    height: 390px;
  }

  .scheduler-modal {
    width: min(100vw - 24px, 600px);
    height: min(80svh, 620px);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --header: 72px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.35rem);
  }

  .page-hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.85rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .header-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand span {
    max-width: 150px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .hero-inner {
    gap: 20px;
    padding: 24px 0 34px;
  }

  .hero-cube-word {
    font-size: clamp(1.25rem, 8vw, 1.9rem);
  }

  .question-stack {
    gap: 0;
  }

  .guide-card {
    padding: 16px;
  }

  .guide-card p {
    font-size: 0.9rem;
  }

  .actions,
  .button {
    width: 100%;
  }

  .floating-appointment {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 0 15px;
    font-size: 0.82rem;
  }

  .actions {
    gap: 10px;
    margin-top: 22px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .section {
    padding: 58px 0;
  }

  .service-card div,
  .testimonial,
  .contact-panel,
  .legal-card {
    padding: 22px;
  }

  .legal-card summary {
    padding: 22px 52px 22px 22px;
  }

  .legal-content {
    padding: 0 22px 24px;
  }
}
