@import url("schriften/schriften.css");

/* Konzept: Schweizer Raster trifft tropische Landschaft. Ruhige Flächen, grosse eigene Fotos, ein Hauch Schweizer Rot. */
:root {
  --papier: #f4f5f0;
  --weiss: #ffffff;
  --tinte: #16231c;
  --grau: #56655b;
  --linie: #d5dbd1;
  --wald: #1e4634;
  --wald-hell: #e3ebe4;
  --rot: #c8102e;

  --schrift-titel: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --schrift-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --breite: 1120px;
  --rand: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--wald); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.005em; }
p { margin: 0; }

.innen {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding-left: var(--rand);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.marke {
  font-family: var(--schrift-titel);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grau);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.marke::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-radius: 1px;
  background:
    linear-gradient(#fff, #fff) center / 62.5% 18.75% no-repeat,
    linear-gradient(#fff, #fff) center / 18.75% 62.5% no-repeat,
    var(--rot);
}

/* Kopfzeile */
.kopf {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--papier) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 21;
  height: env(safe-area-inset-top, 0px); background: var(--papier);
}
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.logo {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--tinte);
  text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.logo span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; color: var(--grau); }
.navi { display: flex; align-items: center; gap: 28px; font-family: var(--schrift-titel); font-size: 0.98rem; }
.navi a { color: var(--tinte); text-decoration: none; }
.navi a:hover { color: var(--wald); text-decoration: underline; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: 999px;
  background: var(--wald); color: var(--weiss) !important; text-decoration: none !important;
  border: 1px solid var(--wald);
  transition: background .2s, color .2s;
}
.knopf:hover { background: var(--tinte); border-color: var(--tinte); }
.knopf.hell { background: transparent; color: var(--weiss) !important; border-color: rgba(255,255,255,.7); }
.knopf.hell:hover { background: var(--weiss); color: var(--tinte) !important; }
.knopf.rahmen { background: transparent; color: var(--wald) !important; }
.knopf.rahmen:hover { background: var(--wald); color: var(--weiss) !important; }
.navi .knopf { padding: 9px 18px; font-size: 0.95rem; }

@media (max-width: 820px) {
  .navi a:not(.knopf) { display: none; }
}

/* Einstieg */
.einstieg {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
  text-align: center;
  color: var(--weiss);
  background: #3a2f22;
  overflow: hidden;
}
/* Foto in eigener Ebene, damit die Farben verstärkt werden können */
.einstieg::before {
  content: ""; position: absolute; inset: 0;
  background: url("bilder/einstieg-tal.jpg") center 60% / cover no-repeat;
  filter: saturate(1.45) contrast(1.1) brightness(1.05);
}
.ensemble { margin-top: 40px; }
.einstieg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at center, rgba(10,20,14,.5) 0%, rgba(10,20,14,.2) 70%, rgba(10,20,14,.1) 100%);
}
.einstieg .innen { position: relative; z-index: 1; width: 100%; padding-block: 96px; }
.einstieg .schild {
  color: var(--weiss); background: var(--wald);
  padding: 7px 14px 7px 12px; border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.einstieg h1 {
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem); margin-top: 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.einstieg .zeile { display: block; }
.pinsel {
  font-family: "Caveat Brush", "Familjen Grotesk", cursive;
  font-weight: 400; font-size: 1.3em; letter-spacing: 0;
  color: #f7a21b;
  display: inline-block; transform: rotate(-2deg); margin-right: .12em;
  text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 7px rgba(255,255,255,.9), 0 0 14px rgba(255,255,255,.55), 0 0 24px rgba(255,255,255,.3), 0 3px 12px rgba(0,0,0,.3);
}
.einstieg p { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,.95); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
@media (max-width: 820px) { .einstieg p .zeile { display: inline; } }
.einstieg .knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.einstieg .knopf:not(.hell) { background: var(--weiss); color: var(--tinte) !important; border-color: var(--weiss); }
.einstieg .knopf:not(.hell):hover { background: var(--wald-hell); }

/* Abschnitte */
.abschnitt { padding-block: clamp(72px, 10vw, 128px); }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.kopfzeile { display: grid; gap: 18px; max-width: 760px; }
.kopfzeile p { color: var(--grau); font-size: 1.2rem; }

/* Mein Traum */
.traum { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.traum-text { display: grid; gap: 18px; font-size: 1.2rem; }
.traum-text p:last-child {
  font-family: var(--schrift-titel); font-weight: 600; font-size: 1.45rem;
  color: var(--wald); padding-left: 18px; border-left: 3px solid var(--rot);
}
@media (max-width: 820px) { .traum { grid-template-columns: 1fr; gap: 24px; } }

/* Beratung */
.netzwerk {
  background: var(--wald);
  color: var(--weiss);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
}
.netzwerk .marke { color: rgba(255,255,255,.75); }
.netzwerk h3 { font-size: 1.6rem; margin-top: 12px; }
.netzwerk p { color: rgba(255,255,255,.85); margin-top: 14px; }
.netzwerk ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; }
.netzwerk li {
  font-family: var(--schrift-titel); font-size: 1.15rem;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22);
  display: flex; justify-content: space-between; gap: 16px;
}
.netzwerk li:first-child { border-top: 1px solid rgba(255,255,255,.22); }
.netzwerk li small { font-size: 0.85rem; color: rgba(255,255,255,.65); font-weight: 500; text-align: right; }
@media (max-width: 820px) { .netzwerk { grid-template-columns: 1fr; } }

.netzwerk p + p { margin-top: 10px; }

/* Casa Colibri */
.zeitplan { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.zeitplan li {
  font-family: var(--schrift-titel); font-size: 1rem;
  border: 1px solid var(--linie); border-radius: 999px; padding: 8px 16px;
  display: inline-flex; gap: 10px; align-items: baseline; background: var(--weiss);
}
.zeitplan span { font-weight: 600; color: var(--wald); }
.fotohinweis { font-family: var(--schrift-titel); font-size: 0.85rem; color: var(--grau); margin-top: 16px; }
.projekt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.projekt-kopf p { color: var(--grau); }
@media (max-width: 820px) { .projekt-kopf { grid-template-columns: 1fr; gap: 20px; } }

/* Bilder in voller Grösse: ein Bild über die ganze Breite, darunter zwei gleich hohe nebeneinander */
.galerie { margin-top: 48px; display: grid; gap: 24px; }
.galerie figure, .reihe figure { margin: 0; min-width: 0; }
.reihe { display: flex; gap: 12px; align-items: flex-start; }
.galerie button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.galerie img { width: 100%; height: auto; border-radius: 2px; transition: opacity .2s; }
.copy { color: var(--grau); opacity: .8; white-space: nowrap; margin-left: 6px; font-size: 0.8rem; }
.galerie button:hover img { opacity: .88; }
.galerie button:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
.galerie figcaption { font-family: var(--schrift-titel); font-size: 0.85rem; color: var(--grau); margin-top: 8px; }
.galerie-titel { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--linie); padding-top: 20px; }
.galerie-titel h3 { font-size: 1.15rem; }
.galerie-titel p { font-size: 1rem; color: var(--grau); }
@media (max-width: 820px) {
  .reihe { flex-direction: column; gap: 20px; }
  .reihe figure { flex: none !important; width: 100%; }
  .galerie-titel { flex-direction: column; gap: 4px; }
}

.lichtbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lichtbox::backdrop { background: rgba(8,14,10,.88); }
.lichtbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 2px; }
.lichtbox p { color: #fff; font-family: var(--schrift-titel); text-align: center; margin-top: 12px; }
.lichtbox button {
  position: fixed; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  font: 600 1rem var(--schrift-titel); color: #fff; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 16px; cursor: pointer;
}

/* Ecovilla */
.ecovilla { background: var(--wald-hell); }
.fakten {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px; border-top: 2px solid var(--tinte); border-bottom: 1px solid var(--linie);
}
.fakten div { padding: 20px 16px 20px 0; }
.fakten div + div { padding-left: 20px; border-left: 1px solid var(--linie); }
.fakten strong { display: block; font-family: var(--schrift-titel); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--wald); font-variant-numeric: tabular-nums; line-height: 1.05; }
.fakten span { font-family: var(--schrift-titel); font-size: 0.9rem; color: var(--grau); }

.merkmale { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 48px; }
.merkmal { display: grid; gap: 10px; align-content: start; }
.merkmal h3 { font-size: 1.35rem; }
.merkmal p { color: var(--grau); }

.aufbau { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.aufbau-teil { background: var(--papier); border-radius: 4px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.aufbau-teil h3 { font-size: 1.4rem; }
.aufbau-teil ul { list-style: none; margin: 4px 0 0; padding: 0; }
.aufbau-teil li {
  font-family: var(--schrift-titel); font-size: 1.05rem;
  padding: 11px 0 11px 22px; border-top: 1px solid var(--linie); position: relative;
}
.aufbau-teil li::before { content: ""; position: absolute; left: 2px; top: calc(11px + 0.8em); width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--wald); }
.natur { margin-top: 16px; color: var(--grau); }

.fuer-wen { margin-top: 56px; }
.fuer-wen h3 { font-size: 1.6rem; }
.fuer-wen-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 2px solid var(--tinte); }
.fuer-wen-raster div { padding: 20px 24px 8px 0; display: grid; gap: 8px; align-content: start; }
.fuer-wen-raster div + div { padding-left: 24px; border-left: 1px solid var(--linie); }
.fuer-wen-raster strong { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.15rem; color: var(--wald); }
.fuer-wen-raster p { color: var(--grau); font-size: 1.05rem; }
@media (max-width: 820px) {
  .aufbau, .fuer-wen-raster { grid-template-columns: 1fr; }
  .fuer-wen-raster div, .fuer-wen-raster div + div { padding: 18px 0; border-left: 0; }
  .fuer-wen-raster div + div { border-top: 1px solid var(--linie); }
}

.stand {
  margin-top: 48px; padding: 20px 24px; background: var(--papier); border-radius: 4px;
  display: grid; gap: 8px; max-width: 860px;
}
.stand p { font-size: 1.05rem; }

.ecovilla-bilder { display: grid; gap: 20px; margin-top: 48px; }
.ecovilla-bilder figure { margin: 0; }
.ecovilla-bilder img { width: 100%; height: auto; border-radius: 2px; }
.ecovilla-bilder figcaption { font-family: var(--schrift-titel); font-size: 0.85rem; color: var(--grau); margin-top: 8px; }

.hinweis {
  margin-top: 40px; max-width: 860px;
  border: 1px solid var(--wald);
  background: var(--papier);
  padding: 20px 22px;
  border-radius: 4px;
  font-size: 1rem;
  display: grid; gap: 8px;
}
.hinweis strong { font-family: var(--schrift-titel); font-weight: 600; font-size: 1rem; }
@media (max-width: 820px) {
  .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fakten div:nth-child(3) { padding-left: 0; border-left: 0; }
  .fakten div:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .merkmale { grid-template-columns: 1fr; gap: 28px; }
}

/* Fragen */
.fragen { margin-top: 48px; border-top: 2px solid var(--tinte); max-width: 860px; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 1.25rem;
  padding: 24px 48px 24px 0; position: relative;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 500; color: var(--wald); transition: transform .2s;
}
.fragen details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fragen details p { padding: 0 0 24px; color: var(--grau); max-width: 68ch; }

/* Über mich */
.ueber { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ueber img { width: 100%; height: auto; border-radius: 2px; }
.ueber-text { display: grid; gap: 18px; }
.ueber-text .titel { font-family: var(--schrift-titel); color: var(--grau); font-size: 1.05rem; }
.zitat {
  margin: 12px 0 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--rot);
  font-style: italic; font-size: 1.25rem; line-height: 1.5;
}
.zitat footer { font-style: normal; font-family: var(--schrift-titel); font-size: 0.9rem; color: var(--grau); margin-top: 10px; }
@media (max-width: 820px) { .ueber { grid-template-columns: 1fr; } .ueber img { max-width: 420px; } }

/* Abschluss: Sonnenuntergang am Meer */
.abschluss {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex; align-items: flex-end;
  color: var(--weiss);
  background: #3a2a20 url("bilder/abschluss-strand.jpg") 38% 50% / cover no-repeat;
}
.abschluss::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,14,0) 45%, rgba(10,20,14,.55) 100%);
}
.abschluss .innen { position: relative; z-index: 1; width: 100%; padding-block: 96px 48px; }
.abschluss-gross { font-family: var(--schrift-titel); font-weight: 600; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.02em; line-height: 1; }
.abschluss p + p { margin-top: 12px; font-size: 1.2rem; color: rgba(255,255,255,.92); }
.abschluss-foto {
  position: absolute; z-index: 1; bottom: 12px; right: max(16px, env(safe-area-inset-right, 0px));
  font-family: var(--schrift-titel); font-size: 0.78rem; color: rgba(255,255,255,.75);
}

/* Kontakt */
.kontakt { background: var(--tinte); color: var(--weiss); }
.kontakt .marke { color: rgba(255,255,255,.7); }
.kontakt h2 { margin-top: 16px; max-width: 18ch; }
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; }
.kontakt-wege { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.kontakt-wege div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.25); display: grid; gap: 4px; }
.kontakt-wege span { font-family: var(--schrift-titel); font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.kontakt-wege a, .kontakt-wege p { color: var(--weiss); font-family: var(--schrift-titel); font-size: 1.3rem; text-decoration: none; }
.kontakt-wege a:hover { text-decoration: underline; }
.adressen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-content: start; }
.adressen address { font-style: normal; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.adressen strong { display: block; font-family: var(--schrift-titel); color: var(--weiss); margin-bottom: 6px; }
.kontakt .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.kontakt .knopf { background: var(--weiss); color: var(--tinte) !important; border-color: var(--weiss); }
.kontakt .knopf:hover { background: var(--wald-hell); }
.kontakt .knopf.hell { background: transparent; color: var(--weiss) !important; border-color: rgba(255,255,255,.6); }
.kontakt .knopf.hell:hover { background: var(--weiss); color: var(--tinte) !important; }
@media (max-width: 820px) { .kontakt-raster, .adressen { grid-template-columns: 1fr; } }

/* Fuss */
.fuss { background: var(--tinte); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.15); font-family: var(--schrift-titel); font-size: 0.9rem; }
.fuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px max(24px, env(safe-area-inset-bottom, 0px)); }
.fuss a { color: rgba(255,255,255,.85); }
.fuss nav { display: flex; gap: 20px; }

/* Rechtsseiten */
.recht { padding-block: 64px 96px; }
.recht .innen > * { max-width: 760px; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 14px 0 32px; }
.recht h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.recht p, .recht ul { color: var(--tinte); margin: 0 0 14px; font-size: 1.05rem; }
.recht .entwurf { background: #fff4d6; border: 1px solid #e3c46b; padding: 14px 18px; border-radius: 4px; font-family: var(--schrift-titel); font-size: 0.95rem; }
.zurueck { font-family: var(--schrift-titel); }
