:root {
  color-scheme: light;
  --ink: #3a271b;
  --muted: #7a6657;
  --paper: #fbf5ea;
  --soft: #eadbc8;
  --warm: #f4eadc;
  --clay: #9a6748;
  --coffee: #5a3a28;
  --caramel: #b8895d;
  --line: #d7c3ad;
  --shadow: 0 18px 45px rgba(75, 48, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: transparent;
border-bottom: 1px solid rgba(215, 195, 173, 0.9);
  
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(320px, 38vw, 580px);
  height: auto;
  border-radius: 2px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 1rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 56px) clamp(44px, 8vw, 86px);
  background:
    linear-gradient(90deg, rgba(58, 39, 27, 0.78), rgba(80, 54, 37, 0.36) 52%, rgba(80, 54, 37, 0.08)),
    url("assets/elisabeth-shop-hero.jpg");
  background-position: center 34%;
  background-size: cover;
  color: #fffdf8;
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #efd0b7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 17ch;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.05rem, 4.35vw, 4.25rem);
  font-weight: 400;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.1rem);
}

h3 {
  font-size: 1.05rem;
}

.hero p:not(.eyebrow) {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(0.98rem, 1.45vw, 1.14rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--coffee);
  color: #fff8ef;
}

.button.secondary {
  background: transparent;
border-color: currentColor;
  color: inherit;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: var(--soft);
}

.intro p:last-child,
.story-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.ways {
  background: var(--warm);
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ways-grid article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.ways-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-overview {
  max-width: 980px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow:none;
}

.product-overview p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.product-list li {
  display: flex;
}

.product-list a,
.product-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--warm);
  color: var(--coffee);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.product-list a {
  cursor: pointer;
}

.product-list a:hover,
.product-list a:focus-visible {
  background: var(--soft);
  border-color: var(--caramel);
  outline: none;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  min-height: 560px;
  background: #fffaf2;
}

.story-image {
  background-image: url("assets/elisabeth-shop-enhanced.jpg");
  background-position: center 32%;
  background-size: cover;
}

.gallery-section {
  background: var(--soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-auto-rows: 230px;
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow:none;
}

.gallery-grid img:first-child,
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(7) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6) {
  grid-column: span 2;
}

#produkte,
#muetzen,
#stirnbaender,
#schals,
#sonnenhuete,
#tshirts,
#socken,
#geschichte,
#termine,
#kontakt {
  scroll-margin-top: 120px;
}

.product-category {
  background: #fffaf2;
}

.product-category-alt {
  background: var(--warm);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.category-grid.wide-products {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.category-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow:none;
}

.category-grid.wide-products img {
  aspect-ratio: 16 / 9;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 6vw, 84px);
}

.events {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.market-intro {
  max-width: 720px;
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.market-intro p {
  margin: 0;
}

.event {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.event h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event p {
  margin: 7px 0 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 7vw, 78px) clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff8ef;
}

.contact p {
  max-width: 58ch;
  margin-top: 14px;
  color: rgba(255, 248, 239, 0.78);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(18px, 4vw, 56px);
  background: #24170f;
  color: rgba(255, 248, 239, 0.76);
  font-size: 0.93rem;
}

footer p {
  margin: 0;
}


/* Version 2.0: ruhiger, hochwertiger und familienfreundlich */
.site-header {
  padding-top: 14px;
  padding-bottom: 14px;
}

nav a {
  position: relative;
  padding: 7px 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.03em;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 160ms ease, transform 160ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  opacity: 0.55;
  transform: scaleX(1);
}

.hero-content {
  padding: clamp(18px, 3vw, 30px);
  border-radius: 10px;
  background: transparent;
}

.button {
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow:none;
}

.category-grid img,
.gallery-grid img {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-grid img:hover,
.gallery-grid img:hover {
  transform: translateY(-3px);
  border-color: var(--caramel);
  box-shadow:none;
}

.subcategory {
  padding-top: 8px;
}

.subcategory h3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.subcategory h3::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--line);
}

.product-category .section-heading,
.product-category-alt .section-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  .intro,
  .story-band,
  .contact {
    display: block;
  }

  .brand {
    display: inline-flex;
    margin-bottom: 12px;
  }

  .brand img {
    width: min(420px, 92vw);
  }

  nav {
    justify-content: flex-start;
  }

  .section-heading {
    display: block;
  }

  .section-note {
    margin-top: 14px;
  }

  .ways-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-grid img,
  .gallery-grid img:first-child,
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(5),
  .gallery-grid img:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid.wide-products {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 330px;
  }

  .contact-actions {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 72vh;
  }

  .button {
    width: 100%;
  }

  .event {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}
