*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #faf7f5;
  --color-white: #ffffff;
  --color-primary: #b84b62;
  --color-primary-light: #e7c3cf;
  --color-accent: #58745e;
  --color-text: #2f2a28;
  --color-muted: #7a6d67;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

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

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(250,247,245,0.9);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo a {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--color-text);
}

.logo span {
  color: var(--color-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), opacity var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.12);
  background: #a23f55;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
  border: 1px solid rgba(184,75,98,0.35);
}

.btn-ghost:hover {
  background: rgba(184,75,98,0.06);
}

.btn-small {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

/* Hero (optimierter Slider mit Textpanel) */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  background: #000;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 52vh;
  max-height: 520px;
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-img {
  width: 100%;
  height: 52vh;
  max-height: 520px;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
}

/* Fokus auf Köpfe im Hofladen-Bild (Slide 4) */
.hero-slide-4 .hero-img {
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-panel {
  width: fit-content;
  max-width: 90%;
  margin-left: 4vw;
  margin-right: auto;
  margin-top: 8vh;
  padding: 1.1rem 1.3rem;
  text-align: left;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  color: var(--color-text);
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-slide.active .hero-panel {
  opacity: 1;
  transform: translateY(0);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.hero h1,
.hero h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0 0 0.7rem;
  color: var(--color-text);
}

.hero-text {
  max-width: 32rem;
  font-size: 0.96rem;
  color: var(--color-muted);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-dots {
  position: relative;
  margin-top: -0.5rem;
  padding: 1rem 0 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(to bottom, #e0a6b5, #c55470);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4),
              0 -4px 12px rgba(0,0,0,0.25);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  padding: 0;
}

.hero-dot.active {
  background: var(--color-primary);
}


.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* USPs */

.usp-section {
  padding: 2.5rem 0 1.5rem;
}

.usp-grid {
  display: grid;
  gap: 1.5rem;
}

.usp-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
}

.usp-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.usp-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.usp-item p {
  grid-column: 1 / -1;
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Sections */

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

.section-header h2 {
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
}

/* Products */

.products-section {
  padding: 2.5rem 0 3rem;
}

.products-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  display: block;
  background: #f2ece8;
}

.image-placeholder {
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.image-placeholder.tall {
  min-height: 260px;
}

.product-body {
  padding: 1.2rem 1.3rem 1.3rem;
}

.product-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.product-body p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.product-link {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--color-primary);
}

/* Story / About */

.story-section {
  padding: 3rem 0;
}

.story-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.story-text p {
  color: var(--color-muted);
}

.story-image .image-placeholder {
  border-radius: var(--radius-xl);
}

/* Rosenwissen */

.rosenwissen-section {
  padding: 3rem 0;
}

.rosenwissen-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.rosenwissen-image-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.rosenwissen-image-grid .image-placeholder {
  border-radius: 16px;
}

/* Logos */

.logos-section {
  padding: 2.5rem 0 2rem;
}

.logos-inner {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.logos-label {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.logo-badge {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(0,0,0,0.12);
  font-size: 0.8rem;
}

.logo-badge span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Kontakt */

.contact-section {
  padding: 3rem 0 3.5rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.newsletter-form {
  display: grid;
  gap: 0.6rem;
  max-width: 320px;
}

.newsletter-form input[type="email"] {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 0.9rem;
}

.small {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Footer */

.site-footer {
  background: #1f1a18;
  color: #e9e0da;
  padding-top: 2.2rem;
  margin-top: 2rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 1.8rem;
}

.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

.site-footer p,
.site-footer li {
  font-size: 0.85rem;
  color: #d4c9c2;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.social-links {
  display: grid;
  gap: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.8rem 0 1.2rem;
}

.footer-bottom small {
  font-size: 0.75rem;
  color: #b8aaa1;
}

/* Produktseiten */

.product-page {
  padding: 2rem 0 3.5rem;
}

.breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-layout {
  display: grid;
  gap: 2rem;
}

.product-gallery .image-placeholder {
  border-radius: var(--radius-xl);
}

.product-main h1 {
  margin-top: 0;
}

.product-short {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.product-meta {
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.product-highlights {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  background: #f5efeb;
  border-radius: var(--radius-lg);
}

.product-highlights h3 {
  margin-top: 0;
  font-size: 0.98rem;
}

.product-highlights ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
}

.product-highlights li {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.product-description h2 {
  margin-top: 2rem;
  font-size: 1.05rem;
}

.product-description p {
  font-size: 0.94rem;
  color: var(--color-muted);
}

.product-description ul {
  padding-left: 1.1rem;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    padding: 0.5rem 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(250,247,245,0.98);
    padding: 0.8rem 1.2rem;
    margin-right: 1.5rem;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .hero-slide,
  .hero-img {
    min-height: 56vh;
    height: 56vh;
    max-height: 460px;
  }

  .hero-panel {
    margin: 0 1.2rem;
    padding: 1.2rem 1.1rem 1.3rem;
  }

  .usp-item {
    grid-template-columns: 1fr;
  }

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

  .story-grid,
  .rosenwissen-grid,
  .contact-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 769px) {
  .usp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .story-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .rosenwissen-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

.story-real-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
