/* ============================================================
   Mindfulness Site — Dr. André C. Dennes
   Radikal minimalistisch · Weiß · Grün #54975A · Montserrat/Poppins
   ============================================================ */

:root {
  --ink: #545954;
  --muted: #7a807a;
  --accent: #54975a;
  --accent-dark: #477f4c;
  --dark: #242824;
  --line: #e8e8e6;
  --max: 1100px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* ---------- Layout ---------- */

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

.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 96px 0;
}

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 1.8rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

p + p {
  margin-top: 1.2em;
}

.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.muted {
  color: var(--muted);
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  border: 0;
  margin: 2.5rem auto;
}

.rule-left {
  margin-left: 0;
}

/* ---------- Header (transparent über dem Banner — Zoia-Stil) ---------- */

header.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
}

/* weicher Verlauf von oben für Lesbarkeit über hellen Banner-Bereichen */
header.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 34px;
  width: auto;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main-nav a {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

nav.main-nav a:hover {
  opacity: 0.75;
}

nav.main-nav a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

/* Angebote-Dropdown (CSS-only, details/summary — wie Sprachwähler) */

.nav-drop {
  position: relative;
}

.nav-drop summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease;
}

.nav-drop summary:hover {
  opacity: 0.75;
}

.nav-drop summary::-webkit-details-marker {
  display: none;
}

.nav-drop .caret {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-drop[open] .caret {
  transform: translateY(1px) rotate(180deg);
}

.nav-drop.open-active summary {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

.drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--dark);
  padding: 12px 20px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drop-menu a {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .nav-drop {
    padding: 12px 0;
  }
  .drop-menu {
    position: static;
    background: transparent;
    padding: 10px 0 0 25px;
    min-width: 0;
  }
}

/* Sprachwähler (CSS-only, details/summary) */

.lang-switch {
  position: relative;
}

.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease;
}

.lang-switch summary:hover {
  opacity: 0.75;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch .globe {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.lang-switch .caret {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.lang-switch[open] .caret {
  transform: translateY(1px) rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--dark);
  padding: 12px 20px;
  min-width: 130px;
  text-align: right;
}

.lang-menu a {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Seiten OHNE Banner: feste dunkle Leiste statt transparentem Overlay */

body.no-banner header.site-header {
  position: relative;
  background: var(--dark);
}

body.no-banner header.site-header::before {
  display: none;
}

/* Burger — CSS-only (checkbox hack) */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

@media (max-width: 760px) {
  .nav-toggle-label {
    display: block;
    position: relative;
    z-index: 2;
  }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
  }
  nav.main-nav a {
    padding: 12px 0;
    text-shadow: none;
  }
  .lang-switch {
    padding: 12px 0;
  }
  .lang-menu {
    position: static;
    background: transparent;
    padding: 10px 0 0 25px;
    min-width: 0;
    text-align: left;
  }
  .nav-toggle:checked ~ nav.main-nav {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 140px 0 110px;
  text-align: center;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto;
}

.hero .sub {
  margin-top: 1.8rem;
  font-size: 1rem;
  color: var(--muted);
}

/* ---------- Banner (vollbreit, unter dem Header) ---------- */

.banner {
  width: 100%;
  height: 76vh;
  object-fit: cover;
}

.banner-home { object-position: 60% 35%; }
.banner-individuen { object-position: center 32%; }
.banner-organisationen { object-position: center 55%; }
.banner-kontakt { object-position: 22% 38%; }
.banner-about { object-position: 22% 38%; }

@media (max-width: 760px) {
  .banner {
    height: 50vh;
  }
}

/* ---------- Banner-Overlay (Zoia-Stil) ---------- */

.banner-wrap {
  position: relative;
}

.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80%, 1100px);
  margin: 0;
  padding: 2.2rem 2rem;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: var(--font-head, 'Montserrat', system-ui, sans-serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45), 0 0 2px rgba(0, 0, 0, 0.25);
}

.banner-overlay.overlay-right {
  left: auto;
  right: 4%;
  transform: translateY(-50%);
  width: min(46%, 640px);
}

.banner-overlay.overlay-low {
  top: auto;
  bottom: 7%;
  transform: translateX(-50%);
}

/* Etwas tiefer als die Mitte (Home, Über mich) — Text unter das Gesicht */
.banner-overlay.overlay-mid-low {
  top: 64%;
}

@media (max-width: 760px) {
  .banner-overlay {
    width: 88%;
    padding: 1.2rem 1rem;
  }
  .banner-overlay.overlay-right {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 88%;
  }
}

/* ---------- Bilder ---------- */

.photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 30%;
}

.photo-portrait {
  max-height: none;
  width: 100%;
}

/* ---------- Zwei-Wege-Gabelung ---------- */

.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fork a.fork-card {
  background: #fff;
  color: var(--ink);
  padding: 72px 48px;
  text-align: center;
  display: block;
  transition: background 0.25s ease;
}

.fork a.fork-card:hover {
  background: #faf8f4;
  opacity: 1;
}

.fork-card h3 {
  margin-bottom: 1rem;
}

.fork-card p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.fork-card .more {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

@media (max-width: 760px) {
  .fork {
    grid-template-columns: 1fr;
  }
  .fork a.fork-card {
    padding: 56px 28px;
  }
}

/* ---------- Zentrierte Sektions-Überschrift (Zoia) ---------- */

.center-head {
  text-align: center;
}

/* ---------- Zentrierte Inhaltsblöcke (Zoia) ---------- */

.centered {
  text-align: center;
}

/* ---------- Angebots-Kacheln (Zoia 1:1) ---------- */

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

a.tile {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

a.tile:hover {
  opacity: 0.85;
}

/* Home-Variante: grüner Titelbalken + Text auf Weiß */
.tile .tile-bar {
  background: var(--accent);
  color: #fff;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 8px 16px;
}

.tile .tile-body {
  padding: 28px 24px 8px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

/* About-Variante: vollflächig graugrüne Kacheln, weiße Schrift */
.tiles-about a.tile {
  background: #6e746e;
  color: #fff;
  padding: 44px 36px 40px;
  text-align: center;
}

.tiles-about .tile-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.tiles-about .tile-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.6rem;
}

.tiles-about .tile-more {
  display: inline-block;
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .tiles {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 36px;
  border: none;
  border-radius: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  opacity: 1;
}

/* ---------- Impuls-CTA (niedrigschwelliger Einstieg) ---------- */

.impuls-cta {
  background: #f3f6f3;
  border: 1px solid var(--line);
  padding: 52px 40px;
  text-align: center;
}

.impuls-cta h2 {
  margin: 0.5rem 0 1rem;
}

.impuls-cta p {
  max-width: 48ch;
  margin: 0 auto 1.8rem;
  color: var(--ink);
}

@media (max-width: 760px) {
  .impuls-cta {
    padding: 40px 24px;
  }
}

/* ---------- Zweispalter (About) ---------- */

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

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

/* ---------- Angebots-Block ---------- */

.offer {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.offer:first-of-type {
  border-top: none;
}

.offer .btn {
  margin-top: 2rem;
}

/* ---------- Portfolio-Liste (Organisationen) ---------- */

.portfolio-list {
  list-style: none;
  text-align: center;
}

.portfolio-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-list li:first-child {
  border-top: 1px solid var(--line);
}

.portfolio-list li small {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

/* ---------- Portfolio-Kacheln (Organisationen, aufklappbar — Zoia-Stil) ---------- */

.portfolio-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 2.5rem 0;
}

.ptile {
  background: #6e746e;
  color: #fff;
  padding: 0 28px;
}

.ptile summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease;
}

.ptile summary:hover {
  opacity: 0.8;
}

.ptile summary::-webkit-details-marker {
  display: none;
}

.ptile .caret {
  display: inline-block;
  font-size: 0.85em;
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.ptile[open] .caret {
  transform: translateY(1px) rotate(180deg);
}

.ptile[open] summary {
  border-bottom: none;
}

.ptile-body {
  padding: 2px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.ptile-body p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.ptile-body p:last-child {
  margin-bottom: 0;
}

.ptile-body ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.ptile-body li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.4rem;
}

.ptile-body li:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .portfolio-tiles {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- Kooperationen & Partner ---------- */

.partners {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.partners h2 {
  margin-bottom: 3rem;
}

.partner-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 48px;
}

.partner-item {
  width: 150px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.partner-item img:hover,
.partner-item a:hover img {
  transform: scale(1.06);
}

@media (max-width: 760px) {
  .partner-cloud {
    gap: 28px 32px;
  }
  .partner-item {
    width: 120px;
    height: 44px;
  }
}

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

form.contact-form {
  display: grid;
  gap: 24px;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235e6a70'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

/* ---------- Footer (Zoia: dunkel, zweispaltig, Newsletter links) ---------- */

footer.site-footer {
  background: var(--dark);
  padding: 72px 0 56px;
  font-size: 0.85rem;
  color: #b9bfb9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 48px 64px;
  align-items: start;
}

.footer-head {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.footer-newsletter p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.4rem;
  max-width: 460px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  border: none;
  border-radius: 0;
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
}

.newsletter-form .btn {
  flex-shrink: 0;
}

.footer-consent {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  color: #8d938d;
  max-width: 460px;
}

.footer-consent a {
  color: #b9bfb9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-right {
  text-align: right;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-nav a {
  color: #b9bfb9;
}

.footer-nav a:hover {
  color: #fff;
  opacity: 1;
}

.footer-note {
  font-size: 0.78rem;
  margin-top: 28px;
}

.footer-brand {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-brand img {
  height: 20px;
  width: auto;
  opacity: 0.75;
}

.footer-tagline {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  color: #8d938d;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-right,
  .footer-nav,
  .footer-brand {
    text-align: left;
    align-items: flex-start;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ---------- Platzhalter-Seiten ---------- */

.placeholder {
  padding: 120px 0;
  text-align: center;
}

/* ---------- Formular-Rückmeldungen + Datenschutz ---------- */

.form-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.form-msg--ok {
  background: #eef6ee;
  color: #2f6b3a;
  border: 1px solid #cfe6d2;
}
.form-msg--err {
  background: #fbeeec;
  color: #9a3b2e;
  border: 1px solid #f0d2cc;
}
.newsletter-form .form-msg {
  flex: 0 0 100%;
  width: 100%;
  order: 3;
  margin: 0;
  padding: 0.4rem 0 0;
  color: #fff;
  background: transparent;
  border: none;
}
.newsletter-form .form-msg--ok  { color: #d8efdc; }
.newsletter-form .form-msg--err { color: #f3c7bf; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.5rem 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}
