/* =========================================================
   Landhandel Johann Conrads – Stylesheet
   Stil: Rustikal & Traditionell
   ========================================================= */

/* --- Farbpalette als Variablen --------------------------- */
:root {
  --braun-dunkel:  #6b4423;
  --braun-mittel:  #8b6f47;
  --beige:         #c9a876;
  --creme:         #fff8e8;
  --salbei:        #a8b89f;   /* Akzent passend zur Blechfassade */
  --text:          #2a1f14;
  --muted:         #7a6a55;

  --font-headline: 'Playfair Display', Georgia, serif;
  --font-body:     'Source Serif Pro', Georgia, serif;

  --max-width:     1100px;
  --radius:        6px;
  --shadow-soft:   0 2px 8px rgba(43, 30, 18, 0.08);
  --shadow-card:   0 4px 14px rgba(43, 30, 18, 0.12);
}

/* --- Reset & Grundlagen --------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--creme);
}

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

a {
  color: var(--braun-dunkel);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--braun-mittel); }

h1, h2, h3 {
  font-family: var(--font-headline);
  color: var(--braun-dunkel);
  line-height: 1.2;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 8px;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.subtitle {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 32px;
}

.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* --- Layout-Container ----------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 760px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--creme);
}

.section-cream {
  background: #f3e9d4;
}

/* --- Header --------------------------------------------- */
.site-header {
  background: var(--braun-dunkel);
  color: var(--creme);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  color: var(--creme);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-line {
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--beige);
}

.brand-name {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--creme);
  text-decoration: none;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
.site-nav a:hover {
  border-bottom-color: var(--beige);
  color: var(--creme);
}

/* --- Hero ----------------------------------------------- */
.hero {
  position: relative;
  min-height: 600px;
  color: var(--creme);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(43, 30, 18, 0.35) 0%,
    rgba(43, 30, 18, 0.65) 100%
  );
  padding: 80px 0;
}

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--beige);
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--creme);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-inhaber {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--beige);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Buttons -------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

.btn-primary {
  background: var(--braun-dunkel);
  color: var(--creme);
}
.btn-primary:hover {
  background: #5a371b;
  color: var(--creme);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.btn-secondary {
  background: transparent;
  color: var(--creme);
  border-color: var(--creme);
}
.btn-secondary:hover {
  background: var(--creme);
  color: var(--braun-dunkel);
}

/* --- Sortiment-Karten ----------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.product-card {
  background: var(--creme);
  border: 1px solid rgba(107, 68, 35, 0.15);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.product-image {
  margin: -28px -24px 18px -24px;
  height: 180px;
  overflow: hidden;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.product-card ul {
  list-style: none;
  padding: 0;
}

.product-card li {
  padding: 4px 0;
  border-bottom: 1px dashed rgba(107, 68, 35, 0.15);
  color: var(--text);
}

.product-card li:last-child {
  border-bottom: none;
}

/* --- Info-Hinweis-Box ----------------------------------- */
.info-box {
  background: var(--salbei);
  color: var(--text);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--braun-dunkel);
  margin-top: 8px;
  font-size: 16px;
}

/* --- Galerie (Einblicke) -------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(43, 30, 18, 0.85), transparent);
  color: var(--creme);
  font-size: 14px;
  font-family: var(--font-body);
  font-style: italic;
}

/* --- Öffnungszeiten-Tabelle ----------------------------- */
.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: var(--creme);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hours th,
.hours td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(107, 68, 35, 0.1);
}

.hours th {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--braun-dunkel);
  width: 33%;
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: none;
}

.hours tr.closed th,
.hours tr.closed td {
  background: rgba(107, 68, 35, 0.04);
}

/* --- Kontakt-Bereich ------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--creme);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-card .address {
  font-size: 18px;
  margin-bottom: 20px;
}

/* --- Rezensionen ---------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.review {
  background: var(--creme);
  padding: 28px;
  border-radius: var(--radius);
  border-left: 4px solid var(--beige);
  box-shadow: var(--shadow-soft);
}

.review .stars {
  color: #d4a72c;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review p {
  margin-bottom: 14px;
  font-size: 16px;
}

.review footer {
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
}

/* --- Footer --------------------------------------------- */
.site-footer {
  background: var(--braun-dunkel);
  color: var(--creme);
  padding: 48px 0;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer-nav a {
  color: var(--beige);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--creme);
  text-decoration: underline;
}

.footer-copy {
  text-align: right;
  font-size: 13px;
  color: var(--beige);
}

/* --- Responsive: Handy & Tablet ------------------------- */
@media (max-width: 760px) {
  .section { padding: 56px 0; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero,
  .hero-overlay { min-height: 480px; }

  .hours th,
  .hours td {
    padding: 10px 12px;
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-copy { text-align: center; }
}
