@charset "UTF-8";
/*──────────────────────────────────────────────
  COMPONENTS.CSS – Layout & Module Styles
  © 2025 seltsam. STUDIO FÜR VISUELLE MEDIEN
──────────────────────────────────────────────*/


/*──────────────────────────────────────────────
  SECTION BASE
──────────────────────────────────────────────*/
.section {
 padding: var(--space-section-md) var(--space-container-padding);
 background-color: var(--color-bg);
 color: var(--color-text);
 transition: background-color var(--transition-speed),
 color var(--transition-speed);
}

.section h1,
.section h2,
.section h3,
.section h4,
.section h5,
.section p,
.section a {
 transition: color var(--transition-speed);
}

/*──────────────────────────────────────────────
  SECTION VARIANTS
──────────────────────────────────────────────*/

/* Light (Standard, heller Hintergrund, dunkler Text) */
.section-light,
.section-textbild.variant-light,
.section-bild.variant-light {
 background-color: var(--color-white);
 color: var(--color-text);
}

/* Highlight (Grün, weißer Text) */
.section-highlight,
.section-textbild.variant-highlight,
.section-text.variant-highlight {
 background-color: var(--color-primary);
 color: var(--color-white);
}

/* Elemente innerhalb erben die weiße Schrift */
.section-highlight h1,
.section-highlight h2,
.section-highlight h3,
.section-highlight p,
.section-highlight a:not(.btn),
.section-highlight ul,
.section-highlight li,
.section-textbild.variant-highlight h1,
.section-textbild.variant-highlight h2,
.section-textbild.variant-highlight h3,
.section-textbild.variant-highlight p,
.section-textbild.variant-highlight a:not(.btn),
.section-textbild.variant-highlight ul,
.section-textbild.variant-highlight li {
 color: inherit;
}

/* Bullets (Marker) ebenfalls weiß */
.section-highlight ul li::marker,
.section-textbild.variant-highlight ul li::marker {
 color: var(--color-white);
}

/* Hover-Farbe für Links */
.section-highlight a:hover:not(.btn),
.section-textbild.variant-highlight a:hover:not(.btn) {
 color: var(--color-primary-bright) !important;
}

/* Dark (z. B. für Footer oder dunkle Sektionen) */
.section-dark,
.section-textbild.variant-dark,
.section-bild.variant-dark {
 background-color: var(--color-grey);
 color: var(--color-white);
}

.section-dark a {
 color: var(--color-primary-bright);
}
.section-dark a:hover {
 color: var(--color-white);
}

/*──────────────────────────────────────────────
  SHARED ELEMENT STYLES
──────────────────────────────────────────────*/
.section .section-content {
 font-size: var(--font-size-base);
 line-height: var(--line-height-base);
}

.section img {
 max-width: 100%;
 height: auto;
 border-radius: var(--radius-lg);
 transition: transform var(--transition-speed);
}
.section img:hover {
 transform: scale(1.02);
}

/*──────────────────────────────────────────────
  SPACING VARIANTS
──────────────────────────────────────────────*/
.section--narrow {
 padding-top: var(--space-md);
 padding-bottom: var(--space-md);
}
.section--wide {
 padding-top: var(--space-xl);
 padding-bottom: var(--space-xl);
}

/*──────────────────────────────────────────────
  UTILITIES
──────────────────────────────────────────────*/
.text-center {
 text-align: center;
}
.text-right {
 text-align: right;
}
/* Vollbild-Sektionen (randlos) */
.section-bild {
 padding: 0 !important;
 margin: 0 !important;
}
.section-bild img {
 display: block;
 width: 100%;
 height: auto;
 margin: 0;
 padding: 0;
}
.section + .section-bild,
.section-bild + .section {
 margin: 0;
}

/*──────────────────────────────────────────────
  CARDS
──────────────────────────────────────────────*/
.section-cards {
 color: var(--color-white);
}

.section-cards .card {
 border-radius: var(--radius-lg);
 background: var(--color-white);
}
.section-cards .card-title {
 color: var(--color-primary-dark);
}

.section-cards .card h3 {
 font-size: var(--font-size-lg);
 color: var(--color-primary-dark);
}

.section-cards .card ul li {
 line-height: 1.5;
}
.section-cards .card p {
 font-size: var(--font-size-base);
 line-height: var(--line-height-base);
}

.section-cards .btn {
 border-radius: var(--radius-lg);
 transition: var(--transition-speed);
}

.section-cards .btn:hover {
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.section-cards .card-footer {
 background: none;
 border-top: none;
 padding: 0 1rem 1.4rem 1rem;
}

.card-title,
.card-text,
.card-title .fas {
 font-size: var(--font-size-base);
}
.card-title .fas {
 font-size: var(--font-size-lg);
 margin-right: 0.5rem;
}
/* Service Card Accordion */
.card-title {
 transition: color 0.2s ease;
}

.card-title:hover {
 opacity: 0.8;
}

.card-title.active {
 color: rgba(150, 189, 0, 1); /* Deine Grünfarbe */
}

.card-text {
 margin-top: 1rem;
}
/*──────────────────────────────────────────────
  CARD ICONS (innerhalb card-title)
──────────────────────────────────────────────*/
.card-title .icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 2.4rem;
 height: 2.4rem;
 margin-right: 0.5rem;
 border-radius: var(--radius-base);
 background-color: var(--color-primary-dark);
 color: var(--color-white);
 font-size: 1.4rem;
 vertical-align: middle;
 transition: background-color var(--transition-speed), transform var(--transition-speed);
}

/* Hover-Effekt (wenn Card oder Link gehovered wird) */
.card:hover .card-title .icon,
.card a:hover .icon {
 background-color: var(--color-primary-bright);
 color: var(--color-white);
 transform: translateY(-2px);
}

/*──────────────────────────────────────────────
  PARALLAX SECTIONS
──────────────────────────────────────────────*/
.section-parallax {
 position: relative;
 overflow: hidden;
 min-height: 700px;
 color: #fff;
}

.section-parallax .parallax-bg {
 position: absolute;
 top: -35%;              /* Mehr Spielraum oben */
 left: 0;
 width: 100%;
 height: 170%;           /* Mehr Bildfläche sichtbar */
 background-size: cover;
 background-position: bottom;
 background-repeat: no-repeat;
 z-index: 0;
 transform: translateY(0);
 will-change: transform;
 background-color: #3C3C3B; /* Fallback, falls Bild zu kurz */
}

.section-parallax .container {
 position: relative;
 z-index: 2;
}
/*==============================================================================
  FOOTER STYLE 1 – Light with Skyline Background
==============================================================================*/
footer {
 /*background: url("/img/footer-background.png") no-repeat;*/
 /*background-size: cover;*/
 /*height: 450px;*/
}
/*──────────────────────────────────────────────
  PARALLAX LAGERFLÄCHEN
──────────────────────────────────────────────*/
.section-parallax-lagerflaechen {
 position: relative;
 overflow: hidden;
 color: #fff;
 min-height: 800px;
 background-color: #3C3C3B; /* Fallback-Farbe falls Bild zu kurz */
}

.section-parallax-lagerflaechen h2 {
 color: #fff;
}

.section-parallax-lagerflaechen .parallax-bg {
 position: absolute;
 top: -35%;              /* Mehr Sicherheitspuffer oben */
 left: 0;
 width: 100%;
 height: 170%;           /* Größere Bildfläche gegen "Weißblitzen" */
 background-size: cover;
 background-position: bottom;
 background-repeat: no-repeat;
 z-index: 0;
 transform: translateY(0);
 will-change: transform;
 background-color: #3C3C3B; /* Fallback-Farbe */
}

.section-parallax-lagerflaechen .container {
 position: relative;
 z-index: 2;
}

.lagerflaechen-box {
 background: rgba(150, 189, 0, 0.85);
 padding: 0.75rem 1.25rem;
 font-size: 1.75rem;
 font-weight: 600;
 margin-bottom: 0.75rem;
 display: block;
 border-radius: 2px;
 width: 400px;
 max-width: 100%; /* 🔧 Nie breiter als Container */

 /* Animation vorbereiten */
 opacity: 0;
 transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* Startzustand: von rechts */
.animate-slide[data-direction="right"] {
 transform: translateX(100px);
}

/* Startzustand: von links */
.animate-slide[data-direction="left"] {
 transform: translateX(-100px);
}

/* Endzustand: sichtbar */
.animate-slide.visible {
 opacity: 1;
 transform: translateX(0);
}

/* Mobile: Kleinere Schrift + volle Breite */
@media (max-width: 768px) {
 .lagerflaechen-box {
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
 }

 /* 🔧 NUR Startzustand anpassen, nicht im visible-State! */
 .animate-slide[data-direction="right"]:not(.visible) {
  transform: translateX(50px);
 }

 .animate-slide[data-direction="left"]:not(.visible) {
  transform: translateX(-50px);
 }
}

/* Optional: sanfter Hover-Effekt */
.lagerflaechen-box:hover {
 background: rgba(150, 189, 0, 1);
 transition: background 0.3s ease;
}

/* Für mobile Geräte (Parallax deaktivieren) */
@media (max-width: 992px) {
 .section-parallax-lagerflaechen .parallax-bg {
  background-attachment: scroll;
 }
}