/* Combined CSS */

/* Farbpalette */
:root {
  --primary-color: #353B3C;
  /* Prussian Blue - Eleganz & Professionalität */
  --secondary-color: #FFFFFF;
  /* Reinweiß - Klarheit & Minimalismus */
  --accent-color: #B8860B;
  /* Dunkelgold - Luxus & Exklusivität */
  --neutral-papaya: #FFEFD3;
  /* Papaya Whip - Subtile Hintergründe */
  --neutral-gray: #FFFFFF;
  /* French Gray - Neuer Standard-Hintergrund */
}

/* Globale Schriftarten */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.btn {
  font-family: 'Montserrat', sans-serif;
  color: #001B2E;
}

p,
.text-body {
  font-family: 'Open Sans', sans-serif;
  color: #001B2E;
}

/* Überschriften */
h1,
h2,
h3 {
  font-weight: 700;
}

h4,
h5,
h6 {
  font-weight: 600;
}

/* Primärer Button */
.btn-primary-custom {
  background-color: #d1a600;
  /* Overridden by hero.css */
  border-color: #d1a600;
  /* Added from hero.css */
  color: var(--secondary-color);
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #b08e00;
  /* Overridden by hero.css */
  border-color: #b08e00;
  /* Added from hero.css */
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sekundärer Button */
.btn-secondary-custom {
  background-color: var(--neutral-gray);
  /* Vorher #F0F0F0 → Jetzt #ADB6C4 */
  color: #222222;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: #9aaabf;
  /* Helleres French Gray für Hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  padding-top: 30%;
  /* Adjust this percentage to match your desired aspect ratio */
  overflow: hidden;
  background-color: #343a40;
  /* Overridden by hero.css */
  border-radius: 0.5rem;
  /* Overridden by hero.css */
  color: var(--secondary-color);
  /* This was in newstyle.css, but now is less relevant due to hero-content-wrapper */
}

/* Hero Section from newstyle.css, if different from the above .hero-section */
.angebote {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 20px;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  /* Adjust this value (0.0 to 1.0) for desired opacity */
  transition: opacity 0.3s ease-in-out;
}

/* Updated content wrapper to correctly position text and button */
.hero-content-wrapper {
  position: absolute;
  top: 0;
  /* Align to the top of the hero-section */
  left: 0;
  width: 100%;
  height: 100%;
  /* Make it fill the hero-section */
  z-index: 2;
  padding: 1rem;
  /* Add some overall padding to keep content off the edges */
  box-sizing: border-box;
  /* Include padding in width/height calculation */
  /* Use flexbox to align content within this wrapper */
  display: flex;
  flex-direction: column;
  /* Stack items vertically */
  justify-content: center;
  /* Vertically center the stacked items */
  align-items: center;
  /* Horizontally center the items */
  text-align: center;
  /* Ensure text is centered */
}

/* Ensure your text and buttons are visible and styled correctly */
.hero-content-wrapper h1,
.hero-content-wrapper p {
  color: white;
  margin-bottom: 0.5rem;
  /* Add some space between text elements */
}

/* Specific styling for the H1 if needed to match screenshot */
.hero-content-wrapper h1 {
  /* If "LIKEWOLF" should appear higher, you might need a negative margin-top */
  /* margin-top: -3rem; */
  /* Example, adjust as needed */
}

/* Example of how to change opacity on hover (optional) */
.hero-image-container:hover .hero-background-image {
  opacity: 0.8;
}


/* Footer */
.footer-main {
  background-color: var(--primary-color);
}

/* Abstände */
.section-spacing {
  padding-top: 2rem;
  padding-bottom: 3rem;
  /* Vorher 4rem → jetzt 3rem */
}

/* Container mit French Gray Hintergrund */
.container-fluid.section-spacing {
  background-color: var(--neutral-gray);
}

/* Navbar in Oxford Blue */
.navbar-dark.bg-dark {
  background-color: var(--primary-color) !important;
}

.card {
  margin-bottom: 2rem;
}

/* Gradient Social Media Buttons */
.btn-gradient-custom {
  background-image: linear-gradient(90deg, #6A687A, #84828F);
  color: #FFFFFF;
  border-radius: 5px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-gradient-custom:hover {
  background-image: linear-gradient(90deg, #3A708C, #2F6175);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.image-card{margin-bottom:1rem;padding:15px}@media (max-width:767.98px){.image-card{padding:5px;margin-bottom:0.5rem}.row.g-4{--bs-gutter-x:0.5rem;--bs-gutter-y:0.1rem}}.flip-container{perspective:1000px;cursor:pointer;position:relative;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.flip-container, .flipper, .front, .back{transform-style:preserve-3d}.flipper{position:relative;width:100%;height:0;transition:transform 0.6s}.front, .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:8px}.front{z-index:2;transform:rotateY(0deg)}.back{transform:rotateY(180deg);background-color:#f8f9fa;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center}.flipped .flipper{transform:rotateY(180deg)}.square-image img, .landscape-image img, .portrait-image img{width:100%;height:100%;object-fit:cover;border-radius:8px}.card-title{margin:1rem 0 0.5rem;font-size:0.9rem;font-weight:500}.card-text{color:#6c757d;font-size:0.9rem}.click-indicator{position:absolute;bottom:10px;right:10px;background:rgba(255, 255, 255, 0.8);padding:6px;border-radius:50%;z-index:3;display:flex;align-items:center;justify-content:center;width:30px;height:30px}.back .click-indicator{background:rgba(0, 0, 0, 0.7);right:auto;left:10px}.click-indicator i{font-size:1.1rem;color:#333}.back .click-indicator i{color:#fff}.mobile-icon{display:block}.desktop-icon{display:none}.image-row-spacing{margin-top:0}.text-section{margin-top:0.3rem;display:flex;justify-content:center}

    /* Square format (1:1) */
    .format-square .flipper{padding-top:100%}

    /* Landscape format (4:3) */
    .format-landscape .flipper{padding-top:75%}

    /* Portrait format (3:4) */
    .format-portrait .flipper{padding-top:133.33%}

    @media (min-width:768px){.mobile-icon{display:none}.desktop-icon{display:block}.image-row-spacing{margin-top:-5rem}.text-section{margin-top:-2rem}}#imageModal .modal-content{border:none;border-radius:0;box-shadow:none}#imageModal .modal-header{padding:1rem 2rem 0 2rem;border-bottom:none}#imageModal .modal-body{padding:1rem 2rem 2rem 2rem}.modal-flip-container{perspective:1000px;cursor:pointer;position:relative;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-bottom:1rem;background:#fff;border:1px solid #dee2e6;border-radius:8px;overflow:hidden;max-width:600px;margin-left:auto;margin-right:auto}.modal-flip-container, .modal-flipper, .modal-front, .modal-back{transform-style:preserve-3d}.modal-flipper{position:relative;width:100%;transition:transform 0.6s;height:0;padding-top:100%}.modal-front, .modal-back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden}.modal-front{z-index:2;transform:rotateY(0deg);display:flex;align-items:center;justify-content:center;padding:0}.modal-back{transform:rotateY(180deg);background-color:#f8f9fa;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem;overflow-y:auto}.modal-flipped .modal-flipper{transform:rotateY(180deg)}.modal-square-image{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.modal-square-image img{width:100%;height:100%;display:block;object-fit:cover;border-radius:8px}.modal-front .click-indicator{position:absolute;bottom:1rem;right:1rem;background:rgba(255, 255, 255, 0.9);padding:8px;border-radius:50%;z-index:3;display:flex;align-items:center;justify-content:center;width:40px;height:40px;box-shadow:0 2px 8px rgba(0,0,0,0.15)}.modal-front .click-indicator i{font-size:1.2rem;color:#333}.modal-back .click-indicator{position:absolute;bottom:1rem;right:1rem;background:rgba(0, 0, 0, 0.7);padding:8px;border-radius:50%;z-index:3;display:flex;align-items:center;justify-content:center;width:40px;height:40px}.modal-back .click-indicator i{font-size:1.2rem;color:#fff}#modalDetailedText{font-family:'Open Sans', sans-serif;color:#6c757d;font-size:1.1rem;line-height:1.5;margin:0;max-width:90%;text-align:center;padding:0 1rem}#modalTitle{font-family:'Montserrat', sans-serif;font-weight:700;font-size:1.5rem;color:#000;margin-bottom:0.5rem;text-align:center;line-height:1.2}#modalSubtitle{font-family:'Open Sans', sans-serif;color:#6c757d;font-size:1rem;font-weight:400;text-align:center;margin:0;line-height:1.4}

    /* Adjust modal flipper padding based on format */
    .modal-flipper.format-square{padding-top:100%}
    .modal-flipper.format-landscape{padding-top:75%}
    .modal-flipper.format-portrait{padding-top:133.33%}

    /* Section headers */
    .section-header{margin-top:3rem;margin-bottom:2rem;text-align:center}
    .section-header h2{font-family:'Montserrat', sans-serif;font-weight:700;font-size:1.8rem;color:#000;margin-bottom:0.5rem}
    .section-header p{font-family:'Open Sans', sans-serif;color:#6c757d;font-size:1rem}

@media (max-width: 576px) {
  .btn-gradient-custom {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .custom-card-text-list p {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    line-height: 1.8rem;
  }
}