/* Claudia Schrade – Stylesheet
   Farben und Schriften wie auf der alten Seite. Schriften liegen lokal (kein Google-Server). */

@font-face {
  font-family: "Platypi";
  src: url("schriften/platypi.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Ysabeau Office";
  src: url("schriften/ysabeau-office.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --hell: #F6FAEC;
  --basis: #DAE7BD;
  --zart: #EBF6D3;
  --gruen: #516028;
  --dunkel: #303D10;
  --akzent: #C7F642;
  --text: #2A3310;
  --text-leise: #5B6640;
  --linie: #51602833;
  --breit: 72rem;
  --schmal: 42rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--hell);
  color: var(--text);
  font-family: "Ysabeau Office", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Platypi", Georgia, serif;
  color: var(--dunkel);
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
p { margin: 0 0 1rem; }

a { color: var(--gruen); text-underline-offset: .18em; }
a:hover { color: var(--dunkel); }

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

.breit, .schmal { width: 100%; margin-inline: auto; padding-inline: 1rem; }
.breit { max-width: calc(var(--breit) + 2rem); }
.schmal { max-width: calc(var(--schmal) + 2rem); }

.gross { font-size: 1.3rem; }
.dachzeile {
  font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-leise); margin-bottom: .4rem;
}
.dachzeile a { color: inherit; }
.meta { color: var(--text-leise); }

/* Kopf */
.kopf { background: var(--basis); border-bottom: 1px solid var(--linie); }
.kopf-innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: 1rem;
}
.marke { text-decoration: none; color: var(--dunkel); display: flex; flex-direction: column; }
.marke-name { font-family: "Platypi", Georgia, serif; font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.marke-zeile { font-size: .95rem; color: var(--text-leise); }
.menue { display: flex; gap: .25rem; }
.menue a {
  text-decoration: none; color: var(--dunkel); font-weight: 600;
  padding: .4rem .9rem; border-radius: 999px;
}
.menue a:hover { background: var(--zart); }
.menue a[aria-current="page"] { background: var(--gruen); color: var(--hell); }

/* Startseite */
.held { background: var(--basis); padding-block: 2.5rem 3.5rem; }
.held-innen {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}
.held-bild img { width: 100%; max-width: 26rem; margin-inline: auto; border-radius: 1rem; }

.produkte { padding-block: 3rem 1rem; display: grid; gap: 3rem; }
.produkt {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}
.produkt:nth-child(even) .produkt-bilder { order: 2; }
.produkt-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.produkt-bilder img { border-radius: .75rem; width: 100%; }
.produkt h2 { margin-top: 0; }

.knopf {
  display: inline-block; background: var(--gruen); color: var(--hell);
  text-decoration: none; font-weight: 700; padding: .75rem 1.5rem; border-radius: 999px;
  margin-top: .5rem;
}
.knopf:hover { background: var(--dunkel); color: var(--hell); }

.weiter { font-weight: 700; }
.weiter::after { content: " →"; }

.blog-hinweis { padding-block: 2rem 4rem; }
.karte-quer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; align-items: center;
  background: var(--zart); border-radius: 1rem; padding: 1.5rem;
}
.karte-quer img { border-radius: .75rem; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.karte-quer h2, .karte h2 { margin-top: 0; }
.karte-quer h2 a, .karte h2 a { color: var(--dunkel); text-decoration: none; }

/* Blog */
.seite { padding-block: 3rem; }
.seite h2 { font-size: 1.4rem; }
.blog-liste { padding-bottom: 4rem; }
.karte { background: var(--zart); border-radius: 1rem; overflow: hidden; max-width: var(--schmal); margin-inline: auto; }
.karte img { width: 100%; }
.karte-text { padding: 1.5rem; }

.beitrag-kopf { padding-top: 3rem; }
.inhalt { padding-bottom: 1rem; }
.inhalt figure { margin: 1.5rem 0; }
.inhalt figure img { border-radius: .75rem; width: 100%; }
.inhalt figcaption { font-size: .95rem; color: var(--text-leise); margin-top: .4rem; }
.inhalt ul, .inhalt ol { padding-left: 1.3rem; }
.inhalt li { margin-bottom: .4rem; }
.galerie {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.galerie figure { margin: 0; }
.galerie img { aspect-ratio: 1; object-fit: cover; }
.beitrag-fuss { padding-block: 1rem 4rem; }

/* Fuß */
.fuss { background: var(--dunkel); color: var(--basis); padding-block: 2.5rem; }
.fuss a { color: var(--basis); }
.fuss-innen { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.fuss-name { font-family: "Platypi", Georgia, serif; font-size: 1.3rem; color: var(--hell); margin-bottom: .25rem; }
.fuss-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }

@media (max-width: 48rem) {
  body { font-size: 1.0625rem; }
  .held { padding-block: 2rem 2.5rem; }
  .held-innen, .produkt, .karte-quer { grid-template-columns: 1fr; }
  .produkt:nth-child(even) .produkt-bilder { order: 0; }
  .held-bild img { max-width: 18rem; }
  .galerie { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
}
