/* Imkerei Marxreiter – One-Pager (2026) */

:root {
  --bg: #6d6442;
  --accent: #f3b20d;
  --ink: #f6efe0;
  --paper: rgba(255, 255, 255, .08);
  --paper2: rgba(243, 178, 13, .18);
  --line: rgba(0, 0, 0, .0);
  --shadow: 0 18px 40px rgba(0, 0, 0, .16);
  --radius: 18px;
  --maxw: 1120px;
  --heroH: 100svh;
  --heroOverlayA: rgba(0, 0, 0, .55);
  --heroOverlayB: rgba(0, 0, 0, .28);
  --h2-headline-size: clamp(1.5rem, 2.2vw, 2rem);
}

/* Basis & Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 2rem 0;
  background: transparent;
}

.footer {
  background: #5a5237; 
  padding: 60px 0; 
}

.footer__container {
  display: flex;
  justify-content: center; 
  align-items: center;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 32px; 
}

.footer__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  
/* Startzustand: Dezent, Grau, verschmilzt mit Hintergrund */
  filter: grayscale(0.5) brightness(1.2) opacity(0.8);
  mix-blend-mode: multiply; 
  
  transition: all 0.4s ease;
}

.footer__logo:hover {
  mix-blend-mode: normal;  
  filter: grayscale(0) opacity(1) brightness(0.7); 
  transform: scale(1.1);
}

/*  Marxreiter-Logo rund */
.footer__link:first-child .footer__logo {
  border-radius: 50%;
}

/* Alle anderen Logos bleiben in ihrer natürlichen Form */
.footer__link:not(:first-child) .footer__logo {
  border-radius: 0; 
}

/* Mobil-Optimierung */
@media (max-width: 600px) {
  .footer { padding: 40px 0; }
  .footer__logos { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .footer__logo { height: 42px; }
}


/* Typography */
h1, h2, h3 {
  margin: 0 0 12px 0;
  letter-spacing: .2px;
}

h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: #fff;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .5);
}

h2 {
  font-size: var(--h2-headline-size);
  font-weight: 500;
  letter-spacing: .01em;
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 3px;
}

h3 {
  font-size: 1.1rem;
  padding: 0 26px;
  font-weight: 600;
}

p { margin: 0 0 12px 0;
padding: 0 26px;
}
.lede { margin: 0 0 22px 0; max-width: 72ch; }
.muted { opacity: .78; }
.link {
  color: #1d1208;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: var(--heroH);
  background: linear-gradient(180deg, var(--heroOverlayA), var(--heroOverlayB)),
              var(--hero) center/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 620px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(109, 100, 66, .35) 75%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.hero__overlay { display: none; }

.hero__content {
  position: relative;
  padding: 108px 0 72px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.hero__sub {
  opacity: 0.85;
  margin: 10px auto 26px auto;
  max-width: 60ch;
  color: rgba(255, 255, 255, .90);
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  text-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}

.hero__logo {
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.hero__logoCrop {
  width: clamp(140px, 16vw, 210px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.hero__logoCrop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.04);
}

/* Buttons */
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  transition: transform .12s ease, background .12s ease;
  font-weight: 600;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--accent);
  color: #2b1a0c;
  border-color: rgba(0, 0, 0, .10);
}

.btn--ghost {
  background: var(--paper);
  color: #fff;
}

.ctaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/*Badge*/ 
.badge{
  display:inline-block;
  padding:6px 10px;
  background: var(--accent);
  color:#2b1a0c;
  font-size:13px;
  border-radius:999px;
  font-weight:600;
}

/* Grids & Cards */
.grid {
  display: grid;
  gap: 18px;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: none;
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow);
}

.card p {
  line-height: 1.7;
  padding: 24px 26px;
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card--media img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
}

.card--wide { grid-column: span 2; }

.note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--paper2);
  border: none;
  border-radius: var(--radius);
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li { margin: 8px 0; }

/* Product Specifics */
.product {
  display: flex;
  flex-direction: column;
}

.product p.muted { flex-grow: 1; }

.product .price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 25px;
  margin-top: 6px;
  padding: 0 26px;
}

.product .price strong {
  font-weight: 600;
  letter-spacing: .2px;
}

/* Karte als details/summary-Lösung */
.details--map {
  width: fit-content;
  margin: 24px 0;
  position: relative;
}

/* Der Button im geschlossenen Zustand */
.details--map summary.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; 
  
  padding: 12px 24px;       
  min-width: 140px;         
  
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

/* Reset für Browser-Pfeile */
.details--map summary::-webkit-details-marker { display: none; }

/* --- OFFENER ZUSTAND --- */

.details--map[open] {
  width: 100%;             /* Karte dehnt sich auf volle Breite aus */
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}

.details--map[open] summary.btn {
  /* Wechsel zum Schließen-Chip oben rechts */
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 20;
  
  padding: 8px 16px;
  min-width: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  transform: none;
}

.details--map[open]::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Höhere Deckkraft (.18 statt .08) für einen deutlicheren Goldton */
  background: rgba(243, 178, 13, 0.18); 
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 5;
}

/* Versteckt den Button-Text "Karte" */
.details--map[open] summary .summaryText {
  display: none !important;
}

/* Zeigt "Karte schließen" im Chip */
.details--map[open] summary::before {
  content: "Karte schließen";
  display: block;
}

/* Die Karte */
.details--map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  filter: saturate(.85) contrast(.9) brightness(.85);
}

/* 1. Summary & Überschrift (Hover entfernt) */
.details summary {
  list-style: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start; 
}

.details summary::-webkit-details-marker {
  display: none;
}

.details summary h2 {
  display: inline-block;
  margin: 0;
  transition: opacity 0.3s ease;
}

.details summary:hover h2 {
  opacity: 0.9;
}


.details summary::after {
  content: ""; /*+ momentan auskommentiert, da default open*/
  color: var(--accent); 
  font-family: system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--h2-headline-size);
  line-height: 1; 
  transform: translateY(0.18em); 
  opacity: 0.8; 
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* 3. Zustand wenn offen */
.details[open] summary::after {
  transform: translateY(0.18em) rotate(45deg);
  opacity: 1; 
}

.details__body {
  margin-top: 22px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 880px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
}