/* =========================================================
   NOIRBERRY – gemeinsames Stylesheet für alle Seiten
   Schriften liegen lokal im Ordner fonts/ (keine Verbindung zu Google).
   ========================================================= */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Great Vibes"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/great-vibes-latin-400-normal.woff2") format("woff2"); }

:root {
  /* Farben der Sloe-Gin-Seite */
  --bg: #000;
  --surface: #1a0a14;
  --plum: #4a1233;
  --berry: #b0175a;      /* Beerenrot aus dem Logo */
  --sloe: #6b4fa0;
  --text: #efe5ea;
  --muted: #b7a5b0;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;   /* Rundung aller Kästchen */
  --script: "Great Vibes", "Snell Roundhand", cursive;  /* nur für Genuss-Akzente */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}
strong, b { font-weight: 500; }
a { color: var(--text); text-decoration-color: var(--berry); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
a:hover { color: #fff; text-decoration-color: #fff; }
a:focus-visible { outline: 2px solid var(--sloe); outline-offset: 3px; }

.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; }

.kicker {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Kopfzeile ---------- */
.site-header { border-bottom: 1px solid var(--plum); }
.site-header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3em;
  font-size: 0.95rem;
}
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--text); }

/* Brotkrumen-Navigation */
.crumbs { font-size: 0.8rem; color: var(--muted); margin: 2rem 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--berry); }
.crumbs span { margin: 0 0.5rem; color: var(--plum); }

/* ---------- Startseite ---------- */
.hero {
  min-height: calc(100vh - 4.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--plum);
}
.emblem {
  width: 9.5rem;
  height: 9.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.5rem;
}
.emblem img { width: 100%; height: auto; }
.emblem .fallback { font-size: 3rem; font-weight: 600; }
/* Schriftzug + Claim als Einheit: gleiche Breite, gleiche Schrift */
.wordmark-big {
  font-weight: 600;
  font-size: clamp(2.3rem, 9vw, 4.2rem);
  letter-spacing: 0.12em;
  margin: 0 0 0 0.12em;   /* gleicht das Spacing optisch aus */
  line-height: 1;
}
.claim {
  font-size: clamp(1rem, 3.92vw, 1.83rem);
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin: 1.1rem 0 0 0.42em;
}
.tagline { font-size: clamp(1.9rem, 6vw, 2.6rem); color: var(--berry); margin: 1.75rem 0 0; line-height: 1.2; }
.hero .btn { margin-top: 3rem; }

.btn {
  display: inline-block;
  border: 1px solid var(--berry);
  color: var(--text);
  text-decoration: none;
  padding: 1rem 2.75rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background .2s;
}
.btn:hover { background: var(--plum); color: var(--text); }

.contact { max-width: 44rem; width: 100%; margin: 0 auto; padding: 5rem 1.5rem; }
.contact h2 { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 600; line-height: 1.15; margin: 0.75rem 0 2.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--plum); }
.contact-list li { border-bottom: 1px solid var(--plum); }
.contact-list a, .contact-list .row {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0.5rem;
  color: var(--text);
  text-decoration: none;
}
.contact-list a:hover { background: var(--surface); }
.contact-list .icon { width: 1.6rem; height: 1.6rem; stroke: var(--berry); }
.contact-list .value { display: block; font-size: 1.1rem; font-weight: 400; margin-top: 0.15rem; }
.contact-list .row .value { color: var(--muted); }
.arrow { width: 1.2rem; height: 1.2rem; stroke: var(--muted); }
a:hover .arrow { stroke: var(--berry); }

/* ---------- Inhaltsseiten ---------- */
main.content { flex: 1; max-width: 44rem; width: 100%; margin: 0 auto; padding: 0 1.5rem 5rem; }
.content h1 {
  font-weight: 600;
  font-size: clamp(2.3rem, 8vw, 3.4rem);
  line-height: 1.1;
  margin: 2.5rem 0 1rem;
  border-left: 4px solid var(--berry);
  padding-left: 1.25rem;
}
.content .kicker + h1 { margin-top: 0.5rem; }
.content > .kicker { margin: 2.5rem 0 0; }
.content .lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 3rem; max-width: 34rem; }
.content h2 { font-weight: 500; font-size: 1.5rem; line-height: 1.3; margin: 2.75rem 0 0.75rem; color: #fff; }
.content h3 { font-weight: 500; font-size: 1.05rem; margin: 1.75rem 0 0.5rem; color: #fff; }
.content p, .content li { max-width: 38rem; }
.content address { font-style: normal; }
.meta { color: var(--muted); font-size: 0.9rem; }
.note { border-top: 1px solid var(--plum); padding-top: 1.5rem; margin-top: 3.5rem; color: var(--muted); font-size: 0.95rem; }

/* Genuss-Überschrift in Schreibschrift (z. B. über Produktlisten) */
.content .flourish, .flourish { font-weight: 400; font-family: var(--script); color: var(--berry); font-size: clamp(2.2rem, 7vw, 3rem); line-height: 1.1; margin: 0 0 1.5rem; }

/* Linkkacheln (Produkte, Liköre) */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tile {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--plum);
  border-left: 4px solid var(--berry);
  padding: 1.4rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.tile:hover { background: var(--plum); color: var(--text); }
.tile.has-img { grid-template-columns: 5rem 1fr auto; }
.tile figure img { aspect-ratio: 4 / 5; object-fit: cover; }
.tile .name { display: block; font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.tile .kicker { display: block; margin-top: 0.3rem; }
.tiles.big .tile { padding: 2rem 1.75rem; }
.tiles.big .name { font-family: var(--script); font-weight: 400; font-size: clamp(2.4rem, 8vw, 3rem); line-height: 1.1; }
.tiles.big .tile.has-img { grid-template-columns: 7rem 1fr auto; }

/* Fruchtaufstrich: Merkmale und Sortenliste */
.badges { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badges li { border: 1px solid var(--plum); background: var(--surface); padding: 0.4rem 1rem; font-size: 0.85rem; letter-spacing: 0.05em; }
.sorts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--plum); }
.sorts li { padding: 1.1rem 0; border-bottom: 1px solid var(--plum); display: grid; grid-template-columns: 1fr; gap: 0.15rem; max-width: none; }
.sorts .name { font-weight: 500; font-size: 1.15rem; color: #fff; }
.sorts .desc { color: var(--muted); font-size: 0.95rem; }

/* ---------- Produktdetailseiten ---------- */
.intro { margin: 1rem 0 3rem; border-left: 4px solid var(--berry); padding: 1.5rem 0 0.5rem 1.5rem; }
.intro h1 { font-weight: 600; font-size: clamp(2.8rem, 11vw, 5rem); line-height: 1; margin: 0 0 1.25rem; border: 0; padding: 0; }
.intro p { font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin: 0; max-width: 30rem; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1px;
  background: var(--plum);
  border: 1px solid var(--plum);
  margin: 0 0 3.5rem;
}
.facts div { background: var(--surface); padding: 1.1rem 1.25rem; }
.facts dt { font-size: 0.85rem; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-size: 1.15rem; font-weight: 500; }
section { margin: 0 0 3rem; }
.serve { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.75rem; }
.serve li { background: var(--surface); border-left: 3px solid var(--sloe); padding: 0.9rem 1.1rem; }
.serve strong { color: #fff; }
.own { background: var(--surface); border: 1px solid var(--plum); border-left: 4px solid var(--berry); padding: 2rem 1.75rem 1.25rem; }
.own h2 { margin-top: 0; }

/* ---------- Fotos ---------- */
/* Bilder liegen im Ordner bilder/. Fehlt eine Datei, blendet onerror den Platz aus. */
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; background: var(--surface); }
.hero-photo { margin: 0 0 2.5rem; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 80vh; }
@media (min-width: 40rem) { .hero-photo img { aspect-ratio: 3 / 2; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.75rem; margin: 2rem 0 3rem; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Kästchen direkt unter der Faktentabelle: Abstand zum nächsten Abschnitt */
.facts + .badges { margin-bottom: 3rem; }
/* Hochformat-Hauptfoto (z. B. KYR KURO) */
/* Breite folgt auch der Bildschirmhöhe: Bild bleibt 4:5 und passt immer ganz auf den Schirm */
.hero-photo.portrait { width: min(100%, 30rem, 60vh); margin-left: auto; margin-right: auto; }
.feature figure { display: flex; flex-direction: column-reverse; width: min(100%, 48vh); margin: 0 auto; }
.feature figcaption { text-align: center; font-family: var(--script); font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.2; color: #fff; margin: 0 0 0.5rem; }
.hero-photo.portrait img, .feature img { aspect-ratio: 4 / 5; object-fit: cover; max-height: none; border-radius: var(--radius); }
.feature img { aspect-ratio: 2 / 3; }
/* Schreibschrift-Akzent */
.quote { font-family: var(--script); font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.2; color: var(--berry); margin: 0 0 3rem; }
/* Bild + Text nebeneinander */
.feature { display: grid; gap: 1.5rem; align-items: center; }
.feature h2 { margin-top: 0; }
@media (min-width: 40rem) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.25rem; } }

/* Rezeptkarten (Servierempfehlungen) */
.recipes { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 40rem) { .recipes { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); } }
/* vier Karten: 2 × 2 statt 3 + 1 */
@media (min-width: 40rem) { .recipes:has(> .recipe:nth-child(4)) { grid-template-columns: 1fr 1fr; } }
.recipe { background: var(--surface); border: 1px solid var(--plum); border-left: 3px solid var(--sloe); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; }
.recipe h3 { margin: 0 0 0.75rem; font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.recipe ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.recipe li { padding: 0.2rem 0; }
.recipe .tagline { margin: -0.4rem 0 0.9rem; font-style: italic; color: var(--muted); font-size: 0.9rem; }
.recipe .taste { margin: 0; color: var(--muted); font-size: 0.95rem; }
.recipe .taste + .taste { margin-top: 0.9rem; }
.recipe .taste .kicker { display: block; margin-bottom: 0.3rem; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--plum); margin-top: auto; }
.site-footer .inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer nav { display: flex; gap: 2rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--berry); }
.site-footer p { margin: 0; }
.site-footer .age { flex-basis: 100%; letter-spacing: 0.03em; text-transform: none; font-size: 0.85rem; }

/* ---------- Handy ---------- */
@media (max-width: 30rem) {
  .site-header .inner { padding: 0.85rem 1rem; }
  .brand { letter-spacing: 0.18em; gap: 0.6rem; font-size: 0.85rem; }
  .brand img { width: 2rem; height: 2rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { letter-spacing: 0.12em; font-size: 0.7rem; }
  .tile.has-img { grid-template-columns: 4rem 1fr auto; }
  .tiles.big .tile.has-img { grid-template-columns: 5rem 1fr auto; }
}

/* Startseite: kleine Buttons */
main.hero { flex: 1; border-bottom: 0; }
.mini-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 3rem; }
.hero .mini-links .btn { margin-top: 0; padding: 0.75rem 1.5rem; font-size: 0.72rem; letter-spacing: 0.25em; min-width: 11rem; text-align: center; }
@media (max-width: 30rem) {
  .mini-links { flex-direction: column; align-items: stretch; width: 100%; max-width: 16rem; }
}


/* ---------- Abgerundete Ecken ---------- */
.btn, .tile, .badges li, .own, .serve li, .alert,
.form input, .form textarea { border-radius: var(--radius); }
.facts { border-radius: var(--radius); overflow: hidden; }
.hero-photo img, .gallery img { border-radius: var(--radius); }
.tile figure img { border-radius: calc(var(--radius) - 4px); }

/* ---------- Kontaktformular ---------- */
.form { display: grid; gap: 0.4rem; max-width: 36rem; }
.form label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}
.form input, .form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--plum);
  color: var(--text);
  font: inherit;
  font-weight: 300;
  padding: 0.85rem 1rem;
}
.form textarea { resize: vertical; min-height: 9rem; }
.form input::placeholder, .form textarea::placeholder { color: #7d6d77; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 3px rgba(176, 23, 90, 0.25); }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 1.25rem 0 0.5rem; }
.form .btn { justify-self: start; cursor: pointer; background: transparent; font-family: inherit; margin-top: 0.5rem; }
.form .btn:hover { background: var(--plum); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border: 1px solid var(--berry); background: var(--surface); padding: 1rem 1.25rem; margin: 0 0 1.5rem; max-width: 36rem; }

/* =========================================================
   Responsive: Startseite passt mit Fußzeile auf den Bildschirm.
   Größen und Abstände richten sich nach Breite UND Höhe des Fensters.
   ========================================================= */
body { min-height: 100vh; min-height: 100dvh; }
main.hero {
  flex: 1;
  min-height: 0;
  padding: clamp(1.25rem, 5vh, 4rem) 1.5rem;
}
.emblem {
  width: clamp(4.5rem, 17vh, 9.5rem);
  height: clamp(4.5rem, 17vh, 9.5rem);
  margin-bottom: clamp(1rem, 4vh, 2.5rem);
}
.wordmark-big { font-size: clamp(2rem, min(9vw, 7.5vh), 4.2rem); }
.claim {
  font-size: clamp(0.87rem, min(3.92vw, 3.27vh), 1.83rem);
  margin-top: clamp(0.5rem, 1.5vh, 1.1rem);
}
.tagline {
  font-size: clamp(1.4rem, min(6vw, 4.8vh), 2.6rem);
  margin-top: clamp(0.75rem, 3vh, 1.75rem);
}
.hero .mini-links { margin-top: clamp(1.25rem, 5vh, 3rem); }
.site-footer .inner { padding-top: clamp(1rem, 3vh, 2.25rem); padding-bottom: clamp(1rem, 3vh, 2.25rem); }
@media (max-width: 30rem) {
  .hero .mini-links { gap: 0.6rem; }
  .hero .mini-links .btn { padding-top: 0.65rem; padding-bottom: 0.65rem; }
  .site-footer .inner { gap: 0.6rem 1.5rem; }
}
@media (max-width: 30rem) and (max-height: 680px) {
  main.hero { padding-top: 1rem; padding-bottom: 1rem; }
  .hero .mini-links { gap: 0.5rem; margin-top: 1.1rem; }
  .hero .mini-links .btn { padding-top: 0.55rem; padding-bottom: 0.55rem; }
  .site-footer .inner { padding-top: 0.75rem; padding-bottom: 0.75rem; gap: 0.35rem 1.25rem; }
}
/* Lange Wörter (z. B. „Fruchtaufstrich“) auf sehr schmalen Handys trennen statt überstehen lassen */
.content h1, .intro h1, .tile .name { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 22rem) { .content h1 { font-size: 2rem; } }

/* Faktenleiste: Felder füllen jede Zeile ganz aus (keine leeren Flächen bei 5 Feldern) */
.facts { display: flex; flex-wrap: wrap; }
.facts div { flex: 1 1 9.5rem; }

/* Dezentes Einblenden beim Scrollen (Klasse wird per JavaScript gesetzt) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
