/* ==========================================================================
   Bärbel Schneider – Gestalttherapie
   Farben aus den Fotos: Leinen, Sand (Ammonit), Moos (Wald)
   ========================================================================== */

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-italic.woff2") format("woff2");
}

:root {
  --papier: #f7f3ec;       /* Hintergrund, warmes Leinen */
  --sand-hell: #efe7da;    /* ruhige Abschnitte */
  --salbei-hell: #e7e9dd;  /* Kontakt */
  --sand: #c3a683;         /* Ammonit – Linien, Ornamente */
  --linie: #ddd2c2;
  --ocker: #7a5c3a;        /* kleine Überschriften */
  --moos: #5f6b43;         /* Links, Button */
  --moos-dunkel: #4a5334;
  --text: #3b312b;
  --text-weich: #6b5f56;

  --schrift: "Literata", Georgia, "Times New Roman", serif;
  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4.5rem, 10vw, 8rem);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--schrift);
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.1875rem);
  font-weight: 380;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

figure {
  margin: 0;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 360;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.9rem, 1.45rem + 1.6vw, 2.65rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 450;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.15em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--moos);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--moos-dunkel);
}

:focus-visible {
  outline: 2px solid var(--moos);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.section {
  padding-block: var(--abstand);
}

.section--sand {
  background: var(--sand-hell);
}

.section--salbei {
  background: var(--salbei-hell);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--ocker);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--moos);
  color: var(--papier);
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

/* Kopfzeile ------------------------------------------------------------- */

.site-header {
  padding-block: 1.5rem;
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  color: var(--sand);
}

.brand__name {
  display: block;
  font-size: 1.3rem;
  font-weight: 420;
  line-height: 1.2;
}

.brand__claim {
  display: block;
  color: var(--text-weich);
  font-size: 0.85rem;
  line-height: 1.3;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text);
  font-size: 1rem;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--moos);
  text-decoration: underline;
}

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

.hero {
  padding-block: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero h1 {
  margin-bottom: 1.75rem;
}

.lead {
  max-width: 30rem;
  color: var(--text-weich);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
}

.hero__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: 3px;
}

.button {
  display: inline-block;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  background: var(--moos);
  color: var(--papier);
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.button:hover {
  background: var(--moos-dunkel);
  color: var(--papier);
}

.text-link {
  font-size: 1rem;
}

/* Text-Abschnitte (Überschrift links, Text rechts) ---------------------- */

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 1.5rem clamp(2.5rem, 7vw, 7rem);
}

.split__body {
  max-width: 38rem;
}

.topics {
  margin: 0.25rem 0 1.6rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linie);
}

.topics li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-bottom: 1px solid var(--linie);
}

.topics li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.35em;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--sand);
  border-radius: 50%;
}

.quote {
  max-width: 50rem;
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
  text-align: center;
}

.quote__mark {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.5rem;
  color: var(--sand);
}

.quote p {
  margin: 0;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem);
  font-style: italic;
  font-weight: 340;
  line-height: 1.45;
}

/* Über mich ------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.about__image img {
  width: 100%;
  border-radius: 3px;
}

.about__body {
  max-width: 36rem;
}

.about h2 {
  margin-bottom: 1.75rem;
}

.about h3 {
  margin: 2.5rem 0 0.75rem;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-weich);
}

.facts li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--linie);
}

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

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 3rem clamp(2.5rem, 7vw, 7rem);
}

.contact h2 {
  margin-bottom: 1.75rem;
}

.signature {
  margin-top: 2rem;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 340;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfd2c0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #cfd2c0;
}

.contact-list svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.3rem;
  color: var(--moos);
}

.contact-list__label {
  display: block;
  color: var(--text-weich);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list__value {
  font-size: 1.15rem;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Fußzeile -------------------------------------------------------------- */

.site-footer {
  padding-block: 2.5rem;
  color: var(--text-weich);
  font-size: 0.95rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--text-weich);
}

/* Unterseiten (Impressum, Datenschutz) ---------------------------------- */

.legal {
  max-width: 44rem;
  padding-block: clamp(2rem, 6vw, 4rem) var(--abstand);
}

.legal h1 {
  margin-bottom: 2.5rem;
  font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.5rem);
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.5rem;
}

/* Mobil ----------------------------------------------------------------- */

@media (max-width: 52rem) {
  .hero__grid,
  .split,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero__image {
    order: -1;
  }

  .hero__image img {
    aspect-ratio: 5 / 4;
    object-position: 50% 54%;
  }

  .about__image {
    max-width: 26rem;
  }
}

@media (max-width: 30rem) {
  .site-header {
    padding-block: 1.1rem;
  }

  .site-nav ul {
    gap: 0.25rem 1.25rem;
  }
}
