/*!
 * Onepage CSS für WBCE-CMS
 * Version: 1.0.0
 * Beschreibung: Universelle CSS-Bibliothek für moderne Onepage-Websites
 * Lizenz: MIT
 */

/* ===================================
   1. @FONT-FACE DEFINITIONEN
   =================================== */

/* Beispiel: Montserrat für Überschriften */
/*
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/montserrat-regular.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/montserrat-semibold.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/montserrat-bold.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

/* Hinweis: Eigene Fonts auskommentiert einfügen */


/* ===================================
   2. CSS VARIABLES (DESIGN TOKENS)
   =================================== */

:root {
  /* Brand Colors */
  --op-color-primary: #f29100;
  --op-color-primary-dark: #b36b00;
  --op-color-primary-light: #ffa723;
  --op-color-secondary: #6c757d;
  --op-color-accent: #ff6b3d;
  --op-color-success: #28a745;
  --op-color-warning: #ffc107;
  --op-color-error: #dc3545;
  
  /* Neutral Colors */
  --op-color-bg: #ffffff;
  --op-color-bg-alt: #f8f9fa;
  --op-color-bg-dark: #212529;
  --op-color-text: #212529;
  --op-color-text-light: #6c757d;
  --op-color-text-inverse: #ffffff;
  --op-color-border: #dee2e6;
  
  /* Overlay & Shadows */
  --op-overlay-light: rgba(0, 0, 0, 0.5);
  --op-overlay-dark: rgba(0, 0, 0, 0.75);
  
  /* Font Families */
  --op-font-base: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --op-font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --op-font-mono: 'Courier New', Courier, monospace;
  
  /* Font Sizes */
  --op-text-xs: 0.75rem;
  --op-text-sm: 0.875rem;
  --op-text-base: 1rem;
  --op-text-lg: 1.125rem;
  --op-text-xl: 1.25rem;
  --op-text-2xl: 1.5rem;
  --op-text-3xl: 1.875rem;
  --op-text-4xl: 2.25rem;
  --op-text-5xl: 3rem;
  --op-text-6xl: 3.75rem;
  
  /* Line Heights */
  --op-leading-tight: 1.25;
  --op-leading-normal: 1.5;
  --op-leading-relaxed: 1.75;
  
  /* Font Weights */
  --op-font-light: 300;
  --op-font-normal: 400;
  --op-font-medium: 500;
  --op-font-semibold: 600;
  --op-font-bold: 700;
  
  /* Spacing Scale */
  --op-space-xs: 0.5rem;
  --op-space-sm: 0.75rem;
  --op-space-md: 1rem;
  --op-space-lg: 1.5rem;
  --op-space-xl: 2rem;
  --op-space-2xl: 3rem;
  --op-space-3xl: 4rem;
  --op-space-4xl: 6rem;
  --op-space-5xl: 8rem;
  
  /* Section Spacing */
  --op-section-padding-y: var(--op-space-4xl);
  --op-section-padding-y-mobile: var(--op-space-3xl);
  
  /* Container */
  --op-container-width: 1200px;
  --op-container-padding: var(--op-space-lg);
  
  /* Grid Gaps */
  --op-gap: 2rem;
  --op-gap-sm: 1rem;
  --op-gap-lg: 3rem;
  
  /* Border Radius */
  --op-radius-sm: 0.25rem;
  --op-radius-md: 0.5rem;
  --op-radius-lg: 1rem;
  --op-radius-full: 9999px;
  
  /* Shadows */
  --op-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --op-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --op-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
  --op-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --op-transition-fast: 150ms ease-in-out;
  --op-transition-base: 250ms ease-in-out;
  --op-transition-slow: 350ms ease-in-out;
  
  /* Z-Index */
  --op-z-dropdown: 1000;
  --op-z-sticky: 1020;
  --op-z-fixed: 1030;
  --op-z-modal-backdrop: 1040;
  --op-z-modal: 1050;
  --op-z-popover: 1060;
  --op-z-tooltip: 1070;
  
  /* Layout */
  --op-header-height: 70px;
}


/* ===================================
   3. RESET & BASE STYLES
   =================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--op-font-base);
  font-size: 16px;
  line-height: var(--op-leading-normal);
  color: var(--op-color-text);
  background: var(--op-color-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--op-font-heading);
  font-weight: var(--op-font-bold);
  line-height: var(--op-leading-tight);
  margin-top: 0;
  margin-bottom: var(--op-space-lg);
  color: var(--op-color-text);
}

h1 { font-size: var(--op-text-5xl); }
h2 { font-size: var(--op-text-4xl); }
h3 { font-size: var(--op-text-3xl); }
h4 { font-size: var(--op-text-2xl); }
h5 { font-size: var(--op-text-xl); }
h6 { font-size: var(--op-text-lg); }

p {
  margin-top: 0;
  margin-bottom: var(--op-space-md);
}

ul, ol {
  margin-top: 0;
  margin-bottom: var(--op-space-md);
  padding-left: var(--op-space-xl);
}

li {
  margin-bottom: var(--op-space-xs);
}

/* Links & Interactive */
a {
  color: var(--op-color-primary);
  text-decoration: none;
  transition: color var(--op-transition-fast);
}

a:hover {
  color: var(--op-color-primary-dark);
}

a:focus-visible {
  outline: 3px solid var(--op-color-accent);
  outline-offset: 2px;
}

button, input, textarea, select {
  font-family: var(--op-font-base);
  font-size: inherit;
}

/* Images & Media */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===================================
   4. LAYOUT SYSTEM
   =================================== */

/* Container */
.op-container {
  width: 100%;
  max-width: var(--op-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--op-container-padding);
  padding-right: var(--op-container-padding);
}

.op-container--narrow {
  max-width: 900px;
}

.op-container--wide {
  max-width: 1400px;
}

.op-container--fluid {
  max-width: 100%;
}

/* Sections */
.op-section {
  padding-top: var(--op-section-padding-y);
  padding-bottom: var(--op-section-padding-y);
  scroll-margin-top: calc(var(--op-header-height) + 20px);
}

.op-section--sm {
  padding-top: var(--op-space-3xl);
  padding-bottom: var(--op-space-3xl);
}

.op-section--lg {
  padding-top: var(--op-space-5xl);
  padding-bottom: var(--op-space-5xl);
}

.op-section--hero {
  min-height: 100vh;
}

.op-section--alt {
  background: var(--op-color-bg-alt);
}

.op-section--dark {
  background: var(--op-color-bg-dark);
  color: var(--op-color-text-inverse);
}

/* Grid System */
.op-grid {
  display: grid;
  gap: var(--op-gap);
}

.op-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.op-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.op-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.op-grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.op-grid--gap-sm {
  gap: var(--op-gap-sm);
}

.op-grid--gap-lg {
  gap: var(--op-gap-lg);
}

.op-grid--responsive {
  grid-template-columns: 1fr;
}

/* Flexbox Utilities */
.op-flex {
  display: flex;
}

.op-flex-col {
  flex-direction: column;
}

.op-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* WYSIWYG Content Wrapper */
.op-content p {
  margin-bottom: var(--op-space-md);
  line-height: var(--op-leading-relaxed);
}

.op-content h1,
.op-content h2,
.op-content h3,
.op-content h4,
.op-content h5,
.op-content h6 {
  margin-top: var(--op-space-2xl);
  margin-bottom: var(--op-space-lg);
}

.op-content h1:first-child,
.op-content h2:first-child,
.op-content h3:first-child {
  margin-top: 0;
}

.op-content ul,
.op-content ol {
  margin: var(--op-space-lg) 0;
  padding-left: var(--op-space-xl);
}

.op-content li {
  margin-bottom: var(--op-space-sm);
}

.op-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--op-space-xl) 0;
}

.op-content th,
.op-content td {
  padding: var(--op-space-sm) var(--op-space-md);
  border: 1px solid var(--op-color-border);
  text-align: left;
}

.op-content th {
  background: var(--op-color-bg-alt);
  font-weight: var(--op-font-semibold);
}

.op-content tbody tr:nth-child(even) {
  background: var(--op-color-bg-alt);
}

.op-content blockquote {
  border-left: 4px solid var(--op-color-primary);
  padding-left: var(--op-space-lg);
  margin: var(--op-space-xl) 0;
  font-style: italic;
  color: var(--op-color-text-light);
}

.op-content figure {
  margin: var(--op-space-xl) 0;
}

.op-content figcaption {
  margin-top: var(--op-space-sm);
  font-size: var(--op-text-sm);
  color: var(--op-color-text-light);
  text-align: center;
}

.op-content hr {
  border: none;
  border-top: 1px solid var(--op-color-border);
  margin: var(--op-space-2xl) 0;
}

.op-content code {
  background: var(--op-color-bg-alt);
  padding: 0.2em 0.4em;
  border-radius: var(--op-radius-sm);
  font-family: var(--op-font-mono);
  font-size: 0.9em;
}

.op-content pre {
  background: var(--op-color-bg-alt);
  padding: var(--op-space-lg);
  border-radius: var(--op-radius-md);
  overflow-x: auto;
  margin: var(--op-space-xl) 0;
}

.op-content pre code {
  background: none;
  padding: 0;
}


/* ===================================
   5. HEADER & FOOTER
   =================================== */

/* Header */
.op-header {
  background: var(--op-color-bg);
  padding: var(--op-space-lg) 0;
  position: relative;
  z-index: var(--op-z-sticky);
}

.op-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.op-header--sticky {
  position: sticky;
  top: 0;
  box-shadow: none;
  transition: box-shadow var(--op-transition-base), background var(--op-transition-base);
}

.op-header--sticky.is-scrolled {
  box-shadow: var(--op-shadow-md);
  background: var(--op-color-bg);
}

.op-header--transparent {
  background: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  color: var(--op-color-text-inverse);
}

.op-header--transparent a {
  color: var(--op-color-text-inverse);
}

.op-header__logo {
  display: flex;
  align-items: center;
  gap: var(--op-space-md);
  font-size: var(--op-text-2xl);
  font-weight: var(--op-font-bold);
  color: inherit;
  text-decoration: none;
}

.op-header__logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0;
  padding: 0px;
}

.op-header__title {
  white-space: nowrap;
  line-height: 1;
}

/* Footer */
.op-footer {
  background: var(--op-color-bg-dark);
  color: var(--op-color-text-inverse);
  padding: var(--op-space-3xl) 0 var(--op-space-xl) 0;
}

.op-footer a {
  color: var(--op-color-text-inverse);
  opacity: 0.8;
  transition: opacity var(--op-transition-fast);
}

.op-footer a:hover {
  opacity: 1;
}

.op-footer--center {
  text-align: center;
}

.op-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--op-gap-lg);
  margin-bottom: var(--op-space-2xl);
}

.op-footer__section h4 {
  margin-bottom: var(--op-space-md);
  font-size: var(--op-text-lg);
}

.op-footer__section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.op-footer__section li {
  margin-bottom: var(--op-space-sm);
}

.op-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--op-space-lg);
  margin-top: var(--op-space-xl);
  text-align: center;
  font-size: var(--op-text-sm);
  opacity: 0.7;
}


/* ===================================
   6. CONTENT BLOCKS (SECTIONS)
   =================================== */

/* Hero Section */
.op-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--op-color-primary) 0%, var(--op-color-accent) 100%);
}

.op-hero--image {
  background-size: cover;
  background-position: center;
}

.op-hero--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--op-overlay-dark);
}

.op-hero__content {
  position: relative;
  z-index: 1;
  color: var(--op-color-text-inverse);
}

.op-hero__title {
  font-size: var(--op-text-6xl);
  font-weight: var(--op-font-bold);
  margin-bottom: var(--op-space-lg);
}

.op-hero__subtitle {
  font-size: var(--op-text-xl);
  margin-bottom: var(--op-space-2xl);
}

/* Hero Simple (Standard mit optionalem Hintergrundbild) */
.op-hero-simple {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--op-color-primary) 0%, var(--op-color-accent) 100%);
  overflow: hidden;
}

.op-hero-simple[data-bg] {
  background-color: var(--op-color-bg-alt);
}

.op-hero-simple__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.op-hero-simple__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.op-hero-simple__background.is-loaded {
  opacity: 1;
}

.op-hero-simple__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.op-hero-simple__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.op-hero-simple__content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.op-hero-simple__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.op-hero-simple__subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.op-hero-simple__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.op-hero-simple__skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  z-index: 0;
}

.op-hero-simple.is-loaded .op-hero-simple__skeleton {
  display: none;
}

/* Hero Slider (automatischer Bildwechsel) */
.op-hero-slider {
  position: relative;
  height: calc(100vh - var(--op-header-height, 70px));
  min-height: 600px;
  overflow: hidden;
  background: var(--op-color-bg-alt);
}

.op-hero-slider__slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.op-hero-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.op-hero-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.op-hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes kenBurnsIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes kenBurnsOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.op-hero-slider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 2;
}

.op-hero-slider__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.op-hero-slider__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.op-hero-slider__subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.op-hero-slider__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.op-hero-slider__skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  z-index: 0;
}

.op-hero-slider.is-loaded .op-hero-slider__skeleton {
  display: none;
}

/* Hero Video (Video-Background) */
.op-hero-video {
  position: relative;
  height: calc(100vh - var(--op-header-height, 70px));
  min-height: 600px;
  overflow: hidden;
  background: #1a1a1a;
}

.op-hero-video__background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.op-hero-video__background.is-loaded {
  opacity: 1;
}

.op-hero-video__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: 1;
}

.op-hero-video__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.op-hero-video__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.7);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.op-hero-video__subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.op-hero-video__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.op-hero-video__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.op-hero-video.is-loaded .op-hero-video__poster {
  opacity: 0;
  pointer-events: none;
}

.op-hero-video__control {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s both;
}

.op-hero-video__control:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

/* Shared Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Features / Services */
.op-feature {
  padding: var(--op-space-xl);
  border-radius: var(--op-radius-lg);
  background: var(--op-color-bg);
  box-shadow: var(--op-shadow-md);
  text-align: center;
  transition: transform var(--op-transition-base);
}

.op-feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--op-shadow-xl);
}

.op-feature__icon {
  font-size: var(--op-text-5xl);
  color: var(--op-color-primary);
  margin-bottom: var(--op-space-lg);
}

.op-feature__title {
  font-size: var(--op-text-2xl);
  margin-bottom: var(--op-space-md);
}

.op-feature__text {
  color: var(--op-color-text-light);
}

/* Text-Image Split */
.op-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--op-gap-lg);
  align-items: center;
}

.op-split--reverse {
  direction: rtl;
}

.op-split--reverse > * {
  direction: ltr;
}

.op-split__image img {
  width: 100%;
  border-radius: var(--op-radius-lg);
}

.op-split__content {
  padding: var(--op-space-xl);
}

/* Gallery / Portfolio */
.op-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--op-radius-md);
  aspect-ratio: 1 / 1;
}

.op-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--op-transition-base);
}

.op-gallery-item:hover img {
  transform: scale(1.1);
}

.op-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: var(--op-overlay-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--op-transition-base);
}

.op-gallery-item:hover .op-gallery-item__overlay {
  opacity: 1;
}

/* Testimonials */
.op-testimonial {
  background: var(--op-color-bg);
  padding: var(--op-space-2xl);
  border-radius: var(--op-radius-lg);
  box-shadow: var(--op-shadow-md);
  position: relative;
}

.op-testimonial__quote {
  font-size: var(--op-text-lg);
  font-style: italic;
  margin-bottom: var(--op-space-lg);
  line-height: var(--op-leading-relaxed);
}

.op-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--op-space-md);
}

.op-testimonial__avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--op-radius-full);
  object-fit: cover;
}

.op-testimonial__name {
  font-weight: var(--op-font-semibold);
}

.op-testimonial__role {
  color: var(--op-color-text-light);
  font-size: var(--op-text-sm);
}

/* Logo Wall / References */
.op-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--op-gap-lg);
}

.op-logo {
  flex: 0 1 150px;
  opacity: 0.6;
  transition: opacity var(--op-transition-base);
  filter: grayscale(100%);
}

.op-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.op-logo img {
  width: 100%;
  height: auto;
}

/* Call-to-Action */
.op-cta {
  text-align: center;
  padding: var(--op-space-5xl) var(--op-space-xl);
  background: linear-gradient(135deg, var(--op-color-primary), var(--op-color-accent));
  color: var(--op-color-text-inverse);
  border-radius: var(--op-radius-lg);
}

.op-cta__title {
  font-size: var(--op-text-4xl);
  margin-bottom: var(--op-space-lg);
}

.op-cta__text {
  font-size: var(--op-text-xl);
  margin-bottom: var(--op-space-2xl);
  opacity: 0.95;
}

/* Contact Section */
.op-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--op-space-lg);
}

.op-contact-item {
  display: flex;
  gap: var(--op-space-md);
  align-items: flex-start;
}

.op-contact-item__icon {
  font-size: var(--op-text-2xl);
  color: var(--op-color-primary);
}

/* Stats / Numbers */
.op-stat {
  text-align: center;
  padding: var(--op-space-xl);
}

.op-stat__number {
  font-size: var(--op-text-5xl);
  font-weight: var(--op-font-bold);
  color: var(--op-color-primary);
  margin-bottom: var(--op-space-sm);
}

.op-stat__label {
  font-size: var(--op-text-lg);
  color: var(--op-color-text-light);
}

/* Team Section */
.op-team-member {
  text-align: center;
}

.op-team-member__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--op-radius-lg);
  object-fit: cover;
  margin-bottom: var(--op-space-lg);
}

.op-team-member__name {
  font-size: var(--op-text-xl);
  font-weight: var(--op-font-semibold);
  margin-bottom: var(--op-space-xs);
}

.op-team-member__role {
  color: var(--op-color-text-light);
  margin-bottom: var(--op-space-md);
}

.op-team-member__social {
  display: flex;
  gap: var(--op-space-sm);
  justify-content: center;
}

/* Timeline */
.op-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.op-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--op-color-border);
}

.op-timeline-item {
  position: relative;
  margin-bottom: var(--op-space-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--op-space-xl);
}

.op-timeline-item:nth-child(even) .op-timeline-item__content {
  grid-column: 2;
}

.op-timeline-item__marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: var(--op-radius-full);
  background: var(--op-color-primary);
  border: 4px solid var(--op-color-bg);
}

/* Pricing Tables */
.op-pricing-card {
  background: var(--op-color-bg);
  border: 2px solid var(--op-color-border);
  border-radius: var(--op-radius-lg);
  padding: var(--op-space-2xl);
  text-align: center;
}

.op-pricing-card--featured {
  border-color: var(--op-color-primary);
  transform: scale(1.05);
  box-shadow: var(--op-shadow-xl);
}

.op-pricing-card__name {
  font-size: var(--op-text-2xl);
  margin-bottom: var(--op-space-md);
}

.op-pricing-card__price {
  font-size: var(--op-text-5xl);
  font-weight: var(--op-font-bold);
  color: var(--op-color-primary);
  margin-bottom: var(--op-space-sm);
}

.op-pricing-card__period {
  color: var(--op-color-text-light);
  margin-bottom: var(--op-space-xl);
}

.op-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--op-space-xl) 0;
}

.op-pricing-card__feature {
  padding: var(--op-space-sm) 0;
  border-bottom: 1px solid var(--op-color-border);
}

/* FAQ / Accordion */
.op-faq {
  max-width: 800px;
  margin: 0 auto;
}

.op-faq-item {
  border-bottom: 1px solid var(--op-color-border);
  padding: var(--op-space-lg) 0;
}

.op-faq-item__question {
  font-size: var(--op-text-xl);
  font-weight: var(--op-font-semibold);
  margin-bottom: var(--op-space-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.op-faq-item__answer {
  color: var(--op-color-text-light);
  line-height: var(--op-leading-relaxed);
  display: none;
  overflow: hidden;
}


/* ===================================
   7. COMPONENTS
   =================================== */

/* Buttons */
.op-btn {
  display: inline-block;
  padding: var(--op-space-md) var(--op-space-xl);
  border: none;
  border-radius: var(--op-radius-md);
  font-size: var(--op-text-base);
  font-weight: var(--op-font-semibold);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--op-transition-base);
  background: var(--op-color-primary);
  color: var(--op-color-text-inverse);
}

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

.op-btn:focus-visible {
  outline: 3px solid var(--op-color-accent);
  outline-offset: 2px;
}

.op-btn--secondary {
  background: var(--op-color-secondary);
}

.op-btn--accent {
  background: var(--op-color-accent);
}

.op-btn--outline {
  background: transparent;
  border: 2px solid var(--op-color-primary);
  color: var(--op-color-primary);
}

.op-btn--lg {
  padding: var(--op-space-lg) var(--op-space-2xl);
  font-size: var(--op-text-lg);
}

.op-btn--sm {
  padding: var(--op-space-sm) var(--op-space-lg);
  font-size: var(--op-text-sm);
}

/* Cards */
.op-card {
  background: var(--op-color-bg);
  border-radius: var(--op-radius-lg);
  box-shadow: var(--op-shadow-md);
  overflow: hidden;
  transition: box-shadow var(--op-transition-base);
}

.op-card:hover {
  box-shadow: var(--op-shadow-xl);
}

.op-card__image {
  width: 100%;
  height: auto;
  display: block;
}

.op-card__content {
  padding: var(--op-space-xl);
}

.op-card__title {
  font-size: var(--op-text-xl);
  margin-bottom: var(--op-space-md);
}

.op-card__text {
  color: var(--op-color-text-light);
  margin-bottom: var(--op-space-lg);
}

/* Forms */
.op-form-group {
  margin-bottom: var(--op-space-lg);
}

.op-label {
  display: block;
  margin-bottom: var(--op-space-sm);
  font-weight: var(--op-font-medium);
}

.op-input,
.op-textarea,
.op-select {
  width: 100%;
  padding: var(--op-space-md);
  border: 1px solid var(--op-color-border);
  border-radius: var(--op-radius-md);
  font-size: var(--op-text-base);
  transition: border-color var(--op-transition-fast);
}

.op-input:focus,
.op-textarea:focus,
.op-select:focus {
  outline: none;
  border-color: var(--op-color-primary);
}

.op-input:focus-visible,
.op-textarea:focus-visible,
.op-select:focus-visible {
  outline: 3px solid var(--op-color-accent);
  outline-offset: 2px;
}

.op-textarea {
  resize: vertical;
  min-height: 120px;
}

.op-checkbox,
.op-radio {
  margin-right: var(--op-space-sm);
}

/* Form States */
.op-input--error,
.op-textarea--error,
.op-select--error {
  border-color: var(--op-color-error);
  background: rgba(220, 53, 69, 0.05);
}

.op-input--success,
.op-textarea--success,
.op-select--success {
  border-color: var(--op-color-success);
  background: rgba(40, 167, 69, 0.05);
}

.op-form-message {
  display: block;
  margin-top: var(--op-space-sm);
  font-size: var(--op-text-sm);
}

.op-form-message--error {
  color: var(--op-color-error);
}

.op-form-message--success {
  color: var(--op-color-success);
}

.op-form-message--warning {
  color: var(--op-color-warning);
}

/* Navigation */
.op-nav {
  display: flex;
  gap: var(--op-space-xl);
  list-style: none;
  padding: 0;
  margin: 0;
}

.op-nav__link {
  text-decoration: none;
  color: var(--op-color-text);
  font-weight: var(--op-font-medium);
  transition: color var(--op-transition-fast);
}

.op-nav__link:hover,
.op-nav__link--active,
.op-nav__link.menu-current {
  color: var(--op-color-primary);
}

.op-nav__link:focus-visible {
  outline: 3px solid var(--op-color-accent);
  outline-offset: 2px;
}

/* Mobile Navigation */
.op-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--op-space-sm);
}

/* Back to Top Button */
.op-backtotop {
  position: fixed;
  bottom: var(--op-space-xl);
  right: var(--op-space-xl);
  width: 50px;
  height: 50px;
  background: var(--op-color-primary);
  color: var(--op-color-text-inverse);
  border: none;
  border-radius: var(--op-radius-full);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--op-transition-base);
  z-index: var(--op-z-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--op-text-xl);
}

.op-backtotop--visible {
  opacity: 1;
  visibility: visible;
}

.op-backtotop:hover {
  transform: translateY(-4px);
}

/* State Classes */
.op-nav__link.is-active,
.op-nav__link.menu-current {
  color: var(--op-color-primary);
  font-weight: var(--op-font-semibold);
}

.op-header.is-scrolled {
  background: var(--op-color-bg);
  box-shadow: var(--op-shadow-md);
}

.op-nav.is-open {
  right: 0;
}

.op-faq-item.is-open .op-faq-item__answer {
  display: block;
}

.op-faq-item.is-open .op-faq-item__question::after {
  transform: rotate(180deg);
}

.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.is-hidden {
  display: none !important;
}

.is-visible {
  display: block !important;
}

/* Image Utilities */
.op-img-rounded {
  border-radius: var(--op-radius-lg);
}

.op-img-circle {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.op-img-shadow {
  box-shadow: var(--op-shadow-lg);
}

.op-img-full {
  width: 100%;
  height: auto;
}

.op-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.op-img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.op-img-grayscale {
  filter: grayscale(100%);
  transition: filter var(--op-transition-base);
}

.op-img-grayscale:hover {
  filter: grayscale(0%);
}


/* ===================================
   8. UTILITY CLASSES
   =================================== */

/* Spacing - Margin */
.op-m-0 { margin: 0; }
.op-mt-xs { margin-top: var(--op-space-xs); }
.op-mt-sm { margin-top: var(--op-space-sm); }
.op-mt-md { margin-top: var(--op-space-md); }
.op-mt-lg { margin-top: var(--op-space-lg); }
.op-mt-xl { margin-top: var(--op-space-xl); }
.op-mt-2xl { margin-top: var(--op-space-2xl); }
.op-mt-3xl { margin-top: var(--op-space-3xl); }

.op-mb-xs { margin-bottom: var(--op-space-xs); }
.op-mb-sm { margin-bottom: var(--op-space-sm); }
.op-mb-md { margin-bottom: var(--op-space-md); }
.op-mb-lg { margin-bottom: var(--op-space-lg); }
.op-mb-xl { margin-bottom: var(--op-space-xl); }
.op-mb-2xl { margin-bottom: var(--op-space-2xl); }
.op-mb-3xl { margin-bottom: var(--op-space-3xl); }

.op-mx-auto { 
  margin-left: auto; 
  margin-right: auto; 
}

/* Spacing - Padding */
.op-p-0 { padding: 0; }
.op-p-sm { padding: var(--op-space-sm); }
.op-p-md { padding: var(--op-space-md); }
.op-p-lg { padding: var(--op-space-lg); }
.op-p-xl { padding: var(--op-space-xl); }
.op-p-2xl { padding: var(--op-space-2xl); }

/* Typography */
.op-text-xs { font-size: var(--op-text-xs); }
.op-text-sm { font-size: var(--op-text-sm); }
.op-text-base { font-size: var(--op-text-base); }
.op-text-lg { font-size: var(--op-text-lg); }
.op-text-xl { font-size: var(--op-text-xl); }
.op-text-2xl { font-size: var(--op-text-2xl); }
.op-text-3xl { font-size: var(--op-text-3xl); }
.op-text-4xl { font-size: var(--op-text-4xl); }

.op-text-left { text-align: left; }
.op-text-center { text-align: center; }
.op-text-right { text-align: right; }

.op-font-light { font-weight: var(--op-font-light); }
.op-font-normal { font-weight: var(--op-font-normal); }
.op-font-medium { font-weight: var(--op-font-medium); }
.op-font-semibold { font-weight: var(--op-font-semibold); }
.op-font-bold { font-weight: var(--op-font-bold); }

.op-text-primary { color: var(--op-color-primary); }
.op-text-muted { color: var(--op-color-text-light); }

/* Display & Visibility */
.op-block { display: block; }
.op-inline-block { display: inline-block; }
.op-hidden { display: none; }

.op-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Position */
.op-relative { position: relative; }
.op-absolute { position: absolute; }
.op-fixed { position: fixed; }
.op-sticky { 
  position: sticky; 
  top: 0; 
}

/* Width */
.op-w-full { width: 100%; }
.op-w-auto { width: auto; }
.op-max-w-sm { max-width: 640px; }
.op-max-w-md { max-width: 768px; }
.op-max-w-lg { max-width: 1024px; }
.op-max-w-xl { max-width: 1280px; }


/* ===================================
   9. RESPONSIVE DESIGN
   =================================== */

@media (min-width: 768px) {
  .op-grid--responsive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .op-grid--responsive {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  /* Grid stacking */
  .op-grid--2,
  .op-grid--3,
  .op-grid--4 {
    grid-template-columns: 1fr;
  }
  
  /* Split stacking */
  .op-split {
    grid-template-columns: 1fr;
  }
  
  /* Section padding */
  .op-section {
    padding-top: var(--op-section-padding-y-mobile);
    padding-bottom: var(--op-section-padding-y-mobile);
  }
  
  /* Hero title */
  .op-hero__title {
    font-size: var(--op-text-4xl);
  }
  
  /* Hero Simple, Slider, Video - Mobile */
  .op-hero-simple,
  .op-hero-slider,
  .op-hero-video {
    min-height: 500px;
  }
  
  .op-hero-simple__buttons,
  .op-hero-slider__buttons,
  .op-hero-video__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .op-hero-video__control {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
  
  /* Typography */
  h1 { font-size: var(--op-text-4xl); }
  h2 { font-size: var(--op-text-3xl); }
  h3 { font-size: var(--op-text-2xl); }
  
  /* Timeline */
  .op-timeline::before {
    left: 0;
  }
  
  .op-timeline-item {
    grid-template-columns: 1fr;
  }
  
  .op-timeline-item__marker {
    left: 0;
    transform: translateX(-50%);
  }
  
  /* Pricing */
  .op-pricing-card--featured {
    transform: scale(1);
  }
  
  /* Mobile Navigation */
  .op-nav-toggle {
    display: block;
  }
  
  .op-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--op-color-bg);
    flex-direction: column;
    padding: var(--op-space-3xl) var(--op-space-xl);
    box-shadow: var(--op-shadow-xl);
    transition: right var(--op-transition-base);
    z-index: var(--op-z-modal);
  }
  
  .op-nav.is-open {
    right: 0;
  }
  
  /* Hide on mobile */
  .op-hide-mobile {
    display: none;
  }
}

/* Desktop only */
@media (min-width: 768px) {
  .op-hide-desktop {
    display: none;
  }
}


/* ===================================
   10. ANIMATION & INTERACTIONS
   =================================== */

/* Scroll Animations */
.op-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.op-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.op-hover-lift {
  transition: transform var(--op-transition-base);
}

.op-hover-lift:hover {
  transform: translateY(-8px);
}

.op-hover-scale {
  transition: transform var(--op-transition-base);
}

.op-hover-scale:hover {
  transform: scale(1.05);
}


/* ===================================
   11. LIGHTBOX (FÜR GALLERY)
   =================================== */

.op-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.op-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.op-lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 1;
}

.op-lightbox__content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.op-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 40px;
  height: 40px;
  transition: transform var(--op-transition-fast);
}

.op-lightbox__close:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* ===================================
   12. PRINT STYLES (OPTIONAL)
   =================================== */

@media print {
  .op-nav,
  .op-backtotop,
  .op-nav-toggle,
  .op-header--sticky {
    display: none;
  }
  
  .op-section {
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
  }
}

