:root {
  --bg: #fff5ee;
  --paper: #f5d6c1;
  --paper-light: #fff9f4;
  --text: #25170e;
  --muted: #5e4335;
  --accent: #ff7b24;
  --accent-dark: #d35600;
  --accent-soft: #ffd9c2;
  --green: #2fa36d;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 25px 45px rgba(84, 55, 34, 0.15);
  --motion-distance: 12px;
  --motion-duration: 1.05s;
  --motion-ease: cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes floatReveal {
  0% {
    opacity: 0.01;
    transform: translate3d(var(--motion-translate-x, 0), var(--motion-translate-y, var(--motion-distance)), 0) scale(var(--motion-scale, 0.99));
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes slideReveal {
  0% {
    opacity: 0.01;
    transform: translate3d(var(--motion-translate-x, -20px), var(--motion-translate-y, 6px), 0) scale(var(--motion-scale, 0.99));
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes tiltReveal {
  0% {
    opacity: 0.01;
    transform: translate3d(var(--motion-translate-x, 0), var(--motion-translate-y, 18px), 0) rotate(-0.6deg) scale(var(--motion-scale, 0.99));
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes pulseReveal {
  0% {
    opacity: 0.01;
    transform: translate3d(var(--motion-translate-x, 0), var(--motion-translate-y, var(--motion-distance)), 0) scale(var(--motion-scale, 0.99));
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes slowPan {
  0% {
    background-position: 50% 50%;
  }

  50% {
    background-position: 52% 48%;
  }

  100% {
    background-position: 50% 50%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.3rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--text);
}

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

.animate-on-scroll {
  opacity: 1;
  transform: none;
  --motion-animation: floatReveal;
}

.animate-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, var(--motion-distance), 0) scale(0.99);
}

.animate-on-scroll.is-visible {
  animation-name: var(--motion-animation, floatReveal);
  animation-duration: var(--motion-duration);
  animation-timing-function: var(--motion-ease);
  animation-delay: var(--card-delay, 0s);
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

:where(.highlight,
    .problem-card,
    .problem-note,
    .card,
    .smart-card,
    .smart-metric,
    .smart-metric-card,
    .smart-flow,
    .smart-step,
    .service-card) {
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--motion-ease), box-shadow 0.5s ease;
}

:where(.highlight,
    .problem-card,
    .problem-note,
    .card,
    .smart-card,
    .smart-metric,
    .smart-metric-card,
    .smart-flow,
    .smart-step,
    .service-card):hover,
:where(.highlight,
    .problem-card,
    .problem-note,
    .card,
    .smart-card,
    .smart-metric,
    .smart-metric-card,
    .smart-flow,
    .smart-step,
    .service-card):focus-within {
  box-shadow: 0 45px 75px rgba(74, 44, 35, 0.25);
  transform: translate3d(0, -6px, 0);
}

:where(.highlight,
    .problem-card,
    .problem-note,
    .card,
    .smart-card,
    .smart-metric,
    .smart-metric-card,
    .smart-step,
    .service-card)::after {
  content: '';
  position: absolute;
  inset: -140% auto auto -40%;
  width: 45%;
  height: 280%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: rotate(25deg) translate3d(-150%, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 1.1s ease, opacity 1.1s ease;
}

:where(.highlight,
    .problem-card,
    .problem-note,
    .card,
    .smart-card,
    .smart-metric,
    .smart-metric-card,
    .smart-step,
    .service-card):hover::after,
:where(.highlight,
    .problem-card,
    .problem-note,
    .card,
    .smart-card,
    .smart-metric,
    .smart-metric-card,
    .smart-step,
    .service-card):focus-within::after {
  opacity: 0.55;
  transform: rotate(25deg) translate3d(220%, 0, 0);
}

.hero {
  padding: 3rem clamp(1.5rem, 4vw, 3rem) 3.5rem;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(244, 225, 210, 0.92) 0%, rgba(255, 253, 249, 0.92) 55%, rgba(255, 231, 209, 0.9) 100%), url('hero.png');
  background-size: cover;
  background-position: center;
  margin-bottom: clamp(1.5rem, 4vw, 3.5rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.5), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.hero__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__container--alt {
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  margin: 0.35rem 0 1.3rem;
  line-height: 1.35;
  color: transparent;
  background: linear-gradient(120deg, var(--accent) 0%, #ff9240 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
  position: relative;
}

.hero h1::after {
  content: '';
  position: absolute;
  inset: -10% -5%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.45), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.gradient-heading {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  color: transparent;
  background: linear-gradient(100deg, #ff9240 0%, #ff7b24 55%, #d05700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.08));
}

.no-wrap {
  white-space: nowrap;
}

.hero__copy p,
.hero__copy li {
  line-height: 1.5;
}

.eyebrow {
  font-family: 'Playball', cursive;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent-dark);
  margin: 0 0 0.3rem;
  letter-spacing: 0.12em;
}

.eyebrow--accent {
  color: var(--accent-dark);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: none;
}

.text-normal {
  color: var(--text) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.section--visual .eyebrow {
  color: var(--accent-dark);
}

.section--visual .eyebrow--accent,
.section--services .eyebrow,
.section--oft .eyebrow {
  color: var(--accent-dark);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s var(--motion-ease), box-shadow 0.3s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fffdf8;
  box-shadow: 0 12px 30px rgba(212, 122, 69, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

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


.hero__highlights {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__note {
  margin: 1rem 0 0;
  font-style: italic;
  color: var(--muted);
}

.hero__note span {
  display: block;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-top: 0.5rem;
}

.highlight {
  min-width: 150px;
  padding: 1rem 1.2rem;
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center;
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  position: relative;
  overflow: hidden;
}

.highlight strong {
  display: block;
  font-size: 1.6rem;
}

.highlight span {
  font-weight: 600;
  color: var(--muted);
}

.hero__highlights .highlight {
  --motion-translate-y: 16px;
  --motion-scale: 0.99;
  --motion-animation: pulseReveal;
}

.hero__highlights .highlight:nth-child(1) {
  --card-delay: 0.1s;
  --motion-translate-x: -18px;
}

.hero__highlights .highlight:nth-child(2) {
  --card-delay: 0.2s;
  --motion-translate-x: 0px;
}

.hero__highlights .highlight:nth-child(3) {
  --card-delay: 0.3s;
  --motion-translate-x: 18px;
}

.hero__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__card--profile {
  position: relative;
  z-index: 0;
  border-radius: calc(var(--radius) + 26px);
  overflow: hidden;
  min-height: clamp(420px, 60vw, 580px);
  max-width: 480px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 70px 110px rgba(212, 122, 69, 0.25);
  --motion-translate-y: 18px;
  --motion-scale: 0.99;
  --card-delay: 0.15s;
  --motion-animation: tiltReveal;
}

.hero__card--profile::before {
  display: none;
}

.hero__avatar {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transform-origin: center top;
  display: block;
}

.hero__meta {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(255, 223, 200, 0.9));
  padding: 1.25rem 1.4rem 1.3rem;
  box-shadow: 0 25px 55px rgba(212, 122, 69, 0.25);
  backdrop-filter: blur(4px);
  color: var(--text);
  z-index: 2;
}

.hero__identity {
  text-align: left;
  margin: 0;
}

.hero__identity p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: transparent;
  background: linear-gradient(100deg, #ff9240 0%, #ff7b24 55%, #d05700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__identity span {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: transparent;
  background: linear-gradient(100deg, #ff9240 0%, #ff7b24 55%, #d05700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.2rem;
}

.hero__identity strong {
  color: inherit;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__identity-tags {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero__identity-tags span {
  background: rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--radius) - 8px);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(212, 122, 69, 0.3);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  min-width: 140px;
  text-align: center;
}

.scene {
  position: relative;
  border-radius: calc(var(--radius) + 22px);
  min-height: clamp(360px, 45vw, 520px);
  background: var(--scene-bg, linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(244, 225, 210, 0.75)));
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 55px 90px rgba(12, 9, 7, 0.28);
  isolation: isolate;
  --motion-translate-y: 20px;
  --motion-animation: slideReveal;
  animation: none;
}

.scene.is-visible {
  animation: slowPan 30s ease-in-out forwards;
}

.scene--hero::before {
  display: none;
}

.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.scene--hero {
  min-height: 260px;
  border-radius: calc(var(--radius) + 4px);
}



.hero__portrait figcaption {
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.hero__portrait figcaption span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.hero__logo {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1.5rem);
  left: clamp(0.5rem, 4vw, 2.5rem);
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  min-width: 320px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 122, 69, 0.25);
  box-shadow: 0 22px 40px rgba(10, 6, 4, 0.2);
  z-index: 3;
}

.hero__logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.hero__logo span {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero__logo small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.6rem;
  color: var(--muted);
}

.hero__container {
  position: relative;
  z-index: 1;
}

.scene--service {
  position: relative;
  width: 100%;
  min-height: 0;
  height: auto;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.scene--service img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.scene--service-a { --scene-bg: url('Vorqualifizierung.jpg'); }
.scene--service-b { --scene-bg: url('Begleitete Besichtigungen.jpg'); }
.scene--service-c { --scene-bg: url('Unterlagen vorbereiten.png'); }
.scene--service-d { --scene-bg: url('Kommunikation & Transparenz.jpg'); }
.scene--service-e { --scene-bg: url('Professionelle Vermarktung.jpg'); }
.scene--service-f { --scene-bg: url('Käufernetzwerk.jpg'); }

.section__grid .scene {
  min-height: clamp(420px, 55vw, 620px);
  border-radius: calc(var(--radius) + 28px);
}

.section__grid .scene::after {
  inset: -24px;
  border-radius: calc(var(--radius) + 40px);
}



.section {
  padding: 4rem clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 45px rgba(12, 9, 7, 0.08);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  scroll-margin-top: clamp(1rem, 4vw, 3rem);
}

.section::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.section--visual {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(250, 236, 223, 0.85));
  color: var(--text);
}

.section--angebot {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.82), rgba(250, 236, 223, 0.75));
}

.section--angebot .section__grid > div:first-child {
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid rgba(212, 122, 69, 0.18);
  box-shadow:
    0 50px 110px rgba(74, 44, 35, 0.25),
    0 25px 60px rgba(255, 146, 64, 0.4);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  isolation: isolate;
}

.section--angebot .section__grid > div:first-child::after {
  content: '';
  position: absolute;
  inset: 0.75rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
  opacity: 0.8;
}

.section--oft {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(250, 236, 223, 0.82)), url('Stade/Stade1.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
}

.section--smart {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(250, 236, 223, 0.8)), url('Stade/Stade3.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
}

.section--warum {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(250, 236, 223, 0.8)), url('Stade/Stade5.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
}

.section--ueber {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(250, 236, 223, 0.8)), url('Stade/Stade7.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
}

.section--kontakt {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(250, 236, 223, 0.72)), url('Stade/Stade8.jpg');
  background-size: cover;
  background-position: center;
  color: #fff8f2;
}

.scene--angebot {
  --scene-bg: linear-gradient(145deg, rgba(14, 10, 8, 0.1), rgba(10, 6, 4, 0.1));
  min-height: 420px;
  border: none;
  box-shadow: 0 45px 70px rgba(74, 44, 35, 0.2);
}

.scene--warum {
  --scene-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(244, 225, 210, 0)), url('Warum das gut fur Sie ist.png');
  border: none;
  box-shadow: 0 45px 70px rgba(74, 44, 35, 0.18);
}

.scene--office {
  --scene-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(250, 236, 223, 0.1)), url('Klarheit.png');
  border: none;
  box-shadow: 0 45px 70px rgba(74, 44, 35, 0.18);
}

.section--dark {
  background: linear-gradient(120deg, var(--paper-light), var(--paper));
}

.section__header {
  margin: 0 auto 3rem;
  text-align: left;
}

.section__header--full {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section--services .section__header {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.section__header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section--visual h2 {
  color: var(--accent-dark);
}

.section--angebot .eyebrow,
.section--smart .eyebrow {
  color: var(--accent-dark);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.section--smart h2,
.section--oft h2,
.section--warum h2,
.section--services h2,
.section--ueber h2,
.section--contact h2 {
  color: transparent;
  background: linear-gradient(100deg, #ff9240 0%, #ff7b24 55%, #d05700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.3rem, 5.5vw, 3.4rem);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.08));
  position: relative;
}

.section--services .gradient-heading {
  font-size: clamp(2.3rem, 5.5vw, 3rem);
}

.section__header p {
  color: var(--muted);
  margin: 0;
}

.section__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.section__grid--reverse {
  direction: rtl;
}

.section__grid--reverse > * {
  direction: ltr;
}

.section__grid--stack {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.problem-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 10px);
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  position: relative;
  overflow: hidden;
  --motion-translate-y: 18px;
  --motion-scale: 0.99;
  --motion-animation: slideReveal;
}

.problem-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  line-height: 1.3;
  color: transparent;
  background: linear-gradient(120deg, var(--accent) 0%, #ff9240 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
}

.problem-grid .problem-card:nth-child(1) {
  --card-delay: 0.15s;
  --motion-translate-x: -24px;
}

.problem-grid .problem-card:nth-child(2) {
  --card-delay: 0.25s;
  --motion-translate-x: 24px;
}

.problem-grid .problem-card:nth-child(3) {
  --card-delay: 0.35s;
  --motion-translate-x: -22px;
}

.problem-grid .problem-card:nth-child(4) {
  --card-delay: 0.45s;
  --motion-translate-x: 22px;
}

.problem-note {
  margin-top: 1.5rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 10px);
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  --card-delay: 0.55s;
  --motion-translate-y: 18px;
  --motion-scale: 0.99;
  --motion-animation: pulseReveal;
}

.problem-note strong {
  letter-spacing: 0.08em;
}

.problem-note span {
  color: var(--muted);
}

.card,
.list-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 10px);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  position: relative;
  overflow: hidden;
  --card-delay: 0.2s;
  --motion-translate-y: 16px;
  --motion-scale: 0.99;
  --motion-animation: pulseReveal;
}

.card--accent {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 223, 202, 0.88));
}

.card.tight {
  padding: 1.5rem;
}

.card__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 0;
}

.card ul,
.list-card ul {
  padding-left: 1.25rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.card li,
.list-card li {
  margin-bottom: 0.5rem;
}

.list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 0;
}

.list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.list--accent li {
  color: var(--accent-dark);
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 0;
}

.checklist li {
  margin-bottom: 0.65rem;
  padding-left: 1.8rem;
  position: relative;
  color: var(--text);
}

.checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
}

.note {
  margin-top: 1.25rem;
  color: var(--text);
  font-weight: 600;
}

.smart-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.smart-panel {
  padding: 2rem;
  border-radius: calc(var(--radius) + 12px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(251, 219, 196, 0.9));
  box-shadow:
    0 45px 90px rgba(74, 44, 35, 0.22),
    0 25px 55px rgba(212, 122, 69, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.smart-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fffdf8;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 12px 25px rgba(212, 122, 69, 0.35);
}

.smart-panel h3 {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
  text-shadow:
    0 0 15px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(0, 0, 0, 0.5),
    0 0 45px rgba(0, 0, 0, 0.4);
}

.smart-panel p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(0, 0, 0, 0.4);
}

.smart-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.smart-points li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text);
}

.smart-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.smart-metric-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.smart-metric-card {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  position: relative;
  overflow: hidden;
  --motion-animation: slideReveal;
}

.smart-metric-card p {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.smart-metric-card strong {
  display: block;
  font-size: 2.2rem;
  margin: 0.4rem 0;
}

.smart-metric-card span {
  font-size: 0.95rem;
  color: var(--muted);
}

.smart-steps {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.smart-step {
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 10px);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  position: relative;
  overflow: hidden;
  --motion-translate-y: 18px;
  --motion-scale: 0.99;
  --motion-animation: tiltReveal;
}

.smart-step span {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.smart-step h4 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.smart-step p {
  margin: 0;
  color: var(--muted);
}

.smart-steps .smart-step:nth-child(1) { --card-delay: 0.05s; }
.smart-steps .smart-step:nth-child(2) { --card-delay: 0.15s; }
.smart-steps .smart-step:nth-child(3) { --card-delay: 0.25s; }
.smart-steps .smart-step:nth-child(4) { --card-delay: 0.35s; }

.smart-steps .smart-step:nth-child(odd) {
  --motion-translate-x: -18px;
  --motion-rotate: -1deg;
}

.smart-steps .smart-step:nth-child(even) {
  --motion-translate-x: 18px;
  --motion-rotate: 1.2deg;
}

.smart-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.smart-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 10px);
  padding: 2rem;
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  --card-delay: 0.05s;
  --motion-translate-y: 18px;
  --motion-scale: 0.99;
  --motion-translate-x: -14px;
  --motion-animation: tiltReveal;
}

.smart-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fffdf8;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 12px 25px rgba(212, 122, 69, 0.35);
}

.smart-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
}

.smart-card p {
  margin: 0 0 1.3rem;
  color: var(--muted);
}

.smart-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.smart-metric {
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 6px);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  --motion-translate-y: 16px;
  --motion-scale: 0.99;
  --motion-animation: tiltReveal;
}

.smart-metric strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.smart-metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.smart-metrics .smart-metric:nth-child(1) { --card-delay: 0.05s; }
.smart-metrics .smart-metric:nth-child(2) { --card-delay: 0.15s; }
.smart-metrics .smart-metric:nth-child(3) { --card-delay: 0.25s; }
.smart-metrics .smart-metric:nth-child(odd) { --motion-translate-x: -18px; }
.smart-metrics .smart-metric:nth-child(even) { --motion-translate-x: 18px; }

.smart-flow {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 223, 202, 0.9));
  color: var(--text);
  border-radius: calc(var(--radius) + 10px);
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 45px 70px rgba(212, 122, 69, 0.25);
  position: relative;
  overflow: hidden;
  --card-delay: 0.2s;
  --motion-translate-y: 18px;
  --motion-translate-x: 12px;
  --motion-animation: pulseReveal;
}

.smart-flow::after {
  content: '';
  position: absolute;
  inset: 1.2rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.smart-flow__intro h3 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}

.smart-flow__intro p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.smart-flow__intro--accent h3 {
  color: transparent;
  background: linear-gradient(120deg, var(--accent) 0%, #ff9240 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.smart-sequence {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.smart-sequence li {
  position: relative;
  padding: 1rem 1rem 1rem 3.3rem;
  border-radius: calc(var(--radius) - 8px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 122, 69, 0.15);
  font-size: 1rem;
  line-height: 1.5;
}

.smart-sequence--contrast li {
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
}

.smart-sequence li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

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

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

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius) + 10px);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 35px 60px rgba(74, 44, 35, 0.2);
  position: relative;
  overflow: hidden;
  --motion-translate-y: 12px;
  --motion-scale: 0.995;
  --motion-animation: floatReveal;
}

.service-card .scene {
  margin-bottom: 0.4rem;
}

.service-card h3 {
  margin: 0.65rem 0 0.4rem;
}

.services-grid .service-card:nth-child(1) { --card-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { --card-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { --card-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { --card-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { --card-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { --card-delay: 0.6s; }
.services-grid .service-card:nth-child(odd) { --motion-translate-x: 0px; }
.services-grid .service-card:nth-child(even) { --motion-translate-x: 0px; }

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.contact p {
  font-weight: 600;
  margin: 0 2rem 0 0;
  color: var(--text);
}

.footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 2.75rem clamp(1.5rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 12px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(252, 232, 216, 0.9));
  box-shadow: 0 -12px 35px rgba(74, 44, 35, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.65);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0.75rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.footer p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--contact {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(250, 236, 223, 0.85));
  color: var(--text);
}

.section--contact .eyebrow {
  color: var(--accent-dark);
}

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

.section--contact .btn--ghost {
  border-color: rgba(74, 44, 35, 0.3);
  color: var(--text);
}

.section--contact .contact p {
  color: var(--text);
  margin-right: 0;
}

.scene--contact {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(250, 236, 223, 0.1)), url('Kontakt.png');
  background-size: cover;
  background-position: center;
  border: none;
  min-height: 320px;
  box-shadow: 0 30px 60px rgba(74, 44, 35, 0.2);
}

.hero__logo--right {
  left: auto;
  right: clamp(0.5rem, 4vw, 2.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .scene {
    animation: none !important;
  }
}

@media (max-width: 1024px) {
  body {
    padding: clamp(0.75rem, 3vw, 1.5rem);
  }

  .hero,
  .section {
    padding: 2.5rem clamp(1rem, 4vw, 1.5rem);
  }

  .section__grid,
  .smart-wrap,
  .services-grid {
    gap: 1.5rem;
  }

  .section__grid--reverse {
    direction: ltr;
  }

  .section__grid--reverse > * {
    direction: ltr;
  }

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

  .hero__copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .hero__note {
    text-align: center;
  }

  .hero__highlights,
  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .scene {
    min-height: clamp(280px, 60vw, 420px);
  }

  .smart-card,
  .smart-flow {
    padding: 1.8rem;
  }

  .section__header {
    text-align: center;
  }
}

@media (max-width: 820px) {
  .hero,
  .section {
    padding: 2.2rem 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: 1.2;
  }

  .section__grid,
  .smart-wrap {
    grid-template-columns: 1fr;
  }

  .scene {
    min-height: 260px;
  }

  .hero__highlights {
    flex-direction: column;
    align-items: stretch;
  }

  .highlight {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .smart-flow::after {
    inset: 0.9rem;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0.75rem;
    font-size: 1.2rem;
  }

  .hero,
  .section {
    padding: 1.8rem 1rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .hero__logo {
    position: static;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    width: min(100%, 240px);
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 999px;
    gap: 0;
  }


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

  .hero__actions,
  .contact,
  .hero__highlights {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

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

  .smart-card,
  .smart-flow {
    padding: 1.5rem 1.2rem;
  }

  .scene {
    min-height: 220px;
  }

  .scene.is-visible {
    animation: none;
  }

  .hero__card--profile {
    box-shadow: 0 35px 70px rgba(212, 122, 69, 0.2);
    min-height: 520px;
    padding-bottom: 2rem;
  }

  .hero__avatar {
    min-height: 360px;
  }

  .hero__meta {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: -4rem 1rem 0;
    backdrop-filter: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 223, 200, 0.95));
    box-shadow: 0 20px 40px rgba(212, 122, 69, 0.22);
  }

  .contact p {
    margin: 0 0 0.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1.25rem;
  }

  .hero__logo {
    width: auto;
    padding: 0;
  }

  .hero__logo img {
    width: 170px;
    height: 170px;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    padding: 1.2rem;
  }

  .hero__logo span,
  .hero__logo small {
    display: none;
  }

  .highlight {
    padding: 0.85rem 1rem;
  }

  .smart-card,
  .smart-flow {
    padding: 1.35rem 1rem;
  }

  .section,
  .hero {
    border-radius: 18px;
  }
}
.section--contact h2 {
  color: transparent;
  background: linear-gradient(120deg, var(--accent) 0%, #ff9240 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.section--contact strong,
strong {
  color: var(--accent);
}

.section--contact .list li {
  color: #fff7ea;
}
.section--visual .list li {
  background: rgba(255, 255, 255, 0.88);
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 12px);
  display: inline-block;
  margin-bottom: 0.4rem;
}
.hero__visual--simple {
  gap: 1.5rem;
}
.section--oft *:where(h1, h2, h3, h4, h5, h6),
.section--angebot *:where(h1, h2, h3, h4, h5, h6),
.section--smart *:where(h1, h2, h3, h4, h5, h6),
.section--warum *:where(h1, h2, h3, h4, h5, h6),
.section--services *:where(h1, h2, h3, h4, h5, h6),
.section--contact *:where(h1, h2, h3, h4, h5, h6) {
  color: transparent;
  background: linear-gradient(120deg, var(--accent) 0%, #ff9240 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.section--angebot .card--accent p,
.section--services .service-card p,
.section--ueber p {
  color: var(--text);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.section--services .service-card h3 {
  color: transparent;
  background: linear-gradient(120deg, var(--accent) 0%, #ff9240 55%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
