/* ============================================
   Re:colo Therapiezentrum — Stylesheet
   Mutig, stark, klar: fast weißer Grund,
   tiefgrüne Kontrastflächen, durchgehend
   kräftige Sans (Inter), dünne Linien.
   ============================================ */

@font-face {
  font-family: "Sharphy";
  src: url("../fonts/Sharphy-Medium.woff2") format("woff2"),
       url("../fonts/Sharphy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Safiro";
  src: url("../fonts/Safiro-Medium.woff2") format("woff2"),
       url("../fonts/Safiro-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fcfcfa;        /* helle Seitenflächen (fast weiß, kein Beige) */
  --pine: #1c2b18;         /* Primärfarbe: Text, Buttons, dunkle Sektionen */
  --ink-soft: #47543f;     /* Sekundärtext, warmes Graugrün */
  --hairline: rgba(28, 43, 24, 0.18);
  --hairline-light: rgba(252, 252, 250, 0.3);

  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter", -apple-system, "Segoe UI", sans-serif;  /* Titel */

  --header-h: 4.5rem;
  --max-width: 1240px;
  --gutter: clamp(1.6rem, 7vw, 5rem);   /* Seitenrand: auf 13"-Displays mehr Luft */
  --max-text: 46rem;
  --radius: 14px;
}



* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--pine);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pine); }

/* Frühere Serif-Akzente: bewusst entfernt — der Auftritt ist
   jetzt durchgehend sans-serif, kräftig und klar */

/* ---------- Dünner Kreis-Pfeil ---------- */

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55em;
  height: 1.55em;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: none;
  vertical-align: -0.38em;
}

.arrow-circle svg {
  width: 52%;
  height: 52%;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 250, 0.82);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

/* Logo links, Navigation mittig, Sprache/Kontakt rechts */
.nav-left {
  display: flex;
  gap: 1.6rem;
  grid-column: 2;
  grid-row: 1;
}

.nav-left a {
  font-size: 0.92rem;
  color: var(--pine);
  text-decoration: none;
  opacity: 0.78;
}

.nav-left a:hover { opacity: 1; }

.nav-left a.active {
  opacity: 1;
  border-bottom: 1px solid var(--pine);
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--pine);
  text-decoration: none;
  letter-spacing: -0.01em;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  justify-self: end;
}

.lang-switch {
  font-size: 0.88rem;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.lang-switch a, .lang-switch span {
  text-decoration: none;
  color: var(--pine);
  opacity: 0.6;
}

.lang-switch .current { opacity: 1; }

.btn-pill {
  font-size: 0.9rem;
  color: var(--pine);
  text-decoration: none;
  border: 1px solid var(--pine);
  border-radius: 999px;
  padding: 0.48rem 1.35rem;
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-pill:hover {
  background: var(--pine);
  color: var(--cream);
}

/* Mobile nav */
.nav-toggle { display: none; }

/* Rechtliche Links: auf Desktop nur im Footer, im Mobile-Menü unten links */
.nav-legal { display: none; }

@media (max-width: 880px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }
  /* Logo links in der Leiste, Menü-Button rechts */
  .logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav-toggle { grid-column: 3; grid-row: 1; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--pine);
    border-radius: 999px;
    padding: 0.45rem 1.15rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--pine);
    cursor: pointer;
    justify-self: end;
  }
  .nav-left, .nav-right { display: none; }

  /* Offenes Menü: Vollbild-Overlay in Tannengrün (wie Ancient Ritual) */
  .site-header.open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    overflow-y: auto;
    background: var(--pine);
    border-bottom: none;
    backdrop-filter: none;
  }

  .site-header.open .header-inner {
    align-content: start;
    height: auto;
    min-height: 100%;
    padding-top: 1rem;
  }

  .site-header.open .logo { color: var(--cream); }

  /* Schließen-Button fest oben rechts */
  .site-header.open .nav-toggle {
    position: absolute;
    top: 1.05rem;
    right: var(--gutter);
    color: var(--cream);
    border-color: rgba(251, 250, 243, 0.45);
  }

  .site-header.open .nav-left {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: clamp(3rem, 16vh, 8rem);
    gap: 0.4rem;
  }

  .site-header.open .nav-left a {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.25;
    padding: 0.35rem 0;
    border: none;
    color: var(--cream);
    opacity: 0.82;
  }

  .site-header.open .nav-left a.active {
    color: var(--cream);
    opacity: 1;
  }

  .site-header.open .nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: start;
    grid-column: 1 / -1;
    grid-row: 3;
    gap: 1.7rem;
    padding: 2.2rem 0 3rem;
  }

  /* Impressum/Datenschutz klein unten links im Menü */
  .site-header.open .nav-legal {
    display: flex;
    gap: 1.5rem;
    position: absolute;
    left: var(--gutter);
    bottom: 1.5rem;
  }

  .site-header.open .nav-legal a {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.65;
    text-decoration: none;
  }

  .site-header.open .lang-switch { font-size: 1rem; }

  .site-header.open .lang-switch a,
  .site-header.open .lang-switch span {
    color: var(--cream);
  }

  .site-header.open .btn-pill {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    color: var(--cream);
    border-color: rgba(251, 250, 243, 0.6);
  }

  .site-header.open .btn-pill:hover {
    background: var(--cream);
    color: var(--pine);
  }
}

/* ---------- Hero: vollflächiges Titelbild ohne Text ---------- */

/* Das Bild beginnt hinter der halbtransparenten Headerleiste
   und füllt exakt den ganzen ersten Screen */
.hero-card { margin-top: calc(-1 * var(--header-h)); }

.hero-media {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Sanfte Abdunklung nur ganz unten, damit der Pfeil lesbar bleibt */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(24, 30, 16, 0.78) 0%, rgba(24, 30, 16, 0.35) 22%, rgba(24, 30, 16, 0) 48%);
}

/* Animierter Scroll-Pfeil unten mittig auf dem Bild */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  color: var(--cream);
}

.scroll-cue .arrow-circle {
  width: 2.6rem;
  height: 2.6rem;
  animation: scroll-bob 2.2s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue .arrow-circle { animation: none; }
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */

.page-hero {
  max-width: var(--max-width);
  margin: 1.4rem auto 0;
  padding: 0 var(--gutter);
}

.page-hero-media {
  position: relative;
  height: 46vh;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Mobil: querformatig statt fast quadratisch */
@media (max-width: 880px) {
  .page-hero-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

.page-hero-media img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}



/* ---------- Sektionen & Typografie ---------- */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem var(--gutter);
}

.section-warm {
  background: var(--pine);
  color: var(--cream);
}

.section-warm .kicker { color: var(--cream); opacity: 0.6; }
.section-warm h2,
.section-warm h3,
.section-warm .lead { color: var(--cream); }
.section-warm .section p { color: rgba(252, 252, 250, 0.82); }
.section-warm a { color: var(--cream); }

.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
  max-width: 52rem;
}

.section h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  margin: 2.4rem 0 0.7rem;
  max-width: var(--max-text);
}

.section p {
  max-width: var(--max-text);
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
}

/* Keine fetten Hervorhebungen im Fließtext */
.section p strong, .section p b { font-weight: inherit; color: inherit; }

.kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine);
  opacity: 0.65;
  margin-bottom: 1.1rem;
}

.lead {
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--pine);
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--cream);
  background: var(--pine);
  border: 1px solid var(--pine);
  border-radius: 999px;
  padding: 0.85rem 2.4rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s ease;
  margin-top: 1rem;
}

.btn:hover { opacity: 0.88; }

/* ---------- Zwei-Spalten-Layout mit Bild ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split .img-wrap img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Bildkarten (wie „Discover Arc") ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
}

.card-media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img { transform: scale(1.04); }

.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.3rem 0.2rem 0;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card-caption {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(252, 252, 250, 0.82);
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}

.card:hover .card-more { border-bottom-color: var(--cream); }

@media (max-width: 880px) {
  .card-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ---------- Architektur-Skizzen ---------- */

.sketch-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.4rem;
  margin: 2.5rem 0;
  align-items: stretch;
}

.sketch {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sketch img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  flex: 1;
}

.sketch figcaption {
  padding: 1rem 1.3rem 1.1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px solid var(--hairline);
}

@media (max-width: 820px) {
  .sketch-grid { grid-template-columns: 1fr; }
}

/* ---------- Zeitstrahl Projektstatus ---------- */

.timeline {
  list-style: none;
  margin: 2.8rem 0 0;
  max-width: var(--max-text);
}

.timeline li {
  position: relative;
  padding: 0 0 2.2rem 2.6rem;
  border-left: 1px solid var(--hairline);
  margin-left: 0.7rem;
}

.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline .dot {
  position: absolute;
  left: -0.7rem;
  top: 0.1rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: var(--cream);
}

.section-warm .timeline li { border-left-color: var(--hairline-light); }
.section-warm .timeline .dot { background: var(--pine); border-color: rgba(252, 252, 250, 0.45); }
.section-warm .timeline li.done .dot { background: var(--cream); border-color: var(--cream); color: var(--pine); }
.section-warm .timeline li.current .dot { border-color: var(--cream); }
.section-warm .timeline li.current .dot::after { background: var(--cream); }
.section-warm .timeline .status { color: var(--cream); opacity: 0.7; }

.timeline li.done .dot { background: var(--pine); border-color: var(--pine); }

.timeline li.current .dot { border-color: var(--pine); }

.timeline li.current .dot::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pine);
}

.timeline h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.timeline .status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 0.6rem;
  color: var(--pine);
  opacity: 0.65;
}

.timeline li.upcoming h4 { opacity: 0.6; }

.timeline p {
  font-size: 0.94rem;
  margin: 0.35rem 0 0;
}

/* ---------- Zahlen / Fakten ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.fact {
  border-top: 1px solid var(--hairline);
  padding-top: 1.3rem;
}

.fact .num {
  font-family: var(--font-logo);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--pine);
  line-height: 1.15;
}

.fact .label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

@media (max-width: 820px) {
  .facts { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}

/* ---------- Zitate / Testimonials ---------- */

.quote {
  max-width: var(--max-text);
  margin: 3rem 0;
  padding-top: 2.2rem;
  border-top: 1px solid var(--hairline);
}

.quote p {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--pine);
  margin-bottom: 1rem;
}

.quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Personen (Wer wir sind) ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
  margin-top: 3rem;
}

.person {
  border-top: 1px solid var(--hairline);
  padding-top: 1.4rem;
}

.person h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem;
}

.person .role {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.person p {
  font-size: 0.95rem;
  margin: 0.8rem 0 0;
}

/* Vorstellungstext: eingeklappt nur wenige Zeilen, per Button aufklappbar */
.person .bio {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.person.open .bio {
  display: block;
  -webkit-line-clamp: unset;
}

.person .bio-toggle {
  margin-top: 0.6rem;
  padding: 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--pine);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--pine);
  cursor: pointer;
}

.person .placeholder-note,
.placeholder-note {
  font-size: 0.98rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

@media (max-width: 820px) {
  .people-grid { grid-template-columns: 1fr; }
}

/* ---------- Kontakt-Formular ---------- */

.contact-form {
  max-width: 34rem;
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

.contact-form label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  padding: 0.55rem 0;
  border: none;
  border-bottom: 1px solid var(--pine);
  border-radius: 0;
  background: transparent;
  color: var(--pine);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-width: 2px;
}

.contact-form .btn { justify-self: start; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--pine);
  color: var(--cream);
  /* Kein Abstand zur vorherigen Sektion — dünne Trennlinie statt Lücke */
  border-top: 1px solid var(--hairline-light);
  overflow: hidden;
}

.footer-top {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem var(--gutter) 2rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  align-items: start;
}

.footer-contact .footer-cta-line {
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 1.4rem;
  max-width: 22rem;
}

.footer-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-link-arrow:hover { border-bottom-color: var(--cream); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: start;
}

.footer-cols h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-cols ul { list-style: none; }

.footer-cols li { margin-bottom: 0.55rem; font-size: 0.95rem; }

.footer-cols a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.85;
}

.footer-cols a:hover { opacity: 1; text-decoration: underline; }

.watermark {
  font-family: var(--font-logo);
  font-size: clamp(6rem, 21vw, 19rem);
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #2a3c27;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--gutter) 0 calc(var(--gutter) - 0.09em);  /* Vorbreite des R ausgleichen */
  position: relative;
  z-index: 1;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem var(--gutter) 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(252, 252, 250, 0.75);
}

.footer-bottom .foot-tag {
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom .foot-legal {
  display: flex;
  gap: 1.4rem;
}

.footer-bottom .foot-legal a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.85;
}

.footer-bottom .foot-legal a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
