/* ==========================================================================
   REBEKKA&COMPANY  –  style.css
   Diese eine Datei steuert das komplette Aussehen der Website.

   Aufbau (von oben nach unten):
     1. EINSTELLUNGEN  – Farben, Schriften, Seitenbreite   <- hier zuerst schauen
     2. GRUNDLAGEN     – Seite, Text, Links, Bilder
     3. BAUSTEINE      – Buttons, Abschnitts-Titel, Karten, Listen
     4. ABSCHNITTE     – Kopfzeile, Hero, ... in der Reihenfolge der Seite
     5. FUSSZEILE
     6. KLEINE BILDSCHIRME (Handy / Tablet)

   Tipps:
   - Farben und Schriften NUR in Abschnitt 1 aendern, alles andere passt sich an.
   - "clamp(min, ideal, max)" bedeutet: der Wert waechst mit der Bildschirmbreite,
     bleibt aber zwischen min und max.
   - Eine Zeile mit /* ... * / ist ein Kommentar und hat keine Wirkung.
   ========================================================================== */


/* ==========================================================================
   1. EINSTELLUNGEN
   ========================================================================== */
:root {
  /* --- Farben (Design-Vorlage rebekka.co.at/rebekka/) --- */
  --sage:        #6CA27A;   /* Akzentfarbe (Salbeigruen): Linien, Punkte, Hover */
  --sage-deep:   #4E7C5C;   /* dunkleres Gruen: kursive Hervorhebungen in Titeln */
  --charcoal:    #1A1A1A;   /* Textfarbe (fast schwarz) */
  --warm-white:  #FAFAF7;   /* Seitenhintergrund (warmes Weiss) */
  --cool-grey:   #E6E6E6;   /* Trennlinien und Rahmen */
  --muted:       #6B6B66;   /* gedaempfter Text (Untertitel, Beschreibungen) */

  /* --- Schriften (liegen lokal in fonts/, siehe fonts/fonts.css) --- */
  --serif: 'Cormorant Garamond', Garamond, Georgia, 'Times New Roman', serif; /* Ueberschriften */
  --sans:  'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;  /* Fliesstext */

  /* --- Layout --- */
  --maxw: 1140px;                       /* maximale Inhaltsbreite */
  --pad:  clamp(1.25rem, 5vw, 4rem);    /* Abstand zum Bildschirmrand */
}


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

html { scroll-behavior: smooth; }       /* sanftes Scrollen bei #Sprungmarken */

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }

::selection { background: rgba(108,162,122,.22); }

/* Ueberschriften: Serifenschrift, leicht, eng gesetzt */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem);   line-height: 1.12; }
h3 { font-size: 1.45rem; line-height: 1.25; }

/* kursive, gruene Hervorhebung in Titeln:  <em>...</em> */
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--sage-deep); }

/* Inhalts-Container: zentriert, begrenzte Breite */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* Jeder Abschnitt hat oben und unten Luft und eine feine Trennlinie */
section { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--cool-grey); }
section:first-of-type { border-top: 0; }

/* Einleitungstext unter Ueberschriften */
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 62ch; margin: 1.5rem 0 0; }


/* ==========================================================================
   3. BAUSTEINE
   ========================================================================== */

/* --- Buttons (runde "Pillen") ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.5rem;
  border: 1px solid rgba(26,26,26,.18); border-radius: 100px;
  font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--charcoal); background: transparent;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--sage); border-color: var(--sage); color: #fff; }

.btn-solid { background: var(--charcoal); border-color: var(--charcoal); color: var(--warm-white); }

/* gruener Button (CI-Gruen, weisse Schrift); beim Hover weiss mit dunkler Schrift */
.btn-green { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn-green:hover { background: #fff; border-color: rgba(26,26,26,.18); color: var(--charcoal); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* --- Kleine Ueberzeile in Grossbuchstaben mit gruener Linie ------------ */
.eyebrow {
  display: flex; align-items: center; gap: .85rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--sage); }

/* --- Abschnitts-Kopf:  01 — TITEL ———————— ---------------------------- */
.section-head {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2.5rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.section-head .num { color: var(--sage); }
.section-head::after { content: ''; flex: 1; height: 1px; background: var(--cool-grey); }

/* --- Karten-Raster ------------------------------------------------------ */
.cards {
  display: grid; gap: 1.25rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  /* so viele Spalten wie Platz ist */
}
.card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--cool-grey); border-radius: 2px; background: rgba(255,255,255,.55);
  transition: transform .4s, box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(108,162,122,.5); box-shadow: 0 22px 44px -30px rgba(26,26,26,.3); }
.card .num { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .18em; color: var(--sage); margin-bottom: .75rem; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
/* Variante mit vier gleich breiten Karten in einer Reihe (Abschnitt 06) */
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card .small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* --- Nummerierte Schritte (Zeilen mit Trennlinie) ----------------------- */
.steps { margin-top: 2.5rem; border-top: 1px solid var(--cool-grey); }
.step {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--cool-grey);
}
.step .num { font-size: .7rem; font-weight: 500; letter-spacing: .18em; color: var(--sage); padding-top: .55rem; }
.step h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.step p { margin: .4rem 0 0; color: var(--muted); max-width: 60ch; }

/* --- Listen mit gruenem Punkt (.list-yes) oder grauem Strich (.list-no) - */
.list-yes, .list-no { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.list-yes li, .list-no li { position: relative; padding: .8rem 0 .8rem 1.6rem; border-top: 1px solid var(--cool-grey); }
.list-yes li:last-child, .list-no li:last-child { border-bottom: 1px solid var(--cool-grey); }
.list-yes li::before { content: ''; position: absolute; left: .2rem; top: 1.45rem; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.list-no  li::before { content: ''; position: absolute; left: .1rem; top: 1.55rem; width: 10px; height: 1px; background: var(--muted); }

/* --- Zweispaltiges Layout ---------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }

/* --- Hervorgehobene Box mit gruenem Schimmer ---------------------------- */
.panel {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  border: 1px solid rgba(108,162,122,.25); border-radius: 3px;
  background: linear-gradient(135deg, rgba(108,162,122,.10), rgba(108,162,154,.05) 55%, rgba(108,162,122,.03));
}

/* --- Rezensionen (Abschnitt 01) und Sterne-Zeile im Hero ---------------- */
.stars { color: var(--sage); letter-spacing: .12em; font-size: .95rem; }
.rating {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.rating:hover { color: var(--charcoal); }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }   /* 2 Spalten = 2x2 Karten */
.review {
  display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem 1.5rem;
  border: 1px solid var(--cool-grey); border-radius: 2px; background: rgba(255,255,255,.55);
}
.review h3 { font-size: 1.35rem; }
.review p { margin: 0; flex: 1; color: var(--muted); font-size: .95rem; }   /* flex: 1 schiebt den Fuss nach unten */
.review footer { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.review footer strong { display: block; color: var(--charcoal); font-weight: 500; }
.review footer a { text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
.review .small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.review-linkedin { background: linear-gradient(135deg, rgba(108,162,122,.10), rgba(108,162,154,.04)); border-color: rgba(108,162,122,.3); }
.review-linkedin footer a { text-decoration: none; }


/* ==========================================================================
   4. ABSCHNITTE (Reihenfolge wie auf der Seite)
   ========================================================================== */

/* --- Kopfzeile: bleibt beim Scrollen oben kleben ------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: .9rem 0;
  background: rgba(250,250,247,.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,26,26,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .85rem; }
.brand img { height: 16px; width: auto; }
.brand .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }

/* --- Hero (erster grosser Bereich) -------------------------------------- */
.hero { padding-top: clamp(4rem, 9vw, 8rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero .lead { max-width: 46ch; }

/* rundes Portrait mit duennem gruenen Ring */
.portrait { justify-self: center; width: min(100%, 400px); padding: 14px; border: 1px solid var(--sage); border-radius: 50%; margin: 0; }
.portrait img { aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: 50% 25%; box-shadow: 0 30px 70px -30px rgba(26,26,26,.32); }

/* Video statt Portrait (optional, siehe index.html) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; border: 1px solid var(--cool-grey); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* drei Fakten unter dem Hero */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--cool-grey); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.fact span { display: block; margin-top: .4rem; font-size: .78rem; color: var(--muted); }

/* --- Bilder-Streifen (Storyboard) --------------------------------------- */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.scenes figure { margin: 0; }
.scenes img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; border: 1px solid var(--cool-grey); }
.scenes figcaption { margin-top: .75rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }

/* --- Ueber Rebekka -------------------------------------------------------- */
.about-portrait img { border-radius: 3px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.role { margin: .75rem 0 0; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.about p { color: var(--muted); }
.about p strong { color: var(--charcoal); font-weight: 500; }

/* Werte-Liste:  dt = Wert, dd = Beschreibung */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin: 2rem 0 0; }
.values div { padding-top: 1rem; border-top: 1px solid var(--cool-grey); }
.values dt { font-family: var(--serif); font-size: 1.3rem; }
.values dd { margin: .25rem 0 0; font-size: .9rem; color: var(--muted); }

/* --- FAQ: aufklappbare Fragen (funktioniert ohne JavaScript) ------------ */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--cool-grey); }
.faq details { border-bottom: 1px solid var(--cool-grey); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sage); font-size: 1.6rem; font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.5rem; color: var(--muted); max-width: 70ch; }

/* --- Abschliessender Aufruf --------------------------------------------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 22ch; margin: 0 auto; }
.cta-final .lead { margin: 1.5rem auto 0; }
.cta-final .btn-row { justify-content: center; }


/* ==========================================================================
   5. FUSSZEILE
   ========================================================================== */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--cool-grey); font-size: .8rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.site-footer img { height: 20px; width: auto; margin-bottom: 1rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a:hover { color: var(--sage); }


/* ==========================================================================
   6. KLEINE BILDSCHIRME (alles unter 820px Breite: Tablet hochkant, Handy)
   ========================================================================== */
@media (max-width: 820px) {
  .hero-grid, .two-col, .values { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(70%, 280px); justify-self: start; }   /* Bild ueber dem Text */
  .facts, .scenes, .reviews { grid-template-columns: 1fr; }
  .btn { padding: .75rem 1.1rem; font-size: .68rem; }
  .step { grid-template-columns: 2.5rem 1fr; }
}

/* Textseite (z. B. Datenschutz) */
.page { max-width: 720px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--pad); }
.page h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 2rem; }
.page h2 { font-size: 1.7rem; margin: 2.5rem 0 .75rem; }
.page p, .page li { color: var(--muted); }
