/* ==========================================================================
   Kolac Digital – Premium Digital Agency
   Mobile-First Stylesheet
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,400;1,600&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Apple-style palette */
  --color-black: #1d1d1f;
  --color-dark: #2d2d2f;
  --color-gold: #0071e3;
  --color-white: #ffffff;
  --color-offwhite: #f5f5f7;
  --color-beige: #faf8f5;
  --color-blue: #0071e3;
  --color-blue-light: #e8f0fb;
  --color-gray: #6e6e73;
  --color-gray-light: #86868b;
  --color-light-gray: #f5f5f7;
  --color-card-dark: #1c1c1e;
  --color-navy: #1a1a2e;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  --nav-height: 72px;
  --container-max: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.10);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-gray);
  background-color: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-blue);
  border-radius: 2px;
}

.section-headline {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-black);
  margin-bottom: 18px;
}

.section-subline {
  font-size: 15px;
  color: var(--color-gray);
  max-width: 600px;
  line-height: 1.75;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue);
  color: #fff;
  border-radius: 980px;
}

.btn-primary:hover {
  background: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 113, 227, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 1.5px solid rgba(0, 113, 227, 0.35);
  border-radius: 980px;
}

.btn-outline:hover {
  border-color: var(--color-blue);
  background: rgba(0, 113, 227, 0.06);
  transform: translateY(-2px);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   1. NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 76px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-blue);
}

.nav-cta {
  display: none;
}

.nav-cta .btn-primary {
  padding: 10px 24px;
  font-size: 14px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(245, 245, 247, 0.97);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: right var(--transition-slow);
  z-index: 999;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-black);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s ease;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu .btn-primary {
  margin-top: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.35s;
}

.mobile-menu.open .btn-primary {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 86vh;
  min-height: 86dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e8edf8 0%, #f0f4fb 40%, #faf8f5 100%);
  overflow: hidden;
  padding: 86px 0 52px;
}

/* Subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 113, 227, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 113, 227, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

/* Typewriter headline */
.hero-headline-wrapper {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--color-black);
  display: inline;
}

.hero-headline .typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--color-blue);
  margin-left: 3px;
  vertical-align: text-bottom;
  white-space: nowrap;
  border-radius: 2px;
  animation: blink-cursor 0.75s ease-in-out infinite;
}

.hero-subline {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating 3D Elements */
.floating-elements {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.float-el {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0.85;
  transition: opacity 0.6s ease;
}

/* Phone Mockup */
.float-phone {
  width: 140px;
  height: 280px;
  background: linear-gradient(145deg, #ffffff, #f0f0f5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  right: 5%;
  top: 15%;
  transform: rotate(6deg);
  animation: float-1 6s ease-in-out infinite;
  overflow: hidden;
}

.float-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background: #d1d1d6;
  border-radius: 3px;
}

.float-phone-screen {
  position: absolute;
  top: 20px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: linear-gradient(180deg, #e8edf8 0%, #d0dbf5 50%, #c8d6f8 100%);
  border-radius: 16px;
  overflow: hidden;
}

.float-phone-screen::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(0, 113, 227, 0.1));
}

/* Browser Mockup */
.float-browser {
  width: 260px;
  height: 180px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
  left: 3%;
  top: 25%;
  transform: rotate(-4deg);
  animation: float-2 7s ease-in-out infinite;
  overflow: hidden;
}

.float-browser-bar {
  height: 28px;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.float-browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
}

.float-browser-dot:first-child { background: #ff5f57; }
.float-browser-dot:nth-child(2) { background: #ffbd2e; }
.float-browser-dot:nth-child(3) { background: #28c840; }

.float-browser-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-browser-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.07);
}

.float-browser-line:first-child { width: 60%; background: rgba(0, 113, 227, 0.18); }
.float-browser-line:nth-child(2) { width: 80%; }
.float-browser-line:nth-child(3) { width: 45%; }
.float-browser-line:nth-child(4) { width: 70%; }

/* Ads Dashboard Element */
.float-dashboard {
  width: 160px;
  height: 100px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  right: 8%;
  bottom: 18%;
  transform: rotate(3deg);
  animation: float-3 5s ease-in-out infinite;
  padding: 12px;
}

.float-dashboard-header {
  font-size: 8px;
  color: var(--color-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-main);
}

.float-dashboard-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}

.float-dashboard-bar {
  flex: 1;
  background: rgba(0, 113, 227, 0.5);
  border-radius: 2px;
}

.float-dashboard-bar:nth-child(1) { height: 40%; }
.float-dashboard-bar:nth-child(2) { height: 65%; }
.float-dashboard-bar:nth-child(3) { height: 50%; }
.float-dashboard-bar:nth-child(4) { height: 80%; }
.float-dashboard-bar:nth-child(5) { height: 95%; background: rgba(0, 113, 227, 0.8); }

/* Camera Mockup */
.float-camera {
  width: 130px;
  height: 90px;
  left: 8%;
  bottom: 22%;
  transform: rotate(-5deg);
  animation: float-3 7s ease-in-out infinite;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.float-camera-body {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1a1a, #111);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.float-camera-lens {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 3px solid #333;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-camera-lens-inner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.3) 0%, #111 40%, #222 70%, #111 100%);
  border: 2px solid #2a2a2a;
}

.float-camera-viewfinder {
  position: absolute;
  width: 22px;
  height: 14px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px 3px 0 0;
  top: -14px;
  right: 18px;
}

.float-camera-rec {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e53e3e;
  top: 10px;
  right: 12px;
  animation: rec-blink 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(229, 62, 62, 0.6);
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Gold accent circles */
.float-circle {
  border-radius: 50%;
  border: 2px solid rgba(0, 113, 227, 0.5);
  background: transparent;
  box-shadow: none;
}

.float-circle-1 {
  width: 80px;
  height: 80px;
  left: 12%;
  bottom: 20%;
  animation: float-1 8s ease-in-out infinite;
}

.float-circle-2 {
  width: 40px;
  height: 40px;
  right: 20%;
  top: 20%;
  border-color: rgba(0, 113, 227, 0.6);
  animation: float-3 6s ease-in-out infinite;
}

.float-circle-3 {
  width: 20px;
  height: 20px;
  left: 30%;
  top: 15%;
  background: rgba(0, 113, 227, 0.4);
  border: none;
  animation: float-2 9s ease-in-out infinite;
}

/* Gold accent lines */
.float-line {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.6), transparent);
  border-radius: 0;
  box-shadow: none;
}

.float-line-1 {
  width: 120px;
  left: 8%;
  top: 40%;
  transform: rotate(-20deg);
  animation: float-2 7s ease-in-out infinite;
}

.float-line-2 {
  width: 80px;
  right: 15%;
  top: 55%;
  transform: rotate(15deg);
  animation: float-1 6s ease-in-out infinite;
}

/* Float Animations */
@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 6deg)); }
  50% { transform: translateY(-15px) rotate(var(--rot, 6deg)); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -4deg)); }
  50% { transform: translateY(-20px) rotate(var(--rot, -4deg)); }
}

@keyframes float-3 {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 3deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 3deg)); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-gray-light);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gray-light);
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* ==========================================================================
   3. LEISTUNGEN SECTION
   ========================================================================== */
.leistungen {
  padding: 60px 0;
  background: var(--color-white);
}

.leistungen-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.leistungen-intro .section-subline {
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 113, 227, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card > p {
  font-size: 17px;
  color: var(--color-gray);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
  flex-shrink: 0;
}

.leistungen-extra {
  text-align: center;
  padding: 56px 40px;
  background: linear-gradient(135deg, #0a0f2e 0%, #1a1f4a 50%, #0a1535 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(0, 113, 227, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.leistungen-extra::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.leistungen-extra:hover {
  border-color: rgba(0, 113, 227, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 113, 227, 0.08), inset 0 1px 0 rgba(0, 113, 227, 0.15);
  transform: translateY(-3px);
}

.leistungen-extra-text {
  font-size: 19px;
  color: #fff;
  font-style: normal;
  font-family: var(--font-main);
  line-height: 1.6;
  max-width: 520px;
  position: relative;
}

.leistungen-extra .btn-primary {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 44px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

.leistungen-extra .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.45);
}

/* ==========================================================================
   4. ÜBER UNS SECTION
   ========================================================================== */
.about {
  padding: 60px 0;
  background: var(--color-offwhite);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  z-index: 0;
}

.about-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e5e5e5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder when no image */
.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5e5e5, #d4d4d4);
  color: var(--color-gray);
  font-size: 14px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.about-text p:last-of-type {
  font-weight: 600;
  color: var(--color-black);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-blue);
  background: rgba(0, 113, 227, 0.07);
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 50px;
}

/* ==========================================================================
   5. REFERENZEN SECTION
   ========================================================================== */
.referenzen {
  padding: 60px 0;
  background: var(--color-white);
}

.referenzen .container {
  max-width: 1440px;
}

.referenzen-header {
  margin-bottom: 48px;
}

.referenzen-header .section-subline {
  margin-top: 8px;
}

.referenzen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.ref-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

.ref-card:hover {
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.10);
  transform: translateY(-4px);
}

/* Mockup Area – floating, no background */
.ref-mockup {
  position: relative;
  background: transparent;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  overflow: visible;
  margin-bottom: -20px;
  z-index: 2;
}

.ref-mockup-browser {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.ref-card:hover .ref-mockup-browser {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ref-mockup-browser .mockup-bar {
  height: 28px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}

.mockup-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-bar-dot:nth-child(1) { background: #ff5f57; }
.mockup-bar-dot:nth-child(2) { background: #ffbd2e; }
.mockup-bar-dot:nth-child(3) { background: #28c840; }

.ref-mockup-browser .mockup-screen {
  aspect-ratio: 16 / 10;
  background: #e0e0e0;
  position: relative;
}

.ref-mockup-browser .mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-mockup-phone {
  width: 185px;
  background: #1a1a1a;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.ref-card:hover .ref-mockup-phone {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ref-mockup-phone .mockup-notch {
  width: 60px;
  height: 6px;
  background: #111;
  border-radius: 3px;
  margin: 4px auto 8px;
}

.ref-mockup-phone .mockup-screen {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: #e0e0e0;
}

.ref-mockup-phone .mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dual Mockup (Browser + Phone) */
.ref-mockup-dual {
  position: relative;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 16px 0;
}

.ref-mockup-dual .ref-mockup-browser {
  max-width: 330px;
  margin-right: -20px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.ref-mockup-dual .ref-mockup-browser:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.ref-mockup-dual .ref-mockup-phone-overlay {
  position: relative;
  width: 88px;
  z-index: 3;
  margin-left: 0;
  margin-top: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.ref-mockup-dual .ref-mockup-phone-overlay:hover {
  transform: translateY(-10px) scale(1.07);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  z-index: 4;
}

/* Phone + App Icon Mockup */
.ref-mockup-phone-app {
  align-items: flex-end;
  gap: 0;
}

.ref-mockup-phone-app .ref-mockup-phone {
  margin-right: -18px;
  z-index: 1;
}

.ref-mockup-app-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  overflow: hidden;
  z-index: 3;
  margin-bottom: 32px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  cursor: pointer;
}

.ref-mockup-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Individual hover per element */
.ref-mockup-elem {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.ref-mockup-phone-app .ref-mockup-phone.ref-mockup-elem:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.ref-mockup-phone-app .ref-mockup-app-icon.ref-mockup-elem:hover {
  transform: translateY(-10px) scale(1.12);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  z-index: 4;
}

/* Content Area */
.ref-content {
  padding: 32px 28px 28px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}

.ref-tag {
  display: inline-flex;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--color-blue);
  background: rgba(0, 113, 227, 0.08);
  border-radius: 50px;
  margin-bottom: 12px;
}

.ref-company {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin-bottom: 16px;
}

.ref-services {
  margin-bottom: 20px;
}

.ref-services li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 17px;
  color: var(--color-gray);
  margin-bottom: 10px;
  line-height: 1.65;
}

.ref-services li::before {
  content: '→';
  color: var(--color-blue);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.ref-keywin {
  background: rgba(0, 113, 227, 0.05);
  border-left: 3px solid var(--color-blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
}

.ref-keywin-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ref-keywin-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.55;
}

.ref-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.ref-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ref-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.ref-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Instagram gradient */
.ref-link-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.ref-link-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  opacity: 0.88;
}

/* Website */
.ref-link-website {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.ref-link-website:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

/* Shop */
.ref-link-shop {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}

.ref-link-shop:hover {
  background: #c2410c;
  border-color: #c2410c;
}

/* App – YumaPlay pink-to-blue gradient */
.ref-link-app {
  background: linear-gradient(135deg, #e040c8, #7c3aed, #2563eb);
  border-color: transparent;
  color: #fff;
}

.ref-link-app:hover {
  background: linear-gradient(135deg, #d030b8, #6d28d9, #1d4ed8);
  opacity: 0.92;
}

/* TikTok */
.ref-link-tiktok {
  background: #000;
  border-color: #000;
  color: #fff;
}

.ref-link-tiktok:hover {
  background: #111;
  border-color: #111;
}

/* Clickable mockup wrapper */
.mockup-clickable {
  display: contents;
  cursor: pointer;
}

.mockup-clickable > * {
  cursor: pointer;
}

/* Referenzen CTA */
.ref-cta-wrap {
  text-align: center;
  margin-top: 56px;
}

.ref-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--color-blue);
  box-shadow: 0 8px 32px rgba(0, 113, 227, 0.30);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  letter-spacing: -0.02em;
}

.ref-cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ref-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 113, 227, 0.45);
  background: #0077ed;
}

.ref-cta-btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   6. KONTAKT SECTION
   ========================================================================== */
.kontakt {
  padding: 60px 0;
  background: var(--color-white);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.kontakt-info .section-label {
  color: var(--color-gold);
}

.kontakt-info .section-headline {
  color: var(--color-black);
  font-size: 36px;
}

.kontakt-info .section-subline {
  color: var(--color-gray);
}

.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.kontakt-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-gray);
  font-size: 15px;
  transition: color var(--transition);
}

.kontakt-detail:hover {
  color: var(--color-gold);
}

.kontakt-detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 113, 227, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.kontakt-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
}

/* Contact Form */
.kontakt-form {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--color-offwhite);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-black);
  font-size: 17px;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--color-white);
  color: var(--color-black);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.form-submit:hover {
  background: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 113, 227, 0.35);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer {
  padding: 24px 24px 32px;
  background: var(--color-white);
}

.footer-inner {
  background: var(--color-blue);
  border-radius: 20px;
  padding: 28px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 8px 48px rgba(0, 113, 227, 0.25);
}

.footer .container {
  max-width: none;
  padding: 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  height: 76px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-columns {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   5.5 KUNDENSTIMMEN SECTION
   ========================================================================== */
.kundenstimmen {
  padding: 60px 0;
  background: var(--color-offwhite);
  overflow: hidden;
}

/* Video Testimonials */
.video-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-placeholder:hover img {
  opacity: 0.85;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-placeholder:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-play-btn svg {
  width: 100%;
  height: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-consent-notice {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  padding: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.video-consent-notice button {
  padding: 8px 20px;
  border-radius: 980px;
  background: var(--color-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.video-consent-notice button:hover {
  background: #005bb5;
}

.video-info {
  padding: 20px 24px 24px;
}

.video-name {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 2px;
}

.video-company {
  font-size: 14px;
  color: var(--color-blue);
  font-weight: 500;
  margin-bottom: 8px;
}

.video-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gray);
}

.kundenstimmen-header {
  margin-bottom: 48px;
}

.kundenstimmen-header .section-subline {
  margin-top: 8px;
}

/* Slider Container */
.testimonial-slider {
  position: relative;
  overflow: visible;
  padding: 0;
}

.testimonial-track-wrap {
  overflow: hidden;
}

.testimonial-slider,
.testimonial-track-wrap,
.testimonial-track,
.testimonial-card {
  touch-action: pan-y;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.testimonial-track.grabbing {
  cursor: grabbing;
  transition: none;
}

/* Testimonial Card */
.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-quote {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-black);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-blue);
  font-family: var(--font-main);
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-company {
  font-size: 12px;
  color: var(--color-gray);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  fill: #f5a623;
  stroke: none;
}

/* Arrow Buttons */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-blue);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
  transition: all var(--transition);
}

.testimonial-arrow:hover {
  background: #0077ed;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 113, 227, 0.5);
}

.testimonial-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.testimonial-arrow-prev {
  left: 4px;
}

.testimonial-arrow-next {
  right: 4px;
}

/* Dot Indicators */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--color-blue);
  transform: scale(1.2);
}

/* ==========================================================================
   SCROLL DEPTH-OF-FIELD BLUR
   ========================================================================== */
.scroll-blur-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.scroll-blur-top,
.scroll-blur-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 150px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.scroll-blur-top {
  top: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

.scroll-blur-bottom {
  bottom: 0;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  mask-image: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  opacity: 1;
  transition: opacity 0.3s ease;
}

.scroll-blur-bottom.hidden {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-blur-top,
  .scroll-blur-bottom {
    display: none;
  }
}

/* ==========================================================================
   GLOBAL FLOATING BACKGROUND ELEMENTS
   ========================================================================== */
.bg-floating-elements {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero,
.leistungen,
.about,
.referenzen,
.kundenstimmen,
.kontakt,
.footer {
  position: relative;
  z-index: 1;
}

.bg-float-icon {
  position: absolute;
  opacity: 0;
  will-change: transform;
  color: var(--color-gold);
  font-size: 24px;
  line-height: 1;
  transform: scale(0) translateY(80px);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-float-icon.active {
  opacity: var(--float-opacity, 0.3);
  transform: scale(1) translateY(0);
}

.bg-float-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation-name: bg-float-spin;
  animation-duration: var(--spin-duration, 20s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: var(--spin-direction, normal);
}

.bg-float-icon.fill-icon svg {
  fill: var(--color-gold);
  stroke: none;
}

@keyframes bg-float-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bg-float-drift-1 {
  0% { transform: translate(0, 0); }
  25% { transform: translate(50px, -80px); }
  50% { transform: translate(-40px, -130px); }
  75% { transform: translate(60px, -50px); }
  100% { transform: translate(0, 0); }
}

@keyframes bg-float-drift-2 {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-60px, -90px); }
  66% { transform: translate(40px, -150px); }
  100% { transform: translate(0, 0); }
}

@keyframes bg-float-drift-3 {
  0% { transform: translate(0, 0); }
  20% { transform: translate(70px, -40px); }
  40% { transform: translate(-50px, -100px); }
  60% { transform: translate(40px, -160px); }
  80% { transform: translate(-60px, -70px); }
  100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-float-icon {
    animation: none !important;
    opacity: 0.03 !important;
  }
  .bg-float-icon svg {
    animation: none !important;
  }
}

/* ==========================================================================
   TABLET – 768px+
   ========================================================================== */
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  .section-headline {
    font-size: 36px;
  }

  .section-subline {
    font-size: 17px;
  }

  /* Nav */
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 0;
  }

  .hero-headline-wrapper {
    min-height: 120px;
  }

  .hero-headline {
    font-size: 42px;
  }

  .hero-subline {
    font-size: 18px;
  }

  .float-el {
    opacity: 0.9;
  }

  .float-phone {
    width: 180px;
    height: 360px;
    right: 8%;
  }

  .float-browser {
    width: 340px;
    height: 230px;
    left: 5%;
  }

  .float-dashboard {
    width: 200px;
    height: 120px;
  }

  .float-camera {
    width: 160px;
    height: 110px;
    left: 6%;
    bottom: 25%;
  }

  .float-camera-lens {
    width: 52px;
    height: 52px;
  }

  .float-camera-lens-inner {
    width: 26px;
    height: 26px;
  }

  /* Leistungen */
  .leistungen {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  /* Referenzen */
  .referenzen {
    padding: 80px 0;
  }

  .referenzen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Kundenstimmen */
  .kundenstimmen {
    padding: 80px 0;
  }

  .video-testimonials {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }

  .testimonial-arrow {
    display: flex;
  }

  .testimonial-slider {
    padding: 0 64px;
  }

  /* Kontakt */
  .kontakt {
    padding: 80px 0;
  }

  .kontakt-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  /* Footer */
  .footer-inner {
    border-radius: 28px;
    padding: 28px 48px 20px;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .footer-columns {
    flex-direction: row;
    gap: 48px;
  }

  .footer-col {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .footer-col-title {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   DESKTOP – 1024px+
   ========================================================================== */
@media (min-width: 1024px) {
  .container {
    padding: 0 60px;
  }

  .section-headline {
    font-size: 44px;
  }

  .section-subline {
    font-size: 19px;
  }

  /* Nav */
  .nav-cta {
    display: block;
  }

  /* Hero */
  .hero-headline {
    font-size: 54px;
  }

  .hero-subline {
    font-size: 19px;
  }

  .float-el {
    opacity: 1;
  }

  .float-phone {
    width: 200px;
    height: 400px;
    right: 10%;
    top: 12%;
  }

  .float-browser {
    width: 400px;
    height: 270px;
    left: 3%;
    top: 20%;
  }

  .float-dashboard {
    width: 240px;
    height: 140px;
    right: 5%;
    bottom: 15%;
  }

  .float-camera {
    width: 190px;
    height: 130px;
    left: 4%;
    bottom: 20%;
  }

  .float-camera-lens {
    width: 60px;
    height: 60px;
  }

  .float-camera-lens-inner {
    width: 30px;
    height: 30px;
  }

  .float-camera-viewfinder {
    width: 26px;
    height: 16px;
    top: -16px;
  }

  .float-circle-1 {
    width: 120px;
    height: 120px;
  }

  .float-circle-2 {
    width: 60px;
    height: 60px;
  }

  /* Leistungen */
  .leistungen {
    padding: 120px 0;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .service-card {
    padding: 36px 32px;
  }

  /* About */
  .about {
    padding: 120px 0;
  }

  .about-grid {
    gap: 80px;
  }

  /* Referenzen */
  .referenzen {
    padding: 120px 0;
  }

  /* Kundenstimmen */
  .kundenstimmen {
    padding: 120px 0;
  }

  .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
  }

  .testimonial-quote {
    font-size: 15px;
  }

  /* Kontakt */
  .kontakt {
    padding: 120px 0;
  }

  .kontakt-info .section-headline {
    font-size: 36px;
  }

  .kontakt-form {
    padding: 40px 32px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   MOBILE ONLY – max 767px
   ========================================================================== */
@media (max-width: 767px) {
  /* Floating hero elements – visible on mobile */
  .floating-elements {
    display: block;
  }

  /* Camera still hidden – too complex for small screen */
  .float-camera {
    display: none;
  }

  /* circle-1 – left side upper, above the browser mockup */
  .float-circle-1 {
    display: block;
    width: 36px;
    height: 36px;
    left: 5%;
    top: 20%;
  }

  /* circle-2 – right side middle, gap between phone & dashboard */
  .float-circle-2 {
    display: block;
    width: 22px;
    height: 22px;
    right: 16%;
    top: 52%;
  }

  /* circle-3 – lower center-left, fills bottom gap */
  .float-circle-3 {
    display: block;
    width: 12px;
    height: 12px;
    left: 26%;
    bottom: 16%;
  }

  /* line-1 – bottom left, below browser */
  .float-line-1 {
    display: block;
    width: 60px;
    left: 3%;
    bottom: 14%;
  }

  /* line-2 – right side, between phone top area and dashboard */
  .float-line-2 {
    display: block;
    width: 44px;
    right: 12%;
    top: 36%;
  }

  /* Phone mockup – right side, upper third */
  .float-phone {
    display: block;
    width: 64px;
    height: 124px;
    border-radius: 12px;
    right: 2%;
    top: 12%;
    transform: rotate(6deg);
    opacity: 0.7;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }

  .float-phone::before {
    width: 24px;
    height: 4px;
    top: 5px;
  }

  .float-phone-screen {
    top: 12px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 8px;
  }

  /* Browser mockup – left side, middle */
  .float-browser {
    display: block;
    width: 120px;
    height: 82px;
    left: 2%;
    top: 48%;
    transform: rotate(-4deg);
    opacity: 0.65;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  }

  .float-browser-bar {
    height: 16px;
    padding: 0 6px;
    gap: 3px;
  }

  .float-browser-dot {
    width: 4px;
    height: 4px;
  }

  .float-browser-content {
    padding: 8px;
    gap: 5px;
  }

  .float-browser-line {
    height: 4px;
  }

  /* Dashboard mockup – right side, lower third */
  .float-dashboard {
    display: block;
    width: 90px;
    height: 60px;
    right: 3%;
    bottom: 22%;
    transform: rotate(3deg);
    opacity: 0.65;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .float-dashboard-header {
    font-size: 6px;
    margin-bottom: 5px;
  }

  .float-dashboard-bars {
    height: 28px;
    gap: 4px;
  }

  /* Tighter hero padding */
  .hero {
    padding: 80px 0 40px;
    min-height: 70vh;
    min-height: 70dvh;
  }

  /* Smaller hero buttons */
  .hero-buttons {
    gap: 12px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    font-size: 14px;
    padding: 12px 24px;
  }

  /* Scroll indicator hidden on mobile – not needed */
  .scroll-indicator {
    display: none;
  }

  /* Testimonial slider – no extra padding on mobile (arrows hidden) */
  .testimonial-dots {
    margin-top: 16px;
  }
}

/* ==========================================================================
   LARGE DESKTOP – 1280px+
   ========================================================================== */
@media (min-width: 1280px) {
  .float-phone {
    right: 12%;
  }

  .float-browser {
    left: 5%;
  }

  .float-camera {
    left: 6%;
    bottom: 18%;
  }
}
