/* ==========================================================================
   BOTANICAL HERITAGE / HERZSTÜCKE DESIGN SYSTEM FOR GHOST CMS
   Theme: Herzstücke by Melli
   ========================================================================== */

/* 1. Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* 2. Custom Properties / Design Tokens */
:root {
  /* Color Palette Guidelines */
  --color-primary: #1A1A1B;      /* Rich Charcoal */
  --color-secondary: #D9C5B2;    /* Warm Sand / Dusty Accent */
  --color-tertiary: #8A9A5B;     /* Muted Sage Green */
  --color-bg: #FDFBF7;           /* Crisp Cream */

  /* Surface & Accents */
  --color-surface: #FFFFFF;      /* Clean White Surface */
  --color-text-muted: #5C5E60;   /* Muted Body Text */
  --color-border: #E8E2D9;       /* Subtle Warm Border */
  --color-border-subtle: #F2EDE5;

  /* Typography Tokens */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Radius & Transitions */
  --radius-button: 8px;
  --radius-card: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-subtle: 0 4px 20px rgba(26, 26, 27, 0.04);
  --shadow-hover: 0 10px 30px rgba(26, 26, 27, 0.08);
}

/* Explicit Dark Mode Opt-in Class */
body.dark-mode {
  --color-bg: #141415;
  --color-surface: #1E1E1F;
  --color-primary: #FDFBF7;
  --color-text-muted: #A0A3A5;
  --color-border: #2D2D2E;
  --color-border-subtle: #242425;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #1A1A1B; /* Dark background under footer prevents white stripe */
}

body {
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.011em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 500; }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }

p {
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

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

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

/* 4. Modern Minimalist Buttons */
.btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-button);
  border: 1px solid var(--color-primary);
  background-color: var(--color-primary);
  color: #FDFBF7;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(26, 26, 27, 0.08);
  text-align: center;
  text-decoration: none;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  background-color: var(--color-tertiary);
  border-color: var(--color-tertiary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(138, 154, 91, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}

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

.btn-pill {
  border-radius: 50px;
}

/* 5. Header Zonen — SLIMMER HEADER & GRÖSSERE SUBMENÜ-SCHRIFT */
.site-header {
  width: 100%;
  padding: 0.75rem 2.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  background-color: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ZONE-LOGO: Völlig unabhängig & flächenbündig links */
.zone-logo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 0;
  padding-left: 0;
}

.zone-logo .header-logo,
.header-logo,
.gh-head-logo,
.site-title {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-primary);
}

.zone-logo .header-logo img,
.zone-logo .header-logo svg,
.header-logo img,
.header-logo svg,
.gh-head-logo img, 
.site-title img {
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    max-height: 110px !important;
    display: block;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition-smooth);
}

/* ZONE-NAV: Rechtsbündig & größere Schrift */
.zone-nav {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.zone-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
}

.zone-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.mobile-nav-toggle:hover {
  background-color: rgba(138, 154, 91, 0.1);
  border-color: var(--color-tertiary);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  display: block;
}

/* Responsive Mobile Navigation */
@media (max-width: 1200px) {
  .site-header {
    padding: 0.75rem 1.25rem;
  }

  .header-container {
    gap: 1.5rem;
  }
  
  .zone-logo .header-logo img,
  .zone-logo .header-logo svg,
  .header-logo img,
  .header-logo svg,
  .gh-head-logo img, 
  .site-title img {
      max-width: 380px !important;
      max-height: 95px !important;
  }

  .zone-nav .nav-link {
    font-size: 1.05rem;
  }
}

@media (max-width: 991px) {
  .zone-logo {
    flex: 1;
    max-width: none;
  }

  .zone-nav {
    flex: initial;
    max-width: none;
    gap: 1rem;
  }

  .zone-logo .header-logo img,
  .zone-logo .header-logo svg,
  .header-logo img,
  .header-logo svg,
  .gh-head-logo img, 
  .site-title img {
      max-width: 260px !important;
      max-height: 75px !important;
      margin: 0;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
  }

  #nav-toggle:checked ~ .site-nav {
    display: block;
    animation: fadeInNav 0.25s ease-out forwards;
  }

  .zone-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }

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

@keyframes fadeInNav {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 6. Main Container, Hero Banner (2-Spalten-Grid & Kollage) & Static Content Container */
.main-content, .site-main {
  flex: 1;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 3.5rem 2.75rem;
  background: linear-gradient(180deg, rgba(217, 197, 178, 0.22) 0%, rgba(253, 251, 247, 0) 100%);
  border-radius: var(--radius-card);
  margin-bottom: 4rem;
  border: 1px solid var(--color-border);
}

/* FLORALER CORNER AKZENT OBEN LINKS IN DER HERO BOX */
.hero-corner-botanical {
  position: absolute;
  top: 0;
  left: 0;
  width: 170px;
  height: 170px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-welcome {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-tertiary);
  display: inline-block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
  text-align: left;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* HERO FOTO-KOLLAGE */
.hero-collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.85rem;
  width: 100%;
  max-height: 380px;
}

.hero-collage-main {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 26, 27, 0.12);
  display: block;
  transition: var(--transition-smooth);
}

.hero-collage-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 380px;
}

.hero-collage-thumb {
  width: 100%;
  height: calc(190px - 0.425rem);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(26, 26, 27, 0.08);
  display: block;
  transition: var(--transition-smooth);
}

.hero-collage-main:hover,
.hero-collage-thumb:hover {
  transform: scale(1.025);
  box-shadow: 0 16px 40px rgba(26, 26, 27, 0.18);
}

/* UNTERE HIGHLIGHT-LEISTE (5 FEATURES) */
.hero-features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(138, 154, 91, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.feature-text span {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-header-left {
  text-align: left;
  width: 100%;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.section-header-left .section-title {
  margin-bottom: 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ABSCHNITT 1: SO FUNKTIONIERT'S (3-SCHRITTE) */
.section-steps {
  margin-bottom: 4.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 2.25rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-tertiary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ABSCHNITT 2: PRODUKT-KATEGORIEN / KOLLEKTIONEN INKL. 5. CARD */
.section-categories {
  margin-bottom: 4.5rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}

.category-media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

.category-card:hover .category-img {
  transform: scale(1.06);
}

.category-body {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.category-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* 5. CARD: GALERIE & MEHR CTA */
.category-card-more .category-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 27, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.category-card-more:hover .category-overlay {
  background: rgba(138, 154, 91, 0.55);
}

.category-badge-more {
  background-color: var(--color-surface);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.category-card-more:hover .category-badge-more {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .hero-banner {
    padding: 2.5rem 1.75rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-title, .hero-subtitle {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* CONTENT-CARD WRAPPER FOR STATIC PAGES (page.hbs) */
.page-card-container {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 26, 27, 0.06);
  border: 1px solid var(--color-border);
  padding: 3rem 3.5rem;
  max-width: 960px;
  margin: 1.5rem auto 3rem;
  transition: var(--transition-smooth);
}

.page-card-container .page-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 1rem;
}

.page-card-container .page-content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .page-card-container {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }
}

/* 7. Grid & Post Cards (Verkompaktiert & Gleichmäßig) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.post-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}

.post-card-media {
  width: 100%;
  height: 220px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
}

.post-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-tertiary);
  margin-bottom: 0.5rem;
}

.post-card-title {
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.post-card-title a {
  color: var(--color-primary);
}

.post-card-title a:hover {
  color: var(--color-tertiary);
}

.post-card-excerpt {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1rem;
  margin-top: auto;
}

/* 8. FOOTER — GUT SICHTBARER COPYRIGHT TEXT GANZ UNTEN */
.site-footer {
  background-color: #1A1A1B;
  color: #FDFBF7;
  padding: 2.5rem 3rem 2.25rem;
  margin-top: auto;
  margin-bottom: 0 !important;
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: visible;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-left-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-desc {
  color: #D9C5B2;
  font-size: 0.98rem;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* FLUSH HORIZONTAL LEVEL ROW FOR RECHTLICHES & KONTAKT & FOLGEN */
.footer-cols-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.footer-legal-col h5,
.footer-col-contact h5 {
  color: #FDFBF7;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
}

.footer-nav-vertical {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav-vertical a {
  color: #D9C5B2;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-nav-vertical a:hover {
  color: var(--color-tertiary);
  padding-left: 4px;
}

/* KONTAKT & FOLGEN */
.footer-col-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #D9C5B2;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-contact-list a:hover {
  color: var(--color-tertiary);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.15rem;
}

/* FOOTER-ZONE-STAMP: Stamp Seal logo larger (440px) & positioned further down (top: -80px) */
.footer-zone-stamp {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  height: 0;
}

.footer-stamp-image {
  position: absolute;
  right: 0;
  top: -80px;
  width: 440px !important;
  height: 440px !important;
  border-radius: 50%;
  background-color: #FDFBF7;
  padding: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
  display: block;
  z-index: 100;
}

.footer-stamp-image:hover {
  transform: rotate(8deg) scale(1.04);
  box-shadow: 0 24px 58px rgba(138, 154, 91, 0.45);
}

/* COPYRIGHT BAR AT THE ABSOLUTE BOTTOM OF PAGE WITH HIGH CONTRAST & CLEAR VISIBILITY */
.footer-bottom {
  max-width: 1680px;
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #D9C5B2;
  position: relative;
  z-index: 10;
}

.footer-bottom p {
  color: #D9C5B2;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 460px); /* Trennlinie geht exakt nur bis vor das Stempel-Logo! */
  height: 1px;
  background-color: rgba(217, 197, 178, 0.25);
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 340px;
    gap: 2rem;
  }
  .footer-stamp-image {
    width: 340px !important;
    height: 340px !important;
    top: -60px;
  }
  .footer-bottom::before {
    width: calc(100% - 360px);
  }
}

@media (max-width: 991px) {
  .site-footer {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-cols-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-zone-stamp {
    height: auto;
    justify-content: center;
    order: -1;
  }

  .footer-stamp-image {
    position: relative;
    top: auto;
    right: auto;
    width: 240px !important;
    height: 240px !important;
    margin-top: -70px;
  }

  .footer-bottom::before {
    width: 100%;
  }
}

/* 9. Koenig Editor Classes (gscan compliance) */
.kg-width-wide { width: 85vw; position: relative; left: 50%; right: 50%; margin-left: -42.5vw; margin-right: -42.5vw; }
.kg-width-full { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
