/*
Theme Name: Resonanz Reise
Theme URI: https://www.resonanz-reise.com
Author: Resonanz-Reise
Description: Ein maßgeschneidertes WordPress-Theme für Coaching und Persönlichleitsentwicklung.
Version: 1.0.0
Text Domain: resonanz-reise
*/

  /* Selbst gehostete Schriften – keine Verbindung zu Google */
  @font-face { font-family:'Fraunces'; font-style:normal; font-weight:500;
    src:url('fonts/fraunces-500.woff2') format('woff2'); font-display:swap; }
  @font-face { font-family:'Inter'; font-style:normal; font-weight:400;
    src:url('fonts/inter-400.woff2') format('woff2'); font-display:swap; }
  @font-face { font-family:'Inter'; font-style:normal; font-weight:500;
    src:url('fonts/inter-500.woff2') format('woff2'); font-display:swap; }
  @font-face { font-family:'Inter'; font-style:normal; font-weight:600;
    src:url('fonts/inter-600.woff2') format('woff2'); font-display:swap; }

  :root {
    --bg: #F5F0E8;
    --bg-alt: #EAE2D4;
    --ink: #2A2A2A;
    --ink-soft: #5A5651;
    --sage: #3D5A4A;
    --sage-deep: #2C443A;
    --sand: #C8A882;
    --earth: #6B4438;
    --rule: #D9CFBE;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0;
  }
  h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
  h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 1.2rem; }
  h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.4rem; }
  p { margin: 0 0 1rem 0; }
  a { color: var(--sage-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

  .wrap { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: 1.1rem 0;
    transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  }
  header .wrap { max-width: 1100px; }
  header.scrolled {
    background: rgba(245,240,232,0.9);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom-color: var(--rule);
    padding: 0.8rem 0;
  }
  /*von hier
  .nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .nav .brand { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 500; color: #F5F0E8; text-decoration: none; white-space: nowrap; transition: color 0.25s ease; }
  .menu { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
  .menu a { color: rgba(245,240,232,0.92); text-decoration: none; transition: color 0.15s; }
  .menu a:hover { color: #fff; }
  .menu a.menu-cta { background: var(--sand); color: #2A2A2A; padding: 0.45rem 1rem; border-radius: 11px; }
  .menu a.menu-cta:hover { background: #F5F0E8; color: #2A2A2A; }
 bis hier ausgegraut nach KI-Vorschlag*/
  header.scrolled .nav .brand { color: var(--ink); }
  header.scrolled .menu a { color: var(--ink-soft); }
  header.scrolled .menu a:hover { color: var(--sage-deep); }
  header.scrolled .menu a.menu-cta { background: var(--sage-deep); color: var(--bg); }
  header.scrolled .menu a.menu-cta:hover { background: var(--earth); color: var(--bg); }
  section[id] { scroll-margin-top: 5rem; }
  @media (max-width: 540px) {
    .nav { justify-content: space-between; }
    .menu { gap: 1.05rem; font-size: 0.9rem; }
  }

  .hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; padding: 0; border-top: 0; }
  .hero-bg {   position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;

  /*
   * Das Bild wird nach rechts verschoben.
   * 82% = horizontale Position
   * 24% = vertikale Position
   */
  object-position: 45% 24% !important;
  transform: translateX(5%) scale(1.08);
  transform-origin: center center;

  z-index: 0; }
  .hero-overlay { position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(to right, rgba(44,68,58,0.96) 0%, rgba(44,68,58,0.90) 30%, rgba(44,68,58,0.52) 46%, rgba(44,68,58,0.18) 55%, rgba(44,68,58,0) 64%),
      linear-gradient(to bottom, rgba(16,22,19,0.38) 0%, rgba(16,22,19,0) 16%);
  }
  .hero .hero-content { position: relative; z-index: 2; max-width: 1100px; width: 100%; padding-top: 7rem; padding-bottom: 4rem; }
  .hero h1 { max-width: 18ch; margin-bottom: 1.5rem; color: #F5F0E8; }
  .hero .lede { font-size: 1.15rem; color: rgba(245,240,232,0.85); max-width: 42ch; margin-bottom: 2.5rem; }
  .hero .cta { background: var(--sand); color: #2A2A2A; }
  .hero .cta:hover { background: #F5F0E8; color: #2A2A2A; }
  .hero .cta-meta { color: rgba(245,240,232,0.72); }
   /* Mobile: Gesicht und Oberkörper rechts im Bild halten */
 //@media (max-width: 640px) {
 // .hero-bg {
 //   object-position: 84% 20%;
  @media (max-width: 640px) {
    .hero { align-items: flex-end; min-height: 92vh; }
    .hero-bg { object-position: 66% 18%; }
    .hero-overlay { background: linear-gradient(to bottom, rgba(16,22,19,0.34) 0%, rgba(16,22,19,0) 14%, rgba(44,68,58,0) 36%, rgba(44,68,58,0.60) 64%, rgba(44,68,58,0.96) 100%); }
    .hero .hero-content { padding-top: 6rem; padding-bottom: 3.5rem; }
    .hero h1 { max-width: 100%; }
  }
 
  .cta {
    display: inline-block; background: var(--sage-deep); color: #F5F0E8;
    padding: 0.95rem 1.6rem; border-radius: 15px; font-weight: 500;
    text-decoration: none; transition: background 0.2s;
  }
  .cta:hover { background: var(--earth); color: #F5F0E8; }
  .cta-meta { display: block; margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-soft); }

  section { padding: 4rem 0; border-top: 1px solid var(--rule); }
  section.alt { background: var(--bg-alt); border-top: 0; }
  .eyebrow {
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sage-deep); margin-bottom: 0.8rem; font-weight: 500;
  }

  .problem ul { list-style: none; padding: 0; margin: 1.5rem 0 0 0; }
  .problem li { padding: 1.1rem 1.3rem; margin-bottom: 0.8rem; background: #fff; border-radius: 16px; color: var(--ink); box-shadow: 0 1px 3px rgba(44,68,58,0.05); }
  .problem li:last-child { margin-bottom: 0; }
  .problem .closer { margin-top: 2rem; font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--sage-deep); max-width: 34ch; }

  .guide .portrait {
    width: 168px; height: 168px; border-radius: 50%; object-fit: cover;
    object-position: 64% 26%; margin-bottom: 1.5rem; display: block;
  }
  .guide .creds { margin-top: 1.5rem; font-size: 0.92rem; color: var(--ink-soft); padding: 1rem 1.2rem; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(44,68,58,0.05); }
  .guide-photo { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:16px; margin:1.5rem 0 0.5rem; display:block; }

  .plan ol { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0 0; }
  .plan li { counter-increment: step; padding: 1.5rem 1.5rem 1.5rem 4rem; position: relative; background: #fff; border-radius: 16px; margin-bottom: 1rem; box-shadow: 0 1px 3px rgba(44,68,58,0.05); }
  .plan li:last-child { margin-bottom: 0; }
  .plan li::before {
    content: counter(step); position: absolute; left: 1.4rem; top: 1.5rem;
    font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--sand); font-weight: 500; line-height: 1;
  }

  .success p { font-family: 'Fraunces', serif; font-size: 1.35rem; line-height: 1.45; color: var(--ink); max-width: 34ch; }

  .faq details { background: #fff; border-radius: 16px; padding: 1.1rem 1.3rem; margin-bottom: 0.8rem; }
  .faq summary { font-weight: 500; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; color: var(--ink); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--sage-deep); font-weight: 300; }
  .faq details[open] summary::after { content: '\2013'; }
  .faq details > div { padding-top: 0.8rem; color: var(--ink-soft); }

  .final { text-align: center; padding: 5rem 0; background: var(--sage-deep); color: var(--bg); border-top: 0; }
  .final h2 { color: var(--bg); max-width: 22ch; margin: 0 auto 1.5rem; }
  .final p { color: rgba(245,240,232,0.8); max-width: 40ch; margin: 0 auto 2rem; }
  .final .cta { background: var(--bg); color: var(--sage-deep); }
  .final .cta:hover { background: var(--sand); color: var(--ink); }

  footer { padding: 3rem 0 2rem; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
  footer .legal { margin-top: 0.6rem; }
  footer a { color: var(--ink-soft); }

  /* Hero-Bild: Gesicht und Oberkörper rechts neben der Überschrift */
/*img.hero-bg {
  object-fit: cover !important;
  object-position: 75% 24% !important;
}*/

/* Mobile Ansicht */
/*@media (max-width: 640px) {
  img.hero-bg {
    object-position: 82% 20% !important;
  }
}*/