/* =========================================================
   Meeresblüte – Floristische Produkte
   Farben: hellgrün + hellviolett, schwarze Schrift
   Menü: nur Text, linksbündig · Responsive: PC / Tablet / Handy
   ========================================================= */

:root {
  --gruen-hell: #feffec;
  --gruen: #7fae6a;
  --gruen-dunkel: #5f8c4d;
  --violett-hell: #ece3f6;
  --violett: #9b7fc2;
  --violett-dunkel: #7a5fa3;
  --text: #1a1a1a;
  --text-weich: #4a4a4a;
  --weiss: #ffffff;
  --schatten: 0 6px 24px rgba(90, 70, 120, 0.12);
  --radius: 12px;
  --rahmen: #7A857D;
  --rahmen-bild: #7A857D;
  --feld-bg: #F0F2F0;
  --feld-text: rgb(67, 67, 67);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--gruen-hell);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--violett-dunkel); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gruen-dunkel); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Navigation (nur Text, links) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--weiss);
  box-shadow: 0 1px 0 rgba(90, 70, 120, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover { color: var(--text); }

.brand img { height: 44px; width: auto; }

.nav { display: flex; }

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover {
  color: var(--gruen-dunkel);
  border-bottom-color: var(--gruen);
}

.nav-list a.active {
  color: var(--violett-dunkel);
  border-bottom-color: var(--violett);
  font-weight: 700;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (Hintergrundbild + großes Logo) ---------- */
.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  background: url("../bilder/hintergrund.jpeg") center/cover no-repeat;
}

.hero-balken {
  height: clamp(2.5rem, 4vw, 3rem);
  background: #7f5b96;
  flex-shrink: 0;
}

.hero-balken-text {
  height: auto;
  min-height: clamp(2.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
}

.hero-tagline {
  color: var(--feld-bg);
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.2;
}

.hero-mitte {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
}

.hero-mitte::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(56vw, 336px);
  max-width: 56vw;
  filter: drop-shadow(0 14px 34px rgba(70, 50, 100, 0.32));
}

/* ---------- Sektionen ---------- */
.section { padding: 48px 0; }

.section-titel {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 6px;
  margin-left: 10px;
}

.section-lead {
  color: var(--text-weich);
  max-width: 640px;
  margin-bottom: 26px;
  margin-left: 10px;
}

/* Inhalt-Karte (helles Textfeld) */
.karte {
  background: var(--feld-bg);
  border: 1.5px solid var(--rahmen);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--schatten);
  color: var(--feld-text);
}

.karte h3 { margin-bottom: 10px; }
.karte p { color: var(--feld-text); margin-bottom: 10px; }

.karte ul { list-style-position: inside; padding-left: 0; }
.karte li { margin-bottom: 6px; }
.karte ul + h3 { margin-top: 1.5em; }

/* Öffnungszeiten-Tabelle */
.oeffnungszeiten {
  display: table;
  border-collapse: collapse;
}

.oz-zeile { display: table-row; }

.oz-tag, .oz-zeit { display: table-cell; padding: 1px 0; }

.oz-tag { padding-right: 24px; white-space: nowrap; }

.oz-zeit { white-space: nowrap; }

/* ---------- Teaser (Startseite, bis 3) ---------- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.teaser-karte {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teaser-karte::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--rahmen-bild);
  border-radius: var(--radius);
  pointer-events: none;
}

.teaser-karte:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(90, 70, 120, 0.22);
}

.teaser-karte img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- Produktübersicht (Produktseite) ---------- */
.produkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.produkt-karte {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.produkt-karte:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(90, 70, 120, 0.22);
}

.produkt-bild { position: relative; flex-shrink: 0; }

.produkt-bild img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.produkt-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--rahmen-bild);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.produkt-beschriftung {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 10px 12px;
  background: var(--feld-bg);
  color: var(--feld-text);
  border: 2px solid var(--rahmen-bild);
  border-radius: 0 0 var(--radius) var(--radius);
}

.produkt-kopfzeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.produkt-text {
  font-size: 0.9rem;
  color: var(--feld-text);
}

.produkt-preis {
  text-align: right;
  font-weight: 700;
  font-size: 1rem;
  color: var(--feld-text);
  margin-top: auto;
}

.produkt-nummer {
  font-weight: 700;
  font-size: 1.05rem;
}

.produkt-bestellen {
  font-weight: 700;
  color: var(--violett-dunkel);
  border-bottom: 2px solid var(--violett);
}

.produkt-bestellen:hover { color: var(--gruen-dunkel); border-bottom-color: var(--gruen); }

.status-kreis {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  flex-shrink: 0;
}

.status-zeile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kontakt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violett-dunkel);
  color: var(--gruen-hell);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.kontakt-button svg { width: 16px; height: 16px; }

.kontakt-button:hover { background: var(--violett); color: var(--gruen-hell); }

.status-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 20px 10px;
}

.legende-eintrag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-weich);
  font-size: 0.9rem;
}

/* ---------- Lightbox / Bildansicht ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 14, 24, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.lightbox img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 12px;
  border: 2px solid var(--rahmen-bild);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  touch-action: none;
  will-change: transform;
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.lightbox img.gezoomt { cursor: zoom-out; }

.lightbox-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  padding: 10px 16px;
  background: var(--feld-bg);
  border: 2px solid var(--rahmen-bild);
  border-radius: var(--radius);
  color: var(--feld-text);
}

.lightbox-nummer {
  font-weight: 700;
  font-size: 1.05rem;
}

.lightbox-kontakt {
  font-weight: 700;
  color: var(--violett-dunkel);
  border-bottom: 2px solid var(--violett);
}

.lightbox-kontakt:hover { color: var(--gruen-dunkel); border-bottom-color: var(--gruen); }

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--weiss);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
}

.lightbox-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lightbox-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: var(--weiss);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav button:hover { background: rgba(255, 255, 255, 0.32); }

.lightbox-zahl { color: var(--weiss); font-weight: 600; min-width: 56px; text-align: center; }

.lightbox-zoom svg { width: 20px; height: 20px; display: block; }

/* ---------- Links / Buttons als Text ---------- */
.btn-text {
  display: inline-block;
  font-weight: 700;
  color: var(--violett-dunkel);
  border-bottom: 2px solid var(--violett);
  padding-bottom: 2px;
}

.btn-text:hover { color: var(--gruen-dunkel); border-bottom-color: var(--gruen); }

.btn-kontakt {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--violett-dunkel);
  color: var(--feld-bg);
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn-kontakt:hover {
  background: var(--violett);
  color: var(--feld-bg);
}

.text-rechts { text-align: right; }

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.kontakt-karte a { color: var(--text); font-weight: 600; }
.kontakt-karte a:hover { color: var(--gruen-dunkel); }

.karte-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  background: var(--feld-bg);
  border: 1px solid var(--rahmen);
  padding: 10px;
  margin-top: 18px;
}

.karte-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 12px;
  display: block;
}

.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.socials a:hover { color: var(--gruen-dunkel); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Prosa (Textseiten) ---------- */
.prosa {
  background: var(--feld-bg);
  border: 1.5px solid var(--rahmen);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--schatten);
  max-width: 820px;
  margin: 0;
  color: var(--feld-text);
}

.prosa h2 { font-size: 1.3rem; margin: 26px 0 10px; }
.prosa h2:first-child { margin-top: 0; }
.prosa p, .prosa li { color: var(--feld-text); margin-bottom: 12px; }
.prosa ul, .prosa ol { padding-left: 22px; margin-bottom: 12px; }
.prosa a { text-decoration: underline; }

.hinweis {
  background: var(--gruen-hell);
  border-left: 4px solid var(--gruen);
  padding: 14px 18px;
  border-radius: 12px;
  margin: 18px 0;
  color: var(--text-weich);
}

/* ---------- Footer (minimal) ---------- */
.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85rem;
  color: var(--text-weich);
  border-top: 1px solid rgba(90, 70, 120, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; gap: 0 18px; }

  .nav-toggle { display: flex; }

  .nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.open { max-height: 360px; }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-list a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(90, 70, 120, 0.1);
  }

  .nav-list a.active {
    border-bottom: 1px solid rgba(90, 70, 120, 0.1);
  }

  .hero { min-height: 44vh; }
  .hero-logo { width: 55vw; max-width: 55vw; }
  .prosa { padding: 26px 20px; }
  .karte-map iframe { height: 280px; }
  .teaser-grid { gap: 10px; }
}
