/* ==========================================================================
   Stoffe – Wolle – Handarbeiten · Fürstenfeldbruck
   Statische Seite, nachgebaut nach Master-Layout (FireShot Capture 227)
   Fließtext: Desktop 14 px · Mobil (≤ 780 px) 16 px
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/dancing-script-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/dancing-script-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben & Maße ---------- */
:root {
  --gold: #e6d78c;          /* Kopf- und Fußleiste */
  --gelb: #fff0a5;          /* Sortiment-Fläche */
  --braun: #332400;         /* Navigation, Kontaktzeile, Sortiment-Text */
  --ueberschrift: #2d2d2d;  /* Überschriften */
  --text: #626262;          /* Fließtext */
  --linie: #bcac6f;         /* Zierlinie unter Sortiment-Überschriften */
  --weiss: #ffffff;
  --container: 1000px;
  --gutter: 30px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
p { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: "Dancing Script", cursive;
  font-weight: 400;
  color: var(--ueberschrift);
  margin: 0;
  line-height: 1.2;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * 40px);
  margin: 0 auto;
  padding: 0 40px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; left: 8px; top: 8px; z-index: 100;
  width: auto; height: auto; clip: auto;
  background: var(--weiss); color: var(--braun);
  padding: 8px 12px;
}

/* ---------- Kopfleiste ---------- */
.topbar {
  background: var(--gold);
  min-height: 24px;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 24px;
}
.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 0 30px;
}
.main-nav a {
  display: block;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: var(--braun);
}
.menu-toggle { display: none; }

/* Hinweis-Reiter oben rechts (ersetzt das Cookie-Plugin: es gibt keine Cookies) */
.privacy-tab {
  position: fixed;
  top: 0;
  right: 88px;
  z-index: 50;
  background: #dfa03a;
  background: linear-gradient(#e7a944, #d7962f);
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px 7px;
  border-radius: 0 0 3px 3px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, .55);
}

/* ---------- Kontaktzeile ---------- */
.contact-row {
  display: flex;
  gap: var(--gutter);
  padding-top: 20px;
  padding-bottom: 30px;
}
.contact-item {
  flex: 1 1 0;
  margin: 0;
  font-family: "Dancing Script", cursive;
  text-align: center;
  font-size: 34px;
  line-height: 38px;
  color: var(--braun);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 460px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero-wollregal.jpg") center / cover no-repeat;
  opacity: .5;
}
.hero__logo {
  position: relative;
  width: 352px;
  height: 352px;
}

/* ---------- Einleitung ---------- */
.intro {
  padding-top: 42px;
  padding-bottom: 83px;
}
.intro h1 {
  text-align: center;
  font-size: 43px;
  line-height: 60px;
  padding: 25px 0;
  margin: 0 0 30px;
  color: var(--ueberschrift);
}

/* ---------- Sortiment ---------- */
.sortiment {
  background: var(--gelb);
  padding: 75px 0 89px;
  color: var(--braun);
}
.grid-3 {
  display: flex;
  gap: var(--gutter);
}
.grid-3 > * { flex: 1 1 0; min-width: 0; }
.sortiment h2 {
  text-align: center;
  font-size: 32px;
  line-height: 26px;
  color: var(--braun);
}
.deko {
  width: 80%;
  margin: 34px auto 27px;
  border-top: 1px solid var(--linie);
}
.sortiment img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 26px;
}

/* ---------- Über uns ---------- */
.about { padding-top: 73px; }
.about h2 {
  text-align: center;
  font-size: 36px;
  line-height: 44px;
  margin-bottom: 43px;
}
.about h2.kurzwaren-titel { margin-bottom: 23px; }
.about .about__text { margin-bottom: 52px; }

/* ---------- Kurzwaren ---------- */
.kurzwaren { margin-bottom: 52px; }
.kurzwaren ul {
  list-style: none;
  margin: 0; padding: 0;
  columns: 5;
  column-gap: var(--gutter);
}
.kurzwaren li { break-inside: avoid; }

/* ---------- Adresse & Öffnungszeiten ---------- */
.kontakt { padding-bottom: 76px; }
.kontakt strong { font-weight: 700; }
.kontakt h3 {
  font-size: 20px;
  line-height: 26px;
  margin: 0 0 8px;
  color: var(--ueberschrift);
}
.kontakt .lageplan { display: block; }
.kontakt .lageplan img { width: 302px; }

/* ---------- Fußleiste ---------- */
.site-footer {
  background: var(--gold);
  color: #fcfcfc;
  font-size: 12px;
  line-height: 20.5px;
  padding: 23px 0 21px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .copyright { max-width: 260px; }
.footer-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 30px;
  font-size: 12px;
  line-height: 20.5px;
  padding-top: 1px;
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal {
  padding-top: 50px;
  padding-bottom: 76px;
}
.legal h1 {
  text-align: center;
  font-size: 50px;
  line-height: 60px;
  padding: 25px 0;
  margin-bottom: 30px;
}
.legal h2 {
  font-size: 28px;
  line-height: 36px;
  margin: 40px 0 14px;
  color: var(--ueberschrift);
}
.legal h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.7;
  margin: 24px 0 8px;
  color: var(--text);
}
.legal ul { margin: 0 0 24px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; overflow-wrap: anywhere; }
.legal .anschrift { margin-bottom: 24px; }

/* ==========================================================================
   Mobil (Umbruch wie im bisherigen Theme bei 780 px) – Fließtext 16 px
   ========================================================================== */
@media (max-width: 780px) {
  body { font-size: 16px; line-height: 1.6; }
  .container { padding: 0 16px; }

  .topbar .container { justify-content: flex-end; min-height: 44px; position: relative; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    padding: 10px 0;
    font: 700 16px/24px Georgia, Times, serif;
    color: var(--braun);
    cursor: pointer;
  }
  .menu-toggle .bars,
  .menu-toggle .bars::before,
  .menu-toggle .bars::after {
    display: block;
    width: 20px; height: 2px;
    background: var(--braun);
    position: relative;
    content: "";
  }
  .menu-toggle .bars::before { position: absolute; top: -6px; }
  .menu-toggle .bars::after  { position: absolute; top: 6px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--gold);
    z-index: 40;
    border-top: 1px solid rgba(51, 36, 0, .15);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 4px 16px 10px; }
  .main-nav a { font-size: 16px; line-height: 44px; }

  .privacy-tab { display: none; }

  .contact-row { flex-direction: column; gap: 4px; padding: 16px 16px 20px; }
  .contact-item { font-size: 26px; line-height: 34px; overflow-wrap: anywhere; }

  .hero { height: 300px; }
  .hero__logo { width: 230px; height: 230px; }

  .intro { padding-top: 30px; padding-bottom: 40px; }
  .intro h1 { font-size: 34px; line-height: 42px; padding: 10px 0; margin-bottom: 20px; }

  .sortiment { padding: 48px 0; }
  .grid-3 { flex-direction: column; gap: 40px; }
  .sortiment img { margin-bottom: 20px; }

  .about { padding-top: 48px; }
  .about h2 { font-size: 30px; line-height: 38px; margin-bottom: 24px; }
  .about .about__text { margin-bottom: 40px; }

  .kurzwaren { margin-bottom: 40px; }
  .kurzwaren ul { columns: 2; column-gap: 16px; }

  .kontakt { gap: 32px; padding-bottom: 48px; }
  .kontakt .lageplan img { width: 100%; max-width: 377px; }

  .site-footer { font-size: 14px; line-height: 22px; padding: 20px 0; }
  .site-footer .container { flex-direction: column; gap: 12px; }
  .footer-nav ul { font-size: 14px; line-height: 22px; }

  .legal { padding-top: 30px; padding-bottom: 48px; }
  .legal h1 { font-size: 36px; line-height: 44px; padding: 10px 0; margin-bottom: 20px; }
  .legal h2 { font-size: 26px; line-height: 32px; }
}

/* Kurzwaren auf sehr schmalen Geräten: zweispaltig bleibt lesbar ab 320 px */
@media (max-width: 340px) {
  .kurzwaren ul { columns: 1; }
}

@media print {
  .topbar, .privacy-tab, .hero { display: none; }
}
