/* =========================================================
   Lebensspur by Melanie – Farben, Schriften, Abstände
   ========================================================= */
:root {
  --creme: #F7F2EA;
  --creme-2: #EFE7DA;
  --sand: #E4D8C6;
  --petrol: #1E5059;
  --petrol-deep: #123A41;
  --petrol-soft: #D6E3E1;
  --gold: #B8975E;
  --gold-light: #D9C08F;
  --rose: #EDC7BC;
  --ink: #1C2B2E;
  --muted: #5E6B6B;
  --line: rgba(30, 80, 89, .14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1200px;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--petrol); }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--creme);
  font: 600 .95rem/1 var(--sans);
  letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid var(--petrol);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { background: var(--petrol-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(18, 58, 65, .55); }
.btn-small { padding: .7rem 1.2rem; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--petrol); }
.btn-ghost:hover { background: var(--petrol); color: var(--creme); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--petrol-deep); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.link-arrow {
  font-weight: 600; text-decoration: none; color: var(--petrol);
  display: inline-flex; align-items: center; gap: .5rem;
}
.link-arrow::after { content: "↓"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateY(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: rgba(247, 242, 234, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.brand { text-decoration: none; display: flex; align-items: center; gap: .45rem; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; margin-right: .2rem; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-family: var(--serif); font-size: 1.32rem; font-weight: 500; color: var(--petrol); letter-spacing: .06em; text-transform: uppercase; }
.brand-by {
  font-family: var(--sans); font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-top: .35rem; padding-top: .3rem; border-top: 1px solid var(--gold); align-self: flex-start; padding-right: 1.6rem;
}
.menu { display: flex; align-items: center; gap: 2rem; }
.menu a:not(.btn) {
  text-decoration: none; font-size: .92rem; font-weight: 500; position: relative;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  background:
    radial-gradient(38% 45% at 76% 48%, rgba(237, 199, 188, .45), transparent 70%),
    radial-gradient(60% 50% at 85% 20%, rgba(214, 227, 225, .9), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(217, 192, 143, .25), transparent 70%),
    var(--creme);
}
.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; position: relative; z-index: 2; }
.hero-title { position: relative; z-index: 2; font-size: clamp(3.2rem, 8.6vw, 7rem); line-height: .98; letter-spacing: -.03em; margin: .2em 0 .35em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .15s; }
.loaded .hero-title .line > span { transform: none; }
.hero-claim, .hero-actions, .hero .eyebrow { position: relative; z-index: 2; }
.hero-claim { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: var(--muted); }
.hero-claim strong { font-weight: 400; font-style: italic; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.2rem; }
.hero-meta {
  position: absolute; right: var(--pad); bottom: 36px; margin: 0;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.hero-logo {
  position: absolute; z-index: 1; margin: 0;
  right: -4%; top: 50%; width: min(38vw, 520px);
  transform: translateY(-50%);
}
.hero-logo img {
  width: 100%; height: auto;
  opacity: 0; transform: scale(.94) rotate(-4deg);
  transition: opacity 1.6s var(--ease) .3s, transform 1.8s var(--ease) .3s;
}
.loaded .hero-logo img { opacity: 1; transform: none; animation: float 9s ease-in-out 2.2s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
.hero-trail { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; z-index: 1; pointer-events: none; }
.hero-trail path {
  fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2000; stroke-dashoffset: 2000;
  transition: stroke-dashoffset 3.2s var(--ease) .5s;
}
.loaded .hero-trail path { stroke-dashoffset: 0; }

/* ---------- Statement (Scroll-Füllung) ---------- */
.statement {
  background: var(--petrol-deep);
  color: var(--creme);
  padding: clamp(90px, 16vw, 200px) var(--pad);
}
.statement-kicker {
  max-width: var(--max); margin: 0 auto 2rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light);
}
.statement-text {
  max-width: var(--max); margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.9rem);
  line-height: 1.18;
  letter-spacing: -.015em;
}
.statement-text .w { color: rgba(247, 242, 234, .16); transition: color .4s linear; }
.statement-text .w.on { color: var(--creme); }
.statement-text .w.accent.on { color: var(--gold-light); font-style: italic; }

/* ---------- Sektionen ---------- */
.section { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--pad); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-bottom: 1.4rem; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(18, 58, 65, .35); border-color: rgba(184, 151, 94, .5); }
.card-no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: 2.6rem; }
.card h3 { margin-bottom: 1rem; color: var(--petrol); }
.card p { color: var(--muted); }
.card-tag {
  margin: auto 0 0 !important; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--petrol) !important;
}

/* Ablauf */
.ablauf { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step { position: relative; padding-top: 46px; }
.step-dot {
  position: absolute; top: 0; left: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--creme); border: 2px solid var(--gold);
  transition: background .5s var(--ease);
}
.step.active .step-dot { background: var(--gold); }
.step h3 { font-size: 1.45rem; margin-bottom: .8rem; color: var(--petrol); }
.step p { color: var(--muted); font-size: .97rem; }
.steps::before {
  content: ""; position: absolute; top: 8px; left: 9px; right: 0; height: 2px;
  background: var(--sand);
}
.steps::after {
  content: ""; position: absolute; top: 8px; left: 9px; height: 2px; width: calc((100% - 9px) * var(--progress, 0));
  background: var(--gold);
  transition: width .2s linear;
}
.steps-trail { display: none; }

/* Über mich */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold); border-radius: 200px 200px var(--radius) var(--radius); z-index: -1;
}
.about-photo .placeholder, .about-photo img { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); object-fit: cover; width: 100%; }
.about-text h2 { margin-bottom: 1.4rem; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li {
  padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .9rem; color: var(--muted); background: rgba(255, 255, 255, .6);
}
.facts strong { color: var(--petrol); font-weight: 600; }

/* Platzhalter für Fotos */
.placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(255, 255, 255, .6), transparent 70%),
    linear-gradient(160deg, var(--petrol-soft), var(--sand));
  border-radius: var(--radius);
  color: var(--petrol); font-family: var(--serif); font-style: italic; font-size: 1.1rem; text-align: center;
}

.placeholder-logo { background: radial-gradient(60% 50% at 50% 45%, rgba(237, 199, 188, .55), transparent 75%), linear-gradient(160deg, var(--petrol-soft), var(--creme-2)); }
.placeholder-logo img { width: 72%; height: auto; }

/* Pakete */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px 34px; display: flex; flex-direction: column;
}
.price-card h3 { color: var(--petrol); margin-bottom: .6rem; }
.price-meta { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 1.2rem; }
.price { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); margin-bottom: 1.6rem; }
.price span { font-size: 3.2rem; color: var(--ink); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.price-card li { padding: .6rem 0 .6rem 1.7rem; border-bottom: 1px solid var(--line); position: relative; font-size: .97rem; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: 10px; height: 1.5px; background: var(--gold); }
.price-card.featured { background: var(--petrol); color: var(--creme); border-color: var(--petrol); transform: translateY(-14px); }
.price-card.featured h3, .price-card.featured .price span { color: var(--creme); }
.price-card.featured .price { color: var(--gold-light); }
.price-card.featured .price-meta { color: rgba(247, 242, 234, .7); }
.price-card.featured li { border-color: rgba(247, 242, 234, .15); }
.price-card.featured .btn { background: var(--gold); border-color: var(--gold); color: var(--petrol-deep); }
.badge {
  position: absolute; top: -13px; right: 24px; margin: 0;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--petrol-deep); background: var(--gold-light); padding: .35rem .7rem; border-radius: 999px;
}
.price-strip {
  margin-top: 22px; background: var(--creme-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; display: grid; grid-template-columns: 1fr auto auto; gap: 12px 40px; align-items: center;
}
.price-strip h3 { color: var(--petrol); margin-bottom: .4rem; }
.price-strip .price-meta { margin: 0; max-width: 52ch; }
.price-strip .price { margin: 0; }
.price-strip-kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: .5rem; }
.note { margin-top: 2.4rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* Einblicke */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 260px 260px; gap: 22px; }
.gallery .g1 { grid-row: 1 / 3; }

/* Kontakt */
.contact { background: var(--petrol-deep); color: var(--creme); padding: clamp(90px, 13vw, 160px) var(--pad); }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.contact h2 { margin-bottom: 1.6rem; }
.contact em { color: var(--gold-light); }
.contact-intro p { color: rgba(247, 242, 234, .75); max-width: 46ch; }
.contact-intro strong { color: var(--gold-light); font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1rem 0 2.6rem; }
.btn-outline-light { background: transparent; color: var(--creme); border-color: rgba(247, 242, 234, .4); }
.btn-outline-light:hover { background: rgba(247, 242, 234, .1); border-color: var(--creme); }
.contact-data { margin: 0; display: grid; gap: 1rem; }
.contact-data div { display: grid; grid-template-columns: 100px 1fr; border-top: 1px solid rgba(247, 242, 234, .14); padding-top: 1rem; }
.contact-data dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); padding-top: .2rem; }
.contact-data dd { margin: 0; }
.contact-data a { text-decoration: none; }
.contact-data a:hover { color: var(--gold-light); }

.form {
  background: rgba(247, 242, 234, .05); border: 1px solid rgba(247, 242, 234, .12);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
  display: grid; gap: 1.2rem; align-content: start;
}
.form label { display: grid; gap: .45rem; font-size: .85rem; font-weight: 500; color: rgba(247, 242, 234, .8); }
.form .opt { color: rgba(247, 242, 234, .45); font-weight: 400; }
.form select option { color: var(--ink); }
.form input:not([type="checkbox"]), .form textarea, .form select {
  font: inherit; font-size: 1rem; color: var(--creme);
  background: transparent; border: 0; border-bottom: 1px solid rgba(247, 242, 234, .3);
  padding: .55rem 0; border-radius: 0; resize: vertical;
  transition: border-color .3s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold-light); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .82rem; line-height: 1.5; }
.form .check input { margin-top: .2rem; accent-color: var(--gold); }
.form .check a { color: var(--gold-light); }
.form .btn { justify-self: start; margin-top: .4rem; }
.form .hint { font-size: .78rem; font-weight: 400; color: rgba(247, 242, 234, .55); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: .9rem; color: var(--gold-light); min-height: 1.4em; }
.invalid { border-color: #E9A38F !important; }

/* Footer */
.footer {
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 56px var(--pad) 40px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: .45rem; }
.footer-brand .brand-mark { width: 52px; height: 52px; }
.disclaimer { margin: 0; font-size: .8rem; color: var(--muted); max-width: 60ch; }
.footer-links { display: flex; gap: 1.6rem; font-size: .9rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.copy { grid-column: 1 / -1; margin: 0; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .pricing .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3), .pricing .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .24s; }
.steps .reveal:nth-child(4) { transition-delay: .36s; }
.price-card.featured.reveal.in { transform: translateY(-14px); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 150px var(--pad) 90px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: #34484b; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--petrol); text-underline-offset: 3px; }
.legal a.btn { color: var(--creme); text-decoration: none; }
.legal-date { margin-top: 3rem; font-size: .85rem; color: var(--muted) !important; }
.legal-center { text-align: center; min-height: 80svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.legal-center h1 { margin-bottom: 0; }
.footer-legal { grid-template-columns: 1fr; }
.link-back::after { content: "←"; order: -1; }
.legal .todo { background: var(--creme-2); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; border-radius: 6px; }

/* ---------- Tablet & Handy ---------- */
@media (max-width: 960px) {
  .cards, .pricing { grid-template-columns: 1fr; max-width: 560px; }
  .price-card.featured, .price-card.featured.reveal.in { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 34px; padding-left: 40px; }
  .step { padding-top: 0; }
  .step-dot { left: -40px; top: 6px; }
  .steps::before { top: 0; bottom: 0; left: -32px; right: auto; width: 2px; height: auto; }
  .steps::after { top: 0; left: -32px; width: 2px; height: calc(100% * var(--progress, 0)); }
  .about, .contact-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle {
    display: grid; gap: 7px; place-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--creme); cursor: pointer;
    position: relative; z-index: 2;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--petrol); transition: transform .35s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 0; background: var(--creme);
    flex-direction: column; justify-content: center; gap: 1.6rem;
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .menu a:not(.btn) { font-family: var(--serif); font-size: 2rem; }
  .menu.open { opacity: 1; pointer-events: auto; }
  .hero-meta { left: var(--pad); right: auto; }
  .hero { padding-top: 96px; }
  .hero-inner { display: flex; flex-direction: column; }
  .hero-logo { position: relative; order: -1; right: auto; top: auto; transform: none; width: 200px; align-self: flex-end; margin: -8px -8px 12px 0; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-word { font-size: 1.15rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px; gap: 14px; }
  .gallery .g1 { grid-row: auto; grid-column: 1 / -1; }
  .contact-data div { grid-template-columns: 1fr; gap: .2rem; }
  .link-back { font-size: .85rem; }
  .legal { padding-top: 120px; }
  .price-strip { grid-template-columns: 1fr; padding: 28px 24px; }
  .price-strip .btn { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .hero-logo img { opacity: 1; transform: none; }
  .hero-trail path { stroke-dashoffset: 0; }
  .statement-text .w { color: var(--creme); }
}
