/* ═══════════════════════════════════════════
   Lütte Hütte Keramik — Onepager
   Schriften lokal eingebunden (keine Verbindung zu Google)
═══════════════════════════════════════════ */
@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/Lora-Italic-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-Variable.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* Flächen (warm) */
  --ivory:      #FBF8F3;
  --sand:       #F1E9DC;
  --sand-dark:  #E2D5C1;
  --mist:       #E6ECFD;   /* helles Blau aus deiner Palette */
  --white:      #FFFFFF;

  /* Schrift */
  --text:        #131C36;  /* Haupttext & Überschriften */
  --muted:       #6E6A63;  /* Warmgrau für Fließtext */
  --accent:      #7B89B1;  /* Akzent für große Schrift (z. B. kursive Zeile im Titel) */
  --accent-text: #55638C;  /* dunklere Variante von #7B89B1 für kleine Schrift (Lesbarkeit) */

  /* Buttons */
  --green:       #3E5A47;
  --green-dark:  #2E4536;
  --ink:         #131C36;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius:     8px;
  --pad-x:      clamp(1.25rem, 5vw, 4rem);
}

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

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

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

/* ── Header ── */
.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem) var(--pad-x) 0;
}
.site-header a { display: inline-block; }
.logo { height: clamp(76px, 10vw, 108px); width: auto; }

/* ── Hero ── */
.hero {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--pad-x) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.hero-text { max-width: 520px; animation: rise 0.9s ease both; }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-desc {
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #E4C5D0;
  color: #131C36;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover { background: #CAA0AF; transform: translateY(-1px); }
.btn svg { flex-shrink: 0; }

.hint {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 5 / 5.4;
  background: var(--sand);
  animation: rise 0.9s 0.15s ease both;
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text, .hero-image { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--sand-dark);
  padding: 1.5rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer ul { display: flex; gap: 1.6rem; list-style: none; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--green); }

/* ═══════════════════════════════════════════
   Impressum & Datenschutz
═══════════════════════════════════════════ */
.legal {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad-x) clamp(3rem, 7vw, 5rem);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--green);
  text-decoration: none;
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--ink); }

.legal h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.legal .lead {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 2.6rem;
}
.legal section {
  padding: 1.8rem 0;
  border-top: 1px solid var(--sand-dark);
}
.legal h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}
.legal p, .legal li {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.85;
}
.legal p + p { margin-top: 0.8rem; }
.legal ul { margin: 0.6rem 0 0 1.2rem; }
.legal a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(62, 90, 71, 0.35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal a:hover { text-decoration-color: var(--green); }
.legal address { font-style: normal; font-weight: 300; line-height: 1.85; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-text { max-width: none; }
  .hero-image { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 520px) {
  .btn { width: 100%; justify-content: center; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════
   GALERIE (unter dem Hero)
   Bilder werden in index.html gepflegt – hier nichts ändern.
═══════════════════════════════════════════ */
.gallery {
  background: #EAECF2;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad-x) clamp(2.8rem, 6vw, 5rem);
}
.gallery-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  text-align: center;
  color: var(--text);
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}
.gallery-grid {
  --gap: clamp(0.6rem, 1.6vw, 1.1rem);
  --cols: 4;
  list-style: none;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* unvollständige letzte Reihe wird mittig gesetzt */
  gap: var(--gap);
}
.gallery-grid li {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.gallery-grid li:hover img { transform: scale(1.04); }

@media (max-width: 1000px) { .gallery-grid { --cols: 3; } }
@media (max-width: 640px)  { .gallery-grid { --cols: 2; } }
@media (prefers-reduced-motion: reduce) { .gallery-grid img { transition: none; } .gallery-grid li:hover img { transform: none; } }
