/* ==========================================================================
   Maria Lindner – Teamarbeit
   Design tokens
   ========================================================================== */
:root {
  --cream:      #FFFFFF;
  --blush:      #F4F8FB;
  --ink:        #1A1A1A;
  --ink-soft:   #4D4D4D;
  --moss:       #5FA8D3;
  --moss-dark:  #3D80A8;
  --gold:       #5FA8D3;
  --line:       #E5E9EC;
  --white:      #FFFFFF;

  --font-display: "Montserrat", Georgia, serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;

  --max-w: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

h1 {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1::before {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  background: var(--moss);
  margin-bottom: 22px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
}

p { margin: 0 0 1.1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss-dark);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.hero-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.3em;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--moss);
  color: var(--white);
}
.btn-primary:hover { background: var(--moss-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--moss);
  color: var(--moss-dark);
}
.btn-outline:hover { background: var(--moss); color: var(--white); }

/* Header ---------------------------------------------------------------- */
.site-header {
  padding: 14px 0;
  background: var(--cream);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: block; }
.logo-header img { height: 92px; width: auto; display: block; }
.logo-footer img { height: 60px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav a:hover, .nav a.active { color: var(--moss-dark); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav a.btn.active::after { content: none; }
.nav .btn { padding: 0.6em 1.4em; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1300;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--moss-dark);
  margin: 5px 0;
  transition: 0.2s;
}

/* Signature element: organic connecting thread -------------------------- */
.thread {
  width: 100%;
  height: 40px;
  display: block;
  color: var(--line);
}
.thread path { stroke: currentColor; }
.thread.accent { color: var(--gold); opacity: 0.55; }

/* Hero -------------------------------------------------------------------*/
.hero {
  padding: 40px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero .wrap > * { min-width: 0; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { max-width: 46ch; margin-bottom: 1.6em; }
.hero-media {
  position: relative;
  border-radius: 18px 60px 18px 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--blush);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Sections ---------------------------------------------------------------*/
section { padding: 84px 0; }
.section-alt { background: var(--blush); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }
.two-col > * { min-width: 0; }
.col-media {
  border-radius: 60px 18px 60px 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--white);
}
.col-media img { width: 100%; height: 100%; object-fit: cover; }

.center-head h1::before { margin-left: auto; margin-right: auto; }
.center-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Cards / services grid ----------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(35,41,34,0.35); }
.service-card .media { display: block; aspect-ratio: 4/3; background: var(--blush); overflow:hidden; cursor: pointer; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 22px 24px 26px; }
.service-card h3 { margin-bottom: 0.3em; }
.service-card a.more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Quote / testimonial ---------------------------------------------------*/
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.quote-card::before {
  content: "\201C";
  display: block;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 0.6em;
}

/* Facts list (Was sollte man wissen) -------------------------------------*/
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}
.fact h3 { color: var(--gold); font-size: 1.05rem; text-transform: none; margin-bottom: 0.25em; }

/* FAQ ---------------------------------------------------------------------*/
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--moss-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; color: var(--ink-soft); }

/* Outcome triptych on Leistungen ------------------------------------------*/
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.outcome-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
}
.outcome-card .tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8em;
  display: block;
}
.outcome-card h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.outcome-card .result {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px dashed var(--line);
  font-weight: 600;
  color: var(--moss-dark);
}

/* Values grid (Worauf ich setze) ------------------------------------------*/
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value h3 { font-size: 1.08rem; }
.value .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5em;
}

/* CTA band ------------------------------------------------------------- */
.cta-band {
  text-align: center;
}
.cta-banner-img {
  display: block;
  width: 100%;
  border-radius: 18px;
  margin-bottom: 40px;
}

/* Contact form ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--moss-dark);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--moss);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 14px 0 18px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: var(--moss); }
.form-status.err { color: #A6432F; }

.contact-side {
  background: var(--blush);
  border-radius: 18px;
  padding: 32px;
}
.contact-side .media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 20px;
  background: var(--white);
}
.contact-side .media img { width: 100%; height: 100%; object-fit: cover; }

/* Footer ------------------------------------------------------------------*/
.site-footer {
  padding: 56px 0 34px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.92rem; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--moss-dark); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--moss-dark);
}
.footer-social a:hover { background: var(--moss); border-color: var(--moss); color: var(--white); }
.footer-bottom {
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Simple content pages (Impressum / Datenschutz) --------------------------*/
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.6em; font-size: 1.25rem; }
.legal p, .legal li { color: var(--ink-soft); }

/* Cookie banner ------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--moss-dark);
  color: var(--cream);
  border-radius: 16px;
  padding: 20px 24px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4);
}
.cookie-banner.show { display: flex; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.88rem; color: #D9E0D3; flex: 1 1 260px; }
.cookie-banner .btn-primary { background: var(--gold); }
.cookie-banner .btn-primary:hover { background: #b78d47; }

/* Scrollytelling ------------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--moss);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.visible { transition-delay: 0.12s; }
.reveal-delay-2.visible { transition-delay: 0.24s; }
.reveal-delay-3.visible { transition-delay: 0.36s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-90px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(90px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

@media (max-width: 900px) {
  .reveal-left, .reveal-right {
    transform: translateY(28px);
  }
  .reveal-left.visible, .reveal-right.visible {
    transform: translateY(0);
  }
}

.thread path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.4s cubic-bezier(.22,.61,.36,1);
}
.thread.drawn path {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .hero-copy.reveal, .hero-media.reveal, .thread path {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

@media (max-width: 900px) {
  .hero .wrap, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: 0; }
  .grid-3, .quotes, .outcomes { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 320px; z-index: 1200; background: var(--cream); flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; gap: 26px; transform: translateX(100%); transition: transform 0.25s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.08); }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .values { grid-template-columns: 1fr; }
}
