@charset "utf-8";
/* 
 * Custom Template CSS – Brautstyling & Hochzeitsfotografie
 * Clean, modern & responsive
 */

/* ==========================================
   1. LOKALE FONTS (DSGVO-KONFORM)
   ========================================== */

/* ==========================================
   SCHREIBSCHRIFT: ALLURA (LOKAL)
   ========================================== */

@font-face {
  font-family: 'Allura';
  src: url('../fonts/allura-regular-webfont.woff2') format('woff2'),
       url('../fonts/allura-regular-webfont.woff') format('woff'),
       url('../fonts/allura-regular-webfont.ttf') format('truetype'),
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================
   FLIESSTEXT & DETAIL-TYPO: MONTSERRAT (LOKAL)
   ========================================== */

/* Cormorant Garamond Regular / Regular (Lokal) */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorantgaramond-regular-webfont.woff2') format('woff2'),
       url('../fonts/cormorantgaramond-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Cormorant Garamond Italic / Italic (Lokal) */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorantgaramond-italic-webfont.woff2') format('woff2'),
       url('../fonts/cormorantgaramond-italic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

   /* Montserrat Regular (400) */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-regular-webfont.woff2') format('woff2'),
       url('../fonts/montserrat-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Montserrat Italic (400 Kursiv) */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-italic-webfont.woff2') format('woff2'),
       url('../fonts/montserrat-italic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Montserrat SemiBold (600 Fett/Halbfett) */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-semibold-webfont.woff2') format('woff2'),
       url('../fonts/montserrat-semibold-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* ==========================================
   2. GLOBAL LAYOUT & BASICS
   ========================================== */

:root {
  --bg-main: #FAF9F6;        /* Warmes, elegantes Off-White */
  --text-color: #333333;     /* Sanftes Anthrazit */
  --accent-color: #C5A059;   /* Champagner/Gold-Ton für Buttons & Highlights */
  --accent-hover: #A8833E;
  --white: #FFFFFF;
  
  /* Perfektes Duo: Allura & Montserrat */
  --font-script: 'Allura', cursive;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;        /* 17-18px für zeitgemäße Lesbarkeit */
  line-height: 1.6;
  font-weight: 400;
  background-color: var(--bg-main);
  color: var(--text-color);
}

/* Full-Width Container ohne schwarze Ränder */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

/* ==========================================
   3. TYPOGRAFIE-SYSTEM (JOOMBASIC)
   ========================================== */

/* H1: Cormorant Garamond (Majuskeln mit Spacing) */
h1, .display-1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;          /* Edler Abstand zwischen den Buchstaben */
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

/* H2: Allura (Schwungvolle Schreibschrift) */
h2, .display-2 {
  font-family: var(--font-script); /* Allura */
  font-weight: 400;
  text-transform: none;          /* Schreibschrift immer normal / nicht in Großbuchstaben! */
  letter-spacing: normal;
  font-size: 3.5rem;             /* Darf etwas größer sein, da Script-Schriften kleiner wirken */
  line-height: 1.1;
  color: var(--accent-color);    /* Wirkt in Gold/Champagner besonders edel */
  margin-bottom: 1.2rem;
}

/* H3: Montserrat (Kompakt, Halbfett in Majuskeln) */
h3 {
  font-family: var(--font-body);   /* Montserrat */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;          /* Dezenter Abstand für Katalog-Look */
  font-size: 1.1rem;             /* Nicht zu groß gewählt */
  line-height: 1.4;
  color: var(--text-color);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

/* H4 bis H6: Montserrat für kleinere Unterüberschriften */
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-color);
}

/* FLIESSTEXT: Montserrat */
body, p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-color);
}

/* Mobile Optimierung der Schriftgrößen */
@media (max-width: 768px) {
  h1, .display-1 {
    font-size: 2.1rem;
    letter-spacing: 2px;
  }
  h2, .display-2 {
    font-size: 2.8rem;
  }
  h3 {
    font-size: 1.0rem;
    letter-spacing: 1.5px;
  }
}

/* ==========================================
   ZITATE / HIGHLIGHTS IN FOTOSTORIES
   ========================================== */

blockquote, .quote-highlight {
  border-left: 3px solid var(--accent-color);
  margin: 35px 0;
  padding: 15px 25px;
  background-color: #F4F1EA;
  border-radius: 0 8px 8px 0;
  
  /* NEU: Cormorant Garamond für Zitate */
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;           /* Etwas größer für edle Lesbarkeit */
  line-height: 1.5;
  font-style: italic;
  color: var(--text-color);
}

/* Optional: Name des Brautpaars / Autors unter dem Zitat */
blockquote cite, .quote-highlight cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body); /* Montserrat */
  font-size: 0.85rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #777777;
} 

/* ==========================================
   HERO BANNER (SPEZIFISCH & ÜBERSCHREIBT GLOBAL)
   ========================================== */

.hero-wrapper {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

/* Der Text-Container */
.hero-wrapper .hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* WICHTIG: Überschreibt globale H1 & H2 Regeln */
.hero-wrapper .hero-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 4rem !important;                /* Eure gewünschten 4rem */
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  line-height: 1.1 !important;
  color: #FFFFFF !important;                 /* Strahlendes Weiß */
  margin-bottom: 0.8rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

.hero-wrapper .hero-content h2 {
  font-family: var(--font-body) !important;  /* Montserrat */
  font-size: 1.15rem !important;              /* H3-Anmutung */
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 2.5px !important;
  line-height: 1.4 !important;
  color: #FFFFFF !important;                 /* Strahlendes Weiß */
  margin-top: 0.8rem !important;
  margin-bottom: 1.8rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .hero-wrapper .hero-content h1 {
    font-size: 2.3rem !important;
    letter-spacing: 2px !important;
  }
  
  .hero-wrapper .hero-content h2 {
    font-size: 0.95rem !important;
    letter-spacing: 1.5px !important;
  }
}

/* Mobile Optimierung für Smartphones */
@media (max-width: 768px) {
  .hero-wrapper {
    /* Höhe verringern, damit links/rechts mehr vom Foto sichtbar bleibt */
    height: 50vh !important;
    min-height: 380px !important;
    
    /* Falls die Personen eher links oder rechts stehen, kannst du den Fokus verschieben:
       'left center'  => Hält die linke Bildhälfte im Fokus
       'right center' => Hält die rechte Bildhälfte im Fokus
       'center top'   => Hält den oberen Teil im Fokus */
    background-position: center center !important; 
  }

  .hero-wrapper .hero-content h1 {
    font-size: 2.0rem !important;
    letter-spacing: 1.5px !important;
  }
  
  .hero-wrapper .hero-content h2 {
    font-size: 0.85rem !important;
    letter-spacing: 1.2px !important;
  }
}

/* ==========================================
   HERO BANNER - UNTERSEITEN (SCHMALER)
   ========================================== */

.hero-wrapper.hero-small {
  height: 38vh !important;
  min-height: 280px !important;
}

/* Schriftgrößen auf Unterseiten dezent anpassen */
.hero-wrapper.hero-small .hero-content h1 {
  font-size: 2.8rem !important; /* Etwas kleiner als die 4rem der Startseite */
  margin-bottom: 0.4rem !important;
}

.hero-wrapper.hero-small .hero-content h2 {
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;   /* Auf Unterseiten braucht man meist keinen Button im Header */
}

/* Mobile Optimierung für Unterseiten */
@media (max-width: 768px) {
  .hero-wrapper.hero-small {
    height: 28vh !important;
    min-height: 220px !important;
  }
  
  .hero-wrapper.hero-small .hero-content h1 {
    font-size: 1.8rem !important;
    letter-spacing: 1.5px !important;
  }
  
  .hero-wrapper.hero-small .hero-content h2 {
    font-size: 0.8rem !important;
  }
}

/* =======================================================
   4. HERO-HEADER & MOBILE SCHWARZE TOPZEILE
   ======================================================= */

.hero-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* =======================================================
   1. TOP UTILITY BAR (SPRACHE LINKS, ICONS RECHTS)
   ======================================================= */
.hero-utility-bar {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 120;              /* HÖCHSTE Priorität: Liegt garantiert ÜBER der Navi */
  pointer-events: none;      /* WICHTIG: Leerer Raum zwischen links und rechts lässt Klicks durch */
  box-sizing: border-box;
}

.utility-left,
.utility-left *,
.utility-center-mobile,
.utility-center-mobile *,
.utility-right,
.utility-right * {
  pointer-events: auto !important; /* Nur die eigentlichen Links/Buttons sind klickbar */
}

.utility-center-mobile { display: none; }

.utility-left {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.utility-left a {
  color: #FFFFFF !important;
  text-decoration: none;
  opacity: 0.9;
  margin: 0 4px;
}

.utility-right {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.utility-right a, .quick-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer !important;
  transition: all 0.3s ease;
}

.utility-right a:hover {
  background: #FFFFFF;
  color: var(--text-color) !important;
  transform: translateY(-2px);
}


/* =======================================================
   2. HAUPTNAVIGATION (KOMPAKT, KOLLISIONSFREI & STICKY)
   ======================================================= */
.main-nav-wrapper {
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;      /* WICHTIG: Blockiert keine Icons links oder rechts */
  box-sizing: border-box;
  padding: 0 160px;          /* Sicherheitsabstand links/rechts für Sprache & Icons */
}

/* Joomla Menü-Container zentrieren und begrenzen */
.main-nav-wrapper ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  gap: 20px;                 /* Standard Desktop-Abstand */
}

/* Klicks nur auf die Links freigeben */
.main-nav-wrapper ul li a {
  pointer-events: auto !important;
  font-family: var(--font-body); /* Montserrat */
  font-weight: 500;
  font-size: 0.85rem;        /* Kompakter Startwert */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 6px 4px;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.main-nav-wrapper ul li a:hover,
.main-nav-wrapper ul li.active a {
  color: var(--accent-color) !important;
}

/* STICKY HEADER BEIM SCROLLEN */
.main-nav-wrapper.is-sticky,
header.is-sticky .main-nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  pointer-events: auto;
  animation: slideDown 0.3s ease;
}


/* =======================================================
   RIGOROSE ABSTANDSREDUKTION BEI KLEINEREN DESKTOPS
   ======================================================= */

/* Ab 1600px und kleiner */
@media (max-width: 1600px) {
  .main-nav-wrapper {
    padding: 0 140px;
  }
  .main-nav-wrapper ul {
    gap: 14px;
  }
  .main-nav-wrapper ul li a {
    font-size: 0.80rem;
    letter-spacing: 1.2px;
  }
}

/* Ab 1350px und kleiner */
@media (max-width: 1350px) {
  .hero-utility-bar {
    padding: 0 25px;
  }
  .main-nav-wrapper {
    padding: 0 120px;
  }
  .main-nav-wrapper ul {
    gap: 10px;
  }
  .main-nav-wrapper ul li a {
    font-size: 0.74rem;
    letter-spacing: 1px;
    padding: 4px 2px;
  }
}

/* Ab 1150px bis 980px (Kurz vor Mobile-Breakpoint) */
@media (max-width: 1150px) and (min-width: 980px) {
  .hero-utility-bar {
    padding: 0 15px;
  }
  .main-nav-wrapper {
    padding: 0 100px;
  }
  .main-nav-wrapper ul {
    gap: 6px;
  }
  .main-nav-wrapper ul li a {
    font-size: 0.70rem;
    letter-spacing: 0.8px;
    padding: 4px 1px;
  }
}


/* =======================================================
   3. LOGO LAYER
   ======================================================= */
.hero-logo-layer {
  position: absolute;
  top: 125px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 30;
  pointer-events: none;
}

.hero-logo-wrap a { pointer-events: auto; }

.hero-logo {
  width: clamp(220px, 20vw, 325px); /* Skaliert stufenlos mit */
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.35));
}


/* =======================================================
   4. TRANSPARENTER HERO-HEADER (VARIANTE A: BREAKPOINT 1199px)
   ======================================================= */

.hero-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* 1. TOP UTILITY BAR (SPRACHE LINKS, ICONS RECHTS) */
.hero-utility-bar {
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 120;              /* Höchste Priorität über dem Nav-Layer */
  pointer-events: none;      /* Lässt Klicks in der Mitte durch */
  box-sizing: border-box;
}

.utility-left,
.utility-left *,
.utility-center-mobile,
.utility-center-mobile *,
.utility-right,
.utility-right * {
  pointer-events: auto !important;
}

.utility-center-mobile,
.mobile-toggle-box {
  display: none;
}

/* SPRACHAUSWAHL */
.utility-left {
  font-family: var(--font-body); /* Montserrat */
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.utility-left a,
.utility-left .mod-languages a {
  color: #FFFFFF !important;
  text-decoration: none;
  opacity: 0.9;
  margin: 0 3px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.utility-left a:hover {
  opacity: 1;
  color: var(--accent-color) !important;
}

/* QUICK-CONTACT ICONS */
.utility-right, 
.utility-icons-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 8px;
}

.utility-right a,
.quick-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer !important;
  transition: all 0.25s ease;
}

.utility-right a:hover,
.quick-contact-btn:hover {
  background: #FFFFFF;
  color: var(--text-color) !important;
  transform: translateY(-2px);
}


/* =======================================================
   2. HAUPTNAVIGATION (EXTRA SCHLANK & RIGOROS KOMPAKT)
   ======================================================= */
.main-nav-wrapper {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  box-sizing: border-box;
  padding: 0 130px;          /* Sicherer Puffer für Sprache & Icons */
}

.main-nav-wrapper ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;          /* Kein Umbruch */
  gap: 14px;                  /* Stark reduzierter Desktop-Abstand */
}

.main-nav-wrapper ul li a {
  pointer-events: auto !important;
  font-family: var(--font-body); /* Montserrat */
  font-weight: 500;
  font-size: 0.78rem;        /* Sehr schlanker Schriftschnitt */
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 4px 2px;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  transition: color 0.25s ease;
}

.main-nav-wrapper ul li a:hover,
.main-nav-wrapper ul li.active a {
  color: var(--accent-color) !important;
}

/* STICKY HEADER BEIM SCROLLEN */
.main-nav-wrapper.is-sticky,
header.is-sticky .main-nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0 !important;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  pointer-events: auto;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}


/* =======================================================
   3. LOGO LAYER
   ======================================================= */
.hero-logo-layer {
  position: absolute;
  top: 110px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 30;
  pointer-events: none;
}

.hero-logo-wrap a { pointer-events: auto; }

.hero-logo {
  width: 280px;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.35));
}


/* =======================================================
   4. HERO WRAPPER (STARTSEITE & UNTERSEITEN)
   ======================================================= */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 900px;
  max-height: 1080px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 200px;
  text-align: center;
  color: #ffffff;
  box-sizing: border-box;
}

/* Unterseiten Desktop: Feste 500px */
.hero-wrapper.hero-small {
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
  padding-bottom: 45px !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-wrapper .hero-content {
  position: relative;
  z-index: 5;
  padding: 0 20px;
  max-width: 960px;
  margin: 0 auto;
}

.hero-wrapper .hero-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 4rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  line-height: 1.15 !important;
  color: #FFFFFF !important;
  margin-bottom: 0.6rem !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

.hero-wrapper.hero-small .hero-content h1 {
  font-size: 2.6rem !important;
  margin-bottom: 0.3rem !important;
}

.hero-wrapper .hero-content h2 {
  font-family: var(--font-body) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 2.5px !important;
  line-height: 1.4 !important;
  color: #FFFFFF !important;
  margin-top: 0.5rem !important;
  margin-bottom: 2rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}

.hero-wrapper.hero-small .hero-content h2 {
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
}


/* =======================================================
   5. DESKTOP-FEINSCHLIFF (1200px bis 1500px)
   ======================================================= */
@media (max-width: 1500px) and (min-width: 1200px) {
  .hero-utility-bar {
    padding: 0 20px;
  }
  .main-nav-wrapper {
    padding: 0 100px;
  }
  .main-nav-wrapper ul {
    gap: 8px;                 /* Extrem enger Abstand auf kleineren Desktops */
  }
  .main-nav-wrapper ul li a {
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    padding: 2px 1px;
  }
  .hero-logo-layer {
    top: 90px;
  }
  .hero-logo {
    width: 230px;
  }
  .hero-wrapper {
    min-height: 750px;
    padding-bottom: 120px;
  }
}


/* =======================================================
   6. MOBILE & TABLETS (AB 1199px UND KLEINER)
   => SCHWARZE TOPZEILE ÜBERNIMMT AB 1199px
   ======================================================= */
@media (max-width: 1199px) {

  /* Schwarze feste Leiste ganz oben */
  .hero-utility-bar {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 56px;
    background-color: #111111;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 120 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .desktop-lang-box,
  .utility-left {
    display: none !important;
  }

  .mobile-toggle-box {
    display: flex !important;
    align-items: center;
  }

  .mobile-toggle-box button,
  .mobile-toggle-box a,
  .mobile-toggle-box .navbar-toggler {
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    font-size: 1.35rem !important;
    cursor: pointer !important;
    padding: 4px;
    display: inline-flex;
    align-items: center;
  }

  .utility-center-mobile {
    display: block !important;
    text-align: center;
  }

  .utility-center-mobile a {
    font-size: 0.85rem;
    color: #FFFFFF !important;
  }

  .utility-right a,
  .quick-contact-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  /* Desktop-Menü in der Bildmitte ausblenden */
  .main-nav-wrapper {
    display: none !important;
  }

  /* Logo rückt auf Mobile nach oben */
  .hero-logo-layer {
    top: 25px;
  }

  .hero-logo {
    width: 160px;
  }

  /* Startseite Mobile */
  .hero-wrapper {
    height: auto;
    min-height: calc(100vh - 56px);
    padding-top: 200px;
    padding-bottom: 50px;
    justify-content: center;
  }

  /* Unterseiten Mobile */
  .hero-wrapper.hero-small {
    height: auto !important;
    min-height: 360px !important;
    padding-top: 180px !important;
    padding-bottom: 30px !important;
    justify-content: center;
  }

  .hero-wrapper .hero-content h1 {
    font-size: 2.1rem !important;
    letter-spacing: 2px !important;
  }

  .hero-wrapper.hero-small .hero-content h1 {
    font-size: 1.7rem !important;
  }

  .hero-wrapper .hero-content h2 {
    font-size: 0.85rem !important;
  }
}


/* =======================================================
   5. MOBILE & TABLETS (AB 979px UND KLEINER)
   ======================================================= */
@media (max-width: 979px) {
  
  /* Schwarze Topzeile für Sprache, Icons & Joomla-Toggler */
  .hero-utility-bar {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 58px;
    background-color: #111111;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 100 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .utility-left { display: none !important; }
  
  .utility-center-mobile {
    display: block !important;
    text-align: center;
  }

  .utility-center-mobile a {
    font-size: 0.85rem;
    color: #FFFFFF !important;
  }

  .utility-right a,
  .quick-contact-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  /* Desktop-Menüleiste in der Bildmitte ausblenden */
  .main-nav-wrapper {
    display: none !important;
  }

  /* Logo rückt auf Mobile nach oben */
  .hero-logo-layer {
    top: 25px;
  }

  .hero-logo {
    width: 160px;
  }

  /* Startseite Mobile */
  .hero-wrapper {
    height: auto;
    min-height: calc(100vh - 58px);
    padding-top: 210px;
    padding-bottom: 50px;
    justify-content: center;
  }

  /* Unterseiten Mobile */
  .hero-wrapper.hero-small {
    height: auto !important;
    min-height: 360px !important;
    padding-top: 190px !important;
    padding-bottom: 30px !important;
    justify-content: center;
  }

  .hero-wrapper .hero-content h1 {
    font-size: 2.1rem !important;
    letter-spacing: 2px !important;
  }

  .hero-wrapper.hero-small .hero-content h1 {
    font-size: 1.7rem !important;
  }

  .hero-wrapper .hero-content h2 {
    font-size: 0.85rem !important;
  }
}

/* ==========================================
   5. BUTTONS & LINKS
   ========================================== */

a {
  color: #222222;
  text-decoration: underline;
  transition: all 0.2s ease-in-out;
}

a:hover, a:focus {
  color: var(--accent-color);
}

.btn, .btn-primary {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none !family;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover, .btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  color: var(--white) !important;
}

/* ==========================================
   6. FOTOSTORIES & WECHSELRASTER (STORY-GRID)
   ========================================== */

.story-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.story-image, .story-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.story-content {
  padding: 40px;
  box-sizing: border-box;
}

.story-badge {
  display: inline-block;
  background-color: #FAF6F0;
  color: var(--accent-color);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* ==========================================
   7. FOOTER
   ========================================== */

footer.footer-main {
  background-color: #1A1A1A;
  color: #CCCCCC;
  padding: 50px 0 20px 0;
  margin-top: 80px;
  font-size: 0.95rem;
}

footer a {
  color: #FFFFFF;
  text-decoration: none;
}

footer a:hover {
  color: var(--accent-color);
}

/* ==========================================
   8. RESPONSIVE ANPASSUNGEN (MOBILE)
   ========================================== */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1, .h1-script {
    font-size: 2.8rem;
  }

  h2, .h2-script {
    font-size: 2.2rem;
  }

  .story-item {
    flex-direction: column;
  }

  .story-content {
    padding: 25px;
  }
}

/* ==========================================
   9. BACK-TO-TOP BUTTON
   ========================================== */

#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--accent-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#back-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}