/* 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:-4rem}.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;
  }
}

@media (min-width: 992px) {
    /* Ensures all general images expand to the full width of their column */
    .img-fluid, 
    img.rounded {
        width: 100%;
        height: auto;
        object-fit: cover; /* Prevents stretching/distortion */
    }

    /* Specifically target the hero image to ensure it fills the container */
    .hero-background-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    /* Adjust section spacing for a more "full-screen" feel on desktop */
    .section-spacing {
        padding-top: 4rem;
        padding-bottom: 5rem;
    }
}

    /* global */
    strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #001B2E;
    }

  /* Kontext: dunkle Market-Box → weißes Strong */
    .gs-market-box strong { color: #ffffff; }

    /* Kontext: Timeline-Text → primäre Textfarbe */
    .gs-tl-body strong    { color: #001B2E; }
    .gs-timeline {
      position: relative;
      padding-left: 2rem;
    }
    .gs-timeline::before {
      content: '';
      position: absolute;
      left: 0.45rem;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--accent-color), #353B3C);
    }
    .gs-timeline-item {
      position: relative;
      margin-bottom: 1.6rem;
    }
    .gs-timeline-item::before {
      content: '';
      position: absolute;
      left: -1.65rem;
      top: 0.35rem;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: var(--accent-color);
      border: 2px solid #fff;
      box-shadow: 0 0 0 2px var(--accent-color);
    }
    .gs-timeline-item.highlight::before {
      background-color: #d1a600;
      width: 16px;
      height: 16px;
      left: -1.85rem;
      top: 0.22rem;
      box-shadow: 0 0 0 3px rgba(209,166,0,0.25);
    }
    .gs-tl-year {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      color: var(--accent-color);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.1rem;
    }
    .gs-tl-title {
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      color: #001B2E;
      margin-bottom: 1rem;
    }
    .gs-tl-body {
      font-family: 'Open Sans', sans-serif;
      font-size: 1rem;
      color: #444;
      line-height: 1.6;
    }

    /* ---- Key-Facts Feature-Box ---- */
    .gs-feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
      margin: 1.5rem 0;
    }
    .gs-fact-card {
      background: #fff;
      border: 1px solid #e8e0cc;
      border-top: 3px solid var(--accent-color);
      border-radius: 6px;
      padding: 1rem 1.1rem;
    }
    .gs-fact-icon {
      font-size: 1.4rem;
      color: var(--accent-color);
      margin-bottom: 0.4rem;
    }
    .gs-fact-label {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #777;
      margin-bottom: 0.2rem;
    }
    .gs-fact-value {
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      color: #001B2E;
    }

    /* ---- Pull-Quote ---- */
    .gs-pullquote {
      border-left: 4px solid var(--accent-color);
      background: #fdf8ee;
      padding: 1rem 1.4rem;
      margin: 1.5rem 0;
      border-radius: 0 6px 6px 0;
      font-family: 'Montserrat', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: #001B2E;
      font-style: italic;
    }
    .gs-pullquote cite {
      display: block;
      margin-top: 0.5rem;
      font-size: 0.8rem;
      font-weight: 400;
      font-style: normal;
      color: #777;
    }

    /* ---- Market-Insight Box ---- */
    .gs-market-box {
      background-color: var(--primary-color);
      color: #fff;
      border-radius: 10px;
      padding: 1.4rem 1.6rem;
      margin: 1.5rem 0;
    }
    .gs-market-box h4 {
      color: var(--accent-color) !important;
      font-family: 'Montserrat', sans-serif;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      margin-bottom: 0.6rem;
    }
    .gs-market-box p, .gs-market-box li {
      font-family: 'Open Sans', sans-serif;
      font-size: 1rem;
      color: #e0ddd6;
      line-height: 1.7;
    }
    .gs-market-box ul {
      padding-left: 1.2rem;
      margin-bottom: 0;
    }

    /* ---- Leica Bridge Badge ---- */
    .gs-bridge-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #fdf3d0;
      border: 1px solid #d1a600;
      border-radius: 20px;
      padding: 0.3rem 0.9rem;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      color: #8a6800;
      margin-bottom: 0.8rem;
    }

    /* ---- Section divider label ---- */
    .gs-section-label {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      margin: 2rem 0 1rem;
    }
    .gs-section-label span.line {
      flex: 1;
      height: 1px;
      background: #e0ddd6;
    }
    .gs-section-label span.text {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #999;
      white-space: nowrap;
    }

    /* ---- GEO note (discrete) ---- */
    .gs-geo-note {
      font-family: 'Open Sans', sans-serif;
      font-size: 0.9rem;
      color: #999;
      border-top: 1px solid #f0ece4;
      padding-top: 0.7rem;
      margin-top: 1.5rem;
    }

    /* ---- Accordion header override ---- */
    #sachs-faq .accordion-button:not(.collapsed) {
      background-color: #fdf8ee;
      color: #001B2E;
      box-shadow: inset 0 -1px 0 rgba(209,166,0,0.25);
    }
    #sachs-faq .accordion-button::after {
      filter: none;
    }

    @media (max-width: 576px) {
      .gs-feature-grid { grid-template-columns: 1fr 1fr; }
      .gs-pullquote { font-size: 0.92rem; }
    }
    /* ---- Kunstsammlung Definitionsliste ---- */
    .gs-dl-heading {
      font-family: 'Montserrat', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #777;
      margin: 1.4rem 0 0.6rem;
    }
    .gs-collection-list {
      margin: 0 0 1.2rem;
    }
    .gs-dl-item {
      border-left: 3px solid var(--accent-color);
      padding: 0.7rem 0 0.7rem 1rem;
      margin-bottom: 0.15rem;
      background: #fdf8ee;
      border-radius: 0 4px 4px 0;
      transition: background 0.2s ease;
    }
    .gs-dl-item:hover {
      background: #fdf0cc;
    }
    .gs-dl-item dt {
      display: flex;
      align-items: baseline;
      gap: 0.75rem;
      margin-bottom: 0.25rem;
    }
    .gs-dl-year {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--accent-color);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      min-width: 52px;
      flex-shrink: 0;
    }
    .gs-dl-artist {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      color: #001B2E;
    }
    .gs-dl-item dd {
      font-family: 'Open Sans', sans-serif;
      font-size: 1.2rem;
      color: #444;
      line-height: 1.65;
      margin: 0 0 0 calc(52px + 0.75rem);
    }
    @media (max-width: 576px) {
      .gs-dl-item dd { margin-left: 0; }
      .gs-dl-item dt { flex-wrap: wrap; }
    }

    /* Custom Styling für Header Meta */
.article-meta-header {
    margin-top: 1rem;
}

.custom-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "•"; /* Eleganter Punkt statt Schrägstrich */
    color: var(--accent-color);
}

.custom-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.custom-breadcrumb a:hover {
    color: var(--accent-color);
}

.custom-breadcrumb .active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Meta Details (Datum & Autor) */
.meta-details {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Open Sans', sans-serif;
}

.meta-separator {
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 12px;
}

.author-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.author-link:hover {
    border-bottom: 1px solid var(--accent-color);
}

/* Subtile Trennlinie */
.header-divider {
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 1.5rem auto 0;
}

/* Styling für die elegante graublaue Tabelle */
.table-elegant-blue {
    --gray-blue-light: #f1f4f7; /* Sehr helles Graublau für den Hintergrund */
    --gray-blue-medium: #d9e1e8; /* Mittleres Graublau für Linien */
    --gray-blue-accent: #4a5a6a; /* Dunkleres Graublau für den Header */
    
    background-color: var(--gray-blue-light);
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--gray-blue-medium);
}

/* Tabellenkopf */
.table-elegant-blue thead th {
    background-color: var(--gray-blue-accent);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 14px;
    border: none;
}

/* Zellen-Design */
.table-elegant-blue tbody td {
    background-color: var(--gray-blue-light);
    color: #2c3e50; /* Dunkles Anthrazit für beste Lesbarkeit */
    padding: 12px 15px;
    border-top: 1px solid var(--gray-blue-medium);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Zebra-Look für bessere Zeilenführung */
.table-elegant-blue tbody tr:nth-child(even) td {
    background-color: #e6ebf0; /* Etwas dunklere Zeilen-Abstufung */
}

/* Hover-Effekt (optional) */
.table-elegant-blue tbody tr:hover td {
    background-color: #dee5ec;
    transition: background-color 0.2s ease;
}

/* Veredeltes Styling für den redaktionellen Hinweis */
.gs-geo-note {
    background-color: #f1f4f7; /* Das helle Graublau der Tabelle */
    border-left: 4px solid #4a5a6a; /* Ein dunklerer blauer Akzentbalken */
    border-top: none; /* Wir ersetzen die alte obere Linie durch den Akzent links */
    color: #4a5a6a;
    padding: 1.2rem 1.5rem;
    margin-top: 3rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.88rem;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Minimaler Schatten für Tiefe */
}

.gs-geo-note strong {
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.75rem;
    display: block; /* Das Label "Redaktioneller Hinweis" steht nun oben drüber */
    margin-bottom: 0.4rem;
}