/* ==========================================================================
   Blumen Honkomp - Modern One-Page Stylesheet
   ========================================================================== */

/* --- Font Definitions (Local for 100% DSGVO Compliance) --- */
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dosis-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ptsans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ptsans-700.woff2') format('woff2');
}

/* --- Variables --- */
:root {
  --primary-color: #a60ba4;
  --primary-hover: #860984;
  --primary-light: #f7e6f6;
  --secondary-color: #5c665f;
  --secondary-hover: #454d48;
  --text-color: #444444;
  --text-muted: #666666;
  --heading-color: #2b2b2b;
  --bg-white: #ffffff;
  --bg-light: #f4f6f4;
  --bg-dark: #232724;
  --border-color: #e5e8e5;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.15);
  --font-heading: 'Dosis', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'PT Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s ease;
  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.3rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.05rem; }

p {
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.highlight {
  color: var(--primary-color);
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --- Section Dividers --- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.2rem auto 2.2rem;
  max-width: 200px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.divider-icon {
  margin: 0 14px;
  color: var(--primary-color);
  display: inline-flex;
}

.divider-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff !important;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Header & Sticky Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled {
  height: 70px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo-img {
  height: 48px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  display: none; /* keep clean header, visible on tablet/desktop if needed */
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #555555;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.external {
  color: var(--secondary-color);
}

/* Hamburger Icon for Mobile */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--heading-color);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* --- Hero Section (#home) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/honkomp-start.jpg') center center / cover no-repeat;
  padding-top: 85px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-logo {
  max-width: 580px;
  width: 90%;
  margin: 0 auto 35px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

.hero-btn {
  font-size: 1.25rem;
  padding: 14px 42px;
}

/* --- Section General Styling --- */
section[id] {
  scroll-margin-top: 85px;
}

@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 70px;
  }
}

.section {
  padding: 85px 0;
}

.section-alternate {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

/* --- Section: Flyer / Aktuelles (#flyer) --- */
.section-flyer {
  background-color: #fafbfa;
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0;
}

.flyer-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 25px;
  max-width: 680px;
  margin: 30px auto 0;
}

.flyer-card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  cursor: pointer;
  background: #ffffff;
}

.flyer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.flyer-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.flyer-card:hover img {
  transform: scale(1.02);
}

.flyer-overlay-hint {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.flyer-overlay-hint svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.flyer-card:hover .flyer-overlay-hint {
  background: var(--primary-color);
}

/* --- Section: Über uns (#about) --- */
.about-intro-img {
  max-width: 520px;
  width: 90%;
  margin: 0 auto 28px;
  border-radius: 6px;
}

.about-intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto 35px;
  color: #444;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 950px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.05rem;
}

/* Categories Grid */
.categories-subheading {
  margin-bottom: 45px;
}

.category-icons-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-icon-box {
  width: 120px;
  text-align: center;
}

.category-icon-box img {
  width: 95px;
  height: 95px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.category-icon-box:hover img {
  transform: scale(1.08);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 45px;
}

.category-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary-color);
}

.category-card h4 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.category-card ul li {
  padding: 4px 0;
  color: #555555;
  font-size: 1rem;
}

/* --- Quote Banner (Parallax) --- */
.banner-quote {
  position: relative;
  background: url('../images/honkomp-banner-quote.jpg') center center / cover no-repeat fixed;
  padding: 95px 0;
  text-align: center;
  color: #ffffff;
}

.banner-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.banner-quote .container {
  position: relative;
  z-index: 2;
}

.banner-quote h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.banner-quote h3 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #e0e0e0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* --- Section: Galerie / Impressionen (#portfolio) --- */
.gallery-intro {
  margin-bottom: 35px;
}

/* Carousel Styles */
.gallery-carousel-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: transparent;
}

.gallery-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 560px;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: transparent;
  transition: transform 0.4s ease;
}

.gallery-slide:hover img {
  transform: scale(1.03);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
  background: var(--primary-color);
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Grid View (Collapsible / Toggleable) */
.gallery-toggle-bar {
  margin-top: 25px;
  text-align: center;
}

.gallery-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.gallery-grid-view.hidden {
  display: none;
}

.gallery-grid-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #eee;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid-item:hover img {
  transform: scale(1.06);
}

.gallery-grid-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(166, 11, 164, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-grid-item:hover::after {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary-color);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2010;
}

.lightbox-btn:hover {
  background: var(--primary-color);
}

.lightbox-btn.prev {
  left: 20px;
}

.lightbox-btn.next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  color: #e0e0e0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* --- Section: Blumenabo (#blumenabo) --- */
.blumenabo-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.blumenabo-images {
  text-align: center;
}

.blumenabo-img-main {
  max-width: 380px;
  margin: 0 auto 20px;
}

.blumenabo-img-badge {
  max-width: 290px;
  margin: 0 auto;
}

.blumenabo-faq {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blumenabo-faq-item {
  background: #ffffff;
  padding: 22px 26px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.blumenabo-faq-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.blumenabo-faq-item h5 {
  font-size: 1.25rem;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.blumenabo-faq-item p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* --- Section: Kontakt (#contact) --- */
.banner-contact {
  position: relative;
  background: url('../images/honkomp-banner-contact.jpg') center center / cover no-repeat;
  padding: 105px 0 90px;
  text-align: center;
  color: #ffffff;
}

.banner-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.banner-contact .container {
  position: relative;
  z-index: 2;
}

.contact-quick-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  color: #ffffff;
}

.contact-quick-item a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-quick-item a:hover {
  color: var(--primary-light);
}

.contact-quick-item svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-color);
  flex-shrink: 0;
}

/* Map Section */
.map-wrapper {
  width: 100%;
  height: 420px;
  position: relative;
  background: #e8ece8;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 22px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
  z-index: 10;
}

.map-card-overlay h5 {
  color: var(--primary-color);
  margin-bottom: 4px;
}

.map-card-overlay p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 10px;
}

/* Contact Form */
.contact-form-section {
  padding: 80px 0;
}

.contact-form-container {
  max-width: 760px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-light);
  color: var(--text-color);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(166, 11, 164, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Honeypot field (hidden from humans) */
.form-hp {
  display: none !important;
  visibility: hidden !important;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-status {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* --- Footer --- */
.footer {
  background-color: #e8ede8;
  border-top: 1px solid #d8dfd8;
  padding: 70px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-widget h5 {
  color: var(--heading-color);
  font-size: 1.35rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #555555;
  font-size: 1rem;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-color);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #555555;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-menu a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

.opening-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.opening-hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.opening-hours-table td:first-child {
  font-weight: 700;
  color: var(--heading-color);
  width: 80px;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #d4ddd4;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777777;
  font-size: 0.92rem;
  flex-wrap: wrap;
  gap: 15px;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 990;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Legal Subpage Styles (Impressum & Datenschutz) --- */
.legal-header-spacer {
  height: 85px;
}

.legal-content {
  padding: 70px 0;
  max-width: 850px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 25px;
  color: var(--heading-color);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 35px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 16px;
  color: #444444;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

.legal-back-btn {
  margin-top: 40px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }

  .nav-menu {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    gap: 18px;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blumenabo-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blumenabo-faq-item {
    text-align: left;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .header {
    height: 70px;
  }

  .nav-menu {
    top: 70px;
  }

  .logo-img {
    height: 48px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-intro-img {
    max-width: 280px;
    width: 70%;
    margin: 0 auto 20px;
  }

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

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

  .form-group.full-width {
    grid-column: span 1;
  }

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

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .contact-quick-list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .about-intro-img {
    max-width: 220px;
    width: 65%;
    margin: 0 auto 16px;
  }
}
