/* ==========================================================================
   Rund um die Blume, Amtzell — Demo-Gestaltungsvorschlag
   Charakter: natürlich-handwerklich, Allgäu-verwurzelt, warm und einladend.
   Palette: Blumengrün #4A7C59 · Creme #F8F4EC · Terrakotta #C26B4F ·
            Erdbraun #3B2B1F · Hellgrün #D4E8D9
   Schriften: Gilda Display (Headlines) + Josefin Sans (Body/Nav), lokal
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Gilda Display";
  src: url("../fonts/gilda-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Designsystem ---------- */
:root {
  --gruen: #4A7C59;
  --gruen-dark: #355a41;
  --gruen-soft: #D4E8D9;
  --creme: #F8F4EC;
  --creme-2: #EEE8D8;
  --terra: #C26B4F;
  --terra-dark: #a35540;
  --terra-soft: #F3DDD5;
  --braun: #3B2B1F;
  --braun-soft: #7A6555;
  --hellgruen: #D4E8D9;
  --line: #DDD5C2;
  --white: #FFFDF8;

  --font-display: "Gilda Display", Georgia, serif;
  --font-body: "Josefin Sans", "Segoe UI", system-ui, sans-serif;

  --container: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--braun);
  background-color: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--gruen); text-decoration: none; }

::selection { background: var(--gruen); color: var(--creme); }

:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--braun);
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.mark { color: var(--terra); }
.mark--gruen { color: var(--gruen); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-bottom: 0.8rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--braun-soft);
  max-width: 38rem;
  font-weight: 300;
}

/* ---------- Demo-Leiste ---------- */
.demo-leiste {
  background: var(--braun);
  color: var(--creme);
  font-size: 0.78rem;
  font-family: var(--font-body);
  text-align: center;
  padding: 0.5rem var(--pad);
  line-height: 1.45;
}

/* ---------- Platzhalter (Adresse unklar) ---------- */
.platzhalter {
  font-style: italic;
  color: var(--terra-dark);
  border-bottom: 1px dashed var(--terra);
}

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 236, 0.96);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gruen);
}
.brand__mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  color: var(--braun);
}
.brand__name small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.8rem);
}
.nav a {
  color: var(--braun);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--gruen); }
.nav a[aria-current="page"] {
  color: var(--gruen);
  border-bottom-color: var(--terra);
}
.nav__cta {
  background: var(--gruen);
  color: var(--creme) !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  white-space: nowrap;
  transition: background 0.2s;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}
.nav__cta:hover { background: var(--gruen-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--braun);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(55rem 30rem at 90% -8%, var(--gruen-soft) 0%, transparent 60%),
    radial-gradient(45rem 25rem at -6% 110%, var(--terra-soft) 0%, transparent 55%);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-block: 0.4rem 1.2rem; }

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--braun-soft);
  margin-bottom: 2rem;
  max-width: 36rem;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__art {
  display: grid;
  place-items: center;
}
.hero__art svg {
  width: min(320px, 68vw);
  height: auto;
  filter: drop-shadow(0 20px 32px rgba(74, 124, 89, 0.2));
}

/* ---------- Trennlinie Blume ---------- */
.botanical-divider {
  height: 28px;
  width: 100%;
  display: block;
  color: var(--gruen);
  opacity: 0.5;
  margin-block: -1px;
}
.botanical-divider svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.82rem 1.8rem;
  border-radius: 999px;
  border: 2px solid var(--gruen);
  color: var(--gruen);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--gruen); color: var(--creme); }
.btn--solid:hover { background: var(--gruen-dark); border-color: var(--gruen-dark); }
.btn--terra { border-color: var(--terra); color: var(--terra-dark); }
.btn--terra:hover { background: var(--terra); color: var(--white); border-color: var(--terra); }
.btn--light { border-color: var(--creme); color: var(--creme); }
.btn--light:hover { background: var(--creme); color: var(--gruen); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--hellgruen { background: var(--hellgruen); }
.section--creme2 { background: var(--creme-2); }
.section--gruen { background: var(--gruen); color: var(--creme); }
.section--gruen h2, .section--gruen h3 { color: var(--creme); }
.section--gruen p { color: rgba(248, 244, 236, 0.9); }
.section--gruen .eyebrow { color: var(--gruen-soft); }
.section--gruen .mark { color: #d6f0c0; }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { margin-bottom: 0.8rem; }
.section__head p { color: var(--braun-soft); }

/* ---------- Sortiment-Kacheln ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(74, 124, 89, 0.1); }
.card__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.96rem; color: var(--braun-soft); }
.card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gruen-dark);
  background: var(--gruen-soft);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.85rem;
}
.card__tag--terra { color: var(--terra-dark); background: var(--terra-soft); }

/* ---------- Geschichte / Über uns ---------- */
.about-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-band__art { display: grid; place-items: center; }
.about-band__art svg {
  width: min(300px, 60vw);
  filter: drop-shadow(0 14px 24px rgba(59, 43, 31, 0.08));
}

.story {
  display: grid;
  gap: 1.2rem;
}
.story__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.story__year {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gruen-dark);
  background: var(--gruen-soft);
  border-radius: 999px;
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}
.story__item h3 { margin-bottom: 0.25rem; font-size: 1.15rem; }
.story__item p { color: var(--braun-soft); font-size: 0.97rem; }

/* ---------- Foto-Platzhalter ---------- */
.photo-ph {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, var(--creme-2) 0 14px, var(--gruen-soft) 14px 28px);
  border: 2px dashed var(--gruen);
  border-radius: var(--radius);
  color: var(--gruen-dark);
  min-height: 260px;
  padding: 1.5rem;
}
.photo-ph span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--creme);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(59, 43, 31, 0.07);
}
.photo-ph small {
  display: block;
  margin-top: 0.5rem;
  color: var(--braun-soft);
  font-weight: 400;
}

/* ---------- Öffnungszeiten ---------- */
.hours-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.3rem);
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--braun-soft);
  font-size: 0.97rem;
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .day { font-weight: 600; color: var(--braun); font-family: var(--font-body); }
.hours-table .time { text-align: right; }
.hours-table .closed { color: #9a8e80; }
.hours-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gruen-dark);
  background: var(--gruen-soft);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  line-height: 1.55;
}

.hours-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--gruen);
  color: var(--creme);
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.cta-band h2 { color: var(--creme); margin-bottom: 0.6rem; font-family: var(--font-display); }
.cta-band p {
  color: rgba(248, 244, 236, 0.9);
  max-width: 36rem;
  margin-inline: auto;
  font-weight: 300;
}
.cta-band .tel {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  color: var(--creme);
  margin-block: 1.4rem 1.2rem;
  border-bottom: 3px solid rgba(248, 244, 236, 0.4);
  transition: border-color 0.2s;
  letter-spacing: 0.02em;
}
.cta-band .tel:hover { border-color: var(--creme); }

/* ---------- Kontaktseite ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}
.contact-card h2 { font-size: 1.55rem; margin-bottom: 1rem; }
.contact-card .tel-big {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  color: var(--gruen);
  line-height: 1.1;
  margin-block: 0.3rem 0.6rem;
  letter-spacing: 0.02em;
}
.contact-card address {
  font-style: normal;
  color: var(--braun-soft);
  line-height: 1.7;
}
.contact-card ul { list-style: none; color: var(--braun-soft); }
.contact-card li { padding-block: 0.25rem; }
.contact-card a.mail { color: var(--gruen); font-weight: 600; }

/* ---------- Sortiment-Seite: Gruppen ---------- */
.sortiment-group {
  margin-bottom: clamp(2.5rem, 5vw, 3.8rem);
}
.sortiment-group__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--line);
}
.sortiment-group__head svg { width: 38px; height: 38px; flex-shrink: 0; }
.sortiment-group__head h2 { margin-bottom: 0; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.sortiment-group__intro { color: var(--braun-soft); margin-bottom: 1.4rem; max-width: 44rem; font-weight: 300; }

.sortiment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.sortiment-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.sortiment-item h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.sortiment-item p { font-size: 0.94rem; color: var(--braun-soft); }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 0.7rem; }
.legal p, .legal address { color: var(--braun-soft); font-style: normal; font-weight: 300; }
.legal p + p { margin-top: 0.8rem; }
.legal ul { margin: 0.6rem 0 0 1.2rem; color: var(--braun-soft); }
.legal li { padding-block: 0.2rem; }
.legal a { color: var(--gruen); }

.demo-note {
  background: var(--terra-soft);
  border-left: 5px solid var(--terra);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--braun-soft);
}
.demo-note strong { color: var(--terra-dark); font-weight: 700; }

.placeholder-field {
  display: inline-block;
  background: var(--creme-2);
  border: 1px dashed var(--gruen);
  border-radius: 6px;
  padding: 0.05rem 0.55rem;
  font-size: 0.88rem;
  color: var(--gruen-dark);
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--braun);
  color: var(--creme-2);
  padding-block: clamp(2.2rem, 5vw, 3.5rem) 1.4rem;
}
.site-foot a { color: var(--creme); }
.site-foot a:hover { text-decoration: underline; }
.site-foot h3 {
  color: var(--creme);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.site-foot .foot-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--creme);
  line-height: 1;
  margin-bottom: 0.6rem;
  font-weight: 400;
}
.site-foot ul { list-style: none; font-size: 0.94rem; }
.site-foot li { padding-block: 0.18rem; }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.foot-meta {
  border-top: 1px solid rgba(248, 244, 236, 0.2);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(248, 244, 236, 0.65);
}
.foot-emblem { margin-bottom: 1rem; }
.foot-emblem svg { opacity: 0.6; }

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art svg { width: min(220px, 55vw); }
  .about-band { grid-template-columns: 1fr; }
  .hours-teaser { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--creme);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.8rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav__cta {
    margin-top: 0.9rem;
    text-align: center;
    border-radius: 12px;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .story__item { grid-template-columns: 1fr; gap: 0.4rem; }
  .story__year { width: 3.8rem; height: 3.8rem; }
}
