/* Globales Layout */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #050816;
  color: #e5e7eb;
  overflow-x: hidden;
}

h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
}

/* Navigation wie LoL: oben fix, transparent/dunkel */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5, 8, 22, 0.9);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
}

.main-nav .logo img {
  height: 45px;
  border-radius: 8px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #cbd5e1;
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #38bdf8;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
  padding: 10px 0;
  margin-top: 10px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #cbd5e1;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
}

/* Floating Book-Now-Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2563eb;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
}

.floating-btn:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

/* Hero wie „Play now“ Bereich */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
}

.hero-overlay h1 {
  font-size: 64px;
  margin: 0 0 10px 0;
  color: #f9fafb;
}

.hero-overlay p {
  font-size: 22px;
  color: #e5e7eb;
}

.cta-btn {
  display: inline-block;
  background: #f97316;
  color: #0b1120;
  padding: 12px 24px;
  border-radius: 999px;
  margin-top: 20px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s;
}

.cta-btn:hover {
  background: #fb923c;
  transform: translateY(-2px);
}

.cta-btn-small {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s;
  margin-top: 10px;
}

.cta-btn-small:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.cta-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #38bdf8;
  padding: 12px 24px;
  border: 2px solid #38bdf8;
  border-radius: 999px;
  margin-top: 20px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.cta-btn-secondary:hover {
  background: #38bdf8;
  color: #0b1120;
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section {
  padding: 100px 60px;
}

/* Sektionen darunter (wie einzelne LoL-Bereiche) */
.section {
  padding: 120px 60px;
  text-align: center;
}

.section.dark {
  background: #020617;
}

.section.light {
  background: #0f172a;
}

.section h2 {
  font-size: 36px;
  color: #38bdf8;
  margin-bottom: 20px;
}

.section-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5e1;
}

.section-text.small {
  margin-top: 20px;
  font-size: 14px;
}

/* Video-Galerie mit mehreren Videos */
.video-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.video-gallery video {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  transition: transform 0.4s;
}

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

/* Projekt-Karten, wie News-Kacheln */
.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background: #0f172a;
  border-radius: 12px;
  width: 320px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  margin: 16px;
  color: #e5e7eb;
}

.project-card p {
  margin: 0 16px 16px;
  color: #9ca3af;
  font-size: 14px;
}

.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Service Preview Grid */
.service-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service-preview-card {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  border: none;
}

.service-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.service-preview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  background: #0f172a;
  vertical-align: middle;
}

.service-preview-card h3 {
  margin: 20px 0 10px;
  color: #38bdf8;
  font-size: 24px;
}

.service-preview-card p {
  margin: 0 20px 20px;
  color: #cbd5e1;
  font-size: 14px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: #0f172a;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
}

.feature-card h3 {
  color: #38bdf8;
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-card p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 0;
}

/* Service Page Styles */
.service-hero {
  padding: 180px 60px 80px;
  text-align: center;
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

.service-hero h1 {
  font-size: 48px;
  color: #38bdf8;
  margin-bottom: 20px;
}

.service-hero p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto;
}

.service-content {
  padding: 80px 60px;
}

.service-description {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.service-description h2 {
  color: #38bdf8;
  margin-bottom: 20px;
  text-align: left;
}

.service-description ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-description li {
  padding: 12px 0;
  padding-left: 30px;
  color: #cbd5e1;
  position: relative;
}

.service-description li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: bold;
}

/* Pricing Calculator */
.pricing-calculator {
  background: #0f172a;
  border-radius: 16px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-calculator h2 {
  color: #38bdf8;
  margin-bottom: 30px;
  text-align: center;
}

.service-option {
  background: #020617;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.service-option h3 {
  color: #e5e7eb;
  margin-bottom: 15px;
  font-size: 18px;
}

.option-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.option-controls label {
  color: #cbd5e1;
  font-size: 14px;
}

.option-controls input[type="number"] {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 6px;
  width: 80px;
  font-size: 14px;
}

.option-controls select {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.option-controls textarea {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  min-height: 60px;
  resize: vertical;
  font-family: Arial, sans-serif;
  margin-top: 10px;
}

.option-controls textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

.service-option .notes-label {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.price-display {
  background: #020617;
  border: 2px solid #38bdf8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-top: 30px;
}

.price-toggle-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.price-toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 14px;
}

.price-toggle-label input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 50px;
  height: 26px;
  background: rgba(56, 189, 248, 0.3);
  border-radius: 26px;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #38bdf8;
  top: 3px;
  left: 3px;
  transition: transform 0.3s;
}

.price-toggle-label input[type="checkbox"]:checked + .toggle-slider {
  background: rgba(56, 189, 248, 0.6);
}

.price-toggle-label input[type="checkbox"]:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.booking-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.booking-options button {
  min-width: 180px;
}

.price-display h3 {
  color: #38bdf8;
  font-size: 24px;
  margin-bottom: 10px;
}

.price-display .total-price {
  font-size: 48px;
  color: #f97316;
  font-weight: bold;
  margin: 20px 0;
}

.price-display .price-note {
  color: #9ca3af;
  font-size: 14px;
  margin-top: 10px;
}

/* Service Grid for Services Overview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 120px;
  margin-top: 60px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;
  align-items: start;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 600px;
    padding: 0 20px;
  }
}

.service-card {
  background: #0f172a;
  border-radius: 16px;
  overflow: visible;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(56, 189, 248, 0.2);
  min-height: auto;
  height: auto;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
  border-color: rgba(56, 189, 248, 0.5);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #0f172a;
  padding: 0;
  margin: 0;
  transition: transform 0.3s;
  display: block;
  flex-shrink: 0;
  border: none;
  outline: none;
}

.service-card:hover img {
  transform: scale(1.03);
}

.service-card-content {
  padding: 35px 40px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h2 {
  color: #38bdf8;
  margin-bottom: 18px;
  font-size: 28px;
}

.service-card p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  overflow: visible;
  word-wrap: break-word;
  white-space: normal;
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 60px;
}

.portfolio-category {
  margin-bottom: 80px;
}

.portfolio-category h2 {
  color: #38bdf8;
  margin-bottom: 30px;
  font-size: 32px;
  text-align: center;
}

/* Carousel Styles - 3D Design */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 600px;
  perspective: 1500px;
  perspective-origin: center center;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  position: absolute;
  width: 400px;
  height: 500px;
  left: 50%;
  top: 50%;
  margin-left: -200px;
  margin-top: -250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.4);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.carousel-slide.active {
  box-shadow: 0 30px 80px rgba(56, 189, 248, 0.6);
  z-index: 10;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 40px 30px 30px;
  color: white;
  transform: translateY(0);
  transition: transform 0.3s;
}

.carousel-slide:hover .slide-overlay {
  transform: translateY(-5px);
}

.slide-overlay h3 {
  color: #38bdf8;
  margin: 0 0 10px 0;
  font-size: 24px;
}

.slide-overlay p {
  margin: 0;
  color: #e5e7eb;
  font-size: 16px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(56, 189, 248, 0.9);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  z-index: 100;
  transition: background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(56, 189, 248, 1);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-indicator.active {
  background: #38bdf8;
  transform: scale(1.2);
}

/* Scroll Portfolio Styles */
.scroll-portfolio {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 #0f172a;
  -webkit-overflow-scrolling: touch;
}

.scroll-portfolio::-webkit-scrollbar {
  height: 8px;
}

.scroll-portfolio::-webkit-scrollbar-track {
  background: #0f172a;
  border-radius: 10px;
}

.scroll-portfolio::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 10px;
}

.scroll-portfolio::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

.portfolio-item {
  min-width: 350px;
  max-width: 350px;
  height: 400px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.portfolio-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 30px 20px 20px;
  color: white;
  transform: translateY(0);
  transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(-5px);
}

.portfolio-overlay h3 {
  color: #38bdf8;
  margin: 0 0 8px 0;
  font-size: 20px;
}

.portfolio-overlay p {
  margin: 0;
  color: #e5e7eb;
  font-size: 14px;
}

/* Video Showcase Section */
.video-showcase-section {
  padding: 80px 60px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.video-placeholder:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.placeholder-content {
  text-align: center;
  z-index: 1;
}

.placeholder-icon {
  font-size: 48px;
  color: #38bdf8;
  margin-bottom: 15px;
  opacity: 0.6;
}

.placeholder-content p {
  color: #e5e7eb;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.placeholder-note {
  color: #9ca3af;
  font-size: 12px;
  font-style: italic;
}

/* Loop Video Section */
.loop-video-section {
  padding: 80px 60px;
}

.loop-video-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 60px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

.loop-video-container video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.video-overlay-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.video-control-btn {
  background: rgba(56, 189, 248, 0.9);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-control-btn:hover {
  background: rgba(56, 189, 248, 1);
  transform: scale(1.1);
}

/* Audio Visualizer */
.audio-visualizer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.audio-visualizer-container h3 {
  color: #38bdf8;
  margin-bottom: 20px;
  font-size: 24px;
}

#audio-visualizer {
  width: 100%;
  max-width: 1200px;
  height: 200px;
  background: #020617;
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* Footer */
footer {
  background: #020617;
  text-align: center;
  padding: 20px;
  color: #6b7280;
  font-size: 14px;
}

/* Interaktive Medien / Übung Seite */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px 60px;
}

.layout-demo,
.menu-demo,
.tricks {
  margin-bottom: 60px;
}

.layout-demo h2,
.menu-demo h2,
.tricks h2 {
  color: #38bdf8;
  margin-bottom: 30px;
  font-size: 32px;
}

.box-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.box {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.box img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 300px;
  object-fit: cover;
}

.submenu-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.submenu-nav > div {
  background: #0f172a;
  padding: 15px 30px;
  border-radius: 8px;
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.3s;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.submenu-nav > div:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38bdf8;
}

.tricks ol {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  color: #cbd5e1;
  line-height: 1.8;
}

.tricks code {
  background: #0f172a;
  padding: 2px 8px;
  border-radius: 4px;
  color: #38bdf8;
  font-family: monospace;
}

/* ============================================
   MOBILE & RESPONSIVE STYLES
   ============================================ */

/* Tablet & kleiner (bis 1024px) */
@media (max-width: 1024px) {
  .main-nav {
    padding: 12px 20px;
  }
  
  .main-nav ul {
    gap: 20px;
    font-size: 14px;
  }
  
  .hero-overlay {
    left: 5%;
    right: 5%;
  }
  
  .hero-overlay h1 {
    font-size: 48px;
  }
  
  .hero-overlay p {
    font-size: 18px;
  }
  
  .section {
    padding: 80px 40px;
  }
  
  .service-content {
    padding: 60px 40px;
  }
}

/* Mobile Geräte (bis 768px) */
@media (max-width: 768px) {
  /* Navigation - Mobile Menu */
  .main-nav {
    padding: 10px 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .main-nav .logo {
    flex-shrink: 0;
    margin-right: 15px;
  }
  
  .main-nav .logo img {
    height: 35px;
  }
  
  .main-nav ul {
    gap: 10px;
    font-size: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    padding-right: 10px;
  }
  
  .main-nav ul li {
    flex-shrink: 0;
  }
  
  .dropdown-menu {
    min-width: 180px;
    font-size: 13px;
  }
  
  /* Hero Section */
  .hero {
    height: 70vh;
  }
  
  .hero-overlay {
    left: 5%;
    right: 5%;
    text-align: center;
  }
  
  .hero-overlay h1 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .hero-overlay p {
    font-size: 16px;
  }
  
  /* Sections */
  .section {
    padding: 60px 20px;
  }
  
  .section h2 {
    font-size: 28px;
  }
  
  .section-text {
    font-size: 15px;
  }
  
  /* Service Hero */
  .service-hero {
    padding: 140px 20px 60px;
  }
  
  .service-hero h1 {
    font-size: 36px;
  }
  
  .service-hero p {
    font-size: 16px;
  }
  
  /* Service Content */
  .service-content {
    padding: 40px 20px;
  }
  
  .pricing-calculator {
    padding: 20px 15px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .service-option {
    padding: 15px;
    margin-bottom: 15px;
    overflow-x: hidden;
  }
  
  .option-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  
  .option-controls label {
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }
  
  .option-controls input[type="number"],
  .option-controls select,
  .option-controls textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px; /* Verhindert Zoom auf iOS */
  }
  
  .option-controls textarea {
    min-height: 80px;
    resize: vertical;
  }
  
  /* Sicherstellen, dass Formularfelder nicht über den Bildschirm hinausgehen */
  .price-display {
    padding: 20px 15px;
    overflow-x: hidden;
  }
  
  .price-display input[type="text"],
  .price-display input[type="email"],
  .price-display textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px; /* Verhindert Zoom auf iOS */
  }
  
  /* Price Display */
  .price-display .total-price {
    font-size: 36px;
  }
  
  /* Grids */
  .service-preview-grid,
  .features-grid,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  
  /* Cards */
  .service-preview-card,
  .project-card,
  .feature-card {
    width: 100%;
    max-width: 100%;
  }
  
  /* Video Grid */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Carousel */
  .carousel-container {
    height: 400px;
  }
  
  .carousel-slide {
    width: 300px;
    height: 400px;
    margin-left: -150px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
  
  /* Scroll Portfolio */
  .portfolio-item {
    min-width: 280px;
    max-width: 280px;
    height: 320px;
  }
  
  /* Portfolio Section */
  .portfolio-section {
    padding: 60px 20px;
  }
  
  .portfolio-category {
    margin-bottom: 60px;
  }
  
  .portfolio-category h2 {
    font-size: 24px;
  }
  
  /* Loop Video Section */
  .loop-video-section {
    padding: 60px 20px;
  }
  
  .video-showcase-section {
    padding: 60px 20px;
  }
  
  /* Audio Visualizer */
  #audio-visualizer {
    height: 150px;
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-btn,
  .cta-btn-secondary,
  .cta-btn-small {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  
  /* Floating Button */
  .floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 13px;
  }
  
  /* Footer */
  footer {
    padding: 15px 20px;
    font-size: 12px;
  }
}

/* Sehr kleine Mobile Geräte (bis 480px) */
@media (max-width: 480px) {
  .main-nav ul {
    gap: 10px;
    font-size: 12px;
  }
  
  .hero-overlay h1 {
    font-size: 28px;
  }
  
  .hero-overlay p {
    font-size: 14px;
  }
  
  .section h2 {
    font-size: 24px;
  }
  
  .service-hero h1 {
    font-size: 28px;
  }
  
  .carousel-slide {
    width: 250px;
    height: 350px;
    margin-left: -125px;
  }
  
  .portfolio-item {
    min-width: 240px;
    max-width: 240px;
    height: 280px;
  }
  
  .price-display .total-price {
    font-size: 32px;
  }
  
  /* Interaktive Medien Mobile */
  .container {
    padding: 100px 20px 40px;
  }
  
  .box-container {
    flex-direction: column;
    align-items: center;
  }
  
  .box {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }
  
  .box img {
    max-height: 200px;
  }
  
  .submenu-nav {
    flex-direction: column;
    align-items: stretch;
  }
  
  .submenu-nav > div {
    text-align: center;
  }
  
  .tricks ol {
    padding-left: 20px;
  }
  
  .layout-demo h2,
  .menu-demo h2,
  .tricks h2 {
    font-size: 24px;
  }
}
