/* Startseite elephanttrails.de – nach der Designvorlage „Elephanttrails Startseite“.
   Alle Schriften liegen auf dem eigenen Server; beim Aufruf geht keine Anfrage an Dritte. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schrift/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schrift/cormorant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("schrift/cormorant-kursiv-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("schrift/cormorant-kursiv-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schrift/plex-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schrift/plex-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Jost ist eine variable Schrift: eine Datei deckt 300 bis 500 ab. */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("schrift/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("schrift/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --grund: #2c2d35;
  --grund-fuss: #26272e;
  --hell: #f4f2ee;
  --sand: #c9b79c;
  --grau: #9f9ea7;
  --grau-text: #b9b8bf;
  --linie: rgba(255, 255, 255, .14);
  --rand: clamp(24px, 6vw, 80px);
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: Jost, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--grund);
  color: var(--hell);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hell); text-decoration: none; }
a:hover { color: var(--sand); }
a:focus-visible { outline: 1px solid var(--sand); outline-offset: 6px; }

/* Kopf */
.kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px var(--rand);
}
.kopf__logo img { display: block; width: 110px; height: auto; }
.kopf__zusatz { font: 400 12px var(--mono); color: var(--grau); }

/* Einstieg */
main { flex: 1; }

.einstieg {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(48px, 8vw, 88px) var(--rand) clamp(56px, 8vw, 104px);
}
.einstieg h1 {
  margin: 0;
  flex: 1 1 520px;
  font: 400 clamp(48px, 7vw, 92px)/1.02 var(--serif);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.einstieg h1 em { font-style: italic; color: var(--sand); }
.einstieg p {
  margin: 0 0 14px;
  flex: 0 1 360px;
  font: 300 17px/1.7 var(--sans);
  color: var(--grau-text);
  text-wrap: pretty;
}

/* Projektliste */
.projekte {
  list-style: none;
  margin: 0;
  padding: 0 var(--rand) clamp(72px, 10vw, 120px);
}
.projekte li { border-top: 1px solid var(--linie); }
.projekte li:last-child { border-bottom: 1px solid var(--linie); }

.projekt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 32px;
  row-gap: 12px;
  padding: 40px 0;
  transition: background-color .2s;
}
.projekt:hover { background: rgba(255, 255, 255, .025); color: var(--hell); }
.projekt__nr { width: 58px; font: 400 13px var(--mono); color: var(--sand); }
.projekt__name { flex: 1 1 240px; font: 400 clamp(40px, 5vw, 56px)/1 var(--serif); }
.projekt__pfad { font: 400 13px var(--mono); color: var(--grau); }
.projekt__pfeil {
  width: 60px;
  font: 300 28px var(--sans);
  text-align: right;
  color: var(--sand);
  transition: transform .2s;
}
.projekt:hover .projekt__pfeil { transform: translateX(6px); }

/* Fuss */
.fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 32px var(--rand);
  background: var(--grund-fuss);
  font: 400 12px var(--mono);
  color: var(--grau);
}
.fuss nav { display: flex; gap: 32px; }
.fuss a { color: var(--grau); }
.fuss a:hover { color: var(--sand); }

@media (prefers-reduced-motion: reduce) {
  .projekt, .projekt__pfeil { transition: none; }
}

/* Textseiten: Impressum und Datenschutz */
.rechtstext {
  max-width: calc(68ch + 2 * var(--rand));
  padding: clamp(40px, 6vw, 72px) var(--rand) clamp(72px, 10vw, 120px);
  font: 300 17px/1.7 var(--sans);
  color: var(--grau-text);
}
.rechtstext h1 {
  margin: 0 0 .2em;
  font: 400 clamp(44px, 6vw, 72px)/1.05 var(--serif);
  letter-spacing: -.01em;
  color: var(--hell);
}
.rechtstext .stand { margin: 0 0 3em; font: 400 12px var(--mono); color: var(--grau); }
.rechtstext h2 {
  margin: 2.4em 0 .6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--linie);
  font: 400 28px/1.2 var(--serif);
  color: var(--hell);
}
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext p, .rechtstext ul { margin: 0 0 1em; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext li { margin-bottom: .35em; }
.rechtstext li::marker { color: var(--sand); }
.rechtstext strong { font-weight: 500; color: var(--hell); }
.rechtstext a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rechtstext a:hover { color: var(--hell); }
.rechtstext address { font-style: normal; margin: 0 0 1em; }
.fuss a[aria-current="page"] { color: var(--hell); }

/* Support-Formular */
.kopf__sprache { font: 400 12px var(--mono); color: var(--grau); display: flex; gap: 16px; }
.kopf__sprache a { color: var(--grau); }
.kopf__sprache a[aria-current="page"] { color: var(--hell); }

.formular { display: grid; gap: 28px; margin-top: 2.4em; }
.feld { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.feld > label, .feld > legend {
  padding: 0;
  font: 400 12px var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sand);
}
.feld__zusatz { text-transform: none; letter-spacing: 0; color: var(--grau); }
.feld small { font: 300 14px/1.5 var(--sans); color: var(--grau); }

.wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl span {
  display: block;
  padding: 10px 18px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font: 400 16px var(--sans);
  color: var(--grau-text);
  transition: border-color .15s, color .15s, background-color .15s;
}
.wahl label:hover span { border-color: rgba(201, 183, 156, .5); color: var(--hell); }
.wahl input:checked + span { border-color: var(--sand); background: rgba(201, 183, 156, .12); color: var(--hell); }
.wahl input:focus-visible + span { outline: 1px solid var(--sand); outline-offset: 3px; }

.formular input[type="email"], .formular input[type="text"], .formular select, .formular textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--linie);
  border-radius: 6px;
  background: rgba(255, 255, 255, .03);
  font: 300 17px/1.5 var(--sans);
  color: var(--hell);
}
.formular textarea { min-height: 11em; resize: vertical; }
.formular select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sand) 50%), linear-gradient(135deg, var(--sand) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.formular select option { background: var(--grund); color: var(--hell); }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--sand); }

/* Fuer Menschen unsichtbar, fuer einfache Bots ein Feld wie jedes andere. */
.formular .falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.formular__hinweis { margin: 0; font: 300 14px/1.6 var(--sans); color: var(--grau); }
.knopf-senden {
  justify-self: start;
  padding: 14px 28px;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: var(--sand);
  font: 500 16px var(--sans);
  color: var(--grund);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.knopf-senden:hover { background: transparent; color: var(--sand); }
.knopf-senden:focus-visible { outline: 1px solid var(--sand); outline-offset: 4px; }

.meldung { margin: 2em 0; padding: 20px 24px; border-left: 2px solid var(--sand); background: rgba(255, 255, 255, .03); }
.meldung--fehler { border-left-color: #d9826b; }
