/* ==========================================================================
   Barn Bros Shop – Grundstyling
   Alle Farben/Schriften als CSS-Variablen, damit ihr das Design schnell
   anpassen könnt, ohne die Regeln selbst suchen zu müssen.
   ========================================================================== */

:root {
  --color-bg: #faf6f0;
  --color-surface: #ffffff;
  --color-text: #2b2420;
  --color-text-muted: #6b6058;
  --color-primary: #016477;
  --color-primary-dark: #013b47;
  --color-accent: #d9a441;
  --color-border: #e6ddd1;

  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1100px;
  --radius: 10px;
  --spacing: 1.5rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

a {
  color: var(--color-primary);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo img {
  height: 96px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.4rem;
}

/* Nav-Toggle (Burger-Icon), nur auf Mobile sichtbar */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  margin: 0 auto;
}

@media (max-width: 700px) {
  .site-logo img {
    height: 52px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header .container {
    position: relative;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem var(--spacing) 1.25rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    margin-left: 0;
    padding: 0.7rem 0;
  }
}

.site-nav a {
  position: relative;
  margin-left: 1.5rem;
  padding-bottom: 4px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  color: #fff;
}

/* Hero */
.hero {
  padding: 4.5rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.75rem;
  margin: 0 0 1rem;
}

.hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 30px rgba(1, 59, 71, 0.12);
}

.hero-image img {
  width: 100%;
}

@media (max-width: 800px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Product teaser gallery (visuell, kein Kauf-Button – der Kauf läuft über das Ecwid-Widget weiter unten) */
.section-heading {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.5rem;
}

.teaser-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 0 0 3.5rem;
}

.teaser-gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 4px 16px rgba(43, 36, 32, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teaser-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43, 36, 32, 0.12);
}

/* Shop-Sektion (Ecwid-Widget) */
.shop-section {
  background: var(--color-surface);
  padding: 3.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.shop-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.site-footer img {
  height: 36px;
  width: auto;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

.site-footer a {
  color: var(--color-text-muted);
  margin: 0 0.5rem;
}

/* Rechtstexte (Impressum/Datenschutz) */
.legal-content {
  padding: 3rem 0 4rem;
  max-width: 46rem;
}

.legal-content h1 {
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.placeholder {
  background: #fff3e0;
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius);
  padding: 0.15rem 0.4rem;
  font-family: monospace;
  font-size: 0.9em;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.25rem;
}

.withdrawal-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.withdrawal-form p {
  margin: 0 0 1rem;
}

.withdrawal-form p:last-child {
  margin-bottom: 0;
}
