/* ============================================================
   by.philipe – Design-System
   1. VARIABLEN: Hier änderst du Farben & Schriften für die GANZE Seite
   ============================================================ */
:root {
  /* Farben – hell & warm */
  --bg: #f3eadc;            /* Warmes Creme – Haupt-Hintergrund */
  --bg-alt: #e8dac4;        /* Sand – jeder zweite Abschnitt */
  --surface: #fbf6ee;       /* Karten */
  --text: #231d16;          /* Warmes Fast-Schwarz */
  --text-muted: #65594a;    /* Gedämpfter, warmer Text */
  --border: #d9c9b1;        /* Feine Linien */
  --accent: #3f5a3a;        /* Olivgrün */
  --accent-dark: #2e4329;   /* Dunkleres Olivgrün (Hover) */
  --accent-soft: #dfe3d2;   /* Helles Olivgrün (Flächen) */
  --clay: #b5603c;          /* Terrakotta – nur für kleine Akzente */
  --clay-soft: #efd5c3;     /* Helles Terrakotta */
  --deep: #2c3a27;          /* Dunkelgrün – für einen dunklen Abschnitt */

  /* Schriften */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --max-width: 1160px;
  --shadow: 0 1px 2px rgba(26, 26, 23, 0.04), 0 12px 32px rgba(26, 26, 23, 0.06);
}

/* ============================================================
   2. GRUNDLAGEN
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

em.accent {               /* kursives, grünes Wort in Überschriften */
  font-style: italic;
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(63, 90, 58, 0.22);
}

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

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--text);
  box-shadow: none;
}

.btn--small { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(243, 234, 220, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.is-scrolled { border-bottom-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav__logo span { color: var(--accent); font-style: italic; }

.nav__links { display: flex; align-items: center; gap: 2rem; }

.nav__links a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav__links a:not(.btn):hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  padding: 9.5rem 0 5rem;
  /* Warmer Lichtschein hinter dem Foto */
  background:
    radial-gradient(520px circle at 82% 45%, rgba(181, 96, 60, 0.16), transparent 70%),
    radial-gradient(600px circle at 10% 90%, rgba(63, 90, 58, 0.08), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero__title {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  margin-bottom: 1.5rem;
}

.hero__text {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero__trust li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
  margin-right: 0.45rem;
}

.hero__media { position: relative; }

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius); /* Bogen oben = edler Look */
  box-shadow: var(--shadow);
}

.hero__badge {
  position: absolute;
  left: -1.5rem;
  bottom: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hero__badge::before {      /* kleiner Terrakotta-Punkt = "verfügbar" */
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  margin-right: 0.4rem;
  vertical-align: middle;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
}

/* ============================================================
   6. ABSCHNITTE ALLGEMEIN
   ============================================================ */
.section { padding: 7rem 0; }
.section--alt { background: var(--bg-alt); }

.section__head {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}

.section__head p { color: var(--text-muted); font-size: 1.1rem; }

.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   7. VORTEILE ("Warum ich")
   ============================================================ */
/* Dunkelgrüner Abschnitt – gibt der Seite Tiefe */
.section--dark {
  background: var(--deep);
  color: #f3eadc;
}

.section--dark .eyebrow { color: #e4b596; }
.section--dark em.accent { color: #e4b596; }
.section--dark .perk { border-top-color: rgba(243, 234, 220, 0.2); }
.section--dark .perk p { color: rgba(243, 234, 220, 0.72); }
.section--dark .perk__num { color: #e4b596; }

.perk { padding-top: 1.5rem; border-top: 1px solid var(--border); }

.perk__num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--clay);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.perk h3 { font-size: 1.25rem; }
.perk p { color: var(--text-muted); font-size: 0.98rem; }

/* ============================================================
   8. KARTEN (Leistungen)
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card__icon svg { width: 24px; height: 24px; }
.card p { color: var(--text-muted); }

.card ul {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.card li::before { content: "—"; color: var(--accent); margin-right: 0.5rem; }

/* ============================================================
   9. MUSTERPROJEKT
   ============================================================ */
.showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.browser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #f1ede5;
}

.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d1c3; }

.browser__url {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: 6px;
  padding: 0.2rem 0.7rem;
}

/* Die echte Musterseite, verkleinert angezeigt */
.browser__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.browser__screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 800px;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
}

.showcase__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.showcase__text p { color: var(--text-muted); margin-bottom: 1.25rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }

.tags span {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

/* ============================================================
   10. PAKETE
   ============================================================ */
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
}

.price--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.price__badge {
  position: absolute;
  top: -0.8rem;
  left: 2.25rem;
  background: var(--clay);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

.price__name { font-size: 1.5rem; }
.price__for { font-size: 0.92rem; opacity: 0.75; margin-bottom: 1.5rem; }

.price__amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.price__amount small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  opacity: 0.7;
  margin-right: 0.3rem;
}

.price ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex: 1;
}

.price li { display: flex; gap: 0.6rem; }
.price li::before { content: "✓"; color: var(--accent); font-weight: 600; }
.price--featured li::before { color: #cfe0c3; }

.price .btn { justify-content: center; }
.price--featured .btn { background: #fff; color: var(--accent); border-color: #fff; }
.price--featured .btn:hover { background: var(--bg); }

.price-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============================================================
   11. ABLAUF
   ============================================================ */
.steps { counter-reset: step; }

.step {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--clay);
  margin-bottom: 1rem;
}

.step__time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  margin-bottom: 0.75rem;
}

.step p { color: var(--text-muted); font-size: 0.96rem; }

/* ============================================================
   12. ÜBER MICH
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.about__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.about__text p { color: var(--text-muted); margin-bottom: 1.15rem; }
.about__text p strong { color: var(--text); font-weight: 600; }

.about__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about__facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.about__facts li { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   13. KONTAKT
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}

.contact__intro p { color: var(--text-muted); margin-bottom: 1.5rem; }

.contact__list { list-style: none; display: grid; gap: 0.9rem; margin-top: 2rem; }

.contact__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  transition: color 0.2s;
}

.contact__list a:hover { color: var(--accent); }

.contact__list span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact__list svg { width: 18px; height: 18px; }

.form {
  display: grid;
  gap: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.form .btn { justify-self: start; }
.form__success { color: var(--accent); font-weight: 500; }

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background: var(--deep);   /* dunkelgrüner Abschluss, passend zum dunklen Abschnitt */
  padding: 2.5rem 0;
  color: rgba(243, 234, 220, 0.7);
  font-size: 0.9rem;
}

.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer nav { display: flex; gap: 1.5rem; }
.footer a:hover { color: #fff; }

/* ============================================================
   15. RECHTLICHE SEITEN (Impressum & Datenschutz)
   ============================================================ */
.legal { padding: 9rem 0 5rem; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.legal p { color: var(--text-muted); margin-bottom: 1rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { font-size: 0.9rem; }

/* ============================================================
   16. ANIMATION – Elemente mit class="reveal" blenden beim Scrollen ein
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   17. RESPONSIVE – Tablets & Handys
   ============================================================ */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hero__inner, .showcase, .about, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .hero__media { max-width: 420px; }
  .hero__badge { left: auto; right: -0.5rem; }
}

@media (max-width: 720px) {
  .section { padding: 5rem 0; }
  .hero { padding-top: 7.5rem; }
  .grid--2, .grid--4, .form__row { grid-template-columns: 1fr; }

  .nav__toggle { display: flex; }

  .nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav__links.is-open { display: flex; }

  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about__facts { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .footer__inner { flex-direction: column; }
}
