/* Schrift und Grundlagen */
@font-face {
  font-family: Prata;
  src: url("../fonts/prata/Prata-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #31413c;
  --muted: #687871;
  --sage: #dfe9e1;
  --sage-dark: #a8beb0;
  --cream: #f8f7f2;
  --peach: #e9c8b8;
  --peach-light: #f4e4dc;
  --white: #fff;
  --line: #dbe4dd;
  --shadow: 0 20px 60px rgba(55, 77, 67, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.65;
}

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

p {
  margin: 0 0 1rem;
}

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

/* Kopfbereich und Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(248, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 228, 221, 0.7);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--peach-light);
  color: #b77e68;
  font-size: 18px;
}

html .brand .brand-mark {
  background: transparent;
}

.brand-mark img {
  display: block;
  width: 30px;
  height: 30px;
}

.header-mark {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.brand-mark .header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}

.brand-mark .header-leaf {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: Prata, serif;
  font-size: 18px;
  font-weight: 600;
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: var(--muted);
}

.main-nav a:not(.button) {
  transition: color 0.2s;
}

.main-nav a:not(.button):hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  padding: 13px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(49, 65, 60, 0.12);
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-outline {
  border: 1px solid var(--sage-dark);
  padding: 9px 18px;
  color: var(--ink);
}

.page-back {
  margin-bottom: 24px;
  padding: 8px 12px;
  font-size: 11px;
}

.back-to-top {
  position: fixed;
  z-index: 19;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(80, 104, 92, 0.3);
  border-radius: 50%;
  background: rgba(223, 233, 225, 0.95);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  transform: translateX(-50%);
  box-shadow: 0 4px 16px rgba(49, 65, 60, 0.12);
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  background: #d0e0d4;
}

.back-to-top:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px;
}

.section-pad {
  padding: 120px 0;
}

/* Startbereich */
.hero {
  position: relative;
  min-height: 760px;
  padding-top: 175px;
  overflow: hidden;
}

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

.eyebrow {
  color: #ad7966;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1,
h2 {
  font-family: Prata, serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(58px, 7vw, 92px);
}

h2 {
  font-size: clamp(40px, 5vw, 65px);
}

em {
  font-style: normal;
  color: #a66f5b;
}

.hero-lead {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  margin: 26px 0 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}

.text-link {
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  color: #b77e68;
  font-size: 20px;
  margin-left: 7px;
  transition: margin 0.2s;
}

.text-link:hover span {
  margin-left: 12px;
}

.hero-note {
  margin-top: 54px;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.note-dot {
  width: 7px;
  height: 7px;
  background: var(--peach);
  border-radius: 50%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 48% 48% 22px 22px;
  box-shadow: 0 24px 55px rgba(55, 77, 67, 0.14);
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  color: #a66f5b;
  font-size: 20px;
}

.lotus {
  position: absolute;
  color: #d1dfd5;
  opacity: 0.38;
  line-height: 1;
}

.lotus-icon {
  display: block;
  width: 180px;
  height: auto;
  fill: currentColor;
}

.lotus-hero {
  right: 4%;
  top: 105px;
  transform: rotate(12deg);
}

.lotus-contact {
  left: 6%;
  bottom: 10px;
}

/* Über mich und Angebot */
.section-soft {
  background: var(--peach-light);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.section-copy {
  max-width: 500px;
  color: var(--muted);
  padding-top: 20px;
}

.section-copy p {
  margin-bottom: 22px;
}

.section-pad.about-main {
  padding-top: 160px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.about-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 48% 48% 22px 22px;
  box-shadow: var(--shadow);
}

.about-copy {
  color: var(--muted);
}

.about-copy h1 {
  color: var(--ink);
  margin-bottom: 28px;
}

.center-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}

.center-heading > p:last-child {
  color: var(--muted);
  margin-top: 20px;
}

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

.offer-grid.offer-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-card {
  position: relative;
  padding: 38px 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
  min-height: 315px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.offer-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.offer-card-featured {
  background: var(--sage);
  border-color: transparent;
}

.card-number {
  position: absolute;
  right: 27px;
  top: 28px;
  color: #a6b8ad;
  font-size: 12px;
}

.icon-circle {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  background: var(--peach-light);
  color: #ad7966;
  border-radius: 50%;
  font-size: 20px;
  margin-bottom: 30px;
}

.icon-circle img {
  display: block;
  width: 26px;
  height: 26px;
}

.offer-card h3 {
  font-family: Prata, serif;
  font-size: 27px;
  font-weight: 500;
  margin: 0 0 12px;
}

.offer-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.offer-card a {
  font-size: 12px;
  font-weight: 700;
}

.offer-card a span {
  color: #b77e68;
  font-size: 18px;
  margin-left: 6px;
}

/* Abo-Seite */
.offer-grid.abo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.section-pad.abo-main {
  padding-top: 160px;
}

.abo-title {
  font-family: Prata, serif;
  font-size: clamp(40px, 5vw, 65px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
}

.abo-card h2 {
  font-family: Prata, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.2;
  margin: 0 0 12px;
}

.abo-note {
  max-width: 760px;
  margin: 35px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.offer-card.example-card {
  max-width: 760px;
  min-height: 0;
  margin: 50px auto 0;
}

.example-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 12px;
}

/* Ablauf */
.section-sage {
  background: var(--sage);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.process-intro > p:last-child {
  color: var(--muted);
  max-width: 300px;
  margin-top: 28px;
}

.steps {
  border-top: 1px solid rgba(104, 120, 113, 0.35);
}

.step {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(104, 120, 113, 0.35);
}

.step > span {
  font-size: 12px;
  color: #a66f5b;
  padding-top: 5px;
}

.step h3 {
  font-family: Prata, serif;
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 7px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 370px;
}

/* Kontakt */
.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 25%, #f0d7ca, transparent 48%),
    radial-gradient(ellipse at 85% 75%, #c5d9cb, transparent 48%),
    #e8eee8;
}

.contact-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 65px 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: var(--shadow);
}

.contact-box > div:first-child > p:last-child {
  color: var(--muted);
  margin-top: 25px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.contact-link,
.address {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-family: Prata, serif;
}

.contact-link span,
.address span {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: #ad7966;
  font-weight: 700;
  margin-bottom: 3px;
}

/* Kundenstimmen */
.testimonial-slider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
}

.testimonial-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.testimonial-arrow:hover {
  background: var(--sage);
}

.testimonial-arrow:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.testimonial-arrow[hidden],
.testimonial-card[hidden] {
  display: none;
}

.testimonial-slides {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.testimonial-previous {
  grid-column: 1;
  grid-row: 1;
}

.testimonial-next {
  grid-column: 3;
  grid-row: 1;
}

.testimonial-slider:not(.is-ready) .testimonial-card + .testimonial-card {
  margin-top: 24px;
}

.testimonial-slider.is-ready .testimonial-slides {
  display: grid;
}

.testimonial-slider.is-ready .testimonial-card {
  grid-area: 1 / 1;
  min-width: 0;
}

.testimonial-slider.is-ready .testimonial-card[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}

.testimonial-card.is-entering-next {
  animation: testimonial-enter-next 1.1s ease both;
}

.testimonial-card.is-entering-previous {
  animation: testimonial-enter-previous 1.1s ease both;
}

.testimonial-card.is-leaving-next {
  z-index: 1;
  pointer-events: none;
  animation: testimonial-leave-next 1.1s ease both;
}

.testimonial-card.is-leaving-previous {
  z-index: 1;
  pointer-events: none;
  animation: testimonial-leave-previous 1.1s ease both;
}

@keyframes testimonial-enter-next {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes testimonial-enter-previous {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes testimonial-leave-next {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-32px); }
}

@keyframes testimonial-leave-previous {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(32px); }
}

.testimonial-card {
  margin: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.testimonial-photo {
  position: relative;
  margin: 0;
  min-height: 300px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 10px);
}

.testimonial-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.testimonial-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 6px 10px;
  background: rgba(49, 65, 60, 0.85);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
}

.testimonial-placeholder {
  display: grid;
  place-items: center;
  background: var(--peach-light);
}

.testimonial-placeholder svg {
  width: 80px;
  height: 80px;
  fill: #ad7966;
}

.testimonial-content {
  align-self: center;
  padding: 28px;
  min-width: 0;
}

.testimonial-author {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: Prata, serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.testimonial-card blockquote p:last-child {
  margin-bottom: 0;
}

/* Footer und Rechtliches */
.site-footer {
  background: #32443d;
  color: #dce8df;
  padding: 65px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding-bottom: 48px;
}

.footer-brand .brand-mark {
  background: #50685c;
  color: #ebc9ba;
}

html .footer-brand .brand-mark {
  background: #fff;
}

.footer-brand .brand-text small {
  color: #aec2b5;
}

.footer-top > p {
  font-family: Prata, serif;
  font-size: 18px;
  color: #b8cabe;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(220, 232, 223, 0.18);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #9fb5a7;
  font-size: 11px;
}

.legal {
  width: min(680px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  padding: 38px;
  border: 0;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
  font: inherit;
}

.legal::backdrop {
  background: rgba(25, 38, 32, 0.7);
}

.legal h2 {
  font-size: 30px;
  padding-right: 40px;
  margin-bottom: 18px;
}

.legal a {
  color: #835543;
  text-decoration: underline;
}

.legal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.placeholder-note {
  color: #835543;
  font-size: 12px;
}

/* Einblendung und Bewegung */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

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

html.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

html.reveal-enabled .reveal.is-visible,
html.reveal-enabled .reveal:focus-within {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s ease,
    transform 1.1s ease;
}

html.reveal-enabled .reveal.is-visible.reveal-delay {
  transition-delay: 0.12s;
}

html.reveal-enabled .reveal.is-visible.reveal-delay-2 {
  transition-delay: 0.22s;
}

html.reveal-enabled .reveal.is-visible,
html.reveal-enabled .parallax-group {
  translate: 0 var(--parallax-offset, 0px);
}

html.reveal-enabled .parallax-group .reveal {
  transform: none;
}

html.reveal-enabled .parallax-group .reveal.is-visible {
  translate: none;
}

html.reveal-enabled .offer-card.reveal.is-visible:hover {
  transform: translateY(-7px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button,
  .text-link span {
    transition: none;
  }
  .testimonial-card.is-entering-next,
  .testimonial-card.is-entering-previous,
  .testimonial-card.is-leaving-next,
  .testimonial-card.is-leaving-previous {
    animation: none;
  }
  html.reveal-enabled .reveal,
  html.reveal-enabled .reveal.is-visible,
  html.reveal-enabled .reveal:focus-within,
  html.reveal-enabled .parallax-group {
    opacity: 1;
    transform: none;
    translate: none;
    transition: none;
  }
}
